2 # Courtesy of Joel Rosi-Schwartz <joel@ftechne.co.uk>
3 # To use gcc, do Configure -Dcc=gcc
5 # Try to use libintl.a since it has strcoll and strxfrm
6 libswanted="intl $libswanted"
7 # Try to use libdbm.nfs.a since it has dbmclose.
9 if test -f /usr/lib/libdbm.nfs.a ; then
10 libswanted=`echo "dbm.nfs $libswanted " | sed -e 's/ dbm / /'`
16 # We don't want Xenix cross-development libraries
17 glibpth=`echo $glibpth | sed -e 's! /usr/lib/386 ! !' -e 's! /lib/386 ! !'`
22 ccflags="$ccflags -U M_XENIX"
23 optimize="$optimize -O2"
28 # Apparently, SCO's cc gives rather verbose warnings
29 # Set -w0 to turn them off.
30 ccflags="$ccflags -w0 -U M_XENIX"
35 # I have received one report that nm extraction doesn't work if you're
36 # using the scocc compiler. This system had the following 'myconfig'
37 # uname='xxx xxx 3.2 2 i386 '
38 # cc='scocc', optimize='-O'
41 # If you want to use nm, you'll probably have to use nm -p. The
42 # following does that for you:
45 # I have received one report that you can't include utime.h in
46 # pp_sys.c. Uncomment the following line if that happens to you:
49 # Apparently, some versions of SCO include both .so and .a libraries,
50 # but they don't mix as they do on other ELF systems. The upshot is
51 # that Configure finds -ldl (libdl.so) but 'ld' complains it can't
53 # I don't know which systems have this feature, so I'll just remove
54 # -dl from libswanted for all SCO systems until someone can figure
55 # out how to get dynamic loading working on SCO.
57 # The output of uname -X on one such system was
70 # The 5.0.0 on the Release= line is probably the thing to watch.
71 # Andy Dougherty <doughera@lafcol.lafayette.edu>
72 # Thu Feb 1 15:06:56 EST 1996
73 libswanted=`echo " $libswanted " | sed -e 's/ dl / /'`