win32: Use AC_CHECK_TOOL to find dlltool

https://bugzilla.gnome.org/show_bug.cgi?id=684145
This commit is contained in:
Arnel A. Borja
2012-09-14 08:58:04 +08:00
committed by Kalev Lember
parent e261b9c030
commit 4a506290a7
2 changed files with 2 additions and 1 deletions

View File

@@ -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])

View File

@@ -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