Fixed include for NetBSD

This commit is contained in:
Michiel Broek 2006-02-22 19:28:35 +00:00
parent cc096f495d
commit 327ea7aa0d
2 changed files with 641 additions and 1330 deletions

1939
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -15,8 +15,8 @@ MAJOR="0"
MINOR="83"
REVISION="13"
VERSION="$MAJOR.$MINOR.$REVISION"
COPYRIGHT="Copyright (C) 1997-2005 Michiel Broek, All Rights Reserved"
SHORTRIGHT="Copyright (C) 1997-2005 M. Broek"
COPYRIGHT="Copyright (C) 1997-2006 Michiel Broek, All Rights Reserved"
SHORTRIGHT="Copyright (C) 1997-2006 M. Broek"
GROUP="bbs"
OWNER="mbse"
ROWNER="`id -un root`"
@ -191,34 +191,6 @@ if test "$result" = "yes"; then
AC_CHECK_HEADERS(bzlib.h,BZLIBSUP=Yes,BZLIBSUP=No)
fi
dnl
dnl The last library to add, according to Sun the -lpthread must be the
dnl very last library specified on the gcc command line.
dnl
dnl
dnl On NetBSD we need to add the pkg dirs for posix threads
dnl
dnl if test "$SYSTEM" = "NetBSD"; then
dnl CFLAGS="$CFLAGS `pthread-config --cflags`"
dnl LDFLAGS="$LDFLAGS `pthread-config --ldflags`"
dnl fi
dnl
dnl For FreeBSD and OpenBSD we need -pthread for gcc and don't need libpthread
dnl
dnl if test "$SYSTEM" = "FreeBSD" || test "$SYSTEM" = "OpenBSD"; then
dnl CFLAGS="-pthread $CFLAGS"
dnl else
dnl AC_CHECK_LIB(pthread,pthread_create,result=yes,result=no)
dnl if test "$result" = "yes"; then
dnl LIBS="$LIBS -lpthread"
dnl fi
dnl fi
dnl
dnl Checks for header files.
dnl