[llvm-commits] [test-suite] r164457 - /test-suite/trunk/Makefile.config.in

Simon Atanasyan satanasyan at mips.com
Sat Sep 22 05:37:35 PDT 2012


Author: atanasyan
Date: Sat Sep 22 07:37:35 2012
New Revision: 164457

URL: http://llvm.org/viewvc/llvm-project?rev=164457&view=rev
Log:
Define TCLSH variable in both cases:
a) LLVM's configuration Makefile is unavailable
b) LLVM's configuration Makefile does not define TCLSH

The patch reviewed by Duncan Sands.

Modified:
    test-suite/trunk/Makefile.config.in

Modified: test-suite/trunk/Makefile.config.in
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.config.in?rev=164457&r1=164456&r2=164457&view=diff
==============================================================================
--- test-suite/trunk/Makefile.config.in (original)
+++ test-suite/trunk/Makefile.config.in Sat Sep 22 07:37:35 2012
@@ -54,7 +54,6 @@
 PWD := pwd
 RM := rm
 SED := sed
-TCLSH := tclsh
 
 # Configure parameters.
 TARGET_OS := @TARGET_OS@
@@ -63,6 +62,12 @@
 
 endif
 
+# Define TCLSH here if LLVM's configuration Makefile is unavailable
+# or it does not define TCLSH.
+ifndef TCLSH
+TCLSH := tclsh
+endif
+
 # Ignore the LIBS set by $(LLVM_OBJ_ROOT)/Makefile.config
 LIBS :=
 





More information about the llvm-commits mailing list