|
|
@ -1,6 +1,6 @@ |
|
|
|
#! /bin/sh |
|
|
|
# Guess values for system-dependent variables and create Makefiles. |
|
|
|
# Generated by GNU Autoconf 2.69 for rsyslog 8.14.0. |
|
|
|
# Generated by GNU Autoconf 2.69 for rsyslog 8.15.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.14.0' |
|
|
|
PACKAGE_STRING='rsyslog 8.14.0' |
|
|
|
PACKAGE_VERSION='8.15.0' |
|
|
|
PACKAGE_STRING='rsyslog 8.15.0' |
|
|
|
PACKAGE_BUGREPORT='rsyslog@lists.adiscon.com' |
|
|
|
PACKAGE_URL='' |
|
|
|
|
|
|
@ -667,6 +667,8 @@ LIBMONGO_CLIENT_LIBS |
|
|
|
LIBMONGO_CLIENT_CFLAGS |
|
|
|
ENABLE_OMKAFKA_FALSE |
|
|
|
ENABLE_OMKAFKA_TRUE |
|
|
|
LIBRDKAFKA_LIBS |
|
|
|
LIBRDKAFKA_CFLAGS |
|
|
|
ENABLE_OMHDFS_FALSE |
|
|
|
ENABLE_OMHDFS_TRUE |
|
|
|
ENABLE_MMSNMPTRAPD_FALSE |
|
|
@ -675,6 +677,8 @@ ENABLE_OMUXSOCK_FALSE |
|
|
|
ENABLE_OMUXSOCK_TRUE |
|
|
|
ENABLE_OMRULESET_FALSE |
|
|
|
ENABLE_OMRULESET_TRUE |
|
|
|
ENABLE_PMPANNGFW_FALSE |
|
|
|
ENABLE_PMPANNGFW_TRUE |
|
|
|
ENABLE_PMSNARE_FALSE |
|
|
|
ENABLE_PMSNARE_TRUE |
|
|
|
ENABLE_PMAIXFORWARDEDFROM_FALSE |
|
|
@ -746,6 +750,10 @@ ENABLE_MMANON_FALSE |
|
|
|
ENABLE_MMANON_TRUE |
|
|
|
ENABLE_MMAUDIT_FALSE |
|
|
|
ENABLE_MMAUDIT_TRUE |
|
|
|
GLIB_LIBS |
|
|
|
GLIB_CFLAGS |
|
|
|
ENABLE_MMGROK_FALSE |
|
|
|
ENABLE_MMGROK_TRUE |
|
|
|
ENABLE_MMJSONPARSE_FALSE |
|
|
|
ENABLE_MMJSONPARSE_TRUE |
|
|
|
ENABLE_MMNORMALIZE_FALSE |
|
|
@ -1022,6 +1030,7 @@ enable_mail |
|
|
|
enable_imdiag |
|
|
|
enable_mmnormalize |
|
|
|
enable_mmjsonparse |
|
|
|
enable_mmgrok |
|
|
|
enable_mmaudit |
|
|
|
enable_mmanon |
|
|
|
enable_mmutf8fix |
|
|
@ -1050,6 +1059,7 @@ enable_pmcisconames |
|
|
|
enable_pmciscoios |
|
|
|
enable_pmaixforwardedfrom |
|
|
|
enable_pmsnare |
|
|
|
enable_pmpanngfw |
|
|
|
enable_omruleset |
|
|
|
enable_omuxsock |
|
|
|
enable_mmsnmptrapd |
|
|
@ -1108,6 +1118,8 @@ LIBLOGGING_STDLOG_CFLAGS |
|
|
|
LIBLOGGING_STDLOG_LIBS |
|
|
|
LIBLOGGING_CFLAGS |
|
|
|
LIBLOGGING_LIBS |
|
|
|
LIBRDKAFKA_CFLAGS |
|
|
|
LIBRDKAFKA_LIBS |
|
|
|
LIBMONGO_CLIENT_CFLAGS |
|
|
|
LIBMONGO_CLIENT_LIBS |
|
|
|
CZMQ_CFLAGS |
|
|
@ -1656,7 +1668,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.14.0 to adapt to many kinds of systems. |
|
|
|
\`configure' configures rsyslog 8.15.0 to adapt to many kinds of systems. |
|
|
|
|
|
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
|
|
|
|
@ -1726,7 +1738,7 @@ fi |
|
|
|
|
|
|
|
if test -n "$ac_init_help"; then |
|
|
|
case $ac_init_help in |
|
|
|
short | recursive ) echo "Configuration of rsyslog 8.14.0:";; |
|
|
|
short | recursive ) echo "Configuration of rsyslog 8.15.0:";; |
|
|
|
esac |
|
|
|
cat <<\_ACEOF |
|
|
|
|
|
|
@ -1790,6 +1802,7 @@ Optional Features: |
|
|
|
--enable-imdiag Enable imdiag [default=no] |
|
|
|
--enable-mmnormalize Enable building mmnormalize support [default=no] |
|
|
|
--enable-mmjsonparse Enable building mmjsonparse support [default=no] |
|
|
|
--enable-mmgrok Enable building mmgrok support [default=no] |
|
|
|
--enable-mmaudit Enable building mmaudit support [default=no] |
|
|
|
--enable-mmanon Enable building mmanon support [default=no] |
|
|
|
--enable-mmutf8fix Enable building mmutf8fix support [default=no] |
|
|
@ -1823,6 +1836,8 @@ Optional Features: |
|
|
|
--enable-pmaixforwardedfrom |
|
|
|
Compiles aixforwardedfrom parser module [default=no] |
|
|
|
--enable-pmsnare Compiles snare parser module [default=no] |
|
|
|
--enable-pmpanngfw Compiles Palo Alto Networks parser module |
|
|
|
[default=no] |
|
|
|
--enable-omruleset Compiles ruleset forwarding module [default=no] |
|
|
|
--enable-omuxsock Compiles omuxsock module [default=no] |
|
|
|
--enable-mmsnmptrapd Compiles mmsnmptrapd module [default=no] |
|
|
@ -1926,6 +1941,10 @@ Some influential environment variables: |
|
|
|
C compiler flags for LIBLOGGING, overriding pkg-config |
|
|
|
LIBLOGGING_LIBS |
|
|
|
linker flags for LIBLOGGING, overriding pkg-config |
|
|
|
LIBRDKAFKA_CFLAGS |
|
|
|
C compiler flags for LIBRDKAFKA, overriding pkg-config |
|
|
|
LIBRDKAFKA_LIBS |
|
|
|
linker flags for LIBRDKAFKA, overriding pkg-config |
|
|
|
LIBMONGO_CLIENT_CFLAGS |
|
|
|
C compiler flags for LIBMONGO_CLIENT, overriding pkg-config |
|
|
|
LIBMONGO_CLIENT_LIBS |
|
|
@ -2007,7 +2026,7 @@ fi |
|
|
|
test -n "$ac_init_help" && exit $ac_status |
|
|
|
if $ac_init_version; then |
|
|
|
cat <<\_ACEOF |
|
|
|
rsyslog configure 8.14.0 |
|
|
|
rsyslog configure 8.15.0 |
|
|
|
generated by GNU Autoconf 2.69 |
|
|
|
|
|
|
|
Copyright (C) 2012 Free Software Foundation, Inc. |
|
|
@ -2587,7 +2606,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.14.0, which was |
|
|
|
It was created by rsyslog $as_me 8.15.0, which was |
|
|
|
generated by GNU Autoconf 2.69. Invocation command line was |
|
|
|
|
|
|
|
$ $0 $@ |
|
|
@ -3450,7 +3469,7 @@ fi |
|
|
|
|
|
|
|
# Define the identity of the package. |
|
|
|
PACKAGE='rsyslog' |
|
|
|
VERSION='8.14.0' |
|
|
|
VERSION='8.15.0' |
|
|
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
|
@ -13609,6 +13628,66 @@ $as_echo "yes" >&6; } |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
pkg_failed=no |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON_C" >&5 |
|
|
|
$as_echo_n "checking for JSON_C... " >&6; } |
|
|
|
|
|
|
|
if test -n "$JSON_C_CFLAGS"; then |
|
|
|
pkg_cv_JSON_C_CFLAGS="$JSON_C_CFLAGS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfastjson\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "libfastjson") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_JSON_C_CFLAGS=`$PKG_CONFIG --cflags "libfastjson" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
|
fi |
|
|
|
else |
|
|
|
pkg_failed=untried |
|
|
|
fi |
|
|
|
if test -n "$JSON_C_LIBS"; then |
|
|
|
pkg_cv_JSON_C_LIBS="$JSON_C_LIBS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfastjson\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "libfastjson") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_JSON_C_LIBS=`$PKG_CONFIG --libs "libfastjson" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
|
fi |
|
|
|
else |
|
|
|
pkg_failed=untried |
|
|
|
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 |
|
|
|
JSON_C_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfastjson" 2>&1` |
|
|
|
else |
|
|
|
JSON_C_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfastjson" 2>&1` |
|
|
|
fi |
|
|
|
# Put the nasty error message in config.log where it belongs |
|
|
|
echo "$JSON_C_PKG_ERRORS" >&5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pkg_failed=no |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON_C" >&5 |
|
|
|
$as_echo_n "checking for JSON_C... " >&6; } |
|
|
@ -13864,6 +13943,274 @@ $as_echo "yes" >&6; } |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
elif test $pkg_failed = untried; then |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
|
$as_echo "no" >&6; } |
|
|
|
|
|
|
|
|
|
|
|
pkg_failed=no |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON_C" >&5 |
|
|
|
$as_echo_n "checking for JSON_C... " >&6; } |
|
|
|
|
|
|
|
if test -n "$JSON_C_CFLAGS"; then |
|
|
|
pkg_cv_JSON_C_CFLAGS="$JSON_C_CFLAGS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "json") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_JSON_C_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
|
fi |
|
|
|
else |
|
|
|
pkg_failed=untried |
|
|
|
fi |
|
|
|
if test -n "$JSON_C_LIBS"; then |
|
|
|
pkg_cv_JSON_C_LIBS="$JSON_C_LIBS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "json") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_JSON_C_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
|
fi |
|
|
|
else |
|
|
|
pkg_failed=untried |
|
|
|
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 |
|
|
|
JSON_C_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1` |
|
|
|
else |
|
|
|
JSON_C_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1` |
|
|
|
fi |
|
|
|
# Put the nasty error message in config.log where it belongs |
|
|
|
echo "$JSON_C_PKG_ERRORS" >&5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pkg_failed=no |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON_C" >&5 |
|
|
|
$as_echo_n "checking for JSON_C... " >&6; } |
|
|
|
|
|
|
|
if test -n "$JSON_C_CFLAGS"; then |
|
|
|
pkg_cv_JSON_C_CFLAGS="$JSON_C_CFLAGS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "json-c") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_JSON_C_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
|
fi |
|
|
|
else |
|
|
|
pkg_failed=untried |
|
|
|
fi |
|
|
|
if test -n "$JSON_C_LIBS"; then |
|
|
|
pkg_cv_JSON_C_LIBS="$JSON_C_LIBS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "json-c") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_JSON_C_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
|
fi |
|
|
|
else |
|
|
|
pkg_failed=untried |
|
|
|
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 |
|
|
|
JSON_C_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1` |
|
|
|
else |
|
|
|
JSON_C_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1` |
|
|
|
fi |
|
|
|
# Put the nasty error message in config.log where it belongs |
|
|
|
echo "$JSON_C_PKG_ERRORS" >&5 |
|
|
|
|
|
|
|
as_fn_error $? "Package requirements (json-c) were not met: |
|
|
|
|
|
|
|
$JSON_C_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 JSON_C_CFLAGS |
|
|
|
and JSON_C_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 JSON_C_CFLAGS |
|
|
|
and JSON_C_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 |
|
|
|
JSON_C_CFLAGS=$pkg_cv_JSON_C_CFLAGS |
|
|
|
JSON_C_LIBS=$pkg_cv_JSON_C_LIBS |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
|
$as_echo "yes" >&6; } |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
elif test $pkg_failed = untried; then |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
|
$as_echo "no" >&6; } |
|
|
|
|
|
|
|
|
|
|
|
pkg_failed=no |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON_C" >&5 |
|
|
|
$as_echo_n "checking for JSON_C... " >&6; } |
|
|
|
|
|
|
|
if test -n "$JSON_C_CFLAGS"; then |
|
|
|
pkg_cv_JSON_C_CFLAGS="$JSON_C_CFLAGS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "json-c") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_JSON_C_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
|
fi |
|
|
|
else |
|
|
|
pkg_failed=untried |
|
|
|
fi |
|
|
|
if test -n "$JSON_C_LIBS"; then |
|
|
|
pkg_cv_JSON_C_LIBS="$JSON_C_LIBS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "json-c") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_JSON_C_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
|
fi |
|
|
|
else |
|
|
|
pkg_failed=untried |
|
|
|
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 |
|
|
|
JSON_C_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1` |
|
|
|
else |
|
|
|
JSON_C_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1` |
|
|
|
fi |
|
|
|
# Put the nasty error message in config.log where it belongs |
|
|
|
echo "$JSON_C_PKG_ERRORS" >&5 |
|
|
|
|
|
|
|
as_fn_error $? "Package requirements (json-c) were not met: |
|
|
|
|
|
|
|
$JSON_C_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 JSON_C_CFLAGS |
|
|
|
and JSON_C_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 JSON_C_CFLAGS |
|
|
|
and JSON_C_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 |
|
|
|
JSON_C_CFLAGS=$pkg_cv_JSON_C_CFLAGS |
|
|
|
JSON_C_LIBS=$pkg_cv_JSON_C_LIBS |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
|
$as_echo "yes" >&6; } |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
else |
|
|
|
JSON_C_CFLAGS=$pkg_cv_JSON_C_CFLAGS |
|
|
|
JSON_C_LIBS=$pkg_cv_JSON_C_LIBS |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
|
$as_echo "yes" >&6; } |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
else |
|
|
|
JSON_C_CFLAGS=$pkg_cv_JSON_C_CFLAGS |
|
|
|
JSON_C_LIBS=$pkg_cv_JSON_C_LIBS |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
|
$as_echo "yes" >&6; } |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
save_CFLAGS="$CFLAGS" |
|
|
|
save_LIBS="$LIBS" |
|
|
|
|
|
|
@ -18789,6 +19136,34 @@ else |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# mmgrok |
|
|
|
# Check whether --enable-mmgrok was given. |
|
|
|
if test "${enable_mmgrok+set}" = set; then : |
|
|
|
enableval=$enable_mmgrok; case "${enableval}" in |
|
|
|
yes) enable_mmgrok="yes" ;; |
|
|
|
no) enable_mmgrok="no" ;; |
|
|
|
*) as_fn_error $? "bad value ${enableval} for --enable-mmgrok" "$LINENO" 5 ;; |
|
|
|
esac |
|
|
|
else |
|
|
|
enable_mmgrok=no |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
if test "x$enable_mmgrok" = "xyes"; then |
|
|
|
GLIB_CFLAGS="$(pkg-config --cflags glib-2.0)" |
|
|
|
GLIB_LIBS="$(pkg-config --libs glib-2.0)" |
|
|
|
fi |
|
|
|
if test x$enable_mmgrok = xyes; then |
|
|
|
ENABLE_MMGROK_TRUE= |
|
|
|
ENABLE_MMGROK_FALSE='#' |
|
|
|
else |
|
|
|
ENABLE_MMGROK_TRUE='#' |
|
|
|
ENABLE_MMGROK_FALSE= |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# mmaudit |
|
|
|
# Check whether --enable-mmaudit was given. |
|
|
|
if test "${enable_mmaudit+set}" = set; then : |
|
|
@ -19323,12 +19698,12 @@ if test -n "$GT_KSI_CFLAGS"; then |
|
|
|
pkg_cv_GT_KSI_CFLAGS="$GT_KSI_CFLAGS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libksi >= 3.2.2.0\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "libksi >= 3.2.2.0") 2>&5 |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libksi >= 3.4.0.2\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "libksi >= 3.4.0.2") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_GT_KSI_CFLAGS=`$PKG_CONFIG --cflags "libksi >= 3.2.2.0" 2>/dev/null` |
|
|
|
pkg_cv_GT_KSI_CFLAGS=`$PKG_CONFIG --cflags "libksi >= 3.4.0.2" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
@ -19340,12 +19715,12 @@ if test -n "$GT_KSI_LIBS"; then |
|
|
|
pkg_cv_GT_KSI_LIBS="$GT_KSI_LIBS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libksi >= 3.2.2.0\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "libksi >= 3.2.2.0") 2>&5 |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libksi >= 3.4.0.2\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "libksi >= 3.4.0.2") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_GT_KSI_LIBS=`$PKG_CONFIG --libs "libksi >= 3.2.2.0" 2>/dev/null` |
|
|
|
pkg_cv_GT_KSI_LIBS=`$PKG_CONFIG --libs "libksi >= 3.4.0.2" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
@ -19366,14 +19741,14 @@ else |
|
|
|
_pkg_short_errors_supported=no |
|
|
|
fi |
|
|
|
if test $_pkg_short_errors_supported = yes; then |
|
|
|
GT_KSI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libksi >= 3.2.2.0" 2>&1` |
|
|
|
GT_KSI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libksi >= 3.4.0.2" 2>&1` |
|
|
|
else |
|
|
|
GT_KSI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libksi >= 3.2.2.0" 2>&1` |
|
|
|
GT_KSI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libksi >= 3.4.0.2" 2>&1` |
|
|
|
fi |
|
|
|
# Put the nasty error message in config.log where it belongs |
|
|
|
echo "$GT_KSI_PKG_ERRORS" >&5 |
|
|
|
|
|
|
|
as_fn_error $? "Package requirements (libksi >= 3.2.2.0) were not met: |
|
|
|
as_fn_error $? "Package requirements (libksi >= 3.4.0.2) were not met: |
|
|
|
|
|
|
|
$GT_KSI_PKG_ERRORS |
|
|
|
|
|
|
@ -19414,12 +19789,12 @@ if test -n "$GT_KSI_CFLAGS"; then |
|
|
|
pkg_cv_GT_KSI_CFLAGS="$GT_KSI_CFLAGS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libksi < 3.3.0.0\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "libksi < 3.3.0.0") 2>&5 |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libksi < 3.5.0.0\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "libksi < 3.5.0.0") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_GT_KSI_CFLAGS=`$PKG_CONFIG --cflags "libksi < 3.3.0.0" 2>/dev/null` |
|
|
|
pkg_cv_GT_KSI_CFLAGS=`$PKG_CONFIG --cflags "libksi < 3.5.0.0" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
@ -19431,12 +19806,12 @@ if test -n "$GT_KSI_LIBS"; then |
|
|
|
pkg_cv_GT_KSI_LIBS="$GT_KSI_LIBS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libksi < 3.3.0.0\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "libksi < 3.3.0.0") 2>&5 |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libksi < 3.5.0.0\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "libksi < 3.5.0.0") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_GT_KSI_LIBS=`$PKG_CONFIG --libs "libksi < 3.3.0.0" 2>/dev/null` |
|
|
|
pkg_cv_GT_KSI_LIBS=`$PKG_CONFIG --libs "libksi < 3.5.0.0" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
@ -19457,14 +19832,14 @@ else |
|
|
|
_pkg_short_errors_supported=no |
|
|
|
fi |
|
|
|
if test $_pkg_short_errors_supported = yes; then |
|
|
|
GT_KSI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libksi < 3.3.0.0" 2>&1` |
|
|
|
GT_KSI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libksi < 3.5.0.0" 2>&1` |
|
|
|
else |
|
|
|
GT_KSI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libksi < 3.3.0.0" 2>&1` |
|
|
|
GT_KSI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libksi < 3.5.0.0" 2>&1` |
|
|
|
fi |
|
|
|
# Put the nasty error message in config.log where it belongs |
|
|
|
echo "$GT_KSI_PKG_ERRORS" >&5 |
|
|
|
|
|
|
|
as_fn_error $? "Package requirements (libksi < 3.3.0.0) were not met: |
|
|
|
as_fn_error $? "Package requirements (libksi < 3.5.0.0) were not met: |
|
|
|
|
|
|
|
$GT_KSI_PKG_ERRORS |
|
|
|
|
|
|
@ -20469,6 +20844,29 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# settings for pmpanngfw |
|
|
|
# Check whether --enable-pmpanngfw was given. |
|
|
|
if test "${enable_pmpanngfw+set}" = set; then : |
|
|
|
enableval=$enable_pmpanngfw; case "${enableval}" in |
|
|
|
yes) enable_pmpanngfw="yes" ;; |
|
|
|
no) enable_pmpanngfw="no" ;; |
|
|
|
*) as_fn_error $? "bad value ${enableval} for --enable-pmpanngfw" "$LINENO" 5 ;; |
|
|
|
esac |
|
|
|
else |
|
|
|
enable_pmpanngfw=no |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
if test x$enable_pmpanngfw = xyes; then |
|
|
|
ENABLE_PMPANNGFW_TRUE= |
|
|
|
ENABLE_PMPANNGFW_FALSE='#' |
|
|
|
else |
|
|
|
ENABLE_PMPANNGFW_TRUE='#' |
|
|
|
ENABLE_PMPANNGFW_FALSE= |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# settings for omruleset |
|
|
|
# Check whether --enable-omruleset was given. |
|
|
|
if test "${enable_omruleset+set}" = set; then : |
|
|
@ -20589,8 +20987,176 @@ else |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
if test "x$enable_omkafka"; then |
|
|
|
#PKG_CHECK_MODULES(LIBRDKAFKA, librdkafka) |
|
|
|
if test "x$enable_omkafka" = "xyes"; then |
|
|
|
|
|
|
|
pkg_failed=no |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBRDKAFKA" >&5 |
|
|
|
$as_echo_n "checking for LIBRDKAFKA... " >&6; } |
|
|
|
|
|
|
|
if test -n "$LIBRDKAFKA_CFLAGS"; then |
|
|
|
pkg_cv_LIBRDKAFKA_CFLAGS="$LIBRDKAFKA_CFLAGS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librdkafka\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "librdkafka") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_LIBRDKAFKA_CFLAGS=`$PKG_CONFIG --cflags "librdkafka" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
|
fi |
|
|
|
else |
|
|
|
pkg_failed=untried |
|
|
|
fi |
|
|
|
if test -n "$LIBRDKAFKA_LIBS"; then |
|
|
|
pkg_cv_LIBRDKAFKA_LIBS="$LIBRDKAFKA_LIBS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librdkafka\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "librdkafka") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_LIBRDKAFKA_LIBS=`$PKG_CONFIG --libs "librdkafka" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
|
fi |
|
|
|
else |
|
|
|
pkg_failed=untried |
|
|
|
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 |
|
|
|
LIBRDKAFKA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "librdkafka" 2>&1` |
|
|
|
else |
|
|
|
LIBRDKAFKA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "librdkafka" 2>&1` |
|
|
|
fi |
|
|
|
# Put the nasty error message in config.log where it belongs |
|
|
|
echo "$LIBRDKAFKA_PKG_ERRORS" >&5 |
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rd_kafka_produce in -lrdkafka" >&5 |
|
|
|
$as_echo_n "checking for rd_kafka_produce in -lrdkafka... " >&6; } |
|
|
|
if ${ac_cv_lib_rdkafka_rd_kafka_produce+:} false; then : |
|
|
|
$as_echo_n "(cached) " >&6 |
|
|
|
else |
|
|
|
ac_check_lib_save_LIBS=$LIBS |
|
|
|
LIBS="-lrdkafka $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 rd_kafka_produce (); |
|
|
|
int |
|
|
|
main () |
|
|
|
{ |
|
|
|
return rd_kafka_produce (); |
|
|
|
; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
_ACEOF |
|
|
|
if ac_fn_c_try_link "$LINENO"; then : |
|
|
|
ac_cv_lib_rdkafka_rd_kafka_produce=yes |
|
|
|
else |
|
|
|
ac_cv_lib_rdkafka_rd_kafka_produce=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_rdkafka_rd_kafka_produce" >&5 |
|
|
|
$as_echo "$ac_cv_lib_rdkafka_rd_kafka_produce" >&6; } |
|
|
|
if test "x$ac_cv_lib_rdkafka_rd_kafka_produce" = xyes; then : |
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librdkafka is missing but library present, using -lrdkafka" >&5 |
|
|
|
$as_echo "$as_me: WARNING: librdkafka is missing but library present, using -lrdkafka" >&2;} |
|
|
|
LIBRDKAFKA_LIBS=-lrdkafka |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
as_fn_error $? "could not find rdkafka library" "$LINENO" 5 |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
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}: checking for rd_kafka_produce in -lrdkafka" >&5 |
|
|
|
$as_echo_n "checking for rd_kafka_produce in -lrdkafka... " >&6; } |
|
|
|
if ${ac_cv_lib_rdkafka_rd_kafka_produce+:} false; then : |
|
|
|
$as_echo_n "(cached) " >&6 |
|
|
|
else |
|
|
|
ac_check_lib_save_LIBS=$LIBS |
|
|
|
LIBS="-lrdkafka $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 rd_kafka_produce (); |
|
|
|
int |
|
|
|
main () |
|
|
|
{ |
|
|
|
return rd_kafka_produce (); |
|
|
|
; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
_ACEOF |
|
|
|
if ac_fn_c_try_link "$LINENO"; then : |
|
|
|
ac_cv_lib_rdkafka_rd_kafka_produce=yes |
|
|
|
else |
|
|
|
ac_cv_lib_rdkafka_rd_kafka_produce=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_rdkafka_rd_kafka_produce" >&5 |
|
|
|
$as_echo "$ac_cv_lib_rdkafka_rd_kafka_produce" >&6; } |
|
|
|
if test "x$ac_cv_lib_rdkafka_rd_kafka_produce" = xyes; then : |
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librdkafka is missing but library present, using -lrdkafka" >&5 |
|
|
|
$as_echo "$as_me: WARNING: librdkafka is missing but library present, using -lrdkafka" >&2;} |
|
|
|
LIBRDKAFKA_LIBS=-lrdkafka |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
as_fn_error $? "could not find rdkafka library" "$LINENO" 5 |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
else |
|
|
|
LIBRDKAFKA_CFLAGS=$pkg_cv_LIBRDKAFKA_CFLAGS |
|
|
|
LIBRDKAFKA_LIBS=$pkg_cv_LIBRDKAFKA_LIBS |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
|
$as_echo "yes" >&6; } |
|
|
|
|
|
|
|
fi |
|
|
|
for ac_header in librdkafka/rdkafka.h |
|
|
|
do : |
|
|
|
ac_fn_c_check_header_mongrel "$LINENO" "librdkafka/rdkafka.h" "ac_cv_header_librdkafka_rdkafka_h" "$ac_includes_default" |
|
|
@ -21869,7 +22435,7 @@ if test "x$have_to_generate_man_pages" = "xyes" && test "x$RST2MAN" = "xfalse"; |
|
|
|
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 contrib/omhttpfs/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/pmpanngfw/Makefile contrib/pmaixforwardedfrom/Makefile contrib/omhiredis/Makefile contrib/omrabbitmq/Makefile contrib/imkmsg/Makefile contrib/mmgrok/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 |
|
|
@ -22136,6 +22702,10 @@ if test -z "${ENABLE_MMJSONPARSE_TRUE}" && test -z "${ENABLE_MMJSONPARSE_FALSE}" |
|
|
|
as_fn_error $? "conditional \"ENABLE_MMJSONPARSE\" was never defined. |
|
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
|
|
fi |
|
|
|
if test -z "${ENABLE_MMGROK_TRUE}" && test -z "${ENABLE_MMGROK_FALSE}"; then |
|
|
|
as_fn_error $? "conditional \"ENABLE_MMGROK\" was never defined. |
|
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
|
|
fi |
|
|
|
if test -z "${ENABLE_MMAUDIT_TRUE}" && test -z "${ENABLE_MMAUDIT_FALSE}"; then |
|
|
|
as_fn_error $? "conditional \"ENABLE_MMAUDIT\" was never defined. |
|
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
|
@ -22248,6 +22818,10 @@ if test -z "${ENABLE_PMSNARE_TRUE}" && test -z "${ENABLE_PMSNARE_FALSE}"; then |
|
|
|
as_fn_error $? "conditional \"ENABLE_PMSNARE\" was never defined. |
|
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
|
|
fi |
|
|
|
if test -z "${ENABLE_PMPANNGFW_TRUE}" && test -z "${ENABLE_PMPANNGFW_FALSE}"; then |
|
|
|
as_fn_error $? "conditional \"ENABLE_PMPANNGFW\" was never defined. |
|
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
|
|
fi |
|
|
|
if test -z "${ENABLE_OMRULESET_TRUE}" && test -z "${ENABLE_OMRULESET_FALSE}"; then |
|
|
|
as_fn_error $? "conditional \"ENABLE_OMRULESET\" was never defined. |
|
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
|
@ -22705,7 +23279,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.14.0, which was |
|
|
|
This file was extended by rsyslog $as_me 8.15.0, which was |
|
|
|
generated by GNU Autoconf 2.69. Invocation command line was |
|
|
|
|
|
|
|
CONFIG_FILES = $CONFIG_FILES |
|
|
@ -22771,7 +23345,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.14.0 |
|
|
|
rsyslog config.status 8.15.0 |
|
|
|
configured by $0, generated by GNU Autoconf 2.69, |
|
|
|
with options \\"\$ac_cs_config\\" |
|
|
|
|
|
|
@ -23229,10 +23803,12 @@ do |
|
|
|
"plugins/mmsnmptrapd/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmsnmptrapd/Makefile" ;; |
|
|
|
"plugins/pmlastmsg/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/pmlastmsg/Makefile" ;; |
|
|
|
"contrib/pmsnare/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pmsnare/Makefile" ;; |
|
|
|
"contrib/pmpanngfw/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pmpanngfw/Makefile" ;; |
|
|
|
"contrib/pmaixforwardedfrom/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pmaixforwardedfrom/Makefile" ;; |
|
|
|
"contrib/omhiredis/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/omhiredis/Makefile" ;; |
|
|
|
"contrib/omrabbitmq/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/omrabbitmq/Makefile" ;; |
|
|
|
"contrib/imkmsg/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/imkmsg/Makefile" ;; |
|
|
|
"contrib/mmgrok/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/mmgrok/Makefile" ;; |
|
|
|
"contrib/mmcount/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/mmcount/Makefile" ;; |
|
|
|
"contrib/omzmq3/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/omzmq3/Makefile" ;; |
|
|
|
"contrib/omczmq/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/omczmq/Makefile" ;; |
|
|
@ -24653,10 +25229,12 @@ echo " pmcisconames module will be compiled: $enable_pmcisconames" |
|
|
|
echo " pmciscoios module will be compiled: $enable_pmciscoios" |
|
|
|
echo " pmaixforwardedfrom module w.be compiled: $enable_pmaixforwardedfrom" |
|
|
|
echo " pmsnare module will be compiled: $enable_pmsnare" |
|
|
|
echo " pmpanngfw module will be compiled: $enable_pmpanngfw" |
|
|
|
echo |
|
|
|
echo "---{ message modification modules }---" |
|
|
|
echo " mmnormalize module will be compiled: $enable_mmnormalize" |
|
|
|
echo " mmjsonparse module will be compiled: $enable_mmjsonparse" |
|
|
|
echo " mmgrok module will be compiled: $enable_mmgrok" |
|
|
|
echo " mmjaduit module will be compiled: $enable_mmaudit" |
|
|
|
echo " mmsnmptrapd module will be compiled: $enable_mmsnmptrapd" |
|
|
|
echo " mmutf8fix enabled: $enable_mmutf8fix" |
|
|
|