This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
HP-UX 64-bitness/largefile fixes.
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 16 Feb 2000 22:29:11 +0000 (22:29 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 16 Feb 2000 22:29:11 +0000 (22:29 +0000)
p4raw-id: //depot/metaconfig@5119

U/modified/cc.U
U/modified/libpth.U
U/modified/libs.U
U/perl/Extensions.U

index 96de49e..e72b4bc 100644 (file)
@@ -115,7 +115,7 @@ int main() {
        exit(0);
 }
 EOM
-if $cc -o gccvers gccvers.c; then
+if $cc $ldflags -o gccvers gccvers.c; then
        gccversion=`./gccvers`
        case "$gccversion" in
        '') echo "You are not using GNU cc." ;;
index 0fdb01f..6a74311 100644 (file)
 ?T: xxx dlist
 ?INIT:: change the next line if compiling for Xenix/286 on Xenix/386
 ?INIT:xlibpth='/usr/lib/386 /lib/386'
-?INIT:
 ?INIT:: Possible local library directories to search.
 ?INIT:loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib"
 ?INIT:loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
 ?INIT:
 ?INIT:: general looking path for locating libraries
-?X:    /shlib is for Digital Unix 4.0
-?X:    /usr/shlib is for OSF/1 systems.
 ?X:    I don't know why the large & small libraries are in this order.
-?INIT:glibpth="/usr/lib/large /lib/pa1.1 /lib /usr/lib $xlibpth"
+?INIT:glibpth="/usr/lib/large /lib /usr/lib $xlibpth"
 ?INIT:glibpth="$glibpth /lib/large /usr/lib/small /lib/small"
 ?INIT:glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
+?X:    /shlib is for Digital Unix 4.0
+?X:    /usr/shlib is for OSF/1 systems.
 ?INIT:test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
 ?INIT:test -f /shlib/libc.so     && glibpth="/shlib $glibpth"
 ?INIT:
@@ -85,6 +84,7 @@
 ?INIT:plibpth=''
 ?INIT:
 ?LINT:describe xlibpth glibpth
+?LINT:use use64bits
 : Set private lib path
 case "$plibpth" in
 '') if ./mips; then
index 71a9891..5b299c9 100644 (file)
@@ -57,7 +57,7 @@
 ?S:    libraries (libfoo.so.x.y) are to be ignored (because they
 ?S:    cannot be linked against).
 ?S:.
-?T:xxx yyy thislib libswanted libstyle libname
+?T:xxx yyy thislib thisdir libswanted libstyle
 ?D:libs=''
 ?X:
 ?X: This order is chosen so that libraries  -lndir, -ldir, -lucb, -lbsd,
@@ -85,6 +85,7 @@
 ?INIT:libswanted=''
 ?INIT:: some systems want to use only the non-versioned libso:s
 ?INIT:ignore_versioned_solibs=''
+?LINT:use libscheck
 : Looking for optional libraries
 echo " "
 echo "Checking for optional libraries..." >&4
index 18bfa33..9c67f3e 100644 (file)
@@ -10,7 +10,8 @@
 ?MAKE:known_extensions extensions dynamic_ext static_ext nonxs_ext \
        useposix useopcode : \
        Myread hint usedl d_sem d_socket i_db i_dbm i_rpcsvcdbm i_gdbm \ 
-       i_ndbm usethreads package test cat rsrc d_msg d_shm
+       i_ndbm usethreads package test cat rsrc d_msg d_shm osname use64bits \
+       libs
 ?MAKE: -pick add $@ %<
 ?Y:BOTTOM
 ?S:known_extensions: