bug-xorriso
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-xorriso] libisofs fails out-of-tree


From: Thomas Schmitt
Subject: Re: [Bug-xorriso] libisofs fails out-of-tree
Date: Thu, 04 Apr 2019 23:08:16 +0200

Hi,

> As version.h is being written to the top of the build dir, add that to
> the include search path. Something like:
> AM_CPPFLAGS = "-I $(top_builddir)"

Ah, yes.
But it looks like "-quotes and blank after -I are incompatible.
This works:

  AM_CPPFLAGS = -I $(top_builddir)/libisofs

I have to dive in one directory deeper because the source has

  #include "../version.h"

(Meanwhile i learned how i could redirect version.h to libisofs/ by
 AC_CONFIG_FILES. And i remember that i had a dispute with the original
 developer of libisofs about the wisdom of letting the build system
 define the source version. So libburn and libisoburn have their versions
 in the source, not in autotools files.)

-------------------------------------------------------------------------

Next i tried to solve the demo/demo problem by adding another -I

  AM_CPPFLAGS = -I $(top_builddir)/libisofs -I $(top_srcdir)/libisofs

but had to learn that the difference between library and demo is obviously
the existence of

  demo_demo_CPPFLAGS = -Ilibisofs

So i clarified it by

  demo_demo_CPPFLAGS = -I $(top_srcdir)/libisofs

Whew. "make" now runs up to the end.

-------------------------------------------------------------------------

I will test libisoburn tomorrow and also work on your other requests.
For now: Thanks a lot for guiding me.


Have a nice day :)

Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]