[svn] pinentry - r201 - trunk

svn author marcus cvs at cvs.gnupg.org
Mon Apr 6 14:04:59 CEST 2009


Author: marcus
Date: 2009-04-06 14:04:58 +0200 (Mon, 06 Apr 2009)
New Revision: 201

Modified:
   trunk/ChangeLog
   trunk/configure.ac
Log:
2009-04-06  Marcus Brinkmann  <marcus at g10code.de>

	* configure.ac: Portability fixes.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-04-03 15:42:49 UTC (rev 200)
+++ trunk/ChangeLog	2009-04-06 12:04:58 UTC (rev 201)
@@ -1,3 +1,7 @@
+2009-04-06  Marcus Brinkmann  <marcus at g10code.de>
+
+	* configure.ac: Portability fixes.
+
 2009-04-03  Marcus Brinkmann  <marcus at g10code.de>
 
 	* qt4/Makefile.am (pinentry_qt4_SOURCES): Add qsecurelineedit_p.h.

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2009-04-03 15:42:49 UTC (rev 200)
+++ trunk/configure.ac	2009-04-06 12:04:58 UTC (rev 201)
@@ -34,8 +34,8 @@
 m4_define(my_version, [0.7.6])
 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([printf "%d" $(svn info 2>/dev/null \
+           | sed -n '/^Revision:/ s/[^0-9]//gp'|head -1)]))
 # Remember to remove the "-cvs" suffix *before* a release and to bump the
 # version number immediately *after* a release and to re-append the suffix.
 AC_INIT(pinentry,




More information about the Gnupg-commits mailing list