1178825Sdfrdnl $Id: krb-sys-nextstep.m4 13338 2004-02-12 14:21:14Z lha $ 255682Smarkmdnl 355682Smarkmdnl NEXTSTEP is not posix compliant by default, 455682Smarkmdnl you need a switch -posix to the compiler 555682Smarkmdnl 655682Smarkm 7127808SnectarAC_DEFUN([rk_SYS_NEXTSTEP], [ 872445SassarAC_CACHE_CHECK(for NeXTSTEP, rk_cv_sys_nextstep, [ 955682SmarkmAC_EGREP_CPP(yes, 1055682Smarkm[#if defined(NeXT) && !defined(__APPLE__) 1155682Smarkm yes 1255682Smarkm#endif 1372445Sassar], rk_cv_sys_nextstep=yes, rk_cv_sys_nextstep=no)]) 1472445Sassarif test "$rk_cv_sys_nextstep" = "yes"; then 1555682Smarkm CFLAGS="$CFLAGS -posix" 1655682Smarkm LIBS="$LIBS -posix" 1755682Smarkmfi 1855682Smarkm]) 19