]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Use pkg-config for libpq by default
authorTravis Cross <tc@traviscross.com>
Thu, 17 Oct 2013 00:54:18 +0000 (00:54 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 23 Oct 2013 18:18:47 +0000 (18:18 +0000)
FS-5821 --resolve

configure.in

index 88c56d1a413fda1207dd4e523ee6c4db220f60d2..27f3645ff7cf86dfb0b563663c392a74f2fd6a2f 100644 (file)
@@ -419,7 +419,7 @@ SWITCH_AM_CFLAGS="$LIBUUID_CFLAGS $SWITCH_AM_CFLAGS"
 AC_ARG_ENABLE(core-pgsql-support,     
        [AS_HELP_STRING([--enable-core-pgsql-support], [Compile with PGSQL Support])],,[enable_core_pgsql_support="no"])
 AC_ARG_ENABLE(core-pgsql-pkgconfig,
-       [AS_HELP_STRING([--enable-core-pgsql-pkgconfig], [Use pkg-config to get PGQSL build options])],,[enable_core_pgsql_pkgconfig="no"])
+       [AS_HELP_STRING([--disable-core-pgsql-pkgconfig], [Use pg_config to get PGQSL build options])],[enable_core_pgsql_pkgconfig="$enableval"],[enable_core_pgsql_pkgconfig="yes"])
 
 if test x"$enable_core_pgsql_support" = x"yes" ; then
   AC_PATH_PROG([PG_CONFIG], [pg_config], [no])