[904] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

aclocal.m4 fixed

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Wed Oct 26 16:55:50 1994

From: epeisach@MIT.EDU
Date: Wed, 26 Oct 1994 16:55:42 -0400
To: krb5-bugs@MIT.EDU


===================================================================
RCS file: /mit/krb5/.cvsroot/src/aclocal.m4,v
retrieving revision 1.33
diff -c -r1.33 aclocal.m4
*** 1.33	1994/10/26 05:42:23
--- aclocal.m4	1994/10/26 20:53:04
***************
*** 1,3 ****
--- 1,4 ----
+ AC_PREREQ(1.126)
  dnl
  dnl
  dnl arrange to stuff file in substitution
***************
*** 156,172 ****
  dnl check for sys_errlist -- DECLARE_SYS_ERRLIST
  dnl
  define(DECLARE_SYS_ERRLIST,[
! AC_COMPILE_CHECK([sys_errlist declaration],
! [#include <stdio.h>
  #include <errno.h>], [sys_nerr;], , AC_DEFINE(NEED_SYS_ERRLIST))])dnl
  dnl
  dnl check for sigmask/sigprocmask -- CHECK_SIGPROCMASK
  dnl
  define(CHECK_SIGPROCMASK,[
! AC_COMPILE_CHECK([sigmask],
! [#include <signal.h>], [sigmask(1);], ,
!  AC_COMPILE_CHECK([sigprocmask],
!  [#include <signal.h>], [sigprocmask(SIG_SETMASK,0,0);],
   AC_DEFINE(USE_SIGPROCMASK),))])dnl
  dnl
  dnl check for <stdarg.h> -- CHECK_STDARG
--- 157,173 ----
  dnl check for sys_errlist -- DECLARE_SYS_ERRLIST
  dnl
  define(DECLARE_SYS_ERRLIST,[
! AC_CHECKING([for sys_errlist declaration])
! AC_TRY_COMPILE([#include <stdio.h>
  #include <errno.h>], [sys_nerr;], , AC_DEFINE(NEED_SYS_ERRLIST))])dnl
  dnl
  dnl check for sigmask/sigprocmask -- CHECK_SIGPROCMASK
  dnl
  define(CHECK_SIGPROCMASK,[
! AC_CHECKING([for sigmask])
! AC_TRY_LINK([#include <signal.h>], [sigmask(1);], ,
!  AC_CHECKING([for sigprocmask])
!  AC_TRY_LINK([#include <signal.h>], [sigprocmask(SIG_SETMASK,0,0);],
   AC_DEFINE(USE_SIGPROCMASK),))])dnl
  dnl
  dnl check for <stdarg.h> -- CHECK_STDARG
***************
*** 232,243 ****
  dnl check if sys/fcntl.h is needed for O_* -- CHECK_FCNTL
  dnl
  define(CHECK_FCNTL,[
! AC_COMPILE_CHECK([O_RDONLY from sys/file.h],
! [#include <sys/param.h>
  #include <sys/types.h>
  #include <sys/file.h>],
! [O_RDONLY;], ,AC_COMPILE_CHECK([O_RDONLY from sys/fcntl.h],
! [#include <sys/param.h>
  #include <sys/types.h>
  #include <sys/file.h>
  #include <sys/fcntl.h>],
--- 233,244 ----
  dnl check if sys/fcntl.h is needed for O_* -- CHECK_FCNTL
  dnl
  define(CHECK_FCNTL,[
! AC_CHECKING([for O_RDONLY from sys/file.h])
! AC_TRY_LINK([#include <sys/param.h>
  #include <sys/types.h>
  #include <sys/file.h>],
! [O_RDONLY;], ,AC_CHECKING([for O_RDONLY from sys/fcntl.h])
! AC_TRY_LINK([#include <sys/param.h>
  #include <sys/types.h>
  #include <sys/file.h>
  #include <sys/fcntl.h>],
***************
*** 246,253 ****
  dnl check if union wait is defined, or if WAIT_USES_INT -- CHECK_WAIT_TYPE
  dnl
  define(CHECK_WAIT_TYPE,[
! AC_COMPILE_CHECK([union wait],
! [#include <sys/wait.h>], [union wait i;], , AC_DEFINE(WAIT_USES_INT))])dnl
  dnl
  dnl set $(KRB5ROOT) from --with-krb5-root=value -- WITH_KRB5ROOT
  dnl
--- 247,254 ----
  dnl check if union wait is defined, or if WAIT_USES_INT -- CHECK_WAIT_TYPE
  dnl
  define(CHECK_WAIT_TYPE,[
! AC_CHECKING([for union wait])
! AC_TRY_LINK([#include <sys/wait.h>], [union wait i;], , AC_DEFINE(WAIT_USES_INT))])dnl
  dnl
  dnl set $(KRB5ROOT) from --with-krb5-root=value -- WITH_KRB5ROOT
  dnl

home help back first fref pref prev next nref lref last post