Commit 0d797458 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Check for uint32_t, and sizeof int and sizeof long.

parent 823db9d1
......@@ -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.
AC_REVISION($Revision: 1.14 $)dnl
AC_REVISION($Revision: 1.15 $)dnl
AC_PREREQ(2.53)
AC_INIT(isc, 1.01)
AC_CONFIG_SRCDIR([src/isc_master.c])
......@@ -92,6 +92,15 @@ then]
AC_DEFINE([INADDR_NONE],[((uint32_t)-1)], [Error indicator for inet_addr]),
[#include <netinet/in.h>])
[fi]
dnl
AC_CHECK_TYPE([uint32_t],AC_DEFINE([HAVE_UINT32_T]),,[
#include <limits.h>
])
[if test $ac_cv_type_uint32_t = no
then]
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
[fi]
CMOD_C_ATTRIBUTE_UNUSED
......
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