Similar += fixes for other modules
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 25 Jun 2014 14:28:48 +0000 (15:28 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 25 Jun 2014 14:28:48 +0000 (15:28 +0100)
src/modules/rlm_mschap/configure
src/modules/rlm_mschap/configure.ac
src/modules/rlm_sql/drivers/rlm_sql_oracle/configure
src/modules/rlm_sql/drivers/rlm_sql_oracle/configure.ac

index 3fdc885..2e11566 100755 (executable)
@@ -2930,8 +2930,8 @@ smart_prefix=
 
 $as_echo "#define HAVE_MEMBERSHIP_H 1" >>confdefs.h
 
-               mschap_sources+="opendir.c"
-               mod_ldflags+=" -framework DirectoryService"
+               mschap_sources="opendir.c"
+               mod_ldflags="-framework DirectoryService"
        fi
        targetname=rlm_mschap
 else
index a133f86..c001c4e 100644 (file)
@@ -10,8 +10,8 @@ if test x$with_[]modname != xno; then
        FR_SMART_CHECK_INCLUDE(membership.h)
        if test "x$ac_cv_header_membership_h" = "xyes"; then
                AC_DEFINE([HAVE_MEMBERSHIP_H],[1],[Build with Apple Open Directory support])
-               mschap_sources+="opendir.c"
-               mod_ldflags+=" -framework DirectoryService" 
+               mschap_sources="opendir.c"
+               mod_ldflags="-framework DirectoryService"
        fi
        targetname=modname
 else
@@ -24,7 +24,7 @@ if test x"$fail" != x""; then
                AC_MSG_ERROR([set --without-]modname[ to disable it explicitly.])
        else
                AC_MSG_WARN([silently not building ]modname[.])
-               AC_MSG_WARN([FAILURE: ]modname[ requires: $fail.]); 
+               AC_MSG_WARN([FAILURE: ]modname[ requires: $fail.]);
                targetname=""
        fi
 fi
index 2541f45..f875708 100755 (executable)
@@ -1848,7 +1848,7 @@ fi
     smart_try_dir="$oracle_include_dir /usr/local/instaclient/include"
 
     if test "x$ORACLE_HOME" != "x"; then
-       smart_try_dir+="${ORACLE_HOME}/include"
+       smart_try_dir="${smart_try_dir} ${ORACLE_HOME}/include"
     fi
 
     ac_ext=c
index 0844a1e..a40aa2c 100644 (file)
@@ -64,11 +64,11 @@ if test x$with_[]modname != xno; then
     dnl ############################################################
 
     smart_try_dir="$oracle_include_dir /usr/local/instaclient/include"
-    
+
     if test "x$ORACLE_HOME" != "x"; then
-       smart_try_dir+="${ORACLE_HOME}/include"
+       smart_try_dir="${smart_try_dir} ${ORACLE_HOME}/include"
     fi
-    
+
     FR_SMART_CHECK_INCLUDE(oci.h)
     if test "x$ac_cv_header_oci_h" != "xyes"; then
        AC_MSG_WARN([oracle headers not found. Use --with-oracle-include-dir=<path> or set ORACLE_HOME.])
@@ -80,7 +80,7 @@ if test x$with_[]modname != xno; then
     dnl ############################################################
 
     old_LIBS="$LIBS"
-    
+
     if test "x$oracle_lib_dir" != "x" ; then
        lib_path="${oracle_lib_dir} "
     elif test "x$ORACLE_HOME" != "x" ; then
@@ -94,7 +94,7 @@ if test x$with_[]modname != xno; then
            else
                AC_MSG_CHECKING([for OCIInitialize in nnz${oracle_version}])
            fi
-           
+
            LIBS="$old_LIBS -L$path -lclntsh -lnnz${oracle_version}"
            AC_TRY_LINK([#include <oci.h>
 
@@ -111,12 +111,12 @@ if test x$with_[]modname != xno; then
                int             rc;
                char            errbuf[100];
                int             errcode;
-           
+
                rc = OCIInitialize((ub4) OCI_DEFAULT, (dvoid *)0,  /* Initialize OCI */
                                   (dvoid * (*)(dvoid *, size_t)) 0,
                                   (dvoid * (*)(dvoid *, dvoid *, size_t))0,
                                   (void (*)(dvoid *, dvoid *)) 0 );
-    
+
                ],
                [mod_ldflags="$LIBS"],
            )
@@ -126,7 +126,7 @@ if test x$with_[]modname != xno; then
            fi
            AC_MSG_RESULT(no)
        done
-       
+
        if test "x$mod_ldflags" != "x"; then
                break
        fi
@@ -138,7 +138,7 @@ if test x$with_[]modname != xno; then
        AC_MSG_WARN([oracle libraries not found.  Use --with-oracle-lib-dir=<path> or set ORACLE_HOME.])
        fail=["$fail libclntsh libnnz[9-11]"]
     fi
-    
+
     targetname=modname
 else
     targetname=