public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* PATCH: Test the just built windres/dlltool only
@ 2005-02-21  8:37 H. J. Lu
  2005-02-21  9:59 ` Daniel Jacobowitz
  0 siblings, 1 reply; 9+ messages in thread
From: H. J. Lu @ 2005-02-21  8:37 UTC (permalink / raw)
  To: binutils

windres/dlltool may not be built for all platforms. But we are picking
up them from PATH even if they weren't built at all. This patch
changes it.


H.J.
----
2005-02-18  H.J. Lu  <hongjiu.lu@intel.com>

	* config/default.exp: Set WINDRES only if windres is built. Set
	DLLTOOL only if dlltool is built.

--- binutils/testsuite/config/default.exp.win	2004-11-05 14:41:25.000000000 -0800
+++ binutils/testsuite/config/default.exp	2005-02-18 14:30:17.384437504 -0800
@@ -62,11 +62,11 @@ if ![info exists READELF] then {
 if ![info exists READELFFLAGS] then {
     set READELFFLAGS ""
 }
-if ![info exists WINDRES] then {
-    set WINDRES [findfile $base_dir/windres]
+if {![info exists WINDRES] && [file exists $base_dir/windres]} then {
+    set WINDRES $base_dir/windres
 }
-if ![info exists DLLTOOL] then {
-    set DLLTOOL [findfile $base_dir/dlltool]
+if {![info exists DLLTOOL] && [file exists $base_dir/dlltool] } then {
+    set DLLTOOL $base_dir/dlltool
 }
 
 if ![file isdirectory tmpdir] {catch "exec mkdir tmpdir" status}

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-02-23 19:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-21  8:37 PATCH: Test the just built windres/dlltool only H. J. Lu
2005-02-21  9:59 ` Daniel Jacobowitz
2005-02-21 10:29   ` H. J. Lu
2005-02-21 20:38     ` Nick Clifton
2005-02-21 21:09       ` H. J. Lu
2005-02-22 19:23         ` Nick Clifton
2005-02-23  2:26           ` H. J. Lu
2005-02-23 16:11             ` Nick Clifton
2005-02-24  5:37               ` H. J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).