Re: ignore -ldl on cygwin

2006-08-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Ralf Wildenhues on 8/4/2006 9:51 AM:
 2006-07-18  Eric Blake  ebb9 at byu.net

 * libltdl/m4/ltdl.m4 (LT_LIB_DLLOAD): Search for dlopen without
 depending on -ldl, required by cygwin 1.5.20.
 
 This patch looks fine.  A backport to branch-1-5 would be nice.

I don't see anything in branch-1-5 that indicates that this bug was
present there.  The only place where it checked for -ldl was in
AC_LIBTOOL_DLOPEN_SELF, which hard-coded the check for cygwin and hence
avoided the issue.

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE1zaH84KuGfSFAYARAgeGAJ4lXP4BcahUPsAXbPce2LkM927+pwCff/Uc
m4igqDOw3J5b1ws59xVP76o=
=Xhru
-END PGP SIGNATURE-




Re: ignore -ldl on cygwin

2006-08-04 Thread Ralf Wildenhues
Hi Eric,

* Eric Blake wrote on Sat, Jul 22, 2006 at 05:57:36AM CEST:
 Eric Blake ebb9 at byu.net writes:
 
  2006-07-18  Eric Blake  ebb9 at byu.net
  
  * libltdl/m4/ltdl.m4 (LT_LIB_DLLOAD): Search for dlopen without
  depending on -ldl, required by cygwin 1.5.20.
 
 Committing this using the 72-hour rule with no comments, since it makes a
 difference on cygwin for m4 CVS head.  Let me know if I need to make any
 followup improvements.

This patch looks fine.  A backport to branch-1-5 would be nice.

After a cleanup of the set of stub libraries we know about (moving the
mess in ltmain.sh and some bits of libtool.m4 that ignores -lm and -lc
on some systems ATM to a new macro in libtool.m4, creating a regex or
pattern of libs to ignore), we could add -ldl there.  But this isn't
high priority.

Cheers,
Ralf




Re: ignore -ldl on cygwin

2006-07-21 Thread Eric Blake
Eric Blake ebb9 at byu.net writes:

 2006-07-18  Eric Blake  ebb9 at byu.net
 
   * libltdl/m4/ltdl.m4 (LT_LIB_DLLOAD): Search for dlopen without
   depending on -ldl, required by cygwin 1.5.20.

Committing this using the 72-hour rule with no comments, since it makes a
difference on cygwin for m4 CVS head.  Let me know if I need to make any
followup improvements.

-- 
Eric Blake