]> git.0d.be Git - jack_mixer.git/commitdiff
build: run configure automatically after autogen
authorFrédéric Péters <fpeters@0d.be>
Sun, 27 Apr 2014 12:40:27 +0000 (14:40 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sun, 27 Apr 2014 12:43:36 +0000 (14:43 +0200)
autogen.sh

index 24ba5c702ee9e77c6b7a099d4f8c733de9d20d7f..a5d6d29135e7681a284f63bfce3df8c443c153a3 100755 (executable)
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
+
+olddir=`pwd`
+cd "$srcdir"
+
 if test x$1 = xclean
 then
   GENERATED="aclocal.m4 autom4te.cache config.h.in configure config Makefile.in"
@@ -35,3 +41,6 @@ else
   automake --foreign --add-missing --copy
   autoconf
 fi
+
+cd "$olddir"
+test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"