summaryrefslogtreecommitdiff
path: root/build/apr_common.m4
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2003-11-17 13:29:34 +0000
committerJoe Orton <jorton@apache.org>2003-11-17 13:29:34 +0000
commit75ad42825a0ad4c6745faf976e23884ef8551a5f (patch)
tree3ca49c40985ed6a30ee0e8016b4ff4a6b24e22cc /build/apr_common.m4
parent4dfa080e328b9e42317bb976a3c242fcb1bcadf0 (diff)
downloadapr-75ad42825a0ad4c6745faf976e23884ef8551a5f.tar.gz
* build/apr_common.m4, acconfig.h: Use the third argument to
AC_DEFINE for the DIRENT_TYPE and DIRENT_INODE templates. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64766 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/apr_common.m4')
-rw-r--r--build/apr_common.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/build/apr_common.m4 b/build/apr_common.m4
index c7bfcfd04..143824719 100644
--- a/build/apr_common.m4
+++ b/build/apr_common.m4
@@ -601,7 +601,8 @@ struct dirent de; de.d_ino;
fi
])
if test "$apr_cv_dirent_inode" != "no"; then
- AC_DEFINE_UNQUOTED(DIRENT_INODE, $apr_cv_dirent_inode)
+ AC_DEFINE_UNQUOTED(DIRENT_INODE, $apr_cv_dirent_inode,
+ [Define if struct dirent has an inode member])
fi
])
@@ -624,7 +625,8 @@ struct dirent de; de.d_type = DT_REG;
], apr_cv_dirent_type=d_type)
])
if test "$apr_cv_dirent_type" != "no"; then
- AC_DEFINE_UNQUOTED(DIRENT_TYPE, $apr_cv_dirent_type)
+ AC_DEFINE_UNQUOTED(DIRENT_TYPE, $apr_cv_dirent_type,
+ [Define if struct dirent has a d_type member])
fi
])