|
version 1.1.2.1, 2011/10/13 16:00:41
|
version 1.3.2.2, 2012/04/05 14:18:54
|
|
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.68 for ansh 1.0. | # Generated by GNU Autoconf 2.68 for ansh 1.2. |
| # |
# |
| # Report bugs to <misho@elwix.org>. |
# Report bugs to <misho@elwix.org>. |
| # |
# |
|
Line 560 MAKEFLAGS=
|
Line 560 MAKEFLAGS=
|
| # Identity of this package. |
# Identity of this package. |
| PACKAGE_NAME='ansh' |
PACKAGE_NAME='ansh' |
| PACKAGE_TARNAME='ansh' |
PACKAGE_TARNAME='ansh' |
| PACKAGE_VERSION='1.0' | PACKAGE_VERSION='1.2' |
| PACKAGE_STRING='ansh 1.0' | PACKAGE_STRING='ansh 1.2' |
| PACKAGE_BUGREPORT='misho@elwix.org' |
PACKAGE_BUGREPORT='misho@elwix.org' |
| PACKAGE_URL='' |
PACKAGE_URL='' |
| |
|
|
Line 671 SHELL'
|
Line 671 SHELL'
|
| ac_subst_files='' |
ac_subst_files='' |
| ac_user_opts=' |
ac_user_opts=' |
| enable_option_checking |
enable_option_checking |
| |
enable_static |
| ' |
' |
| ac_precious_vars='build_alias |
ac_precious_vars='build_alias |
| host_alias |
host_alias |
|
Line 680 CFLAGS
|
Line 681 CFLAGS
|
| LDFLAGS |
LDFLAGS |
| LIBS |
LIBS |
| CPPFLAGS |
CPPFLAGS |
| CPP | CPP' |
| CPPFLAGS' | |
| |
|
| |
|
| # Initialize some variables set by options. |
# Initialize some variables set by options. |
|
Line 1224 if test "$ac_init_help" = "long"; then
|
Line 1224 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 ansh 1.0 to adapt to many kinds of systems. | \`configure' configures ansh 1.2 to adapt to many kinds of systems. |
| |
|
| Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
| |
|
|
Line 1290 fi
|
Line 1290 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 ansh 1.0:";; | short | recursive ) echo "Configuration of ansh 1.2:";; |
| esac |
esac |
| cat <<\_ACEOF |
cat <<\_ACEOF |
| |
|
| |
Optional Features: |
| |
--disable-option-checking ignore unrecognized --enable/--with options |
| |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| |
--enable-static Static build for ansh software |
| |
|
| 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 1370 fi
|
Line 1376 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 |
| ansh configure 1.0 | ansh configure 1.2 |
| generated by GNU Autoconf 2.68 |
generated by GNU Autoconf 2.68 |
| |
|
| Copyright (C) 2010 Free Software Foundation, Inc. |
Copyright (C) 2010 Free Software Foundation, Inc. |
|
Line 1920 cat >config.log <<_ACEOF
|
Line 1926 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 ansh $as_me 1.0, which was | It was created by ansh $as_me 1.2, which was |
| generated by GNU Autoconf 2.68. Invocation command line was |
generated by GNU Autoconf 2.68. Invocation command line was |
| |
|
| $ $0 $@ |
$ $0 $@ |
|
Line 3396 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
|
Line 3402 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
|
| |
|
| # Checks for libraries. |
# Checks for libraries. |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crcAdler in -laitcrc" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_ctr128_encrypt in -lcrypto" >&5 |
| $as_echo_n "checking for crcAdler in -laitcrc... " >&6; } | $as_echo_n "checking for AES_ctr128_encrypt in -lcrypto... " >&6; } |
| if ${ac_cv_lib_aitcrc_crcAdler+:} false; then : | if ${ac_cv_lib_crypto_AES_ctr128_encrypt+:} 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 3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char crcAdler (); | char AES_ctr128_encrypt (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return crcAdler (); | return AES_ctr128_encrypt (); |
| ; |
; |
| 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_crcAdler=yes | ac_cv_lib_crypto_AES_ctr128_encrypt=yes |
| else |
else |
| ac_cv_lib_aitcrc_crcAdler=no | ac_cv_lib_crypto_AES_ctr128_encrypt=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_crcAdler" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_ctr128_encrypt" >&5 |
| $as_echo "$ac_cv_lib_aitcrc_crcAdler" >&6; } | $as_echo "$ac_cv_lib_crypto_AES_ctr128_encrypt" >&6; } |
| if test "x$ac_cv_lib_aitcrc_crcAdler" = xyes; then : | if test "x$ac_cv_lib_crypto_AES_ctr128_encrypt" = 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 ioForkPTY in -laitio" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5 |
| $as_echo_n "checking for ioForkPTY in -laitio... " >&6; } | $as_echo_n "checking for openpty in -lutil... " >&6; } |
| if ${ac_cv_lib_aitio_ioForkPTY+:} 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="-laitio $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 3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char ioForkPTY (); | char openpty (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return ioForkPTY (); | 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_aitio_ioForkPTY=yes | ac_cv_lib_util_openpty=yes |
| else |
else |
| ac_cv_lib_aitio_ioForkPTY=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_aitio_ioForkPTY" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5 |
| $as_echo "$ac_cv_lib_aitio_ioForkPTY" >&6; } | $as_echo "$ac_cv_lib_util_openpty" >&6; } |
| if test "x$ac_cv_lib_aitio_ioForkPTY" = xyes; then : | if test "x$ac_cv_lib_util_openpty" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_LIBAITIO 1 | #define HAVE_LIBUTIL 1 |
| _ACEOF |
_ACEOF |
| |
|
| LIBS="-laitio $LIBS" | LIBS="-lutil $LIBS" |
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for schedRead in -laitsched" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crcAdler in -laitcrc" >&5 |
| $as_echo_n "checking for schedRead in -laitsched... " >&6; } | $as_echo_n "checking for crcAdler in -laitcrc... " >&6; } |
| if ${ac_cv_lib_aitsched_schedRead+:} false; then : | if ${ac_cv_lib_aitcrc_crcAdler+:} 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 3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char schedRead (); | char crcAdler (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return schedRead (); | return crcAdler (); |
| ; |
; |
| 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_schedRead=yes | ac_cv_lib_aitcrc_crcAdler=yes |
| else |
else |
| ac_cv_lib_aitsched_schedRead=no | ac_cv_lib_aitcrc_crcAdler=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_schedRead" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitcrc_crcAdler" >&5 |
| $as_echo "$ac_cv_lib_aitsched_schedRead" >&6; } | $as_echo "$ac_cv_lib_aitcrc_crcAdler" >&6; } |
| if test "x$ac_cv_lib_aitsched_schedRead" = xyes; then : | if test "x$ac_cv_lib_aitcrc_crcAdler" = 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 AES_ctr128_encrypt in -lcrypto" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioForkPTY in -laitio" >&5 |
| $as_echo_n "checking for AES_ctr128_encrypt in -lcrypto... " >&6; } | $as_echo_n "checking for ioForkPTY in -laitio... " >&6; } |
| if ${ac_cv_lib_crypto_AES_ctr128_encrypt+:} false; then : | if ${ac_cv_lib_aitio_ioForkPTY+:} 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 3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" |
extern "C" |
| #endif |
#endif |
| char AES_ctr128_encrypt (); | char ioForkPTY (); |
| int |
int |
| main () |
main () |
| { |
{ |
| return AES_ctr128_encrypt (); | return ioForkPTY (); |
| ; |
; |
| 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_AES_ctr128_encrypt=yes | ac_cv_lib_aitio_ioForkPTY=yes |
| else |
else |
| ac_cv_lib_crypto_AES_ctr128_encrypt=no | ac_cv_lib_aitio_ioForkPTY=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_AES_ctr128_encrypt" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitio_ioForkPTY" >&5 |
| $as_echo "$ac_cv_lib_crypto_AES_ctr128_encrypt" >&6; } | $as_echo "$ac_cv_lib_aitio_ioForkPTY" >&6; } |
| if test "x$ac_cv_lib_crypto_AES_ctr128_encrypt" = xyes; then : | if test "x$ac_cv_lib_aitio_ioForkPTY" = 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 openpty in -lutil" >&5 | #AC_CHECK_LIB([aitsched], [schedRead]) |
| $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="-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 openpty (); |
|
| int |
|
| main () |
|
| { |
|
| return openpty (); |
|
| ; |
|
| return 0; |
|
| } |
|
| _ACEOF |
|
| if ac_fn_c_try_link "$LINENO"; then : |
|
| ac_cv_lib_util_openpty=yes |
|
| else |
|
| 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_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_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 4392 fi
|
Line 4354 fi
|
| done |
done |
| |
|
| |
|
| |
STATIC="no" |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Static build for ansh" >&5 |
| |
$as_echo_n "checking Static build for ansh... " >&6; } |
| |
# Check whether --enable-static was given. |
| |
if test "${enable_static+set}" = set; then : |
| |
enableval=$enable_static; STATIC=$enableval |
| |
case "$enableval" in |
| |
yes) |
| |
LDFLAGS="-static ${LDFLAGS}" |
| |
;; |
| |
*) |
| |
;; |
| |
esac |
| |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STATIC" >&5 |
| |
$as_echo "$STATIC" >&6; } |
| |
|
| ac_config_files="$ac_config_files Makefile bin/Makefile inc/Makefile src/Makefile" |
ac_config_files="$ac_config_files Makefile bin/Makefile inc/Makefile src/Makefile" |
| |
|
| cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
|
Line 4912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 4892 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 ansh $as_me 1.0, which was | This file was extended by ansh $as_me 1.2, which was |
| generated by GNU Autoconf 2.68. Invocation command line was |
generated by GNU Autoconf 2.68. Invocation command line was |
| |
|
| CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
|
Line 4974 _ACEOF
|
Line 4954 _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="\\ |
| ansh config.status 1.0 | ansh config.status 1.2 |
| configured by $0, generated by GNU Autoconf 2.68, |
configured by $0, generated by GNU Autoconf 2.68, |
| with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
| |
|