OSDN Git Service

2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / configure
index 70dcb5b..55c5ca4 100755 (executable)
--- a/configure
+++ b/configure
@@ -55,6 +55,7 @@ extraconfigdirs=
 diroptions=
 enable_threads=no
 enable_shared=no
+enable_libstdcxx_v3=yes
 exec_prefix=
 exec_prefixoption=
 fatal=
@@ -88,7 +89,7 @@ subdirs=
 target_alias=NOTARGET
 target_makefile_frag=
 undefs=NOUNDEFS
-version="$Revision: 1.28 $"
+version="$Revision: 1.31 $"
 x11=default
 bindir='${exec_prefix}/bin'
 sbindir='${exec_prefix}/sbin'
@@ -161,6 +162,10 @@ case "${progname}" in
         ;;
 esac
 
+# Export original configure arguments for use by sub-configures.
+TOPLEVEL_CONFIGURE_ARGUMENTS="$progname $@"
+export TOPLEVEL_CONFIGURE_ARGUMENTS
+
 # Loop over all args
 
 while :
@@ -400,10 +405,6 @@ do
        esac
 done
 
-# Remember the pristine configure arguments for later.  $arguments gets
-# built up with further defaults in preparation for recursion.
-original_arguments=$arguments
-
 # process host and target
 
 # Do some error checking and defaulting for the host and target type.
@@ -1604,12 +1605,6 @@ if [ -z "${norecursion}" ] && [ -n "${configdirs}" ] ; then
         done
 fi
 
-# Remember configure arguments for later.
-cat > gcc/configargs.h <<EOF
-/* Generated automatically. */
-static const char configuration_arguments[] = "$original_arguments";
-EOF
-
 # Perform the same cleanup as the trap handler, minus the "exit 1" of course,
 # and reset the trap handler.
 rm -f ${tmpfile}.com ${tmpfile}.tgt ${tmpfile}.hst ${tmpfile}.pos