From 896da4f7bd66d30368c9c822a0436e3e1e68e905 Mon Sep 17 00:00:00 2001 From: Marius Tolzmann Date: Wed, 5 Feb 2014 15:38:36 +0100 Subject: [PATCH] buildtypes: allow autotools to be forced --- buildtypes/autotools.sh.in | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/buildtypes/autotools.sh.in b/buildtypes/autotools.sh.in index 339821f..55a06a5 100644 --- a/buildtypes/autotools.sh.in +++ b/buildtypes/autotools.sh.in @@ -28,10 +28,14 @@ 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 + +if [ "${BEE_BUILDTYPE}" != "autotools" ] ; then + 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." + print_warning "use BEE_BUILDTYPE=autotools to force it anyway" + return + fi fi #### set autotools build type #################################################