From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.devel Subject: [PATCH] [build] Move GUILE_CONFIG_SCRIPT to acinclude.m4. Date: Fri, 25 Jun 2010 14:24:51 +0200 Message-ID: <87pqzfe1v0.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1277494689 3468 80.91.229.12 (25 Jun 2010 19:38:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Jun 2010 19:38:09 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jun 25 21:38:05 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OSEiv-0003I9-Tp for guile-devel@m.gmane.org; Fri, 25 Jun 2010 21:38:02 +0200 Original-Received: from localhost ([127.0.0.1]:33137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSEiu-0000Bn-9W for guile-devel@m.gmane.org; Fri, 25 Jun 2010 15:38:00 -0400 Original-Received: from [140.186.70.92] (port=54085 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSD2n-0004OQ-CN for guile-devel@gnu.org; Fri, 25 Jun 2010 13:50:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OS820-0004WQ-6p for guile-devel@gnu.org; Fri, 25 Jun 2010 08:29:17 -0400 Original-Received: from smtp204.alice.it ([82.57.200.100]:54658) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OS81z-0004TE-RS for guile-devel@gnu.org; Fri, 25 Jun 2010 08:29:16 -0400 Original-Received: from ambire.localdomain (95.244.64.152) by smtp204.alice.it (8.5.124.08) id 4C1A26020091F953 for guile-devel@gnu.org; Fri, 25 Jun 2010 14:29:14 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1OS7zd-0004wU-Ek for guile-devel@gnu.org; Fri, 25 Jun 2010 14:26:49 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10571 Archived-At: --=-=-= Requested by ludo. thi _____________________________________________________________ --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0008-build-Move-GUILE_CONFIG_SCRIPT-to-acinclude.m4.patch >From 210d9fc7dec22c3398c137e768f879f1997e7905 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Fri, 25 Jun 2010 13:45:35 +0200 Subject: [PATCH 8/8] [build] Move GUILE_CONFIG_SCRIPT to acinclude.m4. * configure.ac (GUILE_CONFIG_SCRIPT): Move from here... * acinclude.m4 (GUILE_CONFIG_SCRIPT): ...to here. --- acinclude.m4 | 4 ++++ configure.ac | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index ec42743..3e19f29 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -461,4 +461,8 @@ AC_DEFUN([GUILE_READLINE], [ AC_SUBST(LIBGUILEREADLINE_INTERFACE) ]) +dnl Declare file $1 to be a script that needs configuring, +dnl and arrange to make it executable in the process. +AC_DEFUN([GUILE_CONFIG_SCRIPT],[AC_CONFIG_FILES([$1],[chmod +x $1])]) + dnl acinclude.m4 ends here diff --git a/configure.ac b/configure.ac index 0a44265..dd74a72 100644 --- a/configure.ac +++ b/configure.ac @@ -1643,11 +1643,6 @@ AC_CONFIG_FILES([meta/guile-2.0.pc]) AC_CONFIG_FILES([meta/guile-2.0-uninstalled.pc]) AC_CONFIG_FILES([doc/ref/effective-version.texi]) -dnl We can get fancy with m4sugar (m4_foreach et al) later. -dnl NB: We don't jam everything into one GUILE_CONFIG_SCRIPT call -dnl since that expands "chmod +x LONG-LIST-OF-FILES" multiply. --ttn -AC_DEFUN([GUILE_CONFIG_SCRIPT],[AC_CONFIG_FILES([$1],[chmod +x $1])]) - GUILE_CONFIG_SCRIPT([check-guile]) GUILE_CONFIG_SCRIPT([benchmark-guile]) GUILE_CONFIG_SCRIPT([meta/guile]) -- 1.6.3.2 --=-=-=--