version 1.1, 2020/06/03 09:46:43
|
version 1.1.1.2, 2021/03/17 00:20:08
|
Line 19
|
Line 19
|
# initialize & set some vars |
# initialize & set some vars |
# ============================ |
# ============================ |
|
|
AC_INIT([strongSwan],[5.8.4]) | AC_INIT([strongSwan],[5.9.2]) |
AM_INIT_AUTOMAKE(m4_esyscmd([ |
AM_INIT_AUTOMAKE(m4_esyscmd([ |
echo tar-ustar |
echo tar-ustar |
echo subdir-objects |
echo subdir-objects |
Line 326 ARG_ENABL_SET([tss-tss2], [enable the use of the
|
Line 326 ARG_ENABL_SET([tss-tss2], [enable the use of the
|
|
|
# compile options |
# compile options |
ARG_ENABL_SET([coverage], [enable lcov coverage report generation.]) |
ARG_ENABL_SET([coverage], [enable lcov coverage report generation.]) |
|
ARG_ENABL_SET([git-version], [use output of 'git describe' as version information in executables.]) |
ARG_ENABL_SET([leak-detective], [enable malloc hooks to find memory leaks.]) |
ARG_ENABL_SET([leak-detective], [enable malloc hooks to find memory leaks.]) |
ARG_ENABL_SET([lock-profiler], [enable lock/mutex profiling code.]) |
ARG_ENABL_SET([lock-profiler], [enable lock/mutex profiling code.]) |
ARG_ENABL_SET([log-thread-ids], [use thread ID, if available, instead of an incremented value starting from 1, to identify threads.]) |
ARG_ENABL_SET([log-thread-ids], [use thread ID, if available, instead of an incremented value starting from 1, to identify threads.]) |
Line 661 AC_CHECK_FUNC(
|
Line 662 AC_CHECK_FUNC(
|
] |
] |
) |
) |
|
|
AC_CHECK_FUNCS(prctl mallinfo getpass closefrom getpwnam_r getgrnam_r getpwuid_r) | AC_CHECK_FUNCS(prctl mallinfo getpass closefrom getpwnam_r getgrnam_r getpwuid_r chown) |
AC_CHECK_FUNCS(fmemopen funopen mmap memrchr setlinebuf strptime dirfd sigwaitinfo explicit_bzero) |
AC_CHECK_FUNCS(fmemopen funopen mmap memrchr setlinebuf strptime dirfd sigwaitinfo explicit_bzero) |
|
|
AC_CHECK_FUNC([syslog], [ |
AC_CHECK_FUNC([syslog], [ |
Line 1059 if test x$tss_tss2 = xtrue; then
|
Line 1060 if test x$tss_tss2 = xtrue; then
|
fi |
fi |
fi |
fi |
|
|
if test x$imc_swima = xtrue -o $imv_swima = xtrue; then | if test x$imc_swima = xtrue -o x$imv_swima = xtrue; then |
PKG_CHECK_MODULES(json, [json-c], [], |
PKG_CHECK_MODULES(json, [json-c], [], |
[PKG_CHECK_MODULES(json, [json])]) |
[PKG_CHECK_MODULES(json, [json])]) |
AC_SUBST(json_CFLAGS) |
AC_SUBST(json_CFLAGS) |
Line 1172 if test x$gcrypt = xtrue; then
|
Line 1173 if test x$gcrypt = xtrue; then
|
fi |
fi |
|
|
if test x$botan = xtrue; then |
if test x$botan = xtrue; then |
PKG_CHECK_MODULES(botan, [botan-2]) | PKG_CHECK_MODULES(botan, [botan-3], [], |
| [PKG_CHECK_MODULES(botan, [botan-2])]) |
AC_SUBST(botan_CFLAGS) |
AC_SUBST(botan_CFLAGS) |
AC_SUBST(botan_LIBS) |
AC_SUBST(botan_LIBS) |
|
saved_LIBS=$LIBS |
|
LIBS="$botan_LIBS" |
|
AC_CHECK_FUNCS(botan_rng_init_custom) |
|
LIBS=$saved_LIBS |
fi |
fi |
|
|
if test x$uci = xtrue; then |
if test x$uci = xtrue; then |
Line 1382 if test "x$ss_cv_static_plugin_constructors" = xyes; t
|
Line 1388 if test "x$ss_cv_static_plugin_constructors" = xyes; t
|
if test "$PYTHON" = ":"; then |
if test "$PYTHON" = ":"; then |
AC_MSG_FAILURE([Python is required to resolve plugin constructors statically]) |
AC_MSG_FAILURE([Python is required to resolve plugin constructors statically]) |
fi |
fi |
|
fi |
|
|
|
AC_MSG_CHECKING([version from Git repository]) |
|
AC_SUBST(GIT_VERSION, [$($srcdir/scripts/git-version "$srcdir")]) |
|
case "$GIT_VERSION" in |
|
"$PACKAGE_VERSION"*) |
|
AC_MSG_RESULT([$GIT_VERSION]) |
|
;; |
|
UNKNOWN) |
|
AC_MSG_RESULT([$GIT_VERSION (could be due to insufficient clone depth)]) |
|
;; |
|
*) |
|
AC_MSG_ERROR([$PACKAGE_VERSION is not a prefix of $GIT_VERSION, tag missing?]) |
|
;; |
|
esac |
|
|
|
if test x$git_version = xtrue -a "$GIT_VERSION" != "UNKNOWN"; then |
|
AC_DEFINE_UNQUOTED(VERSION, ["$GIT_VERSION"]) |
fi |
fi |
|
|
# =============================================== |
# =============================================== |