Skip to content
Snippets Groups Projects
Commit 70927ff1 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Check for inline support.

parent 552b2273
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
(isc_gethostname): Ditto. (isc_gethostname): Ditto.
(isc_getportnum): Ditto. (isc_getportnum): Ditto.
(isc_getservice): Ditto. (isc_getservice): Ditto.
* configure.in: Check for inline support.
Use INADDR_NONE to get rid of a compiler warning. Use INADDR_NONE to get rid of a compiler warning.
* src/isc_udp.c (isc_mkudpaddress): Use INADDR_NONE instead of -1. * 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 ...@@ -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.10 $)dnl AC_REVISION($Revision: 1.11 $)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])
...@@ -67,6 +67,7 @@ dnl Checks for typedefs, structures, and compiler characteristics. ...@@ -67,6 +67,7 @@ dnl Checks for typedefs, structures, and compiler characteristics.
AM_PROG_CC_STDC AM_PROG_CC_STDC
AC_HEADER_TIME AC_HEADER_TIME
AC_C_CONST AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T AC_TYPE_SIZE_T
AC_CHECK_DECL([INADDR_NONE],, AC_CHECK_DECL([INADDR_NONE],,
AC_DEFINE([INADDR_NONE],[(-1)], [Error indicator for inet_addr]), AC_DEFINE([INADDR_NONE],[(-1)], [Error indicator for inet_addr]),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment