These servers require you use the "insecure" export option in /etc/exports
in order to allow libnfs clients to be able to connect.
-PLATTFORM support
+PLATFORM support
=================
As of now this is tested with linux, MacOSX and Apple iOS.
Linux: - tested with Ubuntu 10.04 - should work with others aswell
+Cygwin: - tested under 64bit win2k8.
MacOSX: - tested with SDK 10.4 (under Snow Leopard) - should also work with later SDKs and 64Bit
iOS: - tested with iOS SDK 4.2 - running on iOS 4.3.x
+FreeBSD:- tested with 8.2
+
+
+Cygwin
+------
+Configure with './configure --enable-tirpc' since cygwin only supports ti-rpc and not classic rpc.
+
with_sysroot
enable_libtool_lock
enable_examples
+enable_tirpc
'
ac_precious_vars='build_alias
host_alias
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-examples Build example programs
+ --enable-tirpc enable use of TI-RPC [default=no]
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
fi
+# Check whether --enable-tirpc was given.
+if test "${enable_tirpc+set}" = set; then :
+ enableval=$enable_tirpc; enable_tirpc=$enableval
+else
+ enable_tirpc='no'
+fi
+
+
case $host in
*darwin*)
RPCGENFLAGS=-DU_INT64_PLATTFORM_TYPE="u_int64_t"
;;
+ *cygwin*)
+ RPCGENFLAGS=-DU_INT64_PLATTFORM_TYPE="u_int64_t"
+ ;;
*solaris*)
for ac_header in sys/filio.h
do :
fi
+echo "Use TI-RPC: $enable_tirpc"
+if test "$enable_tirpc" = "yes"; then
+ CFLAGS="${CFLAGS} -I /usr/include/tirpc"
+ LDFLAGS="${LDFLAGS} -ltirpc"
+fi
+
#output
ac_config_files="$ac_config_files Makefile include/Makefile lib/Makefile mount/Makefile nfs/Makefile portmap/Makefile rquota/Makefile examples/Makefile"
fi
AC_SUBST(MAYBE_EXAMPLES)
+AC_ARG_ENABLE(tirpc,
+ [AC_HELP_STRING([--enable-tirpc],
+ [enable use of TI-RPC @<:@default=no@:>@])],
+ enable_tirpc=$enableval,
+ enable_tirpc='no')
+
case $host in
*darwin*)
RPCGENFLAGS=-DU_INT64_PLATTFORM_TYPE="u_int64_t"
;;
+ *cygwin*)
+ RPCGENFLAGS=-DU_INT64_PLATTFORM_TYPE="u_int64_t"
+ ;;
*solaris*)
AC_CHECK_HEADERS([sys/filio.h])
if test x$ENABLE_EXAMPLES = xyes; then
#include <sys/socket.h>
])
+echo "Use TI-RPC: $enable_tirpc"
+if test "$enable_tirpc" = "yes"; then
+ CFLAGS="${CFLAGS} -I /usr/include/tirpc"
+ LDFLAGS="${LDFLAGS} -ltirpc"
+fi
+
#output
AC_CONFIG_FILES([Makefile]
[include/Makefile]
libnfs.h \
libnfs-private.h \
libnfs-raw.h \
- slist.h
+ slist.h \
+ ${abs_top_srcdir}/mount/libnfs-raw-mount.h \
+ ${abs_top_srcdir}/portmap/libnfs-raw-portmap.h \
+ ${abs_top_srcdir}/nfs/libnfs-raw-nfs.h \
+ ${abs_top_srcdir}/rquota/libnfs-raw-rquota.h
libnfs.h \
libnfs-private.h \
libnfs-raw.h \
- slist.h
+ slist.h \
+ ${abs_top_srcdir}/mount/libnfs-raw-mount.h \
+ ${abs_top_srcdir}/portmap/libnfs-raw-portmap.h \
+ ${abs_top_srcdir}/nfs/libnfs-raw-nfs.h \
+ ${abs_top_srcdir}/rquota/libnfs-raw-rquota.h
all: all-am