-dnl if test "$wxUSE_PROLOGIO" = "yes" ; then
-dnl AC_DEFINE(wxUSE_PROLOGIO)
-dnl ALL_OBJECTS="$ALL_OBJECTS parser.o"
-dnl fi
-
-dnl if test "$wxUSE_RESOURCES" = "yes" ; then
-dnl if test "$wxUSE_NANOX" = "yes"; then
-dnl AC_MSG_WARN([Cannot use resource database functions in NanoX])
-dnl else
-dnl AC_DEFINE(wxUSE_RESOURCES)
-dnl SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
-dnl fi
-dnl if test "$wxUSE_PROLOGIO" != "yes" ; then
-dnl ALL_OBJECTS="$ALL_OBJECTS parser.o"
-dnl fi
-dnl fi
-
-if test "$wxUSE_X_RESOURCES" = "yes"; then
- AC_DEFINE(wxUSE_X_RESOURCES)
+if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
+ AC_MSG_ERROR([wxExpr and old-style resources are now available in contrib only])