From e10940c3bd0b15078d498577d8860a2ac86cc768 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Thu, 17 Apr 2003 15:39:56 +0000 Subject: Introduce the new *l APIs, undefined, to non-Configure lands. p4raw-id: //depot/perl@19251 --- plan9/config.plan9 | 24 ++++++++++++++++++++++++ plan9/config_h.sample | 24 ++++++++++++++++++++++++ plan9/config_sh.sample | 4 ++++ 3 files changed, 52 insertions(+) (limited to 'plan9') diff --git a/plan9/config.plan9 b/plan9/config.plan9 index 35f7759dc8..87a50e4213 100644 --- a/plan9/config.plan9 +++ b/plan9/config.plan9 @@ -68,6 +68,12 @@ */ #define LOC_SED "/bin/sed" /**/ +/* HAS_AINTL: + * This symbol, if defined, indicates that the aintl routine is + * available. If copysignl is also present we can emulate modfl. + */ +/*#define HAS_AINTL / **/ + /* HAS_ALARM: * This symbol, if defined, indicates that the alarm routine is * available. @@ -1887,6 +1893,12 @@ #define HAS_NTOHL /**/ #define HAS_NTOHS /**/ +/* HAS_ILOGBL: + * This symbol, if defined, indicates that the ilogbl routine is + * available. If scalbnl is also present we can emulate frexpl. + */ +/*#define HAS_ILOGBL /**/ + /* HAS_INT64_T: * This symbol will defined if the C compiler supports int64_t. * Usually the needs to be included, but sometimes @@ -2181,6 +2193,12 @@ */ /*#define HAS_SEM / **/ +/* HAS_SCALBNL: + * This symbol, if defined, indicates that the scalbnl routine is + * available. If ilogbl is also present we can emulate frexpl. + */ +/*#define HAS_SCALBNL /**/ + /* HAS_SENDMSG: * This symbol, if defined, indicates that the sendmsg routine is * available to send structured socket messages. @@ -3827,6 +3845,12 @@ #define PERL_TARGETARCH "" /**/ #endif +/* HAS_COPYSIGNL: + * This symbol, if defined, indicates that the copysignl routine is + * available. If aintl is also present we can emulate modfl. + */ +/*#define HAS_COPYSIGNL /**/ + /* HAS_DBMINIT_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the dbminit() function. Otherwise, it is up diff --git a/plan9/config_h.sample b/plan9/config_h.sample index f89bb8c52c..0710d351ad 100644 --- a/plan9/config_h.sample +++ b/plan9/config_h.sample @@ -26,6 +26,12 @@ */ #define LOC_SED "/bin/sed" /**/ +/* HAS_AINTL: + * This symbol, if defined, indicates that the aintl routine is + * available. If copysignl is also present we can emulate modfl. + */ +/*#define HAS_AINTL / **/ + /* HAS_ALARM: * This symbol, if defined, indicates that the alarm routine is * available. @@ -1834,6 +1840,12 @@ #define HAS_NTOHL /**/ #define HAS_NTOHS /**/ +/* HAS_ILOGBL: + * This symbol, if defined, indicates that the ilogbl routine is + * available. If scalbnl is also present we can emulate frexpl. + */ +/*#define HAS_ILOGBL /**/ + /* HAS_INT64_T: * This symbol will defined if the C compiler supports int64_t. * Usually the needs to be included, but sometimes @@ -2128,6 +2140,12 @@ */ /*#define HAS_SEM / **/ +/* HAS_SCALBNL: + * This symbol, if defined, indicates that the scalbnl routine is + * available. If ilogbl is also present we can emulate frexpl. + */ +/*#define HAS_SCALBNL /**/ + /* HAS_SENDMSG: * This symbol, if defined, indicates that the sendmsg routine is * available to send structured socket messages. @@ -3772,6 +3790,12 @@ #define PERL_TARGETARCH "" /**/ #endif +/* HAS_COPYSIGNL: + * This symbol, if defined, indicates that the copysignl routine is + * available. If aintl is also present we can emulate modfl. + */ +/*#define HAS_COPYSIGNL /**/ + /* HAS_DBMINIT_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the dbminit() function. Otherwise, it is up diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample index e5ea850229..ebaaf980ec 100644 --- a/plan9/config_sh.sample +++ b/plan9/config_sh.sample @@ -105,6 +105,7 @@ d_SCNfldbl='define' d__fwalk='undef' d_access='define' d_accessx='undef' +d_aintl='undef' d_alarm='define' d_archlib='define' d_asctime_r='undef' @@ -127,6 +128,7 @@ d_class='undef' d_closedir='define' d_cmsghdr_s='undef' d_const='define' +d_copysignl='undef' d_crypt='undef' d_crypt_r='undef' d_csh='undef' @@ -251,6 +253,7 @@ d_gnulibc='undef' d_grpasswd='undef' d_hasmntopt='undef' d_htonl='define' +d_ilogbl='undef' d_index='undef' d_inetaton='undef' d_int64_t='define' @@ -346,6 +349,7 @@ d_safemcpy='undef' d_sanemcmp='define' d_sbrkproto='undef' d_sched_yield='undef' +d_scalbnl='undef' d_scm_rights='undef' d_seekdir='undef' d_select='define' -- cgit v1.2.1