Mihai Limbasan wrote:
> 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

Thank you for that - it was helpful.

dave
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to