[w3m-dev 02533] setpgrp bug in configure

From: Rin Okuyama <okuyama@cna.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2001-11-24 15:45:33 +00:00
parent 975c8f9d43
commit 1f650c7299
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
2001-11-25 Rin Okuyama <okuyama@cna.ne.jp>
* [w3m-dev 02533] setpgrp bug in configure
* configure: s/have_setpgrp/def_have_setpgrp/
s/setpgrp/def_setpgrp/
2001-11-24 Fumitoshi UKAI <ukai@debian.or.jp> 2001-11-24 Fumitoshi UKAI <ukai@debian.or.jp>
* Makefile (indent): indent * Makefile (indent): indent

6
configure vendored
View File

@@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# $Id: configure,v 1.16 2001/11/23 22:10:58 ukai Exp $ # $Id: configure,v 1.17 2001/11/24 15:45:33 ukai Exp $
# Configuration. # Configuration.
# #
@@ -1615,7 +1615,7 @@ EOF
if $cc $cflags -o _zmachdep _zmachdep.c > /dev/null 2>&1 if $cc $cflags -o _zmachdep _zmachdep.c > /dev/null 2>&1
then then
echo "You have setpgrp()." echo "You have setpgrp()."
have_setpgrp='#define HAVE_SETPGRP' def_have_setpgrp='#define HAVE_SETPGRP'
else else
cat > _zmachdep.c << EOF cat > _zmachdep.c << EOF
#include <unistd.h> #include <unistd.h>
@@ -1629,7 +1629,7 @@ EOF
then then
echo "You have setpgrp( pid, pgrp )." echo "You have setpgrp( pid, pgrp )."
def_have_setpgrp='#define HAVE_SETPGRP' def_have_setpgrp='#define HAVE_SETPGRP'
setpgrp='#define setpgrp() setpgrp( 0, 0 )' def_setpgrp='#define setpgrp() setpgrp( 0, 0 )'
else else
def_have_setpgrp='' def_have_setpgrp=''
fi fi