mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
autogen.sh: Drop obsolete MinGW/MSYS items.
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.
This commit is contained in:
parent
f11a67ed5f
commit
b3e619c8b2
12
autogen.sh
12
autogen.sh
@ -22,11 +22,9 @@
|
|||||||
OS=`uname`
|
OS=`uname`
|
||||||
|
|
||||||
LIBTOOLIZE=libtoolize
|
LIBTOOLIZE=libtoolize
|
||||||
ACLOCAL_DIR=
|
|
||||||
|
|
||||||
if [ "x$OS" = "xDarwin" ]; then
|
if [ "x$OS" = "xDarwin" ]; then
|
||||||
LIBTOOLIZE=glibtoolize
|
LIBTOOLIZE=glibtoolize
|
||||||
|
|
||||||
if [ -d /sw/share/aclocal ]; then
|
if [ -d /sw/share/aclocal ]; then
|
||||||
# fink installs aclocal macros here
|
# fink installs aclocal macros here
|
||||||
ACLOCAL_DIR="-I /sw/share/aclocal"
|
ACLOCAL_DIR="-I /sw/share/aclocal"
|
||||||
@ -40,16 +38,6 @@ if [ "x$OS" = "xDarwin" ]; then
|
|||||||
# Xcode installs aclocal macros here
|
# Xcode installs aclocal macros here
|
||||||
ACLOCAL_DIR="-I /usr/share/aclocal"
|
ACLOCAL_DIR="-I /usr/share/aclocal"
|
||||||
fi
|
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
|
fi
|
||||||
|
|
||||||
echo "Generating build system..."
|
echo "Generating build system..."
|
||||||
|
Loading…
Reference in New Issue
Block a user