all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* unnecessary requirement of X11 for imagemagick in case of cygwin
@ 2014-02-13 15:52 Mirek Kaim
  2014-02-14  3:10 ` Ken Brown
  2014-02-14 10:00 ` bug#16754: " Mirek Kaim
  0 siblings, 2 replies; 8+ messages in thread
From: Mirek Kaim @ 2014-02-13 15:52 UTC (permalink / raw)
  To: emacs-devel@gnu.org

i've just compiled the latest version from repo under cygwin. imagemagick installed from cygwin package, with all dependecies - that includes some X-libs, but no X server per se. emacs configured --with-w32. all i did was this:

diff --git a/configure.ac b/configure.ac
index 326d528..bc95daa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2236,7 +2236,7 @@ if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes"
 fi

 HAVE_IMAGEMAGICK=no
-if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes"; then
+#if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes"; then
   if test "${with_imagemagick}" != "no"; then
     ## 6.2.8 is the earliest version known to work, but earlier versions
     ## might work - let us know if you find one.
@@ -2254,7 +2254,7 @@ if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes"
       AC_CHECK_FUNCS(MagickExportImagePixels MagickMergeImageLayers)
     fi
   fi
-fi
+#fi


 HAVE_GTK=no

and it works, checked with image-dired and pdf page scaling. obviously, imagemagick is independent from the actual gui used by emacs - as long as there is a gui, it makes sense to link with it. shouldn't it be then:

if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes" || test "${HAVE_W32}" = "yes"; then

or am i missing something? i'm not too familiar with configure and makefile stuff, and i never submitted a patch so i don't have an account, so feel free to patch that. 		 	   		  


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-02-18  1:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-13 15:52 unnecessary requirement of X11 for imagemagick in case of cygwin Mirek Kaim
2014-02-14  3:10 ` Ken Brown
2014-02-14 10:00 ` bug#16754: " Mirek Kaim
2014-02-16  3:02   ` Glenn Morris
2014-02-16  8:26     ` Mirek Kaim
2014-02-16 19:33       ` Glenn Morris
2014-02-17  9:20         ` Mirek Kaim
2014-02-18  1:47           ` Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.