3559 #define HAVE_WIRINGPI_H 1 |
3559 #define HAVE_WIRINGPI_H 1 |
3560 _ACEOF |
3560 _ACEOF |
3561 WIRINGPI=Yes |
3561 WIRINGPI=Yes |
3562 else |
3562 else |
3563 WIRINGPI=No |
3563 WIRINGPI=No |
|
3564 fi |
|
3565 |
|
3566 done |
|
3567 |
|
3568 fi |
|
3569 |
|
3570 OWSERVER=No |
|
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OWNET_init in -lownet" >&5 |
|
3572 $as_echo_n "checking for OWNET_init in -lownet... " >&6; } |
|
3573 if ${ac_cv_lib_ownet_OWNET_init+:} false; then : |
|
3574 $as_echo_n "(cached) " >&6 |
|
3575 else |
|
3576 ac_check_lib_save_LIBS=$LIBS |
|
3577 LIBS="-lownet $LIBS" |
|
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3579 /* end confdefs.h. */ |
|
3580 |
|
3581 /* Override any GCC internal prototype to avoid an error. |
|
3582 Use char because int might match the return type of a GCC |
|
3583 builtin and then its argument prototype would still apply. */ |
|
3584 #ifdef __cplusplus |
|
3585 extern "C" |
|
3586 #endif |
|
3587 char OWNET_init (); |
|
3588 int |
|
3589 main () |
|
3590 { |
|
3591 return OWNET_init (); |
|
3592 ; |
|
3593 return 0; |
|
3594 } |
|
3595 _ACEOF |
|
3596 if ac_fn_c_try_link "$LINENO"; then : |
|
3597 ac_cv_lib_ownet_OWNET_init=yes |
|
3598 else |
|
3599 ac_cv_lib_ownet_OWNET_init=no |
|
3600 fi |
|
3601 rm -f core conftest.err conftest.$ac_objext \ |
|
3602 conftest$ac_exeext conftest.$ac_ext |
|
3603 LIBS=$ac_check_lib_save_LIBS |
|
3604 fi |
|
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ownet_OWNET_init" >&5 |
|
3606 $as_echo "$ac_cv_lib_ownet_OWNET_init" >&6; } |
|
3607 if test "x$ac_cv_lib_ownet_OWNET_init" = xyes; then : |
|
3608 result=yes |
|
3609 else |
|
3610 result=no |
|
3611 fi |
|
3612 |
|
3613 if test "$result" = "yes"; then |
|
3614 LIBS="$LIBS -lownet" |
|
3615 for ac_header in ownetapi.h |
|
3616 do : |
|
3617 ac_fn_c_check_header_mongrel "$LINENO" "ownetapi.h" "ac_cv_header_ownetapi_h" "$ac_includes_default" |
|
3618 if test "x$ac_cv_header_ownetapi_h" = xyes; then : |
|
3619 cat >>confdefs.h <<_ACEOF |
|
3620 #define HAVE_OWNETAPI_H 1 |
|
3621 _ACEOF |
|
3622 OWSERVER=Yes |
|
3623 else |
|
3624 OWSERVER=No |
3564 fi |
3625 fi |
3565 |
3626 |
3566 done |
3627 done |
3567 |
3628 |
3568 fi |
3629 fi |
5117 Configuration summary : |
5178 Configuration summary : |
5118 |
5179 |
5119 Version : ............ ${VERSION} |
5180 Version : ............ ${VERSION} |
5120 Main directory : ..... ${prefix} |
5181 Main directory : ..... ${prefix} |
5121 WiringPi : ........... ${WIRINGPI} |
5182 WiringPi : ........... ${WIRINGPI} |
|
5183 OWserver : ........... ${OWSERVER} |
5122 |
5184 |
5123 Now type 'make' and 'sudo make install' |
5185 Now type 'make' and 'sudo make install' |
5124 " >&5 |
5186 " >&5 |
5125 $as_echo " |
5187 $as_echo " |
5126 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=- |
5188 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=- |
5128 Configuration summary : |
5190 Configuration summary : |
5129 |
5191 |
5130 Version : ............ ${VERSION} |
5192 Version : ............ ${VERSION} |
5131 Main directory : ..... ${prefix} |
5193 Main directory : ..... ${prefix} |
5132 WiringPi : ........... ${WIRINGPI} |
5194 WiringPi : ........... ${WIRINGPI} |
|
5195 OWserver : ........... ${OWSERVER} |
5133 |
5196 |
5134 Now type 'make' and 'sudo make install' |
5197 Now type 'make' and 'sudo make install' |
5135 " >&6; } |
5198 " >&6; } |
5136 |
5199 |