File: 02_postgresql.diff

package info (click to toggle)
pvpgn 1.8.5-3
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm, sid
  • size: 7,032 kB
  • sloc: ansic: 93,082; sh: 4,384; makefile: 784; perl: 604; python: 308; php: 90; awk: 73
file content (11 lines) | stat: -rw-r--r-- 536 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/configure.in	2005-04-28 12:56:45.000000000 +0300
+++ b/src/configure.in	2005-07-19 01:37:00.634941744 +0300
@@ -233,7 +233,7 @@
 dnl Detecting pgsql paths
 if test "$with_pgsql" = "yes" ; then
 	AC_MSG_CHECKING([for pgsql include path])
-	pgsql_try_includes="/usr/include /usr/include/pgsql /usr/local/include /usr/local/include/pgsql /usr/local/pgsql/include"
+	pgsql_try_includes=`pg_config --includedir`
 	for i in `echo ${pgsql_try_includes}`; do
 	    if test -f "${i}/libpq-fe.h" ; then
 		CPPFLAGS="${CPPFLAGS} -I${i}"