net-snmp/ucd-snmp-4.2.4.pre3-mnttab.patch
2008-07-25 11:03:32 +00:00

21 lines
667 B
Diff

diff -up net-snmp-5.4.1/configure.backup_patch_1 net-snmp-5.4.1/configure
--- net-snmp-5.4.1/configure.backup_patch_1 2007-07-27 19:04:19.000000000 +0200
+++ net-snmp-5.4.1/configure 2008-07-25 12:52:01.000000000 +0200
@@ -26579,15 +26579,7 @@ echo $ECHO_N "checking for mount table l
if test "${ac_cv_ETC_MNTTAB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_cv_ETC_MNTTAB="unknown"
-for i in /etc/mnttab /etc/mtab /etc/filesystems
- do
- if test -f $i; then
- ac_cv_ETC_MNTTAB="$i"
- break;
- fi
-done
-
+ ac_cv_ETC_MNTTAB="/etc/mtab"
fi
echo "$as_me:$LINENO: result: $ac_cv_ETC_MNTTAB" >&5
echo "${ECHO_T}$ac_cv_ETC_MNTTAB" >&6