tests: test-update-copyright.sh: remove unnecessary "rm" commands
[pspp] / modules / timegm
index 27eab44ec753a5790331e004f640f01b30394f4c..0ec9d65e7b7a1aeef2efb761fae8452cf9094da1 100644 (file)
@@ -2,16 +2,22 @@ Description:
 Convert calendar time to simple time, inverse of mktime.
 
 Files:
+lib/mktime-internal.h
 lib/timegm.c
 m4/timegm.m4
 
 Depends-on:
-mktime
 time
-time_r
+mktime-internal [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1]
+time_r          [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1]
 
 configure.ac:
 gl_FUNC_TIMEGM
+if test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1; then
+  AC_LIBOBJ([timegm])
+  gl_PREREQ_TIMEGM
+fi
+gl_TIME_MODULE_INDICATOR([timegm])
 
 Makefile.am: