|
version 1.2.2.1, 2013/04/09 07:39:36
|
version 1.2.2.2, 2013/04/09 08:17:40
|
|
Line 3183 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
|
Line 3183 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
|
| |
|
| # Checks for libraries. |
# Checks for libraries. |
| |
|
| |
{ $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 test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_check_lib_save_LIBS=$LIBS |
| |
LIBS="-lpthread $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 pthread_create (); |
| |
int |
| |
main () |
| |
{ |
| |
return pthread_create (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_lib_pthread_pthread_create=yes |
| |
else |
| |
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_pthread_pthread_create" >&5 |
| |
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } |
| |
if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : |
| |
cat >>confdefs.h <<_ACEOF |
| |
#define HAVE_LIBPTHREAD 1 |
| |
_ACEOF |
| |
|
| |
LIBS="-lpthread $LIBS" |
| |
|
| |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setusercontext in -lutil" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for setusercontext in -lutil" >&5 |
| $as_echo_n "checking for setusercontext in -lutil... " >&6; } |
$as_echo_n "checking for setusercontext in -lutil... " >&6; } |
| if test "${ac_cv_lib_util_setusercontext+set}" = set; then : |
if test "${ac_cv_lib_util_setusercontext+set}" = set; then : |
|
Line 3228 _ACEOF
|
Line 3273 _ACEOF
|
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for io_arrayMake in -laitio" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for array_Args in -lelwix" >&5 |
| $as_echo_n "checking for io_arrayMake in -laitio... " >&6; } | $as_echo_n "checking for array_Args in -lelwix... " >&6; } |
| if test "${ac_cv_lib_aitio_io_arrayMake+set}" = set; then : | if test "${ac_cv_lib_elwix_array_Args+set}" = set; 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="-lelwix $LIBS" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| |
|
|
Line 3244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char io_arrayMake (); | char array_Args (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return io_arrayMake (); | return array_Args (); |
| ; |
; |
| 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_arrayMake=yes | ac_cv_lib_elwix_array_Args=yes |
| else |
else |
| ac_cv_lib_aitio_io_arrayMake=no | ac_cv_lib_elwix_array_Args=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_arrayMake" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elwix_array_Args" >&5 |
| $as_echo "$ac_cv_lib_aitio_io_arrayMake" >&6; } | $as_echo "$ac_cv_lib_elwix_array_Args" >&6; } |
| if test "x$ac_cv_lib_aitio_io_arrayMake" = x""yes; then : | if test "x$ac_cv_lib_elwix_array_Args" = x""yes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBAITIO 1 | #define HAVE_LIBELWIX 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-laitio $LIBS" | LIBS="-lelwix $LIBS" |
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LoadConfig in -laitcfg" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfgLoadConfig in -laitcfg" >&5 |
| $as_echo_n "checking for LoadConfig in -laitcfg... " >&6; } | $as_echo_n "checking for cfgLoadConfig in -laitcfg... " >&6; } |
| if test "${ac_cv_lib_aitcfg_LoadConfig+set}" = set; then : | if test "${ac_cv_lib_aitcfg_cfgLoadConfig+set}" = set; 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 3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char LoadConfig (); | char cfgLoadConfig (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return LoadConfig (); | 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_LoadConfig=yes | ac_cv_lib_aitcfg_cfgLoadConfig=yes |
| else |
else |
| ac_cv_lib_aitcfg_LoadConfig=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_LoadConfig" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitcfg_cfgLoadConfig" >&5 |
| $as_echo "$ac_cv_lib_aitcfg_LoadConfig" >&6; } | $as_echo "$ac_cv_lib_aitcfg_cfgLoadConfig" >&6; } |
| if test "x$ac_cv_lib_aitcfg_LoadConfig" = x""yes; then : | if test "x$ac_cv_lib_aitcfg_cfgLoadConfig" = x""yes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBAITCFG 1 |
#define HAVE_LIBAITCFG 1 |
| _ACEOF |
_ACEOF |