Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: "Richard Stuckey" <Richard.Stuckey@arc.com>
Cc: <gdb@sourceware.org>
Subject: Re: include path
Date: Mon, 02 Feb 2009 18:02:00 -0000	[thread overview]
Message-ID: <m3ljsopwbt.fsf@fleche.redhat.com> (raw)
In-Reply-To: <5569E67A2E319949992066CE19C44BF608B2F5@savm-exch03.arc.com> (Richard Stuckey's message of "Mon\, 2 Feb 2009 11\:55\:39 -0000")

>>>>> "Richard" == Richard Stuckey <Richard.Stuckey@arc.com> 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


  parent reply	other threads:[~2009-02-02 18:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-02 11:55 Richard Stuckey
2009-02-02 15:03 ` Daniel Jacobowitz
2009-02-02 16:20   ` Richard Stuckey
2009-02-02 18:02 ` Tom Tromey [this message]
2009-02-03 12:43   ` Richard Stuckey

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=m3ljsopwbt.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=Richard.Stuckey@arc.com \
    --cc=gdb@sourceware.org \
    /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