$OpenBSD: patch-configure,v 1.7 2010/05/03 19:32:14 ajacoutot Exp $ --- configure.orig Sun Nov 8 22:43:34 2009 +++ configure Mon May 3 21:19:10 2010 @@ -3541,7 +3541,7 @@ if test "${PWLIBDIR:-unset}" = "unset" ; then echo "Cannot find ptlib-config - please install and try again" exit fi - PWLIBDIR=`$PTLIB_CONFIG --pwlibdir` + PWLIBDIR=`$PTLIB_CONFIG --ptlibdir` fi echo "PWLib prefix set to $PWLIBDIR" @@ -3969,7 +3969,7 @@ else fi -H460SUPPORT=`cat ${OPENH323DIR}/include/openh323buildopts.h | grep 'define H323_H460'` +H460SUPPORT=`cat !!LOCALBASE!!/include/openh323/openh323buildopts.h | grep 'define H323_H460'` if test "${H460SUPPORT:-unset}" = "unset" ; then if test "x${h46018}" != "xno" ; then { $as_echo "$as_me:$LINENO: result: No H.460 support available" >&5 @@ -4003,7 +4003,7 @@ else fi -H460SUPPORT=`cat ${OPENH323DIR}/include/openh323buildopts.h | grep 'define H323_H460'` +H460SUPPORT=`cat !!LOCALBASE!!/include/openh323/openh323buildopts.h | grep 'define H323_H460'` if test "${H460SUPPORT:-unset}" = "unset" ; then if test "x${h46023}" != "xno" ; then { $as_echo "$as_me:$LINENO: result: No H.460 support available" >&5 @@ -4568,7 +4568,7 @@ $as_echo_n "checking for PQconnectdb in -lpq... " >&6; for try in /usr/lib /usr/local/lib /usr/local/pgsql/lib $pgsql_lib_dir; do if test -d $try; then - LIBS="$old_LIBS -L$try -lpq -lcrypt ${PGSQL_LIBS}" + LIBS="$old_LIBS -L$try -lpq ${PGSQL_LIBS}" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -4605,7 +4605,7 @@ $as_echo "$ac_try_echo") >&5 test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then - PGSQL_LIBS="-lpq -lcrypt ${PGSQL_LIBS}" + PGSQL_LIBS="-lpq ${PGSQL_LIBS}" PGSQL_LDFLAGS="-L$try"