summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2008-01-31 10:39:43 +0000
committerPaolo Bonzini <bonzini@gnu.org>2008-01-31 10:39:43 +0000
commit7231f784a5cd871937cdea7b600b1a4fcf01d4ca (patch)
treed68cb013cf669e7443da63a7191c2a0dc15b0e1f /configure
parent548c20db40ce25a5bf1aaedf26b7d1c931071044 (diff)
downloadgdb-7231f784a5cd871937cdea7b600b1a4fcf01d4ca.tar.gz
2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>cgen-snapshot-20080201
PR bootstrap/34922 * configure.ac (PARSE_ARGS): Push suitable setting of ac_subdirs_all, for `./configure --help=recursive'. Handle `+' in generic toplevel directory disabling. * configure: Regenerate.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index 18648c77693..4cdcd0a3454 100755
--- a/configure
+++ b/configure
@@ -713,6 +713,8 @@ ac_env_target_alias_set=${target_alias+set}
ac_env_target_alias_value=$target_alias
ac_cv_env_target_alias_set=${target_alias+set}
ac_cv_env_target_alias_value=$target_alias
+ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
+
ac_env_CC_set=${CC+set}
ac_env_CC_value=$CC
ac_cv_env_CC_set=${CC+set}
@@ -1895,6 +1897,8 @@ configdirs=`echo ${host_libs} ${host_tools}`
target_configdirs=`echo ${target_libraries} ${target_tools}`
build_configdirs=`echo ${build_libs} ${build_tools}`
+
+
################################################################################
srcname="gnu development package"
@@ -4906,7 +4910,8 @@ fi
# Handle --disable-<component> generically.
for dir in $configdirs $build_configdirs $target_configdirs ; do
dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
- if eval test x\${enable_${dirname}} "=" xno ; then
+ varname=`echo $dirname | sed -e s/+/_/g`
+ if eval test x\${enable_${varname}} "=" xno ; then
noconfigdirs="$noconfigdirs $dir"
fi
done