|
1 | 1 | #!/bin/sh |
2 | | -# From configure.in Revision: 1.8 |
| 2 | +# From configure.in Revision: 1.9 |
3 | 3 | #!/bin/sh |
4 | 4 | # Guess values for system-dependent variables and create Makefiles. |
5 | 5 | # Generated automatically using autoconf version 1.11 |
@@ -681,7 +681,7 @@ rm -f conftest* |
681 | 681 | fi |
682 | 682 | rm -f conftest* |
683 | 683 |
|
684 | | -for ac_hdr in dlfcn.h fcntl.h limits.h signal.h stdarg.h stdlib.h thread.h unistd.h utime.h sys/audioio.h sys/param.h sys/select.h sys/time.h sys/times.h sys/un.h sys/utsname.h |
| 684 | +for ac_hdr in dlfcn.h fcntl.h limits.h signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h sys/audioio.h sys/param.h sys/select.h sys/time.h sys/times.h sys/un.h sys/utsname.h |
685 | 685 | do |
686 | 686 | ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./' '[A-Z]__'` |
687 | 687 | test -n "$silent" || echo "checking for ${ac_hdr}" |
@@ -1632,6 +1632,54 @@ fi |
1632 | 1632 | rm -f conftest* |
1633 | 1633 |
|
1634 | 1634 |
|
| 1635 | +fi |
| 1636 | +rm -f conftest* |
| 1637 | + |
| 1638 | ++ test -n "$silent" || echo "checking for setpgrp" |
| 1639 | +cat > conftest.${ac_ext} <<EOF |
| 1640 | +#include "confdefs.h" |
| 1641 | +#include <ctype.h> |
| 1642 | +int main() { return 0; } |
| 1643 | +int t() { |
| 1644 | +/* The GNU C library defines this for functions which it implements |
| 1645 | + to always fail with ENOSYS. Some functions are actually named |
| 1646 | + something starting with __ and the normal name is an alias. */ |
| 1647 | +#if defined (__stub_setpgrp) || defined (__stub___setpgrp) |
| 1648 | +choke me |
| 1649 | +#else |
| 1650 | +/* Override any gcc2 internal prototype to avoid an error. */ |
| 1651 | +extern char setpgrp(); setpgrp(); |
| 1652 | +#endif |
| 1653 | +; return 0; } |
| 1654 | +EOF |
| 1655 | +if eval $ac_compile; then |
| 1656 | + rm -rf conftest* |
| 1657 | + test -n "$silent" || echo "checking for arguments to setpgrp" |
| 1658 | +cat > conftest.${ac_ext} <<EOF |
| 1659 | +#include "confdefs.h" |
| 1660 | +#include <unistd.h> |
| 1661 | +int main() { return 0; } |
| 1662 | +int t() { setpgrp(0,0);; return 0; } |
| 1663 | +EOF |
| 1664 | +if eval $ac_compile; then |
| 1665 | + rm -rf conftest* |
| 1666 | + |
| 1667 | +{ |
| 1668 | +test -n "$verbose" && \ |
| 1669 | +echo " defining SETPGRP_HAVE_ARG" |
| 1670 | +echo "#define" SETPGRP_HAVE_ARG "1" >> confdefs.h |
| 1671 | +DEFS="$DEFS -DSETPGRP_HAVE_ARG=1" |
| 1672 | +ac_sed_defs="${ac_sed_defs}\${ac_dA}SETPGRP_HAVE_ARG\${ac_dB}SETPGRP_HAVE_ARG\${ac_dC}1\${ac_dD} |
| 1673 | +\${ac_uA}SETPGRP_HAVE_ARG\${ac_uB}SETPGRP_HAVE_ARG\${ac_uC}1\${ac_uD} |
| 1674 | +\${ac_eA}SETPGRP_HAVE_ARG\${ac_eB}SETPGRP_HAVE_ARG\${ac_eC}1\${ac_eD} |
| 1675 | +" |
| 1676 | +} |
| 1677 | + |
| 1678 | + |
| 1679 | +fi |
| 1680 | +rm -f conftest* |
| 1681 | + |
| 1682 | + |
1635 | 1683 | fi |
1636 | 1684 | rm -f conftest* |
1637 | 1685 |
|
|
0 commit comments