[svn-commits] branch group/autoconf_and_menuselect r20326 -
/team/group/autoconf_and_menuse...
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Sat Apr 15 10:09:59 MST 2006
Author: russell
Date: Sat Apr 15 12:09:58 2006
New Revision: 20326
URL: http://svn.digium.com/view/asterisk?rev=20326&view=rev
Log:
if --with/without-pq are not specified and pg_config is not found in the
default PATH, don't abort the configure script. Just take this as the
postgres lib is not installed.
Modified:
team/group/autoconf_and_menuselect/configure.ac
Modified: team/group/autoconf_and_menuselect/configure.ac
URL: http://svn.digium.com/view/asterisk/team/group/autoconf_and_menuselect/configure.ac?rev=20326&r1=20325&r2=20326&view=diff
==============================================================================
--- team/group/autoconf_and_menuselect/configure.ac (original)
+++ team/group/autoconf_and_menuselect/configure.ac Sat Apr 15 12:09:58 2006
@@ -180,7 +180,7 @@
])
PBX_LIBpq=0
-
+PG_CONFIG=No
if test "${USE_PQ}" != "no"; then
if test "x${PQ_DIR}" != "x"; then
AC_PATH_TOOL([PG_CONFIG], [pg_config], No, [${PQ_DIR}/bin])
@@ -194,15 +194,10 @@
fi
else
AC_PATH_TOOL([PG_CONFIG], [pg_config], No)
- if test x"${PG_CONFIG}" = xNo; then
- echo "***"
- echo "*** pg_config was not found in the PATH"
- echo "*** Either correct the installation, or run configure"
- echo "*** including --without-pq"
- exit 1
- fi
fi
-
+fi
+
+if test x"${PG_CONFIG}" != xNo; then
PQ_libdir=`pg_config --libdir`
PQ_includedir=`pg_config --includedir`
More information about the svn-commits
mailing list