X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Configure;h=0c92dcbbc66b4243b5aec0a3ed95b894af301692;hb=bbbf5d77f86bf2c0500b791adc75e990b503ac14;hp=d5b354a29dca86441de59a1620a41abc36989387;hpb=5d644a95a83c17f944a3ee1d65367ece4f9ca1a7;p=p5sagit%2Fp5-mst-13.2.git diff --git a/Configure b/Configure index d5b354a..0c92dcb 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Thu Jan 4 21:51:16 EET 2001 [metaconfig 3.0 PL70] +# Generated on Sun Jan 21 21:08:33 EET 2001 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ </dev/null 2>&1`; then +if `$sh -c '#' >/dev/null 2>&1`; then shsharp=true spitshell=cat xcat=/bin/cat @@ -1440,6 +1436,7 @@ case "$src" in */*) src=`echo $0 | sed -e 's%/[^/][^/]*$%%'` case "$src" in /*) ;; + .) ;; *) src=`cd ../$src && pwd` ;; esac ;; @@ -2065,8 +2062,7 @@ test) echo "Hopefully test is built into your sh." ;; *) - if `$sh_c "PATH= test true" >/dev/null 2>&1`; then - echo "Using the test built into your sh." + if `sh -c "PATH= test true" >/dev/null 2>&1`; then echo "Using the test built into your sh." test=test _test=test @@ -2183,14 +2179,13 @@ case "$lns" in echo "Checking how to test for symbolic links..." >&4 $lns blurfl sym if $test "X$issymlink" = X; then - $sh_c "PATH= test -h sym" >/dev/null 2>&1 + sh -c "PATH= test -h sym" >/dev/null 2>&1 if test $? = 0; then issymlink="test -h" fi fi if $test "X$issymlink" = X; then - $sh_c "$test -h sym" >/dev/null 2>&1 - if test $? = 0; then + if $test -h >/dev/null 2>&1; then issymlink="$test -h" echo "Your builtin 'test -h' may be broken, I'm using external '$test -h'." >&4 fi @@ -2220,7 +2215,7 @@ $define|true|[yY]*) exit 1 ;; *) case "$lns:$issymlink" in - *"ln -s:-"?) + *"ln -s:"*"test -"?) echo "Creating the symbolic links..." >&4 echo "(First creating the subdirectories...)" >&4 cd .. @@ -4153,8 +4148,8 @@ and I got the following output: EOM dflt=y -if $sh_c "$cc -o try $optimize $ccflags $ldflags try.c $libs" >>try.msg 2>&1; then - if $sh_c './try' >>try.msg 2>&1; then +if $sh -c "$cc -o try $optimize $ccflags $ldflags try.c $libs" >>try.msg 2>&1; then + if $sh -c './try' >>try.msg 2>&1; then xxx=`./try` case "$xxx" in "Ok") dflt=n ;; @@ -7136,7 +7131,7 @@ echo "Figuring out host name..." >&4 case "$myhostname" in '') cont=true echo 'Maybe "hostname" will work...' - if tans=`$sh_c hostname 2>&1` ; then + if tans=`sh -c hostname 2>&1` ; then myhostname=$tans phostname=hostname cont='' @@ -7159,17 +7154,17 @@ if $test "$cont"; then fi if $test "$cont"; then echo 'No, maybe "uuname -l" will work...' - if tans=`$sh_c 'uuname -l' 2>&1` ; then + if tans=`sh -c 'uuname -l' 2>&1` ; then myhostname=$tans phostname='uuname -l' else echo 'Strange. Maybe "uname -n" will work...' - if tans=`$sh_c 'uname -n' 2>&1` ; then + if tans=`sh -c 'uname -n' 2>&1` ; then myhostname=$tans phostname='uname -n' else echo 'Oh well, maybe I can mine it out of whoami.h...' - if tans=`$sh_c $contains' sysname $usrinc/whoami.h' 2>&1` ; then + if tans=`sh -c $contains' sysname $usrinc/whoami.h' 2>&1` ; then myhostname=`echo "$tans" | $sed 's/^.*"\(.*\)"/\1/'` phostname="sed -n -e '"'/sysname/s/^.*\"\\(.*\\)\"/\1/{'"' -e p -e q -e '}' <$usrinc/whoami.h" else @@ -7270,7 +7265,7 @@ case "$myhostname" in esac case "$dflt" in .) echo "(No help from resolv.conf either -- attempting clever guess)" - dflt=.`$sh_c domainname 2>/dev/null` + dflt=.`sh -c domainname 2>/dev/null` case "$dflt" in '') dflt='.';; .nis.*|.yp.*|.main.*) dflt=`echo $dflt | $sed -e 's/^\.[^.]*//'`;; @@ -11515,6 +11510,10 @@ fi set d_sigaction; eval $setvar $rm -f try try$_o try.c +: see if sigprocmask exists +set sigprocmask d_sigprocmask +eval $inlibc + : see if sigsetjmp exists echo " " case "$d_sigsetjmp" in @@ -14571,6 +14570,7 @@ echo $sig_name | $awk \ } printf "\n" }' +sig_size=`echo $sig_name | awk '{print NF}'` $rm -f signal signal.c signal.awk signal.lst signal_cmd echo " " @@ -16086,6 +16086,7 @@ d_shmctl='$d_shmctl' d_shmdt='$d_shmdt' d_shmget='$d_shmget' d_sigaction='$d_sigaction' +d_sigprocmask='$d_sigprocmask' d_sigsetjmp='$d_sigsetjmp' d_socket='$d_socket' d_socklen_t='$d_socklen_t' @@ -16449,7 +16450,6 @@ selectminbits='$selectminbits' selecttype='$selecttype' sendmail='$sendmail' sh='$sh' -sh_c='$sh_c' shar='$shar' sharpbang='$sharpbang' shmattype='$shmattype' @@ -16461,6 +16461,7 @@ sig_name='$sig_name' sig_name_init='$sig_name_init' sig_num='$sig_num' sig_num_init='$sig_num_init' +sig_size='$sig_size' signal_t='$signal_t' sitearch='$sitearch' sitearchexp='$sitearchexp'