Code

autogen.sh: don't ignore errors
[ncmpc.git] / autogen.sh
1 #!/bin/sh -e
3 # Generate config.h.in
4 echo "touch stamp-h"
5 touch stamp-h
7 # add aclocal.m4 to current dir
8 echo "aclocal..."
9 aclocal -I $PWD/m4
11 # rerun libtoolize
12 echo "libtoolize..."
13 libtoolize --force
15 # This generates the configure script from configure.in
16 echo "autoconf..."
17 autoconf
19 echo "autoheader..."
20 autoheader
22 # Generate Makefile.in from Makefile.am
23 echo "automake..."
24 automake --add-missing
27 # configure
28 if test x$NOCONFIGURE = x; then
29         echo "./configure $*"
30         ./configure $*
31 fi