[Gnucash-changes] r13174 - gnucash/trunk - Print more debugging when the guile version check fails.

Derek Atkins warlord at cvs.gnucash.org
Thu Feb 9 11:28:02 EST 2006


Author: warlord
Date: 2006-02-09 11:28:01 -0500 (Thu, 09 Feb 2006)
New Revision: 13174
Trac: http://svn.gnucash.org/trac/changeset/13174

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/macros/legacy_macros.m4
Log:
Print more debugging when the guile version check fails.

	* macros/legacy_macros.m4: when the guile version check fails,
	  print out the version of guile that we found in order to
	  aid debugging.



Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-02-09 07:26:40 UTC (rev 13173)
+++ gnucash/trunk/ChangeLog	2006-02-09 16:28:01 UTC (rev 13174)
@@ -1,3 +1,9 @@
+2006-02-09  Derek Atkins  <derek at ihtfp.com>
+
+	* macros/legacy_macros.m4: when the guile version check fails,
+	  print out the version of guile that we found in order to
+	  aid debugging.
+
 2006-02-09  David Hampton  <hampton at employees.org>
 
 	* src/register/ledger-core/split-register-control.c: Better fix

Modified: gnucash/trunk/macros/legacy_macros.m4
===================================================================
--- gnucash/trunk/macros/legacy_macros.m4	2006-02-09 07:26:40 UTC (rev 13173)
+++ gnucash/trunk/macros/legacy_macros.m4	2006-02-09 16:28:01 UTC (rev 13174)
@@ -29,6 +29,7 @@
 	sed 's/.*Guile version \([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\2/'`
   guile_micro_version=`echo $guile_version | \
 	sed 's/.*Guile version \([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\3/'`
+  guile_vers_string="$guile_major_version.$guile_minor_version.$guile_micro_version"
 
   major_required=`echo ${min_guile_version} |\
         sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
@@ -63,11 +64,11 @@
 fi
 
 if test -n "$version_ok"; then
-	AC_MSG_RESULT(yes)
+	AC_MSG_RESULT(yes: $guile_vers_string)
 	ifelse([$3], , true, [$4])
 
 else
-	AC_MSG_RESULT(no)
+	AC_MSG_RESULT(no: $guile_vers_string)
 	ifelse([$4], , true , [AC_MSG_WARN(guile version check failed)
 	$4])
 fi])



More information about the gnucash-changes mailing list