]> code.delx.au - gnu-emacs/blobdiff - configure.in
Fixed --with-gtk
[gnu-emacs] / configure.in
index e73ce2e3717bad2871409768a1edef36f4c60155..b3c517fc8beaae211fe7ad0f826e839d19ea991e 100644 (file)
@@ -1849,7 +1849,7 @@ AC_DEFUN(PKG_CHECK_MODULES, [
 
 HAVE_GTK=no
 if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "gtk"; then
-  if test "$USE_X_TOOLKIT" != "none"; then
+  if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then
     AC_MSG_ERROR([Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}]);
   fi
   GLIB_REQUIRED=2.0.1