]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
define GMTIME_R to 0 if not working
authorDaniel Stenberg <daniel@haxx.se>
Mon, 16 May 2005 14:53:48 +0000 (14:53 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 16 May 2005 14:53:48 +0000 (14:53 +0000)
configure.ac

index 81c77dd5fd01166ed37d95c214a9ea57322c959e..0e161badae33895ba73bccb24c66fac816fb4614 100644 (file)
@@ -1321,6 +1321,7 @@ if test x$cross_compiling != xyes; then
    dnl failure, now disable the function
    AC_MSG_RESULT(no)
    ac_cv_func_gmtime_r="no"
+   AC_DEFINE(HAVE_GMTIME_R, 0, [if you have gmtime_r])
    ,
    dnl not invoked when crosscompiling)
 ])