projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.
[gnulib.git]
/
m4
/
d-type.m4
diff --git
a/m4/d-type.m4
b/m4/d-type.m4
index
b3838f1
..
3ab69b4
100644
(file)
--- a/
m4/d-type.m4
+++ b/
m4/d-type.m4
@@
-1,11
+1,11
@@
-#serial
1
+#serial
2
dnl From Jim Meyering.
dnl
dnl Check whether struct dirent has a member named d_type.
dnl
dnl From Jim Meyering.
dnl
dnl Check whether struct dirent has a member named d_type.
dnl
-AC_DEFUN(jm_STRUCT_DIRENT_D_TYPE,
+AC_DEFUN(jm_
CHECK_TYPE_
STRUCT_DIRENT_D_TYPE,
[AC_REQUIRE([AC_HEADER_DIRENT])dnl
AC_CACHE_CHECK([for d_type member in directory struct],
jm_cv_struct_dirent_d_type,
[AC_REQUIRE([AC_HEADER_DIRENT])dnl
AC_CACHE_CHECK([for d_type member in directory struct],
jm_cv_struct_dirent_d_type,
@@
-34,7
+34,9
@@
AC_DEFUN(jm_STRUCT_DIRENT_D_TYPE,
]
)
if test $jm_cv_struct_dirent_d_type = yes; then
]
)
if test $jm_cv_struct_dirent_d_type = yes; then
- AC_DEFINE(D_TYPE_IN_DIRENT)
+ AC_DEFINE(D_TYPE_IN_DIRENT, 1,
+ [Define if there is a member named d_type in the struct describing
+ directory headers.])
fi
]
)
fi
]
)