aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@gcc.gnu.org>2009-12-14 08:58:06 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2009-12-14 08:58:06 +0000
commite11ddaf56e62243e381e6c1db50fb53aee23d7e2 (patch)
treeb9830288d3feaecb3cfe960d0d30da55e118bcca /gcc/configure
parentb6eb7438616d087fb7f65984e030399cde77ca70 (diff)
downloadgcc-e11ddaf56e62243e381e6c1db50fb53aee23d7e2.zip
gcc-e11ddaf56e62243e381e6c1db50fb53aee23d7e2.tar.gz
gcc-e11ddaf56e62243e381e6c1db50fb53aee23d7e2.tar.bz2
configure.ac (--with-specs): New option.
* configure.ac (--with-specs): New option. * configure: Regenerated. * gcc.c (driver_self_specs): Include CONFIGURE_SPECS. * Makefile.in (DRIVER_DEFINES): Add -DCONFIGURE_SPECS. From-SVN: r155208
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure18
1 files changed, 16 insertions, 2 deletions
diff --git a/gcc/configure b/gcc/configure
index 8c72a93..ac22347 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -757,6 +757,7 @@ REPORT_BUGS_TEXI
REPORT_BUGS_TO
PKGVERSION
onestep
+CONFIGURE_SPECS
CROSS_SYSTEM_HEADER_DIR
TARGET_SYSTEM_ROOT_DEFINE
TARGET_SYSTEM_ROOT
@@ -880,6 +881,7 @@ with_dwarf2
enable_shared
with_build_sysroot
with_sysroot
+with_specs
enable_intermodule
with_pkgversion
with_bugurl
@@ -1632,6 +1634,7 @@ Optional Packages:
--with-build-sysroot=sysroot
use sysroot as the system root during the build
--with-sysroot=DIR Search for usr/lib, usr/include, et al, within DIR.
+ --with-specs=SPECS add SPECS to driver command-line processing
--with-pkgversion=PKG Use PKG in the version string in place of "GCC"
--with-bugurl=URL Direct users to URL to report a bug
--with-multilib-list Select multilibs (SH only)
@@ -6853,6 +6856,17 @@ fi
+
+# Check whether --with-specs was given.
+if test "${with_specs+set}" = set; then :
+ withval=$with_specs; CONFIGURE_SPECS=$withval
+else
+ CONFIGURE_SPECS=
+
+fi
+
+
+
# Build with intermodule optimisations
# Check whether --enable-intermodule was given.
if test "${enable_intermodule+set}" = set; then :
@@ -17023,7 +17037,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 17026 "configure"
+#line 17040 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -17129,7 +17143,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 17132 "configure"
+#line 17146 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H