# HG changeset patch # User Sam Lantinga # Date 1139389594 0 # Node ID 905dc98a40fab4a6a85128006ddf0ace826c7a0c # Parent 1b5fbaf1d2c615da4c627d55119ddac37cfab18c Check for strtod diff -r 1b5fbaf1d2c6 -r 905dc98a40fa configure.in --- a/configure.in Wed Feb 08 08:55:33 2006 +0000 +++ b/configure.in Wed Feb 08 09:06:34 2006 +0000 @@ -180,7 +180,7 @@ AC_CHECK_FUNCS(strlen strcpy strncpy strcat strncat strdup) AC_CHECK_FUNCS(_strrev _strupr _strlwr) AC_CHECK_FUNCS(strchr strrchr strstr) -AC_CHECK_FUNCS(itoa _ltoa _uitoa _ultoa strtol _i64toa _ui64toa strtoll atoi atof) +AC_CHECK_FUNCS(itoa _ltoa _uitoa _ultoa strtol _i64toa _ui64toa strtoll strtod atoi atof) AC_CHECK_FUNCS(strcmp strncmp stricmp strcasecmp) AC_CHECK_FUNCS(sscanf snprintf vsnprintf) diff -r 1b5fbaf1d2c6 -r 905dc98a40fa include/SDL_config.h.in --- a/include/SDL_config.h.in Wed Feb 08 08:55:33 2006 +0000 +++ b/include/SDL_config.h.in Wed Feb 08 09:06:34 2006 +0000 @@ -32,7 +32,6 @@ #ifdef HAVE_LIBC - /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP systems. This function is required for `alloca.c' support on those systems. */ @@ -177,6 +176,9 @@ /* Define to 1 if you have the `strstr' function. */ #undef HAVE_STRSTR +/* Define to 1 if you have the `strtod' function. */ +#undef HAVE_STRTOD + /* Define to 1 if you have the `strtol' function. */ #undef HAVE_STRTOL @@ -282,7 +284,6 @@ #undef size_t - #endif /* HAVE_LIBC */ #endif /* _SDL_config_h */