GNU 自動ツール構成 autoreconf

GNU 自動ツール構成 autoreconf

特に、次のコマンドを実行して構成スクリプトを生成するときに自動化されたツールを使用するのに問題があります。

autoreconf -fi

次の警告が表示されます。

libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:12: installing './compile'
configure.ac:15: installing './config.guess'
configure.ac:15: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
Makefile.am: installing './INSTALL'
src/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am: installing './depcomp'
src/filteropt/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/memory/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/pagemanager/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/raster/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/raster/blendSource/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

その後、INCLUDESをAM_CPPFLAGSに手動で確認して変更し、-I m4を追加できますが、これらの警告が表示されないように構成ファイルを更新する必要はありませんか?

これらの警告を避けるために、どこで編集する必要がありますか?

ベストアンサー1

autoreconfのマニュアルページから:

デフォルトでは、ソースより古いファイルのみがコピーされます。 GNUビルドシステムの新しいバージョンをインストールする場合は、make( 'autoreconf'に '--force'オプションを指定してすべてのファイルを再構築)できます。

したがって、実行するだけで、autoreconf -fiその構成ファイルが自動的に更新されるようです。

おすすめ記事