X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=doc%2Fusage.html;h=409ebbf308878bf17f0b2726ade6faf57a8eedb3;hb=43c83792bc560e33abb7eeea683f86bbcc7627ce;hp=a87f8020b58eb3d62c1f7da2d3f938cf84af58a3;hpb=e57da77bf119ca4f74bf21e2b1d2d2ab2265db72;p=gedcom-parse.git 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)