Subject: Re: Perl's handling of environ breaks on Solaris 10
Message-ID: <
20051010125117.GA27566@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@25733
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Mon Sep 12 15:44:06 CEST 2005 [metaconfig 3.0 PL70]
+# Generated on Mon Oct 10 16:08:59 CEST 2005 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
d_semctl_semun=''
d_union_semun=''
d_unordered=''
+d_unsetenv=''
d_usleep=''
d_usleepproto=''
d_ustat=''
set unordered d_unordered
eval $inlibc
+: see if unsetenv exists
+set unsetenv d_unsetenv
+eval $inlibc
+
: see if usleep exists
set usleep d_usleep
eval $inlibc
d_uname='$d_uname'
d_union_semun='$d_union_semun'
d_unordered='$d_unordered'
+d_unsetenv='$d_unsetenv'
d_usleep='$d_usleep'
d_usleepproto='$d_usleepproto'
d_ustat='$d_ustat'
This variable conditionally defines the HAS_UNORDERED symbol, which
indicates to the C program that the unordered() routine is available.
+d_unsetenv (d_unsetenv.U):
+ This variable conditionally defines the HAS_UNSETENV symbol, which
+ indicates to the C program that the unsetenv () routine is available.
+
d_usleep (d_usleep.U):
This variable conditionally defines HAS_USLEEP if usleep() is
available to do high granularity sleeps.
*/
#$d_unordered HAS_UNORDERED /**/
+/* HAS_UNSETENV:
+ * This symbol, if defined, indicates that the unsetenv () routine is
+ * available for use.
+ */
+#$d_unsetenv HAS_UNSETENV /**/
+
/* HAS_USTAT:
* This symbol, if defined, indicates that the ustat system call is
* available to query file system statistics by dev_t.
#endif
/* HMB H.Merijn Brand - a placeholder for preparing Configure patches */
-#if defined(HAS_MALLOC_SIZE) && defined(HAS_MALLOC_GOOD_SIZE)
+#if defined(HAS_MALLOC_SIZE) && defined(HAS_MALLOC_GOOD_SIZE) && defined(HAS_UNSETENV)
/* Not (yet) used at top level, but mention them for metaconfig */
#endif