Use and install a config.h AC_CONFIG_HEADER that contains all AC_DEFINE results

This commit is contained in:
Martin Willi
2012-07-11 09:57:07 +02:00
parent a4037686c7
commit 7300eb29d1
5 changed files with 13 additions and 0 deletions
+3
View File
@@ -19,6 +19,7 @@ dnl ===========================
AC_INIT(strongSwan,5.0.0)
AM_INIT_AUTOMAKE(tar-ustar)
AC_CONFIG_MACRO_DIR([m4/config])
AC_CONFIG_HEADERS([config.h])
PKG_PROG_PKG_CONFIG
dnl =================================
@@ -782,6 +783,8 @@ if test x$integrity_test = xtrue; then
)
fi
CFLAGS="$CFLAGS -include `pwd`/config.h"
dnl ==============================================
dnl collect plugin list for strongSwan components
dnl ==============================================