changeset 1347:905dc98a40fa

Check for strtod
author Sam Lantinga <slouken@libsdl.org>
date Wed, 08 Feb 2006 09:06:34 +0000
parents 1b5fbaf1d2c6
children 40d0975c1769
files configure.in include/SDL_config.h.in
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)
 
--- 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 */