From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alp Aker Newsgroups: gmane.emacs.bugs Subject: bug#9177: [PATCH] 24.0.50: configure should allow building with librsvg on Mac Date: Tue, 26 Jul 2011 16:45:01 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1311818184 22688 80.91.229.12 (28 Jul 2011 01:56:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Jul 2011 01:56:24 +0000 (UTC) To: 9177@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 28 03:56:21 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QmFpj-0001yQ-Jm for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jul 2011 03:56:19 +0200 Original-Received: from localhost ([::1]:48242 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmFpj-0000tB-5r for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Jul 2011 21:56:19 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm9VY-0003qb-Qm for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2011 15:11:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qm9VX-0001Jn-Ke for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2011 15:11:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm9VX-0001Jj-Ho for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2011 15:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qm9VX-00073e-Ed; Wed, 27 Jul 2011 15:11:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alp Aker Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Jul 2011 19:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9177 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.131179382627061 (code B ref -1); Wed, 27 Jul 2011 19:11:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jul 2011 19:10:26 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qm9Uv-00072K-MQ for submit@debbugs.gnu.org; Wed, 27 Jul 2011 15:10:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QloV4-0007Tt-Oq for submit@debbugs.gnu.org; Tue, 26 Jul 2011 16:45:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QloUy-0000la-WF for submit@debbugs.gnu.org; Tue, 26 Jul 2011 16:45:05 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:34500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QloUy-0000lU-Pc for submit@debbugs.gnu.org; Tue, 26 Jul 2011 16:45:04 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QloUx-0005M3-Ru for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2011 16:45:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QloUw-0000lE-EY for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2011 16:45:03 -0400 Original-Received: from mail-qy0-f169.google.com ([209.85.216.169]:57999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QloUw-0000lA-8Q for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2011 16:45:02 -0400 Original-Received: by qyk32 with SMTP id 32so2154703qyk.0 for ; Tue, 26 Jul 2011 13:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=VXr2G049Q59ZoiRvFaG2c2GFImTCLb5uxpGKbQWCh0Q=; b=PU6haQdloJzYm7Y7uWs7pvCeXZqw8mIUCzZKpy3Pp0iWg2xBywQ2cqjdqIqL1Gw+Jm 0bhN6YNqrzIP+RtUTKrScyNuJa4EtGsEO1dIIPBY+TRMv8L4cdxf0iWwkImV8GuvGsRk tTs3s/3pXLUnjcd0nwhF7UNSipRMVe/XAYgrw= Original-Received: by 10.229.2.160 with SMTP id 32mr4567459qcj.280.1311713101442; Tue, 26 Jul 2011 13:45:01 -0700 (PDT) Original-Received: by 10.229.250.132 with HTTP; Tue, 26 Jul 2011 13:45:01 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 27 Jul 2011 15:10:22 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 27 Jul 2011 15:11:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Wed, 27 Jul 2011 21:56:16 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49637 Archived-At: 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 * 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"