diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2002-09-11 08:31:45 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2002-09-11 08:31:45 +0000 |
commit | 44b9449181a08e79439a4e3a78b60d92a3fe84bf (patch) | |
tree | 344a210172b1db0743b27ca32f46e00fac1afa9e /Configure | |
parent | c5884c5a7813ec61938e7953d7c507670145b965 (diff) | |
download | perl-44b9449181a08e79439a4e3a78b60d92a3fe84bf.tar.gz |
re-synced Configure to backported metaunits
p4raw-id: //depot/perl@17896
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 79 |
1 files changed, 39 insertions, 40 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Thu Aug 1 18:53:48 CEST 2002 [metaconfig 3.0 PL70] +# Generated on Wed Sep 11 10:53:27 METDST 2002 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -1151,6 +1151,17 @@ elif test -d c:/. ; then fi i_whoami='' +ccname='' +ccversion='' +perllibs='' +: set useposix=false in your hint file to disable the POSIX extension. +useposix=true +: set useopcode=false in your hint file to disable the Opcode extension. +useopcode=true +: Trailing extension. Override this in a hint file, if needed. +: Extra object files, if any, needed on this platform. +archobjs='' +archname='' : Possible local include directories to search. : Set locincpth to "" in a hint file to defeat local include searches. locincpth="/usr/local/include /opt/local/include /usr/gnu/include" @@ -1159,9 +1170,6 @@ locincpth="$locincpth /opt/gnu/include /usr/GNU/include /opt/GNU/include" : no include file wanted by default inclwanted='' -: Trailing extension. Override this in a hint file, if needed. -: Extra object files, if any, needed on this platform. -archobjs='' groupstype='' libnames='' : change the next line if compiling for Xenix/286 on Xenix/386 @@ -1185,25 +1193,17 @@ plibpth='' libswanted='' : some systems want to use only the non-versioned libso:s ignore_versioned_solibs='' -: full support for void wanted by default -defvoidused=15 - -ccname='' -ccversion='' -perllibs='' -: set useposix=false in your hint file to disable the POSIX extension. -useposix=true -: set useopcode=false in your hint file to disable the Opcode extension. -useopcode=true archname64='' ccflags_uselargefiles='' ldflags_uselargefiles='' libswanted_uselargefiles='' : set usemultiplicity on the Configure command line to enable multiplicity. : set usesocks on the Configure command line to enable socks. -archname='' : set usethreads on the Configure command line to enable threads. usereentrant='undef' +: full support for void wanted by default +defvoidused=15 + : List of libraries we want. : If anyone needs -lnet, put it in a hint file. libswanted='sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl' @@ -3860,9 +3860,9 @@ case "$gccversion" in echo "main(){}">try.c for incdir in $locincpth; do warn=`$cc $ccflags -I$incdir -c try.c 2>&1 | \ - grep '^cc1: warning: changing search order '` + grep '^cc1: warning: changing search order '` if test "X$warn" != X; then - locincpth=`echo " $locincpth " | sed "s! $incdir ! !"` + locincpth=`echo " $locincpth " | sed "s! $incdir ! !"` fi done $rm -f try try.* @@ -5421,7 +5421,7 @@ case "$usenm" in esac case "$dflt" in '') - if $test "$osname" = aix -a "X$PASE" != "$Xdefine" -a ! -f /lib/syscalls.exp; then + if $test "$osname" = aix -a "X$PASE" != "Xdefine" -a ! -f /lib/syscalls.exp; then echo " " echo "Whoops! This is an AIX system without /lib/syscalls.exp!" >&4 echo "'nm' won't be sufficient on this sytem." >&4 @@ -5771,13 +5771,13 @@ nm_extract="$com" case "$PASE" in define) echo " " - echo "Since you are compiling for PASE, extracting more symbols from libc.a...">&4 + echo "Since you are compiling for PASE, extracting more symbols from libc.a ...">&4 dump -Tv /lib/libc.a | awk '$7 == "/unix" {print $5 " " $8}' | grep "^SV" | awk '{print $2}' >> libc.list ;; *) if $test -f /lib/syscalls.exp; then echo " " echo "Also extracting names from /lib/syscalls.exp for good ole AIX..." >&4 - $sed -n 's/^\([^ ]*\)[ ]*syscall[0-9]*[ ]*$/\1/p' /lib/syscalls.exp >>libc.list + $sed -n 's/^\([^ ]*\)[ ]*syscall[0-9]*[ ]*$/\1/p' /lib/syscalls.exp >>libc.list fi ;; esac @@ -5852,6 +5852,25 @@ esac' set sqrtl d_sqrtl eval $inlibc +hasproto='varname=$1; func=$2; shift; shift; +while $test $# -ge 2; do + case "$1" in + $define) echo "#include <$2>";; + esac ; + shift 2; +done > try.c; +$cppstdin $cppflags $cppminus < try.c > tryout.c 2>/dev/null; +if $contains "$func.*(" tryout.c >/dev/null 2>&1; then + echo "$func() prototype found."; + val="$define"; +else + echo "$func() prototype NOT found."; + val="$undef"; +fi; +set $varname; +eval $setvar; +$rm -f try.c tryout.c' + : check for length of double echo " " case "$doublesize" in @@ -6047,26 +6066,6 @@ esac set modfl d_modfl eval $inlibc - -hasproto='varname=$1; func=$2; shift; shift; -while $test $# -ge 2; do - case "$1" in - $define) echo "#include <$2>";; - esac ; - shift 2; -done > try.c; -$cppstdin $cppflags $cppminus < try.c > tryout.c 2>/dev/null; -if $contains "$func.*(" tryout.c >/dev/null 2>&1; then - echo "$func() prototype found."; - val="$define"; -else - echo "$func() prototype NOT found."; - val="$undef"; -fi; -set $varname; -eval $setvar; -$rm -f try.c tryout.c' - : see if prototype for modfl is available echo " " set d_modflproto modfl math.h |