summaryrefslogtreecommitdiff
path: root/m4/ls-mntd-fs.m4
AgeCommit message (Collapse)Author
2006-02-14Sync from gnulib.Paul Eggert
2006-01-13(AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)Jim Meyering
unconditionally so that tests of $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses that variable, to accommodate the rare case in which getmntent is available in none of the libraries checked. This happens at least on FreeBSD 5.0.
2005-01-23Use an all-permissive copyright notice, recommended by RMS.Paul Eggert
2004-12-07(AC_FUNC_GETMNTENT): Fix typo in previous change:Paul Eggert
spurious "-l"s.
2004-12-06* ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bugPaul Eggert
in Autoconf 2.59.
2004-08-04Include copyright notice.Paul Eggert
(gl_LIST_MOUNTED_FILE_SYSTEMS): Include sys/param.h before testing for sys/mount.h.
2004-06-30(gl_LIST_MOUNTED_FILE_SYSTEMS): Renamed fromJim Meyering
gl_LIST_MOUNTED_FILESYSTEMS. All uses changed.
2004-04-13Change `jm_' in AC_DEFINE'd names to `gl_'. Update all uses.Jim Meyering
2004-01-29Avoid a configure-time warning about sys/ucred.h on OSF V4.0.Jim Meyering
Test for sys/ucred.h separately, since on some systems one must include <grp.h> before it.
2003-08-17Sync with gnulib.Jim Meyering
2003-03-18(jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNTJim Meyering
test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1 systems would end up using the latter. MOUNTED_GETMNTENT1 support is inadequate on such systems: 1) detecting whether a file system is remote doesn't work 2) the MOUNTED_VMOUNT code reports the HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports merely /MOUNT_POINT. Reported by Mike Jetzer.
2002-04-12(checking for getmntinfo function...): Remove now-bogusJim Meyering
check for f_type in sys/mount.h. Instead, just test for the existence of the getmntinfo function. Needed for Darwin 5.3.
2001-09-30(jm_LIST_MOUNTED_FILESYSTEMS): See ifJim Meyering
`struct fsstat' has the `f_fstypename' member. Use that to define FS_TYPE, which is now used to make the getfsstat link test tighter.
2001-09-29(jm_LIST_MOUNTED_FILESYSTEMS)Jim Meyering
Check for these headers: sys/param.h sys/ucred.h sys/mount.h sys/fs_types.h, and make the link-test for getfsstat guard #include directives with appropriate #if HAVE_*_H tests so that we can detect getfsstat on Apple Darwin1.3.7 systems. Also fix harmless typo in cache variable name: s/getsstat/getfsstat/.
2001-09-29(jm_LIST_MOUNTED_FILESYSTEMS)Jim Meyering
[one-argument getmntent function]): Include stdio.h before mntent.h. SunOS4.1.x needs it for the declaration of `FILE'. Patch by Volker Borchert.
2001-09-23(jm_LIST_MOUNTED_FILESYSTEMS): In the outer getmntent if-block, don'tJim Meyering
die if neither of the getmntent tests succeeds. Instead, just fall through and continue with the remaianing tests.
2001-09-23(jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-testJim Meyering
instead of the mere test for existence of mntent.h. The latter would get a false-positive on AIX 3.4 systems.
2001-08-12Quote the first argument in each use of AC_DEFUN.Jim Meyering
2001-02-17(jm_LIST_MOUNTED_FILESYSTEMS): Don't check forJim Meyering
getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on UnixWare 7.1.1.
2001-02-03(jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use ofJim Meyering
AS_IF, now that it works once again (mysteriously).
2001-01-28add a comment, reformat a little.Jim Meyering
2001-01-27(jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was a use of AS_IF.Jim Meyering
2001-01-27(jm_LIST_MOUNTED_FILESYSTEMS): Add `[]' between use ofJim Meyering
AS_IF and following `dnl'.
2001-01-17(jm_LIST_MOUNTED_FILESYSTEMS): Likewise.Jim Meyering
2000-10-29s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.Jim Meyering
2000-07-01Remove a `FIXME' comment and fix the associated problem.Jim Meyering
2000-07-01(jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specificJim Meyering
macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
2000-05-01fix typosJim Meyering
2000-05-01(jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.Jim Meyering
Based on a patch from Bruno Haible.
2000-05-01(jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.Jim Meyering
2000-01-23s/list_mounted_fs/ac_list_mounted_fs/Jim Meyering
(jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
1999-10-30Require 2.14a. Remove backslash before backtick in m4-quoted string.Jim Meyering
1999-01-29Use the 3-argument forms of AC_DEFINE* macros.Jim Meyering
1998-06-28.Jim Meyering