3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
|
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
|
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
-
-
+
+
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
|
_ACEOF
fi
done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pool_free in -lpool" >&5
$as_echo_n "checking for pool_free in -lpool... " >&6; }
if test "${ac_cv_lib_pool_pool_free+set}" = set; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for config_init in -lconfig" >&5
$as_echo_n "checking for config_init in -lconfig... " >&6; }
if test "${ac_cv_lib_config_config_init+set}" = set; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpool $LIBS"
LIBS="-lconfig $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 pool_free ();
char config_init ();
int
main ()
{
return pool_free ();
return config_init ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_pool_pool_free=yes
ac_cv_lib_config_config_init=yes
else
ac_cv_lib_pool_pool_free=no
ac_cv_lib_config_config_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_pool_pool_free" >&5
$as_echo "$ac_cv_lib_pool_pool_free" >&6; }
if test "x$ac_cv_lib_pool_pool_free" = x""yes; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_config_config_init" >&5
$as_echo "$ac_cv_lib_config_config_init" >&6; }
if test "x$ac_cv_lib_config_config_init" = x""yes; then :
$as_echo "@%:@define HAVE_POOL /**/" >>confdefs.h
$as_echo "@%:@define HAVE_LIBCONFIG /**/" >>confdefs.h
LIBS="$LIBS -lpool"
LIBS="$LIBS -lconfig"
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "You must have dotconf (libpool), find it here: http://www.azzit.de/dotconf/
See \`config.log' for more details" "$LINENO" 5; }
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dotconf_create in -ldotconf" >&5
$as_echo_n "checking for dotconf_create in -ldotconf... " >&6; }
if test "${ac_cv_lib_dotconf_dotconf_create+set}" = set; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldotconf $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 dotconf_create ();
int
main ()
{
return dotconf_create ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_dotconf_dotconf_create=yes
else
ac_cv_lib_dotconf_dotconf_create=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_dotconf_dotconf_create" >&5
$as_echo "$ac_cv_lib_dotconf_dotconf_create" >&6; }
if test "x$ac_cv_lib_dotconf_dotconf_create" = x""yes; then :
$as_echo "@%:@define HAVE_DOTCONF /**/" >>confdefs.h
LIBS="$LIBS -ldotconf"
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "You must have dotconf, find it here: http://www.azzit.de/dotconf/
as_fn_error $? "You must have libconfig
See \`config.log' for more details" "$LINENO" 5; }
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nfq_set_verdict in -lnetfilter_queue" >&5
$as_echo_n "checking for nfq_set_verdict in -lnetfilter_queue... " >&6; }
|