summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2005-03-30 14:17:40 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-03-30 14:17:40 +0000
commit5f106f9c27148e746d86e2ea943381cda96398b4 (patch)
treeb5b5b2284e9a485e91098c04bd6ff90ab91647a6
parentcae3d67c6ac216abcbe9b6832a607768c0fe4ccf (diff)
downloadperl-5f106f9c27148e746d86e2ea943381cda96398b4.tar.gz
Support for -Dusesitecustomize
p4raw-id: //depot/perl@24104
-rwxr-xr-xConfigure17
-rw-r--r--config_h.SH6
2 files changed, 22 insertions, 1 deletions
diff --git a/Configure b/Configure
index e52f8e9ad5..4aaa8f8d0a 100755
--- 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'
diff --git a/config_h.SH b/config_h.SH
index fa9f80de5a..575e19d8f4 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -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.
*/