]> git.saurik.com Git - wxWidgets.git/commitdiff
Support --enable-omf on OS/2 _only_.
authorStefan Neis <Stefan.Neis@t-online.de>
Tue, 9 Mar 2004 12:55:48 +0000 (12:55 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Tue, 9 Mar 2004 12:55:48 +0000 (12:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index e41b16506cc26e731b8f56512d79a3cdba867364..7e466cf75ac377478ee3d1c57ebff4f93ad81379 100644 (file)
@@ -799,7 +799,9 @@ WX_ARG_ENABLE(shared,      [  --enable-shared         create shared library code
 WX_ARG_ENABLE(optimise,    [  --enable-optimise       create optimised code], wxUSE_OPTIMISE)
 WX_ARG_ENABLE(debug,       [  --enable-debug          same as debug_flag and debug_info], wxUSE_DEBUG)
 WX_ARG_ENABLE(stl,         [  --enable-stl            use STL for containers], wxUSE_STL)
-WX_ARG_ENABLE(omf,         [  --enable-omf            use OMF object format on OS/2], wxUSE_OMF)
+if test "$USE_OS2" = "1"; then
+    WX_ARG_ENABLE(omf,     [  --enable-omf            use OMF object format], wxUSE_OMF)
+fi
 
 if test "$wxUSE_DEBUG" = "yes"; then
   DEFAULT_wxUSE_DEBUG_FLAG=yes