From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18529 invoked by alias); 2 Feb 2009 18:02:36 -0000 Received: (qmail 18389 invoked by uid 22791); 2 Feb 2009 18:02:35 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_92,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Feb 2009 18:02:30 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n12I2CDw025011; Mon, 2 Feb 2009 13:02:12 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n12I293L012770; Mon, 2 Feb 2009 13:02:09 -0500 Received: from opsy.redhat.com (vpn-12-182.rdu.redhat.com [10.11.12.182]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n12I29H1009026; Mon, 2 Feb 2009 13:02:09 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 9915850826F; Mon, 2 Feb 2009 10:44:54 -0700 (MST) To: "Richard Stuckey" Cc: Subject: Re: include path References: <5569E67A2E319949992066CE19C44BF608B2F5@savm-exch03.arc.com> From: Tom Tromey Reply-To: tromey@redhat.com Date: Mon, 02 Feb 2009 18:02:00 -0000 In-Reply-To: <5569E67A2E319949992066CE19C44BF608B2F5@savm-exch03.arc.com> (Richard Stuckey's message of "Mon\, 2 Feb 2009 11\:55\:39 -0000") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00020.txt.bz2 >>>>> "Richard" == Richard Stuckey writes: Richard> AC_ARG_WITH(xiss, Richard> AS_HELP_STRING([--with-xiss], [include xiss support (auto/yes/no)]), Richard> [], [with_xiss=auto]) Richard> AC_MSG_CHECKING([whether to use xiss]) Richard> AC_MSG_RESULT([$with_xiss]) Richard> However, I can not find a way of adding the include path. A typical approach is to define a new variable in configure.ac, then AC_SUBST it: XISS_INCLUDES="-Iwhatever" AC_SUBST(XISS_INCLUDES) Then in Makefile.in: XISS_INCLUDES = @XISS_INCLUDES@ Finally, add $(XISS_INCLUDES) to INTERNAL_CFLAGS_BASE. Tom