Change 11003 by jhi@alpha on 2001/06/28 14:12:27

        Add Configure probes for nl_langinfo() and <langinfo.h>.
        Expected not to exist in non-UNIX excepting in VMS, where
        according to a quick web survey they just might.

Affected files ...

... //depot/perl/Configure#328 edit
... //depot/perl/NetWare/config.wc#5 edit
... //depot/perl/Porting/Glossary#107 edit
... //depot/perl/Porting/config.sh#103 edit
... //depot/perl/Porting/config_H#105 edit
... //depot/perl/config_h.SH#222 edit
... //depot/perl/configure.com#106 edit
... //depot/perl/epoc/config.sh#56 edit
... //depot/perl/perl.h#365 edit
... //depot/perl/uconfig.h#43 edit
... //depot/perl/uconfig.sh#43 edit
... //depot/perl/vos/config.alpha.def#28 edit
... //depot/perl/vos/config.alpha.h#28 edit
... //depot/perl/vos/config.ga.def#28 edit
... //depot/perl/vos/config.ga.h#27 edit
... //depot/perl/win32/config.bc#111 edit
... //depot/perl/win32/config.gc#112 edit
... //depot/perl/win32/config.vc#116 edit

Differences ...

==== //depot/perl/Configure#328 (xtext) ====
Index: perl/Configure
--- perl/Configure.~1~  Thu Jun 28 08:15:05 2001
+++ perl/Configure      Thu Jun 28 08:15:05 2001
@@ -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 [EMAIL PROTECTED])
 
 cat >c1$$ <<EOF
@@ -466,6 +466,7 @@
 d_msync=''
 d_munmap=''
 d_nice=''
+d_nl_langinfo=''
 d_off64_t=''
 d_open3=''
 d_fpathconf=''
@@ -668,6 +669,7 @@
 i_iconv=''
 i_ieeefp=''
 i_inttypes=''
+i_langinfo=''
 i_libutil=''
 i_limits=''
 i_locale=''
@@ -10898,6 +10900,14 @@
 set nice d_nice
 eval $inlibc
 
+: see if this is a langinfo.h system
+set langinfo.h i_langinfo
+eval $inhdr
+
+: see if nl_langinfo exists
+set nl_langinfo d_nl_langinfo
+eval $inlibc
+
 : check for length of character
 echo " "
 case "$charsize" in
@@ -16753,6 +16763,7 @@
 d_munmap='$d_munmap'
 d_mymalloc='$d_mymalloc'
 d_nice='$d_nice'
+d_nl_langinfo='$d_nl_langinfo'
 d_nv_preserves_uv='$d_nv_preserves_uv'
 d_nv_preserves_uv_bits='$d_nv_preserves_uv_bits'
 d_off64_t='$d_off64_t'
@@ -16980,6 +16991,7 @@
 i_iconv='$i_iconv'
 i_ieeefp='$i_ieeefp'
 i_inttypes='$i_inttypes'
+i_langinfo='$i_langinfo'
 i_libutil='$i_libutil'
 i_limits='$i_limits'
 i_locale='$i_locale'

==== //depot/perl/NetWare/config.wc#5 (text) ====
Index: perl/NetWare/config.wc
--- perl/NetWare/config.wc.~1~  Thu Jun 28 08:15:05 2001
+++ perl/NetWare/config.wc      Thu Jun 28 08:15:05 2001
@@ -233,6 +233,7 @@
 d_munmap='undef'
 d_mymalloc='undef'
 d_nice='undef'
+d_nl_langinfo='undef'
 d_nv_preserves_uv='define'
 d_off64_t='undef'
 d_old_pthread_create_joinable='undef'
@@ -435,6 +436,7 @@
 i_iconv='undef'
 i_ieeefp='undef'
 i_inttypes='undef'
+i_langinfo='undef'
 i_limits='define'
 i_locale='define'
 i_machcthr='undef'

==== //depot/perl/Porting/Glossary#107 (text) ====
Index: perl/Porting/Glossary
--- perl/Porting/Glossary.~1~   Thu Jun 28 08:15:05 2001
+++ perl/Porting/Glossary       Thu Jun 28 08:15:05 2001
@@ -243,8 +243,9 @@
        The value is a plain '' and is not useful.
 
 chmod (Loc.U):
