X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=6f4f8d8d4b8df0575877f9a1133187a7fcd00d21;hb=6e430c3eea4a35438b634ae00fc32052b30ec9ae;hp=a4ddd3219b067583328e10862afbc61fb1490e21;hpb=3c83a0681c4b90ededd12fd473ba50f21f786797;p=collectd.git diff --git a/configure.ac b/configure.ac index a4ddd321..6f4f8d8d 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="$LIBS" 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