diff options
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 54 |
1 files changed, 50 insertions, 4 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.8 1995/07/25 13:40:02 ram Exp $ # -# Generated on Fri Feb 9 14:09:07 EST 1996 [metaconfig 3.0 PL60] +# Generated on Wed Feb 21 14:26:18 EST 1996 [metaconfig 3.0 PL60] cat >/tmp/c1$$ <<EOF ARGGGHHHH!!!!! @@ -362,6 +362,7 @@ shmattype='' d_shmctl='' d_shmdt='' d_shmget='' +d_sigsetjmp='' d_sigaction='' d_sigintrp='' d_sigvec='' @@ -1011,7 +1012,7 @@ THIS PACKAGE SEEMS TO BE INCOMPLETE. You have the option of continuing the configuration process, despite the distinct possibility that your kit is damaged, by typing 'y'es. If you do, don't blame me if something goes wrong. I advise you to type 'n'o -and contact the author (lwall@sems.com). +and contact the author (doughera@lafcol.lafayette.edu). EOM echo $n "Continue? [n] $c" >&4 @@ -1208,7 +1209,7 @@ Much effort has been expended to ensure that this shell script will run on any Unix system. If despite that it blows up on yours, your best bet is to edit Configure and run it again. If you can't run Configure for some reason, you'll have to generate a config.sh file by hand. Whatever problems you -have, let me (lwall@sems.com) know how I blew it. +have, let me (doughera@lafcol.lafayette.edu) know how I blew it. This installation script affects things in two ways: @@ -1552,7 +1553,7 @@ EOM cd hints; ls -C *.sh | $sed 's/\.sh/ /g' >&4 dflt='' : Half the following guesses are probably wrong... If you have better - : tests or hints, please send them to lwall@sems.com + : tests or hints, please send them to doughera@lafcol.lafayette.edu : The metaconfig authors would also appreciate a copy... $test -f /irix && osname=irix $test -f /xenix && osname=sco_xenix @@ -6619,6 +6620,50 @@ fi set sigaction d_sigaction eval $inlibc + +: see if sigsetjmp exists +echo " " +case "$d_sigsetjmp" in +'') + $cat >set.c <<EOP +#include <setjmp.h> +sigjmp_buf env; +int set = 1; +main() +{ + if (sigsetjmp(env,1)) + exit(set); + set = 0; + siglongjmp(env, 1); + exit(1); +} +EOP + if $cc $ccflags $ldflags set.c -o set $libs >/dev/null 2>&1; then + if ./set >/dev/null 2>&1; then + echo "POSIX sigsetjmp found." >&4 + val="$define" + else + $cat <<EOM +Uh-Oh! You have POSIX sigsetjmp and siglongjmp, but they do not work properly!! +EOM + val="$undef" + fi + else + echo "Sigsetjmp not found." >&4 + val="$undef" + fi + ;; +*) val="$d_sigsetjmp" + case "$d_sigsetjmp" in + $define) echo "POSIX sigsetjmp found." >&4;; + $undef) echo "Sigsetjmp not found." >&4;; + esac + ;; +esac +set d_sigsetjmp +eval $setvar +$rm -f set.c set + socketlib='' sockethdr='' : see whether socket exists @@ -9053,6 +9098,7 @@ d_shmget='$d_shmget' d_shrplib='$d_shrplib' d_sigaction='$d_sigaction' d_sigintrp='$d_sigintrp' +d_sigsetjmp='$d_sigsetjmp' d_sigvec='$d_sigvec' d_sigvectr='$d_sigvectr' d_socket='$d_socket' |