Displaying 3 results from an estimated 3 matches for "ac_prog_nm".
Did you mean:
ac_prog_cc
2009 Jul 07
0
[LLVMdev] switching to llvm-g++ as the host compiler
...figure.ac (revision 74729)
> +++ llvm.test/autoconf/configure.ac (working copy)
> @@ -601,8 +601,8 @@
>
> dnl Check for compilation tools
> AC_PROG_CPP
> -AC_PROG_CC(gcc)
> -AC_PROG_CXX(g++)
> +AC_PROG_CC([llvm-gcc gcc])
> +AC_PROG_CXX([llvm-g++ g++])
>
> AC_PROG_NM
> AC_SUBST(NM)
>
>
> Likewise, in our LLVM-GCC tree, this seems to work for Darwin/x86:
>
> Index: llvm-gcc.test/configure.in
> ===================================================================
> --- llvm-gcc.test/configure.in (revision 74729)
> +++ llvm-gcc.test/conf...
2009 Jul 06
8
[LLVMdev] switching to llvm-g++ as the host compiler
...=======================
--- llvm.test/autoconf/configure.ac (revision 74729)
+++ llvm.test/autoconf/configure.ac (working copy)
@@ -601,8 +601,8 @@
dnl Check for compilation tools
AC_PROG_CPP
-AC_PROG_CC(gcc)
-AC_PROG_CXX(g++)
+AC_PROG_CC([llvm-gcc gcc])
+AC_PROG_CXX([llvm-g++ g++])
AC_PROG_NM
AC_SUBST(NM)
Likewise, in our LLVM-GCC tree, this seems to work for Darwin/x86:
Index: llvm-gcc.test/configure.in
===================================================================
--- llvm-gcc.test/configure.in (revision 74729)
+++ llvm-gcc.test/configure.in (working copy)
@@ -993,10 +993,...
2011 Oct 12
1
[LLVMdev] [llvm-commits] [llvm] r139934 - in /llvm/trunk: autoconf/configure.ac configure
...ac (original)
> +++ llvm/trunk/autoconf/configure.ac Fri Sep 16 15:36:16 2011
> @@ -967,8 +967,8 @@
>
> dnl Check for compilation tools
> AC_PROG_CPP
> -AC_PROG_CC(gcc)
> -AC_PROG_CXX(g++)
> +AC_PROG_CC(clang llvm-gcc gcc)
> +AC_PROG_CXX(clang++ llvm-g++ g++)
>
> AC_PROG_NM
> AC_SUBST(NM)
>
> Modified: llvm/trunk/configure
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/configure?rev=139934&r1=139933&r2=139934&view=diff
>
> ==============================================================================
> --- llvm/trunk/confi...