summaryrefslogtreecommitdiff
path: root/CCache
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2021-03-30 22:06:25 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2021-04-26 22:32:52 +0100
commitf822a6f091e1a3a1f783fd9bc7df48da7235cd1f (patch)
tree61f064caf270cff92fd5087c46b9508d26dbc242 /CCache
parent5ef26675cccf524ef929b90d15f61a57874830b5 (diff)
downloadswig-f822a6f091e1a3a1f783fd9bc7df48da7235cd1f.tar.gz
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.
Diffstat (limited to 'CCache')
-rw-r--r--CCache/configure.ac15
1 files changed, 1 insertions, 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 <sys/time.h>
- and <time.h>. This macro is obsolete.])
-fi
-# End of obsolete code.
AC_HEADER_SYS_WAIT