1 |
unnilennium |
1.1 |
--- bandwidthd-2.0.1/configure.in 2005-01-11 22:15:49.000000000 +0100 |
2 |
|
|
+++ configure.in 2008-12-08 17:35:42.000000000 +0100 |
3 |
|
|
@@ -55,8 +55,8 @@ |
4 |
|
|
[AC_CHECK_LIB(wpcap, pcap_open_live, ,[AC_MSG_ERROR([Bandwidthd requires but cannot find libpcap])])]) |
5 |
|
|
|
6 |
|
|
# Optional Library |
7 |
|
|
-AC_CHECK_FILE(/usr/local/pgsql/lib, LDFLAGS="$LDFLAGS -L/usr/local/pgsql/lib") |
8 |
|
|
-AC_CHECK_FILE(/usr/local/pgsql/include, CPPFLAGS="$CPPFLAGS -I/usr/local/pgsql/include") |
9 |
|
|
+AC_CHECK_FILE(/usr/lib, LDFLAGS="$LDFLAGS -L/usr/lib") |
10 |
|
|
+AC_CHECK_FILE(/usr/include/pgsql, CPPFLAGS="$CPPFLAGS -I/usr/include/pgsql") |
11 |
|
|
AC_CHECK_LIB(pq, PQconnectdb, |
12 |
|
|
[AC_CHECK_LIB(pq,PQexecParams, ,AC_MSG_WARN([libpq exists but is too old... bandwidthd requires support for PQexecParams]))]) |
13 |
|
|
|