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() {
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 ..."