acl: allow cross-compilation to Gentoo
[gnulib.git] / modules / gettimeofday
index 0913cf1..b4bdcc3 100644 (file)
@@ -10,6 +10,11 @@ sys_time
 
 configure.ac:
 gl_FUNC_GETTIMEOFDAY
+if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
+  AC_LIBOBJ([gettimeofday])
+  gl_PREREQ_GETTIMEOFDAY
+fi
+gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
 
 Makefile.am: