From: Jarkko Hietaniemi Date: Thu, 28 Jun 2001 14:12:27 +0000 (+0000) Subject: Add Configure probes for nl_langinfo() and . X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2765b840fca882ed4632588ab696d917cbd8f128;p=p5sagit%2Fp5-mst-13.2.git Add Configure probes for nl_langinfo() and . Expected not to exist in non-UNIX excepting in VMS, where according to a quick web survey they just might. p4raw-id: //depot/perl@11003 --- diff --git a/Configure b/Configure index fb65acb..0bf4654 100755 --- 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 Thu Jun 28 16:56:19 EET DST 2001 [metaconfig 3.0 PL70] +# Generated on Thu Jun 28 18:02:13 EET DST 2001 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <. +i_langinfo (i_langinfo.U): + This variable conditionally defines the I_LANGINFO symbol, + and indicates whether a C program should include . + i_libutil (i_libutil.U): This variable conditionally defines the I_LIBUTIL symbol, and indicates whether a C program should include . diff --git a/Porting/config.sh b/Porting/config.sh index 0ca0ec8..3819d4f 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -8,7 +8,7 @@ # Package name : perl5 # Source directory : . -# Configuration time: Sat Jun 23 00:03:07 EET DST 2001 +# Configuration time: Thu Jun 28 18:05:29 EET DST 2001 # Configured by : jhi # Target system : osf1 alpha.hut.fi v4.0 878 alpha @@ -63,10 +63,10 @@ ccsymbols='__alpha=1 __LANGUAGE_C__=1 __osf__=1 __unix__=1 _LONGLONG=1 _SYSTYPE_ ccversion='V5.6-082' cf_by='jhi' cf_email='yourname@yourhost.yourplace.com' -cf_time='Sat Jun 23 00:03:07 EET DST 2001' +cf_time='Thu Jun 28 18:05:29 EET DST 2001' charsize='1' chgrp='' -chmod='' +chmod='chmod' chown='' clocktype='clock_t' comm='comm' @@ -260,6 +260,7 @@ d_msync='define' d_munmap='define' d_mymalloc='undef' d_nice='define' +d_nl_langinfo='define' d_nv_preserves_uv='undef' d_nv_preserves_uv_bits='53' d_off64_t='undef' @@ -487,6 +488,7 @@ i_grp='define' i_iconv='define' i_ieeefp='undef' i_inttypes='undef' +i_langinfo='define' i_libutil='undef' i_limits='define' i_locale='define' @@ -668,9 +670,9 @@ pager='/c/bin/less' passcat='cat /etc/passwd' patchlevel='7' path_sep=':' -perl5='/u/vieraat/vieraat/jhi/Perl/bin/perl' +perl5='/usr/local/bin/perl' perl='' -perl_patchlevel='10824' +perl_patchlevel='10995' perladmin='yourname@yourhost.yourplace.com' perllibs='-lm -liconv -lutil -lpthread -lexc' perlpath='/opt/perl/bin/perl' @@ -843,7 +845,7 @@ vi='' voidflags='15' xlibpth='/usr/lib/386 /lib/386' xs_apiversion='5.7.1' -yacc='/u/vieraat/vieraat/jhi/Perl/bin/byacc' +yacc='/usr/local/bin/byacc' yaccflags='' zcat='' zip='zip' @@ -870,7 +872,7 @@ PERL_SUBVERSION=1 PERL_API_REVISION=5 PERL_API_VERSION=5 PERL_API_SUBVERSION=0 -PERL_PATCHLEVEL=10824 +PERL_PATCHLEVEL=10995 PERL_CONFIG_SH=true # Variables propagated from previous config.sh file. pp_sys_cflags='ccflags="$ccflags -DNO_EFF_ONLY_OK"' diff --git a/Porting/config_H b/Porting/config_H index 2d53499..3ae6ca9 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -17,7 +17,7 @@ /* * Package name : perl5 * Source directory : . - * Configuration time: Sat Jun 23 00:03:07 EET DST 2001 + * Configuration time: Thu Jun 28 18:05:29 EET DST 2001 * Configured by : jhi * Target system : osf1 alpha.hut.fi v4.0 878 alpha */ @@ -2937,7 +2937,7 @@ * This macro is to be used to generate uniformly distributed * random numbers over the range [0., 1.[. You may have to supply * an 'extern double drand48();' in your program since SunOS 4.1.3 - * doesn't provide you with anything relevant in its headers. + * doesn't provide you with anything relevant in it's headers. * See HAS_DRAND48_PROTO. */ /* Rand_seed_t: @@ -3378,6 +3378,13 @@ */ /*#define HAS_FLOCK_PROTO / **/ +/* HAS_NL_LANGINFO: + * This symbol, if defined, indicates that the nl_langinfo routine is + * available to return local data. You will also need + * and therefore I_LANGINFO. + */ +#define HAS_NL_LANGINFO /**/ + /* HAS_SIGPROCMASK: * This symbol, if defined, indicates that the sigprocmask * system call is available to examine or change the signal mask @@ -3444,4 +3451,10 @@ */ /*#define HAS_USLEEP_PROTO / **/ +/* I_LANGINFO: + * This symbol, if defined, indicates that exists and + * should be included. + */ +#define I_LANGINFO /**/ + #endif diff --git a/config_h.SH b/config_h.SH index 06325c0..2cf8168 100644 --- a/config_h.SH +++ b/config_h.SH @@ -3398,6 +3398,13 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_flockproto HAS_FLOCK_PROTO /**/ +/* HAS_NL_LANGINFO: + * This symbol, if defined, indicates that the nl_langinfo routine is + * available to return local data. You will also need + * and therefore I_LANGINFO. + */ +#$d_nl_langinfo HAS_NL_LANGINFO /**/ + /* HAS_SIGPROCMASK: * This symbol, if defined, indicates that the sigprocmask * system call is available to examine or change the signal mask @@ -3464,5 +3471,11 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_usleepproto HAS_USLEEP_PROTO /**/ +/* I_LANGINFO: + * This symbol, if defined, indicates that exists and + * should be included. + */ +#$i_langinfo I_LANGINFO /**/ + #endif !GROK!THIS! diff --git a/configure.com b/configure.com index 3eac5bf..73880ac 100644 --- a/configure.com +++ b/configure.com @@ -4651,7 +4651,9 @@ $ d_strcoll="define" $ d_strxfrm="define" $ d_wctomb="define" $ i_locale="define" +$ i_langinfo="define" $ d_locconv="define" +$ d_nl_langinfo="define" $ d_setlocale="define" $ vms_cc_type="decc" $ ELSE @@ -4668,7 +4670,9 @@ $ d_strcoll="undef" $ d_strxfrm="undef" $ d_wctomb="undef" $ i_locale="undef" +$ i_langinfo="undef" $ d_locconv="undef" +$ d_nl_langinfo="undef" $ d_setlocale="undef" $ ENDIF $ d_stdio_ptr_lval_sets_cnt="undef" @@ -5137,6 +5141,7 @@ $ WC "d_msync='undef'" $ WC "d_munmap='undef'" $ WC "d_mymalloc='" + d_mymalloc + "'" $ WC "d_nice='define'" +$ WC "d_nl_langinfo='" + d_nl_langinfo + "'" $ WC "d_nv_preserves_uv='" + d_nv_preserves_uv + "'" $ WC "d_nv_preserves_uv_bits='" + d_nv_preserves_uv_bits + "'" $ WC "d_off64_t='" + d_off64_t + "'" @@ -5348,6 +5353,7 @@ $ WC "i_grp='undef'" $ WC "i_iconv='" + i_iconv +"'" $ WC "i_ieeefp='undef'" $ WC "i_inttypes='" + i_inttypes + "'" +$ WC "i_langinfo='" + i_langinfo + "'" $ WC "i_libutil='" + i_libutil + "'" $ WC "i_limits='define'" $ WC "i_locale='" + i_locale + "'" diff --git a/epoc/config.sh b/epoc/config.sh index 857bbb6..772e30d 100644 --- a/epoc/config.sh +++ b/epoc/config.sh @@ -250,6 +250,7 @@ d_msync='undef' d_munmap='undef' d_mymalloc='undef' d_nice='undef' +d_nl_langinfo='undef' d_off64_t='undef' d_old_pthread_create_joinable='undef' d_oldpthreads='undef' @@ -451,6 +452,7 @@ i_grp='undef' i_iconv='undef' i_ieeefp='undef' i_inttypes='undef' +i_langinfo='undef' i_libutil='undef' i_limits='define' i_locale='undef' diff --git a/perl.h b/perl.h index 705df97..27393f6 100644 --- a/perl.h +++ b/perl.h @@ -3841,6 +3841,8 @@ extern void moncontrol(int); USE_REENTRANT_API + HAS_NL_LANGINFO + so that Configure picks them up. */ #endif /* Include guard */ diff --git a/uconfig.h b/uconfig.h index 28beb65..62ce1f0 100644 --- a/uconfig.h +++ b/uconfig.h @@ -3374,6 +3374,13 @@ */ /*#define HAS_FLOCK_PROTO / **/ +/* HAS_NL_LANGINFO: + * This symbol, if defined, indicates that the nl_langinfo routine is + * available to return local data. You will also need + * and therefore I_LANGINFO. + */ +/*#define HAS_NL_LANGINFO / **/ + /* HAS_SIGPROCMASK: * This symbol, if defined, indicates that the sigprocmask * system call is available to examine or change the signal mask diff --git a/uconfig.sh b/uconfig.sh index c52e4eb..175b72e 100755 --- a/uconfig.sh +++ b/uconfig.sh @@ -191,6 +191,7 @@ d_msync='undef' d_munmap='undef' d_mymalloc='undef' d_nice='undef' +d_nl_langinfo='undef' d_nv_preserves_uv='undef' d_nv_preserves_uv_bits='0' d_off64_t='undef' @@ -390,6 +391,7 @@ i_grp='undef' i_iconv='undef' i_ieeefp='undef' i_inttypes='undef' +i_langinfo='undef' i_libutil='undef' i_limits='undef' i_locale='undef' diff --git a/vos/config.alpha.def b/vos/config.alpha.def index 93a9601..6c4b174 100644 --- a/vos/config.alpha.def +++ b/vos/config.alpha.def @@ -170,6 +170,7 @@ $d_msync='undef' $d_munmap='undef' $d_mymalloc='undef' $d_nice='undef' +$d_nl_langinfo='undef' $d_nv_preserves_uv='define' $d_nv_preserves_uv_bits='32' $d_off64_t='undef' @@ -348,6 +349,7 @@ $i_grp='define' $i_iconv='undef' $i_ieeefp='undef' $i_inttypes='undef' +$i_langinfo='undef' $i_libutil='undef' $i_limits='define' $i_locale='define' diff --git a/vos/config.alpha.h b/vos/config.alpha.h index e62bec2..7f108eb 100644 --- a/vos/config.alpha.h +++ b/vos/config.alpha.h @@ -3374,6 +3374,13 @@ */ /*#define HAS_FLOCK_PROTO /**/ +/* HAS_NL_LANGINFO: + * This symbol, if defined, indicates that the nl_langinfo routine is + * available to return local data. You will also need + * and therefore I_LANGINFO. + */ +/*#define HAS_NL_LANGINFO /**/ + /* HAS_SIGPROCMASK: * This symbol, if defined, indicates that the sigprocmask * system call is available to examine or change the signal mask @@ -3440,4 +3447,10 @@ */ /*#define HAS_USLEEP_PROTO /**/ +/* I_LANGINFO: + * This symbol, if defined, indicates that exists and + * should be included. + */ +/*#define I_LANGINFO /**/ + #endif diff --git a/vos/config.ga.def b/vos/config.ga.def index 8774ae7..8512751 100644 --- a/vos/config.ga.def +++ b/vos/config.ga.def @@ -170,6 +170,7 @@ $d_msync='undef' $d_munmap='define' $d_mymalloc='undef' $d_nice='undef' +$d_nl_langinfo='undef' $d_nv_preserves_uv='define' $d_nv_preserves_uv_bits='32' $d_off64_t='undef' @@ -348,6 +349,7 @@ $i_grp='define' $i_iconv='undef' $i_ieeefp='undef' $i_inttypes='undef' +$i_langinfo='undef' $i_libutil='undef' $i_limits='define' $i_locale='define' diff --git a/vos/config.ga.h b/vos/config.ga.h index 7529d70..80a418a 100644 --- a/vos/config.ga.h +++ b/vos/config.ga.h @@ -3374,6 +3374,13 @@ */ /*#define HAS_FLOCK_PROTO /**/ +/* HAS_NL_LANGINFO: + * This symbol, if defined, indicates that the nl_langinfo routine is + * available to return local data. You will also need + * and therefore I_LANGINFO. + */ +/*#define HAS_NL_LANGINFO /**/ + /* HAS_SIGPROCMASK: * This symbol, if defined, indicates that the sigprocmask * system call is available to examine or change the signal mask @@ -3440,4 +3447,10 @@ */ /*#define HAS_USLEEP_PROTO /**/ +/* I_LANGINFO: + * This symbol, if defined, indicates that exists and + * should be included. + */ +/*#define I_LANGINFO /**/ + #endif diff --git a/win32/config.bc b/win32/config.bc index 86b4d51..16598d1 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -244,6 +244,7 @@ d_msync='undef' d_munmap='undef' d_mymalloc='undef' d_nice='undef' +d_nl_langinfo='undef' d_nv_preserves_uv='define' d_nv_preserves_uv_bits='32' d_off64_t='undef' @@ -465,6 +466,7 @@ i_grp='undef' i_iconv='undef' i_ieeefp='undef' i_inttypes='undef' +i_langinfo='undef' i_limits='define' i_locale='define' i_machcthr='undef' diff --git a/win32/config.gc b/win32/config.gc index 4636316..0bf588d 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -244,6 +244,7 @@ d_msync='undef' d_munmap='undef' d_mymalloc='undef' d_nice='undef' +d_nl_langinfo='undef' d_nv_preserves_uv='define' d_nv_preserves_uv_bits='32' d_off64_t='undef' @@ -465,6 +466,7 @@ i_grp='undef' i_iconv='undef' i_ieeefp='undef' i_inttypes='undef' +i_langinfo='undef' i_limits='define' i_locale='define' i_machcthr='undef' diff --git a/win32/config.vc b/win32/config.vc index 176aabe..b5025fb 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -244,6 +244,7 @@ d_msync='undef' d_munmap='undef' d_mymalloc='undef' d_nice='undef' +d_nl_langinfo='undef' d_nv_preserves_uv='define' d_nv_preserves_uv_bits='32' d_off64_t='undef' @@ -465,6 +466,7 @@ i_grp='undef' i_iconv='undef' i_ieeefp='undef' i_inttypes='undef' +i_langinfo='undef' i_limits='define' i_locale='define' i_machcthr='undef'