Commit 5c39e227 5c39e22731eaca28a2197c7c0526c242feb3370b by Alain Magloire

ChangeLog: updated.

configure.ac : Check "long long" and "long double"
1 parent 6efca0a2
1 2003-05-24 Alain Magloire 1 2003-05-24 Alain Magloire
2 2
3 * snprintf.c: Change to be under LGPL not GPL. 3 * configure.ac: Check for "long long" and "long double".
4 * lib/snprintf.c: Change to be under LGPL not GPL.
4 (vsnprintf): implement "%lld", "%qd", "%Lg" 5 (vsnprintf): implement "%lld", "%qd", "%Lg"
5 * snprintf.h: New macro LONG_LONG, LONG_DOUBLE 6 * lib/snprintf.h: New macro LONG_LONG, LONG_DOUBLE
6 default to long long, long double. 7 default to long long, long double.
7 8
8 2003-05-20 Sergey Poznyakoff 9 2003-05-20 Sergey Poznyakoff
......
...@@ -276,6 +276,8 @@ AC_CHECK_TYPE(socklen_t, , AC_DEFINE(socklen_t, int, [Define to int if <sys/type ...@@ -276,6 +276,8 @@ AC_CHECK_TYPE(socklen_t, , AC_DEFINE(socklen_t, int, [Define to int if <sys/type
276 # include <socket.h> 276 # include <socket.h>
277 #endif 277 #endif
278 ]) 278 ])
279 AC_CHECK_TYPE(long long, , AC_DEFINE(LONG_LONG, long, [Define to long if compiler does not support]))
280 AC_CHECK_TYPE(long double, , AC_DEFINE(LONG_DOUBLE, double, [Define to double if compiler does not support]))
279 281
280 AC_STRUCT_TM 282 AC_STRUCT_TM
281 AC_CHECK_MEMBERS([struct tm.tm_zone, struct tm.tm_gmtoff, struct tm.tm_isdst], 283 AC_CHECK_MEMBERS([struct tm.tm_zone, struct tm.tm_gmtoff, struct tm.tm_isdst],
......