comparison configure.in @ 1501:73dc5d39bbf8

Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
author Sam Lantinga <slouken@libsdl.org>
date Mon, 13 Mar 2006 01:08:00 +0000
parents 577b41f7dc1d
children 720f8bb49d7d
comparison
equal deleted inserted replaced
1500:f58c88a4dff5 1501:73dc5d39bbf8
92 if test x$enable_libc = xyes; then 92 if test x$enable_libc = xyes; then
93 AC_DEFINE(HAVE_LIBC) 93 AC_DEFINE(HAVE_LIBC)
94 94
95 dnl Check for C library headers 95 dnl Check for C library headers
96 AC_HEADER_STDC 96 AC_HEADER_STDC
97 AC_CHECK_HEADERS(sys/types.h stdio.h stdlib.h stddef.h stdarg.h malloc.h memory.h string.h strings.h inttypes.h stdint.h ctype.h math.h signal.h) 97 AC_CHECK_HEADERS(sys/types.h stdio.h stdlib.h stddef.h stdarg.h malloc.h memory.h string.h strings.h inttypes.h stdint.h ctype.h math.h iconv.h signal.h)
98 98
99 dnl Check for typedefs, structures, etc. 99 dnl Check for typedefs, structures, etc.
100 AC_TYPE_SIZE_T 100 AC_TYPE_SIZE_T
101 if test x$ac_cv_header_inttypes_h = xyes -o x$ac_cv_header_stdint_h = xyes; then 101 if test x$ac_cv_header_inttypes_h = xyes -o x$ac_cv_header_stdint_h = xyes; then
102 AC_CHECK_TYPE(int64_t) 102 AC_CHECK_TYPE(int64_t)
114 fi 114 fi
115 AC_FUNC_STRTOD 115 AC_FUNC_STRTOD
116 if test x$ac_cv_func_strtod = xyes; then 116 if test x$ac_cv_func_strtod = xyes; then
117 AC_DEFINE(HAVE_STRTOD) 117 AC_DEFINE(HAVE_STRTOD)
118 fi 118 fi
119 AC_CHECK_FUNCS(malloc calloc realloc free getenv putenv unsetenv qsort abs bcopy memset memcpy memmove strlen strlcpy strlcat strdup _strrev _strupr _strlwr strchr strrchr strstr itoa _ltoa _uitoa _ultoa strtol strtoul _i64toa _ui64toa strtoll strtoull atoi atof strcmp strncmp stricmp strcasecmp sscanf snprintf vsnprintf sigaction setjmp nanosleep) 119 AC_CHECK_FUNCS(malloc calloc realloc free getenv putenv unsetenv qsort abs bcopy memset memcpy memmove strlen strlcpy strlcat strdup _strrev _strupr _strlwr strchr strrchr strstr itoa _ltoa _uitoa _ultoa strtol strtoul _i64toa _ui64toa strtoll strtoull atoi atof strcmp strncmp stricmp strcasecmp strncasecmp sscanf snprintf vsnprintf iconv sigaction setjmp nanosleep)
120 120
121 AC_CHECK_LIB(m, pow, [BUILD_LDFLAGS="$BUILD_LDFLAGS -lm"]) 121 AC_CHECK_LIB(m, pow, [BUILD_LDFLAGS="$BUILD_LDFLAGS -lm"])
122 fi 122 fi
123 123
124 if test x$have_inttypes != xyes; then 124 if test x$have_inttypes != xyes; then