mirror of
https://github.com/curl/curl.git
synced 2025-01-24 14:15:18 +08:00
configure: s/AC_RUN_IFELSE/CURL_RUN_IFELSE
fix a few leftovers Fixes #3006 Closes #3049
This commit is contained in:
parent
063f9a4c8b
commit
5616c1df28
@ -1664,7 +1664,7 @@ AC_DEFUN([CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC], [
|
||||
if test "x$cross_compiling" != "xyes" &&
|
||||
test "$curl_func_clock_gettime" = "yes"; then
|
||||
AC_MSG_CHECKING([if monotonic clock_gettime works])
|
||||
AC_RUN_IFELSE([
|
||||
CURL_RUN_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
|
@ -513,7 +513,7 @@ AC_DEFUN([CURL_COMPILER_WORKS_IFELSE], [
|
||||
dnl only do runtime verification when not cross-compiling
|
||||
if test "x$cross_compiling" != "xyes" &&
|
||||
test "$tmp_compiler_works" = "yes"; then
|
||||
AC_RUN_IFELSE([
|
||||
CURL_RUN_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
# ifdef __STDC__
|
||||
# include <stdlib.h>
|
||||
|
@ -2090,7 +2090,7 @@ AC_DEFUN([CURL_CHECK_FUNC_GETADDRINFO], [
|
||||
if test "x$cross_compiling" != "xyes" &&
|
||||
test "$tst_compi_getaddrinfo" = "yes"; then
|
||||
AC_MSG_CHECKING([if getaddrinfo seems to work])
|
||||
AC_RUN_IFELSE([
|
||||
CURL_RUN_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
$curl_includes_ws2tcpip
|
||||
$curl_includes_stdlib
|
||||
@ -3024,7 +3024,7 @@ AC_DEFUN([CURL_CHECK_FUNC_GETIFADDRS], [
|
||||
if test "x$cross_compiling" != "xyes" &&
|
||||
test "$tst_compi_getifaddrs" = "yes"; then
|
||||
AC_MSG_CHECKING([if getifaddrs seems to work])
|
||||
AC_RUN_IFELSE([
|
||||
CURL_RUN_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
$curl_includes_stdlib
|
||||
$curl_includes_ifaddrs
|
||||
@ -3402,7 +3402,7 @@ AC_DEFUN([CURL_CHECK_FUNC_GMTIME_R], [
|
||||
if test "x$cross_compiling" != "xyes" &&
|
||||
test "$tst_compi_gmtime_r" = "yes"; then
|
||||
AC_MSG_CHECKING([if gmtime_r seems to work])
|
||||
AC_RUN_IFELSE([
|
||||
CURL_RUN_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
$curl_includes_stdlib
|
||||
$curl_includes_time
|
||||
@ -3643,7 +3643,7 @@ AC_DEFUN([CURL_CHECK_FUNC_INET_NTOP], [
|
||||
if test "x$cross_compiling" != "xyes" &&
|
||||
test "$tst_compi_inet_ntop" = "yes"; then
|
||||
AC_MSG_CHECKING([if inet_ntop seems to work])
|
||||
AC_RUN_IFELSE([
|
||||
CURL_RUN_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
$curl_includes_stdlib
|
||||
$curl_includes_arpa_inet
|
||||
@ -3802,7 +3802,7 @@ AC_DEFUN([CURL_CHECK_FUNC_INET_PTON], [
|
||||
if test "x$cross_compiling" != "xyes" &&
|
||||
test "$tst_compi_inet_pton" = "yes"; then
|
||||
AC_MSG_CHECKING([if inet_pton seems to work])
|
||||
AC_RUN_IFELSE([
|
||||
CURL_RUN_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
$curl_includes_stdlib
|
||||
$curl_includes_arpa_inet
|
||||
@ -4563,7 +4563,7 @@ AC_DEFUN([CURL_CHECK_FUNC_LOCALTIME_R], [
|
||||
if test "x$cross_compiling" != "xyes" &&
|
||||
test "$tst_compi_localtime_r" = "yes"; then
|
||||
AC_MSG_CHECKING([if localtime_r seems to work])
|
||||
AC_RUN_IFELSE([
|
||||
CURL_RUN_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
$curl_includes_stdlib
|
||||
$curl_includes_time
|
||||
@ -4802,7 +4802,7 @@ AC_DEFUN([CURL_CHECK_FUNC_POLL], [
|
||||
if test "x$cross_compiling" != "xyes" &&
|
||||
test "$tst_compi_poll" = "yes"; then
|
||||
AC_MSG_CHECKING([if poll seems to work])
|
||||
AC_RUN_IFELSE([
|
||||
CURL_RUN_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
$curl_includes_stdlib
|
||||
$curl_includes_poll
|
||||
@ -6181,7 +6181,7 @@ AC_DEFUN([CURL_CHECK_FUNC_STRERROR_R], [
|
||||
if test "x$cross_compiling" != "xyes" &&
|
||||
test "$tst_glibc_strerror_r" = "yes"; then
|
||||
AC_MSG_CHECKING([if strerror_r seems to work])
|
||||
AC_RUN_IFELSE([
|
||||
CURL_RUN_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
$curl_includes_stdlib
|
||||
$curl_includes_string
|
||||
@ -6242,7 +6242,7 @@ AC_DEFUN([CURL_CHECK_FUNC_STRERROR_R], [
|
||||
if test "x$cross_compiling" != "xyes" &&
|
||||
test "$tst_posix_strerror_r" = "yes"; then
|
||||
AC_MSG_CHECKING([if strerror_r seems to work])
|
||||
AC_RUN_IFELSE([
|
||||
CURL_RUN_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
$curl_includes_stdlib
|
||||
$curl_includes_string
|
||||
|
Loading…
Reference in New Issue
Block a user