diff options
author | Paul Smith <psmith@gnu.org> | 2004-02-24 13:50:19 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2004-02-24 13:50:19 +0000 |
commit | f29b86c314e6e2b44a1eb83f1b44a3849d82655e (patch) | |
tree | 0e83f1ad4a44542b088878e8b9d6de48f16e949d /acinclude.m4 | |
parent | be8c3dbc974c35fac33c8392b89482c10e4f8650 (diff) | |
download | gunmake-f29b86c314e6e2b44a1eb83f1b44a3849d82655e.tar.gz |
Many compiler warning cleanups.
Small fixes for W32 (from Jonathan Grant <jg-make@jguk.org>)
Maintainer enhancements to clean up the tree.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 59a9359..0f62198 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -88,7 +88,7 @@ changequote([,])dnl dnl --------------------------------------------------------------------------- dnl From Paul Eggert <eggert@twinsun.com> -AC_DEFUN(AC_STRUCT_ST_MTIM_NSEC, +AC_DEFUN([AC_STRUCT_ST_MTIM_NSEC], [AC_CACHE_CHECK([for nanoseconds field of struct stat.st_mtim], ac_cv_struct_st_mtim_nsec, [ac_save_CPPFLAGS="$CPPFLAGS" @@ -101,13 +101,16 @@ AC_DEFUN(AC_STRUCT_ST_MTIM_NSEC, for ac_val in tv_nsec _tv_nsec st__tim.tv_nsec; do CPPFLAGS="$ac_save_CPPFLAGS -DST_MTIM_NSEC=$ac_val" AC_TRY_COMPILE([#include <sys/types.h> -#include <sys/stat.h>], [struct stat s; s.st_mtim.ST_MTIM_NSEC;], +#include <sys/stat.h> + ], [struct stat s; s.st_mtim.ST_MTIM_NSEC;], [ac_cv_struct_st_mtim_nsec=$ac_val; break]) done - CPPFLAGS="$ac_save_CPPFLAGS"]) + CPPFLAGS="$ac_save_CPPFLAGS" + ]) if test $ac_cv_struct_st_mtim_nsec != no; then - AC_DEFINE_UNQUOTED(ST_MTIM_NSEC, $ac_cv_struct_st_mtim_nsec, [Define if 'struct stat' contains a nanoseconds field]) + AC_DEFINE_UNQUOTED([ST_MTIM_NSEC], [$ac_cv_struct_st_mtim_nsec], + [Define if struct stat contains a nanoseconds field]) fi ] ) |