From f822a6f091e1a3a1f783fd9bc7df48da7235cd1f Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 30 Mar 2021 22:06:25 +0100 Subject: [PATCH] configure.ac tidyup after update (ccache) We don't use TIME_WITH_SYS_TIME Don't check for sys/time.h twice Minimum version was 2.52 before upgrade, no need to enforce 2.71 Set it to 2.60 (same as main swig configure.ac) - new macros introduced by autoupdate are in 2.60. --- CCache/configure.ac | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/CCache/configure.ac b/CCache/configure.ac index 2559fdb5f..2db3553ce 100644 --- a/CCache/configure.ac +++ b/CCache/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([ccache-swig],[0.0]) # Get version from SWIG in ccache_swig_config.h.in -AC_PREREQ([2.71]) +AC_PREREQ([2.60]) AC_CONFIG_SRCDIR([ccache.h]) AC_MSG_NOTICE([Configuring ccache]) @@ -41,19 +41,6 @@ else fi AC_HEADER_DIRENT -m4_warn([obsolete], -[Update your code to rely only on HAVE_SYS_TIME_H, -then remove this warning and the obsolete code below it. -All current systems provide time.h; it need not be checked for. -Not all systems provide sys/time.h, but those that do, all allow -you to include it and time.h simultaneously.])dnl -AC_CHECK_HEADERS_ONCE([sys/time.h]) -# Obsolete code to be removed. -if test $ac_cv_header_sys_time_h = yes; then - AC_DEFINE([TIME_WITH_SYS_TIME],[1],[Define to 1 if you can safely include both - and . This macro is obsolete.]) -fi -# End of obsolete code. AC_HEADER_SYS_WAIT