unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9177: [PATCH] 24.0.50: configure should allow building with librsvg on Mac
@ 2011-07-26 20:45 Alp Aker
  2011-07-28 18:33 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Alp Aker @ 2011-07-26 20:45 UTC (permalink / raw)
  To: 9177

When configuring --with-ns, one can also specify --with-rsvg, but the
latter option is respected only if building on GNUstep; it is ignored
when building on Darwin.  The restriction is unnecessary: if librsvg
is present, Emacs will build on Darwin and display svg images without
a problem. The following small change to configure.in would remove
this restriction.

2011-07-26  Alp Aker  <alp.tekin.aker@gmail.com>

	* configure.in (HAVE_RSVG): Allow use of -lrsvg-2 for any NextStep
	build, not just GNUstep.

=== modified file 'configure.in'
--- configure.in	2011-07-13 10:36:12 +0000
+++ configure.in	2011-07-26 20:20:06 +0000
@@ -1821,7 +1821,7 @@

 ### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified.
 HAVE_RSVG=no
-if test "${HAVE_X11}" = "yes" || test "${NS_IMPL_GNUSTEP}" = "yes"; then
+if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes"; then
   if test "${with_rsvg}" != "no"; then
     RSVG_REQUIRED=2.11.0
     RSVG_MODULE="librsvg-2.0 >= $RSVG_REQUIRED"





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

* bug#9177: [PATCH] 24.0.50: configure should allow building with librsvg on Mac
  2011-07-26 20:45 bug#9177: [PATCH] 24.0.50: configure should allow building with librsvg on Mac Alp Aker
@ 2011-07-28 18:33 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2011-07-28 18:33 UTC (permalink / raw)
  To: Alp Aker; +Cc: 9177

Alp Aker <alptekin.aker@gmail.com> writes:

> When configuring --with-ns, one can also specify --with-rsvg, but the
> latter option is respected only if building on GNUstep; it is ignored
> when building on Darwin.  The restriction is unnecessary: if librsvg
> is present, Emacs will build on Darwin and display svg images without
> a problem. The following small change to configure.in would remove
> this restriction.

Thanks, applied.





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

end of thread, other threads:[~2011-07-28 18:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-26 20:45 bug#9177: [PATCH] 24.0.50: configure should allow building with librsvg on Mac Alp Aker
2011-07-28 18:33 ` Chong Yidong

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).