]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
Compile fixes.
[wxWidgets.git] / configure
index 795aee17e3056d7089264d5137cc2c6d5439db03..61b9f89df165c54177b336a40f7d353f8e966770 100755 (executable)
--- a/configure
+++ b/configure
@@ -1654,7 +1654,7 @@ test -n "$target_alias" &&
 wx_major_version_number=2
 wx_minor_version_number=5
 wx_release_number=2
-wx_subrelease_number=3
+wx_subrelease_number=9
 
 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
 WX_VERSION=$WX_RELEASE.$wx_release_number
@@ -26251,7 +26251,7 @@ echo "${ECHO_T}none" >&6
 
         TOOLKIT=MAC
                 GUIDIST=MACX_DIST
-                                        WX_FLAVOUR="carbon${WX_FLAVOUR:+_$WX_FLAVOUR}"
+                        WXBASEPORT="_carbon"
     fi
 
     if test "$wxUSE_COCOA" = 1; then
@@ -27593,7 +27593,7 @@ if test "$cross_compiling" = "yes"; then
     TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
 fi
 
-WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
+WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
 
 
 
 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"