-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Andreas,
> The attached patch makes sure we don't mind about that anymore (though > that is a bad patch, configure should have an option like > --mtab=/etc/mtab or so). The attached patch adds a configure option "--with-mnttab=<path>". Maybe it's a good idea to push this upstream (e.g. for embedded platforms which might operate without /etc/mtab, but with /proc/mounts instead). Thomas, what is your opinion on this one? Thanks, Jochen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFk99Y0fhX0Y/ocz0RAoR+AJ0VSaCnQWKR0cF1TTllveUsEHNhpACePTJH SKUb7eVjowABiQp3gI+qV0Q= =fAx3 -----END PGP SIGNATURE-----
--- net-snmp-5.2.3.orig/configure.in 2006-07-14 01:29:49.000000000 +0200 +++ net-snmp-5.2.3/configure.in 2006-12-28 16:07:34.000000000 +0100 @@ -2102,13 +2102,18 @@ AC_CACHE_CHECK(for mount table location,ac_cv_ETC_MNTTAB, [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_ARG_WITH(mnttab, +[ --with-mnttab=\"/etc/mnttab\" Mount table location.], + [ac_cv_ETC_MNTTAB="$with_mnttab"]) +if test "$ac_cv_ETC_MNTTAB" = "unknown"; then + for i in /etc/mnttab /etc/mtab /etc/filesystems + do + if test -f $i; then + ac_cv_ETC_MNTTAB="$i" + break; + fi + done +fi ]) AC_DEFINE_UNQUOTED(ETC_MNTTAB,"$ac_cv_ETC_MNTTAB")

