From 8d58dea0edfb5748c59811bfe923b6cef86cbc3d Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Thu, 15 Nov 2007 23:02:54 +0000 Subject: [PATCH] Fix ctime check. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 65fa7a6..ef10e95 100644 --- a/configure.ac +++ b/configure.ac @@ -105,9 +105,9 @@ AC_MSG_CHECKING(for ctime_r) AC_MSG_RESULT(no) else if test "$ac_cv_ctime_args" = 2; then - AC_DEFINE(HAVE_CTIME_R_2) + AC_DEFINE(HAVE_CTIME_R_2,1,[Define if ctime_r is present with 2 parameters.]) elif test "$ac_cv_ctime_args" = 3; then - AC_DEFINE(HAVE_CTIME_R_3) + AC_DEFINE(HAVE_CTIME_R_3,1,[Define if ctime_r is present with 3 parameters.]) fi AC_MSG_RESULT([yes, and it takes $ac_cv_ctime_args arguments]) fi -- 2.1.4