Update to llvm-config tool, by Erik Kidd:

1. Check for Perl and only build llvm-config if its available.
2. Add some virtual components
3. Don't depend on "standard" location for Perl, but configured location
4. Document the tool with a POD file.

This version is now ready for testing by users.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27005 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/Makefile b/utils/Makefile
index f37cd91..df03b56 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -17,3 +17,7 @@
 
 include $(LEVEL)/Makefile.common
 
+# Only include llvm-config if we have Perl to build it with.
+ifeq ($(HAVE_PERL),1)
+  DIRS += llvm-config
+endif