summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/hints/powerux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/hints/powerux.sh')
-rw-r--r--contrib/perl5/hints/powerux.sh17
1 files changed, 16 insertions, 1 deletions
diff --git a/contrib/perl5/hints/powerux.sh b/contrib/perl5/hints/powerux.sh
index 6d6bac0..4070c01 100644
--- a/contrib/perl5/hints/powerux.sh
+++ b/contrib/perl5/hints/powerux.sh
@@ -52,7 +52,7 @@ d_csh='undef'
#
cc='/bin/cc'
cccdlflags='-Zpic'
-ccdlflags='-Zlink=dynamic -Wl,-Bexport'
+ccdlflags='-Zlink=dynamic -Wl,-usys_nerr -Wl,-Bexport'
lddlflags='-Zlink=so'
# Configure sometime finds what it believes to be ndbm header files on the
@@ -63,6 +63,12 @@ lddlflags='-Zlink=so'
#
i_ndbm='undef'
+# I have no clude what perl thinks it wants <sys/mode.h> for, but if
+# you include it in a program in PowerMAX without first including
+# <sys/vnode.h> the code don't compile...
+#
+i_sysmode='undef'
+
# There is a bug in memcmp (which I hope will be fixed soon) which sometimes
# fails to provide the correct compare status (it is data dependant), so just
# pretend there is no memcmp...
@@ -85,6 +91,15 @@ useshrplib='false'
#
dont_use_nlink=define
+# Configure comes up with the wrong type for these for some reason. The
+# pointers shouldn't have const in them. (And it looks like I have to
+# provide netdb_hlen_type as well becuase when I predefine the others it
+# comes up empty :-).
+#
+netdb_host_type='char *'
+netdb_name_type='char *'
+netdb_hlen_type='int'
+
# Misc other flags that might be able to change, but I know these work right.
#
d_suidsafe='define'
OpenPOWER on IntegriCloud