From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: guile-devel@gnu.org
Subject: [PATCH] [build] Move GUILE_CONFIG_SCRIPT to acinclude.m4.
Date: Fri, 25 Jun 2010 14:24:51 +0200 [thread overview]
Message-ID: <87pqzfe1v0.fsf@ambire.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 87 bytes --]
Requested by ludo.
thi
_____________________________________________________________
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0008-build-Move-GUILE_CONFIG_SCRIPT-to-acinclude.m4.patch --]
[-- Type: text/x-diff, Size: 1524 bytes --]
From 210d9fc7dec22c3398c137e768f879f1997e7905 Mon Sep 17 00:00:00 2001
From: Thien-Thi Nguyen <ttn@gnuvola.org>
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
next reply other threads:[~2010-06-25 12:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-25 12:24 Thien-Thi Nguyen [this message]
2010-06-28 13:51 ` [PATCH] [build] Move GUILE_CONFIG_SCRIPT to acinclude.m4 Andy Wingo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pqzfe1v0.fsf@ambire.localdomain \
--to=ttn@gnuvola.org \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).