[llvm-commits] [support] r40081 - /support/trunk/autoconf/m4/module_support.m4
Reid Spencer
rspencer at reidspencer.com
Thu Jul 19 23:37:51 PDT 2007
Author: reid
Date: Fri Jul 20 01:37:51 2007
New Revision: 40081
URL: http://llvm.org/viewvc/llvm-project?rev=40081&view=rev
Log:
Make the module dependency extraction actually work for humans.
Modified:
support/trunk/autoconf/m4/module_support.m4
Modified: support/trunk/autoconf/m4/module_support.m4
URL: http://llvm.org/viewvc/llvm-project/support/trunk/autoconf/m4/module_support.m4?rev=40081&r1=40080&r2=40081&view=diff
==============================================================================
--- support/trunk/autoconf/m4/module_support.m4 (original)
+++ support/trunk/autoconf/m4/module_support.m4 Fri Jul 20 01:37:51 2007
@@ -71,8 +71,8 @@
dnl We need to know which modules depend on this one. Fortunately, every module
dnl is required to document that in the ModuleInfo.txt file so we just extract
dnl it.
- LLVM_MODULE_DEPENDS_ON=`grep DepModules: ModuleInfo.txt | \
- sed 's/DepModules: *//'`
+ LLVM_MODULE_DEPENDS_ON=`grep -i "DepModule:" ModuleInfo.txt | \
+ sed -e 's/DepModule: *//g'`
for x in $LLVM_MODULE_DEPENDS_ON ; do
AC_MSG_NOTICE([$1 depends on $x])
dnl we should probably validate the module names, but that would require
More information about the llvm-commits
mailing list