]> git.saurik.com Git - wxWidgets.git/commitdiff
don't output -DwxUSE_GUI=0 in monolithic build, setup.h will take care of setting...
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 8 Aug 2004 16:30:03 +0000 (16:30 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 8 Aug 2004 16:30:03 +0000 (16:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wx-config.in

index 262e6db5ec97d42af8ccc4b20bf150f794d47a78..65b263f8422f094a23ecc804ce5f699401500bee 100755 (executable)
@@ -248,16 +248,20 @@ else
 fi
 
 # determine if at least one gui lib was used:
-nogui_flag="yes"
-for i in $libs_list; do
-  case $i in
-      base|net)
-        ;;
-      *)
-        nogui_flag="no"
-        ;;
-  esac
-done
+if test "$is_monolithic" = "0" ; then
+  nogui_flag="yes"
+  for i in $libs_list; do
+    case $i in
+        base|net)
+          ;;
+        *)
+          nogui_flag="no"
+          ;;
+    esac
+  done
+else
+  nogui_flag="no"
+fi
 
 
 # handle options: