X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=functions%2Fipkg;h=9de17281c347bdb6239c9e02fab47b97db25ae18;hb=10a9a4a4045ee1e6bc30df5de9bb857d1fd0dc1f;hp=b3cba7c2dcfd021fbf60745de4185875739aaa23;hpb=d9702c4a5c6fbf2c738ffbf9c3563daf552c91d8;p=hvlinux.git diff --git a/functions/ipkg b/functions/ipkg index b3cba7c..9de1728 100644 --- a/functions/ipkg +++ b/functions/ipkg @@ -66,6 +66,14 @@ hvconfig() # accept the default configuration. perl Makefile.PL -n ${CONFIGURE_OPTS} else + if [ ! -f ${LFS_TMP}/${PACKAGE}/configure ]; then + if [ -f ${LFS_TMP}/${PACKAGE}/configure.in -o \ + -f ${LFS_TMP}/${PACKAGE}/configure.ac ]; then + # Try to automatically generate missing configure script. + autoreconf -vi + fi + fi + # Standard configure script ${LFS_TMP}/${PACKAGE}/configure ${CONFIGURE_OPTS} fi