autoheader 実行時に "error: AC_CONFIG_HEADERS not found in configure.ac" が表示される

エラーメッセージ

autoheader: error: AC_CONFIG_HEADERS not found in configure.ac

autoheader: エラー: configure.ac に AC_CONFIG_HEADERS がありません 

環境

  • autoheader (GNU Autoconf) 2.69

原因

"AM_CONFIG_HEADER" が使われていた。

対処

"AC_CONFIG_HEADERS" に書き換える。

PREFERRED_PROVIDER

If multiple recipes provide an item, this variable determines which recipe should be given preference. You should always suffix the variable with the name of the provided item, and you should set it to the PN of the recipe to which you want to give precedence. Some examples:

複数のレシピがアイテムを提供する場合、この変数はどのレシピに優先権を与えるべきかを決定します。変数には常に提供されるアイテムのサフィックスを付ける必要があります。優先順位を付けるレシピの PN に設定する必要があります。

PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xf86"
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"