bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] build fails if builddir is not srcdir (diff included


From: Ivan Shmakov
Subject: Re: [bug-mailutils] build fails if builddir is not srcdir (diff included)
Date: Wed, 16 Mar 2005 23:56:49 +0600

 >> I've added `-I${top_builddir}/include' to `INCLUDES' in a number of
 >> `Makefile.am's, so that `mailutils/errno.h' (generated at
 >> configure-time)

 > Errno.h should not be generated at configure time.  If it is, that's
 > a bug.

        It's my mistake.  Of course, it gets generated at /compile/
        time.

        Appropriate rule could be found in
        mailutils/include/mailutils/Makefile.am:

BUILT_SOURCES=errno.h
EXTRA_DIST=errno.hin
errno.h: $(top_srcdir)/mailbox/errors errno.hin
        $(AWK) -f $(top_srcdir)/scripts/generr.awk $^ > $@

        So, it happens to reside in `${top_builddir}/include/mailutils',
        which isn't in the list of `-I'-directories.

 > Please describe exact conditions under which it occurs.

        It was a CVS version, if that matters.




reply via email to

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