diff --git a/configure.in b/configure.in index 5c51ec7eb..ce234867d 100644 --- a/configure.in +++ b/configure.in @@ -180,7 +180,7 @@ AC_CHECK_FUNCS(memset memcpy memmove memcmp) 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 --git a/include/SDL_config.h.in b/include/SDL_config.h.in index 00892df78..a63e04087 100644 --- a/include/SDL_config.h.in +++ b/include/SDL_config.h.in @@ -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 */