|
version 1.1.2.2, 2012/07/03 12:27:19
|
version 1.4, 2017/10/08 22:49:24
|
|
Line 1
|
Line 1
|
| #! /bin/sh |
#! /bin/sh |
| # Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
| # Generated by GNU Autoconf 2.69 for mqtt 1.2. | # Generated by GNU Autoconf 2.69 for mqtt 2.0. |
| # |
# |
| # Report bugs to <misho@elwix.org>. |
# Report bugs to <misho@elwix.org>. |
| # |
# |
|
Line 580 MAKEFLAGS=
|
Line 580 MAKEFLAGS=
|
| # Identity of this package. |
# Identity of this package. |
| PACKAGE_NAME='mqtt' |
PACKAGE_NAME='mqtt' |
| PACKAGE_TARNAME='mqtt' |
PACKAGE_TARNAME='mqtt' |
| PACKAGE_VERSION='1.2' | PACKAGE_VERSION='2.0' |
| PACKAGE_STRING='mqtt 1.2' | PACKAGE_STRING='mqtt 2.0' |
| PACKAGE_BUGREPORT='misho@elwix.org' |
PACKAGE_BUGREPORT='misho@elwix.org' |
| PACKAGE_URL='' |
PACKAGE_URL='' |
| |
|
|
Line 624 ac_includes_default="\
|
Line 624 ac_includes_default="\
|
| |
|
| ac_header_list= |
ac_header_list= |
| ac_subst_vars='LTLIBOBJS |
ac_subst_vars='LTLIBOBJS |
| |
SQLITE3DIR |
| LIBOBJS |
LIBOBJS |
| EGREP |
EGREP |
| GREP |
GREP |
|
Line 694 ac_subst_files=''
|
Line 695 ac_subst_files=''
|
| ac_user_opts=' |
ac_user_opts=' |
| enable_option_checking |
enable_option_checking |
| enable_debug |
enable_debug |
| |
with_sqlite3dir |
| ' |
' |
| ac_precious_vars='build_alias |
ac_precious_vars='build_alias |
| host_alias |
host_alias |
|
Line 1244 if test "$ac_init_help" = "long"; then
|
Line 1246 if test "$ac_init_help" = "long"; then
|
| # Omit some internal or obsolete options to make the list less imposing. |
# Omit some internal or obsolete options to make the list less imposing. |
| # This message is too long to be a string in the A/UX 3.1 sh. |
# This message is too long to be a string in the A/UX 3.1 sh. |
| cat <<_ACEOF |
cat <<_ACEOF |
| \`configure' configures mqtt 1.2 to adapt to many kinds of systems. | \`configure' configures mqtt 2.0 to adapt to many kinds of systems. |
| |
|
| Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
| |
|
|
Line 1310 fi
|
Line 1312 fi
|
| |
|
| if test -n "$ac_init_help"; then |
if test -n "$ac_init_help"; then |
| case $ac_init_help in |
case $ac_init_help in |
| short | recursive ) echo "Configuration of mqtt 1.2:";; | short | recursive ) echo "Configuration of mqtt 2.0:";; |
| esac |
esac |
| cat <<\_ACEOF |
cat <<\_ACEOF |
| |
|
|
Line 1320 Optional Features:
|
Line 1322 Optional Features:
|
| --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| --enable-debug Build library with debug information and additional messages |
--enable-debug Build library with debug information and additional messages |
| |
|
| |
Optional Packages: |
| |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| |
--with-sqlite3dir=<dir> Custom SQLite3 install directory |
| |
|
| Some influential environment variables: |
Some influential environment variables: |
| CC C compiler command |
CC C compiler command |
| CFLAGS C compiler flags |
CFLAGS C compiler flags |
|
Line 1396 fi
|
Line 1403 fi
|
| test -n "$ac_init_help" && exit $ac_status |
test -n "$ac_init_help" && exit $ac_status |
| if $ac_init_version; then |
if $ac_init_version; then |
| cat <<\_ACEOF |
cat <<\_ACEOF |
| mqtt configure 1.2 | mqtt configure 2.0 |
| generated by GNU Autoconf 2.69 |
generated by GNU Autoconf 2.69 |
| |
|
| Copyright (C) 2012 Free Software Foundation, Inc. |
Copyright (C) 2012 Free Software Foundation, Inc. |
|
Line 1819 cat >config.log <<_ACEOF
|
Line 1826 cat >config.log <<_ACEOF
|
| This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
| running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
| |
|
| It was created by mqtt $as_me 1.2, which was | It was created by mqtt $as_me 2.0, which was |
| generated by GNU Autoconf 2.69. Invocation command line was |
generated by GNU Autoconf 2.69. Invocation command line was |
| |
|
| $ $0 $@ |
$ $0 $@ |
|
Line 2174 ac_config_headers="$ac_config_headers inc/config.h"
|
Line 2181 ac_config_headers="$ac_config_headers inc/config.h"
|
| |
|
| |
|
| |
|
| |
ac_cv_func_malloc_0_nonnull="yes" |
| |
ac_cv_func_realloc_0_nonnull="yes" |
| |
|
| # Checks for programs. |
# Checks for programs. |
| ac_ext=c |
ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
|
Line 3384 fi
|
Line 3394 fi
|
| |
|
| |
|
| |
|
| CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" | CFLAGS="-Wall -O2 -fPIC ${CFLAGS}" |
| LDFLAGS="-L/usr/local/lib ${LDFLAGS}" | LDFLAGS="${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 3416 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 3461 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 3506 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 3551 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 ait_allocVar in -lelwix" >&5 |
| $as_echo_n "checking for schedRun in -laitsched... " >&6; } | $as_echo_n "checking for ait_allocVar in -lelwix... " >&6; } |
| if ${ac_cv_lib_aitsched_schedRun+:} false; then : | if ${ac_cv_lib_elwix_ait_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="-laitsched $LIBS" | LIBS="-lelwix $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 3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char schedRun (); | char ait_allocVar (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return schedRun (); | return ait_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_aitsched_schedRun=yes | ac_cv_lib_elwix_ait_allocVar=yes |
| else |
else |
| ac_cv_lib_aitsched_schedRun=no | ac_cv_lib_elwix_ait_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_aitsched_schedRun" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elwix_ait_allocVar" >&5 |
| $as_echo "$ac_cv_lib_aitsched_schedRun" >&6; } | $as_echo "$ac_cv_lib_elwix_ait_allocVar" >&6; } |
| if test "x$ac_cv_lib_aitsched_schedRun" = xyes; then : | if test "x$ac_cv_lib_elwix_ait_allocVar" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBAITSCHED 1 | #define HAVE_LIBELWIX 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-laitsched $LIBS" | LIBS="-lelwix $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 cfgLoadConfig in -laitcfg" >&5 |
| $as_echo_n "checking for BF_set_key in -lcrypto... " >&6; } | $as_echo_n "checking for cfgLoadConfig in -laitcfg... " >&6; } |
| if ${ac_cv_lib_crypto_BF_set_key+:} 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="-lcrypto $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 3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char BF_set_key (); | char cfgLoadConfig (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return BF_set_key (); | 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_crypto_BF_set_key=yes | ac_cv_lib_aitcfg_cfgLoadConfig=yes |
| else |
else |
| ac_cv_lib_crypto_BF_set_key=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_crypto_BF_set_key" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitcfg_cfgLoadConfig" >&5 |
| $as_echo "$ac_cv_lib_crypto_BF_set_key" >&6; } | $as_echo "$ac_cv_lib_aitcfg_cfgLoadConfig" >&6; } |
| if test "x$ac_cv_lib_crypto_BF_set_key" = xyes; then : | if test "x$ac_cv_lib_aitcfg_cfgLoadConfig" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBCRYPTO 1 | #define HAVE_LIBAITCFG 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-lcrypto $LIBS" | LIBS="-laitcfg $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 mqtt_msgAlloc in -laitmqtt" >&5 |
| $as_echo_n "checking for pthread_create in -lpthread... " >&6; } | $as_echo_n "checking for mqtt_msgAlloc in -laitmqtt... " >&6; } |
| if ${ac_cv_lib_pthread_pthread_create+:} 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="-lpthread $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 3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char pthread_create (); | char mqtt_msgAlloc (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return pthread_create (); | 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_pthread_pthread_create=yes | ac_cv_lib_aitmqtt_mqtt_msgAlloc=yes |
| else |
else |
| ac_cv_lib_pthread_pthread_create=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_pthread_pthread_create" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitmqtt_mqtt_msgAlloc" >&5 |
| $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } | $as_echo "$ac_cv_lib_aitmqtt_mqtt_msgAlloc" >&6; } |
| if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : | if test "x$ac_cv_lib_aitmqtt_mqtt_msgAlloc" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBAITMQTT 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-lpthread $LIBS" | LIBS="-laitmqtt $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 schedRun in -laitsched" >&5 |
| $as_echo_n "checking for sqlite3_reset in -lsqlite3... " >&6; } | $as_echo_n "checking for schedRun in -laitsched... " >&6; } |
| if ${ac_cv_lib_sqlite3_sqlite3_reset+:} 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="-lsqlite3 $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 3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char sqlite3_reset (); | char schedRun (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return sqlite3_reset (); | 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_sqlite3_sqlite3_reset=yes | ac_cv_lib_aitsched_schedRun=yes |
| else |
else |
| ac_cv_lib_sqlite3_sqlite3_reset=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_sqlite3_sqlite3_reset" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitsched_schedRun" >&5 |
| $as_echo "$ac_cv_lib_sqlite3_sqlite3_reset" >&6; } | $as_echo "$ac_cv_lib_aitsched_schedRun" >&6; } |
| if test "x$ac_cv_lib_sqlite3_sqlite3_reset" = xyes; then : | if test "x$ac_cv_lib_aitsched_schedRun" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBSQLITE3 1 | #define HAVE_LIBAITSCHED 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-lsqlite3 $LIBS" | LIBS="-laitsched $LIBS" |
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flopen in -lutil" >&5 |
|
| $as_echo_n "checking for flopen in -lutil... " >&6; } |
|
| if ${ac_cv_lib_util_flopen+:} false; then : |
|
| $as_echo_n "(cached) " >&6 |
|
| else |
|
| ac_check_lib_save_LIBS=$LIBS |
|
| LIBS="-lutil $LIBS" |
|
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
| /* end confdefs.h. */ |
|
| |
|
| /* Override any GCC internal prototype to avoid an error. |
|
| Use char because int might match the return type of a GCC |
|
| builtin and then its argument prototype would still apply. */ |
|
| #ifdef __cplusplus |
|
| extern "C" |
|
| #endif |
|
| char flopen (); |
|
| int |
|
| main () |
|
| { |
|
| return flopen (); |
|
| ; |
|
| return 0; |
|
| } |
|
| _ACEOF |
|
| if ac_fn_c_try_link "$LINENO"; then : |
|
| ac_cv_lib_util_flopen=yes |
|
| else |
|
| ac_cv_lib_util_flopen=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_flopen" >&5 |
|
| $as_echo "$ac_cv_lib_util_flopen" >&6; } |
|
| if test "x$ac_cv_lib_util_flopen" = xyes; then : |
|
| cat >>confdefs.h <<_ACEOF |
|
| #define HAVE_LIBUTIL 1 |
|
| _ACEOF |
|
| |
|
| LIBS="-lutil $LIBS" |
|
| |
|
| fi |
|
| |
|
| |
|
| # Checks for header files. |
# Checks for header files. |
| ac_ext=c |
ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
|
Line 4853 fi
|
Line 4818 fi
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5 |
| $as_echo "$DEBUG" >&6; } |
$as_echo "$DEBUG" >&6; } |
| |
|
| |
SQLITE3DIR="/usr/local" |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking SQLite3 install directory" >&5 |
| |
$as_echo_n "checking SQLite3 install directory... " >&6; } |
| |
|
| |
# Check whether --with-sqlite3dir was given. |
| |
if test "${with_sqlite3dir+set}" = set; then : |
| |
withval=$with_sqlite3dir; SQLITE3DIR="$withval" |
| |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SQLITE3DIR" >&5 |
| |
$as_echo "$SQLITE3DIR" >&6; } |
| |
|
| |
|
| ac_config_files="$ac_config_files Makefile bin/Makefile inc/Makefile lib/Makefile src/Makefile" |
ac_config_files="$ac_config_files Makefile bin/Makefile inc/Makefile lib/Makefile src/Makefile" |
| |
|
| cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
|
Line 5361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 5339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
| # report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
| # values after options handling. |
# values after options handling. |
| ac_log=" |
ac_log=" |
| This file was extended by mqtt $as_me 1.2, which was | This file was extended by mqtt $as_me 2.0, which was |
| generated by GNU Autoconf 2.69. Invocation command line was |
generated by GNU Autoconf 2.69. Invocation command line was |
| |
|
| CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
|
Line 5423 _ACEOF
|
Line 5401 _ACEOF
|
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| ac_cs_version="\\ |
ac_cs_version="\\ |
| mqtt config.status 1.2 | mqtt config.status 2.0 |
| configured by $0, generated by GNU Autoconf 2.69, |
configured by $0, generated by GNU Autoconf 2.69, |
| with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
| |
|