getline: Simplify.
[pspp] / modules / timegm
index f1de7264357e8c1dcbc38a8b92b052134faf82ca..ade34754fff25a37786af403654caa3153463cfd 100644 (file)
@@ -7,12 +7,13 @@ 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
+gl_TIME_MODULE_INDICATOR([timegm])
 
 Makefile.am: