Commit Graph

24 Commits

Author SHA1 Message Date
Pavel Tsekov
d407b130f4 * m4/ls-mntd-fs.m4: Update to serial#22, which adds support
for getmntinfo() returning its result in struct statvfs.
* m4/fstypename.m4: Update to serial#6, which replaces
HAVE_F_FSTYPENAME_IN_STATFS with HAVE_STRUCT_STATFS_F_FSTYPENAME.
* src/mountlist.c: Sync with gnulib.
All uses of HAVE_F_FSTYPENAME replaced by HAVE_STRUCT_STATFS_F_FSTYPENAME.
[MOUNTED_GETMNTINFO2] Include sys/statvfs.h.
(read_file_system_list) [MOUNTED_GETMNTINFO2]: Implement.
2006-09-07 15:12:47 +00:00
Pavel Tsekov
9e1dd4594d * m4/fstypename.m4: New file.
* acinclude.m4 (AC_GET_FS_INFO): Add a check to determine whether
getmntinfo() takes struct statvfs instead of struct statfs as its
first argument. Define MOUNTED_GETMNTINFO_STATVFS if it does.
Add a check to determine whether struct statvfs has a field named
f_fstypename.
Use gl_FSTYPENAME tp determine whether struct statfs has a field
named f_fstypename.
* src/mountlist.c (HAVE_F_FSTYPENAME): Define when getmntinfo() is
used and the struct which it fills has a field named f_fstypename.
(read_filesystem_list) [MOUNTED_GETMNTINFO]: Use
MOUNTED_GETMNTINFO_STATVFS to determine the type of the first
argument to getmntinfo().
2006-06-17 15:39:07 +00:00
Roland Illig
e701d4f935 Updated to serial #21. 2006-05-29 08:15:34 +00:00
Roland Illig
6381ab8bd9 Fixed the variable quoting like in the upstream version:
http://cvs.savannah.gnu.org/viewcvs/coreutils/m4/ls-mntd-fs.m4?root=coreutils&r1=1.32&r2=1.33
2006-05-29 08:12:52 +00:00
Roland Illig
8fb920d6f0 Reverted the previous (needless) change. 2006-05-29 08:12:02 +00:00
Roland Illig
c5bd116ba2 Fixed unquoted shell variables. 2006-05-21 09:54:11 +00:00
Pavel Tsekov
40ef73306f * acinclude.m4 (AC_GET_FS_INFO): Make it work again - the last commit broke
it.
* m4/onceonly.m4: New file.
2006-04-18 13:03:11 +00:00
Leonard den Ottolander
9801c06027 * acinclude.m4 (AC_GET_FS_INFO): Replace old fileutils code to get
mount and file system information with m4_includes of the corresponding
	GNU coreutils-5.94 files (ls-mntd-fs.m4 (#20) and fsusage.m4 (#16)).

	* m4/fsusage.m4, m4/ls-mntd-fs.m4: Create.
2006-03-18 13:17:50 +00:00
Pavel Roskin
f493d843a0 * m4/*.m4: Update to the macros provided by gettext 0.14.3.
* m4/Makefile.am: Update the list of the *.m4 files.
2005-11-11 01:52:16 +00:00
Pavel Roskin
bfeb86150d Add isc-posix.m4 2005-07-04 06:33:51 +00:00
Pavel Roskin
0e2177c8cd * configure.ac: Require Autoconf 2.53 or newer.
* m4/Makefile.am: Remove isc-posix.m4, it's obsolete.
* m4/isc-posix.m4: Remove.
2005-05-13 15:27:21 +00:00
Pavel Roskin
77aa6b59ce This file in not used or referenced anywhere. 2005-05-11 21:49:46 +00:00
Pavel Roskin
6c1b5a014c Spelling fixes. 2005-05-11 21:49:12 +00:00
Roland Illig
be94f06cc2 * ri-gcc-warnings.m4: Fixed handling of more than one --enable option. 2004-08-30 10:46:07 +00:00
Andrew V. Samoilov
f70663ea00 *m4/ri-gcc-warnings.m4: Typo fixes. 2004-08-22 08:05:19 +00:00
Roland Illig
6eb3569507 Prepend instead of append the CFLAGS and CXXFLAGS. 2004-08-17 09:41:19 +00:00
Roland Illig
4e62c492e3 Added GCC warnings for various compiler versions. 2004-08-17 09:39:19 +00:00
Dmitry Alexeyev
99971fbac7 Fix underquoted macro definitions. 2003-12-24 06:23:55 +00:00
Pavel Roskin
43bb69b175 Ignore Makefile and Makefile.in. 2002-09-17 20:01:51 +00:00
Pavel Roskin
cfcf9a76df * Makefile.am: Add m4 to SUBDIRS. Set ACLOCAL_AMFLAGS so that
m4 directory is used by aclocal.
* m4/Makefile.am: New file.
* configure.in: Substitute m4/Makefile.
* autogen.sh: Don't copy any macro files, use m4 directory.
2002-09-17 16:13:25 +00:00
Pavel Roskin
f06953aeb0 Add test from pkgconfig 0.12.0. 2002-09-17 15:53:50 +00:00
Pavel Roskin
0a28954a1e Add test for glib 1.2.x. 2002-09-17 15:50:29 +00:00
Pavel Roskin
5bd60b65f8 Macro files from gettext 0.11.5. 2002-09-17 15:47:19 +00:00
Pavel Roskin
2ca7b2de2b README about the files in this directory. 2002-09-17 15:46:55 +00:00