unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* [PATCH] [build] Move GUILE_CONFIG_SCRIPT to acinclude.m4.
@ 2010-06-25 12:24 Thien-Thi Nguyen
  2010-06-28 13:51 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Thien-Thi Nguyen @ 2010-06-25 12:24 UTC (permalink / raw)
  To: guile-devel

[-- 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


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

end of thread, other threads:[~2010-06-28 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-25 12:24 [PATCH] [build] Move GUILE_CONFIG_SCRIPT to acinclude.m4 Thien-Thi Nguyen
2010-06-28 13:51 ` Andy Wingo

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).