Move HAVE__GL_CLOSE_FD_MAYBE_SOCKET macro.
[pspp] / m4 / time_h.m4
index 3f543a15a7b1c12532d766119a167b622130af3e..d42a635ece4cdb36055b474f60c77eb8f5d9ae4d 100644 (file)
@@ -65,7 +65,7 @@ AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC],
            [[static struct timespec x; x.tv_sec = x.tv_nsec;]])],
         [gl_cv_sys_struct_timespec_in_sys_time_h=yes],
         [gl_cv_sys_struct_timespec_in_sys_time_h=no])])
-    if test $gl_cv_sys_struct_timespec_in_time_h = yes; then
+    if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then
       SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1
     fi
   fi