/[autoconf]/autoconf/lib/autoconf/functions.m4
ViewVC logotype

Diff of /autoconf/lib/autoconf/functions.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.55 by akim, Mon Jan 21 13:50:39 2002 UTC revision 1.56 by akim, Mon Feb 25 17:38:41 2002 UTC
# Line 1109  AC_DEFUN([AC_FUNC_SETPGRP], Line 1109  AC_DEFUN([AC_FUNC_SETPGRP],
1109  # include <unistd.h>  # include <unistd.h>
1110  #endif  #endif
1111  ],  ],
1112  [/* If this system has a BSD-style setpgrp, which takes arguments, exit  [/* If this system has a BSD-style setpgrp which takes arguments,
1113     successfully.  */    setpgrp(1, 1) will fail with ESRCH and return -1, in that case
1114    exit (setpgrp (1,1) == -1);])],    exit successfully. */
1115      exit (setpgrp (1,1) == -1 ? 0 : 1);])],
1116                 [ac_cv_func_setpgrp_void=no],                 [ac_cv_func_setpgrp_void=no],
1117                 [ac_cv_func_setpgrp_void=yes],                 [ac_cv_func_setpgrp_void=yes],
1118                 [AC_MSG_ERROR([cannot check setpgrp if cross compiling])])])                 [AC_MSG_ERROR([cannot check setpgrp if cross compiling])])])

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26