gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 60/264: curl-functions.m4: remove inappropriate AC_REQUIRE


From: gnunet
Subject: [gnurl] 60/264: curl-functions.m4: remove inappropriate AC_REQUIRE
Date: Thu, 30 Apr 2020 16:06:03 +0200

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit f25f602ffd026cc6b5bb0b3a6d8f1abe1bad7881
Author: Ross Burton <address@hidden>
AuthorDate: Fri Mar 20 21:16:24 2020 +0000

    curl-functions.m4: remove inappropriate AC_REQUIRE
    
    AC_REQUIRE means "if this macro hasn't been executed already, execute
    it".  So in a wrapper around AC_RUN_IFELSE, AC_REQUIRE(AC_RUN_IFELSE)
    isn't correct at that will execute AC_RUN_IFELSE without any arguments.
    
    With autoconf 2.69 this is basically a no-op, but with autoconf 2.70,
    AC_RUN_IFELSE without a default value when cross-compiling is fatal.
    The result is that curl with autoconf 2.70 cannot cross-compile.
    
    Fixes https://github.com/curl/curl/issues/5126
    Closes https://github.com/curl/curl/pull/5130
---
 m4/curl-functions.m4 | 2 --
 1 file changed, 2 deletions(-)

diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4
index e773f6700..b4e64cf33 100644
--- a/m4/curl-functions.m4
+++ b/m4/curl-functions.m4
@@ -7289,8 +7289,6 @@ dnl CURL_LIBRARY_PATH variable. It keeps the 
LD_LIBRARY_PATH
 dnl changes contained within this macro.
 
 AC_DEFUN([CURL_RUN_IFELSE], [
-   AC_REQUIRE([AC_RUN_IFELSE])dnl
-
    old=$LD_LIBRARY_PATH
    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
    export LD_LIBRARY_PATH

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]