[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 88efc73: Default cairo to enabled
From: |
Robert Pluim |
Subject: |
master 88efc73: Default cairo to enabled |
Date: |
Tue, 14 Jan 2020 05:23:40 -0500 (EST) |
branch: master
commit 88efc736f562656efab778d35c32d549ef6270d7
Author: Robert Pluim <address@hidden>
Commit: Robert Pluim <address@hidden>
Default cairo to enabled
* configure.ac (USE_CAIRO): Default cairo to enabled.
* etc/NEWS: Announce the change to use cairo if found.
---
configure.ac | 13 ++++++-------
etc/NEWS | 4 ++++
2 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/configure.ac b/configure.ac
index f040b74..592d745 100644
--- a/configure.ac
+++ b/configure.ac
@@ -430,7 +430,7 @@ OPTION_DEFAULT_ON([png],[don't compile with PNG image
support])
OPTION_DEFAULT_ON([rsvg],[don't compile with SVG image support])
OPTION_DEFAULT_ON([lcms2],[don't compile with Little CMS support])
OPTION_DEFAULT_ON([libsystemd],[don't compile with libsystemd support])
-OPTION_DEFAULT_OFF([cairo],[compile with Cairo drawing])
+OPTION_DEFAULT_ON([cairo],[don't compile with Cairo drawing])
OPTION_DEFAULT_ON([xml2],[don't compile with XML parsing support])
OPTION_DEFAULT_OFF([imagemagick],[compile with ImageMagick image support])
OPTION_DEFAULT_ON([json], [don't compile with native JSON support])
@@ -3300,14 +3300,13 @@ if test "${HAVE_X11}" = "yes"; then
EMACS_CHECK_MODULES(CAIRO, $CAIRO_MODULE)
if test $HAVE_CAIRO = yes; then
AC_DEFINE(USE_CAIRO, 1, [Define to 1 if using cairo.])
+ CFLAGS="$CFLAGS $CAIRO_CFLAGS"
+ LIBS="$LIBS $CAIRO_LIBS"
+ AC_SUBST(CAIRO_CFLAGS)
+ AC_SUBST(CAIRO_LIBS)
else
- AC_MSG_ERROR([cairo requested but not found.])
+ AC_MSG_WARN([cairo requested but not found.])
fi
-
- CFLAGS="$CFLAGS $CAIRO_CFLAGS"
- LIBS="$LIBS $CAIRO_LIBS"
- AC_SUBST(CAIRO_CFLAGS)
- AC_SUBST(CAIRO_LIBS)
fi
fi
diff --git a/etc/NEWS b/etc/NEWS
index b872020..d5a1d27 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -24,6 +24,10 @@ applies, and please also update docstrings as needed.
* Installation Changes in Emacs 28.1
+** Cairo is now used by default if found.
+'--with-cairo' is now the default, if the appropriate development files
+are found by 'configure'
+
* Startup Changes in Emacs 28.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 88efc73: Default cairo to enabled,
Robert Pluim <=