From 5616c1df285bef32e879f5e29fdf28c062e6506d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 26 Sep 2018 14:16:03 +0200 Subject: configure: s/AC_RUN_IFELSE/CURL_RUN_IFELSE fix a few leftovers Fixes #3006 Closes #3049 --- acinclude.m4 | 2 +- m4/curl-compilers.m4 | 2 +- m4/curl-functions.m4 | 18 +++++++++--------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 355ee3a61..13b9e6b44 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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 diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4 index 3b174abc3..641804321 100644 --- a/m4/curl-compilers.m4 +++ b/m4/curl-compilers.m4 @@ -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 diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4 index 49b4c7932..275b67b15 100644 --- a/m4/curl-functions.m4 +++ b/m4/curl-functions.m4 @@ -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 -- cgit v1.2.3