Skip to content

Commit

Permalink
Stop checking for inet_aton; we don't use it.
Browse files Browse the repository at this point in the history
We had cmake and autoconf tests for the inet_aton function... but we
never actually use it any more.

(The autoconf tests still use the callability of inet_aton to decide
whether we need to link against -lresolv)

Reported by Harlan Stenn.
  • Loading branch information
nmathewson committed Feb 24, 2014
1 parent 565ea26 commit f665d5c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ CHECK_FUNCTION_EXISTS_EX(getnameinfo EVENT__HAVE_GETNAMEINFO)
CHECK_FUNCTION_EXISTS_EX(gettimeofday EVENT__HAVE_GETTIMEOFDAY)
CHECK_FUNCTION_EXISTS_EX(getprotobynumber EVENT__HAVE_GETPROTOBYNUMBER)
CHECK_FUNCTION_EXISTS_EX(getservbyname EVENT__HAVE_GETSERVBYNAME)
CHECK_FUNCTION_EXISTS_EX(inet_aton EVENT__HAVE_INET_ATON)
CHECK_FUNCTION_EXISTS_EX(inet_ntop EVENT__HAVE_INET_NTOP)
CHECK_FUNCTION_EXISTS_EX(inet_pton EVENT__HAVE_INET_PTON)
CHECK_FUNCTION_EXISTS_EX(kqueue EVENT__HAVE_KQUEUE)
Expand Down
3 changes: 0 additions & 3 deletions WIN32-Code/nmake/event2/event-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@
/* Define to 1 if you have the `gettimeofday' function. */
/* #define EVENT__HAVE_GETTIMEOFDAY 1 */

/* Define to 1 if you have the `inet_aton' function. */
/* #undef EVENT__HAVE_INET_ATON */

/* Define to 1 if you have the `inet_ntop' function. */
/* #undef EVENT__HAVE_INET_NTOP */

Expand Down
1 change: 0 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ AC_CHECK_FUNCS([ \
getnameinfo \
getprotobynumber \
gettimeofday \
inet_aton \
inet_ntop \
inet_pton \
issetugid \
Expand Down
3 changes: 0 additions & 3 deletions event-config.h.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@
/* Define to 1 if you have the <ifaddrs.h> header file. */
#cmakedefine EVENT__HAVE_IFADDRS_H 1

/* Define to 1 if you have the `inet_aton' function. */
#cmakedefine EVENT__HAVE_INET_ATON 1

/* Define to 1 if you have the `inet_ntop' function. */
#cmakedefine EVENT__HAVE_INET_NTOP 1

Expand Down

0 comments on commit f665d5c

Please sign in to comment.