summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2018-11-12 13:27:55 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2018-11-12 13:31:51 -0800
commit62bfa9d421138ec538682eb0323fa9f438d6b2c7 (patch)
tree52065fad2301d86f9a591dfcd06b2381fff82bcd /configure.ac
parent0c3627bc7dac395c6af8bd1fb747ef3556e95fb4 (diff)
Prefer inet_aton, if available, over inet_addr
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 47147df..d174e42 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,6 +42,9 @@ case $host_os in
;;
esac
+# Checks for library functions.
+AC_CHECK_FUNCS([inet_aton])
+
AC_CONFIG_FILES([
Makefile
man/Makefile])