mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-23 14:09:51 +08:00
* lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
From Akinori Musha.
This commit is contained in:
parent
ae51e3d9c3
commit
772b0c11e2
@ -1,3 +1,8 @@
|
|||||||
|
2002-02-25 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
|
||||||
|
From Akinori Musha.
|
||||||
|
|
||||||
2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
|
2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
|
||||||
|
|
||||||
* lib/Autom4te/XFile.pm (getline, getlines): New functions,
|
* lib/Autom4te/XFile.pm (getline, getlines): New functions,
|
||||||
|
2
NEWS
2
NEWS
@ -66,6 +66,8 @@
|
|||||||
assignments.
|
assignments.
|
||||||
- AC_PATH_PROG and family.
|
- AC_PATH_PROG and family.
|
||||||
Works properly when given a literal path.
|
Works properly when given a literal path.
|
||||||
|
- AC_FUNC_SETPGRP
|
||||||
|
Somewhere since 2.13, the result had been reversed.
|
||||||
|
|
||||||
** C Macros
|
** C Macros
|
||||||
|
|
||||||
|
1
THANKS
1
THANKS
@ -6,6 +6,7 @@ Aaron Crane aaronc@pobox.com
|
|||||||
Aaron M. Ucko amu@alum.mit.edu
|
Aaron M. Ucko amu@alum.mit.edu
|
||||||
Aharon Robbins arnold@gnu.org
|
Aharon Robbins arnold@gnu.org
|
||||||
Akim Demaille akim@freefriends.org
|
Akim Demaille akim@freefriends.org
|
||||||
|
Akinori Musha knu@iDaemons.org
|
||||||
Alain Knaff Alain.Knaff@imag.fr
|
Alain Knaff Alain.Knaff@imag.fr
|
||||||
Alec Wolman wolman@cs.washington.edu
|
Alec Wolman wolman@cs.washington.edu
|
||||||
Alexandre Duret-Lutz duret_g@epita.fr
|
Alexandre Duret-Lutz duret_g@epita.fr
|
||||||
|
@ -1109,9 +1109,10 @@ AC_DEFUN([AC_FUNC_SETPGRP],
|
|||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
],
|
],
|
||||||
[/* If this system has a BSD-style setpgrp, which takes arguments, exit
|
[/* If this system has a BSD-style setpgrp which takes arguments,
|
||||||
successfully. */
|
setpgrp(1, 1) will fail with ESRCH and return -1, in that case
|
||||||
exit (setpgrp (1,1) == -1);])],
|
exit successfully. */
|
||||||
|
exit (setpgrp (1,1) == -1 ? 0 : 1);])],
|
||||||
[ac_cv_func_setpgrp_void=no],
|
[ac_cv_func_setpgrp_void=no],
|
||||||
[ac_cv_func_setpgrp_void=yes],
|
[ac_cv_func_setpgrp_void=yes],
|
||||||
[AC_MSG_ERROR([cannot check setpgrp if cross compiling])])])
|
[AC_MSG_ERROR([cannot check setpgrp if cross compiling])])])
|
||||||
|
Loading…
Reference in New Issue
Block a user