From 43c83792bc560e33abb7eeea683f86bbcc7627ce Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Sun, 20 Jan 2002 13:51:09 +0000 Subject: [PATCH] Correction in configure.in support. --- doc/usage.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/usage.html b/doc/usage.html index a87f802..409ebbf 100644 --- a/doc/usage.html +++ b/doc/usage.html @@ -575,8 +575,8 @@ their sources can use the following statements in configure.in (the example is checking for gedcom-parse, version 1.34):
AC_CHECK_LIB(gedcom, gedcom_parse_file,,
             AC_MSG_ERROR(Cannot find libgedcom: Please install gedcom-parse))
-AC_CACHE_CHECK(for libgedcom version, ac_cv_gedcom_version_ok,
-[AC_TRY_RUN([
+AC_MSG_CHECKING(for libgedcom version)
+AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
#include <gedcom.h>
@@ -586,9 +586,10 @@ main()
if (GEDCOM_PARSE_VERSION >= 1034) exit(0);
exit(1);
}],
-ac_cv_gedcom_version_ok='yes',
-ac_cv_gedcom_version_ok='no')])
-if test "$ac_cv_gedcom_version_ok" = 'yes' ; then
+ac_gedcom_version_ok='yes',
+ac_gedcom_version_ok='no',
+ac_gedcom_version_ok='no')
+if test "$ac_gedcom_version_ok" = 'yes' ; then
  AC_MSG_RESULT(ok)
else
  AC_MSG_RESULT(not ok)
-- 2.30.2