[Top][All Lists]

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

[PATCH] Fix out-of-source `make check` failure

From: Koki Fukuda
Subject: [PATCH] Fix out-of-source `make check` failure
Date: Wed, 8 Jul 2020 23:25:03 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0


I tried out-of-source build and encountered the following compilation failure.

In file included from /home/kofu/source/emacs/test/data/emacs-module/mod-test.c:20:

../src/config.h:2463:10: fatal error: conf_post.h: No such file or directory
 2463 | #include <conf_post.h>

      |          ^~~~~~~~~~~~~

compilation terminated.
. . .

This is because MODULE_CFLAGS in test/Makefile.in includes ../src, that is directory for *generated* files, but conf_post.h is not a generated file. In this patch, I added $(srcdir)/../src to the list to make out-of-source compilation to success.


Koki Fukuda

Attachment: 0001-Fix-out-of-source-build-error.patch
Description: Text Data

reply via email to

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