Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8eee56f

Browse files
committed
the usual
1 parent 9444ce0 commit 8eee56f

1 file changed

Lines changed: 50 additions & 2 deletions

File tree

configure

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# From configure.in Revision: 1.8
2+
# From configure.in Revision: 1.9
33
#!/bin/sh
44
# Guess values for system-dependent variables and create Makefiles.
55
# Generated automatically using autoconf version 1.11
@@ -681,7 +681,7 @@ rm -f conftest*
681681
fi
682682
rm -f conftest*
683683

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
685685
do
686686
ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
687687
test -n "$silent" || echo "checking for ${ac_hdr}"
@@ -1632,6 +1632,54 @@ fi
16321632
rm -f conftest*
16331633

16341634

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+
16351683
fi
16361684
rm -f conftest*
16371685

0 commit comments

Comments
 (0)