1 dnl $Id: krb-sys-nextstep.m4,v 1.2 1998/06/03 23:48:40 joda Exp $
4 dnl NEXTSTEP is not posix compliant by default,
5 dnl you need a switch -posix to the compiler
8 AC_DEFUN(AC_KRB_SYS_NEXTSTEP, [
9 AC_MSG_CHECKING(for NEXTSTEP)
10 AC_CACHE_VAL(krb_cv_sys_nextstep,
12 [#if defined(NeXT) && !defined(__APPLE__)
15 ], krb_cv_sys_nextstep=yes, krb_cv_sys_nextstep=no) )
16 if test "$krb_cv_sys_nextstep" = "yes"; then
17 CFLAGS="$CFLAGS -posix"
20 AC_MSG_RESULT($krb_cv_sys_nextstep)