1 --- configure.ac.orig 2017-01-05 08:05:21 UTC
3 @@ -51,8 +51,16 @@ else
7 +AC_MSG_CHECKING(for BSD)
8 +if test `uname | grep -e BSD -e DragonFly | wc -l` = "1"; then
10 + AC_MSG_RESULT(compile in BSD)
15 AC_MSG_CHECKING(for Linux)
16 -if test "$bmac" != "true" -a "$bwin32" != "true"; then
17 +if test "$bmac" != "true" -a "$bwin32" != "true" -a "$bbsd" != "true"; then
19 AC_MSG_RESULT(compile in linux)
23 AM_CONDITIONAL([WIN32], [test "$bwin32" = "true"])
24 AM_CONDITIONAL([MACOS], [test "$bmac" = "true"])
25 +AM_CONDITIONAL([BSD], [test "$bbsd" = "true"])
26 AM_CONDITIONAL([LINUX], [test "$blinux" = "true"])
29 @@ -105,6 +114,8 @@ if test "$bwin32" = true; then
31 MSVC_CFLAGS="-D__MSVCRT__ -D__MSVCRT_VERSION__=0x0601"
35 elif test "$bmac" = true ; then
38 @@ -119,6 +130,24 @@ elif test "$bmac" = true ; then
39 LIB_MAC="-framework CoreServices"
44 +elif test "$bbsd" = true ; then
58 + LIB_INOTIFY=-linotify
63 @@ -132,6 +161,8 @@ else
67 + LIB_INOTIFY=-linotify
72 @@ -144,6 +175,8 @@ AC_SUBST(LIB_IPHLPAPI)
76 +AC_SUBST(LIB_INOTIFY)