Commit db43cd29 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Improve the uint32_t check.

parent 9003a097
......@@ -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.15 $)dnl
AC_REVISION($Revision: 1.16 $)dnl
AC_PREREQ(2.53)
AC_INIT(isc, 1.01)
AC_CONFIG_SRCDIR([src/isc_master.c])
......@@ -61,7 +61,7 @@ dnl Checks for libraries.
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(stdlib.h stdarg.h stddef.h string.h sys/select.h unistd.h)
AC_CHECK_HEADERS(sys/time.h)
AC_CHECK_HEADERS(sys/time.h stdint.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AM_PROG_CC_STDC
......@@ -95,6 +95,12 @@ then]
dnl
AC_CHECK_TYPE([uint32_t],AC_DEFINE([HAVE_UINT32_T]),,[
#include <limits.h>
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
])
[if test $ac_cv_type_uint32_t = no
then]
......
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