2000-01-29 Akim Demaille <akim@epita.fr>

* autoheader.sh: No longer rely on a system acconfig.h.
This commit is contained in:
Akim Demaille 2000-01-29 09:24:30 +00:00
parent 13692cadbc
commit 48b898876a
4 changed files with 10 additions and 24 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -114,7 +114,7 @@ while test $# -gt 0 ; do
esac
done
acconfigs="${AC_MACRODIR}/acconfig.h"
acconfigs=
test -r $localdir/acconfig.h && acconfigs="${acconfigs} $localdir/acconfig.h"
case $# in
@ -125,11 +125,6 @@ esac
config_h=undefined
syms=
types=
funcs=
headers=
libs=
decls=
if test "$localdir" != .; then
use_localdir="-I$localdir -DAC_LOCALDIR=$localdir"
@ -194,8 +189,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@
# 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;"

View File

@ -114,7 +114,7 @@ while test $# -gt 0 ; do
esac
done
acconfigs="${AC_MACRODIR}/acconfig.h"
acconfigs=
test -r $localdir/acconfig.h && acconfigs="${acconfigs} $localdir/acconfig.h"
case $# in
@ -125,11 +125,6 @@ esac
config_h=undefined
syms=
types=
funcs=
headers=
libs=
decls=
if test "$localdir" != .; then
use_localdir="-I$localdir -DAC_LOCALDIR=$localdir"
@ -194,8 +189,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@
# 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;"

View File

@ -114,7 +114,7 @@ while test $# -gt 0 ; do
esac
done
acconfigs="${AC_MACRODIR}/acconfig.h"
acconfigs=
test -r $localdir/acconfig.h && acconfigs="${acconfigs} $localdir/acconfig.h"
case $# in
@ -125,11 +125,6 @@ esac
config_h=undefined
syms=
types=
funcs=
headers=
libs=
decls=
if test "$localdir" != .; then
use_localdir="-I$localdir -DAC_LOCALDIR=$localdir"
@ -194,8 +189,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@
# 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;"