[asterisk-commits] mmichelson: trunk r150210 - in /trunk: configure configure.ac

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 16 16:23:39 CDT 2008


Author: mmichelson
Date: Thu Oct 16 16:23:38 2008
New Revision: 150210

URL: http://svn.digium.com/view/asterisk?view=rev&rev=150210
Log:
Change configure script to search for openais in 
both /usr/lib and /usr/lib64 since some distros
place 64-bit libraries only in the /usr/lib64 
directory.

(closes issue #13721)
Reported by: jcollie
Patches:
      0007-Look-in-64bit-dirs-for-openais.patch uploaded by jcollie (license 412)



Modified:
    trunk/configure
    trunk/configure.ac

Modified: trunk/configure.ac
URL: http://svn.digium.com/view/asterisk/trunk/configure.ac?view=diff&rev=150210&r1=150209&r2=150210
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Thu Oct 16 16:23:38 2008
@@ -1410,7 +1410,7 @@
 
 # OpenAIS installs its libraries into /usr/lib/openais by default, so check there
 
-AST_EXT_LIB_CHECK([OPENAIS], [SaClm], [saClmInitialize], [openais/saClm.h], [-L/usr/lib/openais])
+AST_EXT_LIB_CHECK([OPENAIS], [SaClm], [saClmInitialize], [openais/saClm.h], [-L/usr/lib/openais -L/usr/lib64/openais])
 
 if test "${PBX_OPENAIS}" = 1; then
    PBX_AIS=1
@@ -1419,7 +1419,7 @@
       AIS_LIB="-lSaEvt ${OPENAIS_LIB}"
    else
       AIS_INCLUDE="-I/usr/include/openais"
-      AIS_LIB="-lSaClm -lSaEvt -L/usr/lib/openais"
+      AIS_LIB="-lSaClm -lSaEvt -L/usr/lib/openais -L/usr/lib64/openais"
    fi
 fi
 




More information about the asterisk-commits mailing list