From bb78585a368b11992c01945a0c0a75701accdc2a Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Sat, 24 Apr 2010 14:11:40 +0300 Subject: [PATCH] Newer pwlib uses pkg-config. Don't panic Newer versions of pwlib (e.g.: the one in Opal 3.6.5) uses pkg-config rather than their own ptlib-config. This is an ugly workaround to at least make asterisk build. Otherwise you get errors becuase there's no such program ' --ldflags'. --- autoconf/ast_check_pwlib.m4 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/autoconf/ast_check_pwlib.m4 b/autoconf/ast_check_pwlib.m4 index f92fb2c..9d53dda 100644 --- a/autoconf/ast_check_pwlib.m4 +++ b/autoconf/ast_check_pwlib.m4 @@ -121,7 +121,7 @@ if test "${HAS_PWLIB:-unset}" = "unset" ; then else AC_CHECK_HEADER(/usr/include/ptlib.h, HAS_PWLIB=1, ) if test "${HAS_PWLIB:-unset}" != "unset" ; then - AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, , /usr/bin$PATH_SEPARATOR/usr/share/pwlib/make) + AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, :, /usr/bin$PATH_SEPARATOR/usr/share/pwlib/make) PWLIB_INCDIR="/usr/include" PWLIB_LIBDIR=`${PTLIB_CONFIG} --pwlibdir 2>/dev/null` if test "${PWLIB_LIBDIR:-unset}" = "unset"; then -- 1.7.0