summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-19 17:30:32 +0000
committerng0 <ng0@n0.is>2019-11-19 17:30:32 +0000
commit7c14b80a011e9e99b1cef0bfd96bae364edd5663 (patch)
tree9b4d0714c179b434117aad6fe6a65bc023ba04f9 /configure.ac
parent1b296cf77a90930e29bd60c0aef70b8efbb1bd24 (diff)
On *BSD the header file sys/param.h defines BSD. Drop unnecessary
BSD defines in the build-system. Furthermore add detection for FreeBSD using the additional defines by FreeBSD. Use !Linux where previously a list of BSDs was.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 0 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 25a558902..c5c6586e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -132,8 +132,6 @@ AS_CASE(["$host_os"],
AC_PATH_XTRA
],
[*freebsd*],[
- AC_DEFINE_UNQUOTED(SOMEBSD,1,[This is a BSD system])
- AC_DEFINE_UNQUOTED(FREEBSD,1,[This is a FreeBSD system])
CFLAGS="-D_THREAD_SAFE $CFLAGS"
build_target="freebsd"
LIBPREFIX=
@@ -141,8 +139,6 @@ AS_CASE(["$host_os"],
UNIXONLY="#"
],
[*openbsd*],[
- AC_DEFINE_UNQUOTED(SOMEBSD,1,[This is a BSD system])
- AC_DEFINE_UNQUOTED(OPENBSD,1,[This is an OpenBSD system])
LIBS=`echo $LIBS | sed -e "s/-ldl//"`
build_target="openbsd"
LIBPREFIX=
@@ -150,8 +146,6 @@ AS_CASE(["$host_os"],
UNIXONLY="#"
],
[*netbsd*],[
- AC_DEFINE_UNQUOTED(SOMEBSD,1,[This is a BSD system])
- AC_DEFINE_UNQUOTED(NETBSD,1,[This is a NetBSD system])
build_target="netbsd"
LIBPREFIX=
DLLDIR=lib