]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
FS-5512 --resolve ; clean up PostgreSQL libpq client detection in configure
authorKen Rice <krice@freeswitch.org>
Fri, 21 Feb 2014 20:51:46 +0000 (14:51 -0600)
committerKen Rice <krice@freeswitch.org>
Fri, 21 Feb 2014 20:58:38 +0000 (14:58 -0600)
commitf067d230346bb40c8572305ff290f27c18c860cf
treedbf5c519afbd27ab7695a3c2c35db41e70ec06f8
parent39cd0c5f45c49df8bb78cfb99ed21a8a3265a8f7
FS-5512 --resolve ; clean up PostgreSQL libpq client detection in configure

Clean up the libpq autodection and make sure it functionswith both pg_config and pkg-config.

if you are installing into a non-FHS standard location such as what happens with RPMs from the Postgres yum repo, you will need to make sure pkg-config can fild the libpq.pc file.
example: export PKG_CONFIG_PATH=/usr/pgsql-9.3/lib/pkgconfig

you may also want to make sure your path can find pg_config
example: export PATH=/usr/pgsql-9.3/bin:$PATH
configure.in