This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't know how to do large files using gcc in HP-UX.
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 29 Feb 2000 03:26:11 +0000 (03:26 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 29 Feb 2000 03:26:11 +0000 (03:26 +0000)
p4raw-id: //depot/cfgperl@5341

hints/hpux.sh

index c2ebe7c..ae3cab3 100644 (file)
@@ -365,6 +365,18 @@ EOM
 esac
 EOCBU
 
+case "$uselargefiles-$ccisgcc" in
+"$define-$define"|'-define') 
+    cat <<EOM >&4
+
+*** I'm ignoring large files for this build because
+*** I don't know how to do use large files in HP-UX using gcc.
+
+EOM
+    uselargefiles="$undef"
+    ;;
+esac
+
 cat > UU/uselfs.cbu <<'EOCBU'
 # This script UU/uselfs.cbu will get 'called-back' by Configure 
 # after it has prompted the user for whether to use large files.
@@ -376,16 +388,12 @@ case "$uselargefiles" in
 
         # The strict ANSI mode (-Aa) doesn't like large files.
        case "$ccflags" in
-       *-Aa*)
+       -Aa*)
            echo "(Changing from strict ANSI compilation to extended because of large files)"
            ccflags=`echo $ccflags|sed 's@ -Aa @ -Ae @'`
            ;;
-       *)  case "$ccisgcc" in
-           "ccisgcc") ;;
-           *) ccflags="$ccflags -Ae" ;;
-           esac
-           ;; 
-       esac    
+       *)  ccflags="$ccflags -Ae" ;;
+       esac
        ;;
 esac
 EOCBU