-       This variable is defined but not used by Configure.
-       The value is a plain '' and is not useful.
+       This variable is used internally by Configure to determine the
+       full pathname (if any) of the chmod program.  After Configure runs,
+       the value is reset to a plain "chmod" and is not useful.
 
 chown (Loc.U):
        This variable is defined but not used by Configure.
@@ -1081,6 +1082,10 @@
        This variable conditionally defines the HAS_NICE symbol, which
        indicates to the C program that the nice() routine is available.
 
+d_nl_langinfo (d_nl_langinfo.U):
+       This variable conditionally defines the HAS_NL_LANGINFO symbol, which
+       indicates to the C program that the nl_langinfo() routine is available.
+
 d_nv_preserves_uv (perlxv.U):
        This variable indicates whether a variable of type nvtype
        can preserve all the bits a variable of type uvtype.
@@ -2164,6 +2169,10 @@
        This variable conditionally defines the I_INTTYPES symbol,
        and indicates whether a C program should include <inttypes.h>.
 
+i_langinfo (i_langinfo.U):
+       This variable conditionally defines the I_LANGINFO symbol,
+       and indicates whether a C program should include <langinfo.h>.
+
 i_libutil (i_libutil.U):
        This variable conditionally defines the I_LIBUTIL symbol, and indicates
        whether a C program should include <libutil.h>.

==== //depot/perl/Porting/config.sh#103 (text) ====
Index: perl/Porting/config.sh
--- perl/Porting/config.sh.~1~  Thu Jun 28 08:15:05 2001
+++ perl/Porting/config.sh      Thu Jun 28 08:15:05 2001
@@ -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 @@
 ccversion='V5.6-082'
 cf_by='jhi'
 cf_email='[EMAIL PROTECTED]'
-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_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_iconv='define'
 i_ieeefp='undef'
 i_inttypes='undef'
+i_langinfo='define'
 i_libutil='undef'
 i_limits='define'
 i_locale='define'
@@ -668,9 +670,9 @@
 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='[EMAIL PROTECTED]'
 perllibs='-lm -liconv -lutil -lpthread -lexc'
 perlpath='/opt/perl/bin/perl'
@@ -843,7 +845,7 @@
 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_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"'

==== //depot/perl/Porting/config_H#105 (text) ====
Index: perl/Porting/config_H
--- perl/Porting/config_H.~1~   Thu Jun 28 08:15:05 2001
+++ perl/Porting/config_H       Thu Jun 28 08:15:05 2001
@@ -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 <langinfo.h>
+ *     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 <langinfo.h> exists and
+ *     should be included.
+ */
+#define        I_LANGINFO              /**/
+
 #endif

==== //depot/perl/config_h.SH#222 (text) ====
Index: perl/config_h.SH
--- perl/config_h.SH.~1~        Thu Jun 28 08:15:05 2001
+++ perl/config_h.SH    Thu Jun 28 08:15:05 2001
@@ -3398,6 +3398,13 @@
  */
 #$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 <langinfo.h>
+ *     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 @@
  */
 #$d_usleepproto        HAS_USLEEP_PROTO        /**/
 
+/* I_LANGINFO:
+ *     This symbol, if defined, indicates that <langinfo.h> exists and
+ *     should be included.
+ */
+#$i_langinfo   I_LANGINFO              /**/
+
 #endif
 !GROK!THIS!

==== //depot/perl/configure.com#106 (text) ====
Index: perl/configure.com
--- perl/configure.com.~1~      Thu Jun 28 08:15:05 2001
+++ perl/configure.com  Thu Jun 28 08:15:05 2001
@@ -4651,7 +4651,9 @@
 $   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_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_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_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 + "'"

==== //depot/perl/epoc/config.sh#56 (text) ====
Index: perl/epoc/config.sh
--- perl/epoc/config.sh.~1~     Thu Jun 28 08:15:05 2001
+++ perl/epoc/config.sh Thu Jun 28 08:15:05 2001
@@ -250,6 +250,7 @@
 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_iconv='undef'
 i_ieeefp='undef'
 i_inttypes='undef'
+i_langinfo='undef'
 i_libutil='undef'
 i_limits='define'
 i_locale='undef'

==== //depot/perl/perl.h#365 (text) ====
Index: perl/perl.h
--- perl/perl.h.~1~     Thu Jun 28 08:15:05 2001
+++ perl/perl.h Thu Jun 28 08:15:05 2001
@@ -3841,6 +3841,8 @@
 
    USE_REENTRANT_API
 
+   HAS_NL_LANGINFO
+
    so that Configure picks them up. */
 
 #endif /* Include guard */

