On Fri, Sep 05, 2014 at 01:21:58PM +0200, Maros Zatko wrote:
>>testquoting_CFLAGS = -I../
>Try with testquoting_CPPFLAGS.
Tried, it does cut it either.
automake itself adds -I.. to the list of flags. Try using `make V=1'
to see that, eg:
make: Entering directory `/home/rjones/d/libguestfs/fish'
make all-am
make[1]: Entering directory `/home/rjones/d/libguestfs/fish'
gcc -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DCOMPILING_GUESTFISH=1
-DGUESTFS_WARN_DEPRECATED=1 -DLOCALEBASEDIR=\""/usr/share/locale"\"
-I../src -I../src -I../fish -I../fish -I./../gnulib/lib -I../gnulib/lib [etc]
'-DHAVE_CONFIG_H -I. -I..' are added by automake itself.
So it ought to just work, but it's hard to tell what's going on unless
you use `make V=1'.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org