|
version 1.1.2.1, 2012/07/03 09:20:48
|
version 1.1.2.3, 2012/07/03 12:34:28
|
|
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 crcFletcher16 in -laitcrc" >&5 |
| $as_echo_n "checking for cfg_GetAttribute in -laitcfg... " >&6; } | $as_echo_n "checking for crcFletcher16 in -laitcrc... " >&6; } |
| if ${ac_cv_lib_aitcfg_cfg_GetAttribute+:} false; then : | if ${ac_cv_lib_aitcrc_crcFletcher16+:} 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 |
| LIBS="-laitcfg $LIBS" | LIBS="-laitcrc $LIBS" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| |
|
|
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 crcFletcher16 (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return cfg_GetAttribute (); | return crcFletcher16 (); |
| ; |
; |
| 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_aitcrc_crcFletcher16=yes |
| else |
else |
| ac_cv_lib_aitcfg_cfg_GetAttribute=no | ac_cv_lib_aitcrc_crcFletcher16=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_aitcrc_crcFletcher16" >&5 |
| $as_echo "$ac_cv_lib_aitcfg_cfg_GetAttribute" >&6; } | $as_echo "$ac_cv_lib_aitcrc_crcFletcher16" >&6; } |
| if test "x$ac_cv_lib_aitcfg_cfg_GetAttribute" = xyes; then : | if test "x$ac_cv_lib_aitcrc_crcFletcher16" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBAITCFG 1 | #define HAVE_LIBAITCRC 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-laitcfg $LIBS" | LIBS="-laitcrc $LIBS" |
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crcFletcher16 in -laitcrc" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for io_allocVar in -laitio" >&5 |
| $as_echo_n "checking for crcFletcher16 in -laitcrc... " >&6; } | $as_echo_n "checking for io_allocVar in -laitio... " >&6; } |
| if ${ac_cv_lib_aitcrc_crcFletcher16+:} false; then : | if ${ac_cv_lib_aitio_io_allocVar+:} 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 |
| LIBS="-laitcrc $LIBS" | LIBS="-laitio $LIBS" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| |
|
|
Line 3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char crcFletcher16 (); | char io_allocVar (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return crcFletcher16 (); | return io_allocVar (); |
| ; |
; |
| 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_aitcrc_crcFletcher16=yes | ac_cv_lib_aitio_io_allocVar=yes |
| else |
else |
| ac_cv_lib_aitcrc_crcFletcher16=no | ac_cv_lib_aitio_io_allocVar=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_aitcrc_crcFletcher16" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitio_io_allocVar" >&5 |
| $as_echo "$ac_cv_lib_aitcrc_crcFletcher16" >&6; } | $as_echo "$ac_cv_lib_aitio_io_allocVar" >&6; } |
| if test "x$ac_cv_lib_aitcrc_crcFletcher16" = xyes; then : | if test "x$ac_cv_lib_aitio_io_allocVar" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBAITCRC 1 | #define HAVE_LIBAITIO 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-laitcrc $LIBS" | LIBS="-laitio $LIBS" |
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for io_allocVar in -laitio" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfgLoadConfig in -laitcfg" >&5 |
| $as_echo_n "checking for io_allocVar in -laitio... " >&6; } | $as_echo_n "checking for cfgLoadConfig in -laitcfg... " >&6; } |
| if ${ac_cv_lib_aitio_io_allocVar+:} 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 |
| LIBS="-laitio $LIBS" | LIBS="-laitcfg $LIBS" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| |
|
|
Line 3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char io_allocVar (); | char cfgLoadConfig (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return io_allocVar (); | 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_aitio_io_allocVar=yes | ac_cv_lib_aitcfg_cfgLoadConfig=yes |
| else |
else |
| ac_cv_lib_aitio_io_allocVar=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_aitio_io_allocVar" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitcfg_cfgLoadConfig" >&5 |
| $as_echo "$ac_cv_lib_aitio_io_allocVar" >&6; } | $as_echo "$ac_cv_lib_aitcfg_cfgLoadConfig" >&6; } |
| if test "x$ac_cv_lib_aitio_io_allocVar" = xyes; then : | if test "x$ac_cv_lib_aitcfg_cfgLoadConfig" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBAITIO 1 | #define HAVE_LIBAITCFG 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-laitio $LIBS" | LIBS="-laitcfg $LIBS" |
| |
|
| 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 |
|
Line 3750 _ACEOF
|
Line 3750 _ACEOF
|
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flopen in -lutil" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5 |
| $as_echo_n "checking for flopen in -lutil... " >&6; } | $as_echo_n "checking for openpty in -lutil... " >&6; } |
| if ${ac_cv_lib_util_flopen+:} false; then : | if ${ac_cv_lib_util_openpty+:} 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 3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char flopen (); | char openpty (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return flopen (); | return openpty (); |
| ; |
; |
| 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_util_flopen=yes | ac_cv_lib_util_openpty=yes |
| else |
else |
| ac_cv_lib_util_flopen=no | ac_cv_lib_util_openpty=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_util_flopen" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5 |
| $as_echo "$ac_cv_lib_util_flopen" >&6; } | $as_echo "$ac_cv_lib_util_openpty" >&6; } |
| if test "x$ac_cv_lib_util_flopen" = xyes; then : | if test "x$ac_cv_lib_util_openpty" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBUTIL 1 |
#define HAVE_LIBUTIL 1 |
| _ACEOF |
_ACEOF |