Move the inclusion of /usr/include for MinGW one more time.

This commit is contained in:
Ghislain MARY 2015-01-29 11:12:55 +01:00
parent 78cd8521a2
commit a36c94f18d

View file

@ -806,6 +806,14 @@ AC_SUBST([MS2_VERSION])
AC_SUBST([MS2_DIR])
case $target in
*mingw*)
dnl Workaround for mingw, whose compiler does not check in /usr/include ...
CPPFLAGS="$CPPFLAGS -I/usr/include"
LDFLAGS="$LDFLAGS -L/usr/lib"
;;
esac
AC_ARG_ENABLE(tunnel,
[AS_HELP_STRING([--enable-tunnel=[yes/no]], [Turn on compilation of tunnel support (default=no)])],
@ -943,14 +951,6 @@ case "$target_os" in
;;
esac
case $target in
*mingw*)
dnl Workaround for mingw, whose compiler does not check in /usr/include ...
CPPFLAGS="$CPPFLAGS -I/usr/include"
LDFLAGS="$LDFLAGS -L/usr/lib"
;;
esac
dnl ##################################################
dnl # Check for doxygen