Commit 78c59e1b authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Check for socklen_t.

parent be6b3de5
...@@ -19,7 +19,7 @@ dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -19,7 +19,7 @@ dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_REVISION($Revision: 1.12 $)dnl AC_REVISION($Revision: 1.13 $)dnl
AC_PREREQ(2.53) AC_PREREQ(2.53)
AC_INIT(isc, 1.01) AC_INIT(isc, 1.01)
AC_CONFIG_SRCDIR([src/isc_master.c]) AC_CONFIG_SRCDIR([src/isc_master.c])
...@@ -69,6 +69,10 @@ AC_HEADER_TIME ...@@ -69,6 +69,10 @@ AC_HEADER_TIME
AC_C_CONST AC_C_CONST
AC_C_INLINE AC_C_INLINE
AC_TYPE_SIZE_T AC_TYPE_SIZE_T
AC_CHECK_TYPE([socklen_t],AC_DEFINE([HAVE_SOCKLEN_T]),,[
#include <sys/types.h>
#include <sys/socket.h>
])
dnl Low-level networking code on Solaris 2. dnl Low-level networking code on Solaris 2.
AC_CHECK_FUNC(gethostbyname) AC_CHECK_FUNC(gethostbyname)
[if test $ac_cv_func_gethostbyname = no [if test $ac_cv_func_gethostbyname = no
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment