i_vfork=''
inc_version_list=''
inc_version_list_init=''
+d_inc_version_list=''
installprefix=''
installprefixexp=''
installstyle=''
installsitearch=''
sitearch=''
sitearchexp=''
+d_sitearch=''
installsitebin=''
sitebin=''
sitebinexp=''
. ./getfile
prefixvar=sitearch
. ./setprefixvar
+if $test X"$sitearch" = X"$sitelib"; then
+ d_sitearch="$undef"
+else
+ d_sitearch="$define"
+fi
$cat <<EOM
esac
case "$inc_version_list" in
''|' ')
- inc_version_list_init='0';;
+ inc_version_list_init='0'
+ d_inc_version_list="$undef"
+ ;;
*) inc_version_list_init=`echo $inc_version_list |
$sed -e 's/^/"/' -e 's/ /","/g' -e 's/$/",0/'`
+ d_inc_version_list="$define"
;;
esac
$rm -f getverlist
d_hasmntopt='$d_hasmntopt'
d_htonl='$d_htonl'
d_ilogbl='$d_ilogbl'
+d_inc_version_list="$d_inc_version_list"
d_index='$d_index'
d_inetaton='$d_inetaton'
d_int64_t='$d_int64_t'
d_sigaction='$d_sigaction'
d_sigprocmask='$d_sigprocmask'
d_sigsetjmp='$d_sigsetjmp'
+d_sitearch='$d_sitearch'
d_snprintf='$d_snprintf'
d_sockatmark='$d_sockatmark'
d_sockatmarkproto='$d_sockatmarkproto'
indicates to the C program that the ilogbl() routine is available.
If scalbnl is also present we can emulate frexpl.
+d_inc_version_list (inc_version_list.U):
+ This variable conditionally defines PERL_INC_VERSION_LIST.
+ It is set to undef when PERL_INC_VERSION_LIST is empty.
+
d_index (d_strchr.U):
This variable conditionally defines HAS_INDEX if index() and
rindex() are available for string searching.
which indicates that the sigsetjmp() routine is available to
call setjmp() and optionally save the process's signal mask.
+d_sitearch (sitearch.U):
+ This variable conditionally defines SITEARCH to hold the pathname
+ of architecture-dependent library files for $package. If
+ $sitearch is the same as $archlib, then this is set to undef.
+
d_sockatmark (d_sockatmark.U):
This variable conditionally defines the HAS_SOCKATMARK symbol, which
indicates to the C program that the sockatmark() routine is available.
* for a C initialization string. See the inc_version_list entry
* in Porting/Glossary for more details.
*/
-#define PERL_INC_VERSION_LIST $inc_version_list_init /**/
+#$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
/* INSTALL_USR_BIN_PERL:
* This symbol, if defined, indicates that Perl is to be installed
* This symbol contains the ~name expanded version of SITEARCH, to be used
* in programs that are not prepared to deal with ~ expansion at run-time.
*/
-#define SITEARCH "$sitearch" /**/
-#define SITEARCH_EXP "$sitearchexp" /**/
+#$d_sitearch SITEARCH "$sitearch" /**/
+#$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
/* SITELIB:
* This symbol contains the name of the private library for this package.
# endif
#endif
-#ifdef SITELIB_STEM /* Search for version-specific dirs below here */
+#if defined(SITELIB_STEM) && defined(PERL_INC_VERSION_LIST)
+ /* Search for version-specific dirs below here */
incpush(SITELIB_STEM, FALSE, TRUE, TRUE, TRUE);
#endif