projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[gnulib.git]
/
m4
/
ls-mntd-fs.m4
diff --git
a/m4/ls-mntd-fs.m4
b/m4/ls-mntd-fs.m4
index
aa8ca2d
..
6b84817
100644
(file)
--- a/
m4/ls-mntd-fs.m4
+++ b/
m4/ls-mntd-fs.m4
@@
-1,4
+1,4
@@
-#serial
5
+#serial
10
dnl From Jim Meyering.
dnl
dnl From Jim Meyering.
dnl
@@
-6,12
+6,10
@@
dnl This is not pretty. I've just taken the autoconf code and wrapped
dnl it in an AC_DEFUN.
dnl
dnl it in an AC_DEFUN.
dnl
-AC_PREREQ(2.14a)
-
# jm_LIST_MOUNTED_FILESYSTEMS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
AC_DEFUN(jm_LIST_MOUNTED_FILESYSTEMS,
[
# jm_LIST_MOUNTED_FILESYSTEMS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
AC_DEFUN(jm_LIST_MOUNTED_FILESYSTEMS,
[
-AC_CHECK_FUNCS(listmntent getmnt
ent getmnt
info)
+AC_CHECK_FUNCS(listmntent getmntinfo)
AC_CHECK_HEADERS(mntent.h)
# Determine how to get the list of mounted filesystems.
AC_CHECK_HEADERS(mntent.h)
# Determine how to get the list of mounted filesystems.
@@
-239,6
+237,6
@@
if test -z "$ac_list_mounted_fs"; then
# Can't build mountlist.c or anything that needs its functions
fi
# Can't build mountlist.c or anything that needs its functions
fi
-A
C_SHELL_IFELSE([test $ac_list_mounted_fs = found], [$1], [$2])dnl
+A
S_IF([test $ac_list_mounted_fs = found], [$1], [$2])
])
])