OS X refinements

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-11-18 20:02:37 +00:00
commit 7b14be5fc0
2 changed files with 11 additions and 1 deletions

View file

@ -24,7 +24,7 @@
TARGET =
CC = @CC@
CXX = @CXX@
CFLAGS =
CFLAGS = @PLATFLAGS@
prefix = @prefix@
exec_prefix= @exec_prefix@
SRCS =

View file

@ -270,6 +270,16 @@ case $host in
*) LIBTOOL_NO_UNDEFINED="-no-undefined";;
esac
# Optional CFLAGS used to silence compiler warnings on some platforms.
AC_SUBST(PLATFLAGS)
case $host in
*-*-darwin*) PLATFLAGS="-Wno-long-double";;
*) PLATFLAGS="";;
esac
echo ""
echo "Checking for installed packages."
echo "Note : None of the following packages are required to compile SWIG"