From 89d7cd6814dc90eb69abd4212010edf4567ab4ea Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Sat, 11 Nov 2017 10:36:17 +0000 Subject: 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 --- acinclude.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'acinclude.m4') 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 ]) -- cgit v1.2.3