commit 9ce90dfe015c00daf5baad1a03a6acdb72c9b480 Author: Felix Janda <felix.ja...@posteo.de> AuthorDate: Sat May 2 18:59:18 2015 +0200 Commit: Oswald Buddenhagen <o...@users.sf.net> CommitDate: Sat May 9 18:57:30 2015 +0200
Add configure option for zlib configure.ac | 19 ++++++++++++------- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 1190c68..9a30083 100644 --- a/configure.ac +++ b/configure.ac @@ -157,13 +157,18 @@ if test "x$ac_cv_berkdb4" = xyes; then fi have_zlib= -AC_CHECK_LIB([z], [deflate], - [AC_CHECK_HEADER(zlib.h, - [have_zlib=1 - AC_SUBST([Z_LIBS], ["-lz"]) - AC_DEFINE([HAVE_LIBZ], 1, [if you have the zlib library])] - )] -) +AC_ARG_WITH(zlib, + AS_HELP_STRING([--with-zlib], [use zlib [detect]]), + [ob_cv_with_zlib=$withval]) +if test "x$ob_cv_with_zlib" != xno; then + AC_CHECK_LIB([z], [deflate], + [AC_CHECK_HEADER(zlib.h, + [have_zlib=1 + AC_SUBST([Z_LIBS], ["-lz"]) + AC_DEFINE([HAVE_LIBZ], 1, [if you have the zlib library])] + )] + ) +fi AC_ARG_ENABLE(compat, AC_HELP_STRING([--disable-compat], [don't include isync compatibility wrapper [no]]), ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel