Removed the warnings when running autoconf.

This commit is contained in:
gfk
2001-12-25 18:33:04 +00:00
parent ff368e7089
commit af88fbfdfa
2 changed files with 19 additions and 17 deletions
+18 -16
View File
@@ -226,23 +226,25 @@ dnl
dnl Find out where is the mounted filesystem table dnl Find out where is the mounted filesystem table
dnl dnl
AC_DEFUN([AC_FIND_MFS], [ AC_DEFUN([AC_FIND_MTAB_FILE], [
dnl Linux AC_CACHE_CHECK([for your mounted filesystem table], ac_cv_mtab_file, [
AC_CHECK_FILE([/etc/mtab], [ dnl Linux
mtab=/etc/mtab if test -e "/etc/mtab"; then
],[ ac_cv_mtab_file=/etc/mtab
dnl Solaris else
AC_CHECK_FILE([/etc/mnttab], [ dnl Solaris
mtab=/etc/mnttab if test -e "/etc/mnttab"; then
], [ ac_cv_mtab_file=/etc/mnttab
dnl BSD else
AC_CHECK_FILE([/etc/fstab], [ dnl BSD
mtab=/etc/fstab if test -e "/etc/fstab"; then
]) ac_cv_mtab_file=/etc/fstab
]) fi
fi
fi
]) ])
if test "$mtab"; then if test "$ac_cv_mtab_file"; then
AC_DEFINE_UNQUOTED(MTAB_FILE, ["$mtab"], [Where is your mounted filesystem table located?]) AC_DEFINE_UNQUOTED([MTAB_FILE], ["$ac_cv_mtab_file"], [Location of your mounted filesystem table file])
fi fi
]) ])
+1 -1
View File
@@ -87,7 +87,7 @@ AC_CHECK_FUNCS(select socket strdup strerror strtol uname cfmakeraw ioperm)
dnl Check for various defines and features dnl Check for various defines and features
AC_FIND_MFS AC_FIND_MTAB_FILE
AC_GET_FS_INFO AC_GET_FS_INFO
AC_ARG_ENABLE(stat-nfs, AC_ARG_ENABLE(stat-nfs,