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:
8
configure
vendored
8
configure
vendored
@@ -1239,11 +1239,11 @@ EOF
|
|||||||
USE_BSD=1
|
USE_BSD=1
|
||||||
USE_OPENBSD=1
|
USE_OPENBSD=1
|
||||||
cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
||||||
#define __FREEBSD__ 1
|
#define __OPENBSD__ 1
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
||||||
#define __OPENBSD__ 1
|
#define __BSD__ 1
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
DEFAULT_DEFAULT_wxUSE_GTK=1
|
DEFAULT_DEFAULT_wxUSE_GTK=1
|
||||||
@@ -1252,11 +1252,11 @@ EOF
|
|||||||
USE_BSD=1
|
USE_BSD=1
|
||||||
USE_NETBSD=1
|
USE_NETBSD=1
|
||||||
cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
||||||
#define __FREEBSD__ 1
|
#define __NETBSD__ 1
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
||||||
#define __NETBSD__ 1
|
#define __BSD__ 1
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
DEFAULT_DEFAULT_wxUSE_GTK=1
|
DEFAULT_DEFAULT_wxUSE_GTK=1
|
||||||
|
@@ -187,15 +187,15 @@ case "${host}" in
|
|||||||
*-*-openbsd*)
|
*-*-openbsd*)
|
||||||
USE_BSD=1
|
USE_BSD=1
|
||||||
USE_OPENBSD=1
|
USE_OPENBSD=1
|
||||||
AC_DEFINE(__FREEBSD__)
|
|
||||||
AC_DEFINE(__OPENBSD__)
|
AC_DEFINE(__OPENBSD__)
|
||||||
|
AC_DEFINE(__BSD__)
|
||||||
DEFAULT_DEFAULT_wxUSE_GTK=1
|
DEFAULT_DEFAULT_wxUSE_GTK=1
|
||||||
;;
|
;;
|
||||||
*-*-netbsd*)
|
*-*-netbsd*)
|
||||||
USE_BSD=1
|
USE_BSD=1
|
||||||
USE_NETBSD=1
|
USE_NETBSD=1
|
||||||
AC_DEFINE(__FREEBSD__)
|
|
||||||
AC_DEFINE(__NETBSD__)
|
AC_DEFINE(__NETBSD__)
|
||||||
|
AC_DEFINE(__BSD__)
|
||||||
DEFAULT_DEFAULT_wxUSE_GTK=1
|
DEFAULT_DEFAULT_wxUSE_GTK=1
|
||||||
;;
|
;;
|
||||||
*-*-osf* )
|
*-*-osf* )
|
||||||
|
Reference in New Issue
Block a user