From 1cf8c0a9d48c1ee6ce3c515029bf658e9728ced5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 24 Apr 2001 13:35:47 +0000 Subject: [PATCH] openbsd support added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 20729191be..8ba75d9bbe 100644 --- a/configure.in +++ b/configure.in @@ -504,6 +504,7 @@ USE_ALPHA= USE_OSF= USE_BSD= USE_FREEBSD= +USE_OPENBSD= USE_NETBSD= USE_VMS= USE_ULTRIX= @@ -594,6 +595,13 @@ case "${host}" in AC_DEFINE(__BSD__) DEFAULT_DEFAULT_wxUSE_GTK=1 ;; + *-*-openbsd*) + USE_BSD=1 + USE_OPENBSD=1 + AC_DEFINE(__FREEBSD__) + AC_DEFINE(__OPENBSD__) + DEFAULT_DEFAULT_wxUSE_GTK=1 + ;; *-*-netbsd*) USE_BSD=1 USE_NETBSD=1 @@ -2096,7 +2104,7 @@ if test "$wxUSE_SHARED" = "yes"; then WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS" WX_ALL="CREATE_LINKS" ;; - *-*-freebsd* | *-*-netbsd* ) + *-*-freebsd* | *-*-openbsd* | *-*-netbsd* ) SHARED_LD="${CC} -shared -o" PIC_FLAG="-fPIC" if test "$wxUSE_OPENGL" = "yes"; then -- 2.47.2