Permalink
Browse files

Add probe for strtod_l

  • Loading branch information...
khwilliamson committed Nov 14, 2017
1 parent 7d00a34 commit d9fb646187f89f9f9e6f8f0b19e313ef68ade8ea
Showing with 26 additions and 1 deletion.
  1. +7 −1 Configure
  2. +18 −0 config_h.SH
  3. +1 −0 metaconfig.h
View
@@ -866,6 +866,7 @@ d_strlcat=''
d_strlcpy=''
d_strnlen=''
d_strtod=''
d_strtod_l=''
d_strtol=''
d_strtold=''
d_strtold_l=''
@@ -16186,7 +16187,7 @@ eval $inlibc
set mktime d_mktime
eval $inlibc
: see if this is a sys/mman.h system
: see if sys/mman.h has to be included
set sys/mman.h i_sysmman
eval $inhdr
@@ -18705,6 +18706,10 @@ eval $inlibc
set strtod d_strtod
eval $inlibc
: see if strtod_l exists
set strtod_l d_strtod_l
eval $inlibc
: see if strtol exists
set strtol d_strtol
eval $inlibc
@@ -24162,6 +24167,7 @@ d_strlcat='$d_strlcat'
d_strlcpy='$d_strlcpy'
d_strnlen='$d_strnlen'
d_strtod='$d_strtod'
d_strtod_l='$d_strtod_l'
d_strtol='$d_strtol'
d_strtold='$d_strtold'
d_strtold_l='$d_strtold_l'
View
@@ -5,6 +5,13 @@
#
# See Porting/config_h.pl
#!/bin/sh
#
# THIS IS A GENERATED FILE
# DO NOT HAND-EDIT
#
# See Porting/config_h.pl
: Set up for generating config_h.SH
case "$CONFIG_SH" in
'') CONFIG_SH=config.sh;;
@@ -31,6 +38,9 @@ esac
case "$CONFIG_H" in
already-done) echo "Not re-extracting config.h" ;;
*)
case "$CONFIG_H" in
already-done) echo "Not re-extracting config.h" ;;
*)
echo "Extracting $CONFIG_H (with variable substitutions)"
sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
/* This file was produced by running the config_h.SH script, which
@@ -5029,6 +5039,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
#$d_strerror_r HAS_STRERROR_R /**/
#define STRERROR_R_PROTO $strerror_r_proto /**/
/* HAS_STRTOD_L:
* This symbol, if defined, indicates that the strtod_l routine is
* available to convert strings to long doubles.
*/
#$d_strtod_l HAS_STRTOD_L /**/
/* HAS_STRTOLD_L:
* This symbol, if defined, indicates that the strtold_l routine is
* available to convert strings to long doubles.
@@ -5219,3 +5235,5 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
!GROK!THIS!
;;
esac
;;
esac
View
@@ -20,6 +20,7 @@
* HAS_MBRLEN
* HAS_MBRTOWC
* HAS_NANOSLEEP
* HAS_STRTOD_L
* HAS_STRTOLD_L
* I_WCHAR
*/

0 comments on commit d9fb646

Please sign in to comment.