git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@162
6a8cc165-1e22-0410-a132-
eb4e3f353aba
/* Define to 1 if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
+/* Define to 1 if the system has the type `gid_t'. */
+#undef HAVE_GID_T
+
/* Define to 1 if you have the <grp.h> header file. */
#undef HAVE_GRP_H
/* Define to 1 if you have the `tzset' function. */
#undef HAVE_TZSET
+/* Define to 1 if the system has the type `uid_t'. */
+#undef HAVE_UID_T
+
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
AC_STRUCT_TM
AC_STRUCT_TIMEZONE
+AC_CHECK_TYPES([uid_t, gid_t])
AC_CHECK_MEMBERS([struct tm.tm_gmtoff, struct stat.st_ino],,,
[
#if HAVE_SYS_TYPES_H
AC_STRUCT_TM
AC_STRUCT_TIMEZONE
+AC_CHECK_TYPE(uid_t, int)
+AC_CHECK_TYPE(gid_t, int)
+AC_DEFINE(HAVE_UID_T, 1, [dummy macro])
+AC_DEFINE(HAVE_GID_T, 1, [dummy macro])
+
AC_CACHE_CHECK([for tm_gmtoff in struct tm], ac_cv_member_struct_tm_tm_gmtoff,
[AC_TRY_COMPILE([
#if TM_IN_SYS_TIME