Removed the warnings when running autoconf.
This commit is contained in:
+18
-16
@@ -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
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user