LD not precious?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Silly question, but I was working on a particular project (dahdi-tools) and I noticed that the value of LD that was passed to "configure" didn't get saved into "makeopts".

I hacked the configure.ac file as:

--- dahdi-tools-2.2.0/configure.ac.orig 2009-01-16 06:18:10.000000000 -0800
+++ dahdi-tools-2.2.0/configure.ac      2010-01-13 17:16:00.000000000 -0800
@@ -29,6 +29,8 @@ fi
 # This needs to be before any macros that use the C compiler
 AC_GNU_SOURCE
 
+AC_SUBST(LD)
+
 # Checks for programs.
 AC_PROG_CC
 AC_PROG_CPP



and this seems to work, but this left me wondering why "LD" isn't a precious variable, just like "CC" is.

Looking at the contents of /usr/share/autoconf/autoconf/ for autoconf 2.63, I'm not seeing \<LD\> anywhere.

Is that an oversight? I ask because in a cross-compilation environment, getting CC and LD right are equally important.

Thanks,

-Philip





_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux