Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
add svg support to cygwin emacs-w32
--- ./configure.ac.orig 2018-04-05 18:55:25.000000000 +0900
+++ ./configure.ac 2018-04-10 23:10:34.731914900 +0900
@@ -2498,7 +2498,7 @@
### Use -lrsvg-2 if available, unless '--with-rsvg=no' is specified.
HAVE_RSVG=no
-if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes" || test "${opsys}" = "mingw32"; then
+if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes" || test "${HAVE_W32}" = "yes"; then
if test "${with_rsvg}" != "no"; then
RSVG_REQUIRED=2.11.0
RSVG_MODULE="librsvg-2.0 >= $RSVG_REQUIRED"
--- ./src/image.c.orig 2018-03-13 00:59:18.000000000 +0900
+++ ./src/image.c 2018-04-10 23:10:34.775011100 +0900
@@ -9964,7 +9964,7 @@
#if defined (HAVE_RSVG)
DEFSYM (Qsvg, "svg");
ADD_IMAGE_TYPE (Qsvg);
-#ifdef HAVE_NTGUI
+#if defined HAVE_NTGUI && !defined CYGWIN
/* Other libraries used directly by svg code. */
DEFSYM (Qgdk_pixbuf, "gdk-pixbuf");
DEFSYM (Qglib, "glib");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.