gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 173/256: configure: fix curl_off_t check's include


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 173/256: configure: fix curl_off_t check's include order
Date: Fri, 06 Oct 2017 19:44:24 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 3dab9f6c71b0a2d7651109c8da43788eaad2a2f5
Author: Jay Satiro <address@hidden>
AuthorDate: Wed Sep 6 18:04:16 2017 -0400

    configure: fix curl_off_t check's include order
    
    - Prepend srcdir include path instead of append.
    
    Prior to this change it was possible that during the check for the size
    of curl_off_t the include path of a user's already installed curl could
    come before the include path of the to-be-built curl, resulting in the
    system.h of the former being incorrectly included for that check.
    
    Closes https://github.com/curl/curl/pull/1870
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index aa6fd0a53..ed71f6b8d 100755
--- a/configure.ac
+++ b/configure.ac
@@ -3253,7 +3253,7 @@ AC_CHECK_SIZEOF(time_t)
 AC_CHECK_SIZEOF(off_t)
 
 o=$CPPFLAGS
-CPPFLAGS="$CPPFLAGS -I$srcdir/include"
+CPPFLAGS="-I$srcdir/include $CPPFLAGS"
 AC_CHECK_SIZEOF(curl_off_t, unused , [
 #include <curl/system.h>
 ])

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



reply via email to

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