From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: tromey@redhat.com
Cc: pavel.v.chupin@gmail.com, mark.kettenis@xs4all.nl,
gdb-patches@sourceware.org
Subject: Re: [PATCH] gdb/configure: Replace hardcoded -ldl with check based on dlfcn.h availability
Date: Tue, 14 May 2013 19:24:00 -0000 [thread overview]
Message-ID: <201305141923.r4EJNvUE017192@glazunov.sibelius.xs4all.nl> (raw)
In-Reply-To: <87a9nx5qv9.fsf@fleche.redhat.com> (message from Tom Tromey on Tue, 14 May 2013 13:00:10 -0600)
> From: Tom Tromey <tromey@redhat.com>
> Date: Tue, 14 May 2013 13:00:10 -0600
>
> Mark> The fix isn't quite right. OpenBSD for example has <dlfcn.h> but no
> Mark> libdl; dlopen(3) and friends live in libc.
>
> Pavel> Hi Mark,
> Pavel> Thanks for your comments. Please see new patch attached.
>
> Pavel> - LIBS="-ldl $LIBS"
> Pavel> + AC_CHECK_LIB(dl, dlopen)
>
> I think it is probably better to use AC_SEARCH_LIBS.
That's indeed what the autoconf manual suggests.
next prev parent reply other threads:[~2013-05-14 19:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-17 16:39 Pavel Chupin
2013-05-06 11:28 ` Pavel Chupin
2013-05-06 12:30 ` Mark Kettenis
2013-05-07 10:02 ` Pavel Chupin
2013-05-14 19:00 ` Tom Tromey
2013-05-14 19:24 ` Mark Kettenis [this message]
2013-05-16 6:47 ` Pavel Chupin
2013-05-16 14:04 ` Mark Kettenis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201305141923.r4EJNvUE017192@glazunov.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=gdb-patches@sourceware.org \
--cc=pavel.v.chupin@gmail.com \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox