]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
1999-09-20 Akim Demaille <akim@epita.fr>
authorAkim Demaille <akim@epita.fr>
Mon, 20 Sep 1999 08:15:42 +0000 (08:15 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 20 Sep 1999 08:15:42 +0000 (08:15 +0000)
* acgeneral.m4 (AC_OUTPUT): Don't remove the CONFIG_HEADERS
  unconditionaly: it breaks the `config.h has not changed' trick.

1999-09-20  Pavel Roskin  <pavel_roskin@geocities.com>

* autoheader.sh: Fix the tr invocation.

ChangeLog
acgeneral.m4
autoheader.sh
configure
lib/autoconf/general.m4

index 5a6941e08ecdb2f896e0b0c03314117ef4f0c309..27f64a41397bee99b03bff815fc0cf6021605a09 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+1999-09-20  Akim Demaille  <akim@epita.fr>
+
+       * acgeneral.m4 (AC_OUTPUT): Don't remove the CONFIG_HEADERS
+       unconditionaly: it breaks the `config.h has not changed' trick.
+
+1999-09-20  Pavel Roskin  <pavel_roskin@geocities.com>
+
+       * autoheader.sh: Fix the tr invocation.
+
 1999-09-17  Akim Demaille  <akim@epita.fr>
 
        * acgeneral.m4 (AC_INIT_PARSE_ARGS): Improve configure's --help.
index 389176024a2cbb9b67b16bcc116b1cbdc4765630..e70bd5b8df68067cdaf81ec89dfa7c5e7e88840c 100644 (file)
@@ -2673,10 +2673,9 @@ confstat=cft\$\$
 EOF
 
 cat >> $CONFIG_STATUS <<EOF
-dnl Remove all of CONFIG_FILES and CONFIG_HEADERS, and trap to remove
-dnl the temp files.  There is no need to trap for the config files
-dnl since they are built from `mv tmp-file config-file', hence their
-dnl update is atomic.
+dnl Remove all the CONFIG_FILES, and trap to remove the temp files.  There
+dnl is no need to trap for the config files since they are built from `mv
+dnl tmp-file config-file', hence their update is atomic.
 : \${CONFIG_FILES="$1"}
 ifdef([AC_LIST_HEADER], [: \${CONFIG_HEADERS=AC_LIST_HEADER}
 ])dnl
index 8b0521b867b669b6d89ea7c2451f88c4906b4ab3..66033d2e68b750e4778898766f74903a4ea14716 100644 (file)
@@ -56,6 +56,8 @@ case "${M4}" in
     test -f "${M4}" || M4=m4 ;;
 esac
 
+ac_LF_and_DOT="`echo; echo .`"
+
 localdir=.
 show_version=no
 
@@ -180,7 +182,7 @@ if test -n "$syms"; then
   # Make sure the boundary of template files is also the boundary
   # of the paragraph.  Extra newlines don't hurt since they will
   # be removed.
-  # Undocumented useless feature: stuff outside of @TOP@ and @BOTTOM@ 
+  # Undocumented useless feature: stuff outside of @TOP@ and @BOTTOM@
   # is ignored in the systemwide acconfig.h too.
   for t in $TEMPLATES; do
     sedscript=""
@@ -213,7 +215,7 @@ $syms
 EOF
    fgrep -f $fgrep_tmp
    rm -f $fgrep_tmp) |
-  tr @. "`echo`."
+  tr @. "$ac_LF_and_DOT"
 # 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
@@ -222,7 +224,7 @@ EOF
 # would break.
 fi
 
-echo "$types" | tr ,. "`echo`." | sort | uniq | while read ctype; do
+echo "$types" | tr ,. "$ac_LF_and_DOT" | sort | uniq | while read ctype; do
   test -z "$ctype" && continue
   sym="`echo "${ctype}" | tr 'abcdefghijklmnopqrstuvwxyz *' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_P'`"
   echo "
index 30d8c15aa28f037e95c3c0e2408ac7d317c6d1da..d482c54fa9d219ff839b301ef28e7d75ae9ac9e3 100755 (executable)
--- a/configure
+++ b/configure
@@ -983,7 +983,6 @@ s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%;t t
 s%@INSTALL_DATA@%$INSTALL_DATA%;t t
 s%@standards_info@%$standards_info%;t t
 s%@standards_dvi@%$standards_dvi%;t t
-
 CEOF
 EOF
 
index 389176024a2cbb9b67b16bcc116b1cbdc4765630..e70bd5b8df68067cdaf81ec89dfa7c5e7e88840c 100644 (file)
@@ -2673,10 +2673,9 @@ confstat=cft\$\$
 EOF
 
 cat >> $CONFIG_STATUS <<EOF
-dnl Remove all of CONFIG_FILES and CONFIG_HEADERS, and trap to remove
-dnl the temp files.  There is no need to trap for the config files
-dnl since they are built from `mv tmp-file config-file', hence their
-dnl update is atomic.
+dnl Remove all the CONFIG_FILES, and trap to remove the temp files.  There
+dnl is no need to trap for the config files since they are built from `mv
+dnl tmp-file config-file', hence their update is atomic.
 : \${CONFIG_FILES="$1"}
 ifdef([AC_LIST_HEADER], [: \${CONFIG_HEADERS=AC_LIST_HEADER}
 ])dnl