diff options
author | Rainer Jung <rjung@apache.org> | 2017-11-11 11:36:17 +0100 |
---|---|---|
committer | Rainer Jung <rjung@apache.org> | 2017-11-11 11:36:17 +0100 |
commit | 89d7cd6814dc90eb69abd4212010edf4567ab4ea (patch) | |
tree | dfd1a9b86c4e52eba28ef53b5de2432e20e5719d | |
parent | Fix static compilation when including mod_md. (diff) | |
download | apache2-89d7cd6814dc90eb69abd4212010edf4567ab4ea.tar.xz apache2-89d7cd6814dc90eb69abd4212010edf4567ab4ea.zip |
Look for serf-1 instead of serf-0 during configure.
Using a fixed major version might not be the best
choice but using a fixed outdated one is even worse.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1814940 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | acinclude.m4 | 8 |
2 files changed, 7 insertions, 4 deletions
@@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.1 + *) mod_serf, event MPM: look for serf-1 instead of serf-0 during configure. + [Rainer Jung] + *) mod_noloris: complete build setup. [Rainer Jung] *) mod_md: fix static compilation. [Rainer Jung] diff --git a/acinclude.m4 b/acinclude.m4 index 336f5ab697..c3b1c1c854 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -795,11 +795,11 @@ AC_DEFUN([APACHE_CHECK_SERF], [ if test "$serf_prefix" != "no" ; then save_cppflags="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $APR_INCLUDES $APU_INCLUDES -I$serf_prefix/include/serf-0" + CPPFLAGS="$CPPFLAGS $APR_INCLUDES $APU_INCLUDES -I$serf_prefix/include/serf-1" AC_CHECK_HEADERS(serf.h,[ save_ldflags="$LDFLAGS" LDFLAGS="$LDFLAGS -L$serf_prefix/lib" - AC_CHECK_LIB(serf-0, serf_context_create,[ac_cv_serf="yes"]) + AC_CHECK_LIB(serf-1, serf_context_create,[ac_cv_serf="yes"]) LDFLAGS="$save_ldflags"]) CPPFLAGS="$save_cppflags" fi @@ -808,8 +808,8 @@ AC_DEFUN([APACHE_CHECK_SERF], [ APACHE_SUBST(SERF_LIBS) if test "$ac_cv_serf" = "yes"; then AC_DEFINE(HAVE_SERF, 1, [Define if libserf is available]) - APR_SETVAR(SERF_LIBS, [-L$serf_prefix/lib -lserf-0]) - APR_ADDTO(MOD_INCLUDES, [-I$serf_prefix/include/serf-0]) + APR_SETVAR(SERF_LIBS, [-L$serf_prefix/lib -lserf-1]) + APR_ADDTO(MOD_INCLUDES, [-I$serf_prefix/include/serf-1]) fi ]) |