configure.ac (809f4227) configure.ac (239c1b90)
1dnl * *************************************************************
2dnl *
3dnl * Licensed to the Apache Software Foundation (ASF) under one
4dnl * or more contributor license agreements. See the NOTICE file
5dnl * distributed with this work for additional information
6dnl * regarding copyright ownership. The ASF licenses this file
7dnl * to you under the Apache License, Version 2.0 (the
8dnl * "License"); you may not use this file except in compliance

--- 5005 unchanged lines hidden (view full) ---

5014fi
5015AC_SUBST(SYSTEM_NSS)
5016AC_SUBST(NSS_CFLAGS)
5017AC_SUBST(NSS_LIBS)
5018
5019dnl ===================================================================
5020dnl Check for system openssl
5021dnl ===================================================================
1dnl * *************************************************************
2dnl *
3dnl * Licensed to the Apache Software Foundation (ASF) under one
4dnl * or more contributor license agreements. See the NOTICE file
5dnl * distributed with this work for additional information
6dnl * regarding copyright ownership. The ASF licenses this file
7dnl * to you under the Apache License, Version 2.0 (the
8dnl * "License"); you may not use this file except in compliance

--- 5005 unchanged lines hidden (view full) ---

5014fi
5015AC_SUBST(SYSTEM_NSS)
5016AC_SUBST(NSS_CFLAGS)
5017AC_SUBST(NSS_LIBS)
5018
5019dnl ===================================================================
5020dnl Check for system openssl
5021dnl ===================================================================
5022if test "$_os" = "Darwin" && test "$with_system_openssl" != "no"; then
5023 with_system_openssl=yes
5024fi
5025AC_MSG_CHECKING([which libssl to use])
5026if test -n "$with_system_openssl" -o -n "$with_system_libs" && \
5027 test "$with_system_openssl" != "no"; then
5028 AC_MSG_RESULT([external])
5022AC_MSG_CHECKING([which libssl to use])
5023if test -n "$with_system_openssl" -o -n "$with_system_libs" && \
5024 test "$with_system_openssl" != "no"; then
5025 AC_MSG_RESULT([external])
5029 # Mac OS builds should get out without extra stuff is the Mac porters'
5030 # wish. And pkg-config is although Xcode ships a .pc for openssl
5031 if test "$_os" = "Darwin" -o "$_os" = "FreeBSD"; then
5026 if test "$_os" = "FreeBSD"; then
5032 OPENSSL_CFLAGS=
5033 OPENSSL_LIBS="-lssl -lcrypto"
5034 else
5035 PKG_CHECK_MODULES( OPENSSL, openssl )
5036 fi
5037 SYSTEM_OPENSSL=YES
5038else
5039 AC_MSG_RESULT([internal])

--- 2456 unchanged lines hidden ---
5027 OPENSSL_CFLAGS=
5028 OPENSSL_LIBS="-lssl -lcrypto"
5029 else
5030 PKG_CHECK_MODULES( OPENSSL, openssl )
5031 fi
5032 SYSTEM_OPENSSL=YES
5033else
5034 AC_MSG_RESULT([internal])

--- 2456 unchanged lines hidden ---