Skip to content

Commit

Permalink
buildtypes: allow autotools to be forced
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Feb 5, 2014
1 parent 21a5925 commit 896da4f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions buildtypes/autotools.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 #################################################
Expand Down

0 comments on commit 896da4f

Please sign in to comment.