This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: include path
- From: Tom Tromey <tromey at redhat dot com>
- To: "Richard Stuckey" <Richard dot Stuckey at arc dot com>
- Cc: <gdb at sourceware dot org>
- Date: Mon, 02 Feb 2009 10:44:54 -0700
- Subject: Re: include path
- References: <5569E67A2E319949992066CE19C44BF608B2F5@savm-exch03.arc.com>
- Reply-to: tromey at redhat dot com
>>>>> "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