[svn-commits] jpeeler: branch jpeeler/bug11261 r182647 - /team/jpeeler/bug11261/autoconf/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Mar 17 14:20:06 CDT 2009


Author: jpeeler
Date: Tue Mar 17 14:20:02 2009
New Revision: 182647

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=182647
Log:
only use lib64 if it actually exists

Modified:
    team/jpeeler/bug11261/autoconf/ast_check_openh323.m4

Modified: team/jpeeler/bug11261/autoconf/ast_check_openh323.m4
URL: http://svn.digium.com/svn-view/asterisk/team/jpeeler/bug11261/autoconf/ast_check_openh323.m4?view=diff&rev=182647&r1=182646&r2=182647
==============================================================================
--- team/jpeeler/bug11261/autoconf/ast_check_openh323.m4 (original)
+++ team/jpeeler/bug11261/autoconf/ast_check_openh323.m4 Tue Mar 17 14:20:02 2009
@@ -1,6 +1,7 @@
 AC_DEFUN([AST_CHECK_OPENH323], [
 OPENH323_INCDIR=
 OPENH323_LIBDIR=
+echo "xxx $LIB64"
 AC_LANG_PUSH([C++])
 if test "${OPENH323DIR:-unset}" != "unset" ; then
   AC_CHECK_HEADER(${OPENH323DIR}/version.h, HAS_OPENH323=1, )
@@ -28,7 +29,7 @@
       if test "${HAS_OPENH323:-unset}" != "unset" ; then
         OPENH323DIR="/usr/local/share/openh323"
         OPENH323_INCDIR="/usr/local/include/openh323"
-        if test "x$LIB64" != "x"; then
+        if test "x$LIB64" != "x" && test -d "/usr/local/lib64"; then
           OPENH323_LIBDIR="/usr/local/lib64"
         else
           OPENH323_LIBDIR="/usr/local/lib"
@@ -41,7 +42,7 @@
         if test "${HAS_OPENH323:-unset}" != "unset" ; then
           OPENH323DIR="/usr/share/openh323"
           OPENH323_INCDIR="/usr/include/openh323"
-          if test "x$LIB64" != "x"; then
+          if test "x$LIB64" != "x" && test -d "/usr/local/lib64"; then
             OPENH323_LIBDIR="/usr/lib64"
           else
             OPENH323_LIBDIR="/usr/lib"




More information about the svn-commits mailing list