25590
25609
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25611
# check for availability of atomic operations
25612
{ $as_echo "$as_me:$LINENO: checking whether the compiler provides atomic builtins" >&5
25613
$as_echo_n "checking whether the compiler provides atomic builtins... " >&6; }
25614
if test "${ap_cv_atomic_builtins+set}" = set; then
25615
$as_echo_n "(cached) " >&6
25617
if test "$cross_compiling" = yes; then
25618
ap_cv_atomic_builtins=no
25620
cat >conftest.$ac_ext <<_ACEOF
25623
cat confdefs.h >>conftest.$ac_ext
25624
cat >>conftest.$ac_ext <<_ACEOF
25625
/* end confdefs.h. */
25629
unsigned long val = 1010, tmp, *mem = &val;
25631
if (__sync_fetch_and_add(&val, 1010) != 1010 || val != 2020)
25636
if (__sync_fetch_and_sub(mem, 1010) != tmp || val != 1010)
25639
if (__sync_sub_and_fetch(&val, 1010) != 0 || val != 0)
25644
if (__sync_val_compare_and_swap(mem, 0, tmp) != 0 || val != tmp)
25647
if (__sync_lock_test_and_set(&val, 4040) != 3030)
25652
if (__sync_val_compare_and_swap(&mem, &tmp, &val) != &tmp)
25655
__sync_synchronize();
25663
rm -f conftest$ac_exeext
25664
if { (ac_try="$ac_link"
25665
case "(($ac_try" in
25666
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25667
*) ac_try_echo=$ac_try;;
25669
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25670
$as_echo "$ac_try_echo") >&5
25671
(eval "$ac_link") 2>&5
25673
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25675
{ (case "(($ac_try" in
25676
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25677
*) ac_try_echo=$ac_try;;
25679
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25680
$as_echo "$ac_try_echo") >&5
25681
(eval "$ac_try") 2>&5
25683
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25684
(exit $ac_status); }; }; then
25685
ap_cv_atomic_builtins=yes
25687
$as_echo "$as_me: program exited with status $ac_status" >&5
25688
$as_echo "$as_me: failed program was:" >&5
25689
sed 's/^/| /' conftest.$ac_ext >&5
25691
( exit $ac_status )
25692
ap_cv_atomic_builtins=no
25694
rm -rf conftest.dSYM
25695
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25700
{ $as_echo "$as_me:$LINENO: result: $ap_cv_atomic_builtins" >&5
25701
$as_echo "$ap_cv_atomic_builtins" >&6; }
25703
if test "$ap_cv_atomic_builtins" = "yes"; then
25705
cat >>confdefs.h <<\_ACEOF
25706
#define HAVE_ATOMIC_BUILTINS 1
25714
# Additional module directories
25716
# Check whether --with-moddirs was given.
25717
if test "${with_moddirs+set}" = set; then
25718
withval=$with_moddirs; _save_IFS=$IFS ; IFS=$PATH_SEPARATOR ; moddirs=""
25719
for w in ${with_moddirs} ;
25722
"") continue ;; */) ;; *) w="${w}/" ;;
25724
for m in ${moddirs} ;
25726
test "x$w" = "x${libdir}/${PACKAGE}/" || \
25727
test "x$w" = "x$m" || test "x$w" = "x/" && \
25731
"") moddirs="$w" ;; *) moddirs="${moddirs}:${w}" ;;
25733
done ; IFS=$_save_IFS
25739
if test x$moddirs != x; then
25741
WITH_MODDIRS_FALSE='#'
25743
WITH_MODDIRS_TRUE='#'
25744
WITH_MODDIRS_FALSE=
25592
25749
# Large file support
25593
25750
# Check whether --enable-largefile was given.
25594
25751
if test "${enable_largefile+set}" = set; then
26632
26814
if test "x$enable_mysql" = "xyes"; then
26634
for ac_header in mysql/mysql.h
26636
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26637
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26638
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
26639
$as_echo_n "checking for $ac_header... " >&6; }
26640
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26641
$as_echo_n "(cached) " >&6
26643
ac_res=`eval 'as_val=${'$as_ac_Header'}
26644
$as_echo "$as_val"'`
26645
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26646
$as_echo "$ac_res" >&6; }
26648
# Is the header compilable?
26649
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
26650
$as_echo_n "checking $ac_header usability... " >&6; }
26651
cat >conftest.$ac_ext <<_ACEOF
26654
cat confdefs.h >>conftest.$ac_ext
26655
cat >>conftest.$ac_ext <<_ACEOF
26656
/* end confdefs.h. */
26657
$ac_includes_default
26658
#include <$ac_header>
26660
rm -f conftest.$ac_objext
26661
if { (ac_try="$ac_compile"
26662
case "(($ac_try" in
26663
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26664
*) ac_try_echo=$ac_try;;
26666
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26667
$as_echo "$ac_try_echo") >&5
26668
(eval "$ac_compile") 2>conftest.er1
26670
grep -v '^ *+' conftest.er1 >conftest.err
26672
cat conftest.err >&5
26673
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674
(exit $ac_status); } && {
26675
test -z "$ac_c_werror_flag" ||
26676
test ! -s conftest.err
26677
} && test -s conftest.$ac_objext; then
26678
ac_header_compiler=yes
26680
$as_echo "$as_me: failed program was:" >&5
26681
sed 's/^/| /' conftest.$ac_ext >&5
26683
ac_header_compiler=no
26686
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26687
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26688
$as_echo "$ac_header_compiler" >&6; }
26690
# Is the header present?
26691
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
26692
$as_echo_n "checking $ac_header presence... " >&6; }
26693
cat >conftest.$ac_ext <<_ACEOF
26696
cat confdefs.h >>conftest.$ac_ext
26697
cat >>conftest.$ac_ext <<_ACEOF
26698
/* end confdefs.h. */
26699
#include <$ac_header>
26701
if { (ac_try="$ac_cpp conftest.$ac_ext"
26702
case "(($ac_try" in
26703
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26704
*) ac_try_echo=$ac_try;;
26706
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26707
$as_echo "$ac_try_echo") >&5
26708
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26710
grep -v '^ *+' conftest.er1 >conftest.err
26712
cat conftest.err >&5
26713
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26714
(exit $ac_status); } >/dev/null && {
26715
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26716
test ! -s conftest.err
26718
ac_header_preproc=yes
26720
$as_echo "$as_me: failed program was:" >&5
26721
sed 's/^/| /' conftest.$ac_ext >&5
26723
ac_header_preproc=no
26726
rm -f conftest.err conftest.$ac_ext
26727
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26728
$as_echo "$ac_header_preproc" >&6; }
26730
# So? What about this header?
26731
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26733
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26734
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26735
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26736
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26737
ac_header_preproc=yes
26740
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26741
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26742
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26743
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26744
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26745
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26746
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26747
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26748
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26749
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26750
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26751
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26753
## ---------------------------------------- ##
26754
## Report this to rsyslog@lists.adiscon.com ##
26755
## ---------------------------------------- ##
26757
) | sed "s/^/$as_me: WARNING: /" >&2
26760
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
26761
$as_echo_n "checking for $ac_header... " >&6; }
26762
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26763
$as_echo_n "(cached) " >&6
26765
eval "$as_ac_Header=\$ac_header_preproc"
26767
ac_res=`eval 'as_val=${'$as_ac_Header'}
26768
$as_echo "$as_val"'`
26769
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26770
$as_echo "$ac_res" >&6; }
26773
as_val=`eval 'as_val=${'$as_ac_Header'}
26774
$as_echo "$as_val"'`
26775
if test "x$as_val" = x""yes; then
26776
cat >>confdefs.h <<_ACEOF
26777
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26781
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
26782
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26783
{ { $as_echo "$as_me:$LINENO: error: MySQL is missing
26784
See \`config.log' for more details." >&5
26785
$as_echo "$as_me: error: MySQL is missing
26786
See \`config.log' for more details." >&2;}
26787
{ (exit 1); exit 1; }; }; }
26793
26815
# Extract the first word of "mysql_config", so it can be a program name with args.
26794
26816
set dummy mysql_config; ac_word=$2
26795
26817
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27714
27736
if test "x$enable_gnutls" = "xyes"; then
27716
for ac_header in gnutls/gnutls.h
27718
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27719
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27720
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27721
$as_echo_n "checking for $ac_header... " >&6; }
27722
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27723
$as_echo_n "(cached) " >&6
27725
ac_res=`eval 'as_val=${'$as_ac_Header'}
27726
$as_echo "$as_val"'`
27727
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
27728
$as_echo "$ac_res" >&6; }
27730
# Is the header compilable?
27731
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
27732
$as_echo_n "checking $ac_header usability... " >&6; }
27733
cat >conftest.$ac_ext <<_ACEOF
27736
cat confdefs.h >>conftest.$ac_ext
27737
cat >>conftest.$ac_ext <<_ACEOF
27738
/* end confdefs.h. */
27739
$ac_includes_default
27740
#include <$ac_header>
27742
rm -f conftest.$ac_objext
27743
if { (ac_try="$ac_compile"
27744
case "(($ac_try" in
27745
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27746
*) ac_try_echo=$ac_try;;
27748
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27749
$as_echo "$ac_try_echo") >&5
27750
(eval "$ac_compile") 2>conftest.er1
27752
grep -v '^ *+' conftest.er1 >conftest.err
27754
cat conftest.err >&5
27755
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27756
(exit $ac_status); } && {
27757
test -z "$ac_c_werror_flag" ||
27758
test ! -s conftest.err
27759
} && test -s conftest.$ac_objext; then
27760
ac_header_compiler=yes
27762
$as_echo "$as_me: failed program was:" >&5
27763
sed 's/^/| /' conftest.$ac_ext >&5
27765
ac_header_compiler=no
27768
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27769
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27770
$as_echo "$ac_header_compiler" >&6; }
27772
# Is the header present?
27773
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
27774
$as_echo_n "checking $ac_header presence... " >&6; }
27775
cat >conftest.$ac_ext <<_ACEOF
27778
cat confdefs.h >>conftest.$ac_ext
27779
cat >>conftest.$ac_ext <<_ACEOF
27780
/* end confdefs.h. */
27781
#include <$ac_header>
27783
if { (ac_try="$ac_cpp conftest.$ac_ext"
27784
case "(($ac_try" in
27785
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27786
*) ac_try_echo=$ac_try;;
27788
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27789
$as_echo "$ac_try_echo") >&5
27790
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27792
grep -v '^ *+' conftest.er1 >conftest.err
27794
cat conftest.err >&5
27795
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27796
(exit $ac_status); } >/dev/null && {
27797
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27798
test ! -s conftest.err
27800
ac_header_preproc=yes
27802
$as_echo "$as_me: failed program was:" >&5
27803
sed 's/^/| /' conftest.$ac_ext >&5
27805
ac_header_preproc=no
27808
rm -f conftest.err conftest.$ac_ext
27809
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27810
$as_echo "$ac_header_preproc" >&6; }
27812
# So? What about this header?
27813
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27815
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27816
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27817
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27818
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27819
ac_header_preproc=yes
27822
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27823
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27824
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27825
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27826
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27827
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27828
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27829
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27830
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27831
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27832
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27833
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27835
## ---------------------------------------- ##
27836
## Report this to rsyslog@lists.adiscon.com ##
27837
## ---------------------------------------- ##
27839
) | sed "s/^/$as_me: WARNING: /" >&2
27842
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27843
$as_echo_n "checking for $ac_header... " >&6; }
27844
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27845
$as_echo_n "(cached) " >&6
27847
eval "$as_ac_Header=\$ac_header_preproc"
27849
ac_res=`eval 'as_val=${'$as_ac_Header'}
27850
$as_echo "$as_val"'`
27851
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
27852
$as_echo "$ac_res" >&6; }
27855
as_val=`eval 'as_val=${'$as_ac_Header'}
27856
$as_echo "$as_val"'`
27857
if test "x$as_val" = x""yes; then
27858
cat >>confdefs.h <<_ACEOF
27859
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27863
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27864
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27865
{ { $as_echo "$as_me:$LINENO: error: GNUTls is missing
27866
See \`config.log' for more details." >&5
27867
$as_echo "$as_me: error: GNUTls is missing
27868
See \`config.log' for more details." >&2;}
27869
{ (exit 1); exit 1; }; }; }
27875
# Extract the first word of "libgnutls-config", so it can be a program name with args.
27876
set dummy libgnutls-config; ac_word=$2
27877
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27878
$as_echo_n "checking for $ac_word... " >&6; }
27879
if test "${ac_cv_prog_HAVE_GNUTLS_CONFIG+set}" = set; then
27880
$as_echo_n "(cached) " >&6
27882
if test -n "$HAVE_GNUTLS_CONFIG"; then
27883
ac_cv_prog_HAVE_GNUTLS_CONFIG="$HAVE_GNUTLS_CONFIG" # Let the user override the test.
27885
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27886
for as_dir in $PATH
27889
test -z "$as_dir" && as_dir=.
27890
for ac_exec_ext in '' $ac_executable_extensions; do
27891
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27892
ac_cv_prog_HAVE_GNUTLS_CONFIG="yes"
27893
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27902
HAVE_GNUTLS_CONFIG=$ac_cv_prog_HAVE_GNUTLS_CONFIG
27903
if test -n "$HAVE_GNUTLS_CONFIG"; then
27904
{ $as_echo "$as_me:$LINENO: result: $HAVE_GNUTLS_CONFIG" >&5
27905
$as_echo "$HAVE_GNUTLS_CONFIG" >&6; }
27907
{ $as_echo "$as_me:$LINENO: result: no" >&5
27908
$as_echo "no" >&6; }
27912
if test "x${HAVE_GNUTLS_CONFIG}" != "xyes"; then
27913
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27914
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27915
{ { $as_echo "$as_me:$LINENO: error: libgnutls-config not found in PATH
27916
See \`config.log' for more details." >&5
27917
$as_echo "$as_me: error: libgnutls-config not found in PATH
27918
See \`config.log' for more details." >&2;}
27919
{ (exit 1); exit 1; }; }; }
27921
{ $as_echo "$as_me:$LINENO: checking for gnutls_check_version in -lgnutls" >&5
27922
$as_echo_n "checking for gnutls_check_version in -lgnutls... " >&6; }
27923
if test "${ac_cv_lib_gnutls_gnutls_check_version+set}" = set; then
27924
$as_echo_n "(cached) " >&6
27926
ac_check_lib_save_LIBS=$LIBS
27927
LIBS="-lgnutls `libgnutls-config --libs`
27929
cat >conftest.$ac_ext <<_ACEOF
27932
cat confdefs.h >>conftest.$ac_ext
27933
cat >>conftest.$ac_ext <<_ACEOF
27934
/* end confdefs.h. */
27936
/* Override any GCC internal prototype to avoid an error.
27937
Use char because int might match the return type of a GCC
27938
builtin and then its argument prototype would still apply. */
27942
char gnutls_check_version ();
27946
return gnutls_check_version ();
27951
rm -f conftest.$ac_objext conftest$ac_exeext
27952
if { (ac_try="$ac_link"
27953
case "(($ac_try" in
27954
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27955
*) ac_try_echo=$ac_try;;
27957
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27958
$as_echo "$ac_try_echo") >&5
27959
(eval "$ac_link") 2>conftest.er1
27961
grep -v '^ *+' conftest.er1 >conftest.err
27963
cat conftest.err >&5
27964
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965
(exit $ac_status); } && {
27966
test -z "$ac_c_werror_flag" ||
27967
test ! -s conftest.err
27968
} && test -s conftest$ac_exeext && {
27969
test "$cross_compiling" = yes ||
27970
$as_test_x conftest$ac_exeext
27972
ac_cv_lib_gnutls_gnutls_check_version=yes
27974
$as_echo "$as_me: failed program was:" >&5
27975
sed 's/^/| /' conftest.$ac_ext >&5
27977
ac_cv_lib_gnutls_gnutls_check_version=no
27980
rm -rf conftest.dSYM
27981
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27982
conftest$ac_exeext conftest.$ac_ext
27983
LIBS=$ac_check_lib_save_LIBS
27985
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gnutls_gnutls_check_version" >&5
27986
$as_echo "$ac_cv_lib_gnutls_gnutls_check_version" >&6; }
27987
if test "x$ac_cv_lib_gnutls_gnutls_check_version" = x""yes; then
27988
gnutls_cflags=`libgnutls-config --cflags`
27989
gnutls_libs=`libgnutls-config --libs`
27992
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27993
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27994
{ { $as_echo "$as_me:$LINENO: error: GNU TLS library is missing
27995
See \`config.log' for more details." >&5
27996
$as_echo "$as_me: error: GNU TLS library is missing
27997
See \`config.log' for more details." >&2;}
27998
{ (exit 1); exit 1; }; }; }
27739
{ $as_echo "$as_me:$LINENO: checking for GNUTLS" >&5
27740
$as_echo_n "checking for GNUTLS... " >&6; }
27742
if test -n "$GNUTLS_CFLAGS"; then
27743
pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS"
27744
elif test -n "$PKG_CONFIG"; then
27745
if test -n "$PKG_CONFIG" && \
27746
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.0.0\"") >&5
27747
($PKG_CONFIG --exists --print-errors "gnutls >= 2.0.0") 2>&5
27749
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27750
(exit $ac_status); }; then
27751
pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.0.0" 2>/dev/null`
27758
if test -n "$GNUTLS_LIBS"; then
27759
pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS"
27760
elif test -n "$PKG_CONFIG"; then
27761
if test -n "$PKG_CONFIG" && \
27762
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.0.0\"") >&5
27763
($PKG_CONFIG --exists --print-errors "gnutls >= 2.0.0") 2>&5
27765
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766
(exit $ac_status); }; then
27767
pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.0.0" 2>/dev/null`
27777
if test $pkg_failed = yes; then
27779
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27780
_pkg_short_errors_supported=yes
27782
_pkg_short_errors_supported=no
27784
if test $_pkg_short_errors_supported = yes; then
27785
GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnutls >= 2.0.0" 2>&1`
27787
GNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnutls >= 2.0.0" 2>&1`
27789
# Put the nasty error message in config.log where it belongs
27790
echo "$GNUTLS_PKG_ERRORS" >&5
27792
{ { $as_echo "$as_me:$LINENO: error: Package requirements (gnutls >= 2.0.0) were not met:
27796
Consider adjusting the PKG_CONFIG_PATH environment variable if you
27797
installed software in a non-standard prefix.
27799
Alternatively, you may set the environment variables GNUTLS_CFLAGS
27800
and GNUTLS_LIBS to avoid the need to call pkg-config.
27801
See the pkg-config man page for more details.
27803
$as_echo "$as_me: error: Package requirements (gnutls >= 2.0.0) were not met:
27807
Consider adjusting the PKG_CONFIG_PATH environment variable if you
27808
installed software in a non-standard prefix.
27810
Alternatively, you may set the environment variables GNUTLS_CFLAGS
27811
and GNUTLS_LIBS to avoid the need to call pkg-config.
27812
See the pkg-config man page for more details.
27814
{ (exit 1); exit 1; }; }
27815
elif test $pkg_failed = untried; then
27816
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27817
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27818
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
27819
is in your PATH or set the PKG_CONFIG environment variable to the full
27820
path to pkg-config.
27822
Alternatively, you may set the environment variables GNUTLS_CFLAGS
27823
and GNUTLS_LIBS to avoid the need to call pkg-config.
27824
See the pkg-config man page for more details.
27826
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27827
See \`config.log' for more details." >&5
27828
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
27829
is in your PATH or set the PKG_CONFIG environment variable to the full
27830
path to pkg-config.
27832
Alternatively, you may set the environment variables GNUTLS_CFLAGS
27833
and GNUTLS_LIBS to avoid the need to call pkg-config.
27834
See the pkg-config man page for more details.
27836
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27837
See \`config.log' for more details." >&2;}
27838
{ (exit 1); exit 1; }; }; }
27840
GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS
27841
GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS
27842
{ $as_echo "$as_me:$LINENO: result: yes" >&5
27843
$as_echo "yes" >&6; }
28002
27847
if test x$enable_gnutls = xyes; then
28003
27848
ENABLE_GNUTLS_TRUE=