]> git.saurik.com Git - wxWidgets.git/commitdiff
openbsd support added
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 24 Apr 2001 13:35:47 +0000 (13:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 24 Apr 2001 13:35:47 +0000 (13:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 20729191be98b474942a01cbfb18f353604b3ba3..8ba75d9bbe430c07bf8a3f82c367bafce899f99c 100644 (file)
@@ -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