From d50dc31ae667dc7881a6e9e1da79452fd8e044f7 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 3 Jun 2016 19:05:44 +0200 Subject: [PATCH] src/Makefile.am: simplify Apache plugin It can't be build without libcurl support and configure will take care of that. --- src/Makefile.am | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index a9db3052..fd4f733f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -130,12 +130,8 @@ if BUILD_PLUGIN_APACHE pkglib_LTLIBRARIES += apache.la apache_la_SOURCES = apache.c apache_la_LDFLAGS = $(PLUGIN_LDFLAGS) -apache_la_CFLAGS = $(AM_CFLAGS) -apache_la_LIBADD = -if BUILD_WITH_LIBCURL -apache_la_CFLAGS += $(BUILD_WITH_LIBCURL_CFLAGS) -apache_la_LIBADD += $(BUILD_WITH_LIBCURL_LIBS) -endif +apache_la_CFLAGS = $(AM_CFLAGS) $(BUILD_WITH_LIBCURL_CFLAGS) +apache_la_LIBADD = $(BUILD_WITH_LIBCURL_LIBS) endif if BUILD_PLUGIN_APCUPS -- 2.11.0