Check for strtod
authorSam Lantinga
Wed, 08 Feb 2006 09:06:34 +0000
changeset 1347905dc98a40fa
parent 1346 1b5fbaf1d2c6
child 1348 40d0975c1769
Check for strtod
configure.in
include/SDL_config.h.in
     1.1 --- a/configure.in	Wed Feb 08 08:55:33 2006 +0000
     1.2 +++ b/configure.in	Wed Feb 08 09:06:34 2006 +0000
     1.3 @@ -180,7 +180,7 @@
     1.4  AC_CHECK_FUNCS(strlen strcpy strncpy strcat strncat strdup)
     1.5  AC_CHECK_FUNCS(_strrev _strupr _strlwr)
     1.6  AC_CHECK_FUNCS(strchr strrchr strstr)
     1.7 -AC_CHECK_FUNCS(itoa _ltoa _uitoa _ultoa strtol _i64toa _ui64toa strtoll atoi atof)
     1.8 +AC_CHECK_FUNCS(itoa _ltoa _uitoa _ultoa strtol _i64toa _ui64toa strtoll strtod atoi atof)
     1.9  AC_CHECK_FUNCS(strcmp strncmp stricmp strcasecmp)
    1.10  AC_CHECK_FUNCS(sscanf snprintf vsnprintf)
    1.11  
     2.1 --- a/include/SDL_config.h.in	Wed Feb 08 08:55:33 2006 +0000
     2.2 +++ b/include/SDL_config.h.in	Wed Feb 08 09:06:34 2006 +0000
     2.3 @@ -32,7 +32,6 @@
     2.4  #ifdef HAVE_LIBC
     2.5  
     2.6  
     2.7 -
     2.8  /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
     2.9     systems. This function is required for `alloca.c' support on those systems.
    2.10     */
    2.11 @@ -177,6 +176,9 @@
    2.12  /* Define to 1 if you have the `strstr' function. */
    2.13  #undef HAVE_STRSTR
    2.14  
    2.15 +/* Define to 1 if you have the `strtod' function. */
    2.16 +#undef HAVE_STRTOD
    2.17 +
    2.18  /* Define to 1 if you have the `strtol' function. */
    2.19  #undef HAVE_STRTOL
    2.20  
    2.21 @@ -282,7 +284,6 @@
    2.22  #undef size_t
    2.23  
    2.24  
    2.25 -
    2.26  #endif /* HAVE_LIBC */
    2.27  
    2.28  #endif /* _SDL_config_h */