[xiph-cvs] cvs commit: ao configure.in

Stan Seibert volsung at xiph.org
Sat Aug 30 10:07:28 PDT 2003



volsung     03/08/30 13:07:28

  Modified:    .        configure.in
  Log:
  Deal with different shared library extensions.  Closes bug 238.

Revision  Changes    Path
1.48      +9 -3      ao/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/ao/configure.in,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- configure.in	30 Aug 2003 16:48:26 -0000	1.47
+++ configure.in	30 Aug 2003 17:07:28 -0000	1.48
@@ -103,18 +103,24 @@
 dnl ==============================
 
 dnl ==============================
-dnl Select proper dlopen flags
+dnl Select proper plugin options
 dnl ==============================
 case $host in
-    
-    *openbsd* | *netbsd* | *hpux* | *solaris2.7)
+    *hpux*)
         DLOPEN_FLAG='(RTLD_LAZY)'
+	SHARED_LIB_EXT='.sl'
+	;;    
+    *openbsd* | *netbsd* | *solaris2.7)
+	DLOPEN_FLAG='(RTLD_LAZY)'
+	SHARED_LIB_EXT='.so'
         ;;
     *)
         DLOPEN_FLAG='(RTLD_NOW | RTLD_GLOBAL)'
+	SHARED_LIB_EXT='.so'
         ;;
 esac
 AC_DEFINE_UNQUOTED(DLOPEN_FLAG, $DLOPEN_FLAG)
+AC_DEFINE_UNQUOTED(SHARED_LIB_EXT, "$SHARED_LIB_EXT")
 
 dnl --------------------------------------------------
 dnl Work around FHS stupidity

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list