diff options
author | Alan Modra <amodra@bigpond.net.au> | 2010-11-02 00:22:10 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2010-11-02 00:22:10 +0000 |
commit | 8d8114061768f9657f0869d2954f63a5a48c7382 (patch) | |
tree | 41b5325fbdb6be0efc312e5278e476cc06c219b0 /configure | |
parent | 89cb907efc4c75ce8bfc672c69b4bc22f2c74aae (diff) | |
download | gdb-8d8114061768f9657f0869d2954f63a5a48c7382.tar.gz |
PR binutils/12110
* configure.ac: Error when source path contains spaces.
* configure: Regenerate.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure index b1fbfaa73d0..6c3d5d6f68a 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 |