--- libaitio/configure 2011/03/16 16:44:52 1.7 +++ libaitio/configure 2011/04/19 20:00:30 1.8 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61 for libaitio 1.5. +# Generated by GNU Autoconf 2.61 for libaitio 1.6. # # Report bugs to . # @@ -574,8 +574,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='libaitio' PACKAGE_TARNAME='libaitio' -PACKAGE_VERSION='1.5' -PACKAGE_STRING='libaitio 1.5' +PACKAGE_VERSION='1.6' +PACKAGE_STRING='libaitio 1.6' PACKAGE_BUGREPORT='misho@openbsd-bg.org' ac_unique_file="src/aitio.c" @@ -1192,7 +1192,7 @@ if test "$ac_init_help" = "long"; then # 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. cat <<_ACEOF -\`configure' configures libaitio 1.5 to adapt to many kinds of systems. +\`configure' configures libaitio 1.6 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1258,7 +1258,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libaitio 1.5:";; + short | recursive ) echo "Configuration of libaitio 1.6:";; esac cat <<\_ACEOF @@ -1342,7 +1342,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libaitio configure 1.5 +libaitio configure 1.6 generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1356,7 +1356,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libaitio $as_me 1.5, which was +It was created by libaitio $as_me 1.6, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ @@ -2973,8 +2973,80 @@ fi CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" LDFLAGS="-L/usr/local/lib ${LDFLAGS}" -# Checks for header files. + +{ echo "$as_me:$LINENO: checking for EVP_CipherInit_ex in -lcrypto" >&5 +echo $ECHO_N "checking for EVP_CipherInit_ex in -lcrypto... $ECHO_C" >&6; } +if test "${ac_cv_lib_crypto_EVP_CipherInit_ex+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lcrypto $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* 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 EVP_CipherInit_ex (); +int +main () +{ +return EVP_CipherInit_ex (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_crypto_EVP_CipherInit_ex=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_crypto_EVP_CipherInit_ex=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_EVP_CipherInit_ex" >&5 +echo "${ECHO_T}$ac_cv_lib_crypto_EVP_CipherInit_ex" >&6; } +if test $ac_cv_lib_crypto_EVP_CipherInit_ex = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBCRYPTO 1 +_ACEOF + + LIBS="-lcrypto $LIBS" + +fi + + +# Checks for header files. ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -4849,7 +4921,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libaitio $as_me 1.5, which was +This file was extended by libaitio $as_me 1.6, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4898,7 +4970,7 @@ Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -libaitio config.status 1.5 +libaitio config.status 1.6 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"