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.
pull/532/head
jin-eld 2013-08-26 14:34:42 +03:00
parent bc734f974a
commit 2fa0b69631
1 changed files with 5 additions and 0 deletions

View File

@ -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")