Commit 70927ff1 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Check for inline support.

parent 552b2273
......@@ -8,6 +8,7 @@
(isc_gethostname): Ditto.
(isc_getportnum): Ditto.
(isc_getservice): Ditto.
* configure.in: Check for inline support.
Use INADDR_NONE to get rid of a compiler warning.
* src/isc_udp.c (isc_mkudpaddress): Use INADDR_NONE instead of -1.
......
......@@ -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.10 $)dnl
AC_REVISION($Revision: 1.11 $)dnl
AC_PREREQ(2.53)
AC_INIT(isc, 1.01)
AC_CONFIG_SRCDIR([src/isc_master.c])
......@@ -67,6 +67,7 @@ dnl Checks for typedefs, structures, and compiler characteristics.
AM_PROG_CC_STDC
AC_HEADER_TIME
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_CHECK_DECL([INADDR_NONE],,
AC_DEFINE([INADDR_NONE],[(-1)], [Error indicator for inet_addr]),
......
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