]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix description of the macro generated by AC_CHECK_MEMBERS.
authorPaolo Bonzini <bonzini@gnu.org>
Mon, 10 Aug 2009 18:00:01 +0000 (20:00 +0200)
committerPaolo Bonzini <bonzini@gnu.org>
Mon, 10 Aug 2009 18:01:52 +0000 (20:01 +0200)
* lib/autoconf/types.m4 (_AC_CHECK_MEMBERS): Fix regex
replacement.  Reported by Bruno Haible.

ChangeLog
lib/autoconf/types.m4

index 85c68ee0595a8e8adf4314a4d09d8ae8681b88df..7815596e3ce2a6ffc8764fdff8ccf728635a804c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-08-10  Paolo Bonzini  <bonzini@gnu.org>
+
+       Fix description of the macro generated by AC_CHECK_MEMBERS.
+       * lib/autoconf/types.m4 (_AC_CHECK_MEMBERS): Fix regex
+       replacement.  Reported by Bruno Haible.
+
 2009-08-07  Romain Lenglet  <romain.lenglet@laposte.net>
 
        * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Make AC_RUN_IFELSE
index 2d055de44a95f1ca084044512a4e9be173a65987..949f9adb1e7c66603e1ffc228bb932617d7eaae3 100644 (file)
@@ -911,7 +911,7 @@ AS_VAR_POPDEF([ac_Member])dnl
 m4_define([_AC_CHECK_MEMBERS],
 [[$1], [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$1]), [1],
   [Define to 1 if `]m4_bpatsubst([$1],
-    [^\([^.]*\)\.\(.*\)], [[\1' is a member of `\2]])['.])]])
+    [^\([^.]*\)\.\(.*\)], [[\2' is a member of `\1]])['.])]])
 
 # AC_CHECK_MEMBERS([AGGREGATE.MEMBER, ...],
 #                 [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]