Allow things like --libs CBackend
authorChris Lattner <sabre@nondot.org>
Mon, 4 Sep 2006 05:35:23 +0000 (05:35 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 4 Sep 2006 05:35:23 +0000 (05:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30089 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-config/llvm-config.in.in

index 51b79ec9262106aa8f2f4a3a53c173cbfd3dc808..e24b1c327c5f73ed1755a939abbe6481faa76a87 100644 (file)
@@ -143,6 +143,9 @@ if (@components == 0) {
     push @components, 'all';
 }
 
+# Force component names to lower case.
+@components = map lc, @components;
+
 # Handle any arguments which require building our dependency graph.
 if ($want_libs || $want_libnames || $want_libfiles) {
     my @libs = expand_dependencies(@components);