summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Roy <roy@idle.com>1998-12-13 17:22:49 -0500
committerJarkko Hietaniemi <jhi@iki.fi>1998-12-14 16:00:22 +0000
commitea5147f16d875cf5777649e3b3031848e832d03d (patch)
tree1bd0dbfabcc16945eac053048b1c3e04e7e66bc9
parentcc628cc3888218d0946be2424363b397261343b9 (diff)
downloadperl-ea5147f16d875cf5777649e3b3031848e832d03d.tar.gz
nlist.h not yet Configure-probed but DynaLoader Linux-hinted.
To: perl5-porters@perl.org Subject: nlist.h add to Configure checks? Message-Id: <4.1.19981213221847.00a3e100@pop-server.tampabay.rr.com> p4raw-id: //depot/cfgperl@2481
-rw-r--r--MANIFEST1
-rw-r--r--ext/DynaLoader/hints/linux.pl4
2 files changed, 5 insertions, 0 deletions
diff --git a/MANIFEST b/MANIFEST
index 1e2fac574a..2e2cd74b61 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -216,6 +216,7 @@ ext/DynaLoader/dl_none.xs Stub implementation
ext/DynaLoader/dl_vms.xs VMS implementation
ext/DynaLoader/dl_vmesa.xs VM/ESA implementation
ext/DynaLoader/dlutils.c Dynamic loader utilities for dl_*.xs files
+ext/DynaLoader/hints/linux.pl Hint for DynaLoader for named architecture
ext/Errno/ChangeLog Errno perl module change log
ext/Errno/Errno_pm.PL Errno perl module create script
ext/Errno/Makefile.PL Errno extension makefile writer
diff --git a/ext/DynaLoader/hints/linux.pl b/ext/DynaLoader/hints/linux.pl
new file mode 100644
index 0000000000..06f4f4c1f8
--- /dev/null
+++ b/ext/DynaLoader/hints/linux.pl
@@ -0,0 +1,4 @@
+# XXX Configure test needed.
+# Some Linux releases like to hide their <nlist.h>
+$self->{CCFLAGS} = $Config{ccflags} . ' -I/usr/include/libelf'
+ if -f "/usr/include/libelf/nlist.h";