--- mqtt/configure 2012/07/03 09:20:48 1.1.2.1 +++ mqtt/configure 2012/07/03 12:27:19 1.1.2.2 @@ -3390,9 +3390,9 @@ LDFLAGS="-L/usr/local/lib ${LDFLAGS}" # Checks for libraries. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfg_GetAttribute in -laitcfg" >&5 -$as_echo_n "checking for cfg_GetAttribute in -laitcfg... " >&6; } -if ${ac_cv_lib_aitcfg_cfg_GetAttribute+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfgLoadConfig in -laitcfg" >&5 +$as_echo_n "checking for cfgLoadConfig in -laitcfg... " >&6; } +if ${ac_cv_lib_aitcfg_cfgLoadConfig+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -3406,27 +3406,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char cfg_GetAttribute (); +char cfgLoadConfig (); int main () { -return cfg_GetAttribute (); +return cfgLoadConfig (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_aitcfg_cfg_GetAttribute=yes + ac_cv_lib_aitcfg_cfgLoadConfig=yes else - ac_cv_lib_aitcfg_cfg_GetAttribute=no + ac_cv_lib_aitcfg_cfgLoadConfig=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitcfg_cfg_GetAttribute" >&5 -$as_echo "$ac_cv_lib_aitcfg_cfg_GetAttribute" >&6; } -if test "x$ac_cv_lib_aitcfg_cfg_GetAttribute" = xyes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitcfg_cfgLoadConfig" >&5 +$as_echo "$ac_cv_lib_aitcfg_cfgLoadConfig" >&6; } +if test "x$ac_cv_lib_aitcfg_cfgLoadConfig" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBAITCFG 1 _ACEOF @@ -3525,9 +3525,9 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mqtt_allocMsg in -laitmqtt" >&5 -$as_echo_n "checking for mqtt_allocMsg in -laitmqtt... " >&6; } -if ${ac_cv_lib_aitmqtt_mqtt_allocMsg+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mqtt_msgAlloc in -laitmqtt" >&5 +$as_echo_n "checking for mqtt_msgAlloc in -laitmqtt... " >&6; } +if ${ac_cv_lib_aitmqtt_mqtt_msgAlloc+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -3541,27 +3541,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char mqtt_allocMsg (); +char mqtt_msgAlloc (); int main () { -return mqtt_allocMsg (); +return mqtt_msgAlloc (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_aitmqtt_mqtt_allocMsg=yes + ac_cv_lib_aitmqtt_mqtt_msgAlloc=yes else - ac_cv_lib_aitmqtt_mqtt_allocMsg=no + ac_cv_lib_aitmqtt_mqtt_msgAlloc=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitmqtt_mqtt_allocMsg" >&5 -$as_echo "$ac_cv_lib_aitmqtt_mqtt_allocMsg" >&6; } -if test "x$ac_cv_lib_aitmqtt_mqtt_allocMsg" = xyes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitmqtt_mqtt_msgAlloc" >&5 +$as_echo "$ac_cv_lib_aitmqtt_mqtt_msgAlloc" >&6; } +if test "x$ac_cv_lib_aitmqtt_mqtt_msgAlloc" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBAITMQTT 1 _ACEOF