]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.ac (with-build-config): Document.
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 4 Sep 2009 18:58:34 +0000 (18:58 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Fri, 4 Sep 2009 18:58:34 +0000 (18:58 +0000)
* configure.ac (with-build-config): Document.  Handle without.
Handle missing argument.
* configure: Rebuilt.

From-SVN: r151435

ChangeLog
configure
configure.ac

index 6c2978002636471c9599712f0d0f9deecbcd6011..57c1c7eec4674447ff4f72f0920745d3708396a8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-09-04  Alexandre Oliva  <aoliva@redhat.com>
+
+       * configure.ac (with-build-config): Document.  Handle without.
+       Handle missing argument.
+       * configure: Rebuilt.
+
 2009-09-03  Alexandre Oliva  <aoliva@redhat.com>
 
        * configure.ac (--with-build-config): New.  Set BUILD_CONFIG.
index c8f2fcf15161c5b4916db4fc6ac7b275736089da..3b6cd2d76ddfbc62717bff69a41941fa58304785 100755 (executable)
--- 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
index caff7e5af132c96af4413b19b7231fc5a385b6cd..592a8e3b629ad256aed6a9b0d4f77f28f94914e4 100644 (file)
@@ -2471,6 +2471,15 @@ case $enable_bootstrap in
 esac
 
 AC_MSG_CHECKING(for default BUILD_CONFIG)
+
+AC_ARG_WITH([build-config],
+  [--with-build-config='NAME NAME2...'
+                          Use config/NAME.mk build configuration],
+  [case $with_build_config in
+   yes) with_build_config= ;;
+   no) with_build_config= BUILD_CONFIG= ;;
+   esac])
+
 if test "x${with_build_config}" != x; then
   BUILD_CONFIG=$with_build_config
 else