diff options
author | David Shaw <[email protected]> | 2008-03-07 19:08:31 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2008-03-07 19:08:31 +0000 |
commit | fc41626a9b9f1acf1936598e3e35f316714105dd (patch) | |
tree | 958c161656f91ca56cbe91872c2ac2028885b603 | |
parent | * argparse.c (default_strusage): Update copyright date. (diff) | |
download | gnupg-fc41626a9b9f1acf1936598e3e35f316714105dd.tar.gz gnupg-fc41626a9b9f1acf1936598e3e35f316714105dd.zip |
* configure.ac: Darwin's /bin/sh has a builtin echo that doesn't
understand '-n'. Use tr to trim the carriage return instead.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.ac | 9 |
2 files changed, 10 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2008-03-07 David Shaw <[email protected]> + + * configure.ac: Darwin's /bin/sh has a builtin echo that doesn't + understand '-n'. Use tr to trim the carriage return instead. + 2008-03-06 David Shaw <[email protected]> * configure.ac: Post-release update. diff --git a/configure.ac b/configure.ac index ea1e4fcbd..9974ca1e4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ # configure.ac script for GnuPG -# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, -# 2007 Free Software Foundation, Inc. +# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, +# 2008 Free Software Foundation, Inc. # # This file is part of GnuPG. # @@ -28,8 +28,9 @@ min_automake_version="1.9.3" m4_define([my_version], [1.4.9rc1]) m4_define([my_issvn], [yes]) -m4_define([svn_revision], m4_esyscmd([echo -n $((svn info 2>/dev/null \ - || echo 'Revision: 0')|sed -n '/^Revision:/ s/[^0-9]//gp'|head -1)])) +m4_define([svn_revision], m4_esyscmd([echo $((svn info 2>/dev/null \ + || echo 'Revision: 0')|sed -n '/^Revision:/ s/[^0-9]//gp'|head -1)| \ + tr -d '\n'])) AC_INIT([gnupg], my_version[]m4_if(my_issvn,[yes],[-svn[]svn_revision]), # Set development_version to yes if the minor number is odd or you |