mirror of
https://github.com/curl/curl.git
synced 2026-08-01 11:48:04 +03:00
configure: remove use of deprecated macros
AC_HEADER_TIME, AC_HEADER_STDC and AC_TYPE_SIGNAL
This commit is contained in:
parent
d2ea5d166e
commit
2682e5f502
3 changed files with 1 additions and 13 deletions
|
|
@ -1408,7 +1408,6 @@ dnl -------------------------------------------------
|
||||||
dnl Check for timeval struct
|
dnl Check for timeval struct
|
||||||
|
|
||||||
AC_DEFUN([CURL_CHECK_STRUCT_TIMEVAL], [
|
AC_DEFUN([CURL_CHECK_STRUCT_TIMEVAL], [
|
||||||
AC_REQUIRE([AC_HEADER_TIME])dnl
|
|
||||||
AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK])dnl
|
AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK])dnl
|
||||||
AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl
|
AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl
|
||||||
AC_CHECK_HEADERS(sys/types.h sys/time.h time.h sys/socket.h)
|
AC_CHECK_HEADERS(sys/types.h sys/time.h time.h sys/socket.h)
|
||||||
|
|
@ -1606,7 +1605,6 @@ dnl -------------------------------------------------
|
||||||
dnl Check if monotonic clock_gettime is available.
|
dnl Check if monotonic clock_gettime is available.
|
||||||
|
|
||||||
AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [
|
AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [
|
||||||
AC_REQUIRE([AC_HEADER_TIME])dnl
|
|
||||||
AC_CHECK_HEADERS(sys/types.h sys/time.h time.h)
|
AC_CHECK_HEADERS(sys/types.h sys/time.h time.h)
|
||||||
AC_MSG_CHECKING([for monotonic clock_gettime])
|
AC_MSG_CHECKING([for monotonic clock_gettime])
|
||||||
#
|
#
|
||||||
|
|
|
||||||
11
configure.ac
11
configure.ac
|
|
@ -4246,13 +4246,6 @@ case "$OPT_FISH_FPATH" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
dnl **********************************************************************
|
|
||||||
dnl Back to "normal" configuring
|
|
||||||
dnl **********************************************************************
|
|
||||||
|
|
||||||
dnl Checks for header files.
|
|
||||||
AC_HEADER_STDC
|
|
||||||
|
|
||||||
CURL_CHECK_HEADER_MALLOC
|
CURL_CHECK_HEADER_MALLOC
|
||||||
CURL_CHECK_HEADER_MEMORY
|
CURL_CHECK_HEADER_MEMORY
|
||||||
|
|
||||||
|
|
@ -4338,7 +4331,7 @@ dnl Checks for typedefs, structures, and compiler characteristics.
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
CURL_CHECK_VARIADIC_MACROS
|
CURL_CHECK_VARIADIC_MACROS
|
||||||
AC_TYPE_SIZE_T
|
AC_TYPE_SIZE_T
|
||||||
AC_HEADER_TIME
|
|
||||||
CURL_CHECK_STRUCT_TIMEVAL
|
CURL_CHECK_STRUCT_TIMEVAL
|
||||||
CURL_VERIFY_RUNTIMELIBS
|
CURL_VERIFY_RUNTIMELIBS
|
||||||
|
|
||||||
|
|
@ -4453,8 +4446,6 @@ TYPE_SOCKADDR_STORAGE
|
||||||
|
|
||||||
TYPE_SIG_ATOMIC_T
|
TYPE_SIG_ATOMIC_T
|
||||||
|
|
||||||
AC_TYPE_SIGNAL
|
|
||||||
|
|
||||||
CURL_CHECK_FUNC_SELECT
|
CURL_CHECK_FUNC_SELECT
|
||||||
|
|
||||||
CURL_CHECK_FUNC_RECV
|
CURL_CHECK_FUNC_RECV
|
||||||
|
|
|
||||||
|
|
@ -446,7 +446,6 @@ dnl Set up variable with list of headers that must be
|
||||||
dnl included when time.h is to be included.
|
dnl included when time.h is to be included.
|
||||||
|
|
||||||
AC_DEFUN([CURL_INCLUDES_TIME], [
|
AC_DEFUN([CURL_INCLUDES_TIME], [
|
||||||
AC_REQUIRE([AC_HEADER_TIME])dnl
|
|
||||||
curl_includes_time="\
|
curl_includes_time="\
|
||||||
/* includes start */
|
/* includes start */
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue