[Libguestfs] Autotools help needed
Pino Toscano
ptoscano at redhat.com
Thu Sep 4 16:49:33 UTC 2014
On Thursday 04 September 2014 18:06:05 Maros Zatko wrote:
> I'm trying to convince autotools to allow me to include fish.c in a C
> file containing a bunch of unit tests. In order to do that I need to
> convince it add include path (-I../) to gcc for that particular file
> (test-quoting.c originally, but dash seems to make troubles as well).
> I came up with this (snippet from Makefile.am):
>
> bin_TESTS = testquoting
IIRC this isn't needed if your test is already added to TESTS.
> testquoting_CFLAGS = -I../
Try with testquoting_CPPFLAGS.
--
Pino Toscano
More information about the Libguestfs
mailing list