Cwd::_backtick_pwd does not check return value
[p5sagit/p5-mst-13.2.git] / Configure
index e32c739..52b66cd 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 Tue Aug 15 05:57:14 EET DST 2000 [metaconfig 3.0 PL70]
+# Generated on Wed Aug 16 02:10:47 EET DST 2000 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.com)
 
 cat >/tmp/c1$$ <<EOF
@@ -455,6 +455,7 @@ d_pause=''
 d_pipe=''
 d_poll=''
 d_portable=''
+d_printf_exp_digits=''
 d_old_pthread_create_joinable=''
 old_pthread_create_joinable=''
 d_pthread_yield=''
@@ -1759,7 +1760,7 @@ You may safely delete it if you wish.
 EOF
 
 xpatchlevel=`awk '/define[     ]+PERL_VERSION/ {print $3}' $rsrc/patchlevel.h`
-case "$useunstabledeveloperreleases" in
+case "$usedevel" in
 $define|true|[yY]*) ;;
 *) case "$xpatchlevel" in
    *[13579])
@@ -10479,6 +10480,34 @@ eval $inlibc
 set poll d_poll
 eval $inlibc
 
+echo " "
+echo "Checking how many exponent digits your sprintf formats use..."
+$cat >try.c <<'EOSC'
+#include <stdio.h> 
+int main() {
+  char b[10];
+  exit(sprintf(b, "%0.1e", 1.2) - 5);
+}
+EOSC
+set try
+if eval $compile; then
+       ./try$_exe
+       case "$?" in
+       2|3)    d_printf_exp_digits=$? ;;
+       esac
+fi
+case "$d_printf_exp_digits" in
+2|3)   echo "Your sprintf seems to use $d_printf_exp_digits exponent digits."
+       ;;
+*)     cat <<EOM >&4
+I do not understand what your sprintf is saying.
+I'm guessing it uses at least 2 exponent digits.
+EOM
+       d_printf_exp_digits=2
+       ;;
+esac
+$rm -f try try.*
+
 
 : see whether the various POSIXish _yields exist
 $cat >try.c <<EOP
@@ -15542,6 +15571,7 @@ d_phostname='$d_phostname'
 d_pipe='$d_pipe'
 d_poll='$d_poll'
 d_portable='$d_portable'
+d_printf_exp_digits='$d_printf_exp_digits'
 d_pthread_yield='$d_pthread_yield'
 d_pwage='$d_pwage'
 d_pwchange='$d_pwchange'