diff options
-rw-r--r-- | Makefile.in | 1 | ||||
-rwxr-xr-x | autogen.sh | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index b4c1ecfdf6e0..36bcaf3f752d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -45,6 +45,7 @@ $(BUILDDIR)/config_host.mk : $(wildcard \ $(SRCDIR)/android/experimental/LOAndroid3/AndroidManifest.xml.in \ $(BUILDDIR)/autogen.input \ $(BUILDDIR)/autogen.lastrun \ + $(BUILDDIR)/autogen.sh \ ) sh -c $(SRCDIR)/autogen.sh 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'; |