X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=autogen.sh;h=a639131d8aad119c586b9d2d549c1d6522896544;hb=79c24102ce8857ca4402c6a0b1f0c9d2e2dc24fe;hp=df0e774b6d45c536bf006f24dbf9ad222b053c98;hpb=f5b40d903e57eb92c38bb640807806bc7caffdcd;p=ncmpc.git diff --git a/autogen.sh b/autogen.sh index df0e774..a639131 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,16 +1,14 @@ -#! /bin/sh +#!/bin/sh -e -# Generate config.h.in -echo "touch stamp-h" -touch stamp-h +rm -rf config.cache build +mkdir build + +# create po/Makefile.in.in +glib-gettextize --force --copy # add aclocal.m4 to current dir echo "aclocal..." -aclocal - -# rerun libtoolize -echo "libtoolize..." -libtoolize --force +aclocal -I m4 # This generates the configure script from configure.in echo "autoconf..." @@ -21,9 +19,11 @@ autoheader # Generate Makefile.in from Makefile.am echo "automake..." -automake --add-missing +automake --add-missing $AUTOMAKE_FLAGS # configure -echo "./configure $*" -./configure $* +if test x$NOCONFIGURE = x; then + echo "./configure $*" + ./configure $* +fi