]> git.eshelyaron.com Git - emacs.git/commitdiff
configury fix
authorJoakim Verona <joakim@verona.se>
Sun, 15 Feb 2015 00:48:49 +0000 (01:48 +0100)
committerJoakim Verona <joakim@verona.se>
Sun, 15 Feb 2015 00:48:49 +0000 (01:48 +0100)
configure.ac

index 80f521382ecada11f98dd29bb5d29ea101a6c822..7a341cd1ff0d9d7478fca51737c38db58bc86e78 100644 (file)
@@ -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