@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for rsyslog 8.9 .0.
# Generated by GNU Autoconf 2.69 for rsyslog 8.10 .0.
#
# Report bugs to <rsyslog@lists.adiscon.com>.
#
@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='rsyslog'
PACKAGE_TARNAME='rsyslog'
PACKAGE_VERSION='8.9 .0'
PACKAGE_STRING='rsyslog 8.9 .0'
PACKAGE_VERSION='8.10 .0'
PACKAGE_STRING='rsyslog 8.10 .0'
PACKAGE_BUGREPORT='rsyslog@lists.adiscon.com'
PACKAGE_URL=''
@ -636,6 +636,9 @@ ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE
LTLIBOBJS
RST2MAN
YACC_FOUND
ENABLE_OMHTTPFS_FALSE
ENABLE_OMHTTPFS_TRUE
ENABLE_OMHIREDIS_FALSE
ENABLE_OMHIREDIS_TRUE
HIREDIS_LIBS
@ -987,6 +990,7 @@ enable_jemalloc
enable_unlimited_select
with_systemdsystemunitdir
enable_debug
enable_debug_symbols
enable_rtinst
enable_debugless
enable_valgrind
@ -1049,6 +1053,7 @@ enable_omzmq3
enable_omczmq
enable_omrabbitmq
enable_omhiredis
enable_omhttpfs
enable_generate_man_pages
'
ac_precious_vars='build_alias
@ -1639,7 +1644,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures rsyslog 8.9 .0 to adapt to many kinds of systems.
\`configure' configures rsyslog 8.10 .0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1709,7 +1714,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of rsyslog 8.9 .0:";;
short | recursive ) echo "Configuration of rsyslog 8.10 .0:";;
esac
cat <<\_ACEOF
@ -1740,6 +1745,7 @@ Optional Features:
--enable-unlimited-select
Enable unlimited select() syscall [default=no]
--enable-debug Enable debug mode [default=no]
--disable-debug-symbols Disable debugging symbols [default=no]
--enable-rtinst Enable runtime instrumentation mode [default=no]
--enable-debugless Enable runtime instrumentation mode [default=no]
--enable-valgrind Enable somes special code that rsyslog core
@ -1815,8 +1821,9 @@ Optional Features:
--enable-omczmq Compiles omczmq output module [default=no]
--enable-omrabbitmq Compiles omrabbitmq output module [default=no]
--enable-omhiredis Compiles omhiredis template module [default=no]
--enable-omhttpfs Compiles omhttpfs template module [default=no]
--enable-generate-man-pages
Generate man pages from source [default=yes ]
Generate man pages from source [default=no ]
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@ -1979,7 +1986,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
rsyslog configure 8.9 .0
rsyslog configure 8.10 .0
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@ -2559,7 +2566,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by rsyslog $as_me 8.9 .0, which was
It was created by rsyslog $as_me 8.10 .0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@ -3422,7 +3429,7 @@ fi
# Define the identity of the package.
PACKAGE='rsyslog'
VERSION='8.9 .0'
VERSION='8.10 .0'
cat >>confdefs.h <<_ACEOF
@ -13923,6 +13930,17 @@ _ACEOF
fi
done
for ac_func in json_object_to_json_string_ext
do :
ac_fn_c_check_func "$LINENO" "json_object_to_json_string_ext" "ac_cv_func_json_object_to_json_string_ext"
if test "x$ac_cv_func_json_object_to_json_string_ext" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_JSON_OBJECT_TO_JSON_STRING_EXT 1
_ACEOF
fi
done
ac_fn_c_check_type "$LINENO" "json_bool" "ac_cv_type_json_bool" "#include <json_object.h>
"
if test "x$ac_cv_type_json_bool" = xyes; then :
@ -17043,6 +17061,21 @@ $as_echo "#define NDEBUG 1" >>confdefs.h
fi
# debug-symbols
# Check whether --enable-debug_symbols was given.
if test "${enable_debug_symbols+set}" = set; then :
enableval=$enable_debug_symbols; case "${enableval}" in
yes) enable_debug_symbols="yes" ;;
no) enable_debug_symbols="no" ;;
*) as_fn_error $? "bad value ${enableval} for --disable-debug-symbols" "$LINENO" 5 ;;
esac
else
enable_debug_symbols="yes"
fi
# runtime instrumentation
# Check whether --enable-rtinst was given.
if test "${enable_rtinst+set}" = set; then :
@ -18209,6 +18242,73 @@ fi
$as_echo "#define ENABLE_GNUTLS 1" >>confdefs.h
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_global_init in -lgnutls" >&5
$as_echo_n "checking for gnutls_global_init in -lgnutls... " >&6; }
if ${ac_cv_lib_gnutls_gnutls_global_init+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lgnutls $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char gnutls_global_init ();
int
main ()
{
return gnutls_global_init ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_gnutls_gnutls_global_init=yes
else
ac_cv_lib_gnutls_gnutls_global_init=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_global_init" >&5
$as_echo "$ac_cv_lib_gnutls_gnutls_global_init" >&6; }
if test "x$ac_cv_lib_gnutls_gnutls_global_init" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBGNUTLS 1
_ACEOF
LIBS="-lgnutls $LIBS"
fi
for ac_func in gnutls_certificate_set_retrieve_function
do :
ac_fn_c_check_func "$LINENO" "gnutls_certificate_set_retrieve_function" "ac_cv_func_gnutls_certificate_set_retrieve_function"
if test "x$ac_cv_func_gnutls_certificate_set_retrieve_function" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_GNUTLS_CERTIFICATE_SET_RETRIEVE_FUNCTION 1
_ACEOF
fi
done
for ac_func in gnutls_certificate_type_set_priority
do :
ac_fn_c_check_func "$LINENO" "gnutls_certificate_type_set_priority" "ac_cv_func_gnutls_certificate_type_set_priority"
if test "x$ac_cv_func_gnutls_certificate_type_set_priority" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_GNUTLS_CERTIFICATE_TYPE_SET_PRIORITY 1
_ACEOF
fi
done
fi
if test x$enable_gnutls = xyes; then
ENABLE_GNUTLS_TRUE=
@ -18370,8 +18470,17 @@ else
fi
RSRT_CFLAGS="\$(RSRT_CFLAGS1) \$(LIBESTR_CFLAGS) \$(JSON_C_CFLAGS)"
if test "$GCC" = "yes"
then RSRT_CFLAGS="$RSRT_CFLAGS -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -Werror=implicit-function-declaration -g"
if test "$GCC" = "yes"; then
RSRT_CFLAGS="$RSRT_CFLAGS -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute"
if $CC -Werror=implicit-function-declaration -x c -c /dev/null 2>/dev/null; then
RSRT_CFLAGS="$RSRT_CFLAGS -Werror=implicit-function-declaration"
elif $CC -Werror-implicit-function-declaration -x c -c /dev/null 2>/dev/null; then
RSRT_CFLAGS="$RSRT_CFLAGS -Werror-implicit-function-declaration"
fi
if test "x$enable_debug_symbols" = "xyes"; then
RSRT_CFLAGS="$RSRT_CFLAGS -g"
fi
fi
RSRT_LIBS="\$(RSRT_LIBS1) \$(LIBESTR_LIBS) \$(JSON_C_LIBS)"
@ -21144,128 +21253,274 @@ fi
# END HIREDIS SUPPORT
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if required man pages already exist..." >&5
$as_echo "$as_me: checking if required man pages already exist..." >&6;}
have_to_generate_man_pages="no"
# HTTPFS SUPPORT
# man pages for libgcrypt module
if test "x$enable_usertools" = "xyes" && test "x$enable_libgcrypt" = "xyes"; then
as_ac_File=`$as_echo "ac_cv_file_"tools/rscryutil.1"" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"tools/rscryutil.1\"" >&5
$as_echo_n "checking for \"tools/rscryutil.1\"... " >&6; }
if eval \${$as_ac_File+:} false; then :
$as_echo_n "(cached) " >&6
else
test "$cross_compiling" = yes &&
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
if test -r ""tools/rscryutil.1""; then
eval "$as_ac_File=yes"
# Check whether --enable-omhttpfs was given.
if test "${enable_omhttpfs+set}" = set; then :
enableval=$enable_omhttpfs; case "${enableval}" in
yes) enable_omhttpfs="yes" ;;
no) enable_omhttpfs="no" ;;
*) as_fn_error $? "bad value ${enableval} for --enable-omhttpfs" "$LINENO" 5 ;;
esac
else
eval "$as_ac_File=no"
fi
enable_omhttpfs=no
fi
eval ac_res=\$$as_ac_File
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_"tools/rscryutil.1"" | $as_tr_cpp` 1
_ACEOF
else
have_to_generate_man_pages="yes"
if test "x$enable_omhttpfs" = "xyes"; then
for ac_header in curl/curl.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
if test "x$ac_cv_header_curl_curl_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_CURL_CURL_H 1
_ACEOF
fi
as_ac_File=`$as_echo "ac_cv_file_"tools/rsgtutil.1"" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"tools/rsgtutil.1\"" >&5
$as_echo_n "checking for \"tools/rsgtutil.1\"... " >&6; }
if eval \${$as_ac_File+:} false; then :
$as_echo_n "(cached) " >&6
done
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
$as_echo_n "checking for CURL... " >&6; }
if test -n "$CURL_CFLAGS"; then
pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
test "$cross_compiling" = yes &&
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
if test -r ""tools/rsgtutil.1""; then
eval "$as_ac_File=yes"
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$CURL_LIBS"; then
pkg_cv_CURL_LIBS="$CURL_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
eval "$as_ac_File=no"
pkg_failed=yes
fi
else
pkg_failed=untried
fi
eval ac_res=\$$as_ac_File
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_"tools/rsgtutil.1"" | $as_tr_cpp` 1
_ACEOF
else
have_to_generate_man_pages="yes"
fi
if test $pkg_failed = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
else
CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$CURL_PKG_ERRORS" >&5
as_fn_error $? "Package requirements (libcurl) were not met:
# man pages for GuardTime module
if test "x$enable_usertools" = "xyes" && test "x$enable_guardtime" = "xyes"; then
as_ac_File=`$as_echo "ac_cv_file_"tools/rscryutil.1"" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"tools/rscryutil.1\"" >&5
$as_echo_n "checking for \"tools/rscryutil.1\"... " >&6; }
if eval \${$as_ac_File+:} false; then :
$CURL_PKG_ERRORS
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables CURL_CFLAGS
and CURL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details." "$LINENO" 5
elif test $pkg_failed = untried; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables CURL_CFLAGS
and CURL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See \`config.log' for more details" "$LINENO" 5; }
else
CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
CURL_LIBS=$pkg_cv_CURL_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
fi
LIBM=
case $host in
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
# These system don't have libm, or don't need it
;;
*-ncr-sysv4.3*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
$as_echo_n "(cached) " >&6
else
test "$cross_compiling" = yes &&
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
if test -r ""tools/rscryutil.1""; then
eval "$as_ac_File=yes"
ac_check_lib_save_LIBS=$LIBS
LIBS="-lmw $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char _mwvalidcheckl ();
int
main ()
{
return _mwvalidcheckl ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_mw__mwvalidcheckl=yes
else
eval "$as_ac_File=no"
ac_cv_lib_mw__mwvalidcheckl=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
LIBM="-lmw"
fi
eval ac_res=\$$as_ac_File
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_"tools/rscryutil.1"" | $as_tr_cpp` 1
_ACEOF
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
$as_echo_n "checking for cos in -lm... " >&6; }
if ${ac_cv_lib_m_cos+:} false; then :
$as_echo_n "(cached) " >&6
else
have_to_generate_man_pages="yes"
ac_check_lib_save_LIBS=$LIBS
LIBS="-lm $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char cos ();
int
main ()
{
return cos ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_m_cos=yes
else
ac_cv_lib_m_cos=no
fi
as_ac_File=`$as_echo "ac_cv_file_"tools/rsgtutil.1"" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"tools/rsgtutil.1\"" >&5
$as_echo_n "checking for \"tools/rsgtutil.1\"... " >&6; }
if eval \${$as_ac_File+:} false; then :
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
$as_echo "$ac_cv_lib_m_cos" >&6; }
if test "x$ac_cv_lib_m_cos" = xyes; then :
LIBM="$LIBM -lm"
fi
;;
*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
$as_echo_n "checking for cos in -lm... " >&6; }
if ${ac_cv_lib_m_cos+:} false; then :
$as_echo_n "(cached) " >&6
else
test "$cross_compiling" = yes &&
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
if test -r ""tools/rsgtutil.1""; then
eval "$as_ac_File=yes"
ac_check_lib_save_LIBS=$LIBS
LIBS="-lm $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char cos ();
int
main ()
{
return cos ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_m_cos=yes
else
eval "$as_ac_File=no"
ac_cv_lib_m_cos=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
$as_echo "$ac_cv_lib_m_cos" >&6; }
if test "x$ac_cv_lib_m_cos" = xyes; then :
LIBM="-lm"
fi
eval ac_res=\$$as_ac_File
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_"tools/rsgtutil.1"" | $as_tr_cpp` 1
_ACEOF
;;
esac
else
have_to_generate_man_pages="yes"
#PKG_CHECK_MODULES(HTTPFS, curl >= 7.0.0)
fi
if test x$enable_omhttpfs = xyes; then
ENABLE_OMHTTPFS_TRUE=
ENABLE_OMHTTPFS_FALSE='#'
else
ENABLE_OMHTTPFS_TRUE='#'
ENABLE_OMHTTPFS_FALSE=
fi
# END HTTPFS SUPPORT
# man pages
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if required man pages already exist..." >&5
$as_echo "$as_me: checking if required man pages already exist..." >&6;}
have_to_generate_man_pages="no"
# Check whether --enable-generate-man-pages was given.
if test "${enable_generate_man_pages+set}" = set; then :
enableval=$enable_generate_man_pages; case "${enableval}" in
@ -21274,22 +21529,80 @@ if test "${enable_generate_man_pages+set}" = set; then :
*) as_fn_error $? "bad value ${enableval} for --enable-generate-man-pages" "$LINENO" 5 ;;
esac
else
have_to_generate_man_pages=yes
have_to_generate_man_pages=no
fi
# Running from git source?
in_git_src=no
if test -d "$srcdir"/.git && ! test -f "$srcdir"/.tarball-version; then :
in_git_src=yes
fi
if test "x$in_git_src" = "xyes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: Running from git source" >&5
$as_echo "$as_me: Running from git source" >&6;}
have_to_generate_man_pages=yes
if test "x$LEX" != "xflex"; then
as_fn_error $? "flex program is needed to build rsyslog, please install flex." "$LINENO" 5
fi
if test "x$YACC" = "xyacc"; then
# AC_PROG_YACC only checks for yacc replacements, not for yacc itself
# Extract the first word of "yacc", so it can be a program name with args.
set dummy yacc; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_YACC_FOUND+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$YACC_FOUND"; then
ac_cv_prog_YACC_FOUND="$YACC_FOUND" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_YACC_FOUND="yes"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
test -z "$ac_cv_prog_YACC_FOUND" && ac_cv_prog_YACC_FOUND="no"
fi
fi
YACC_FOUND=$ac_cv_prog_YACC_FOUND
if test -n "$YACC_FOUND"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC_FOUND" >&5
$as_echo "$YACC_FOUND" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$have_to_generate_man_pages" = "xyes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Some man pages are missing or --enable-generate-man-pages given. We need rst2man to generate man pages from source..." >&5
$as_echo "Some man pages are missing or --enable-generate-man-pages given. We need rst2man to generate man pages from source..." >&6; }
if test "x$YACC_FOUND" = "xno"; then
as_fn_error $? "A yacc program is needed to build rsyslog, please install bison." "$LINENO" 5
fi
fi
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: All required man pages found. We don't need rst2man!" >&5
$as_echo "All required man pages found. We don't need rst2man!" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: Not running from git source " >&5
$as_echo "$as_me: Not running from git source" >&6; }
fi
if test "x$have_to_generate_man_pages" = "xyes"; then
# We need rst2man to generate our man pages
for ac_prog in rst2man rst2man.py
# rst2man
for ac_prog in rst2man rst2man.py
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@ -21330,13 +21643,14 @@ fi
test -n "$RST2MAN" && break
done
test -n "$RST2MAN" || RST2MAN="false"
if test -z "$RST2MAN"; then
as_fn_error $? "rst2man is required to build man pages. You can use the release tarball with pregenerated man pages to avoid this depedency. Use the --disable-generate-man-pages configure option in that case." "$LINENO" 5
fi
if test "x$have_to_generate_man_pages" = "xyes" && test "x$RST2MAN" = "xfalse"; then
as_fn_error $? "rst2man is required when building from git source or --enable-generate-man-pages option was set, please install python-docutils." "$LINENO" 5
fi
ac_config_files="$ac_config_files Makefile runtime/Makefile compat/Makefile grammar/Makefile tools/Makefile plugins/imudp/Makefile plugins/imtcp/Makefile plugins/im3195/Makefile plugins/imgssapi/Makefile plugins/imuxsock/Makefile plugins/imjournal/Makefile plugins/immark/Makefile plugins/imklog/Makefile plugins/omhdfs/Makefile plugins/omkafka/Makefile plugins/omprog/Makefile plugins/mmexternal/Makefile plugins/omstdout/Makefile plugins/omjournal/Makefile plugins/pmciscoios/Makefile plugins/omruleset/Makefile plugins/omuxsock/Makefile plugins/imfile/Makefile plugins/imsolaris/Makefile plugins/imptcp/Makefile plugins/impstats/Makefile plugins/imrelp/Makefile plugins/imdiag/Makefile plugins/omtesting/Makefile plugins/omgssapi/Makefile plugins/ommysql/Makefile plugins/ompgsql/Makefile plugins/omrelp/Makefile plugins/omlibdbi/Makefile plugins/ommail/Makefile plugins/omsnmp/Makefile plugins/omudpspoof/Makefile plugins/ommongodb/Makefile plugins/mmnormalize/Makefile plugins/mmjsonparse/Makefile plugins/mmaudit/Makefile plugins/mmanon/Makefile plugins/mmutf8fix/Makefile plugins/mmfields/Makefile plugins/mmpstrucdata/Makefile plugins/omelasticsearch/Makefile plugins/mmsnmptrapd/Makefile plugins/pmlastmsg/Makefile contrib/pmsnare/Makefile contrib/pmaixforwardedfrom/Makefile contrib/omhiredis/Makefile contrib/omrabbitmq/Makefile contrib/imkmsg/Makefile contrib/mmcount/Makefile contrib/omzmq3/Makefile contrib/omczmq/Makefile contrib/imzmq3/Makefile contrib/imczmq/Makefile contrib/mmsequence/Makefile contrib/mmrfc5424addhmac/Makefile contrib/pmcisconames/Makefile tests/Makefile"
ac_config_files="$ac_config_files Makefile runtime/Makefile compat/Makefile grammar/Makefile tools/Makefile plugins/imudp/Makefile plugins/imtcp/Makefile plugins/im3195/Makefile plugins/imgssapi/Makefile plugins/imuxsock/Makefile plugins/imjournal/Makefile plugins/immark/Makefile plugins/imklog/Makefile plugins/omhdfs/Makefile plugins/omkafka/Makefile plugins/omprog/Makefile plugins/mmexternal/Makefile plugins/omstdout/Makefile plugins/omjournal/Makefile plugins/pmciscoios/Makefile plugins/omruleset/Makefile plugins/omuxsock/Makefile plugins/imfile/Makefile plugins/imsolaris/Makefile plugins/imptcp/Makefile plugins/impstats/Makefile plugins/imrelp/Makefile plugins/imdiag/Makefile plugins/omtesting/Makefile plugins/omgssapi/Makefile plugins/ommysql/Makefile plugins/ompgsql/Makefile plugins/omrelp/Makefile plugins/omlibdbi/Makefile plugins/ommail/Makefile plugins/omsnmp/Makefile plugins/omudpspoof/Makefile plugins/ommongodb/Makefile plugins/mmnormalize/Makefile plugins/mmjsonparse/Makefile plugins/mmaudit/Makefile plugins/mmanon/Makefile plugins/mmutf8fix/Makefile plugins/mmfields/Makefile plugins/mmpstrucdata/Makefile plugins/omelasticsearch/Makefile plugins/mmsnmptrapd/Makefile plugins/pmlastmsg/Makefile contrib/pmsnare/Makefile contrib/pmaixforwardedfrom/Makefile contrib/omhiredis/Makefile contrib/omrabbitmq/Makefile contrib/imkmsg/Makefile contrib/mmcount/Makefile contrib/omzmq3/Makefile contrib/omczmq/Makefile contrib/imzmq3/Makefile contrib/imczmq/Makefile contrib/mmsequence/Makefile contrib/mmrfc5424addhmac/Makefile contrib/pmcisconames/Makefile contrib/omhttpfs/Makefile tests/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@ -21759,6 +22073,10 @@ if test -z "${ENABLE_OMHIREDIS_TRUE}" && test -z "${ENABLE_OMHIREDIS_FALSE}"; th
as_fn_error $? "conditional \"ENABLE_OMHIREDIS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${ENABLE_OMHTTPFS_TRUE}" && test -z "${ENABLE_OMHTTPFS_FALSE}"; then
as_fn_error $? "conditional \"ENABLE_OMHTTPFS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0
@ -22156,7 +22474,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by rsyslog $as_me 8.9 .0, which was
This file was extended by rsyslog $as_me 8.10 .0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@ -22222,7 +22540,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
rsyslog config.status 8.9 .0
rsyslog config.status 8.10 .0
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
@ -22692,6 +23010,7 @@ do
"contrib/mmsequence/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/mmsequence/Makefile" ;;
"contrib/mmrfc5424addhmac/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/mmrfc5424addhmac/Makefile" ;;
"contrib/pmcisconames/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pmcisconames/Makefile" ;;
"contrib/omhttpfs/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/omhttpfs/Makefile" ;;
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
@ -24094,6 +24413,7 @@ echo " omuxsock module will be compiled: $enable_omuxsock"
echo " omzmq3 module will be compiled: $enable_omzmq3"
echo " omczmq module will be compiled: $enable_omczmq"
echo " omrabbitmq module will be compiled: $enable_omrabbitmq"
echo " omhttpfs module will be compiled: $enable_omhttpfs"
echo
echo "---{ parser modules }---"
echo " pmlastmsg module will be compiled: $enable_pmlastmsg"