Skip configure if configure script is not present.

This commit is contained in:
Christoph Niethammer 2012-02-13 13:44:47 +00:00
parent 024ca0f0d6
commit 3f7ecfc001

View file

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