1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1678 $as_echo "$ac_res" >&6; } |
1678 $as_echo "$ac_res" >&6; } |
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1680 |
1680 |
1681 } # ac_fn_c_check_header_compile |
1681 } # ac_fn_c_check_header_compile |
|
1682 |
|
1683 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
|
1684 # --------------------------------------------- |
|
1685 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
|
1686 # accordingly. |
|
1687 ac_fn_c_check_decl () |
|
1688 { |
|
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1690 as_decl_name=`echo $2|sed 's/ *(.*//'` |
|
1691 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
|
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
|
1693 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
|
1694 if eval \${$3+:} false; then : |
|
1695 $as_echo_n "(cached) " >&6 |
|
1696 else |
|
1697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1698 /* end confdefs.h. */ |
|
1699 $4 |
|
1700 int |
|
1701 main () |
|
1702 { |
|
1703 #ifndef $as_decl_name |
|
1704 #ifdef __cplusplus |
|
1705 (void) $as_decl_use; |
|
1706 #else |
|
1707 (void) $as_decl_name; |
|
1708 #endif |
|
1709 #endif |
|
1710 |
|
1711 ; |
|
1712 return 0; |
|
1713 } |
|
1714 _ACEOF |
|
1715 if ac_fn_c_try_compile "$LINENO"; then : |
|
1716 eval "$3=yes" |
|
1717 else |
|
1718 eval "$3=no" |
|
1719 fi |
|
1720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1721 fi |
|
1722 eval ac_res=\$$3 |
|
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1724 $as_echo "$ac_res" >&6; } |
|
1725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1726 |
|
1727 } # ac_fn_c_check_decl |
1682 cat >config.log <<_ACEOF |
1728 cat >config.log <<_ACEOF |
1683 This file contains any messages produced by compilers while |
1729 This file contains any messages produced by compilers while |
1684 running configure, to aid debugging if configure makes a mistake. |
1730 running configure, to aid debugging if configure makes a mistake. |
1685 |
1731 |
1686 It was created by $as_me, which was |
1732 It was created by $as_me, which was |
3744 CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Winline" |
3791 CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Winline" |
3745 else |
3792 else |
3746 CFLAGS="-g -O2 -fomit-frame-pointer -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Winline" |
3793 CFLAGS="-g -O2 -fomit-frame-pointer -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Winline" |
3747 fi |
3794 fi |
3748 LIBS="$LIBS -lm" |
3795 LIBS="$LIBS -lm" |
|
3796 |
|
3797 ac_fn_c_check_decl "$LINENO" "gettid" "ac_cv_have_decl_gettid" "$ac_includes_default" |
|
3798 if test "x$ac_cv_have_decl_gettid" = xyes; then : |
|
3799 ac_have_decl=1 |
|
3800 else |
|
3801 ac_have_decl=0 |
|
3802 fi |
|
3803 |
|
3804 cat >>confdefs.h <<_ACEOF |
|
3805 #define HAVE_DECL_GETTID $ac_have_decl |
|
3806 _ACEOF |
|
3807 if test $ac_have_decl = 1; then : |
|
3808 result=yes |
|
3809 else |
|
3810 result=no |
|
3811 fi |
|
3812 |
|
3813 if test "$result" = "yes"; then |
|
3814 $as_echo "#define HAVE_GETTID 1" >>confdefs.h |
|
3815 |
|
3816 fi |
3749 |
3817 |
3750 |
3818 |
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseFile in -lxml2" >&5 |
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseFile in -lxml2" >&5 |
3752 $as_echo_n "checking for xmlParseFile in -lxml2... " >&6; } |
3820 $as_echo_n "checking for xmlParseFile in -lxml2... " >&6; } |
3753 if ${ac_cv_lib_xml2_xmlParseFile+:} false; then : |
3821 if ${ac_cv_lib_xml2_xmlParseFile+:} false; then : |