diff options
author | jin-eld <jin at mediatomb dot cc> | 2013-08-26 14:34:42 +0300 |
---|---|---|
committer | jin-eld <jin at mediatomb dot cc> | 2013-08-26 14:34:42 +0300 |
commit | 2fa0b69631157f083182f3ca0ca3d6648d08e45b (patch) | |
tree | 07d57afdc543bb77f4940dd531e568974f1097a5 /configure.ac | |
parent | bc734f974aaaee6535ab14b19f5dec442e6bd8ba (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.ac | 5 |
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 | ;; | ||
113 | esac | 118 | esac |
114 | AM_CONDITIONAL(WIN32, test "x$WIN32" = "xyes") | 119 | AM_CONDITIONAL(WIN32, test "x$WIN32" = "xyes") |
115 | 120 | ||