From 7c14b80a011e9e99b1cef0bfd96bae364edd5663 Mon Sep 17 00:00:00 2001 From: ng0 Date: Tue, 19 Nov 2019 17:30:32 +0000 Subject: 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. --- configure.ac | 6 ------ 1 file changed, 6 deletions(-) (limited to 'configure.ac') 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 -- cgit v1.2.3