include path
Tom Tromey
tromey@redhat.com
Mon Feb 2 18:02:00 GMT 2009
>>>>> "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
More information about the Gdb
mailing list