Integrate with Sarathy.
[p5sagit/p5-mst-13.2.git] / hints / hpux.sh
index 8240b3e..eb9b685 100644 (file)
@@ -268,14 +268,15 @@ Cannot continue, aborting.
 EOM
                exit 1
            fi
-           if [ ! -d /lib/pa20_64 ]; then
+           if [ ! -f /lib/pa20_64/libc.sl ]; then
                cat <<EOM >&4
-You do not seem to have the 64-bit libraries, /lib/pa20_64.
+You do not seem to have the 64-bit libraries in /lib/pa20_64.
+Most importantly, I cannot find /lib/pa20_64/libc.sl.
 Cannot continue, aborting.
 EOM
                exit 1
            fi
-           ccflags="$ccflags +DD64 -D_FILE_OFFSET_BITS=64"
+           ccflags="$ccflags +DD64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
            ldflags="$ldflags +DD64"
            ld=/usr/bin/ld
            set `echo " $libswanted " | sed -e 's@ dl @ @'`