This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate with Sarathy.
[perl5.git] / hints / mpeix.sh
CommitLineData
1d84e8df
JH
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'
c22e42be 15osvers='5.5' # Isn't there a way to determine this dynamically?
1d84e8df
JH
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#
c22e42be
AD
27# Which ones of these does Configure get wrong?
28test -z "$prefix" && prefix='/PERL/PUB'
1d84e8df
JH
29archname='PA-RISC1.1'
30bin="$prefix"
31installman1dir="$prefix/man/man1"
32installman3dir="$prefix/man/man3"
33man1dir="$prefix/man/man1"
34man3dir="$prefix/man/man3"
35perlpath="$prefix/PERL"
36scriptdir="$prefix"
203df805 37startperl="#!$prefix/perl"
1d84e8df
JH
38startsh='#!/bin/sh'
39#
40# Compiling.
41#
c22e42be 42test -z "$cc" && cc='gcc'
1d84e8df 43cccdlflags='none'
c22e42be
AD
44ccflags="$ccflags -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_POSIX_JOB_CONTROL -DIS_SOCKET_CLIB_ITSELF"
45locincpth="$locincpth /usr/local/include /usr/contrib/include /BIND/PUB/include"
46test -z "$optimize" && optimize="-O2"
1d84e8df
JH
47ranlib='/bin/true'
48# Special compiling options for certain source files.
c22e42be 49# But what if you want -g?
1d84e8df
JH
50regcomp_cflags='optimize=-O'
51toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'
52#
53# Linking.
54#
55lddlflags='-b'
c22e42be
AD
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.
59libs="$libs -lbind -lsyslog -lcurses -lsvipc -lsocket -lm -lc"
60loclibpth="$loclibpth /usr/local/lib /usr/contrib/lib /BIND/PUB/lib /SYSLOG/PUB"
1d84e8df
JH
61#
62# External functions and data items.
63#
c22e42be
AD
64# Does Configure *really* get *all* of these wrong?
65#
1d84e8df
JH
66d_crypt='define'
67d_difftime='define'
68d_dlerror='undef'
69d_dlopen='undef'
70d_Gconvert='gcvt((x),(n),(b))'
71d_inetaton='undef'
1aef975c 72d_link='undef'
1d84e8df
JH
73d_mblen='define'
74d_mbstowcs='define'
75d_mbtowc='define'
76d_memcmp='define'
77d_memcpy='define'
78d_memmove='define'
79d_memset='define'
80d_pwage='undef'
1aef975c 81d_pwcomment='undef'
1d84e8df
JH
82d_pwgecos='undef'
83d_pwpasswd='undef'
84d_setpgid='undef'
85d_setsid='undef'
86d_setvbuf='define'
1aef975c 87d_statblks='undef'
1d84e8df
JH
88d_strchr='define'
89d_strcoll='define'
90d_strerrm='strerror(e)'
91d_strerror='define'
92d_strtod='define'
93d_strtol='define'
94d_strtoul='define'
95d_strxfrm='define'
96d_syserrlst='define'
97d_time='define'
98d_wcstombs='define'
99d_wctomb='define'
100#
101# Include files.
102#
1aef975c 103i_termios='undef'
1d84e8df
JH
104i_time='define'
105i_systime='undef'
106i_systimek='undef'
107timeincl='/usr/include/time.h'
108#
109# Data types.
110#
111timetype='time_t'