From: Tim Kientzle Date: Tue, 24 Jun 2008 22:45:59 +0000 (-0400) Subject: Eliminate some autoconf options that are no longer in use. X-Git-Tag: v2.6.0~151 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a99e2947f64e3d4321275cea039109e0315d5218;p=thirdparty%2Flibarchive.git Eliminate some autoconf options that are no longer in use. SVN-Revision: 141 --- diff --git a/configure.ac b/configure.ac index 7c717a83c..3d3f5058a 100644 --- a/configure.ac +++ b/configure.ac @@ -164,15 +164,6 @@ AC_HEADER_DIRENT AC_HEADER_SYS_WAIT AC_CHECK_HEADERS([bzlib.h errno.h ext2fs/ext2_fs.h fcntl.h grp.h]) AC_CHECK_HEADERS([inttypes.h langinfo.h limits.h linux/fs.h]) -# Include inttypes.h into archive.h only if appropriate. -# We can't use the HAVE_INTTYPES_H macro here because archive.h -# gets installed as a system header and then included into client code -# that doesn't define such macros. (And we should certainly not -# define such macros in system headers!) -# Hence the following: -AC_CHECK_HEADER(inttypes.h, - [AC_SUBST(ARCHIVE_H_INCLUDE_INTTYPES_H,['#include /* For int64_t */'])], - [AC_SUBST(ARCHIVE_H_INCLUDE_INTTYPES_H,[''])]) AC_CHECK_HEADERS([locale.h paths.h poll.h pwd.h regex.h stdarg.h]) AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/acl.h sys/ioctl.h]) AC_CHECK_HEADERS([sys/param.h sys/poll.h sys/select.h sys/time.h sys/utime.h]) @@ -199,8 +190,6 @@ AC_CHECK_TYPE(off_t, [long long]) AC_TYPE_SIZE_T AC_CHECK_TYPE(id_t, [unsigned long]) AC_CHECK_TYPE(uintptr_t, [unsigned int]) -AC_CHECK_MEMBERS([struct stat.st_rdev]) -AC_CHECK_MEMBERS([struct tm.tm_gmtoff]) # Check for high-resolution timestamps in struct stat AC_CHECK_MEMBERS([struct stat.st_mtimespec.tv_nsec]) AC_CHECK_MEMBERS([struct stat.st_mtim.tv_nsec]) diff --git a/cpio/config_freebsd.h b/cpio/config_freebsd.h index 086b77a53..992c850f9 100644 --- a/cpio/config_freebsd.h +++ b/cpio/config_freebsd.h @@ -91,7 +91,6 @@ #define HAVE_STRRCHR 1 #undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC #define HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1 -#define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_SYS_ACL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_PARAM_H 1 diff --git a/libarchive/config_freebsd.h b/libarchive/config_freebsd.h index 4559c475a..4182b71df 100644 --- a/libarchive/config_freebsd.h +++ b/libarchive/config_freebsd.h @@ -87,8 +87,6 @@ #define HAVE_STRING_H 1 #define HAVE_STRRCHR 1 #define HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1 -#define HAVE_STRUCT_STAT_ST_RDEV 1 -#define HAVE_STRUCT_TM_TM_GMTOFF 1 #define HAVE_SYS_ACL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_SELECT_H 1 diff --git a/libarchive/config_windows.h b/libarchive/config_windows.h index 0c577d8a6..4144f8120 100644 --- a/libarchive/config_windows.h +++ b/libarchive/config_windows.h @@ -337,12 +337,6 @@ /* Define to 1 if `st_mtim.tv_nsec' is member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC */ -/* Define to 1 if `st_rdev' is member of `struct stat'. */ -#define HAVE_STRUCT_STAT_ST_RDEV 1 - -/* Define to 1 if `tm_gmtoff' is member of `struct tm'. */ -/* #undef HAVE_STRUCT_TM_TM_GMTOFF */ - /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_ACL_H */ diff --git a/tar/config_freebsd.h b/tar/config_freebsd.h index b12b623b1..bdfe71b41 100644 --- a/tar/config_freebsd.h +++ b/tar/config_freebsd.h @@ -91,7 +91,6 @@ #define HAVE_STRRCHR 1 #undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC #define HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1 -#define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_SYS_ACL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_PARAM_H 1