Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
AC_SUBST(VAR) が VAR を Makefile.am に渡すことを知っています。
#define を configure.ac の config.h に生成する構文はありますか?
AC_CONFIG_HEADERSを使用している限り(たとえばAC_CONFIG_HEADERS([config.h])in でconfigure.ac)、AC_DEFINEマクロは#define ...in ヘッダーを生成します。
AC_CONFIG_HEADERS([config.h])
configure.ac
#define ...