* autoheader.sh: No longer rely on a system acconfig.h.
+2000-01-29 Akim Demaille <akim@epita.fr>
+
+ * autoheader.sh: No longer rely on a system acconfig.h.
+
1999-11-01 Akim Demaille <akim@epita.fr>
Be kind to Automake: list the arguments of selected macros
esac
done
-acconfigs="${AC_MACRODIR}/acconfig.h"
+acconfigs=
test -r $localdir/acconfig.h && acconfigs="${acconfigs} $localdir/acconfig.h"
case $# in
config_h=undefined
syms=
-types=
-funcs=
-headers=
-libs=
-decls=
if test "$localdir" != .; then
use_localdir="-I$localdir -DAC_LOCALDIR=$localdir"
# 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@
- # is ignored in the systemwide acconfig.h too.
+ # Stuff outside of @TOP@ and @BOTTOM@ is ignored in all the acconfig.hs.
for t in $acconfigs; do
sedscript=""
grep @TOP@ $t >/dev/null && sedscript="1,/@TOP@/d;"
esac
done
-acconfigs="${AC_MACRODIR}/acconfig.h"
+acconfigs=
test -r $localdir/acconfig.h && acconfigs="${acconfigs} $localdir/acconfig.h"
case $# in
config_h=undefined
syms=
-types=
-funcs=
-headers=
-libs=
-decls=
if test "$localdir" != .; then
use_localdir="-I$localdir -DAC_LOCALDIR=$localdir"
# 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@
- # is ignored in the systemwide acconfig.h too.
+ # Stuff outside of @TOP@ and @BOTTOM@ is ignored in all the acconfig.hs.
for t in $acconfigs; do
sedscript=""
grep @TOP@ $t >/dev/null && sedscript="1,/@TOP@/d;"
esac
done
-acconfigs="${AC_MACRODIR}/acconfig.h"
+acconfigs=
test -r $localdir/acconfig.h && acconfigs="${acconfigs} $localdir/acconfig.h"
case $# in
config_h=undefined
syms=
-types=
-funcs=
-headers=
-libs=
-decls=
if test "$localdir" != .; then
use_localdir="-I$localdir -DAC_LOCALDIR=$localdir"
# 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@
- # is ignored in the systemwide acconfig.h too.
+ # Stuff outside of @TOP@ and @BOTTOM@ is ignored in all the acconfig.hs.
for t in $acconfigs; do
sedscript=""
grep @TOP@ $t >/dev/null && sedscript="1,/@TOP@/d;"