mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[configure] Added check inet_aton
This commit is contained in:
parent
a953baab2d
commit
8afffa97ac
@ -309,7 +309,7 @@ AC_CHECK_FUNCS(popen uname access chmod alarm timegm mremap)
|
||||
AC_CHECK_FUNCS(strcasecmp strncasecmp strcasestr strstr strchr strrchr)
|
||||
AC_CHECK_FUNCS(memmove bcopy stpcpy strdup index isdigit mempcpy memrchr)
|
||||
AC_CHECK_FUNCS(snprintf vsnprintf asprintf vasprintf)
|
||||
AC_CHECK_FUNCS(getifaddrs getpwnam inet_pton inet_ntop)
|
||||
AC_CHECK_FUNCS(getifaddrs getpwnam inet_aton inet_pton inet_ntop)
|
||||
AC_CHECK_FUNCS(fflush fsync fseeko ftello sigaction)
|
||||
AC_CHECK_FUNCS(gettimeofday clock_gettime)
|
||||
AC_CHECK_FUNCS(setitimer, HAVE_SETITIMER=yes)
|
||||
|
@ -617,6 +617,10 @@ if compiler.has_function('getpwnam', prefix : '#include <pwd.h>')
|
||||
conf_data.set('HAVE_GETPWNAM', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_function('inet_aton', prefix : '#include <arpa/inet.h>')
|
||||
conf_data.set('HAVE_INET_ATON', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_function('inet_pton', prefix : '#include <arpa/inet.h>')
|
||||
conf_data.set('HAVE_INET_PTON', 1)
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user