[Hdrflow-svn] SF.net SVN: hdrflow: [443] trunk/lib
Status: Pre-Alpha
Brought to you by:
glslang
|
From: <gl...@us...> - 2008-04-22 20:02:52
|
Revision: 443
http://hdrflow.svn.sourceforge.net/hdrflow/?rev=443&view=rev
Author: glslang
Date: 2008-04-22 13:02:50 -0700 (Tue, 22 Apr 2008)
Log Message:
-----------
Leopard portability fixes
Modified Paths:
--------------
trunk/lib/extras/configure.ac
trunk/lib/extras/m4/universal_binary.m4
trunk/lib/openlibraries/configure.ac
Modified: trunk/lib/extras/configure.ac
===================================================================
--- trunk/lib/extras/configure.ac 2008-04-22 19:34:35 UTC (rev 442)
+++ trunk/lib/extras/configure.ac 2008-04-22 20:02:50 UTC (rev 443)
@@ -148,6 +148,12 @@
dnl OpenLibraries common flags
dnl NOTE: we could use $(var) instead of @var@ if we want late-expansion in the generated makefiles.
EXTRAS_CXXFLAGS='-fvisibility=hidden -fvisibility-inlines-hidden'
+case $host in
+ *-apple-darwin*)
+ EXTRAS_CXXFLAGS="$EXTRAS_CXXFLAGS -mmacosx-version-min=10.4"
+ ;;
+esac
+
AC_SUBST(EXTRAS_CXXFLAGS)
EXTRAS_LDFLAGS=''
Modified: trunk/lib/extras/m4/universal_binary.m4
===================================================================
--- trunk/lib/extras/m4/universal_binary.m4 2008-04-22 19:34:35 UTC (rev 442)
+++ trunk/lib/extras/m4/universal_binary.m4 2008-04-22 20:02:50 UTC (rev 443)
@@ -16,7 +16,7 @@
AC_MSG_ERROR([--enable-universalbinaries requires --disable-dependency-tracking])
fi
AC_MSG_RESULT(yes)
- CXXFLAGS="$CXXFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"
+ CXXFLAGS="$CXXFLAGS -arch ppc -arch i386"
else
AC_MSG_RESULT(no)
fi
Modified: trunk/lib/openlibraries/configure.ac
===================================================================
--- trunk/lib/openlibraries/configure.ac 2008-04-22 19:34:35 UTC (rev 442)
+++ trunk/lib/openlibraries/configure.ac 2008-04-22 20:02:50 UTC (rev 443)
@@ -182,6 +182,13 @@
dnl OpenLibraries common flags
dnl NOTE: we could use $(var) instead of @var@ if we want late-expansion in the generated makefiles.
OLIB_CXXFLAGS='-fvisibility=hidden -fvisibility-inlines-hidden'
+
+case $host in
+ *-apple-darwin*)
+ OLIB_CXXFLAGS="$OLIB_CXXFLAGS -mmacosx-version-min=10.4"
+ ;;
+esac
+
AC_SUBST(OLIB_CXXFLAGS)
OLIB_LDFLAGS=''
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|