+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.
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
test -f "${M4}" || M4=m4 ;;
esac
+ac_LF_and_DOT="`echo; echo .`"
+
localdir=.
show_version=no
# 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=""
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
# 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 "
s%@INSTALL_DATA@%$INSTALL_DATA%;t t
s%@standards_info@%$standards_info%;t t
s%@standards_dvi@%$standards_dvi%;t t
-
CEOF
EOF
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