version 1.3.2.1, 2011/08/18 15:10:22
|
version 1.5.2.1, 2011/09/07 07:26:25
|
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.64 for libaitrpc 1.2. | # Generated by GNU Autoconf 2.64 for libaitrpc 2.0. |
# |
# |
# Report bugs to <misho@openbsd-bg.org>. | # Report bugs to <misho@elwix.org>. |
# |
# |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
Line 228 fi
|
Line 228 fi
|
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
else |
else |
$as_echo "$0: Please tell bug-autoconf@gnu.org and | $as_echo "$0: Please tell bug-autoconf@gnu.org and misho@elwix.org |
$0: misho@openbsd-bg.org about your system, including any | $0: about your system, including any error possibly output |
$0: error possibly output before this message. Then install | $0: before this message. Then install a modern shell, or |
$0: a modern shell, or manually run the script under such a | $0: manually run the script under such a shell if you do |
$0: shell if you do have one." | $0: have one." |
fi |
fi |
exit 1 |
exit 1 |
fi |
fi |
Line 549 MAKEFLAGS=
|
Line 549 MAKEFLAGS=
|
# Identity of this package. |
# Identity of this package. |
PACKAGE_NAME='libaitrpc' |
PACKAGE_NAME='libaitrpc' |
PACKAGE_TARNAME='libaitrpc' |
PACKAGE_TARNAME='libaitrpc' |
PACKAGE_VERSION='1.2' | PACKAGE_VERSION='2.0' |
PACKAGE_STRING='libaitrpc 1.2' | PACKAGE_STRING='libaitrpc 2.0' |
PACKAGE_BUGREPORT='misho@openbsd-bg.org' | PACKAGE_BUGREPORT='misho@elwix.org' |
PACKAGE_URL='' |
PACKAGE_URL='' |
|
|
ac_unique_file="src/aitrpc.c" |
ac_unique_file="src/aitrpc.c" |
Line 1212 if test "$ac_init_help" = "long"; then
|
Line 1212 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 libaitrpc 1.2 to adapt to many kinds of systems. | \`configure' configures libaitrpc 2.0 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
Line 1278 fi
|
Line 1278 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 libaitrpc 1.2:";; | short | recursive ) echo "Configuration of libaitrpc 2.0:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
Line 1301 Some influential environment variables:
|
Line 1301 Some influential environment variables:
|
Use these variables to override the choices made by `configure' or to help |
Use these variables to override the choices made by `configure' or to help |
it to find libraries and programs with nonstandard names/locations. |
it to find libraries and programs with nonstandard names/locations. |
|
|
Report bugs to <misho@openbsd-bg.org>. | Report bugs to <misho@elwix.org>. |
_ACEOF |
_ACEOF |
ac_status=$? |
ac_status=$? |
fi |
fi |
Line 1364 fi
|
Line 1364 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 |
libaitrpc configure 1.2 | libaitrpc configure 2.0 |
generated by GNU Autoconf 2.64 |
generated by GNU Autoconf 2.64 |
|
|
Copyright (C) 2009 Free Software Foundation, Inc. |
Copyright (C) 2009 Free Software Foundation, Inc. |
Line 1570 $as_echo "$as_me: WARNING: $2: section \"Present B
|
Line 1570 $as_echo "$as_me: WARNING: $2: section \"Present B
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
( cat <<\_ASBOX |
( cat <<\_ASBOX |
## ----------------------------------- ## | ## ------------------------------ ## |
## Report this to misho@openbsd-bg.org ## | ## Report this to misho@elwix.org ## |
## ----------------------------------- ## | ## ------------------------------ ## |
_ASBOX |
_ASBOX |
) | sed "s/^/$as_me: WARNING: /" >&2 |
) | sed "s/^/$as_me: WARNING: /" >&2 |
;; |
;; |
Line 1736 $as_echo "$ac_res" >&6; }
|
Line 1736 $as_echo "$ac_res" >&6; }
|
|
|
} # ac_fn_c_find_intX_t |
} # ac_fn_c_find_intX_t |
|
|
|
# ac_fn_c_find_uintX_t LINENO BITS VAR |
|
# ------------------------------------ |
|
# Finds an unsigned integer type with width BITS, setting cache variable VAR |
|
# accordingly. |
|
ac_fn_c_find_uintX_t () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
|
$as_echo_n "checking for uint$2_t... " >&6; } |
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
eval "$3=no" |
|
for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ |
|
'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
$ac_includes_default |
|
int |
|
main () |
|
{ |
|
static int test_array [1 - 2 * !(($ac_type) -1 >> ($2 - 1) == 1)]; |
|
test_array [0] = 0 |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
case $ac_type in #( |
|
uint$2_t) : |
|
eval "$3=yes" ;; #( |
|
*) : |
|
eval "$3=\$ac_type" ;; |
|
esac |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
eval as_val=\$$3 |
|
if test "x$as_val" = x""no; then : |
|
|
|
else |
|
break |
|
fi |
|
done |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
|
} # ac_fn_c_find_uintX_t |
|
|
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
# ------------------------------------------- |
# ------------------------------------------- |
# Tests whether TYPE exists after having included INCLUDES, setting cache |
# Tests whether TYPE exists after having included INCLUDES, setting cache |
Line 1790 $as_echo "$ac_res" >&6; }
|
Line 1842 $as_echo "$ac_res" >&6; }
|
|
|
} # ac_fn_c_check_type |
} # ac_fn_c_check_type |
|
|
# ac_fn_c_find_uintX_t LINENO BITS VAR |
|
# ------------------------------------ |
|
# Finds an unsigned integer type with width BITS, setting cache variable VAR |
|
# accordingly. |
|
ac_fn_c_find_uintX_t () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
|
$as_echo_n "checking for uint$2_t... " >&6; } |
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
eval "$3=no" |
|
for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ |
|
'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
$ac_includes_default |
|
int |
|
main () |
|
{ |
|
static int test_array [1 - 2 * !(($ac_type) -1 >> ($2 - 1) == 1)]; |
|
test_array [0] = 0 |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
case $ac_type in #( |
|
uint$2_t) : |
|
eval "$3=yes" ;; #( |
|
*) : |
|
eval "$3=\$ac_type" ;; |
|
esac |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
eval as_val=\$$3 |
|
if test "x$as_val" = x""no; then : |
|
|
|
else |
|
break |
|
fi |
|
done |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
|
} # ac_fn_c_find_uintX_t |
|
|
|
# ac_fn_c_check_func LINENO FUNC VAR |
# ac_fn_c_check_func LINENO FUNC VAR |
# ---------------------------------- |
# ---------------------------------- |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
Line 1912 cat >config.log <<_ACEOF
|
Line 1912 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 libaitrpc $as_me 1.2, which was | It was created by libaitrpc $as_me 2.0, which was |
generated by GNU Autoconf 2.64. Invocation command line was |
generated by GNU Autoconf 2.64. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
Line 3358 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
|
Line 3358 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
|
|
|
# Checks for libraries. |
# Checks for libraries. |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for io_arrayInit in -laitio" >&5 |
|
$as_echo_n "checking for io_arrayInit in -laitio... " >&6; } |
|
if test "${ac_cv_lib_aitio_io_arrayInit+set}" = set; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-laitio $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 io_arrayInit (); |
|
int |
|
main () |
|
{ |
|
return io_arrayInit (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_aitio_io_arrayInit=yes |
|
else |
|
ac_cv_lib_aitio_io_arrayInit=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_arrayInit" >&5 |
|
$as_echo "$ac_cv_lib_aitio_io_arrayInit" >&6; } |
|
if test "x$ac_cv_lib_aitio_io_arrayInit" = x""yes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBAITIO 1 |
|
_ACEOF |
|
|
|
LIBS="-laitio $LIBS" |
|
|
|
fi |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crcFletcher16 in -laitcrc" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crcFletcher16 in -laitcrc" >&5 |
$as_echo_n "checking for crcFletcher16 in -laitcrc... " >&6; } |
$as_echo_n "checking for crcFletcher16 in -laitcrc... " >&6; } |
if test "${ac_cv_lib_aitcrc_crcFletcher16+set}" = set; then : |
if test "${ac_cv_lib_aitcrc_crcFletcher16+set}" = set; then : |
Line 3403 _ACEOF
|
Line 3448 _ACEOF
|
|
|
fi |
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 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 |
|
|
|
|
# Checks for header files. |
# Checks for header files. |
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
Line 3905 _ACEOF
|
Line 3995 _ACEOF
|
;; |
;; |
esac |
esac |
|
|
ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" |
|
if test "x$ac_cv_type_off_t" = x""yes; then : |
|
|
|
else |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define off_t long int |
|
_ACEOF |
|
|
|
fi |
|
|
|
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
|
if test "x$ac_cv_type_size_t" = x""yes; then : |
|
|
|
else |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define size_t unsigned int |
|
_ACEOF |
|
|
|
fi |
|
|
|
ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" |
ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" |
case $ac_cv_c_uint16_t in #( |
case $ac_cv_c_uint16_t in #( |
no|yes) ;; #( |
no|yes) ;; #( |
Line 4379 _ACEOF
|
Line 4447 _ACEOF
|
fi |
fi |
done |
done |
|
|
|
for ac_func in pthread_yield |
|
do : |
|
ac_fn_c_check_func "$LINENO" "pthread_yield" "ac_cv_func_pthread_yield" |
|
if test "x$ac_cv_func_pthread_yield" = x""yes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_PTHREAD_YIELD 1 |
|
_ACEOF |
|
|
|
fi |
|
done |
|
|
|
for ac_func in io_arrayInit io_arrayDestroy |
|
do : |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
eval as_val=\$$as_ac_var |
|
if test "x$as_val" = x""yes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
_ACEOF |
|
|
|
fi |
|
done |
|
|
|
|
DEBUG=no |
DEBUG=no |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Debug Build" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Debug Build" >&5 |
$as_echo_n "checking Debug Build... " >&6; } |
$as_echo_n "checking Debug Build... " >&6; } |
Line 4911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 5003 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 libaitrpc $as_me 1.2, which was | This file was extended by libaitrpc $as_me 2.0, which was |
generated by GNU Autoconf 2.64. Invocation command line was |
generated by GNU Autoconf 2.64. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
Line 4966 $config_files
|
Line 5058 $config_files
|
Configuration headers: |
Configuration headers: |
$config_headers |
$config_headers |
|
|
Report bugs to <misho@openbsd-bg.org>." | Report bugs to <misho@elwix.org>." |
|
|
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
ac_cs_version="\\ |
ac_cs_version="\\ |
libaitrpc config.status 1.2 | libaitrpc config.status 2.0 |
configured by $0, generated by GNU Autoconf 2.64, |
configured by $0, generated by GNU Autoconf 2.64, |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|
|