7c113dc9dc
Fri Jun 21 2002 Tim Powers <timp@redhat.com> - automated rebuild Thu May 23 2002 Tim Powers <timp@redhat.com> - automated rebuild Wed May 15 2002 Jens Petersen <petersen@redhat.com> 2.13-1 - new package based on autoconf-2.13-17 - don't make unversioned bindir symlinks - version datadir - version info filename, but don't install-info it - update AC_OUTPUT_MAKE_DEFS to fix problem with c++exit patch (#62361) Wed Mar 27 2002 Jens Petersen <petersen@redhat.com> 2.13-17 - add URL Wed Feb 27 2002 Jens Petersen <petersen@redhat.com> 2.13-16 - add version suffix to bindir files and symlink them to their unversioned names Mon Feb 25 2002 Elliot Lee <sopwith@redhat.com> 2.13-15 - Add wait3test.patch to make sure that the child process actually does something that the kernel will take note of. Fixes the failing wait3 test that was worked around in time-1.7-15. Mon Aug 06 2001 Tim Powers <timp@redhat.com> - rebuilt to fix bug #50761 Thu Jul 26 2001 Than Ngo <than@redhat.com> - add patch to fix exit status Tue Jul 10 2001 Jens Petersen <petersen@redhat.com> - add patch to include various standard C headers as needed by various autoconf tests (#19114) - add patch to autoscan.pl to get a better choice of init file (#42071), to test for CPP after CC (#42072) and to detect C++ source and g++ (#42073). Tue Jun 26 2001 Jens Petersen <petersen@redhat.com> - Add a back-port of _AC_PROG_CXX_EXIT_DECLARATION from version 2.50 to make detection of C++ exit() declaration prototype platform independent. The check is done in AC_PROG_CXX with the result stored in "confdefs.h". The exit() prototype in AC_TRY_RUN_NATIVE is no longer needed. (fixes #18829) Wed Nov 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up interoperability with glibc 2.2 and gcc 2.96: AC_TRY_RUN_NATIVE in C++ mode added a prototype for exit() to the test code without throwing an exception, causing a conflict with stdlib.h --> AC_TRY_RUN_NATIVE for C++ code including stdlib.h always failed, returning wrong results Fri Jul 21 2000 Nalin Dahyabhai <nalin@redhat.com> - add textutils as a dependency (#14439) Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Mon Jun 05 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix preun Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add patch to help autoconf clean after itself and not leave /tmp clobbered with acin.* and acout.* files (can you say annoying?) Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) - use gawk, not mawk Thu Mar 18 1999 Preston Brown <pbrown@redhat.com> - moved /usr/lib/autoconf to /usr/share/autoconf (with automake) Wed Feb 24 1999 Preston Brown <pbrown@redhat.com> - Injected new description and group. Tue Jan 12 1999 Jeff Johnson <jbj@redhat.com> - update to 2.13. Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com> - build against glibc 2.1 Mon Oct 05 1998 Cristian Gafton <gafton@redhat.com> - requires perl Thu Aug 27 1998 Cristian Gafton <gafton@redhat.com> - patch for fixing /tmp race conditions Sun Oct 19 1997 Erik Troan <ewt@redhat.com> - spec file cleanups - made a noarch package - uses autoconf - uses install-info Thu Jul 17 1997 Erik Troan <ewt@redhat.com> - built with glibc
55 lines
1.8 KiB
Diff
55 lines
1.8 KiB
Diff
diff -u autoconf-2.13/acgeneral.m4~ autoconf-2.13/acgeneral.m4
|
|
--- autoconf-2.13/acgeneral.m4~ Wed May 15 14:47:12 2002
|
|
+++ autoconf-2.13/acgeneral.m4 Wed May 15 14:47:12 2002
|
|
@@ -2156,20 +2156,38 @@
|
|
dnl AC_OUTPUT_MAKE_DEFS()
|
|
define(AC_OUTPUT_MAKE_DEFS,
|
|
[# Transform confdefs.h into DEFS.
|
|
-dnl Using a here document instead of a string reduces the quoting nightmare.
|
|
# Protect against shell expansion while executing Makefile rules.
|
|
# Protect against Makefile macro expansion.
|
|
-cat > conftest.defs <<\EOF
|
|
-changequote(<<, >>)dnl
|
|
-s%<<#define>> \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
|
|
-s%[ `~<<#>>$^&*(){}\\|;'"<>?]%\\&%g
|
|
-s%\[%\\&%g
|
|
-s%\]%\\&%g
|
|
-s%\$%$$%g
|
|
-changequote([, ])dnl
|
|
-EOF
|
|
-DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
|
|
-rm -f conftest.defs
|
|
+#
|
|
+# If the first sed substitution is executed (which looks for macros that
|
|
+# take arguments), then we branch to the quote section. Otherwise,
|
|
+# look for a macro that doesn't take arguments.
|
|
+cat >confdef2opt.sed <<\_ACEOF
|
|
+changequote(<<, >>)dnl
|
|
+t clear
|
|
+: clear
|
|
+s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
|
+t quote
|
|
+s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
|
+t quote
|
|
+d
|
|
+: quote
|
|
+s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
|
+s,\[,\\&,g
|
|
+s,\],\\&,g
|
|
+s,\$,$$,g
|
|
+p
|
|
+changequote([, ])dnl
|
|
+_ACEOF
|
|
+# We use echo to avoid assuming a particular line-breaking character.
|
|
+# The extra dot is to prevent the shell from consuming trailing
|
|
+# line-breaks from the sub-command output. A line-break within
|
|
+# single-quotes doesn't work because, if this script is created in a
|
|
+# platform that uses two characters for line-breaks (e.g., DOS), tr
|
|
+# would break.
|
|
+ac_LF_and_DOT=`echo; echo .`
|
|
+DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
|
|
+rm -f confdef2opt.sed
|
|
])
|
|
|
|
dnl Do the variable substitutions to create the Makefiles or whatever.
|