diff --git a/functions.sh b/functions.sh index f68f315..17463bb 100644 --- a/functions.sh +++ b/functions.sh @@ -59,10 +59,13 @@ sit_prepare() { src_configure() { - ${SRCDIR}/configure --prefix=$PREFIX $CONFIGURE_OPTS - if [ ! -z $LOGDIR -a -f config.log ] ; then - cp config.log $LOGDIR - fi + if [ -x ${SRCDIR}/configure ] ; then +#sit_info "Runnning configure" + ${SRCDIR}/configure --prefix=$PREFIX $CONFIGURE_OPTS + if [ ! -z $LOGDIR -a -f config.log ] ; then + cp config.log $LOGDIR + fi + fi } sit_configure() { sit_info "Configuring sources ..."