aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Pluim2020-01-14 11:18:20 +0100
committerRobert Pluim2020-01-14 11:19:28 +0100
commit88efc736f562656efab778d35c32d549ef6270d7 (patch)
tree033e111ae623a0cfb48ae9aafea461a781a38f77
parent4fc0bc96787252b1b3e14a7f747ef556273b5979 (diff)
downloademacs-88efc736f562656efab778d35c32d549ef6270d7.tar.gz
emacs-88efc736f562656efab778d35c32d549ef6270d7.zip
Default cairo to enabled
* configure.ac (USE_CAIRO): Default cairo to enabled. * etc/NEWS: Announce the change to use cairo if found.
-rw-r--r--configure.ac13
-rw-r--r--etc/NEWS4
2 files changed, 10 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index f040b748d0a..592d745797c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -430,7 +430,7 @@ OPTION_DEFAULT_ON([png],[don't compile with PNG image support])
430OPTION_DEFAULT_ON([rsvg],[don't compile with SVG image support]) 430OPTION_DEFAULT_ON([rsvg],[don't compile with SVG image support])
431OPTION_DEFAULT_ON([lcms2],[don't compile with Little CMS support]) 431OPTION_DEFAULT_ON([lcms2],[don't compile with Little CMS support])
432OPTION_DEFAULT_ON([libsystemd],[don't compile with libsystemd support]) 432OPTION_DEFAULT_ON([libsystemd],[don't compile with libsystemd support])
433OPTION_DEFAULT_OFF([cairo],[compile with Cairo drawing]) 433OPTION_DEFAULT_ON([cairo],[don't compile with Cairo drawing])
434OPTION_DEFAULT_ON([xml2],[don't compile with XML parsing support]) 434OPTION_DEFAULT_ON([xml2],[don't compile with XML parsing support])
435OPTION_DEFAULT_OFF([imagemagick],[compile with ImageMagick image support]) 435OPTION_DEFAULT_OFF([imagemagick],[compile with ImageMagick image support])
436OPTION_DEFAULT_ON([json], [don't compile with native JSON support]) 436OPTION_DEFAULT_ON([json], [don't compile with native JSON support])
@@ -3300,14 +3300,13 @@ if test "${HAVE_X11}" = "yes"; then
3300 EMACS_CHECK_MODULES(CAIRO, $CAIRO_MODULE) 3300 EMACS_CHECK_MODULES(CAIRO, $CAIRO_MODULE)
3301 if test $HAVE_CAIRO = yes; then 3301 if test $HAVE_CAIRO = yes; then
3302 AC_DEFINE(USE_CAIRO, 1, [Define to 1 if using cairo.]) 3302 AC_DEFINE(USE_CAIRO, 1, [Define to 1 if using cairo.])
3303 CFLAGS="$CFLAGS $CAIRO_CFLAGS"
3304 LIBS="$LIBS $CAIRO_LIBS"
3305 AC_SUBST(CAIRO_CFLAGS)
3306 AC_SUBST(CAIRO_LIBS)
3303 else 3307 else
3304 AC_MSG_ERROR([cairo requested but not found.]) 3308 AC_MSG_WARN([cairo requested but not found.])
3305 fi 3309 fi
3306
3307 CFLAGS="$CFLAGS $CAIRO_CFLAGS"
3308 LIBS="$LIBS $CAIRO_LIBS"
3309 AC_SUBST(CAIRO_CFLAGS)
3310 AC_SUBST(CAIRO_LIBS)
3311 fi 3310 fi
3312fi 3311fi
3313 3312
diff --git a/etc/NEWS b/etc/NEWS
index b87202014d2..d5a1d27267a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -24,6 +24,10 @@ applies, and please also update docstrings as needed.
24 24
25* Installation Changes in Emacs 28.1 25* Installation Changes in Emacs 28.1
26 26
27** Cairo is now used by default if found.
28'--with-cairo' is now the default, if the appropriate development files
29are found by 'configure'
30
27 31
28* Startup Changes in Emacs 28.1 32* Startup Changes in Emacs 28.1
29 33