From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19001 invoked by alias); 14 Mar 2013 17:39:41 -0000 Received: (qmail 18760 invoked by uid 22791); 14 Mar 2013 17:39:37 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-vb0-f73.google.com (HELO mail-vb0-f73.google.com) (209.85.212.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Mar 2013 17:39:21 +0000 Received: by mail-vb0-f73.google.com with SMTP id fj18so241816vbb.0 for ; Thu, 14 Mar 2013 10:39:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:mime-version:content-type:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references:x-mailer :x-gm-message-state; bh=/bG2tvoLQXRarqlWMf1s7g5cs375Yxhqm+uzY/BxQpg=; b=EdoVf5HaMT2jW0jsa6P5LOjwUPO5a0LTgloW+a4phS8aeTBXuOjgkUt9b2KJpncMN5 CSbQD0xVmQS4WZN16WxGoDrVh/2hH97ZdtaWl9Z4DXOjTVZepzzXi7BL1Yw5ClqMQ8ED aTkjjG2xD5BnMbCKIK4f9ZgvDFzDp0IcHqJaOjB2Ea9LcSvr5aS9M0rWWq+Keu0nUlFS +R1M9a8ptyhF0mIb7oZspQqPCvQGZcb9Js30/wHw74soMS0GsCC+uWfOGmxPwVzUHlgl R7vL13ZbxJkmPUBtpbpu8Zq9o+QiD39IhFDoGHE0NkA9FAfG/IEG1KOxUKs50Nh7haTd Q2vw== X-Received: by 10.236.147.234 with SMTP id t70mr1981692yhj.12.1363282760192; Thu, 14 Mar 2013 10:39:20 -0700 (PDT) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id f64si363596yhj.7.2013.03.14.10.39.20 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Thu, 14 Mar 2013 10:39:20 -0700 (PDT) Received: from ruffy2.mtv.corp.google.com (ruffy2.mtv.corp.google.com [172.17.128.107]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id 7E84631C243; Thu, 14 Mar 2013 10:39:19 -0700 (PDT) From: Doug Evans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20802.2886.914505.51784@ruffy2.mtv.corp.google.com> Date: Thu, 14 Mar 2013 17:39:00 -0000 To: Tom Tromey , Yao Qi cc: gdb-patches Subject: Re: [PATCH v3 03/15] Read CTF by the ctf target In-Reply-To: References: <1362800844-27940-1-git-send-email-yao@codesourcery.com> <1362800844-27940-4-git-send-email-yao@codesourcery.com> <871ubjawq8.fsf@fleche.redhat.com> X-Gm-Message-State: ALoCoQmXLcYiomI4QUtzHCu7Xn4x2NpmPcalCd4hkuijDooTeTxN5Z+NNNDE8umaiungnFul4oPZWZqaBOJ5ITlzpx14h5wIR02YYjtMel7cWT5h+cp9z+0e00XG7CMbE+M3XhafSvsQqjJSIBiPbRN/h4H+X3kofox5acnnrbE02KlYmZl0pREZf+5Thzpdsmku8tDA2L698lNkSXDIDvYqqO4EnteCwQ== 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: 2013-03/txt/msg00640.txt.bz2 Doug Evans writes: > Is there a compelling need for with-babeltrace-{include,lib}? > We don't have with-expat-{include,lib} for example. > I think we should punt on them for now if there's no real need for them. Running ./configure --help I see expat provides a different means for specifying the location. --with-expat include expat support (auto/yes/no) --with-libexpat-prefix[=DIR] search for libexpat in DIR/include and DIR/lib --without-libexpat-prefix don't search for libexpat in includedir and libdir Ideally we should be consistent. IIUC, expat support does this: AC_LIB_HAVE_LINKFLAGS([expat], [], [#include "expat.h"], [XML_Parser p = XML_ParserCreate (0);]) and that drags in the rest of the support from src/config/lib*.m4. [One needn't necessarily do the same thing, but I think the end result, as far as configure options goes, should be the same.]