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.
This commit is contained in:
parent
5ef26675cc
commit
f822a6f091
1 changed files with 1 additions and 14 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue