perl/hints/machten_2.sh
<<
>>
Prefs
   1# machten.sh
   2# This file has been put together by Mark Pease <peasem@primenet.com>
   3# Comments, questions, and improvements welcome!
   4#
   5# MachTen does not support dynamic loading. If you wish to, you
   6# can fetch, compile, and install the dld package.
   7# This ought to work with the ext/DynaLoader/dl_dld.xs in the 
   8# perl5 package. Have fun!
   9# Some possible locations for dld:
  10# ftp-swiss.ai.mit.edu:pub/scm/dld-3.2.7.tar.gz
  11# prep.ai.mit.edu:/pub/gnu/jacal/dld-3.2.7.tar.gz
  12# ftp.cs.indiana.edu:/pub/scheme-repository/imp/SCM-support/dld-3.2.7.tar.gz
  13# tsx-11.mit.edu:/pub/linux/sources/libs/dld-3.2.7.tar.gz
  14#
  15#  Original version was for MachTen 2.1.1.
  16#  Last modified by Andy Dougherty   <doughera@lafayette.edu>
  17#  Tue Aug 13 12:31:01 EDT 1996
  18#
  19#  Warning about tests which no longer fail
  20#    fixed by Tom Phoenix <rootbeer@teleport.com>
  21#  March 5, 1997
  22#
  23#  Locale, optimization, and malloc changes by Tom Phoenix Mar 15, 1997
  24#
  25#  groupstype change and note about t/lib/findbin.t by Tom, Mar 24, 1997
  26
  27# MachTen's ability to have valid filepaths beginning with "//" may
  28# be causing lib/FindBin.pm to fail. I don't know how to fix it, but
  29# the reader is encouraged to do so! :-)  -- Tom
  30
  31# There seem to be some hard-to-diagnose problems under MachTen's
  32# malloc, so we'll use Perl's. If you have problems which Perl's
  33# malloc's diagnostics can't help you with, you may wish to use
  34# MachTen's malloc after all.
  35case "$usemymalloc" in
  36'') usemymalloc='y' ;;
  37esac
  38
  39# I (Tom Phoenix) don't know how to test for locales on MachTen. (If
  40# you do, please fix this hints file!) But since mine didn't come
  41# with locales working out of the box, I'll assume that's the case
  42# for most folks.
  43case "$d_setlocale" in
  44'') d_setlocale=undef
  45esac
  46
  47# MachTen doesn't have secure setid scripts
  48d_suidsafe='undef'
  49
  50# groupstype should be gid_t, as near as I can tell, but it only
  51# seems to work right when it's int. 
  52groupstype='int'
  53
  54case "$optimize" in
  55'') optimize='-O2' ;;
  56esac
  57
  58so='none'
  59# These are useful only if you have DLD, but harmless otherwise.
  60# Make sure gcc doesn't use -fpic.
  61cccdlflags=' '  # That's an empty space.
  62lddlflags='-r'
  63dlext='o'
  64
  65# MachTen does not support POSIX enough to compile the POSIX module.
  66useposix=false
  67
  68#MachTen might have an incomplete Berkeley DB implementation.
  69i_db=$undef
  70
  71#MachTen versions 2.X have no hard links.  This variable is used
  72# by File::Find.
  73# This will generate a harmless message:
  74# Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
  75#       Propagating recommended variable dont_use_nlink
  76# Without this, tests io/fs #4 and op/stat #3 will fail.
  77dont_use_nlink=define
  78
  79cat <<'EOM' >&4
  80
  81At the end of Configure, you will see a harmless message
  82
  83Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
  84        Propagating recommended variable dont_use_nlink
  85
  86Read the File::Find documentation for more information.
  87
  88It's possible that test t/lib/findbin.t will fail on some configurations
  89of MachTen.
  90
  91EOM
  92
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.