From: KOMEDA Shinji Date: Wed, 25 Jun 2014 13:34:15 +0000 (+0900) Subject: patch required to build oracle plugin, collectd-5.4.0 (#653) X-Git-Tag: collectd-5.5.0~246^2~2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3b502dfd3ff6f51dc3ae860d2c1c5ee50409a1c0;p=collectd.git patch required to build oracle plugin, collectd-5.4.0 (#653) --- diff --git a/configure.ac b/configure.ac index f1c7b8ab..9a78d063 100644 --- a/configure.ac +++ b/configure.ac @@ -2982,14 +2982,14 @@ fi if test "x$with_oracle" = "xyes" then SAVE_CPPFLAGS="$CPPFLAGS" - SAVE_LDFLAGS="$LDFLAGS" + SAVE_LIBS="$LDFLAGS" CPPFLAGS="$CPPFLAGS $with_oracle_cppflags" - LDFLAGS="$LDFLAGS $with_oracle_libs" + LIBS="$LIBS $with_oracle_libs" AC_CHECK_FUNC(OCIEnvCreate, [with_oracle="yes"], [with_oracle="no (Symbol 'OCIEnvCreate' not found)"]) CPPFLAGS="$SAVE_CPPFLAGS" - LDFLAGS="$SAVE_LDFLAGS" + LIBS="$SAVE_LIBS" fi if test "x$with_oracle" = "xyes" then