]> sigrok.org Git - libsigrok.git/commitdiff
autogen.sh: Drop obsolete MinGW/MSYS items.
authorUwe Hermann <redacted>
Tue, 7 Apr 2015 00:35:08 +0000 (02:35 +0200)
committerUwe Hermann <redacted>
Tue, 7 Apr 2015 00:35:08 +0000 (02:35 +0200)
For Windows builds (which require MinGW-w64) we currently support:

 - cross-builds using MXE (mxe.cc) and possibly other cross-compile setups

 - native builds using MSYS2 (sf.net/projects/msys2/)

Neither of those require explicitly specifying ACLOCAL_DIR.

autogen.sh

index 26e179361e3d35d6404ed94e25f1190f7bb9a6e7..d2205fe13c2d5dfd7e12b94d5600436df2388ed9 100755 (executable)
 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"
@@ -39,16 +37,6 @@ 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..."