[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] [build] Move GUILE_CONFIG_SCRIPT to acinclude.m4.
From: |
Thien-Thi Nguyen |
Subject: |
[PATCH] [build] Move GUILE_CONFIG_SCRIPT to acinclude.m4. |
Date: |
Fri, 25 Jun 2010 14:24:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Requested by ludo.
thi
_____________________________________________________________
>From 210d9fc7dec22c3398c137e768f879f1997e7905 Mon Sep 17 00:00:00 2001
From: Thien-Thi Nguyen <address@hidden>
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
- [PATCH] [build] Move GUILE_CONFIG_SCRIPT to acinclude.m4.,
Thien-Thi Nguyen <=