/[autoconf]/autoconf/lib/autoconf/specific.m4
ViewVC logotype

Diff of /autoconf/lib/autoconf/specific.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.345 by akim, Wed Aug 22 06:25:00 2001 UTC revision 1.346 by eggert, Mon Sep 17 19:46:31 2001 UTC
# Line 439  fi Line 439  fi
439    
440  # AC_ISC_POSIX  # AC_ISC_POSIX
441  # ------------  # ------------
442  AC_DEFUN([AC_ISC_POSIX],  AC_DEFUN([AC_ISC_POSIX], [AC_SEARCH_LIBS(strerror, cposix)])
 [AC_REQUIRE([AC_PROG_CC])dnl  
 AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl  
 AC_BEFORE([$0], [AC_RUN_IFELSE])dnl  
 AC_MSG_CHECKING([for POSIXized ISC])  
 if test -d /etc/conf/kconfig.d &&  
    grep _POSIX_VERSION [/usr/include/sys/unistd.h] >/dev/null 2>&1  
 then  
   AC_MSG_RESULT([yes])  
   ISC=yes # If later tests want to check for ISC.  
   AC_DEFINE(_POSIX_SOURCE, 1,  
             [Define if you need to in order for stat and other things to  
              work.])  
   if test "$GCC" = yes; then  
     CC="$CC -posix"  
   else  
     CC="$CC -Xp"  
   fi  
 else  
   AC_MSG_RESULT([no])  
   ISC=  
 fi  
 ])# AC_ISC_POSIX  
443    
444    
445  # AC_XENIX_DIR  # AC_XENIX_DIR

Legend:
Removed from v.1.345  
changed lines
  Added in v.1.346

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26