projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
680ec6e
)
Error out early if people try to build mount with nfs support
author
Eric Andersen
<andersen@codepoet.org>
Tue, 22 Jul 2003 08:25:37 +0000
(08:25 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 22 Jul 2003 08:25:37 +0000
(08:25 -0000)
using uClibc, but have not enabled UCLIBC_HAS_RPC...
-Erik
util-linux/mount.c
patch
|
blob
|
history
diff --git
a/util-linux/mount.c
b/util-linux/mount.c
index d89e286fcdfa9265f4964f5c27db6b958463ebf1..15a0b5767d13806d23c4c7daff2855581ddb4618 100644
(file)
--- a/
util-linux/mount.c
+++ b/
util-linux/mount.c
@@
-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 */