Too many -Ls
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 2 Mar 2013 16:11:11 +0000 (11:11 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 2 Mar 2013 16:11:24 +0000 (11:11 -0500)
src/modules/rlm_sql/drivers/rlm_sql_oracle/configure
src/modules/rlm_sql/drivers/rlm_sql_oracle/configure.in

index af121a8..7f34814 100755 (executable)
@@ -2795,9 +2795,9 @@ $as_echo "$as_me: WARNING: oracle headers not found. Use --with-oracle-include-d
     old_LIBS="$LIBS"
 
     if test "x$oracle_lib_dir" != "x" ; then
-        lib_path="-L${oracle_lib_dir} "
+        lib_path="${oracle_lib_dir} "
     elif test "x$ORACLE_HOME" != "x" ; then
-        lib_path="-L${ORACLE_HOME}/lib "
+        lib_path="${ORACLE_HOME}/lib "
     fi
 
     for path in $lib_path "/usr/local/instaclient/lib" "" "/opt/lib"; do
@@ -2887,7 +2887,7 @@ $as_echo "$as_me: WARNING: FAILURE: rlm_sql_oracle requires:$fail." >&2;};
        fi
 fi
 
-sql_oracle_cflags="$SMART_CFLAGS"
+sql_sybase_cflags="$SMART_CFLAGS"
 
 
 
index a4b1a3c..1aaa1dc 100644 (file)
@@ -82,9 +82,9 @@ if test x$with_[]modname != xno; then
     old_LIBS="$LIBS"
     
     if test "x$oracle_lib_dir" != "x" ; then
-        lib_path="-L${oracle_lib_dir} "
+        lib_path="${oracle_lib_dir} "
     elif test "x$ORACLE_HOME" != "x" ; then
-        lib_path="-L${ORACLE_HOME}/lib "
+        lib_path="${ORACLE_HOME}/lib "
     fi
 
     for path in $lib_path "/usr/local/instaclient/lib" "" "/opt/lib"; do
@@ -156,7 +156,7 @@ if test "x$fail" != x; then
        fi
 fi
 
-sql_oracle_cflags="$SMART_CFLAGS"
+sql_sybase_cflags="$SMART_CFLAGS"
 AC_SUBST(sql_oracle_ldflags)
 AC_SUBST(sql_oracle_cflags)
 AC_SUBST(targetname)