summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-09-02 14:18:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:34 -0500
commita2829891cdf6e142e15108ce795665dfe4ecdd2b (patch)
treef13e644af5d43bf9de5ed3c4324256ddfcd9cba9
parent0138c085161a0864a9e82164b1572bc201d4f025 (diff)
downloadsamba-a2829891cdf6e142e15108ce795665dfe4ecdd2b.tar.gz
samba-a2829891cdf6e142e15108ce795665dfe4ecdd2b.tar.bz2
samba-a2829891cdf6e142e15108ce795665dfe4ecdd2b.zip
r2188: adding some initial checks for DragonFly (same as FreeBSD 4.1)
(This used to be commit dd84bedaca9c8e802fc4cae5b73128c94f38c086)
-rw-r--r--source3/configure.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 4329665ba1..d1f8dfa14b 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -480,7 +480,7 @@ case "$host_os" in
*irix*)
AC_DEFINE(SYSV, 1, [Whether to enable System V compatibility])
;;
- *freebsd*)
+ *freebsd*|*DragonFly*)
AC_DEFINE(FREEBSD, 1, [Whether the host os is FreeBSD])
;;
#
@@ -1163,7 +1163,8 @@ if test "$enable_shared" = "yes"; then
AC_DEFINE(STAT_ST_BLOCKSIZE,512)
AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly])
;;
- *netbsd* | *freebsd*) BLDSHARED="true"
+ *netbsd* | *freebsd* | *DragonFly* )
+ BLDSHARED="true"
LDSHFLAGS="-shared"
DYNEXP="-Wl,--export-dynamic"
SONAMEFLAG="-Wl,-soname,"
@@ -4006,7 +4007,7 @@ samba_cv_HAVE_BROKEN_LINUX_SENDFILE=yes,samba_cv_HAVE_BROKEN_LINUX_SENDFILE=no)]
fi
;;
- *freebsd*)
+ *freebsd* | *DragonFly* )
AC_CACHE_CHECK([for freebsd sendfile support],samba_cv_HAVE_SENDFILE,[
AC_TRY_LINK([\
#include <sys/types.h>