[bug #16762] Cannot compile mc-2006-06-05-20



Follow-up Comment #3, bug #16762 (project mc):

The real problem here is that noone sets HAVE_STRUCT_STATFS_F_FSTYPENAME.
I.e. there is no test
at configure time which sets this. Before Leonard's changes
to configure there was a test which used to set HAVE_F_FSTYPENAME. 

#if defined(HAVE_STATVFS)
#  if defined(HAVE_STRUCT_STATVFS_F_FSTYPENAME)
#    define HAVE_F_FSTYPENAME
#  endif
#else
#  if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME)
#    define HAVE_F_FSTYPENAME
#  endif
#endif

So what happens is that on FreeBSD we take the second branch and since
HAVE_F_FSTYPENAME is not set the fstype_to_string() routine is compiled in.
Apparently MOUNT_UFS is not available on FreeBSD
and the build fails.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16762>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]