[w3m-dev 02533] setpgrp bug in configure
From: Rin Okuyama <okuyama@cna.ne.jp>
This commit is contained in:
		
							
								
								
									
										6
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								configure
									
									
									
									
										vendored
									
									
								
							| @@ -1,5 +1,5 @@ | ||||
| #!/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. | ||||
| # | ||||
|  | ||||
| @@ -1615,7 +1615,7 @@ EOF | ||||
| if $cc $cflags -o _zmachdep _zmachdep.c > /dev/null 2>&1 | ||||
| then | ||||
|   echo "You have setpgrp()." | ||||
|   have_setpgrp='#define HAVE_SETPGRP' | ||||
|   def_have_setpgrp='#define HAVE_SETPGRP' | ||||
| else | ||||
|   cat > _zmachdep.c << EOF | ||||
| #include <unistd.h> | ||||
| @@ -1629,7 +1629,7 @@ EOF | ||||
|   then | ||||
|     echo "You have setpgrp( pid, pgrp )." | ||||
|     def_have_setpgrp='#define HAVE_SETPGRP' | ||||
|     setpgrp='#define setpgrp() setpgrp( 0, 0 )' | ||||
|     def_setpgrp='#define setpgrp() setpgrp( 0, 0 )' | ||||
|   else | ||||
|     def_have_setpgrp='' | ||||
|   fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user