Hi, Dave! That piece of code comes from the macros inserted by the libtool support. Normally, you should find the macro in /usr/share/aclocal/lib-ld.m4 (at least on Fedora, Debian, and Gentoo.) In case it's not there, I've reproduced the M4 macro below. Please note that it's licensed as follows:
dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. And the actual macro: dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, [# I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 </dev/null` in *GNU* | *'with BFD'*) acl_cv_prog_gnu_ld=yes ;; *) acl_cv_prog_gnu_ld=no ;; esac]) with_gnu_ld=$acl_cv_prog_gnu_ld ]) Hope this helps, Mihai On 09/28/2009 05:17 PM, Dr. David Kirkby wrote: > I notice when configuring sqlite that you check if the GNU linker is the > GNU linker. I'd like to pinch that bit of code from you, but I don't see > anything in configure.ac for this. Is this something you have > hard-crafted into the configure script? > > Dave > _______________________________________________ > sqlite-users mailing list > [email protected] > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

