3 dnl NEXTSTEP is not posix compliant by default,
4 dnl you need a switch -posix to the compiler
7 AC_DEFUN([rk_SYS_NEXTSTEP], [
8 AC_CACHE_CHECK(for NeXTSTEP, rk_cv_sys_nextstep, [
10 [#if defined(NeXT) && !defined(__APPLE__)
13 ], rk_cv_sys_nextstep=yes, rk_cv_sys_nextstep=no)])
14 if test "$rk_cv_sys_nextstep" = "yes"; then
15 CFLAGS="$CFLAGS -posix"