fstypename.m4 607 B

1234567891011121314151617181920212223
  1. #serial 6
  2. dnl From Jim Meyering.
  3. dnl
  4. dnl See if struct statfs has the f_fstypename member.
  5. dnl If so, define HAVE_STRUCT_STATFS_F_FSTYPENAME.
  6. dnl
  7. # Copyright (C) 1998-1999, 2001, 2004, 2006, 2009-2011 Free Software
  8. # Foundation, Inc.
  9. # This file is free software; the Free Software Foundation
  10. # gives unlimited permission to copy and/or distribute it,
  11. # with or without modifications, as long as this notice is preserved.
  12. AC_DEFUN([gl_FSTYPENAME],
  13. [
  14. AC_CHECK_MEMBERS([struct statfs.f_fstypename],,,
  15. [
  16. #include <sys/types.h>
  17. #include <sys/param.h>
  18. #include <sys/mount.h>
  19. ])
  20. ])