Skip to content
Snippets Groups Projects
Commit 166e8243 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Added check for existance of in_addr_t.

Rev: src/modules/system/configure.in:1.24
parent 85222da5
No related branches found
No related tags found
No related merge requests found
# $Id: configure.in,v 1.23 1998/05/22 12:43:13 grubba Exp $
# $Id: configure.in,v 1.24 1998/05/31 14:06:50 grubba Exp $
AC_INIT(system.c)
AC_CONFIG_HEADER(system_machine.h)
......@@ -93,6 +93,27 @@ else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING(for in_addr_t)
AC_CACHE_VAL(pike_cv_type_in_addr_t,
[
AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
],[
in_addr_t foo;
],pike_cv_type_in_addr_t=yes,pike_cv_type_in_addr_t=no)
])
if test "$pike_cv_type_in_addr_t" = yes; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_IN_ADDR_T)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING(whether struct passwd has the pw_gecos field)
AC_CACHE_VAL(pike_cv_struct_has_pw_gecos,
[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment