This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Support for -Dusesitecustomize
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Wed, 30 Mar 2005 14:17:40 +0000 (14:17 +0000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Wed, 30 Mar 2005 14:17:40 +0000 (14:17 +0000)
p4raw-id: //depot/perl@24104

Configure
config_h.SH

index e52f8e9..4aaa8f8 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 Mon Jan 31 12:56:14 CET 2005 [metaconfig 3.0 PL70]
+# Generated on Wed Mar 30 16:17:23 CEST 2005 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.org)
 
 cat >c1$$ <<EOF
@@ -663,6 +663,8 @@ d_shmget=''
 d_sigaction=''
 d_sigprocmask=''
 d_sigsetjmp=''
+d_sitecustomize=''
+usesitecustomize=''
 d_sockatmark=''
 d_sockatmarkproto=''
 d_msg_ctrunc=''
@@ -16131,6 +16133,17 @@ set d_sigsetjmp
 eval $setvar
 $rm -f try.c try
 
+
+d_sitecustomize="$undef"
+case "$usesitecustomize" in
+    $define|true|[Yy]*)
+       usesitecustomize="$define"
+       d_sitecustomize="$define"
+       ;;
+    *)
+       usesitecustomize="$undef"
+    esac
+
 : see if sockatmark exists
 set sockatmark d_sockatmark
 eval $inlibc
@@ -20871,6 +20884,7 @@ d_shmget='$d_shmget'
 d_sigaction='$d_sigaction'
 d_sigprocmask='$d_sigprocmask'
 d_sigsetjmp='$d_sigsetjmp'
+d_sitecustomize='$d_sitecustomize'
 d_sockatmark='$d_sockatmark'
 d_sockatmarkproto='$d_sockatmarkproto'
 d_socket='$d_socket'
@@ -21438,6 +21452,7 @@ usereentrant='$usereentrant'
 userelocatableinc='$userelocatableinc'
 usesfio='$usesfio'
 useshrplib='$useshrplib'
+usesitecustomize='$usesitecustomize'
 usesocks='$usesocks'
 usethreads='$usethreads'
 usevendorprefix='$usevendorprefix'
index fa9f80d..575e19d 100644 (file)
@@ -3470,6 +3470,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #define SITELIB_EXP "$sitelibexp"              /**/
 #define SITELIB_STEM "$sitelib_stem"           /**/
 
+/* USE_SITECUSTOMIZE:
+ *    This symbol, if defined, indicates that sitecustomize should
+ *    be used.
+ */
+#$d_sitecustomize     USE_SITECUSTOMIZE               /**/
+
 /* Size_t_size:
  *     This symbol holds the size of a Size_t in bytes.
  */