[BusyBox-cvs] busybox/util-linux mount.c,1.112,1.113
Erik Andersen
andersen at busybox.net
Tue Jul 22 08:25:40 UTC 2003
Update of /var/cvs/busybox/util-linux
In directory winder:/tmp/cvs-serv28797/util-linux
Modified Files:
mount.c
Log Message:
Error out early if people try to build mount with nfs support
using uClibc, but have not enabled UCLIBC_HAS_RPC...
-Erik
Index: mount.c
===================================================================
RCS file: /var/cvs/busybox/util-linux/mount.c,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -d -r1.112 -r1.113
--- mount.c 14 Jul 2003 21:21:08 -0000 1.112
+++ mount.c 22 Jul 2003 08:25:37 -0000 1.113
@@ -54,6 +54,12 @@
#include <ctype.h>
#include "busybox.h"
+#ifdef CONFIG_NFSMOUNT
+#if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
+#error "You need to build uClibc with UCLIBC_HAS_RPC for busybox mount with NFS support to compile."
+#endif
+#endif
+
enum {
MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */
MS_RDONLY = 1, /* Mount read-only */
More information about the busybox-cvs
mailing list