aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2009-09-04 18:58:34 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2009-09-04 18:58:34 +0000
commit5646b7b97e101bed5ad1a6d463f9dd8283c43072 (patch)
treeeb54275b92f1e90ba5f906cb2486833b8759f98a /configure
parentb98a26e6d0f25a5c1893a8ed43a905242114662e (diff)
downloadgcc-5646b7b97e101bed5ad1a6d463f9dd8283c43072.zip
gcc-5646b7b97e101bed5ad1a6d463f9dd8283c43072.tar.gz
gcc-5646b7b97e101bed5ad1a6d463f9dd8283c43072.tar.bz2
configure.ac (with-build-config): Document.
* configure.ac (with-build-config): Document. Handle without. Handle missing argument. * configure: Rebuilt. From-SVN: r151435
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure b/configure
index c8f2fcf..3b6cd2d 100755
--- a/configure
+++ b/configure
@@ -769,6 +769,7 @@ enable_objc_gc
with_build_sysroot
with_debug_prefix_map
enable_bootstrap
+with_build_config
enable_serial_configure
with_build_time_tools
enable_maintainer_mode
@@ -1498,6 +1499,8 @@ Optional Packages:
use sysroot as the system root during the build
--with-debug-prefix-map='A=B C=D ...'
map A to B, C to D ... in debug information
+--with-build-config='NAME NAME2...'
+ Use config/NAME.mk build configuration
--with-build-time-tools=PATH
use given path to find target tools during the build
@@ -6583,6 +6586,17 @@ esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
$as_echo_n "checking for default BUILD_CONFIG... " >&6; }
+
+
+# Check whether --with-build-config was given.
+if test "${with_build_config+set}" = set; then :
+ withval=$with_build_config; case $with_build_config in
+ yes) with_build_config= ;;
+ no) with_build_config= BUILD_CONFIG= ;;
+ esac
+fi
+
+
if test "x${with_build_config}" != x; then
BUILD_CONFIG=$with_build_config
else