[llvm-commits] CVS: llvm/autoconf/configure.ac
Reid Spencer
reid at x10sys.com
Thu Jul 27 16:00:52 PDT 2006
Changes in directory llvm/autoconf:
configure.ac updated: 1.239 -> 1.240
---
Log message:
Changes to support cross-compiling LLVM. The GenLibDeps.pl script needs to
have a compile-host version of "nm", not build-host. In order to effect this
we must use autoconf to determine the correct "nm" to use and propagate that
through the makefiles, through llvm-config and finally to GenLibDeps.pl as
an optional argument.
Patch contributed by Anton Korobeynikov. Thanks!
---
Diffs of the changes: (+3 -0)
configure.ac | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.239 llvm/autoconf/configure.ac:1.240
--- llvm/autoconf/configure.ac:1.239 Wed Jul 26 23:58:33 2006
+++ llvm/autoconf/configure.ac Thu Jul 27 18:00:30 2006
@@ -357,6 +357,9 @@
AC_PROG_FLEX
AC_PROG_BISON
+AC_PROG_NM
+AC_SUBST(NM)
+
dnl Check for the tools that the makefiles require
AC_CHECK_GNU_MAKE
AC_PROG_LN_S
More information about the llvm-commits
mailing list