summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorjin-eld <jin at mediatomb dot cc>2013-08-26 14:34:42 +0300
committerjin-eld <jin at mediatomb dot cc>2013-08-26 14:34:42 +0300
commit2fa0b69631157f083182f3ca0ca3d6648d08e45b (patch)
tree07d57afdc543bb77f4940dd531e568974f1097a5 /configure.ac
parentbc734f974aaaee6535ab14b19f5dec442e6bd8ba (diff)
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
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
110 *solaris*) 110 *solaris*)
111 LIBS="$LIBS -lssp -lsocket -lnsl" 111 LIBS="$LIBS -lssp -lsocket -lnsl"
112 ;; 112 ;;
113 *freebsd*)
114 LDFLAGS="$LDFLAGS -L/usr/local/lib"
115 CFLAGS="$CFLAGS -I/usr/local/include"
116 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
117 ;;
113esac 118esac
114AM_CONDITIONAL(WIN32, test "x$WIN32" = "xyes") 119AM_CONDITIONAL(WIN32, test "x$WIN32" = "xyes")
115 120