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