summaryrefslogtreecommitdiff
path: root/devel/libsearpc/files/patch-configure.ac
blob: a4f7d64455f4a97a02d0e696ec69e14e739bbc36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- configure.ac.orig	2014-08-14 15:48:58 UTC
+++ configure.ac
@@ -68,6 +68,16 @@ fi
 AM_CONDITIONAL([MACOS], [test "$bmac" = "yes"])
 AC_SUBST(MACOS)
 
+AC_MSG_CHECKING(for BSD)
+
+if test `uname | grep -e BSD -e DragonFly | wc -l` = "1"; then
+  bbsd=true
+  AC_MSG_RESULT(compile in BSD)
+fi
+
+AM_CONDITIONAL([BSD], [test "$bbsd" = "true"])
+AC_SUBST(BSD)
+
 # Checks for libraries.
 
 GLIB_REQUIRED=2.26.0