]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - crypto/heimdal/cf/krb-sys-nextstep.m4
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / crypto / heimdal / cf / krb-sys-nextstep.m4
1 dnl $Id: krb-sys-nextstep.m4 13338 2004-02-12 14:21:14Z lha $
2 dnl
3 dnl NEXTSTEP is not posix compliant by default,
4 dnl you need a switch -posix to the compiler
5 dnl
6
7 AC_DEFUN([rk_SYS_NEXTSTEP], [
8 AC_CACHE_CHECK(for NeXTSTEP, rk_cv_sys_nextstep, [
9 AC_EGREP_CPP(yes, 
10 [#if defined(NeXT) && !defined(__APPLE__)
11         yes
12 #endif 
13 ], rk_cv_sys_nextstep=yes, rk_cv_sys_nextstep=no)])
14 if test "$rk_cv_sys_nextstep" = "yes"; then
15   CFLAGS="$CFLAGS -posix"
16   LIBS="$LIBS -posix"
17 fi
18 ])