gegl r2521 - trunk



Author: ok
Date: Tue Jul  1 21:13:44 2008
New Revision: 2521
URL: http://svn.gnome.org/viewvc/gegl?rev=2521&view=rev

Log:
* configure.ac: applied patch from Marianne Gagnon fixing make install
on Mac OS X (Bug #539504)


Modified:
   trunk/ChangeLog
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Tue Jul  1 21:13:44 2008
@@ -264,7 +264,7 @@
 # Check how to generate plug-ins (with gcc at least)
 ####################################################
 
-AC_MSG_CHECKING([for some Win32 platform])
+AC_MSG_CHECKING([for how to make dynamic libraries])
 case "$target_or_host" in 
   *-*-darwin*)                 # darwin
     shrext=.dylib
@@ -280,6 +280,8 @@
     ;;
 esac
 
+AC_MSG_RESULT([flag=${dynamiclib}, extension=${shrext}])
+
 SHREXT=$shrext
 AC_SUBST(SHREXT)
 AC_DEFINE_UNQUOTED(SHREXT,     "$shrext",     [File extension for shared libraries])
@@ -290,7 +292,20 @@
 
 dnl ===========================================================================
 
-
+#######################
+# Check for Darwin/OSX
+#######################
+AC_MSG_CHECKING([for some Darwin platform])
+case "${host}" in
+  *-apple-darwin*)
+    platform_darwin=yes
+    ;;
+  *)
+    platform_darwin=no
+    ;;
+esac
+AC_MSG_RESULT([$platform_darwin])
+AM_CONDITIONAL(PLATFORM_DARWIN, test "$platform_darwin" = "yes")
 
 #################
 # Check for Win32



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]