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() {
|
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 ..."
|
||||||
|
|
Loading…
Reference in a new issue