* autoconf.sh (task install): We no longer use AC_INCLUDE.

This commit is contained in:
Akim Demaille 2000-07-10 10:12:44 +00:00
parent a32e105e9c
commit 289b6c7a22
5 changed files with 20 additions and 34 deletions

View File

@ -1,3 +1,7 @@
2000-07-10 Akim Demaille <akim@epita.fr>
* autoconf.sh (task install): We no longer use AC_INCLUDE.
2000-07-10 Akim Demaille <akim@epita.fr>
* acoldnames.m4: Remove the obsolete comments. The technology is

View File

@ -561,11 +561,6 @@ define([AC_DEFUN],
[define([AC_DECLARED{$1}])errprint(]]__file__:__line__:[[ [$1]
)])dnl
][$2])])
dnl All the includes must be disabled. If they are not, since people don't
dnl protect the first argument of AC_DEFUN, then, if read a second time
dnl this argument will be expanded, and we'll get pure junk out of m4.
define([AC_INCLUDE])
EOF
# Run m4 with all the library files, discard stdout, save stderr in
@ -580,6 +575,7 @@ EOF
# Save in `installed' the list of installed links.
$verbose "Required macros:" >&2
$verbose "`sed -e 's/^/| /' $tmp/requested`" >&2
: >$tmp/installed
cat $tmp/requested |
while read line
do
@ -606,9 +602,7 @@ EOF
# Use yourself to get the list of the included files.
export AC_ACLOCALDIR
export AC_MACRODIR
# Not m4_s?include, because it would catch acsite and aclocal, which
# we don't care about.
$0 -l "$localdir" -t AC_INCLUDE:'$1' $infile |
$0 -l "$localdir" -t include:'$1' -t m4_include:'$1' -t m4_sinclude:'$1' $infile |
sort |
uniq >$tmp/included
# All the included files are needed.

View File

@ -561,11 +561,6 @@ define([AC_DEFUN],
[define([AC_DECLARED{$1}])errprint(]]__file__:__line__:[[ [$1]
)])dnl
][$2])])
dnl All the includes must be disabled. If they are not, since people don't
dnl protect the first argument of AC_DEFUN, then, if read a second time
dnl this argument will be expanded, and we'll get pure junk out of m4.
define([AC_INCLUDE])
EOF
# Run m4 with all the library files, discard stdout, save stderr in
@ -580,6 +575,7 @@ EOF
# Save in `installed' the list of installed links.
$verbose "Required macros:" >&2
$verbose "`sed -e 's/^/| /' $tmp/requested`" >&2
: >$tmp/installed
cat $tmp/requested |
while read line
do
@ -606,9 +602,7 @@ EOF
# Use yourself to get the list of the included files.
export AC_ACLOCALDIR
export AC_MACRODIR
# Not m4_s?include, because it would catch acsite and aclocal, which
# we don't care about.
$0 -l "$localdir" -t AC_INCLUDE:'$1' $infile |
$0 -l "$localdir" -t include:'$1' -t m4_include:'$1' -t m4_sinclude:'$1' $infile |
sort |
uniq >$tmp/included
# All the included files are needed.

View File

@ -561,11 +561,6 @@ define([AC_DEFUN],
[define([AC_DECLARED{$1}])errprint(]]__file__:__line__:[[ [$1]
)])dnl
][$2])])
dnl All the includes must be disabled. If they are not, since people don't
dnl protect the first argument of AC_DEFUN, then, if read a second time
dnl this argument will be expanded, and we'll get pure junk out of m4.
define([AC_INCLUDE])
EOF
# Run m4 with all the library files, discard stdout, save stderr in
@ -580,6 +575,7 @@ EOF
# Save in `installed' the list of installed links.
$verbose "Required macros:" >&2
$verbose "`sed -e 's/^/| /' $tmp/requested`" >&2
: >$tmp/installed
cat $tmp/requested |
while read line
do
@ -606,9 +602,7 @@ EOF
# Use yourself to get the list of the included files.
export AC_ACLOCALDIR
export AC_MACRODIR
# Not m4_s?include, because it would catch acsite and aclocal, which
# we don't care about.
$0 -l "$localdir" -t AC_INCLUDE:'$1' $infile |
$0 -l "$localdir" -t include:'$1' -t m4_include:'$1' -t m4_sinclude:'$1' $infile |
sort |
uniq >$tmp/included
# All the included files are needed.

View File

@ -1616,6 +1616,16 @@ set when you call @code{AC_PROG_CXX} (or empty if you don't).
C++ features.
@end defvar
@defvar DEFS
@ovindex DEFS
@option{-D} options to pass to the C compiler. If @code{AC_CONFIG_HEADERS}
is called, @code{configure} replaces @samp{@@DEFS@@} with
@option{-DHAVE_CONFIG_H} instead (@pxref{Configuration Headers}). This
variable is not defined while @code{configure} is performing its tests,
only when creating the output files. @xref{Setting Output Variables}, for
how to check the results of previous tests.
@end defvar
@defvar ECHO_C
@defvarx ECHO_N
@defvarx ECHO_T
@ -1645,16 +1655,6 @@ value is set when you call @code{AC_PROG_F77} (or empty if you don't).
Fortran 77 features.
@end defvar
@defvar DEFS
@ovindex DEFS
@option{-D} options to pass to the C compiler. If @code{AC_CONFIG_HEADERS}
is called, @code{configure} replaces @samp{@@DEFS@@} with
@option{-DHAVE_CONFIG_H} instead (@pxref{Configuration Headers}). This
variable is not defined while @code{configure} is performing its tests,
only when creating the output files. @xref{Setting Output Variables}, for
how to check the results of previous tests.
@end defvar
@defvar LDFLAGS
@ovindex LDFLAGS
Stripping (@option{-s}), path (@option{-L}), and any other miscellaneous