aboutsummaryrefslogtreecommitdiff
path: root/util-linux/nfsmount.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-12-20 17:18:01 +0000
committerRob Landley <rob@landley.net>2005-12-20 17:18:01 +0000
commit7b363fd3c904c2530844150d00b99f7b32d97f05 (patch)
tree049af302e9ac23b2b8ed7fd58d87d7f058cdad66 /util-linux/nfsmount.c
parentb9620414c19399bd9da2b90b3ab7b9a832e0be1a (diff)
downloadbusybox-7b363fd3c904c2530844150d00b99f7b32d97f05.tar.gz
Some minor cleanups/bugfixes split off from the big remount work:
Shorten GPL boilerplate. Enabling FEATURE_CLEAN_UP broke things in two places. Move the NFS with uClibc check to nfsmount.c
Diffstat (limited to 'util-linux/nfsmount.c')
-rw-r--r--util-linux/nfsmount.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/util-linux/nfsmount.c b/util-linux/nfsmount.c
index 842fa0351..75f341a92 100644
--- a/util-linux/nfsmount.c
+++ b/util-linux/nfsmount.c
@@ -52,6 +52,12 @@
#include <rpc/pmap_clnt.h>
#include "nfsmount.h"
+/* This is just a warning of a common mistake. Possibly this should be a
+ * * uclibc faq entry rather than in busybox... */
+#if ENABLE_FEATURE_MOUNT_NFS && defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
+#error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support."
+#endif
+
/*
* NFS stats. The good thing with these values is that NFSv3 errors are