--- mqtt/configure 2012/07/03 12:34:28 1.1.2.3 +++ mqtt/configure 2012/07/03 12:40:10 1.1.2.4 @@ -3390,13 +3390,13 @@ LDFLAGS="-L/usr/local/lib ${LDFLAGS}" # Checks for libraries. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crcFletcher16 in -laitcrc" >&5 -$as_echo_n "checking for crcFletcher16 in -laitcrc... " >&6; } -if ${ac_cv_lib_aitcrc_crcFletcher16+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5 +$as_echo_n "checking for openpty in -lutil... " >&6; } +if ${ac_cv_lib_util_openpty+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-laitcrc $LIBS" +LIBS="-lutil $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3406,42 +3406,42 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char crcFletcher16 (); +char openpty (); int main () { -return crcFletcher16 (); +return openpty (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_aitcrc_crcFletcher16=yes + ac_cv_lib_util_openpty=yes else - ac_cv_lib_aitcrc_crcFletcher16=no + ac_cv_lib_util_openpty=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_aitcrc_crcFletcher16" >&5 -$as_echo "$ac_cv_lib_aitcrc_crcFletcher16" >&6; } -if test "x$ac_cv_lib_aitcrc_crcFletcher16" = xyes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5 +$as_echo "$ac_cv_lib_util_openpty" >&6; } +if test "x$ac_cv_lib_util_openpty" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAITCRC 1 +#define HAVE_LIBUTIL 1 _ACEOF - LIBS="-laitcrc $LIBS" + LIBS="-lutil $LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for io_allocVar in -laitio" >&5 -$as_echo_n "checking for io_allocVar in -laitio... " >&6; } -if ${ac_cv_lib_aitio_io_allocVar+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BF_set_key in -lcrypto" >&5 +$as_echo_n "checking for BF_set_key in -lcrypto... " >&6; } +if ${ac_cv_lib_crypto_BF_set_key+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-laitio $LIBS" +LIBS="-lcrypto $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3451,42 +3451,42 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char io_allocVar (); +char BF_set_key (); int main () { -return io_allocVar (); +return BF_set_key (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_aitio_io_allocVar=yes + ac_cv_lib_crypto_BF_set_key=yes else - ac_cv_lib_aitio_io_allocVar=no + ac_cv_lib_crypto_BF_set_key=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_aitio_io_allocVar" >&5 -$as_echo "$ac_cv_lib_aitio_io_allocVar" >&6; } -if test "x$ac_cv_lib_aitio_io_allocVar" = xyes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_BF_set_key" >&5 +$as_echo "$ac_cv_lib_crypto_BF_set_key" >&6; } +if test "x$ac_cv_lib_crypto_BF_set_key" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAITIO 1 +#define HAVE_LIBCRYPTO 1 _ACEOF - LIBS="-laitio $LIBS" + LIBS="-lcrypto $LIBS" fi -{ $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 "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 +$as_echo_n "checking for pthread_create in -lpthread... " >&6; } +if ${ac_cv_lib_pthread_pthread_create+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-laitcfg $LIBS" +LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3496,42 +3496,42 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char cfgLoadConfig (); +char pthread_create (); int main () { -return cfgLoadConfig (); +return pthread_create (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_aitcfg_cfgLoadConfig=yes + ac_cv_lib_pthread_pthread_create=yes else - ac_cv_lib_aitcfg_cfgLoadConfig=no + ac_cv_lib_pthread_pthread_create=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_cfgLoadConfig" >&5 -$as_echo "$ac_cv_lib_aitcfg_cfgLoadConfig" >&6; } -if test "x$ac_cv_lib_aitcfg_cfgLoadConfig" = xyes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 +$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } +if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAITCFG 1 +#define HAVE_LIBPTHREAD 1 _ACEOF - LIBS="-laitcfg $LIBS" + LIBS="-lpthread $LIBS" fi -{ $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 "$as_me:${as_lineno-$LINENO}: checking for sqlite3_reset in -lsqlite3" >&5 +$as_echo_n "checking for sqlite3_reset in -lsqlite3... " >&6; } +if ${ac_cv_lib_sqlite3_sqlite3_reset+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-laitmqtt $LIBS" +LIBS="-lsqlite3 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3541,42 +3541,42 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char mqtt_msgAlloc (); +char sqlite3_reset (); int main () { -return mqtt_msgAlloc (); +return sqlite3_reset (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_aitmqtt_mqtt_msgAlloc=yes + ac_cv_lib_sqlite3_sqlite3_reset=yes else - ac_cv_lib_aitmqtt_mqtt_msgAlloc=no + ac_cv_lib_sqlite3_sqlite3_reset=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_msgAlloc" >&5 -$as_echo "$ac_cv_lib_aitmqtt_mqtt_msgAlloc" >&6; } -if test "x$ac_cv_lib_aitmqtt_mqtt_msgAlloc" = xyes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_reset" >&5 +$as_echo "$ac_cv_lib_sqlite3_sqlite3_reset" >&6; } +if test "x$ac_cv_lib_sqlite3_sqlite3_reset" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAITMQTT 1 +#define HAVE_LIBSQLITE3 1 _ACEOF - LIBS="-laitmqtt $LIBS" + LIBS="-lsqlite3 $LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for schedRun in -laitsched" >&5 -$as_echo_n "checking for schedRun in -laitsched... " >&6; } -if ${ac_cv_lib_aitsched_schedRun+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crcFletcher16 in -laitcrc" >&5 +$as_echo_n "checking for crcFletcher16 in -laitcrc... " >&6; } +if ${ac_cv_lib_aitcrc_crcFletcher16+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-laitsched $LIBS" +LIBS="-laitcrc $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3586,42 +3586,42 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char schedRun (); +char crcFletcher16 (); int main () { -return schedRun (); +return crcFletcher16 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_aitsched_schedRun=yes + ac_cv_lib_aitcrc_crcFletcher16=yes else - ac_cv_lib_aitsched_schedRun=no + ac_cv_lib_aitcrc_crcFletcher16=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_aitsched_schedRun" >&5 -$as_echo "$ac_cv_lib_aitsched_schedRun" >&6; } -if test "x$ac_cv_lib_aitsched_schedRun" = xyes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitcrc_crcFletcher16" >&5 +$as_echo "$ac_cv_lib_aitcrc_crcFletcher16" >&6; } +if test "x$ac_cv_lib_aitcrc_crcFletcher16" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAITSCHED 1 +#define HAVE_LIBAITCRC 1 _ACEOF - LIBS="-laitsched $LIBS" + LIBS="-laitcrc $LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BF_set_key in -lcrypto" >&5 -$as_echo_n "checking for BF_set_key in -lcrypto... " >&6; } -if ${ac_cv_lib_crypto_BF_set_key+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for io_allocVar in -laitio" >&5 +$as_echo_n "checking for io_allocVar in -laitio... " >&6; } +if ${ac_cv_lib_aitio_io_allocVar+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lcrypto $LIBS" +LIBS="-laitio $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3631,42 +3631,42 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char BF_set_key (); +char io_allocVar (); int main () { -return BF_set_key (); +return io_allocVar (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_crypto_BF_set_key=yes + ac_cv_lib_aitio_io_allocVar=yes else - ac_cv_lib_crypto_BF_set_key=no + ac_cv_lib_aitio_io_allocVar=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_crypto_BF_set_key" >&5 -$as_echo "$ac_cv_lib_crypto_BF_set_key" >&6; } -if test "x$ac_cv_lib_crypto_BF_set_key" = xyes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitio_io_allocVar" >&5 +$as_echo "$ac_cv_lib_aitio_io_allocVar" >&6; } +if test "x$ac_cv_lib_aitio_io_allocVar" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LIBCRYPTO 1 +#define HAVE_LIBAITIO 1 _ACEOF - LIBS="-lcrypto $LIBS" + LIBS="-laitio $LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 -$as_echo_n "checking for pthread_create in -lpthread... " >&6; } -if ${ac_cv_lib_pthread_pthread_create+:} 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 -LIBS="-lpthread $LIBS" +LIBS="-laitcfg $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3676,42 +3676,42 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char pthread_create (); +char cfgLoadConfig (); int main () { -return pthread_create (); +return cfgLoadConfig (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_pthread_pthread_create=yes + ac_cv_lib_aitcfg_cfgLoadConfig=yes else - ac_cv_lib_pthread_pthread_create=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_pthread_pthread_create" >&5 -$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } -if test "x$ac_cv_lib_pthread_pthread_create" = 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_LIBPTHREAD 1 +#define HAVE_LIBAITCFG 1 _ACEOF - LIBS="-lpthread $LIBS" + LIBS="-laitcfg $LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_reset in -lsqlite3" >&5 -$as_echo_n "checking for sqlite3_reset in -lsqlite3... " >&6; } -if ${ac_cv_lib_sqlite3_sqlite3_reset+:} 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 -LIBS="-lsqlite3 $LIBS" +LIBS="-laitmqtt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3721,42 +3721,42 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char sqlite3_reset (); +char mqtt_msgAlloc (); int main () { -return sqlite3_reset (); +return mqtt_msgAlloc (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_sqlite3_sqlite3_reset=yes + ac_cv_lib_aitmqtt_mqtt_msgAlloc=yes else - ac_cv_lib_sqlite3_sqlite3_reset=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_sqlite3_sqlite3_reset" >&5 -$as_echo "$ac_cv_lib_sqlite3_sqlite3_reset" >&6; } -if test "x$ac_cv_lib_sqlite3_sqlite3_reset" = 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_LIBSQLITE3 1 +#define HAVE_LIBAITMQTT 1 _ACEOF - LIBS="-lsqlite3 $LIBS" + LIBS="-laitmqtt $LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5 -$as_echo_n "checking for openpty in -lutil... " >&6; } -if ${ac_cv_lib_util_openpty+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for schedRun in -laitsched" >&5 +$as_echo_n "checking for schedRun in -laitsched... " >&6; } +if ${ac_cv_lib_aitsched_schedRun+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lutil $LIBS" +LIBS="-laitsched $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3766,32 +3766,32 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char openpty (); +char schedRun (); int main () { -return openpty (); +return schedRun (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_util_openpty=yes + ac_cv_lib_aitsched_schedRun=yes else - ac_cv_lib_util_openpty=no + ac_cv_lib_aitsched_schedRun=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_util_openpty" >&5 -$as_echo "$ac_cv_lib_util_openpty" >&6; } -if test "x$ac_cv_lib_util_openpty" = xyes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitsched_schedRun" >&5 +$as_echo "$ac_cv_lib_aitsched_schedRun" >&6; } +if test "x$ac_cv_lib_aitsched_schedRun" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LIBUTIL 1 +#define HAVE_LIBAITSCHED 1 _ACEOF - LIBS="-lutil $LIBS" + LIBS="-laitsched $LIBS" fi