aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2007-02-19 16:04:03 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2007-02-19 16:04:03 +0000
commitfeeaf763404fe7797b1daf2b0c009f35e8db1f9d (patch)
treefd2401a50ba0108cb9c3888b88c6eb0d54a63506 /configure.ac
parentb3ffcfe3ac81b96026e9af04fdbb64e1efa5fb2f (diff)
downloadsshfs-feeaf763404fe7797b1daf2b0c009f35e8db1f9d.tar
sshfs-feeaf763404fe7797b1daf2b0c009f35e8db1f9d.tar.gz
sshfs-feeaf763404fe7797b1daf2b0c009f35e8db1f9d.tar.bz2
sshfs-feeaf763404fe7797b1daf2b0c009f35e8db1f9d.zip
fix
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fb25d87..37601aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,6 +10,15 @@ sshnodelay_libs=$LIBS
AC_SUBST(sshnodelay_libs)
LIBS=
+AC_ARG_ENABLE(sshnodelay,
+ [ --disable-sshnodelay Don't compile NODELAY workaround for ssh])
+
+if test "$enable_sshnodelay" != "no"; then
+ AC_DEFINE(SSH_NODELAY_WORKAROUND, 1, [Compile ssh NODELAY workaround])
+fi
+
+AM_CONDITIONAL(SSH_NODELAY_SO, test "$enable_sshnodelay" != "no")
+
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
PKG_CHECK_MODULES(SSHFS, [fuse >= 2.2 glib-2.0])
have_fuse_opt_parse=no