diff options
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 91 | 
1 files changed, 81 insertions, 10 deletions
| @@ -1,6 +1,6 @@  #! /bin/sh  # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61 for zeromq 2.0.7. +# Generated by GNU Autoconf 2.61 for zeromq 2.0.9.  #  # Report bugs to <zeromq-dev@lists.zeromq.org>.  # @@ -723,8 +723,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}  # Identity of this package.  PACKAGE_NAME='zeromq'  PACKAGE_TARNAME='zeromq' -PACKAGE_VERSION='2.0.7' -PACKAGE_STRING='zeromq 2.0.7' +PACKAGE_VERSION='2.0.9' +PACKAGE_STRING='zeromq 2.0.9'  PACKAGE_BUGREPORT='zeromq-dev@lists.zeromq.org'  # Factoring default headers for most tests. @@ -1421,7 +1421,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 zeromq 2.0.7 to adapt to many kinds of systems. +\`configure' configures zeromq 2.0.9 to adapt to many kinds of systems.  Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1491,7 +1491,7 @@ fi  if test -n "$ac_init_help"; then    case $ac_init_help in -     short | recursive ) echo "Configuration of zeromq 2.0.7:";; +     short | recursive ) echo "Configuration of zeromq 2.0.9:";;     esac    cat <<\_ACEOF @@ -1595,7 +1595,7 @@ fi  test -n "$ac_init_help" && exit $ac_status  if $ac_init_version; then    cat <<\_ACEOF -zeromq configure 2.0.7 +zeromq configure 2.0.9  generated by GNU Autoconf 2.61  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1609,7 +1609,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 zeromq $as_me 2.0.7, which was +It was created by zeromq $as_me 2.0.9, which was  generated by GNU Autoconf 2.61.  Invocation command line was    $ $0 $@ @@ -2303,7 +2303,7 @@ fi  # Define the identity of the package.   PACKAGE='zeromq' - VERSION='2.0.7' + VERSION='2.0.9'  cat >>confdefs.h <<_ACEOF @@ -16586,6 +16586,77 @@ _ACEOF  fi + +{ echo "$as_me:$LINENO: checking for RAND_bytes in -lcrypto" >&5 +echo $ECHO_N "checking for RAND_bytes in -lcrypto... $ECHO_C" >&6; } +if test "${ac_cv_lib_crypto_RAND_bytes+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 RAND_bytes (); +int +main () +{ +return RAND_bytes (); +  ; +  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_RAND_bytes=yes +else +  echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +	ac_cv_lib_crypto_RAND_bytes=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_RAND_bytes" >&5 +echo "${ECHO_T}$ac_cv_lib_crypto_RAND_bytes" >&6; } +if test $ac_cv_lib_crypto_RAND_bytes = yes; then +  cat >>confdefs.h <<_ACEOF +#define HAVE_LIBCRYPTO 1 +_ACEOF + +  LIBS="-lcrypto $LIBS" + +fi +          ;;      *aix*) @@ -19500,7 +19571,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 zeromq $as_me 2.0.7, which was +This file was extended by zeromq $as_me 2.0.9, which was  generated by GNU Autoconf 2.61.  Invocation command line was    CONFIG_FILES    = $CONFIG_FILES @@ -19553,7 +19624,7 @@ Report bugs to <bug-autoconf@gnu.org>."  _ACEOF  cat >>$CONFIG_STATUS <<_ACEOF  ac_cs_version="\\ -zeromq config.status 2.0.7 +zeromq config.status 2.0.9  configured by $0, generated by GNU Autoconf 2.61,    with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | 
