]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - crypto/heimdal/cf/krb-sys-nextstep.m4
This commit was generated by cvs2svn to compensate for changes in r56101,
[FreeBSD/FreeBSD.git] / crypto / heimdal / cf / krb-sys-nextstep.m4
1 dnl $Id: krb-sys-nextstep.m4,v 1.2 1998/06/03 23:48:40 joda Exp $
2 dnl
3 dnl
4 dnl NEXTSTEP is not posix compliant by default,
5 dnl you need a switch -posix to the compiler
6 dnl
7
8 AC_DEFUN(AC_KRB_SYS_NEXTSTEP, [
9 AC_MSG_CHECKING(for NEXTSTEP)
10 AC_CACHE_VAL(krb_cv_sys_nextstep,
11 AC_EGREP_CPP(yes, 
12 [#if defined(NeXT) && !defined(__APPLE__)
13         yes
14 #endif 
15 ], krb_cv_sys_nextstep=yes, krb_cv_sys_nextstep=no) )
16 if test "$krb_cv_sys_nextstep" = "yes"; then
17   CFLAGS="$CFLAGS -posix"
18   LIBS="$LIBS -posix"
19 fi
20 AC_MSG_RESULT($krb_cv_sys_nextstep)
21 ])