check for revoke() existance and INTERIX_ROOT in the environment
This commit is contained in:
parent
00e6b9e264
commit
2ff774f6f5
5
config.h
5
config.h
@ -1,4 +1,4 @@
|
|||||||
/** $MirBSD: config.h,v 1.13 2004/10/28 11:53:40 tg Exp $ */
|
/** $MirBSD: config.h,v 1.14 2004/12/09 23:23:29 tg Exp $ */
|
||||||
/* $OpenBSD: config.h,v 1.9 2003/10/22 07:40:38 jmc Exp $ */
|
/* $OpenBSD: config.h,v 1.9 2003/10/22 07:40:38 jmc Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -248,6 +248,9 @@
|
|||||||
/* Define if you have the random function. */
|
/* Define if you have the random function. */
|
||||||
#define HAVE_RANDOM 1
|
#define HAVE_RANDOM 1
|
||||||
|
|
||||||
|
/* Define if you have the revoke function. */
|
||||||
|
#define HAVE_REVOKE 1
|
||||||
|
|
||||||
/* Define if you have the setrlimit function. */
|
/* Define if you have the setrlimit function. */
|
||||||
#define HAVE_SETRLIMIT 1
|
#define HAVE_SETRLIMIT 1
|
||||||
|
|
||||||
|
11
configure.in
11
configure.in
@ -1,4 +1,4 @@
|
|||||||
dnl $MirBSD: configure.in,v 1.8 2004/10/28 11:53:41 tg Exp $
|
dnl $MirBSD: configure.in,v 1.9 2004/12/09 23:23:29 tg Exp $
|
||||||
dnl
|
dnl
|
||||||
dnl Process this file with autoconf to produce a configure script
|
dnl Process this file with autoconf to produce a configure script
|
||||||
dnl
|
dnl
|
||||||
@ -7,6 +7,13 @@ test -s config.h.in || sed -e 's!^/\* #undef \(.*\) \*/!#undef \1!' \
|
|||||||
-e 's!^#define \(.*\) 1!#undef \1!' <config.h >config.h.in
|
-e 's!^#define \(.*\) 1!#undef \1!' <config.h >config.h.in
|
||||||
AC_CONFIG_HEADER(config.h)
|
AC_CONFIG_HEADER(config.h)
|
||||||
dnl
|
dnl
|
||||||
|
dnl This could be Interix/SFU
|
||||||
|
dnl
|
||||||
|
case $INTERIX_ROOT:$MIROS in
|
||||||
|
*:) CPPFLAGS="$CPPFLAGS -DINTERIX -D_ALL_SOURCE"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
dnl
|
||||||
dnl
|
dnl
|
||||||
dnl Start of auto-configuration stuff...
|
dnl Start of auto-configuration stuff...
|
||||||
dnl
|
dnl
|
||||||
@ -70,7 +77,7 @@ KSH_MEMMOVE
|
|||||||
KSH_MEMSET
|
KSH_MEMSET
|
||||||
AC_CHECK_FUNCS(arc4random arc4random_addrandom arc4random_push confstr \
|
AC_CHECK_FUNCS(arc4random arc4random_addrandom arc4random_push confstr \
|
||||||
dup2 flock getcwd getgroups getpagesize getrusage getwd killpg \
|
dup2 flock getcwd getgroups getpagesize getrusage getwd killpg \
|
||||||
mkstemp nice random setrlimit srandom strcasecmp strerror \
|
mkstemp nice random revoke setrlimit srandom strcasecmp strerror \
|
||||||
strlcat strlcpy strstr sysconf tcsetpgrp ulimit valloc wait3 \
|
strlcat strlcpy strstr sysconf tcsetpgrp ulimit valloc wait3 \
|
||||||
waitpid)
|
waitpid)
|
||||||
AC_CHECK_FUNCS(sigsetjmp _setjmp, break)
|
AC_CHECK_FUNCS(sigsetjmp _setjmp, break)
|
||||||
|
Loading…
Reference in New Issue
Block a user