Skip configure if configure script is not present.
This commit is contained in:
parent
024ca0f0d6
commit
3f7ecfc001
1 changed files with 7 additions and 4 deletions
11
functions.sh
11
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 ..."
|
||||
|
|
Loading…
Reference in a new issue