]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
More True/False fixes
[wxWidgets.git] / configure
index d517cc3be3fad5fd2e675228d66099f6f9f4ef86..f066eab024f15752aae70f1ff0eecfa339554361 100755 (executable)
--- a/configure
+++ b/configure
 
 USE_XRC=0
 if test "$wxUSE_XRC" = "yes"; then
-    cat >>confdefs.h <<\_ACEOF
+    if test "$wxUSE_XML" != "yes"; then
+        { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
+echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
+        wxUSE_XRC=no
+    else
+        cat >>confdefs.h <<\_ACEOF
 #define wxUSE_XRC 1
 _ACEOF
 
-    USE_XRC=1
-    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
+        USE_XRC=1
+        SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
+    fi
 fi
 
 if test "$wxUSE_MENUS" = "yes"; then
@@ -40903,6 +40909,7 @@ fi
 
 
 
+
 if test "$wxUSE_GUI" = "yes"; then
     SUBDIRS="samples demos utils contrib"
 else         SUBDIRS="samples utils"