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