diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index cdf4e768f939..ab9c94d3f165 100755 --- a/autogen.sh +++ b/autogen.sh @@ -116,6 +116,9 @@ sub invalid_distro($$) closedir ($dirh); } +# Avoid confusing "aclocal: error: non-option arguments are not accepted: '.../m4'." error message. +die "\$src_path must not contain spaces, but it is '$src_path'." if ($src_path =~ / /); + # Alloc $ACLOCAL to specify which aclocal to use $aclocal = $ENV{ACLOCAL} ? $ENV{ACLOCAL} : 'aclocal'; |