gegl r3002 - trunk



Author: martinn
Date: Tue Mar 31 20:18:50 2009
New Revision: 3002
URL: http://svn.gnome.org/viewvc/gegl?rev=3002&view=rev

Log:
Support hpux use of shl load/unload and dsos with .sl suffixes

Patch from Gary V. Vaughan

Modified:
   trunk/ChangeLog
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Tue Mar 31 20:18:50 2009
@@ -266,32 +266,28 @@
 # Check how to generate plug-ins (with gcc at least)
 ####################################################
 
-AC_MSG_CHECKING([for how to make dynamic libraries])
+AC_MSG_CHECKING([for dynamic library filename suffix])
 case "$target_or_host" in 
   *-*-darwin*)                 # darwin
     shrext=.dylib
-    dynamiclib=-dynamiclib
+    ;;
+  hppa*-hpux*)                 # HP/UX
+    shrext=.sl
     ;;
   *-*-mingw* | *-*-cygwin*)    # windows
     shrext=.dll
-    dynamiclib=-shared
     ;;
   *)                           # linux (and BSD?)
-    dynamiclib=-shared
     shrext=.so
     ;;
 esac
 
-AC_MSG_RESULT([flag=${dynamiclib}, extension=${shrext}])
+AC_MSG_RESULT([${shrext}])
 
 SHREXT=$shrext
 AC_SUBST(SHREXT)
 AC_DEFINE_UNQUOTED(SHREXT,     "$shrext",     [File extension for shared libraries])
 
-DYNAMICLIB=$dynamiclib
-AC_SUBST(DYNAMICLIB)
-AC_DEFINE_UNQUOTED(DYNAMICLIB, "$dynamiclib", [Dynamic shared library])
-
 dnl ===========================================================================
 
 #######################



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