projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(AM_LC_MESSAGES): Quote first arg of AC_DEFUN.
[gnulib.git]
/
m4
/
ls-mntd-fs.m4
diff --git
a/m4/ls-mntd-fs.m4
b/m4/ls-mntd-fs.m4
index
8966789
..
6b84817
100644
(file)
--- a/
m4/ls-mntd-fs.m4
+++ b/
m4/ls-mntd-fs.m4
@@
-1,4
+1,4
@@
-#serial
8
+#serial
10
dnl From Jim Meyering.
dnl
dnl From Jim Meyering.
dnl
@@
-9,7
+9,7
@@
dnl
# 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.
@@
-237,12
+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
-dnl FIXME: this should use AS_IF instead:
-dnl AS_IF([test $ac_list_mounted_fs = found], [$1], [$2])
-if test $ac_list_mounted_fs = found; then
-$1
-else
-$2
-fi
+AS_IF([test $ac_list_mounted_fs = found], [$1], [$2])
])
])