~ubuntu-branches/ubuntu/trusty/curl/trusty-updates

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2013-12-20 09:13:22 UTC
  • mfrom: (3.4.44 sid)
  • Revision ID: package-import@ubuntu.com-20131220091322-lqk9xf5wba7vsyfh
Tags: 7.34.0-1ubuntu1
* Resynchronize on Debian, remaining changes
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from binary package Depends.
  - Add new libcurl3-udeb package.
  - Add new curl-udeb package.
* Dropped undocumented Build-Depends change to automake1.9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1065
1065
  AC_TRY_RUN([ /* is AF_INET6 available? */
1066
1066
#include <sys/types.h>
1067
1067
#include <sys/socket.h>
 
1068
#include <stdlib.h> /* for exit() */
1068
1069
main()
1069
1070
{
1070
1071
 if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
1983
1984
    if test "x$USE_CYASSL" = "xyes"; then
1984
1985
      AC_MSG_NOTICE([detected CyaSSL])
1985
1986
 
 
1987
      dnl cyassl/ctaocrypt/types.h needs SIZEOF_LONG_LONG defined!
 
1988
      AC_CHECK_SIZEOF(long long)
 
1989
 
1986
1990
      LIBS="-lcyassl -lm $LIBS"
1987
1991
 
1988
1992
      if test -n "$cyassllib"; then
2067
2071
         CPPFLAGS="$CPPFLAGS $addcflags"
2068
2072
      fi
2069
2073
 
2070
 
      dnl The function PK11_CreateGenericObject is needed to load libnsspem.so
2071
 
      AC_CHECK_LIB(nss3, PK11_CreateGenericObject,
 
2074
      dnl The function SSL_VersionRangeSet() is needed to enable TLS > 1.0
 
2075
      AC_CHECK_LIB(nss3, SSL_VersionRangeSet,
2072
2076
       [
2073
2077
       AC_DEFINE(USE_NSS, 1, [if NSS is enabled])
2074
2078
       AC_SUBST(USE_NSS, [1])
2084
2088
      if test "x$USE_NSS" = "xyes"; then
2085
2089
        AC_MSG_NOTICE([detected NSS version $version])
2086
2090
 
2087
 
        dnl NSS_InitContext() was introduced in NSS 3.12.5 and helps to prevent
2088
 
        dnl collisions on NSS initialization/shutdown with other libraries
2089
 
        AC_CHECK_FUNC(NSS_InitContext,
2090
 
        [
2091
 
          AC_DEFINE(HAVE_NSS_INITCONTEXT, 1, [if you have the NSS_InitContext function])
2092
 
          AC_SUBST(HAVE_NSS_INITCONTEXT, [1])
2093
 
        ])
2094
 
 
2095
2091
        dnl when shared libs were found in a path that the run-time
2096
2092
        dnl linker doesn't search through, we need to add it to
2097
2093
        dnl LD_LIBRARY_PATH to prevent further configure tests to fail