From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14941 invoked by alias); 29 Aug 2011 12:54:40 -0000 Received: (qmail 14889 invoked by uid 22791); 29 Aug 2011 12:54:39 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mail-pz0-f44.google.com (HELO mail-pz0-f44.google.com) (209.85.210.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Aug 2011 12:54:25 +0000 Received: by pzk36 with SMTP id 36so9577266pzk.3 for ; Mon, 29 Aug 2011 05:54:25 -0700 (PDT) Received: by 10.142.178.15 with SMTP id a15mr2415542wff.170.1314622464785; Mon, 29 Aug 2011 05:54:24 -0700 (PDT) Received: from [127.0.0.1] ([203.110.240.205]) by mx.google.com with ESMTPS id e3sm18511866pbi.7.2011.08.29.05.54.20 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Aug 2011 05:54:23 -0700 (PDT) Message-ID: <4E5B8CFF.3060709@playingwithpointers.com> Date: Mon, 29 Aug 2011 12:54:00 -0000 From: Sanjoy Das User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110820 Icedove/3.1.12 MIME-Version: 1.0 To: Pedro Alves CC: gdb-patches@sourceware.org Subject: Re: [PATCH 3/7] Platform agnostic dynamic loading code. References: <1314212467-7391-1-git-send-email-sanjoy@playingwithpointers.com> <1314212467-7391-4-git-send-email-sanjoy@playingwithpointers.com> <201108291103.23021.pedro@codesourcery.com> In-Reply-To: <201108291103.23021.pedro@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00563.txt.bz2 Hi Pedro! > This isn't correct. There are platforms where dlopen & friends are > in the C library, and don't need or have -ldl/libdl. Does it make more sense to have an AC_CHECK_HEADERS for dlfcn.h then? Of course, the AC_CHECK_LIB will have to stay, since we'd want to add -ldl if required. Thanks! -- Sanjoy Das http://playingwithpointers.com