autoconf-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Autoconf source repository branch, master, updated. v2.64-10-g


From: Ralf Wildenhues
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.64-10-g50e64b3
Date: Mon, 10 Aug 2009 18:37:06 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=50e64b37cdbe5655fe21adf10b58bc32248f5801

The branch, master has been updated
       via  50e64b37cdbe5655fe21adf10b58bc32248f5801 (commit)
      from  a2aeeaf0fd16b0b7fc4bd19b1a670bfe790e0fb1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 50e64b37cdbe5655fe21adf10b58bc32248f5801
Author: Ralf Wildenhues <address@hidden>
Date:   Mon Aug 10 20:35:12 2009 +0200

    Ensure we do not regress with AC_CHECK_MEMBERS.
    
    * tests/semantics.at (AC_CHECK_MEMBERS): Expose the recent
    AC_CHECK_MEMBERS fix.
    (AC_CHECK_MEMBER): New test group.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog          |    7 +++++++
 tests/semantics.at |   30 +++++++++++++++++++++++++++++-
 2 files changed, 36 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 20c5921..80cd9a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-08-10  Ralf Wildenhues  <address@hidden>
+
+       Ensure we do not regress with AC_CHECK_MEMBERS.
+       * tests/semantics.at (AC_CHECK_MEMBERS): Expose the recent
+       AC_CHECK_MEMBERS fix.
+       (AC_CHECK_MEMBER): New test group.
+
 2009-08-10  Jeff Squyres  <address@hidden>  (tiny change)
 
        Fix typo in AC_REQUIRE description.
diff --git a/tests/semantics.at b/tests/semantics.at
index 9908a15..d25b188 100644
--- a/tests/semantics.at
+++ b/tests/semantics.at
@@ -255,6 +255,32 @@ AT_CHECK_DEFINES(
 AT_CLEANUP
 
 
+# AC_CHECK_MEMBER
+# ----------------
+# Check that it performs the correct actions.
+# Must define HAVE_STRUCT_YES_S_YES, but not HAVE_STRUCT_YES_S_NO.
+AT_CHECK_MACRO([AC_CHECK_MEMBER],
+[[AC_CHECK_MEMBER([struct yes_s.yes],
+                 [AC_DEFINE([HAVE_STRUCT_YES_S_YES], [1],
+                            [Define to 1 if `yes' is a member of `struct 
yes_s'.])],,
+                  [struct sub { int x; };
+                   struct yes_s { int yes; struct sub substruct; };])
+  AC_CHECK_MEMBER([struct yes_s.no],
+                 [AC_DEFINE([HAVE_STRUCT_YES_S_NO], [1],
+                            [Define to 1 if `no' is a member of `struct 
yes_s'.])],,
+                  [struct sub { int x; };
+                   struct yes_s { int yes; struct sub substruct; };])
+  AC_CHECK_MEMBER([struct yes_s.substruct],
+                 [AC_DEFINE([HAVE_STRUCT_YES_S_SUBSTRUCT], [1],
+                            [Define to 1 if `substruct' is a member of `struct 
yes_s'.])],,
+                  [struct sub { int x; };
+                   struct yes_s { int yes; struct sub substruct; };])]],
+[AT_CHECK_DEFINES(
+[/* #undef HAVE_STRUCT_YES_S_NO */
+#define HAVE_STRUCT_YES_S_SUBSTRUCT 1
+#define HAVE_STRUCT_YES_S_YES 1
+])])
+
 # AC_CHECK_MEMBERS
 # ----------------
 # Check that it performs the correct actions.
@@ -267,7 +293,9 @@ AT_CHECK_MACRO([AC_CHECK_MEMBERS],
 [/* #undef HAVE_STRUCT_YES_S_NO */
 #define HAVE_STRUCT_YES_S_SUBSTRUCT 1
 #define HAVE_STRUCT_YES_S_YES 1
-])])
+])
+AT_CHECK([grep 'yes.*member of.*yes_s' config.h], [], [ignore])
+])
 
 
 # AC_CHECK_ALIGNOF


hooks/post-receive
-- 
GNU Autoconf source repository




reply via email to

[Prev in Thread] Current Thread [Next in Thread]