From: Amos Jeffries Date: Sun, 5 Dec 2010 12:54:17 +0000 (-0700) Subject: FreeBSD: locate packages under /usr/local X-Git-Tag: take1~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b0173519b4d4fcec01ae0372948e5c457a8c5b25;p=thirdparty%2Fsquid.git FreeBSD: locate packages under /usr/local --- diff --git a/configure.ac b/configure.ac index 7b8f10bdd5..5323e3d227 100644 --- a/configure.ac +++ b/configure.ac @@ -284,6 +284,12 @@ dnl TODO: check if the problem will be present in any other newer MinGW release. mingw|mingw32) SQUID_CFLAGS="$squid_cv_cc_option_wall -Wpointer-arith -Wwrite-strings -Wcomments" ;; + freebsd*) + # FreeBSD places local libraries and packages in /usr/local + CFLAGS="$CFLAGS -I/usr/local/include" + CXXFLAGS="$CXXFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib -Wl,-R/usr/local/lib" + ;; *) SQUID_CFLAGS="$squid_cv_cc_option_wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments" ;;