summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bcce4d5)
raw | patch | inline | side by side (parent: bcce4d5)
author | KOMEDA Shinji <komeda.shinji@gmail.com> | |
Wed, 25 Jun 2014 13:34:15 +0000 (22:34 +0900) | ||
committer | KOMEDA Shinji <komeda.shinji@gmail.com> | |
Wed, 25 Jun 2014 13:34:15 +0000 (22:34 +0900) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index f1c7b8aba1169f3a01f7bdf7993c52d192d4871f..9a78d0632fcea6ef45191e922933650514de3ec2 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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