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.
OS=`uname`
-ACLOCAL_DIR=
-
if [ "x$OS" = "xDarwin" ]; then
if [ -d /sw/share/aclocal ]; then
# fink installs aclocal macros here
# 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..."