Related to https://fedorahosted.org/mlocate/ticket/5, "port to hpux".
gnulib contains some code to read the list of mounted file systems on Solaris. http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=m4/ls-mntd-fs.m4;hb=HEAD
Can you provide a full, tested patch, please?
Fixes the ac_lang_prog issue on later versions of autotools ac_lang_quoted.patch
This adds the apropriate gnulib support to detect the 1/2/ argument versions of getmntent on various platforms and also the code changes to implement the support. getmntent-gnulib.patch
This fixes the htonll() clash on most platforms that have the functions. htonll-configure.patch
These three patches comprise the changes required to port to Solaris (11), and in addition fixes a problem with getmntent(), the SVR4 version of which has two arguments rather than 1.