projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ba789c
)
from Paul Eggert
author
Jim Meyering
<jim@meyering.net>
Sun, 2 Aug 1998 16:15:17 +0000
(16:15 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 2 Aug 1998 16:15:17 +0000
(16:15 +0000)
m4/st_mtim.m4
[new file with mode: 0644]
patch
|
blob
diff --git a/m4/st_mtim.m4
b/m4/st_mtim.m4
new file mode 100644
(file)
index 0000000..
2de9649
--- /dev/null
+++ b/
m4/st_mtim.m4
@@ -0,0
+1,14
@@
+#serial 1
+
+dnl From Paul Eggert.
+
+# Define HAVE_ST_MTIM if struct stat has an st_mtim member.
+
+AC_DEFUN(AC_STRUCT_ST_MTIM,
+ [AC_CACHE_CHECK([for st_mtim in struct stat], ac_cv_struct_st_mtim,
+ [AC_TRY_COMPILE([#include <sys/types.h>
+#include <sys/stat.h>], [struct stat s; s.st_mtim;],
+ ac_cv_struct_st_mtim=yes, ac_cv_struct_st_mtim=no)])
+ if test $ac_cv_struct_st_mtim = yes; then
+ AC_DEFINE(HAVE_ST_MTIM)
+ fi])