From: Arnel A. Borja Date: Fri, 14 Sep 2012 00:58:04 +0000 (+0800) Subject: win32: Use AC_CHECK_TOOL to find dlltool X-Git-Tag: 2.35.3~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a506290a701a890b4609ac979f8e1d11935a39e;p=platform%2Fupstream%2Fglib.git win32: Use AC_CHECK_TOOL to find dlltool https://bugzilla.gnome.org/show_bug.cgi?id=684145 --- diff --git a/configure.ac b/configure.ac index 27b33d1..7804262 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 b33b023..8a18f2f 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