Better to "quote" the pathname.
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 23 Nov 2001 18:47:17 +0000 (18:47 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 23 Nov 2001 18:47:17 +0000 (18:47 +0000)
p4raw-id: //depot/perl@13216

Configure
config_h.SH

index a3246da..9f365b4 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
 
 # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
 #
-# Generated on Fri Nov 23 21:31:36 EET 2001 [metaconfig 3.0 PL70]
+# Generated on Fri Nov 23 21:46:25 EET 2001 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.org)
 
 cat >c1$$ <<EOF
@@ -11521,7 +11521,7 @@ case "$d_readlink" in
                $ls -l /proc/self/exe > reflect
                if $contains /`basename $ls` reflect >/dev/null 2>&1; then
                        echo "You have Linux-like /proc/self/exe."
-                       procselfexe=/proc/self/exe
+                       procselfexe='"/proc/self/exe"'
                        val="$define"
                        break
                fi
@@ -11530,7 +11530,7 @@ case "$d_readlink" in
                $ls -l /proc/curproc/file > reflect
                if $contains /`basename $ls` reflect >/dev/null 2>&1; then
                        echo "You have BSD-like /proc/curproc/file."
-                       procselfexe=/proc/curproc/file
+                       procselfexe='"/proc/curproc/file"'
                        val="$define"
                        break
                fi
index bc2f6b4..8d61ac9 100644 (file)
@@ -3527,6 +3527,11 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     This symbol is defined if PROCSELFEXE_PATH is a symlink
  *     to the absolute pathname of the executing program.
  */
+/* PROCSELFEXE_PATH:
+ *     If HAS_PROCSELFEXE is defined this symbol is the filename
+ *     of the symbolic link pointing to the absolute pathname of
+ *     the executing program.
+ */
 #$d_procselfexe HAS_PROCSELFEXE        /**/
 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
 #define PROCSELFEXE_PATH       $procselfexe    /**/