diff --git a/configure.ac b/configure.ac index 27b33d1ed..780426269 100644 --- a/configure.ac +++ b/configure.ac @@ -205,6 +205,7 @@ AS_IF([test "$glib_native_win32" = "yes"], [ AC_MSG_ERROR([*** Could not find an implementation of nm in your PATH.]) fi AC_CHECK_TOOL(RANLIB, ranlib, :) + AC_CHECK_TOOL(DLLTOOL, dlltool, :) AC_CHECK_PROG(ms_librarian, [lib.exe], [yes], [no]) ]) AM_CONDITIONAL(MS_LIB_AVAILABLE, [test x$ms_librarian = xyes]) diff --git a/tests/Makefile.am b/tests/Makefile.am index b33b023d3..8a18f2f07 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -24,7 +24,7 @@ no_undefined = -no-undefined module_test_exp = module-test.exp module-test.exp: module-test.o - dlltool --output-exp module-test.exp module-test.o + $(DLLTOOL) --output-exp module-test.exp module-test.o spawn_test_win32_gui = spawn-test-win32-gui