nlist.h not yet Configure-probed but DynaLoader Linux-hinted.
Jonathan Roy [Sun, 13 Dec 1998 22:22:49 +0000 (17:22 -0500)]
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";