(HAVE_TIMEVAL): Set explicitly to `no' if test fails.
authorRichard M. Stallman <rms@gnu.org>
Wed, 31 Jan 1996 02:23:25 +0000 (02:23 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 31 Jan 1996 02:23:25 +0000 (02:23 +0000)
configure.in

index b0d3ad9..fb7ea9f 100644 (file)
@@ -997,7 +997,8 @@ AC_TRY_COMPILE([#ifdef TIME_WITH_SYS_TIME
   [AC_MSG_RESULT(yes)
    HAVE_TIMEVAL=yes
    AC_DEFINE(HAVE_TIMEVAL)],
-  AC_MSG_RESULT(no))
+  [AC_MSG_RESULT(no)
+   HAVE_TIMEVAL=no])
 
 dnl checks for structure members
 AC_STRUCT_TM