diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2021-03-30 22:06:25 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2021-03-30 22:07:11 +0100 |
commit | 558e7476a681ad3e3a0c795faf1b740c173da60a (patch) | |
tree | cb4e3c51d68e71e5851a084468b1197cbe421b34 | |
parent | c0d7ce9fc89fdd54b0180e555d2b8c7d2a0ad087 (diff) | |
download | swig-558e7476a681ad3e3a0c795faf1b740c173da60a.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.
-rw-r--r-- | CCache/configure.ac | 15 |
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 |