summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authordscho <dscho>2005-03-07 15:25:36 +0000
committerdscho <dscho>2005-03-07 15:25:36 +0000
commitcef6224e1cff403fd18ab2fe6c88cd1b0363e4e9 (patch)
tree59ebb6f4d8eb1d4766532544b0011b9453984f23 /configure.ac
parenta86e7fed5f29fe20f4eb5855db567d7699b6f073 (diff)
downloadlibtdevnc-cef6224e1cff403fd18ab2fe6c88cd1b0363e4e9.tar.gz
libtdevnc-cef6224e1cff403fd18ab2fe6c88cd1b0363e4e9.zip
do the in_addr_t stuff correctly...
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f6aa08a..3b1fdf1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -232,8 +232,9 @@ AC_CACHE_CHECK([for in_addr_t],
[inaddrt=yes],
[inaddrt=no]),
])
+AH_TEMPLATE(NEED_INADDR_T, [Need a typedef for in_addr_t])
if test $inaddrt = no ; then
- AC_CHECK_TYPE(in_addr_t, uint32_t)
+ AC_DEFINE(NEED_INADDR_T)
fi
# Checks for library functions.