You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.1 KiB

  1. --- a/configure.in
  2. +++ b/configure.in
  3. @@ -24,11 +24,6 @@ if test -n "$x_libraries" && test "x$x_l
  4. LDFLAGS="$LDFLAGS -L$x_libraries"
  5. fi
  6. -# May be equired for BSD
  7. -LDFLAGS="$LDFLAGS -L/usr/local/lib"
  8. -
  9. -CPPFLAGS="$CPPFLAGS -I/usr/local/include"
  10. -
  11. #Check for Darwin sw directory
  12. AC_CHECK_FILE(/sw/lib, LDFLAGS="$LDFLAGS -L/sw/lib")
  13. AC_CHECK_FILE(/sw/include, CPPFLAGS="$CPPFLAGS -I/sw/include")
  14. @@ -55,8 +50,7 @@ AC_CHECK_LIB(pcap, pcap_open_live, ,
  15. [AC_CHECK_LIB(wpcap, pcap_open_live, ,[AC_MSG_ERROR([Bandwidthd requires but cannot find libpcap])])])
  16. # Optional Library
  17. -AC_CHECK_FILE(/usr/lib, LDFLAGS="$LDFLAGS -L/usr/lib")
  18. -AC_CHECK_FILE(/usr/include/pgsql, CPPFLAGS="$CPPFLAGS -I/usr/include/pgsql")
  19. +AC_CHECK_FILE(/usr/local/pgsql/include, CPPFLAGS="$CPPFLAGS -I/usr/local/pgsql/include")
  20. AC_CHECK_LIB(pq, PQconnectdb,
  21. [AC_CHECK_LIB(pq,PQexecParams, ,AC_MSG_WARN([libpq exists but is too old... bandwidthd requires support for PQexecParams]))])
  22. AC_CHECK_LIB(sqlite3, sqlite3_open, ,AC_MSG_WARN([sqlite3 is recommended for storage of data but cannot be found]))