X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=autogen.sh;h=6d31db101a5bc1173a4264c65b2ae140d3772814;hb=ec4b55ae25c368e30a5db6ab6cb33bb6abeca46c;hp=4267387d7a490d2e9fe4c1068d3b0d1d5e3d1d23;hpb=0662f2bb88079a49ed6329e960aa57dabec5ba34;p=libserialport.git diff --git a/autogen.sh b/autogen.sh index 4267387..6d31db1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -22,11 +22,9 @@ OS=`uname` LIBTOOLIZE=libtoolize -ACLOCAL_DIR= if [ "x$OS" = "xDarwin" ]; then LIBTOOLIZE=glibtoolize - if [ -d /sw/share/aclocal ]; then # fink installs aclocal macros here ACLOCAL_DIR="-I /sw/share/aclocal" @@ -40,21 +38,12 @@ if [ "x$OS" = "xDarwin" ]; then # Xcode installs aclocal macros here ACLOCAL_DIR="-I /usr/share/aclocal" fi - -elif [ "x$OS" = "xMINGW32_NT-5.1" ]; then - # Windows XP - ACLOCAL_DIR="-I /usr/local/share/aclocal" -elif [ "x$OS" = "xMINGW32_NT-6.0" ]; then - # Windows Vista - ACLOCAL_DIR="-I /usr/local/share/aclocal" -elif [ "x$OS" = "xMINGW32_NT-6.1" ]; then - # Windows 7 - ACLOCAL_DIR="-I /usr/local/share/aclocal" fi echo "Generating build system..." ${LIBTOOLIZE} --install --copy --quiet || exit 1 aclocal ${ACLOCAL_DIR} || exit 1 +autoheader || exit 1 automake --add-missing --copy || exit 1 autoconf || exit 1