|
version 1.1.2.2, 2012/07/03 12:27:19
|
version 1.1.2.4, 2012/07/03 12:40:10
|
|
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 cfgLoadConfig in -laitcfg" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5 |
| $as_echo_n "checking for cfgLoadConfig in -laitcfg... " >&6; } | $as_echo_n "checking for openpty in -lutil... " >&6; } |
| if ${ac_cv_lib_aitcfg_cfgLoadConfig+:} 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 |
| LIBS="-laitcfg $LIBS" | LIBS="-lutil $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 cfgLoadConfig (); | char openpty (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return cfgLoadConfig (); | 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_aitcfg_cfgLoadConfig=yes | ac_cv_lib_util_openpty=yes |
| else |
else |
| ac_cv_lib_aitcfg_cfgLoadConfig=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_aitcfg_cfgLoadConfig" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5 |
| $as_echo "$ac_cv_lib_aitcfg_cfgLoadConfig" >&6; } | $as_echo "$ac_cv_lib_util_openpty" >&6; } |
| if test "x$ac_cv_lib_aitcfg_cfgLoadConfig" = xyes; then : | if test "x$ac_cv_lib_util_openpty" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBAITCFG 1 | #define HAVE_LIBUTIL 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-laitcfg $LIBS" | LIBS="-lutil $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 BF_set_key in -lcrypto" >&5 |
| $as_echo_n "checking for crcFletcher16 in -laitcrc... " >&6; } | $as_echo_n "checking for BF_set_key in -lcrypto... " >&6; } |
| if ${ac_cv_lib_aitcrc_crcFletcher16+:} false; then : | if ${ac_cv_lib_crypto_BF_set_key+:} 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="-lcrypto $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 BF_set_key (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return crcFletcher16 (); | return BF_set_key (); |
| ; |
; |
| 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_crypto_BF_set_key=yes |
| else |
else |
| ac_cv_lib_aitcrc_crcFletcher16=no | ac_cv_lib_crypto_BF_set_key=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_crypto_BF_set_key" >&5 |
| $as_echo "$ac_cv_lib_aitcrc_crcFletcher16" >&6; } | $as_echo "$ac_cv_lib_crypto_BF_set_key" >&6; } |
| if test "x$ac_cv_lib_aitcrc_crcFletcher16" = xyes; then : | if test "x$ac_cv_lib_crypto_BF_set_key" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBAITCRC 1 | #define HAVE_LIBCRYPTO 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-laitcrc $LIBS" | LIBS="-lcrypto $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 pthread_create in -lpthread" >&5 |
| $as_echo_n "checking for io_allocVar in -laitio... " >&6; } | $as_echo_n "checking for pthread_create in -lpthread... " >&6; } |
| if ${ac_cv_lib_aitio_io_allocVar+:} false; then : | if ${ac_cv_lib_pthread_pthread_create+:} 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="-lpthread $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 pthread_create (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return io_allocVar (); | return pthread_create (); |
| ; |
; |
| 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_pthread_pthread_create=yes |
| else |
else |
| ac_cv_lib_aitio_io_allocVar=no | ac_cv_lib_pthread_pthread_create=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_pthread_pthread_create" >&5 |
| $as_echo "$ac_cv_lib_aitio_io_allocVar" >&6; } | $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } |
| if test "x$ac_cv_lib_aitio_io_allocVar" = xyes; then : | if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBAITIO 1 | #define HAVE_LIBPTHREAD 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-laitio $LIBS" | LIBS="-lpthread $LIBS" |
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mqtt_msgAlloc in -laitmqtt" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_reset in -lsqlite3" >&5 |
| $as_echo_n "checking for mqtt_msgAlloc in -laitmqtt... " >&6; } | $as_echo_n "checking for sqlite3_reset in -lsqlite3... " >&6; } |
| if ${ac_cv_lib_aitmqtt_mqtt_msgAlloc+:} false; then : | if ${ac_cv_lib_sqlite3_sqlite3_reset+:} 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="-laitmqtt $LIBS" | LIBS="-lsqlite3 $LIBS" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| |
|
|
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_msgAlloc (); | char sqlite3_reset (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return mqtt_msgAlloc (); | return sqlite3_reset (); |
| ; |
; |
| 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_msgAlloc=yes | ac_cv_lib_sqlite3_sqlite3_reset=yes |
| else |
else |
| ac_cv_lib_aitmqtt_mqtt_msgAlloc=no | ac_cv_lib_sqlite3_sqlite3_reset=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_msgAlloc" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_reset" >&5 |
| $as_echo "$ac_cv_lib_aitmqtt_mqtt_msgAlloc" >&6; } | $as_echo "$ac_cv_lib_sqlite3_sqlite3_reset" >&6; } |
| if test "x$ac_cv_lib_aitmqtt_mqtt_msgAlloc" = xyes; then : | if test "x$ac_cv_lib_sqlite3_sqlite3_reset" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBAITMQTT 1 | #define HAVE_LIBSQLITE3 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-laitmqtt $LIBS" | LIBS="-lsqlite3 $LIBS" |
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for schedRun in -laitsched" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crcFletcher16 in -laitcrc" >&5 |
| $as_echo_n "checking for schedRun in -laitsched... " >&6; } | $as_echo_n "checking for crcFletcher16 in -laitcrc... " >&6; } |
| if ${ac_cv_lib_aitsched_schedRun+:} 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="-laitsched $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 3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char schedRun (); | char crcFletcher16 (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return schedRun (); | 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_aitsched_schedRun=yes | ac_cv_lib_aitcrc_crcFletcher16=yes |
| else |
else |
| ac_cv_lib_aitsched_schedRun=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_aitsched_schedRun" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitcrc_crcFletcher16" >&5 |
| $as_echo "$ac_cv_lib_aitsched_schedRun" >&6; } | $as_echo "$ac_cv_lib_aitcrc_crcFletcher16" >&6; } |
| if test "x$ac_cv_lib_aitsched_schedRun" = xyes; then : | if test "x$ac_cv_lib_aitcrc_crcFletcher16" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBAITSCHED 1 | #define HAVE_LIBAITCRC 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-laitsched $LIBS" | LIBS="-laitcrc $LIBS" |
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BF_set_key in -lcrypto" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for io_allocVar in -laitio" >&5 |
| $as_echo_n "checking for BF_set_key in -lcrypto... " >&6; } | $as_echo_n "checking for io_allocVar in -laitio... " >&6; } |
| if ${ac_cv_lib_crypto_BF_set_key+:} 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="-lcrypto $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 3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char BF_set_key (); | char io_allocVar (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return BF_set_key (); | 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_crypto_BF_set_key=yes | ac_cv_lib_aitio_io_allocVar=yes |
| else |
else |
| ac_cv_lib_crypto_BF_set_key=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_crypto_BF_set_key" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitio_io_allocVar" >&5 |
| $as_echo "$ac_cv_lib_crypto_BF_set_key" >&6; } | $as_echo "$ac_cv_lib_aitio_io_allocVar" >&6; } |
| if test "x$ac_cv_lib_crypto_BF_set_key" = xyes; then : | if test "x$ac_cv_lib_aitio_io_allocVar" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBCRYPTO 1 | #define HAVE_LIBAITIO 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-lcrypto $LIBS" | LIBS="-laitio $LIBS" |
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfgLoadConfig in -laitcfg" >&5 |
| $as_echo_n "checking for pthread_create in -lpthread... " >&6; } | $as_echo_n "checking for cfgLoadConfig in -laitcfg... " >&6; } |
| if ${ac_cv_lib_pthread_pthread_create+:} 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="-lpthread $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 3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char pthread_create (); | char cfgLoadConfig (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return pthread_create (); | 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_pthread_pthread_create=yes | ac_cv_lib_aitcfg_cfgLoadConfig=yes |
| else |
else |
| ac_cv_lib_pthread_pthread_create=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_pthread_pthread_create" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitcfg_cfgLoadConfig" >&5 |
| $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } | $as_echo "$ac_cv_lib_aitcfg_cfgLoadConfig" >&6; } |
| if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : | if test "x$ac_cv_lib_aitcfg_cfgLoadConfig" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBAITCFG 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-lpthread $LIBS" | LIBS="-laitcfg $LIBS" |
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_reset in -lsqlite3" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mqtt_msgAlloc in -laitmqtt" >&5 |
| $as_echo_n "checking for sqlite3_reset in -lsqlite3... " >&6; } | $as_echo_n "checking for mqtt_msgAlloc in -laitmqtt... " >&6; } |
| if ${ac_cv_lib_sqlite3_sqlite3_reset+:} 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 |
| LIBS="-lsqlite3 $LIBS" | LIBS="-laitmqtt $LIBS" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| |
|
|
Line 3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char sqlite3_reset (); | char mqtt_msgAlloc (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return sqlite3_reset (); | 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_sqlite3_sqlite3_reset=yes | ac_cv_lib_aitmqtt_mqtt_msgAlloc=yes |
| else |
else |
| ac_cv_lib_sqlite3_sqlite3_reset=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_sqlite3_sqlite3_reset" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitmqtt_mqtt_msgAlloc" >&5 |
| $as_echo "$ac_cv_lib_sqlite3_sqlite3_reset" >&6; } | $as_echo "$ac_cv_lib_aitmqtt_mqtt_msgAlloc" >&6; } |
| if test "x$ac_cv_lib_sqlite3_sqlite3_reset" = xyes; then : | if test "x$ac_cv_lib_aitmqtt_mqtt_msgAlloc" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBSQLITE3 1 | #define HAVE_LIBAITMQTT 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-lsqlite3 $LIBS" | LIBS="-laitmqtt $LIBS" |
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flopen in -lutil" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for schedRun in -laitsched" >&5 |
| $as_echo_n "checking for flopen in -lutil... " >&6; } | $as_echo_n "checking for schedRun in -laitsched... " >&6; } |
| if ${ac_cv_lib_util_flopen+:} false; then : | if ${ac_cv_lib_aitsched_schedRun+:} 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="-lutil $LIBS" | LIBS="-laitsched $LIBS" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| |
|
|
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 schedRun (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return flopen (); | return schedRun (); |
| ; |
; |
| 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_aitsched_schedRun=yes |
| else |
else |
| ac_cv_lib_util_flopen=no | ac_cv_lib_aitsched_schedRun=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_aitsched_schedRun" >&5 |
| $as_echo "$ac_cv_lib_util_flopen" >&6; } | $as_echo "$ac_cv_lib_aitsched_schedRun" >&6; } |
| if test "x$ac_cv_lib_util_flopen" = xyes; then : | if test "x$ac_cv_lib_aitsched_schedRun" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBUTIL 1 | #define HAVE_LIBAITSCHED 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-lutil $LIBS" | LIBS="-laitsched $LIBS" |
| |
|
| fi |
fi |
| |
|