[svn-r5227] Purpose:

Feature Update
Description:
		Modified the AC_OUTPUT macro to coincide with the now-standard
		way of doing things. I.e., you put all of the files you want to
		generate into the AC_CONFIG_FILES macro and invode AC_OUTPUT with
		no parameters.
Platforms tested:
        Linux
This commit is contained in:
Bill Wendling 2002-04-22 18:50:25 -05:00
parent fd9f73d5fe
commit 0ade5bb44b
2 changed files with 16 additions and 7 deletions

8
c++/configure vendored
View File

@ -3266,7 +3266,7 @@ irix5* | irix6*)
# This must be Linux ELF.
linux-gnu*)
case $host_cpu in
alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* )
lt_cv_deplibs_check_method=pass_all ;;
*)
# glibc up to 2.1.1 does not perform some relocations on ARM
@ -5468,7 +5468,6 @@ else
# End MAJOR HACK
#
#######################################################################
# Warning - without using the other run time loading flags,
# -berok will link without error, but may produce a broken library.
allow_undefined_flag='${wl}-berok'
@ -6733,7 +6732,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 6736 "configure"
#line 6735 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -6831,7 +6830,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 6834 "configure"
#line 6833 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -8117,6 +8116,7 @@ rm -f conftest conftest.o conftest.c core core.* *.core dummy.o
saved_no_create=$no_create
no_create=yes
ac_config_files="$ac_config_files config/depend1 config/depend2 config/depend3 config/depend4 config/dependN config/commence config/conclude Makefile src/Makefile test/Makefile examples/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure

View File

@ -462,9 +462,18 @@ dnl things need to be done.
dnl Then the config.status file (but not makefiles)
saved_no_create=$no_create
no_create=yes
AC_OUTPUT(config/depend1 config/depend2 config/depend3 config/depend4 \
config/dependN config/commence config/conclude Makefile \
src/Makefile test/Makefile examples/Makefile)
AC_CONFIG_FILES([config/depend1
config/depend2
config/depend3
config/depend4
config/dependN
config/commence
config/conclude
Makefile
src/Makefile
test/Makefile
examples/Makefile])
AC_OUTPUT
no_create=$saved_no_create
dnl Finally the makefiles