GNOME Bugzilla – Bug 689815
build: Allow disabling cairo
Last modified: 2012-12-06 22:00:42 UTC
I want to use gjs on a server which doesn't have cairo installed.
Created attachment 230926 [details] [review] build: Allow disabling cairo
Review of attachment 230926 [details] [review]: ::: configure.ac @@ +112,3 @@ +AC_ARG_WITH(cairo, + AS_HELP_STRING([--without-cairo], [Do not use cairo @<:@default=no@:>@]), + [], [with_cairo=yes]) are you sure this works out right for the default=no; --without-cairo is a synonym for --with-cairo=yes - I'm not sure you can double-negative and say --without-cairo=no. Suggest maybe just going with --with-cairo with a default of yes for minimum confusion. @@ +119,3 @@ + ]) +]) +AM_CONDITIONAL(ENABLE_CAIRO, test x$enable_cairo = xyes) enable vs. with confusion (and elsewhere)
Review of attachment 230926 [details] [review]: OK
Fixed up both issues, thanks! Attachment 230926 [details] pushed as 5bcdc19 - build: Allow disabling cairo