Import Upstream version 2.16.1

parent d92013d7
2.16.1 version:
- Changes in source code by:
* Ismael Luceno <ismael@iodev.co.uk>
Read the ChangeLog to see the changes.
2.16 version:
- Changes in source code by:
......
Version: 2.16.1, 2017-12-05
[ Ismael Luceno ]
* Fixed building against static OpenSSL
Version: 2.16, 2017-11-25
[ Ismael Luceno ]
......
2.16 2017-11-25T03:52:38Z
2.16.1 2017-12-05T05:16:05Z
......@@ -7,6 +7,7 @@
# This file is under same license of Axel
AC_PREREQ([2.69])
PKG_PREREQ([0.29])
AXEL_PKG([axel], [https://github.com/axel-download-accelerator/axel/issues])
AXEL_VER_READ([VERSION])
......@@ -16,15 +17,16 @@ AC_CONFIG_SRCDIR([src/conf.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE
PKG_PROG_PKG_CONFIG
AM_SILENT_RULES([yes])
# Checks for programs.
AC_PROG_CC
AC_PROG_CC_C99
if test "x$ac_cv_prog_cc_c99" = "xno"; then
AS_IF([test "x$ac_cv_prog_cc_c99" = "xno"], [
AC_MSG_ERROR([C99 compiler required])
fi
])
AC_PROG_INSTALL
......@@ -82,13 +84,8 @@ AC_ARG_WITH([ssl],
AC_HELP_STRING([--without-ssl],[disable TLS support]), [], [with_ssl=yes])
AS_IF([test "x$with_ssl" != xno], [
PKG_CHECK_MODULES([SSL], [openssl])
AC_DEFINE([HAVE_SSL], [1], [SSL])
AC_SEARCH_LIBS([SSL_new], [ssl], [], [
AC_MSG_ERROR([libssl not found])
])
AC_SEARCH_LIBS([ERR_get_error], [crypto], [], [
AC_MSG_ERROR([libcrypto not found])
])
], AC_MSG_NOTICE([SSL support disabled]))
# Add Gettext
......
......@@ -19,5 +19,7 @@ axel_SOURCES = \
tcp.h \
text.c
axel_LDADD = $(SSL_LIBS)
AM_CPPFLAGS = -DLOCALEDIR=\""$(localedir)"\"
AM_CPPFLAGS += -D_BSD_SOURCE -D_DEFAULT_SOURCE
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment