Hello,

In the example for AS_VAR_PUSHDEF the code says 'available' while the example output says 'detected'. This tiny patch fixes that.

Thank,
Peter
diff --git a/ChangeLog b/ChangeLog
index d59487e..cc13f36 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-06-22  Peter Johansson  <[email protected]>  (tiny change)
+
+       * doc/autoconf.texi: (Polymorphic Variables) be consistent in code
+       example and output
+
 2010-06-22  Ralf Wildenhues  <[email protected]>
 
        Add comments for vim syntax highlighting.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 77013d4..da4fa27 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -13415,7 +13415,7 @@ can handle composed shell variable names:
 @example
 m4_define([MY_CHECK_HEADER],
 [AS_VAR_PUSHDEF([my_Header], [ac_cv_header_$1])dnl
-AS_VAR_IF([my_Header], [yes], [echo "header $1 available"])dnl
+AS_VAR_IF([my_Header], [yes], [echo "header $1 detected"])dnl
 AS_VAR_POPDEF([my_Header])dnl
 ])
 MY_CHECK_HEADER([stdint.h])

Reply via email to