Skip to content

Commit

Permalink
rlm_sql_oracle: Inform the supported versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jpereira authored and alandekok committed Aug 11, 2019
1 parent 875a207 commit 4de83f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/modules/rlm_sql/drivers/rlm_sql_oracle/configure
Expand Up @@ -1787,6 +1787,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
oracle_supported_versions="19 18 12 11 10 9"
fail= fail=
mod_ldflags= mod_ldflags=
mod_cflags= mod_cflags=
Expand Down Expand Up @@ -2882,11 +2883,13 @@ $as_echo "$as_me: WARNING: oracle headers not found. Use --with-oracle-include-d
lib_path="${ORACLE_HOME}/lib " lib_path="${ORACLE_HOME}/lib "
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Oracle supported versions: ${oracle_supported_versions}" >&5
$as_echo "$as_me: WARNING: Oracle supported versions: ${oracle_supported_versions}" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Oracle version >= 12 needs -laio" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Oracle version >= 12 needs -laio" >&5
$as_echo "$as_me: WARNING: Oracle version >= 12 needs -laio" >&2;} $as_echo "$as_me: WARNING: Oracle version >= 12 needs -laio" >&2;}
for path in $lib_path "/usr/local/instaclient/lib" "" "/opt/lib"; do for path in $lib_path "/usr/local/instaclient/lib" "" "/opt/lib"; do
for oracle_version in 19 18 12.1 12 11 10 9 ""; do for oracle_version in ${oracle_supported_versions} ""; do
if test "$path" != ""; then if test "$path" != ""; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCIInitialize in nnz${oracle_version} in $path" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCIInitialize in nnz${oracle_version} in $path" >&5
$as_echo_n "checking for OCIInitialize in nnz${oracle_version} in $path... " >&6; } $as_echo_n "checking for OCIInitialize in nnz${oracle_version} in $path... " >&6; }
Expand Down
4 changes: 3 additions & 1 deletion src/modules/rlm_sql/drivers/rlm_sql_oracle/configure.ac
Expand Up @@ -2,6 +2,7 @@ AC_INIT(rlm_sql_oracle.c)
AC_REVISION($Revision: 1.10 $) AC_REVISION($Revision: 1.10 $)
AC_DEFUN(modname,[rlm_sql_oracle]) AC_DEFUN(modname,[rlm_sql_oracle])


oracle_supported_versions="19 18 12 11 10 9"
fail= fail=
mod_ldflags= mod_ldflags=
mod_cflags= mod_cflags=
Expand Down Expand Up @@ -87,10 +88,11 @@ if test x$with_[]modname != xno; then
lib_path="${ORACLE_HOME}/lib " lib_path="${ORACLE_HOME}/lib "
fi fi


AC_MSG_WARN([Oracle supported versions: ${oracle_supported_versions}])
AC_MSG_WARN([Oracle version >= 12 needs -laio]) AC_MSG_WARN([Oracle version >= 12 needs -laio])


for path in $lib_path "/usr/local/instaclient/lib" "" "/opt/lib"; do for path in $lib_path "/usr/local/instaclient/lib" "" "/opt/lib"; do
for oracle_version in 19 18 12.1 12 11 10 9 ""; do for oracle_version in ${oracle_supported_versions} ""; do
if test "$path" != ""; then if test "$path" != ""; then
AC_MSG_CHECKING([for OCIInitialize in nnz${oracle_version} in $path]) AC_MSG_CHECKING([for OCIInitialize in nnz${oracle_version} in $path])
else else
Expand Down

0 comments on commit 4de83f1

Please sign in to comment.