roundf-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
[pspp] / modules / time_r
index c7874a91dc6550af8a358b325d63a8f0ca4f07fd..c235e08bb2ff507e5a217abc64b3adb26444175d 100644 (file)
@@ -11,6 +11,10 @@ time
 
 configure.ac:
 gl_TIME_R
+if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
+  AC_LIBOBJ([time_r])
+  gl_PREREQ_TIME_R
+fi
 gl_TIME_MODULE_INDICATOR([time_r])
 
 Makefile.am: