From 2fa0b69631157f083182f3ca0ca3d6648d08e45b Mon Sep 17 00:00:00 2001 From: jin-eld Date: Mon, 26 Aug 2013 14:34:42 +0300 Subject: Add /usr/local/* to search paths on FreeBSD Seems that on FreeBSD those directories are not in the default search paths, so we'll have to add them manually. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 0911f0d0..3a0fd0ab 100644 --- a/configure.ac +++ b/configure.ac @@ -110,6 +110,11 @@ case $host_os in *solaris*) LIBS="$LIBS -lssp -lsocket -lnsl" ;; + *freebsd*) + LDFLAGS="$LDFLAGS -L/usr/local/lib" + CFLAGS="$CFLAGS -I/usr/local/include" + CPPFLAGS="$CPPFLAGS -I/usr/local/include" + ;; esac AM_CONDITIONAL(WIN32, test "x$WIN32" = "xyes") -- cgit v1.2.3