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: Burton, Ross
Subject: Re: [Bug-xorriso] libisofs fails out-of-tree
Date: Thu, 4 Apr 2019 21:21:17 +0100

On Thu, 4 Apr 2019 at 19:49, Thomas Schmitt <address@hidden> wrote:
> > | ../libisofs-1.5.0/libisofs/util.c:21:10: fatal error: ../version.h:
> > No such file or directory
>
> ../configure obviously created version.h in ./build, not in in the
> libisofs-1.5.0 directory, where it is ../version.h relative to ./libburn.

Correct.

> I tried to write in configure.ac:
>
>   AC_CONFIG_FILES([
>         ...
>         $(top_srcdir)/version.h
>         ...
>   ])
>
> but that yielded with ../configure
>
>   ../configure: line 13383: top_srcdir: command not found
>   [...]
>   config.status: error: cannot find input file: `/version.h.in'

top_srcdir is an automake thing.  You don't want to write into the
source directory (and in fact, distcheck will make it read-only so you
can't.

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)"

Ross



reply via email to

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