Changeset 3140 for trunk/src/kmk/acinclude.m4
- Timestamp:
- Mar 14, 2018, 10:28:10 PM (7 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk
-
Property svn:mergeinfo
set to
/vendor/gnumake/current merged eligible
-
Property svn:mergeinfo
set to
-
trunk/src/kmk/acinclude.m4
r2591 r3140 2 2 dnl 3 3 dnl Automake will incorporate this into its generated aclocal.m4. 4 dnl Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 5 dnl 2008, 2009, 2010 Free Software Foundation, Inc. 4 dnl Copyright (C) 1998-2016 Free Software Foundation, Inc. 6 5 dnl This file is part of GNU Make. 7 6 dnl … … 101 100 dnl --------------------------------------------------------------------------- 102 101 dnl From Paul Eggert <eggert@twinsun.com> 102 dnl Update for Darwin by Troy Runkel <Troy.Runkel@mathworks.com> 103 dnl Update for AIX by Olexiy Buyanskyy (Savannah bug 32485) 103 104 104 105 AC_DEFUN([AC_STRUCT_ST_MTIM_NSEC], 105 [AC_CACHE_CHECK([for nanoseconds field of struct stat .st_mtim],106 [AC_CACHE_CHECK([for nanoseconds field of struct stat], 106 107 ac_cv_struct_st_mtim_nsec, 107 108 [ac_save_CPPFLAGS="$CPPFLAGS" 108 109 ac_cv_struct_st_mtim_nsec=no 109 # tv_nsec -- the usual case110 # _tv_nsec -- Solaris 2.6, if110 # st_mtim.tv_nsec -- the usual case 111 # st_mtim._tv_nsec -- Solaris 2.6, if 111 112 # (defined _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED == 1 112 113 # && !defined __EXTENSIONS__) 113 # st__tim.tv_nsec -- UnixWare 2.1.2 114 for ac_val in tv_nsec _tv_nsec st__tim.tv_nsec; do 114 # st_mtim.st__tim.tv_nsec -- UnixWare 2.1.2 115 # st_mtime_n -- AIX 5.2 and above 116 # st_mtimespec.tv_nsec -- Darwin (Mac OSX) 117 for ac_val in st_mtim.tv_nsec st_mtim._tv_nsec st_mtim.st__tim.tv_nsec st_mtime_n st_mtimespec.tv_nsec; do 115 118 CPPFLAGS="$ac_save_CPPFLAGS -DST_MTIM_NSEC=$ac_val" 116 119 AC_TRY_COMPILE([#include <sys/types.h> 117 120 #include <sys/stat.h> 118 ], [struct stat s; s. st_mtim.ST_MTIM_NSEC;],121 ], [struct stat s; s.ST_MTIM_NSEC;], 119 122 [ac_cv_struct_st_mtim_nsec=$ac_val; break]) 120 123 done
Note:
See TracChangeset
for help on using the changeset viewer.