From 3f8baf17b229e53504ffa8b3d636a49c50d26630 Mon Sep 17 00:00:00 2001 From: dmiller Date: Mon, 31 Jul 2017 19:09:47 +0000 Subject: [PATCH] Mark something that doesn't work. --- configure | 5 ++++- configure.ac | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/configure b/configure index d31b5fd2a..3c22b4bb1 100755 --- a/configure +++ b/configure @@ -6741,7 +6741,10 @@ fi if test $have_libz != yes; then subdirs="$subdirs libz" - ac_configure_args="$ac_configure_args '--with-libz-prefix=\$(top_srcdir)/$ZLIBDIR'" + # TODO: This doesn't work because libssh2's configure script is looking for + # already-built libs. Giving up for now: build libz first or install + # headers/libs on your own if you want compression support for SSH. + #ac_configure_args="$ac_configure_args '--with-libz-prefix=../../$ZLIBDIR'" CPPFLAGS="-I\$(top_srcdir)/$ZLIBDIR $CPPFLAGS" ZLIB_LIBS="$ZLIBDIR/libz.a" ZLIB_BUILD="build-zlib" diff --git a/configure.ac b/configure.ac index 4f7d69af9..3d00e164e 100644 --- a/configure.ac +++ b/configure.ac @@ -613,7 +613,10 @@ if test $with_libz != no; then if test $have_libz != yes; then AC_CONFIG_SUBDIRS(libz) - ac_configure_args="$ac_configure_args '--with-libz-prefix=\$(top_srcdir)/$ZLIBDIR'" + # TODO: This doesn't work because libssh2's configure script is looking for + # already-built libs. Giving up for now: build libz first or install + # headers/libs on your own if you want compression support for SSH. + #ac_configure_args="$ac_configure_args '--with-libz-prefix=../../$ZLIBDIR'" CPPFLAGS="-I\$(top_srcdir)/$ZLIBDIR $CPPFLAGS" ZLIB_LIBS="$ZLIBDIR/libz.a" ZLIB_BUILD="build-zlib"