[PATCH] Add AC_LIB_PROG_LD_GNU m4 macro to check for GNU ld in the test suite.

Peter Hutterer peter.hutterer at who-t.net
Mon Jun 8 15:29:07 PDT 2009


On Mon, Jun 08, 2009 at 06:04:38AM -0700, Dan Nicholson wrote:
> As long as we're already using libtool.m4, this macro is just
> duplication. Libtool already does all this for us in AC_PROG_LD and
> AC_PROG_LD_GNU. lt_cv_prog_gnu_ld and with_gnu_ld are already set to
> yes or no.
> 
> So, you can drop the whole external macro so long as you do your
> checking after AC_PROG_LIBTOOL/LT_INIT. To be extra safe, you can add
> a specific call to AC_PROG_LD, but it's probably not necessary.

neat. so something like this below should do then.

Cheers,
  Peter



More information about the xorg-devel mailing list