From: Ruben Kerkhof Date: Fri, 3 Jun 2016 18:44:58 +0000 (+0200) Subject: oracle plugin: use CPPFLAGS instead of CFLAGS X-Git-Tag: collectd-5.6.0~267 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=57ed2ec98a5983d1731154b25970113acb17390f;p=collectd.git oracle plugin: use CPPFLAGS instead of CFLAGS --- diff --git a/configure.ac b/configure.ac index 6fe250fe..e3df376a 100644 --- a/configure.ac +++ b/configure.ac @@ -3365,9 +3365,9 @@ then fi if test "x$with_oracle" = "xyes" then - BUILD_WITH_ORACLE_CFLAGS="$with_oracle_cppflags" + BUILD_WITH_ORACLE_CPPFLAGS="$with_oracle_cppflags" BUILD_WITH_ORACLE_LIBS="$with_oracle_libs" - AC_SUBST(BUILD_WITH_ORACLE_CFLAGS) + AC_SUBST(BUILD_WITH_ORACLE_CPPFLAGS) AC_SUBST(BUILD_WITH_ORACLE_LIBS) fi # }}} diff --git a/src/Makefile.am b/src/Makefile.am index abc560bd..79d7cd4a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -780,8 +780,7 @@ if BUILD_PLUGIN_ORACLE pkglib_LTLIBRARIES += oracle.la oracle_la_SOURCES = oracle.c \ utils_db_query.c utils_db_query.h -oracle_la_CFLAGS = $(AM_CFLAGS) -oracle_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_ORACLE_CFLAGS) +oracle_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_ORACLE_CPPFLAGS) oracle_la_LIBADD = $(BUILD_WITH_ORACLE_LIBS) oracle_la_LDFLAGS = $(PLUGIN_LDFLAGS) endif