* modules/sys_time (Makefile.am): Build sys/time.h only when it's the
[pspp] / modules / sys_time
index 80be27d0f4a47999f81528f06e0e04874ae48108..006b7afe7f2cc8ff8b1905a31aaa90679b1928ef 100644 (file)
@@ -13,7 +13,7 @@ gl_HEADER_SYS_TIME_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
-BUILT_SOURCES += sys/time.h
+BUILT_SOURCES += $(SYS_TIME_H)
 
 # We need the following in order to create <sys/time.h> when the system
 # doesn't have one that works with the given compiler.
@@ -28,7 +28,7 @@ sys/time.h: sys_time_.h
              < $(srcdir)/sys_time_.h; \
        } > $@-t
        mv $@-t $@
-MOSTLYCLEANFILES += sys/time.h sys/time.h-t
+MOSTLYCLEANFILES += $(SYS_TIME_H) sys/time.h-t
 
 Include:
 #include <sys/time.h>