define __{OPEN/NET}BSD__ + __BSD__ for Open/NetBSD, dont define __FREEBSD__ for them

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-09-17 12:29:24 +00:00
parent b299c11105
commit adad970da3
2 changed files with 6 additions and 6 deletions

8
configure vendored
View File

@@ -1239,11 +1239,11 @@ EOF
USE_BSD=1
USE_OPENBSD=1
cat >> confdefs.h <<\EOF
#define __FREEBSD__ 1
#define __OPENBSD__ 1
EOF
cat >> confdefs.h <<\EOF
#define __OPENBSD__ 1
#define __BSD__ 1
EOF
DEFAULT_DEFAULT_wxUSE_GTK=1
@@ -1252,11 +1252,11 @@ EOF
USE_BSD=1
USE_NETBSD=1
cat >> confdefs.h <<\EOF
#define __FREEBSD__ 1
#define __NETBSD__ 1
EOF
cat >> confdefs.h <<\EOF
#define __NETBSD__ 1
#define __BSD__ 1
EOF
DEFAULT_DEFAULT_wxUSE_GTK=1

View File

@@ -187,15 +187,15 @@ case "${host}" in
*-*-openbsd*)
USE_BSD=1
USE_OPENBSD=1
AC_DEFINE(__FREEBSD__)
AC_DEFINE(__OPENBSD__)
AC_DEFINE(__BSD__)
DEFAULT_DEFAULT_wxUSE_GTK=1
;;
*-*-netbsd*)
USE_BSD=1
USE_NETBSD=1
AC_DEFINE(__FREEBSD__)
AC_DEFINE(__NETBSD__)
AC_DEFINE(__BSD__)
DEFAULT_DEFAULT_wxUSE_GTK=1
;;
*-*-osf* )