3 # hints file for BSD/OS 2.x (adapted from bsd386.sh)
4 # Original by Neil Bowers <neilb@khoros.unm.edu>
5 # Tue Oct 4 12:01:34 EDT 1994
6 # Updated by Tony Sanders <sanders@bsdi.com>
7 # Mon Nov 27 17:25:51 CST 1995
9 # You can override the compiler and loader on the Configure command line:
10 # ./Configure -Dcc=shlicc2 -Dld=shlicc2
12 # filename extension for shared library objects
15 # Don't use this for Perl 5.002, which needs parallel sig_name and sig_num lists
16 #sig_name='ZERO HUP INT QUIT ILL TRAP IOT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH INFO USR1 USR2 '
20 # we don't want to use -lnm, since exp() is busted (in 1.1 anyway)
21 set `echo X "$libswanted "| sed -e 's/ nm / /'`
25 # BSD/OS X libraries are in their own tree
26 glibpth="$glibpth /usr/X11/lib"
27 ldflags="$ldflags -L/usr/X11/lib"
29 # Avoid telldir prototype conflict in pp_sys.c
30 pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'
32 case "$bsdos_distribution" in
36 man3dir='/usr/contrib/man/man3'
42 # Avoid problems with HUGE_VAL in POSIX in 1.0's cc.
43 POSIX_cflags='ccflags="$ccflags -UHUGE_VAL"'
52 # default to GCC 2.X w/shared libraries
57 # default ld to shared library linker
62 # setre?[ug]id() have been replaced by the _POSIX_SAVED_IDS stuff
63 # in 4.4BSD-based systems (including BSD/OS 2.0 and later).
64 # See http://www.bsdi.com/bsdi-man?setuid(2)
71 # Use 2.1's shlicc2 for dynamic linking
72 # Since cc -o is linking, use it for compiling too.
73 # I'm not sure whether Configure is careful about
74 # distinguishing between the two.
78 cccdlflags=' ' ;; # Avoid the dreaded -fpic
81 # Link with shared libraries in 2.1
82 # Turns out that shlicc2 will automatically use the
83 # shared libs, so don't explicitly specify -lc_s.2.1.*
86 lddlflags='-r' ;; # this one is necessary
89 # setre?[ug]id() have been replaced by the _POSIX_SAVED_IDS stuff
90 # in 4.4BSD-based systems (including BSD/OS 2.0 and later).
91 # See http://www.bsdi.com/bsdi-man?setuid(2)
92 # This stuff may or may not be right, but it works.
98 # based on the 5.001m hints file from BSD/OS source disk
99 # (this is needed for pTk to work)
101 # BSD/OS 2.1 doesn't (yet) support true dynamic linking.
102 # So we "preload' the shared libraries by linking against
103 # them, even though we don't pull in any symbols thereby.
104 libswanted="Xpm Xaw Xmu Xt SM ICE Xext X11 $libswanted"
105 libswanted="rpc curses termcap $libswanted"
109 # adapted from 2.1 entry by Christopher Davis <ckd@kei.com
110 # Use 3.0's shlicc2 for dynamic linking
111 # Since cc -o is linking, use it for compiling too.
112 # I'm not sure whether Configure is careful about
113 # distinguishing between the two.
117 cccdlflags=' ' ;; # Avoid the dreaded -fpic
120 # Link with shared libraries in 3.0
121 # Turns out that shlicc2 will automatically use the
122 # shared libs, so don't explicitly specify them
125 lddlflags='-r' ;; # this one is necessary
128 # setre?[ug]id() have been replaced by the _POSIX_SAVED_IDS stuff
129 # in 4.4BSD-based systems (including BSD/OS 2.0 and later).
130 # See http://www.bsdi.com/bsdi-man?setuid(2)
131 # This stuff may or may not be right, but it works.
137 # this may still be needed for Tk and such
138 # BSD/OS doesn't (yet) support true dynamic linking.
139 # So we "preload' the shared libraries by linking against
140 # them, even though we don't pull in any symbols thereby.
141 libswanted="Xpm Xaw Xmu Xt SM ICE Xext X11 $libswanted"
142 libswanted="rpc curses termcap $libswanted"
144 # the IPC stuff doesn't work the way perl expects
156 d_shmatprototype='undef'
161 # use system malloc instead of perl's