gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: Convert indirect ‘AC_CHECK_FUNCS’ call t


From: gnunet
Subject: [gnunet] branch master updated: Convert indirect ‘AC_CHECK_FUNCS’ call to direct one
Date: Sat, 20 Nov 2021 07:41:15 +0100

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

ttn pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 0390da9dd Convert indirect ‘AC_CHECK_FUNCS’ call to direct one
0390da9dd is described below

commit 0390da9dd0920653c4e0c3c1ef17ab3ac65f8074
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Sat Nov 20 01:41:02 2021 -0500

    Convert indirect ‘AC_CHECK_FUNCS’ call to direct one
    
    Later versions of Autoconf emit a warning about this.
    
    * configure.ac (funcstocheck): Convert shell var assignment to
    ‘AC_CHECK_FUNCS’ call.  In later ‘AC_CHECK_FUNCS’ call, remove
    reference to ‘$funcstocheck’.
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0e1684400..f0db752c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,7 +102,7 @@ 
CC_CHECK_CFLAG_APPEND([tautological-constant-out-of-range-compare])
 # Use Linux interface name unless the OS has a different preference
 DEFAULT_INTERFACE="\"eth0\""
 
-funcstocheck="getnameinfo gethostname gethostbyname gethostbyaddr getaddrinfo 
getaddrinfo_a"
+AC_CHECK_FUNCS(getnameinfo gethostname gethostbyname gethostbyaddr getaddrinfo 
getaddrinfo_a)
 
 # Srcdir in a form that native compiler understands (i.e. DOS path on W32)
 native_srcdir=$srcdir
@@ -1576,7 +1576,7 @@ AC_FUNC_VPRINTF
 AC_HEADER_SYS_WAIT
 AC_TYPE_OFF_T
 AC_TYPE_UID_T
-AC_CHECK_FUNCS(atoll stat64 strnlen mremap getrlimit setrlimit sysconf 
initgroups strndup gethostbyname2 getpeerucred getpeereid setresuid 
$funcstocheck getifaddrs freeifaddrs getresgid mallinfo malloc_size 
malloc_usable_size getrusage random srandom stat statfs statvfs wait4 timegm)
+AC_CHECK_FUNCS(atoll stat64 strnlen mremap getrlimit setrlimit sysconf 
initgroups strndup gethostbyname2 getpeerucred getpeereid setresuid getifaddrs 
freeifaddrs getresgid mallinfo malloc_size malloc_usable_size getrusage random 
srandom stat statfs statvfs wait4 timegm)
 
 # restore LIBS
 LIBS=$SAVE_LIBS

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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