From 9ad525604e274b4bc5264db37b1049da3d39ddac Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 23 Sep 2020 10:53:09 -0400 Subject: Use AC_LANG_SOURCE --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a14b6d6e21..9b65a869f1 100644 --- a/configure.ac +++ b/configure.ac @@ -1094,7 +1094,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ dnl Let's see if we have a version mismatch between includes and libs. AC_MSG_CHECKING([for significant mismatch between openssl headers and libraries]) ac_retval=foo -AC_RUN_IFELSE(AC_LANG_PROGRAM([[ +AC_RUN_IFELSE([AC_LANG_SOURCE([AC_LANG_PROGRAM([[ #include #include ]], [[ @@ -1103,7 +1103,7 @@ AC_RUN_IFELSE(AC_LANG_PROGRAM([[ unsigned long linking = OpenSSL_version_num() & mask; unsigned long running = OPENSSL_VERSION_NUMBER & mask; return !(linking==running); -]]), [openssl_ver_mismatch=no], [ +]])])], [openssl_ver_mismatch=no], [ # This is a kludge to figure out whether compilation failed, or whether # running the program failed. if test "$ac_retval" == "1"; then -- cgit v1.2.3-54-g00ecf