3048 |
3048 |
3049 |
3049 |
3050 # |
3050 # |
3051 # Libraries for mbsePi-apps |
3051 # Libraries for mbsePi-apps |
3052 # |
3052 # |
3053 MOSQUITTO=No |
|
3054 |
3053 |
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mosquitto_lib_init in -lmosquitto" >&5 |
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mosquitto_lib_init in -lmosquitto" >&5 |
3056 $as_echo_n "checking for mosquitto_lib_init in -lmosquitto... " >&6; } |
3055 $as_echo_n "checking for mosquitto_lib_init in -lmosquitto... " >&6; } |
3057 if ${ac_cv_lib_mosquitto_mosquitto_lib_init+:} false; then : |
3056 if ${ac_cv_lib_mosquitto_mosquitto_lib_init+:} false; then : |
3058 $as_echo_n "(cached) " >&6 |
3057 $as_echo_n "(cached) " >&6 |
3497 ac_fn_c_check_header_mongrel "$LINENO" "mosquitto.h" "ac_cv_header_mosquitto_h" "$ac_includes_default" |
3496 ac_fn_c_check_header_mongrel "$LINENO" "mosquitto.h" "ac_cv_header_mosquitto_h" "$ac_includes_default" |
3498 if test "x$ac_cv_header_mosquitto_h" = xyes; then : |
3497 if test "x$ac_cv_header_mosquitto_h" = xyes; then : |
3499 cat >>confdefs.h <<_ACEOF |
3498 cat >>confdefs.h <<_ACEOF |
3500 #define HAVE_MOSQUITTO_H 1 |
3499 #define HAVE_MOSQUITTO_H 1 |
3501 _ACEOF |
3500 _ACEOF |
3502 MOSQUITTO=Yes |
3501 |
3503 else |
|
3504 MOSQUITTO=No |
|
3505 fi |
3502 fi |
3506 |
3503 |
3507 done |
3504 done |
3508 |
3505 |
3509 LIBS="$LIBS -lmosquitto" |
3506 LIBS="$LIBS -lmosquitto" |
|
3507 else |
|
3508 as_fn_error $? "mosquitto not found" "$LINENO" 5 |
3510 fi |
3509 fi |
3511 |
3510 |
3512 WIRINGPI=No |
3511 WIRINGPI=No |
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wiringPiSetup in -lwiringPi" >&5 |
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wiringPiSetup in -lwiringPi" >&5 |
3514 $as_echo_n "checking for wiringPiSetup in -lwiringPi... " >&6; } |
3513 $as_echo_n "checking for wiringPiSetup in -lwiringPi... " >&6; } |
5257 Configuration summary : |
5256 Configuration summary : |
5258 |
5257 |
5259 Version : ............ ${VERSION} |
5258 Version : ............ ${VERSION} |
5260 Main directory : ..... ${prefix} |
5259 Main directory : ..... ${prefix} |
5261 WiringPi : ........... ${WIRINGPI} |
5260 WiringPi : ........... ${WIRINGPI} |
5262 MQTT : ............... ${MOSQUITTO} |
|
5263 SDL library : ........ ${SDL} |
5261 SDL library : ........ ${SDL} |
5264 Simulator : .......... ${SIMULATOR} |
5262 Simulator : .......... ${SIMULATOR} |
5265 |
5263 |
5266 Now type 'make' and 'sudo make install' |
5264 Now type 'make' and 'sudo make install' |
5267 " >&5 |
5265 " >&5 |
5271 Configuration summary : |
5269 Configuration summary : |
5272 |
5270 |
5273 Version : ............ ${VERSION} |
5271 Version : ............ ${VERSION} |
5274 Main directory : ..... ${prefix} |
5272 Main directory : ..... ${prefix} |
5275 WiringPi : ........... ${WIRINGPI} |
5273 WiringPi : ........... ${WIRINGPI} |
5276 MQTT : ............... ${MOSQUITTO} |
|
5277 SDL library : ........ ${SDL} |
5274 SDL library : ........ ${SDL} |
5278 Simulator : .......... ${SIMULATOR} |
5275 Simulator : .......... ${SIMULATOR} |
5279 |
5276 |
5280 Now type 'make' and 'sudo make install' |
5277 Now type 'make' and 'sudo make install' |
5281 " >&6; } |
5278 " >&6; } |