Don't use -Wno-long-double on OS X - it seems to no longer be supported by

Apple's compilers, and was never supported by FSF GCC on any platform.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2009-12-15 14:33:47 +00:00
commit d1eed0bc8e

View file

@ -316,11 +316,7 @@ esac
# Optional CFLAGS used to silence compiler warnings on some platforms.
AC_SUBST(PLATFLAGS)
case $host in
*-*-darwin*) PLATFLAGS="-Wno-long-double";;
*) PLATFLAGS="";;
esac
PLATFLAGS=
# Check for specific libraries. Used for SWIG examples
AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV