From: Joakim Verona Date: Sun, 15 Feb 2015 00:48:49 +0000 (+0100) Subject: configury fix X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fd1ea85e2f18129e4b32b325ebe336b21db6c432;p=emacs.git configury fix --- diff --git a/configure.ac b/configure.ac index 80f521382ec..7a341cd1ff0 100644 --- a/configure.ac +++ b/configure.ac @@ -4840,8 +4840,11 @@ TOOLKIT_LIBW= case "$USE_X_TOOLKIT" in MOTIF) TOOLKIT_LIBW="$MOTIF_LIBW" ;; LUCID) TOOLKIT_LIBW="$LUCID_LIBW" ;; - none) test "x$HAVE_GTK" = "xyes" && TOOLKIT_LIBW="$GTK_LIBS -lXcomposite" ;; + none) test "x$HAVE_GTK" = "xyes" && TOOLKIT_LIBW="$GTK_LIBS" ;; esac +if test "$HAVE_XWIDGETS" = "yes"; then + TOOLKIT_LIBW="$TOOLKIT_LIBW -lXcomposite" +fi AC_SUBST(TOOLKIT_LIBW) if test "${opsys}" != "mingw32"; then