Reported by Joachim Schmitz in
<http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00084.html>.
* lib/mountlist.c (hasmntopt) [!HAVE_HASMNTOPT]: New function.
(MNT_IGNORE) [MNTOPT_IGNORE]: Use it.
+2013-02-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ mountlist: port to HP NonStop
+ Reported by Joachim Schmitz in
+ <http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00084.html>.
+ * lib/mountlist.c (hasmntopt) [!HAVE_HASMNTOPT]: New function.
+ (MNT_IGNORE) [MNTOPT_IGNORE]: Use it.
+
2013-02-18 Paul Eggert <eggert@cs.ucla.edu>
extern-inline: avoid compilation error with HP-UX cc
# include <sys/mntent.h>
#endif
+#ifndef HAVE_HASMNTOPT
+# define hasmntopt(mnt, opt) ((char *) 0)
+#endif
+
#undef MNT_IGNORE
-#if defined MNTOPT_IGNORE && defined HAVE_HASMNTOPT
+#ifdef MNTOPT_IGNORE
# define MNT_IGNORE(M) hasmntopt (M, MNTOPT_IGNORE)
#else
# define MNT_IGNORE(M) 0