[asterisk-commits] rizzo: trunk r44421 - /trunk/acinclude.m4

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Oct 4 16:41:09 MST 2006


Author: rizzo
Date: Wed Oct  4 18:41:08 2006
New Revision: 44421

URL: http://svn.digium.com/view/asterisk?rev=44421&view=rev
Log:
when only checking headers, do not set $1_LIB.

Also PBX_$1=0 is the default so we don't need to set it explicitly.


Modified:
    trunk/acinclude.m4

Modified: trunk/acinclude.m4
URL: http://svn.digium.com/view/asterisk/trunk/acinclude.m4?rev=44421&r1=44420&r2=44421&view=diff
==============================================================================
--- trunk/acinclude.m4 (original)
+++ trunk/acinclude.m4 Wed Oct  4 18:41:08 2006
@@ -88,8 +88,10 @@
          fi
          $1_LIB=""
          $1_INCLUDE=""
-         PBX_$1=0
       else
+         if test "x${pbxfuncname}" = "x" ; then		# only checking headers -> no library
+	    $1_LIB=""
+	 fi
          PBX_$1=1
          AC_DEFINE_UNQUOTED([HAVE_$1], 1, [Define to indicate the ${$1_DESCRIP} library])
       fi



More information about the asterisk-commits mailing list