]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* actypes.m4 (AC_TYPE_GETGROUPS): Double quote the test program
authorAkim Demaille <akim@epita.fr>
Mon, 22 Jan 2001 09:09:21 +0000 (09:09 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 22 Jan 2001 09:09:21 +0000 (09:09 +0000)
body.

ChangeLog
acfunctions.m4
actypes.m4
lib/autoconf/functions.m4
lib/autoconf/types.m4

index c7824cc3fd77a4cacb5a320f30ad43466ca9726e..0cedd900982186569fb894b7b3833d4a53c9b169 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-22  Jim Meyering  <meyering@lucent.com>
+
+       * actypes.m4 (AC_TYPE_GETGROUPS): Double quote the test program
+       body.
+
 2001-01-22  Tim Van Holder  <tim.van.holder@pandora.be>
 
        * aclang.m4 (AC_LANG_INT_SAVE, AC_LANG_INT_SAVE(C)): Use
index ae57ff239bceb11dcc0c6ccfd0098389a16094a1..48c171be6120f9274c70e6cd5c4ff2f64274f170 100644 (file)
@@ -420,8 +420,8 @@ fi
 if test $ac_cv_func_getgroups = yes; then
   AC_CACHE_CHECK([for working getgroups], ac_cv_func_getgroups_works,
    [AC_RUN_IFELSE([AC_LANG_PROGRAM([],
-      [/* On Ultrix 4.3, getgroups (0, 0) always fails.  */
-       exit (getgroups (0, 0) == -1 ? 1 : 0);])],
+      [[/* On Ultrix 4.3, getgroups (0, 0) always fails.  */
+       exit (getgroups (0, 0) == -1 ? 1 : 0);])]],
                   [ac_cv_func_getgroups_works=yes],
                   [ac_cv_func_getgroups_works=no],
                   [ac_cv_func_getgroups_works=no])
index 24bf2c9af21a3fe54e5c0dda7cab5e5ecfc092c7..968d13732296fbba02a9ef9ab0e1a364801e3823 100644 (file)
@@ -246,11 +246,12 @@ AC_DEFUN([AC_TYPE_GETGROUPS],
 [AC_REQUIRE([AC_TYPE_UID_T])dnl
 AC_CACHE_CHECK(type of array argument to getgroups, ac_cv_type_getgroups,
 [AC_RUN_IFELSE([AC_LANG_SOURCE(
-[/* Thanks to Mike Rendell for this test.  */
+[[/* Thanks to Mike Rendell for this test.  */
 #include <sys/types.h>
 #define NGID 256
 #undef MAX
 #define MAX(x, y) ((x) > (y) ? (x) : (y))
+
 int
 main ()
 {
@@ -266,7 +267,7 @@ main ()
   /* Exit non-zero if getgroups seems to require an array of ints.  This
      happens when gid_t is short but getgroups modifies an array of ints.  */
   exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
-}])],
+}]])],
                [ac_cv_type_getgroups=gid_t],
                [ac_cv_type_getgroups=int],
                [ac_cv_type_getgroups=cross])
index ae57ff239bceb11dcc0c6ccfd0098389a16094a1..48c171be6120f9274c70e6cd5c4ff2f64274f170 100644 (file)
@@ -420,8 +420,8 @@ fi
 if test $ac_cv_func_getgroups = yes; then
   AC_CACHE_CHECK([for working getgroups], ac_cv_func_getgroups_works,
    [AC_RUN_IFELSE([AC_LANG_PROGRAM([],
-      [/* On Ultrix 4.3, getgroups (0, 0) always fails.  */
-       exit (getgroups (0, 0) == -1 ? 1 : 0);])],
+      [[/* On Ultrix 4.3, getgroups (0, 0) always fails.  */
+       exit (getgroups (0, 0) == -1 ? 1 : 0);])]],
                   [ac_cv_func_getgroups_works=yes],
                   [ac_cv_func_getgroups_works=no],
                   [ac_cv_func_getgroups_works=no])
index 24bf2c9af21a3fe54e5c0dda7cab5e5ecfc092c7..968d13732296fbba02a9ef9ab0e1a364801e3823 100644 (file)
@@ -246,11 +246,12 @@ AC_DEFUN([AC_TYPE_GETGROUPS],
 [AC_REQUIRE([AC_TYPE_UID_T])dnl
 AC_CACHE_CHECK(type of array argument to getgroups, ac_cv_type_getgroups,
 [AC_RUN_IFELSE([AC_LANG_SOURCE(
-[/* Thanks to Mike Rendell for this test.  */
+[[/* Thanks to Mike Rendell for this test.  */
 #include <sys/types.h>
 #define NGID 256
 #undef MAX
 #define MAX(x, y) ((x) > (y) ? (x) : (y))
+
 int
 main ()
 {
@@ -266,7 +267,7 @@ main ()
   /* Exit non-zero if getgroups seems to require an array of ints.  This
      happens when gid_t is short but getgroups modifies an array of ints.  */
   exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
-}])],
+}]])],
                [ac_cv_type_getgroups=gid_t],
                [ac_cv_type_getgroups=int],
                [ac_cv_type_getgroups=cross])