diff options
-rwxr-xr-x | Configure | 28 | ||||
-rw-r--r-- | Cross/config.sh-arm-linux | 1 | ||||
-rw-r--r-- | NetWare/config.wc | 1 | ||||
-rw-r--r-- | Porting/Glossary | 12 | ||||
-rw-r--r-- | Porting/config.sh | 1 | ||||
-rwxr-xr-x | config_h.SH | 6 | ||||
-rw-r--r-- | configure.com | 1 | ||||
-rw-r--r-- | epoc/config.sh | 1 | ||||
-rw-r--r-- | metaconfig.h | 3 | ||||
-rw-r--r-- | plan9/config_sh.sample | 1 | ||||
-rw-r--r-- | symbian/config.sh | 1 | ||||
-rw-r--r-- | uconfig.sh | 1 | ||||
-rw-r--r-- | uconfig64.sh | 1 | ||||
-rw-r--r-- | win32/config.ce | 1 | ||||
-rw-r--r-- | win32/config.gc | 1 | ||||
-rw-r--r-- | win32/config.gc64 | 1 | ||||
-rw-r--r-- | win32/config.gc64nox | 1 | ||||
-rw-r--r-- | win32/config.vc | 1 | ||||
-rw-r--r-- | win32/config.vc64 | 1 |
19 files changed, 58 insertions, 6 deletions
@@ -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' diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux index a81b03df92..f3b8eaeee7 100644 --- a/Cross/config.sh-arm-linux +++ b/Cross/config.sh-arm-linux @@ -285,6 +285,7 @@ d_inetntop='undef' d_inetpton='undef' d_int64_t='define' d_isascii='define' +d_isblank='undef' d_isfinite='undef' d_isinf='define' d_isnan='define' diff --git a/NetWare/config.wc b/NetWare/config.wc index 6750b8c3c7..80e9c1758a 100644 --- a/NetWare/config.wc +++ b/NetWare/config.wc @@ -274,6 +274,7 @@ d_inetntop='undef' d_inetpton='undef' d_int64_t='undef' d_isascii='define' +d_isblank='undef' d_isfinite='undef' d_isinf='undef' d_isnan='undef' diff --git a/Porting/Glossary b/Porting/Glossary index de81a002a3..903c280f2f 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -4,7 +4,7 @@ This file is built by metaconfig. This file contains a description of all the shell variables whose value is determined by the Configure script. Variables intended for use in C -programs (e.g. I_UNISTD) are already described in config_h.SH. ['configpm' +programs (e.g. I_UNISTD) are already described in config_h.SH. [`configpm' generates pod documentation for Config.pm from this file--please try to keep the formatting regular.] @@ -291,8 +291,8 @@ config_arg0 (Options.U): config_argc (Options.U): This variable contains the number of command-line arguments passed to Configure, as reported by the shell in the $# variable. - The individual arguments are stored as variables config_argc1, - config_argc2, etc. + The individual arguments are stored as variables config_arg1, + config_arg2, etc. config_args (Options.U): This variable contains a single string giving the command-line @@ -1275,6 +1275,10 @@ d_isascii (d_isascii.U): This variable conditionally defines the HAS_ISASCII constant, which indicates to the C program that isascii() is available. +d_isblank (d_isblank.U): + This variable conditionally defines the HAS_ISBLANK constant, + which indicates to the C program that isblank() is available. + d_isfinite (d_isfinite.U): This variable conditionally defines the HAS_ISFINITE symbol, which indicates to the C program that the isfinite() routine is available. @@ -5015,7 +5019,7 @@ useithreads (usethreads.U): and indicates that Perl should be built to use the interpreter-based threading implementation. -usekernprocpathname (usekernprocpathname.U) +usekernprocpathname (usekernprocpathname.U): This variable, indicates that we can use sysctl with KERN_PROC_PATHNAME to get a full path for the executable, and hence convert $^X to an absolute path. diff --git a/Porting/config.sh b/Porting/config.sh index dba3a17c16..ab51d01bd9 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -299,6 +299,7 @@ d_inetntop='define' d_inetpton='define' d_int64_t='define' d_isascii='define' +d_isblank='undef' d_isfinite='undef' d_isinf='define' d_isnan='define' diff --git a/config_h.SH b/config_h.SH index 879c1d721b..a51ad05783 100755 --- a/config_h.SH +++ b/config_h.SH @@ -3723,6 +3723,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_int64_t HAS_INT64_T /**/ +/* HAS_ISBLANK: + * This manifest constant lets the C program know that isblank + * is available. + */ +#$d_isblank HAS_ISBLANK /**/ + /* HAS_ISFINITE: * This symbol, if defined, indicates that the isfinite routine is * available to check whether a double is finite (non-infinity non-NaN). diff --git a/configure.com b/configure.com index cfd28cea14..709a49b9e0 100644 --- a/configure.com +++ b/configure.com @@ -6095,6 +6095,7 @@ $ WC "d_inetntop='undef'" $ WC "d_inetpton='undef'" $ WC "d_int64_t='" + d_int64_t + "'" $ WC "d_isascii='define'" +$ WC "d_isblank='undef'" $ WC "d_isfinite='undef'" $ WC "d_isinf='undef'" $ WC "d_isnan='" + d_isnan + "'" diff --git a/epoc/config.sh b/epoc/config.sh index d983caa2f2..67b582cdd3 100644 --- a/epoc/config.sh +++ b/epoc/config.sh @@ -280,6 +280,7 @@ d_inetpton='undef' d_int64_t='undef' d_iovec_s='undef' d_isascii='define' +d_isblank='undef' d_isfinite='undef' d_isinf='undef' d_isnan='define' diff --git a/metaconfig.h b/metaconfig.h index 0e418f2a94..7a74db0871 100644 --- a/metaconfig.h +++ b/metaconfig.h @@ -1,7 +1,7 @@ /* This is a placeholder file for symbols that should be exported * into config_h.SH and Porting/Glossary. See also metaconfig.SH * - * First version was created from the part in handy.h (which includes this) + * First version was created from the part in handy.h * H.Merijn Brand 21 Dec 2010 (Tux) * * Mentioned variables are forced to be included into config_h.SH @@ -15,6 +15,7 @@ * HAS_CTIME64 * HAS_DIFFTIME64 * HAS_GMTIME64 + * HAS_ISBLANK * HAS_LOCALTIME64 * HAS_MKTIME64 * HAS_PRCTL diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample index 7c649af9c7..6a169eb83e 100644 --- a/plan9/config_sh.sample +++ b/plan9/config_sh.sample @@ -285,6 +285,7 @@ d_inetntop='undef' d_inetpton='undef' d_int64_t='define' d_isascii='undef' +d_isblank='undef' d_isfinite='undef' d_isinf='undef' d_isnan='undef' diff --git a/symbian/config.sh b/symbian/config.sh index a62577b820..be7b2a4a30 100644 --- a/symbian/config.sh +++ b/symbian/config.sh @@ -231,6 +231,7 @@ d_inetntop='undef' d_inetpton='undef' d_int64_t='undef' d_isascii='undef' +d_isblank='undef' d_isfinite='undef' d_isinf='undef' d_isnan='undef' diff --git a/uconfig.sh b/uconfig.sh index e7692dc693..f52ff0d96c 100644 --- a/uconfig.sh +++ b/uconfig.sh @@ -224,6 +224,7 @@ d_inetntop='undef' d_inetpton='undef' d_int64_t='undef' d_isascii='undef' +d_isblank='undef' d_isfinite='undef' d_isinf='undef' d_isnan='undef' diff --git a/uconfig64.sh b/uconfig64.sh index 1ae544fbcd..3922709813 100644 --- a/uconfig64.sh +++ b/uconfig64.sh @@ -225,6 +225,7 @@ d_inetntop='undef' d_inetpton='undef' d_int64_t='undef' d_isascii='undef' +d_isblank='undef' d_isfinite='undef' d_isinf='undef' d_isnan='undef' diff --git a/win32/config.ce b/win32/config.ce index 62d2123605..a872577459 100644 --- a/win32/config.ce +++ b/win32/config.ce @@ -272,6 +272,7 @@ d_inetntop='undef' d_inetpton='undef' d_int64_t='undef' d_isascii='define' +d_isblank='undef' d_isfinite='undef' d_isinf='undef' d_isnan='define' diff --git a/win32/config.gc b/win32/config.gc index cb963fb6fa..20fbcff3cf 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -272,6 +272,7 @@ d_inetntop='undef' d_inetpton='undef' d_int64_t='undef' d_isascii='define' +d_isblank='undef' d_isfinite='undef' d_isinf='undef' d_isnan='define' diff --git a/win32/config.gc64 b/win32/config.gc64 index 7e06e2a9fd..2834d8e47d 100644 --- a/win32/config.gc64 +++ b/win32/config.gc64 @@ -272,6 +272,7 @@ d_inetntop='undef' d_inetpton='undef' d_int64_t='undef' d_isascii='define' +d_isblank='undef' d_isfinite='undef' d_isinf='undef' d_isnan='define' diff --git a/win32/config.gc64nox b/win32/config.gc64nox index 92ef05f5a7..ba69f86d7e 100644 --- a/win32/config.gc64nox +++ b/win32/config.gc64nox @@ -272,6 +272,7 @@ d_inetntop='undef' d_inetpton='undef' d_int64_t='undef' d_isascii='define' +d_isblank='undef' d_isfinite='undef' d_isinf='undef' d_isnan='define' diff --git a/win32/config.vc b/win32/config.vc index 379a125bab..bc4c31ffae 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -272,6 +272,7 @@ d_inetntop='undef' d_inetpton='undef' d_int64_t='undef' d_isascii='define' +d_isblank='undef' d_isfinite='undef' d_isinf='undef' d_isnan='define' diff --git a/win32/config.vc64 b/win32/config.vc64 index d429f2028c..f68bbde51b 100644 --- a/win32/config.vc64 +++ b/win32/config.vc64 @@ -272,6 +272,7 @@ d_inetntop='undef' d_inetpton='undef' d_int64_t='undef' d_isascii='define' +d_isblank='undef' d_isfinite='undef' d_isinf='undef' d_isnan='define' |