1 1.1.1.2 elric dnl Id 2 1.1 elric dnl 3 1.1 elric dnl NEXTSTEP is not posix compliant by default, 4 1.1 elric dnl you need a switch -posix to the compiler 5 1.1 elric dnl 6 1.1 elric 7 1.1 elric AC_DEFUN([rk_SYS_NEXTSTEP], [ 8 1.1 elric AC_CACHE_CHECK(for NeXTSTEP, rk_cv_sys_nextstep, [ 9 1.1 elric AC_EGREP_CPP(yes, 10 1.1 elric [#if defined(NeXT) && !defined(__APPLE__) 11 1.1 elric yes 12 1.1 elric #endif 13 1.1 elric ], rk_cv_sys_nextstep=yes, rk_cv_sys_nextstep=no)]) 14 1.1 elric if test "$rk_cv_sys_nextstep" = "yes"; then 15 1.1 elric CFLAGS="$CFLAGS -posix" 16 1.1 elric LIBS="$LIBS -posix" 17 1.1 elric fi 18 1.1 elric ]) 19