This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
nlist.h not yet Configure-probed but DynaLoader Linux-hinted.
authorJonathan Roy <roy@idle.com>
Sun, 13 Dec 1998 22:22:49 +0000 (17:22 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 14 Dec 1998 16:00:22 +0000 (16:00 +0000)
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

MANIFEST
ext/DynaLoader/hints/linux.pl [new file with mode: 0644]

index 1e2fac5..2e2cd74 100644 (file)
--- 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 (file)
index 0000000..06f4f4c
--- /dev/null
@@ -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";