1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-03 12:11:33 +01:00

* configure.ac: Darwin's /bin/sh has a builtin echo that doesn't

understand '-n'.  Use tr to trim the carriage return instead.
This commit is contained in:
David Shaw 2008-08-27 05:58:30 +00:00
parent 39a5a34eab
commit eb0b47b422
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-08-27 David Shaw <dshaw@jabberwocky.com>
* configure.ac: Darwin's /bin/sh has a builtin echo that doesn't
understand '-n'. Use tr to trim the carriage return instead.
2008-04-23 Werner Koch <wk@g10code.com>
* configure.ac: Call gl_HEADER_SYS_SOCKET and gl_TYPE_SOCKLEN_T.

View File

@ -28,8 +28,9 @@ m4_define([my_version], [2.0.10])
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;q;}')]))
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])],
[bug-gnupg@gnupg.org])