repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.0~git20110724.48593f5
[deb_libnfs.git]
/
configure
diff --git
a/configure
b/configure
index 63d9564107d2bb6712d7c271b105eb4d905e5f7d..efa3b78e6ac682e464b6da12a3b8e37e7a3398e7 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-734,6
+734,7
@@
with_gnu_ld
with_sysroot
enable_libtool_lock
enable_examples
with_sysroot
enable_libtool_lock
enable_examples
+enable_tirpc
'
ac_precious_vars='build_alias
host_alias
'
ac_precious_vars='build_alias
host_alias
@@
-1372,6
+1373,7
@@
Optional Features:
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-examples Build example programs
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]
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@
-11450,10
+11452,21
@@
if test x$ENABLE_EXAMPLES = xyes; then
fi
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"
;;
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 :
*solaris*)
for ac_header in sys/filio.h
do :
@@
-11571,6
+11584,12
@@
$as_echo "#define HAVE_SOCKADDR_LEN 1" >>confdefs.h
fi
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"
#output
ac_config_files="$ac_config_files Makefile include/Makefile lib/Makefile mount/Makefile nfs/Makefile portmap/Makefile rquota/Makefile examples/Makefile"