summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2010-11-02 00:22:10 +0000
committerAlan Modra <amodra@bigpond.net.au>2010-11-02 00:22:10 +0000
commit1c6c55fcac7113e7f2abd282789c6391fdde6309 (patch)
tree6ffc74c84c078d9830f1e97d7dbbdc705e1e5700 /configure
parent609221f6b2dc62be7052a7b5d3b577decf265ba7 (diff)
downloadbinutils-redhat-1c6c55fcac7113e7f2abd282789c6391fdde6309.tar.gz
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 b1fbfaa73d..6c3d5d6f68 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