home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / perl / Perl / hints / ultrix_4.sh < prev    next >
Encoding:
Text File  |  1995-02-14  |  1.1 KB  |  46 lines

  1. # hints/ultrix_4.sh
  2. # Last updated by Andy Dougherty  <doughera@lafcol.lafayette.edu>
  3. # Fri Feb 10 10:04:51 EST 1995
  4. #
  5. # Use   Configure -Dcc=gcc   to use gcc.
  6. #
  7. # I don't know if -g is really needed.  (AD)
  8. case "$optimize" in
  9. '') optimize=-g ;;
  10. esac
  11.  
  12. case "$myuname" in
  13. *risc*) cat <<EOF
  14. Note that there is a bug in some versions of NFS on the DECStation that
  15. may cause utime() to work incorrectly.  If so, regression test io/fs
  16. may fail if run under NFS.  Ignore the failure.
  17. EOF
  18. esac
  19.  
  20. # Compiler flags that depend on osversion:
  21. case "$cc" in
  22. *gcc*) ;;
  23. *)
  24.     case "$osvers" in
  25.     *4.1*)    ccflags="$ccflags -DLANGUAGE_C -Olimit 2900" ;;
  26.     *4.2*)    ccflags="$ccflags -DLANGUAGE_C -Olimit 2900"
  27.         case "$myuname" in
  28.         *risc*)  d_volatile=undef ;;
  29.         esac
  30.         ;;
  31.     *4.3*)    ccflags="$ccflags -std1 -DLANGUAGE_C -Olimit 2900" ;;
  32.     *)    ccflags="$ccflags -std -Olimit 2900" ;;
  33.     esac
  34.     ;;
  35. esac
  36.  
  37. # Other settings that depend on $osvers:
  38. case "$osvers" in
  39. *4.1*)    ;;
  40. *4.2*)    libswanted=`echo $libswanted | sed 's/ malloc / /'` ;;
  41. *4.3*)    ;;
  42. *)    ranlib='ranlib' ;;
  43. esac
  44.  
  45. groupstype='int'
  46.