]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
authorKelley Cook <kcook@gcc.gnu.org>
Sat, 7 May 2005 01:18:14 +0000 (01:18 +0000)
committerR. Kelley Cook <kcook@gcc.gnu.org>
Sat, 7 May 2005 01:18:14 +0000 (01:18 +0000)
2005-05-06  Kelley Cook  <kcook@gcc.gnu.org>

* aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
* configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
* configure: Regenerate.

From-SVN: r99344

libiberty/ChangeLog
libiberty/aclocal.m4
libiberty/configure
libiberty/configure.ac

index c1e01460a5ceeaae8b74b09ed867bdef5e4d6f37..d3e4752f772b79a24b98862188e3737a1b9864d4 100644 (file)
@@ -1,3 +1,9 @@
+2005-05-06  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
+       * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
+       * configure: Regenerate.
+
 2005-05-06  Kelley Cook  <kcook@gcc.gnu.org>
 
        * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
index 99b50564065e11dca80a2d3b740f29bad7236976..0b49d032122885fad6216978bc970e63de6244ba 100644 (file)
@@ -119,15 +119,6 @@ if test $libiberty_cv_decl_needed_$1 = yes; then
 fi
 ])dnl
 
-# Work around a bug in autoheader.  This can go away when we switch to
-# autoconf >2.50.  The use of define instead of AC_DEFUN is
-# deliberate.
-define(AC_DEFINE_NOAUTOHEADER,
-[cat >> confdefs.h <<\EOF
-[#define] $1 ifelse($#, 2, [$2], $#, 3, [$2], 1)
-EOF
-])
-
 # We always want a C version of alloca() compiled into libiberty,
 # because native-compiler support for the real alloca is so !@#$%
 # unreliable that GCC has decided to use it only when being compiled
index 5745eb5c163b22f3ab89a82b08a2d767ac51df60..b7d3e5b5ce8f425ccee1ad826185bba1dbed78f5 100755 (executable)
@@ -5404,9 +5404,9 @@ _ACEOF
     # dont have to check them here.
 
     # Of the functions in $checkfuncs, newlib only has strerror.
-    cat >> confdefs.h <<\EOF
+    cat >>confdefs.h <<\_ACEOF
 #define HAVE_STRERROR 1
-EOF
+_ACEOF
 
 
     setobjs=yes
@@ -5448,13 +5448,13 @@ fi
 
 case "${host}" in
   *-*-cygwin* | *-*-mingw*)
-    cat >> confdefs.h <<\EOF
+    cat >>confdefs.h <<\_ACEOF
 #define HAVE_SYS_ERRLIST 1
-EOF
+_ACEOF
 
-    cat >> confdefs.h <<\EOF
+    cat >>confdefs.h <<\_ACEOF
 #define HAVE_SYS_NERR 1
-EOF
+_ACEOF
 
     ;;
 esac
@@ -5566,9 +5566,9 @@ _ACEOF
     # don't have to check them here.
 
     # Of the functions in $checkfuncs, VxWorks only has strerror.
-    cat >> confdefs.h <<\EOF
+    cat >>confdefs.h <<\_ACEOF
 #define HAVE_STRERROR 1
-EOF
+_ACEOF
 
 
     setobjs=yes
index 46a80d1ba8bbb78e9a00d35f76ea64dcb44439bd..b11fafbcae99514e977ccec9f33ef721e1420752 100644 (file)
@@ -328,7 +328,7 @@ if test -n "${with_target_subdir}"; then
     # dont have to check them here.
 
     # Of the functions in $checkfuncs, newlib only has strerror.
-    AC_DEFINE_NOAUTOHEADER(HAVE_STRERROR)
+    AC_DEFINE(HAVE_STRERROR)
 
     setobjs=yes
 
@@ -367,8 +367,8 @@ AC_SUBST(target_header_dir)
 
 case "${host}" in
   *-*-cygwin* | *-*-mingw*)
-    AC_DEFINE_NOAUTOHEADER(HAVE_SYS_ERRLIST)
-    AC_DEFINE_NOAUTOHEADER(HAVE_SYS_NERR)
+    AC_DEFINE(HAVE_SYS_ERRLIST)
+    AC_DEFINE(HAVE_SYS_NERR)
     ;;
 esac
 
@@ -406,7 +406,7 @@ if test -z "${setobjs}"; then
     # don't have to check them here.
 
     # Of the functions in $checkfuncs, VxWorks only has strerror.
-    AC_DEFINE_NOAUTOHEADER(HAVE_STRERROR)
+    AC_DEFINE(HAVE_STRERROR)
 
     setobjs=yes
     ;;