X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdec35499dae7e29ac2f4cc4337ee4356f7d6123..c430d0dc64b9d9956d19575cb92237904910266f:/configure?ds=sidebyside diff --git a/configure b/configure index d517cc3be3..f066eab024 100755 --- a/configure +++ b/configure @@ -36705,12 +36705,18 @@ fi 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"