This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add descriptions for $^E and $^O, and squash a typo.
[perl5.git] / hints / aux.sh
1 # hints/aux.sh
2 #
3 # Improved by Jake Hamby <jehamby@lightside.com> to support both Apple CC
4 # and GNU CC.  Tested on A/UX 3.1.1 with GCC 2.6.3.
5 # Last modified 
6 # Fri May  5 10:59:43 EDT 1995
7
8 case "$cc" in
9 gcc)    optimize='-O2'
10         ccflags="$ccflags -D_POSIX_SOURCE"
11         echo "Setting hints for GNU CC."
12         ;;
13 *)      optimize='-O'
14         ccflags="$ccflags -B/usr/lib/big/ -DPARAM_NEEDS_TYPES -D_POSIX_SOURCE"
15         POSIX_cflags='ccflags="$ccflags -ZP -Du_long=U32"'
16         echo "Setting hints for Apple's CC.  If you plan to use"
17         echo "GNU CC, please rerun this Configure script as:"
18         echo "./Configure -Dcc=gcc"
19         ;;
20 esac