MPE/iX update (mirror maint-5.005 change #2715)
[p5sagit/p5-mst-13.2.git] / hints / mpeix.sh
CommitLineData
1d84e8df 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
4# nm.
5#
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.
9#
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.
13#
1aef975c 14osname='mpeix'
1d84e8df 15osvers='5.5'
16#
17# Force Configure to use our wrapper mpeix/nm script
18#
19PATH="$PWD/mpeix:$PATH"
20nm="$PWD/mpeix/nm"
21_nm=$nm
22nm_opt='-configperl'
23usenm='true'
24#
25# Various directory locations.
26#
27prefix='/PERL/PUB'
28archname='PA-RISC1.1'
29bin="$prefix"
30installman1dir="$prefix/man/man1"
31installman3dir="$prefix/man/man3"
32man1dir="$prefix/man/man1"
33man3dir="$prefix/man/man3"
34perlpath="$prefix/PERL"
35scriptdir="$prefix"
203df805 36startperl="#!$prefix/perl"
1d84e8df 37startsh='#!/bin/sh'
38#
39# Compiling.
40#
41cc='gcc'
42cccdlflags='none'
43ccflags='-DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_POSIX_JOB_CONTROL -DIS_SOCKET_CLIB_ITSELF'
44locincpth='/usr/local/include /usr/contrib/include /BIND/PUB/include'
45optimize='-O2'
46ranlib='/bin/true'
47# Special compiling options for certain source files.
48regcomp_cflags='optimize=-O'
49toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'
50#
51# Linking.
52#
53lddlflags='-b'
66697e57 54libs='-lbind -lsyslog -lcurses -lsvipc -lsocket -lm -lc'
55loclibpth='/usr/local/lib /usr/contrib/lib /BIND/PUB/lib /SYSLOG/PUB'
1d84e8df 56#
57# External functions and data items.
58#
59d_crypt='define'
60d_difftime='define'
61d_dlerror='undef'
62d_dlopen='undef'
63d_Gconvert='gcvt((x),(n),(b))'
64d_inetaton='undef'
1aef975c 65d_link='undef'
1d84e8df 66d_mblen='define'
67d_mbstowcs='define'
68d_mbtowc='define'
69d_memcmp='define'
70d_memcpy='define'
71d_memmove='define'
72d_memset='define'
73d_pwage='undef'
1aef975c 74d_pwcomment='undef'
1d84e8df 75d_pwgecos='undef'
76d_pwpasswd='undef'
77d_setpgid='undef'
78d_setsid='undef'
79d_setvbuf='define'
1aef975c 80d_statblks='undef'
1d84e8df 81d_strchr='define'
82d_strcoll='define'
83d_strerrm='strerror(e)'
84d_strerror='define'
85d_strtod='define'
86d_strtol='define'
87d_strtoul='define'
88d_strxfrm='define'
89d_syserrlst='define'
90d_time='define'
91d_wcstombs='define'
92d_wctomb='define'
93#
94# Include files.
95#
1aef975c 96i_termios='undef'
1d84e8df 97i_time='define'
98i_systime='undef'
99i_systimek='undef'
100timeincl='/usr/include/time.h'
101#
102# Data types.
103#
104timetype='time_t'