home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / perl-5.003-base.tgz / perl-5.003-base.tar / fsf / perl / hints / aux.sh < prev    next >
Text File  |  1995-06-07  |  592b  |  21 lines

  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
  21.