1 # The MPE/iX linker doesn't complain about unresolved symbols, and so the only
2 # way to test for unresolved symbols in a program is by attempting to run it.
3 # But this is slow, and fraught with problems, so the better solution is to use
6 # MPE/iX lacks a fully functional native nm, so we need to use our fake nm
7 # script which will extract the symbol info from the native link editor and
8 # reformat into something nm-like.
10 # Created for 5.003 by Mark Klein, mklein@dis.com.
11 # Substantially revised for 5.004_01 by Mark Bixby, markb@cccd.edu.
12 # Revised again for 5.004_69 by Mark Bixby, markb@cccd.edu.
15 osvers='5.5' # Isn't there a way to determine this dynamically?
17 # Force Configure to use our wrapper mpeix/nm script
19 PATH="$PWD/mpeix:$PATH"
25 # Various directory locations.
27 # Which ones of these does Configure get wrong?
28 test -z "$prefix" && prefix='/PERL/PUB'
31 installman1dir="$prefix/man/man1"
32 installman3dir="$prefix/man/man3"
33 man1dir="$prefix/man/man1"
34 man3dir="$prefix/man/man3"
35 perlpath="$prefix/PERL"
37 startperl="#!$prefix/perl"
42 test -z "$cc" && cc='gcc'
44 ccflags="$ccflags -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_POSIX_JOB_CONTROL -DIS_SOCKET_CLIB_ITSELF"
45 locincpth="$locincpth /usr/local/include /usr/contrib/include /BIND/PUB/include"
46 test -z "$optimize" && optimize="-O2"
48 # Special compiling options for certain source files.
49 # But what if you want -g?
50 regcomp_cflags='optimize=-O'
51 toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'
56 # What if you want additional libs (e.g. gdbm)?
57 # This should remove the unwanted libraries from $libswanted and
58 # add on whatever ones are needed instead.
59 libs="$libs -lbind -lsyslog -lcurses -lsvipc -lsocket -lm -lc"
60 loclibpth="$loclibpth /usr/local/lib /usr/contrib/lib /BIND/PUB/lib /SYSLOG/PUB"
62 # External functions and data items.
64 # Does Configure *really* get *all* of these wrong?
70 d_Gconvert='gcvt((x),(n),(b))'
90 d_strerrm='strerror(e)'
107 timeincl='/usr/include/time.h'