Commit 8d7c26c8 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Portability fix for Dynix:

(AC_TYPE_PID_T): Added.
(AC_REPLACE_FUNCS(setsid)): Added.
parent 45a75347
dnl $Id: configure.in,v 1.24 1995/01/01 19:31:27 ceder Exp $ dnl $Id: configure.in,v 1.25 1995/01/07 19:16:41 ceder Exp $
dnl Configuration for LysKOM dnl Configuration for LysKOM
dnl Copyright (C) 1993, 1994, 1995 Lysator Academic Computer Association. dnl Copyright (C) 1993, 1994, 1995 Lysator Academic Computer Association.
dnl dnl
...@@ -18,7 +18,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ...@@ -18,7 +18,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
dnl dnl
dnl Please mail bug reports to bug-lyskom@lysator.liu.se. dnl Please mail bug reports to bug-lyskom@lysator.liu.se.
dnl dnl
AC_REVISION($Revision: 1.24 $) AC_REVISION($Revision: 1.25 $)
AC_INIT(src/server/lyskomd.h) AC_INIT(src/server/lyskomd.h)
AC_PROG_CC AC_PROG_CC
AC_SUBST(CFLAGS) AC_SUBST(CFLAGS)
...@@ -45,6 +45,7 @@ AC_MSG_CHECKING([flag to get dependencies]) ...@@ -45,6 +45,7 @@ AC_MSG_CHECKING([flag to get dependencies])
AC_MSG_RESULT([$DEPENDFLAG]) AC_MSG_RESULT([$DEPENDFLAG])
AC_C_CONST AC_C_CONST
AC_HEADER_STDC AC_HEADER_STDC
AC_TYPE_PID_T
AC_MSG_CHECKING([if _HPUX_SOURCE needs to be defined]) AC_MSG_CHECKING([if _HPUX_SOURCE needs to be defined])
AC_CACHE_VAL([kom_cv_sys_hpux_source], AC_CACHE_VAL([kom_cv_sys_hpux_source],
[AC_TRY_LINK( [AC_TRY_LINK(
...@@ -87,7 +88,7 @@ AC_CHECK_LIB(nsl,gethostbyname) dnl Low-level networking code on Solaris 2. ...@@ -87,7 +88,7 @@ AC_CHECK_LIB(nsl,gethostbyname) dnl Low-level networking code on Solaris 2.
AC_CHECK_LIB(i,setlocale) dnl For setlocale() on Ultrix. AC_CHECK_LIB(i,setlocale) dnl For setlocale() on Ultrix.
AC_CHECK_FUNCS(difftime getdtablesize sysconf strchr getcwd vfprintf) AC_CHECK_FUNCS(difftime getdtablesize sysconf strchr getcwd vfprintf)
AC_CHECK_FUNCS(setrlimit) AC_CHECK_FUNCS(setrlimit)
AC_REPLACE_FUNCS(memcpy strerror remove memset memchr) AC_REPLACE_FUNCS(memcpy strerror remove memset memchr setsid)
dnl dnl
dnl I don't know how to test for buggy inet_ntoa functions dnl I don't know how to test for buggy inet_ntoa functions
dnl programmatically, but the supplied substitute should always work, dnl programmatically, but the supplied substitute should always work,
......
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