diff --git a/buildtypes/configure.sh.in b/buildtypes/configure.sh.in index 3821f72..b66043b 100644 --- a/buildtypes/configure.sh.in +++ b/buildtypes/configure.sh.in @@ -22,7 +22,13 @@ # along with this program. If not, see . # -if [ ! -x ${S}/configure ] ; then +if [ ! -x "${S}/configure" ] ; then + return +fi + +if ! egrep -qi "generated by.*autoconf" "${S}/configure" ; then + print_warning "GNU autotools detection failed." + print_warning "${S}/configure: does not seem to be generated by GNU autotools." return fi