Code

zpdated autogen.sh
[ncmpc.git] / autogen.sh
index 20ea5ed34badcefd3a4e26102c73f046d5e11aa5..df0e774b6d45c536bf006f24dbf9ad222b053c98 100755 (executable)
@@ -1,27 +1,28 @@
 #! /bin/sh
 
 # Generate config.h.in
-echo "autoheader..."
-autoheader
-
 echo "touch stamp-h"
 touch stamp-h
 
-# rerun libtoolize
-echo "libtoolize..."
-libtoolize --force
-
 # add aclocal.m4 to current dir
 echo "aclocal..."
 aclocal
 
+# rerun libtoolize
+echo "libtoolize..."
+libtoolize --force
+
 # 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
+
 
 # configure
 echo "./configure $*"