==== //depot/perl/uconfig.h#43 (text) ====
Index: perl/uconfig.h
--- perl/uconfig.h.~1~  Thu Jun 28 08:15:05 2001
+++ perl/uconfig.h      Thu Jun 28 08:15:05 2001
@@ -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 <langinfo.h>
+ *     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

==== //depot/perl/uconfig.sh#43 (xtext) ====
Index: perl/uconfig.sh
--- perl/uconfig.sh.~1~ Thu Jun 28 08:15:05 2001
+++ perl/uconfig.sh     Thu Jun 28 08:15:05 2001
@@ -191,6 +191,7 @@
 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_iconv='undef'
 i_ieeefp='undef'
 i_inttypes='undef'
+i_langinfo='undef'
 i_libutil='undef'
 i_limits='undef'
 i_locale='undef'

==== //depot/perl/vos/config.alpha.def#28 (text) ====
Index: perl/vos/config.alpha.def
--- perl/vos/config.alpha.def.~1~       Thu Jun 28 08:15:05 2001
+++ perl/vos/config.alpha.def   Thu Jun 28 08:15:05 2001
@@ -170,6 +170,7 @@
 $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_iconv='undef'
 $i_ieeefp='undef'
 $i_inttypes='undef'
+$i_langinfo='undef'
 $i_libutil='undef'
 $i_limits='define'
 $i_locale='define'

==== //depot/perl/vos/config.alpha.h#28 (text) ====
Index: perl/vos/config.alpha.h
--- perl/vos/config.alpha.h.~1~ Thu Jun 28 08:15:05 2001
+++ perl/vos/config.alpha.h     Thu Jun 28 08:15:05 2001
@@ -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 <langinfo.h>
+ *     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 <langinfo.h> exists and
+ *     should be included.
+ */
+/*#define      I_LANGINFO              /**/
+
 #endif

==== //depot/perl/vos/config.ga.def#28 (text) ====
Index: perl/vos/config.ga.def
--- perl/vos/config.ga.def.~1~  Thu Jun 28 08:15:05 2001
+++ perl/vos/config.ga.def      Thu Jun 28 08:15:05 2001
@@ -170,6 +170,7 @@
 $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_iconv='undef'
 $i_ieeefp='undef'
 $i_inttypes='undef'
+$i_langinfo='undef'
 $i_libutil='undef'
 $i_limits='define'
 $i_locale='define'

==== //depot/perl/vos/config.ga.h#27 (text) ====
Index: perl/vos/config.ga.h
--- perl/vos/config.ga.h.~1~    Thu Jun 28 08:15:05 2001
+++ perl/vos/config.ga.h        Thu Jun 28 08:15:05 2001
@@ -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 <langinfo.h>
+ *     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 <langinfo.h> exists and
+ *     should be included.
+ */
+/*#define      I_LANGINFO              /**/
+
 #endif

==== //depot/perl/win32/config.bc#111 (text) ====
Index: perl/win32/config.bc
--- perl/win32/config.bc.~1~    Thu Jun 28 08:15:05 2001
+++ perl/win32/config.bc        Thu Jun 28 08:15:05 2001
@@ -244,6 +244,7 @@
 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_iconv='undef'
 i_ieeefp='undef'
 i_inttypes='undef'
+i_langinfo='undef'
 i_limits='define'
 i_locale='define'
 i_machcthr='undef'

==== //depot/perl/win32/config.gc#112 (text) ====
Index: perl/win32/config.gc
--- perl/win32/config.gc.~1~    Thu Jun 28 08:15:05 2001
+++ perl/win32/config.gc        Thu Jun 28 08:15:05 2001
@@ -244,6 +244,7 @@
 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_iconv='undef'
 i_ieeefp='undef'
 i_inttypes='undef'
+i_langinfo='undef'
 i_limits='define'
 i_locale='define'
 i_machcthr='undef'

==== //depot/perl/win32/config.vc#116 (text) ====
Index: perl/win32/config.vc
--- perl/win32/config.vc.~1~    Thu Jun 28 08:15:05 2001
+++ perl/win32/config.vc        Thu Jun 28 08:15:05 2001
@@ -244,6 +244,7 @@
 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_iconv='undef'
 i_ieeefp='undef'
 i_inttypes='undef'
+i_langinfo='undef'
 i_limits='define'
 i_locale='define'
 i_machcthr='undef'
End of Patch.

Reply via email to