summaryrefslogtreecommitdiff
path: root/guile-readline
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-04-16 09:01:33 +0200
committerLudovic Courtès <ludo@gnu.org>2008-04-16 09:01:33 +0200
commitc4d088f54cd7827c9678d5f043b325a4e343eacf (patch)
treee162cb6606166c87fa1461907e4d5b21e65c1db5 /guile-readline
parent904fabb6020baeef5c8c7cd313c759912cc918e7 (diff)
Don't use "echo -n" in `guile-readline/configure.in'.
Diffstat (limited to 'guile-readline')
-rw-r--r--guile-readline/ChangeLog6
-rw-r--r--guile-readline/configure.in7
2 files changed, 12 insertions, 1 deletions
diff --git a/guile-readline/ChangeLog b/guile-readline/ChangeLog
index 3163b5f18..f8d393f16 100644
--- a/guile-readline/ChangeLog
+++ b/guile-readline/ChangeLog
@@ -1,3 +1,9 @@
+2008-04-16 Ludovic Courtès <ludo@gnu.org>
+
+ * configure.in (AC_INIT): Don't use "echo -n", which is not
+ available on MacOS X; use `patsubst' instead to remove the
+ newline. Reported by Steven Wu <wus@qwest.net>.
+
2008-02-16 Ludovic Courtès <ludo@gnu.org>
* LIBGUILEREADLINE-VERSION
diff --git a/guile-readline/configure.in b/guile-readline/configure.in
index d0fda02a1..9098a31e6 100644
--- a/guile-readline/configure.in
+++ b/guile-readline/configure.in
@@ -1,7 +1,12 @@
AC_PREREQ(2.50)
+dnl Don't use "echo -n", which is not portable (e.g., not available on
+dnl MacOS X). Instead, use `patsubst' to remove the newline.
AC_INIT(guile-readline,
- m4_esyscmd(. ../GUILE-VERSION && echo -n ${GUILE_VERSION}))
+ patsubst(m4_esyscmd(. ../GUILE-VERSION && echo ${GUILE_VERSION}), [
+]),
+ [bug-guile@gnu.org])
+
AC_CONFIG_AUX_DIR([.])
AC_CONFIG_SRCDIR(readline.c)
AM_CONFIG_HEADER([guile-readline-config.h])