3595 else |
3595 else |
3596 CFLAGS="-g -O2 -fomit-frame-pointer -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Winline" |
3596 CFLAGS="-g -O2 -fomit-frame-pointer -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Winline" |
3597 fi |
3597 fi |
3598 |
3598 |
3599 |
3599 |
3600 LIBXML2=No |
|
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseFile in -lxml2" >&5 |
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseFile in -lxml2" >&5 |
3602 $as_echo_n "checking for xmlParseFile in -lxml2... " >&6; } |
3601 $as_echo_n "checking for xmlParseFile in -lxml2... " >&6; } |
3603 if ${ac_cv_lib_xml2_xmlParseFile+:} false; then : |
3602 if ${ac_cv_lib_xml2_xmlParseFile+:} false; then : |
3604 $as_echo_n "(cached) " >&6 |
3603 $as_echo_n "(cached) " >&6 |
3605 else |
3604 else |
3648 ac_fn_c_check_header_mongrel "$LINENO" "libxml/xmlmemory.h" "ac_cv_header_libxml_xmlmemory_h" "$ac_includes_default" |
3647 ac_fn_c_check_header_mongrel "$LINENO" "libxml/xmlmemory.h" "ac_cv_header_libxml_xmlmemory_h" "$ac_includes_default" |
3649 if test "x$ac_cv_header_libxml_xmlmemory_h" = xyes; then : |
3648 if test "x$ac_cv_header_libxml_xmlmemory_h" = xyes; then : |
3650 cat >>confdefs.h <<_ACEOF |
3649 cat >>confdefs.h <<_ACEOF |
3651 #define HAVE_LIBXML_XMLMEMORY_H 1 |
3650 #define HAVE_LIBXML_XMLMEMORY_H 1 |
3652 _ACEOF |
3651 _ACEOF |
3653 LIBXML2=Yes |
3652 |
3654 else |
|
3655 LIBXML2=No |
|
3656 fi |
3653 fi |
3657 |
3654 |
3658 done |
3655 done |
3659 |
3656 |
3660 else |
3657 else |
3661 as_fn_error $? "libxml2 not found" "$LINENO" 5 |
3658 as_fn_error $? "libxml2 not found" "$LINENO" 5 |
3662 fi |
3659 fi |
3663 |
3660 |
|
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 |
|
3662 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } |
|
3663 if ${ac_cv_lib_uuid_uuid_generate+:} false; then : |
|
3664 $as_echo_n "(cached) " >&6 |
|
3665 else |
|
3666 ac_check_lib_save_LIBS=$LIBS |
|
3667 LIBS="-luuid $LIBS" |
|
3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3669 /* end confdefs.h. */ |
|
3670 |
|
3671 /* Override any GCC internal prototype to avoid an error. |
|
3672 Use char because int might match the return type of a GCC |
|
3673 builtin and then its argument prototype would still apply. */ |
|
3674 #ifdef __cplusplus |
|
3675 extern "C" |
|
3676 #endif |
|
3677 char uuid_generate (); |
|
3678 int |
|
3679 main () |
|
3680 { |
|
3681 return uuid_generate (); |
|
3682 ; |
|
3683 return 0; |
|
3684 } |
|
3685 _ACEOF |
|
3686 if ac_fn_c_try_link "$LINENO"; then : |
|
3687 ac_cv_lib_uuid_uuid_generate=yes |
|
3688 else |
|
3689 ac_cv_lib_uuid_uuid_generate=no |
|
3690 fi |
|
3691 rm -f core conftest.err conftest.$ac_objext \ |
|
3692 conftest$ac_exeext conftest.$ac_ext |
|
3693 LIBS=$ac_check_lib_save_LIBS |
|
3694 fi |
|
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 |
|
3696 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } |
|
3697 if test "x$ac_cv_lib_uuid_uuid_generate" = xyes; then : |
|
3698 result=yes |
|
3699 else |
|
3700 result=no |
|
3701 fi |
|
3702 |
|
3703 if test "$result" = "yes"; then |
|
3704 LIBS="$LIBS $(pkg-config --libs uuid)" |
|
3705 CFLAGS="$CFLAGS $(pkg-config --cflags uuid)" |
|
3706 for ac_header in uuid/uuid.h |
|
3707 do : |
|
3708 ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" |
|
3709 if test "x$ac_cv_header_uuid_uuid_h" = xyes; then : |
|
3710 cat >>confdefs.h <<_ACEOF |
|
3711 #define HAVE_UUID_UUID_H 1 |
|
3712 _ACEOF |
|
3713 |
|
3714 fi |
|
3715 |
|
3716 done |
|
3717 |
|
3718 else |
|
3719 as_fn_error $? "libuuid not found" "$LINENO" 5 |
|
3720 fi |
3664 |
3721 |
3665 |
3722 |
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
3667 $as_echo_n "checking for ANSI C header files... " >&6; } |
3724 $as_echo_n "checking for ANSI C header files... " >&6; } |
3668 if ${ac_cv_header_stdc+:} false; then : |
3725 if ${ac_cv_header_stdc+:} false; then : |
5060 Configuration summary : |
5117 Configuration summary : |
5061 |
5118 |
5062 Version : ............ ${VERSION} |
5119 Version : ............ ${VERSION} |
5063 Main directory : ..... ${prefix} |
5120 Main directory : ..... ${prefix} |
5064 WiringPi : ........... ${WIRINGPI} |
5121 WiringPi : ........... ${WIRINGPI} |
5065 XML2: ................ ${LIBXML2} |
|
5066 |
5122 |
5067 Now type 'make' and 'sudo make install' |
5123 Now type 'make' and 'sudo make install' |
5068 " >&5 |
5124 " >&5 |
5069 $as_echo " |
5125 $as_echo " |
5070 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=- |
5126 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=- |
5072 Configuration summary : |
5128 Configuration summary : |
5073 |
5129 |
5074 Version : ............ ${VERSION} |
5130 Version : ............ ${VERSION} |
5075 Main directory : ..... ${prefix} |
5131 Main directory : ..... ${prefix} |
5076 WiringPi : ........... ${WIRINGPI} |
5132 WiringPi : ........... ${WIRINGPI} |
5077 XML2: ................ ${LIBXML2} |
|
5078 |
5133 |
5079 Now type 'make' and 'sudo make install' |
5134 Now type 'make' and 'sudo make install' |
5080 " >&6; } |
5135 " >&6; } |
5081 |
5136 |