ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/branches/1.1.x/configure
(Generate patch)

Comparing:
hopm/trunk/configure (file contents), Revision 6183 by michael, Tue Jun 23 16:50:35 2015 UTC vs.
hopm/branches/1.1.x/configure (file contents), Revision 7880 by michael, Wed Nov 16 14:10:45 2016 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 6133 2015-06-11 19:20:00Z michael .
2 > # From configure.ac Id: configure.ac 7736 2016-09-26 17:33:17Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for hopm TRUNK.
4 > # Generated by GNU Autoconf 2.69 for hopm 1.1.3.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
# Line 591 | Line 591 | MAKEFLAGS=
591   # Identity of this package.
592   PACKAGE_NAME='hopm'
593   PACKAGE_TARNAME='hopm'
594 < PACKAGE_VERSION='TRUNK'
595 < PACKAGE_STRING='hopm TRUNK'
594 > PACKAGE_VERSION='1.1.3'
595 > PACKAGE_STRING='hopm 1.1.3'
596   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
597   PACKAGE_URL=''
598  
# Line 638 | Line 638 | ac_subst_vars='am__EXEEXT_FALSE
638   am__EXEEXT_TRUE
639   LTLIBOBJS
640   LIBOBJS
641 + ENABLE_SSL_FALSE
642 + ENABLE_SSL_TRUE
643   LEXLIB
644   LEX_OUTPUT_ROOT
645   LEX
# Line 773 | Line 775 | with_aix_soname
775   with_gnu_ld
776   with_sysroot
777   enable_libtool_lock
778 + enable_openssl
779   enable_assert
780   enable_warnings
781   '
# Line 1328 | Line 1331 | if test "$ac_init_help" = "long"; then
1331    # Omit some internal or obsolete options to make the list less imposing.
1332    # This message is too long to be a string in the A/UX 3.1 sh.
1333    cat <<_ACEOF
1334 < \`configure' configures hopm TRUNK to adapt to many kinds of systems.
1334 > \`configure' configures hopm 1.1.3 to adapt to many kinds of systems.
1335  
1336   Usage: $0 [OPTION]... [VAR=VALUE]...
1337  
# Line 1398 | Line 1401 | fi
1401  
1402   if test -n "$ac_init_help"; then
1403    case $ac_init_help in
1404 <     short | recursive ) echo "Configuration of hopm TRUNK:";;
1404 >     short | recursive ) echo "Configuration of hopm 1.1.3:";;
1405     esac
1406    cat <<\_ACEOF
1407  
# Line 1420 | Line 1423 | Optional Features:
1423    --enable-fast-install[=PKGS]
1424                            optimize for fast installation [default=yes]
1425    --disable-libtool-lock  avoid locking (might break parallel builds)
1426 +  --enable-openssl=DIR       Enable LibreSSL/OpenSSL support (DIR optional).
1427 +  --disable-openssl            Disable LibreSSL/OpenSSL support.
1428    --enable-assert         Enable assert() statements
1429    --enable-warnings       Enable compiler warnings.
1430  
# Line 1519 | Line 1524 | fi
1524   test -n "$ac_init_help" && exit $ac_status
1525   if $ac_init_version; then
1526    cat <<\_ACEOF
1527 < hopm configure TRUNK
1527 > hopm configure 1.1.3
1528   generated by GNU Autoconf 2.69
1529  
1530   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 1797 | Line 1802 | cat >config.log <<_ACEOF
1802   This file contains any messages produced by compilers while
1803   running configure, to aid debugging if configure makes a mistake.
1804  
1805 < It was created by hopm $as_me TRUNK, which was
1805 > It was created by hopm $as_me 1.1.3, which was
1806   generated by GNU Autoconf 2.69.  Invocation command line was
1807  
1808    $ $0 $@
# Line 2660 | Line 2665 | fi
2665  
2666   # Define the identity of the package.
2667   PACKAGE='hopm'
2668 < VERSION='TRUNK'
2668 > VERSION='1.1.3'
2669  
2670  
2671   cat >>confdefs.h <<_ACEOF
# Line 12577 | Line 12582 | fi
12582  
12583  
12584  
12585 + # Check whether --enable-openssl was given.
12586 + if test "${enable_openssl+set}" = set; then :
12587 +  enableval=$enable_openssl;  cf_enable_openssl=$enableval
12588 + else
12589 +   cf_enable_openssl="auto"
12590 + fi
12591 +
12592 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5
12593 + $as_echo_n "checking for LibreSSL/OpenSSL... " >&6; }
12594 + if test "$cf_enable_openssl" != "no"; then
12595 +  cf_openssl_basedir=""
12596 +  if test "$cf_enable_openssl" != "auto" &&
12597 +     test "$cf_enable_openssl" != "yes"; then
12598 +          cf_openssl_basedir="${cf_enable_openssl}"
12599 +  else
12600 +        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
12601 +                /opt /opt/openssl /usr/local/openssl; do
12602 +      if test -f "${dirs}/include/openssl/opensslv.h"; then
12603 +        cf_openssl_basedir="${dirs}"
12604 +        break
12605 +      fi
12606 +    done
12607 +    unset dirs
12608 +  fi
12609 +
12610 +    if test ! -z "$cf_openssl_basedir"; then
12611 +    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
12612 +      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
12613 +      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
12614 +    else
12615 +                  cf_openssl_basedir=""
12616 +    fi
12617 +  else
12618 +                            if test -f "/usr/include/openssl/opensslv.h"; then
12619 +      cf_openssl_basedir="/usr"
12620 +    fi
12621 +  fi
12622 +
12623 +      if test ! -z "$cf_openssl_basedir"; then
12624 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
12625 + $as_echo "$cf_openssl_basedir" >&6; }
12626 +    cf_enable_openssl="yes"
12627 +  else
12628 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
12629 + $as_echo "not found. Please check your path." >&6; }
12630 +    cf_enable_openssl="no"
12631 +  fi
12632 +  unset cf_openssl_basedir
12633 + else
12634 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
12635 + $as_echo "disabled" >&6; }
12636 + fi
12637 +
12638 + if test "$cf_enable_openssl" != "no"; then :
12639 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5
12640 + $as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; }
12641 +  if test "$cross_compiling" = yes; then :
12642 +  cf_openssl_version_ok=no
12643 + else
12644 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12645 + /* end confdefs.h.  */
12646 +
12647 +
12648 +    #include <openssl/opensslv.h>
12649 +    #include <stdlib.h>
12650 + int
12651 + main ()
12652 + {
12653 + exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
12654 +  ;
12655 +  return 0;
12656 + }
12657 + _ACEOF
12658 + if ac_fn_c_try_run "$LINENO"; then :
12659 +  cf_openssl_version_ok=yes
12660 + else
12661 +  cf_openssl_version_ok=no
12662 + fi
12663 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12664 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
12665 + fi
12666 +
12667 +
12668 +  if test "$cf_openssl_version_ok" = "yes"; then :
12669 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12670 + $as_echo "found" >&6; }
12671 +
12672 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
12673 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
12674 + if ${ac_cv_lib_crypto_RSA_free+:} false; then :
12675 +  $as_echo_n "(cached) " >&6
12676 + else
12677 +  ac_check_lib_save_LIBS=$LIBS
12678 + LIBS="-lcrypto  $LIBS"
12679 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12680 + /* end confdefs.h.  */
12681 +
12682 + /* Override any GCC internal prototype to avoid an error.
12683 +   Use char because int might match the return type of a GCC
12684 +   builtin and then its argument prototype would still apply.  */
12685 + #ifdef __cplusplus
12686 + extern "C"
12687 + #endif
12688 + char RSA_free ();
12689 + int
12690 + main ()
12691 + {
12692 + return RSA_free ();
12693 +  ;
12694 +  return 0;
12695 + }
12696 + _ACEOF
12697 + if ac_fn_c_try_link "$LINENO"; then :
12698 +  ac_cv_lib_crypto_RSA_free=yes
12699 + else
12700 +  ac_cv_lib_crypto_RSA_free=no
12701 + fi
12702 + rm -f core conftest.err conftest.$ac_objext \
12703 +    conftest$ac_exeext conftest.$ac_ext
12704 + LIBS=$ac_check_lib_save_LIBS
12705 + fi
12706 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
12707 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
12708 + if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
12709 +  cat >>confdefs.h <<_ACEOF
12710 + #define HAVE_LIBCRYPTO 1
12711 + _ACEOF
12712 +
12713 +  LIBS="-lcrypto $LIBS"
12714 +
12715 + fi
12716 +
12717 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
12718 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
12719 + $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
12720 + if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
12721 +  $as_echo_n "(cached) " >&6
12722 + else
12723 +  ac_check_lib_save_LIBS=$LIBS
12724 + LIBS="-lssl  $LIBS"
12725 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12726 + /* end confdefs.h.  */
12727 +
12728 + /* Override any GCC internal prototype to avoid an error.
12729 +   Use char because int might match the return type of a GCC
12730 +   builtin and then its argument prototype would still apply.  */
12731 + #ifdef __cplusplus
12732 + extern "C"
12733 + #endif
12734 + char SSL_connect ();
12735 + int
12736 + main ()
12737 + {
12738 + return SSL_connect ();
12739 +  ;
12740 +  return 0;
12741 + }
12742 + _ACEOF
12743 + if ac_fn_c_try_link "$LINENO"; then :
12744 +  ac_cv_lib_ssl_SSL_connect=yes
12745 + else
12746 +  ac_cv_lib_ssl_SSL_connect=no
12747 + fi
12748 + rm -f core conftest.err conftest.$ac_objext \
12749 +    conftest$ac_exeext conftest.$ac_ext
12750 + LIBS=$ac_check_lib_save_LIBS
12751 + fi
12752 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
12753 + $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
12754 + if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
12755 +  cat >>confdefs.h <<_ACEOF
12756 + #define HAVE_LIBSSL 1
12757 + _ACEOF
12758 +
12759 +  LIBS="-lssl $LIBS"
12760 +
12761 + fi
12762 +
12763 + fi
12764 +
12765 + else
12766 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
12767 + $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
12768 +    cf_enable_openssl="no"
12769 + fi
12770 + fi
12771 +
12772 + if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
12773 +  ENABLE_SSL_TRUE=
12774 +  ENABLE_SSL_FALSE='#'
12775 + else
12776 +  ENABLE_SSL_TRUE='#'
12777 +  ENABLE_SSL_FALSE=
12778 + fi
12779 +
12780 +
12781 +
12782    # Check whether --enable-assert was given.
12783   if test "${enable_assert+set}" = set; then :
12784    enableval=$enable_assert; assert=$enableval
# Line 14783 | Line 14985 | if test -z "${am__fastdepCC_TRUE}" && te
14985    as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14986   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14987   fi
14988 + if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14989 +  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14990 + Usually this means the macro was only invoked conditionally." "$LINENO" 5
14991 + fi
14992  
14993  
14994   : "${CONFIG_STATUS=./config.status}"
# Line 15181 | Line 15387 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15387   # report actual input values of CONFIG_FILES etc. instead of their
15388   # values after options handling.
15389   ac_log="
15390 < This file was extended by hopm $as_me TRUNK, which was
15390 > This file was extended by hopm $as_me 1.1.3, which was
15391   generated by GNU Autoconf 2.69.  Invocation command line was
15392  
15393    CONFIG_FILES    = $CONFIG_FILES
# Line 15247 | Line 15453 | _ACEOF
15453   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15454   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15455   ac_cs_version="\\
15456 < hopm config.status TRUNK
15456 > hopm config.status 1.1.3
15457   configured by $0, generated by GNU Autoconf 2.69,
15458    with options \\"\$ac_cs_config\\"
15459  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)