running configure after autogen if needed

This commit is contained in:
maroy 2005-08-02 06:16:25 +00:00
parent 26e76a82cb
commit 665d69d0bd

View file

@ -22,7 +22,7 @@
# #
# #
# Author : $Author: maroy $ # Author : $Author: maroy $
# Version : $Revision: 1.2 $ # Version : $Revision: 1.3 $
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/configure,v $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/configure,v $
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
@ -44,9 +44,9 @@ tmpdir=$basedir/tmp
autogen=$bindir/autogen.sh autogen=$bindir/autogen.sh
configure=$tmpdir/configure configure=$tmpdir/configure
if [ -x $configure ]; then if [ ! -x $configure ]; then
(cd $tmpdir && $configure $*)
else
(cd $basedir && $autogen $*) (cd $basedir && $autogen $*)
fi fi
(cd $tmpdir && $configure $*)