diff --git a/configure b/configure
index 10091f860605d69690cb48a6ccf89e4b013d41e2..508d0280f8690c7bc1c8fee59ef949a13c735735 100755
--- a/configure
+++ b/configure
@@ -14121,7 +14121,7 @@ echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
 
             IOKITLIB="-framework IOKit"
 
-	    	    IOKITLIB = "$IOKITLIB $COREFOUNDATIONLIB"
+	    	    IOKITLIB="$IOKITLIB $COREFOUNDATIONLIB"
           else
             echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
diff --git a/configure.ac b/configure.ac
index e6081e08001f5b6d03da839835ed0c05447ac9f5..c0daaff71891956333b9bc0c7c6c4113470070c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1017,7 +1017,7 @@ case $host_os in
 	    AC_SUBST(COREFOUNDATIONLIB,"-framework CoreFoundation")
             AC_SUBST(IOKITLIB,"-framework IOKit")
 	    dnl using IOKit imply we use CoreFoundation too
-	    IOKITLIB = "$IOKITLIB $COREFOUNDATIONLIB"
+	    IOKITLIB="$IOKITLIB $COREFOUNDATIONLIB"
           else
             AC_CACHE_CHECK(whether we can build an HP-UX dll, ac_cv_c_dll_hpux,
               [WINE_TRY_SHLIB_FLAGS([-shared], ac_cv_c_dll_hpux="yes", ac_cv_c_dll_hpux="no")])