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.63-95-g


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.63-95-g21bd2e4
Date: Fri, 24 Oct 2008 11:49:47 +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=21bd2e490b0804a0223b7044e89d5d31bd9f6476

The branch, master has been updated
       via  21bd2e490b0804a0223b7044e89d5d31bd9f6476 (commit)
      from  58a97ecfca0650c90b5dffacd3565c2647f37f0d (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 21bd2e490b0804a0223b7044e89d5d31bd9f6476
Author: Eric Blake <address@hidden>
Date:   Fri Oct 24 05:42:10 2008 -0600

    AC_FUNC_GETGROUPS: Revert regression.
    
    * lib/autoconf/functions.m4 (AC_FUNC_GETGROUPS): Only set
    ac_cv_func_getgroups_works=no when it is not available.
    
    Signed-off-by: Eric Blake <address@hidden>

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

Summary of changes:
 ChangeLog                 |    6 ++++++
 lib/autoconf/functions.m4 |   15 +++++++++------
 2 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c8dca18..0a83589 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-24  Eric Blake  <address@hidden>
+
+       AC_FUNC_GETGROUPS: Revert regression.
+       * lib/autoconf/functions.m4 (AC_FUNC_GETGROUPS): Only set
+       ac_cv_func_getgroups_works=no when it is not available.
+
 2008-10-23  Eric Blake  <address@hidden>
 
        Whitespace cleanup.
diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4
index 3999134..f478ccc 100644
--- a/lib/autoconf/functions.m4
+++ b/lib/autoconf/functions.m4
@@ -619,7 +619,6 @@ if test $ac_cv_func_getgroups = no; then
   AC_CHECK_LIB(bsd, getgroups, [GETGROUPS_LIB=-lbsd])
 fi
 
-ac_cv_func_getgroups_works=no
 # Run the program to test the functionality of the system-supplied
 # getgroups function only if there is such a function.
 if test $ac_cv_func_getgroups = yes; then
@@ -627,12 +626,16 @@ if test $ac_cv_func_getgroups = yes; then
    [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
       [[/* On Ultrix 4.3, getgroups (0, 0) always fails.  */
        return getgroups (0, 0) == -1;]])],
-                 [ac_cv_func_getgroups_works=yes])
+                 [ac_cv_func_getgroups_works=yes],
+                 [ac_cv_func_getgroups_works=no],
+                 [ac_cv_func_getgroups_works=no])
    ])
-  if test $ac_cv_func_getgroups_works = yes; then
-    AC_DEFINE(HAVE_GETGROUPS, 1,
-             [Define to 1 if your system has a working `getgroups' function.])
-  fi
+else
+  ac_cv_func_getgroups_works=no
+fi
+if test $ac_cv_func_getgroups_works = yes; then
+  AC_DEFINE(HAVE_GETGROUPS, 1,
+           [Define to 1 if your system has a working `getgroups' function.])
 fi
 LIBS=$ac_save_LIBS
 ])# AC_FUNC_GETGROUPS


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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