summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-23 18:31:13 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-23 18:31:13 +0000
commitaa9433476366188718266aea79d77b51110968a5 (patch)
tree4ca5f73118a66c5418695d2022f91eab4120fb77 /config_h.SH
parentc0d452692e1dc21120325c9a8697731be4416ad3 (diff)
downloadperl-aa9433476366188718266aea79d77b51110968a5.tar.gz
Add probing for BSD-like /proc/curproc/file.
p4raw-id: //depot/perl@13213
Diffstat (limited to 'config_h.SH')
-rw-r--r--config_h.SH7
1 files changed, 5 insertions, 2 deletions
diff --git a/config_h.SH b/config_h.SH
index 381d2581d5..bc2f6b49e7 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -3524,10 +3524,13 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
#$d_nl_langinfo HAS_NL_LANGINFO /**/
/* HAS_PROCSELFEXE:
- * This symbol is defined if /proc/self/exe is a symlink
- * to the executing program.
+ * This symbol is defined if PROCSELFEXE_PATH is a symlink
+ * to the absolute pathname of the executing program.
*/
#$d_procselfexe HAS_PROCSELFEXE /**/
+#if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
+#define PROCSELFEXE_PATH $procselfexe /**/
+#endif
/* HAS_SIGPROCMASK:
* This symbol, if defined, indicates that the sigprocmask