summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2012-01-09 18:10:21 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2012-01-09 18:10:21 +0100
commit269a7913af37c73e7822a085898f90d15d896882 (patch)
treec7ccba403affe7b92355a82e0b77fdfb8e77a378 /Configure
parent71481574542a78998bec6e39bd4f238a5619f7cd (diff)
downloadperl-269a7913af37c73e7822a085898f90d15d896882.tar.gz
Add probe for isblank() (requested by khw)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure28
1 files changed, 27 insertions, 1 deletions
diff --git a/Configure b/Configure
index 1a17a7ea28..6f4a02d191 100755
--- a/Configure
+++ b/Configure
@@ -28,7 +28,7 @@
# See Porting/pumpkin.pod for more information on metaconfig.
#
-# Generated on Sat Oct 1 12:33:17 CEST 2011 [metaconfig 3.5 PL0]
+# Generated on Mon Jan 9 17:49:14 CET 2012 [metaconfig 3.5 PL0]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -565,6 +565,7 @@ d_inetntop=''
d_inetpton=''
d_int64_t=''
d_isascii=''
+d_isblank=''
d_isfinite=''
d_isinf=''
d_isnan=''
@@ -14929,6 +14930,30 @@ set d_isascii
eval $setvar
$rm -f isascii*
+: Look for isblank
+echo " "
+$cat >isblank.c <<'EOCP'
+#include <stdio.h>
+#include <ctype.h>
+int main() {
+ int c = 'A';
+ if (isblank(c))
+ exit(0);
+ else
+ exit(1);
+}
+EOCP
+if $cc $ccflags $ldflags -o isblank isblank.c $libs >/dev/null 2>&1 ; then
+ echo "isblank() found." >&4
+ val="$define"
+else
+ echo "isblank() NOT found." >&4
+ val="$undef"
+fi
+set d_isblank
+eval $setvar
+$rm -f isblank*
+
: see if isfinite exists
set isfinite d_isfinite
eval $inlibc
@@ -22906,6 +22931,7 @@ d_inetntop='$d_inetntop'
d_inetpton='$d_inetpton'
d_int64_t='$d_int64_t'
d_isascii='$d_isascii'
+d_isblank='$d_isblank'
d_isfinite='$d_isfinite'
d_isinf='$d_isinf'
d_isnan='$d_isnan'