summaryrefslogtreecommitdiff
path: root/hints/mpeix.sh
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>1999-09-28 08:20:50 -0400
committerJarkko Hietaniemi <jhi@iki.fi>1999-09-28 18:14:39 +0000
commitc22e42be2432273165175c9218ee7b6238bfca24 (patch)
tree7ca292a339c471433f9d12ab26120dfcde62f74e /hints/mpeix.sh
parentcc50ac46d6f5968c34044ce7c501b06af15fc51a (diff)
downloadperl-c22e42be2432273165175c9218ee7b6238bfca24.tar.gz
To: Perl Porters <perl5-porters@perl.org>
Subject: [PATCH 5.005_xx] Re: [Config 5.005_03] -DDEBUGGING Date: Tue, 28 Sep 1999 12:20:50 -0400 (EDT) Message-ID: <Pine.SOL.4.10.9909281019360.1890-100000@maxwell.phys.lafayette.edu> From: Andy Dougherty <doughera@lafayette.edu> To: Perl Porters <perl5-porters@perl.org> Subject: [ANOTHER PATCH 5.005_61] Re: [Config 5.005_03] -DDEBUGGING Date: Tue, 28 Sep 1999 13:39:49 -0400 (EDT) Message-ID: <Pine.SOL.4.10.9909281338180.2012-100000@maxwell.phys.lafayette.edu> p4raw-id: //depot/cfgperl@4248
Diffstat (limited to 'hints/mpeix.sh')
-rw-r--r--hints/mpeix.sh23
1 files changed, 15 insertions, 8 deletions
diff --git a/hints/mpeix.sh b/hints/mpeix.sh
index 9ebb0bad1e..556d22148c 100644
--- a/hints/mpeix.sh
+++ b/hints/mpeix.sh
@@ -12,7 +12,7 @@
# Revised again for 5.004_69 by Mark Bixby, markb@cccd.edu.
#
osname='mpeix'
-osvers='5.5'
+osvers='5.5' # Isn't there a way to determine this dynamically?
#
# Force Configure to use our wrapper mpeix/nm script
#
@@ -24,7 +24,8 @@ usenm='true'
#
# Various directory locations.
#
-prefix='/PERL/PUB'
+# Which ones of these does Configure get wrong?
+test -z "$prefix" && prefix='/PERL/PUB'
archname='PA-RISC1.1'
bin="$prefix"
installman1dir="$prefix/man/man1"
@@ -38,24 +39,30 @@ startsh='#!/bin/sh'
#
# Compiling.
#
-cc='gcc'
+test -z "$cc" && cc='gcc'
cccdlflags='none'
-ccflags='-DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_POSIX_JOB_CONTROL -DIS_SOCKET_CLIB_ITSELF'
-locincpth='/usr/local/include /usr/contrib/include /BIND/PUB/include'
-optimize='-O2'
+ccflags="$ccflags -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_POSIX_JOB_CONTROL -DIS_SOCKET_CLIB_ITSELF"
+locincpth="$locincpth /usr/local/include /usr/contrib/include /BIND/PUB/include"
+test -z "$optimize" && optimize="-O2"
ranlib='/bin/true'
# Special compiling options for certain source files.
+# But what if you want -g?
regcomp_cflags='optimize=-O'
toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'
#
# Linking.
#
lddlflags='-b'
-libs='-lbind -lsyslog -lcurses -lsvipc -lsocket -lm -lc'
-loclibpth='/usr/local/lib /usr/contrib/lib /BIND/PUB/lib /SYSLOG/PUB'
+# What if you want additional libs (e.g. gdbm)?
+# This should remove the unwanted libraries from $libswanted and
+# add on whatever ones are needed instead.
+libs="$libs -lbind -lsyslog -lcurses -lsvipc -lsocket -lm -lc"
+loclibpth="$loclibpth /usr/local/lib /usr/contrib/lib /BIND/PUB/lib /SYSLOG/PUB"
#
# External functions and data items.
#
+# Does Configure *really* get *all* of these wrong?
+#
d_crypt='define'
d_difftime='define'
d_dlerror='undef'