aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-11-02 00:22:10 +0000
committerAlan Modra <amodra@gmail.com>2010-11-02 00:22:10 +0000
commit6d0cd39eb22c4ff76d1c360fdbef4b7506f95327 (patch)
tree52820842b8587cff9779069fcbc3d90dccc11816 /configure
parentab2a306104e249fa9bacc07476fb6184b906f6cb (diff)
downloadgdb-6d0cd39eb22c4ff76d1c360fdbef4b7506f95327.zip
gdb-6d0cd39eb22c4ff76d1c360fdbef4b7506f95327.tar.gz
gdb-6d0cd39eb22c4ff76d1c360fdbef4b7506f95327.tar.bz2
PR binutils/12110
* configure.ac: Error when source path contains spaces. * configure: Regenerate.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index b1fbfaa..6c3d5d6 100755
--- a/configure
+++ b/configure
@@ -1393,6 +1393,11 @@ fi
case $srcdir in
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
esac
+case $srcdir in
+ *" "*)
+ as_fn_error "path to source, $srcdir, contains spaces"
+ ;;
+esac
ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
for ac_var in $ac_precious_vars; do