summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2017-11-11 15:45:26 +0100
committerRainer Jung <rjung@apache.org>2017-11-11 15:45:26 +0100
commit681948ae61d16256c7da12c16915a46c735f1e2b (patch)
tree5052077b23e57ee852012d5313cafc5cdbe6479e /acinclude.m4
parentLook for serf-1 instead of serf-0 during configure. (diff)
downloadapache2-681948ae61d16256c7da12c16915a46c735f1e2b.tar.xz
apache2-681948ae61d16256c7da12c16915a46c735f1e2b.zip
Revert r1814940: serf-1 has a different API,
so in order to support it more changes are necessary. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1814954 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index c3b1c1c854..336f5ab697 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-1"
+ CPPFLAGS="$CPPFLAGS $APR_INCLUDES $APU_INCLUDES -I$serf_prefix/include/serf-0"
AC_CHECK_HEADERS(serf.h,[
save_ldflags="$LDFLAGS"
LDFLAGS="$LDFLAGS -L$serf_prefix/lib"
- AC_CHECK_LIB(serf-1, serf_context_create,[ac_cv_serf="yes"])
+ AC_CHECK_LIB(serf-0, 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-1])
- APR_ADDTO(MOD_INCLUDES, [-I$serf_prefix/include/serf-1])
+ APR_SETVAR(SERF_LIBS, [-L$serf_prefix/lib -lserf-0])
+ APR_ADDTO(MOD_INCLUDES, [-I$serf_prefix/include/serf-0])
fi
])