version 1.1.1.1, 2012/02/21 22:39:10
|
version 1.1.1.2, 2014/06/15 16:37:11
|
Line 2 dnl -*- mode: m4 -*-
|
Line 2 dnl -*- mode: m4 -*-
|
dnl Id: configure.ac,v 1.77 2006/07/20 19:19:27 manubsd Exp |
dnl Id: configure.ac,v 1.77 2006/07/20 19:19:27 manubsd Exp |
|
|
AC_PREREQ(2.52) |
AC_PREREQ(2.52) |
AC_INIT(ipsec-tools, 0.8.0) | AC_INIT(ipsec-tools, 0.8.1) |
AC_CONFIG_SRCDIR([configure.ac]) |
AC_CONFIG_SRCDIR([configure.ac]) |
AM_CONFIG_HEADER(config.h) | AC_CONFIG_HEADERS(config.h) |
|
|
AM_INIT_AUTOMAKE(dist-bzip2) |
AM_INIT_AUTOMAKE(dist-bzip2) |
|
|
AC_ENABLE_SHARED(no) |
AC_ENABLE_SHARED(no) |
|
|
AC_PROG_CC |
AC_PROG_CC |
AM_PROG_CC_STDC |
|
AC_HEADER_STDC |
AC_HEADER_STDC |
AC_PROG_LIBTOOL |
AC_PROG_LIBTOOL |
AC_PROG_YACC |
AC_PROG_YACC |
Line 207 AC_MSG_CHECKING(openssl version)
|
Line 206 AC_MSG_CHECKING(openssl version)
|
AC_TRY_COMPILE( |
AC_TRY_COMPILE( |
[#include <openssl/opensslv.h> |
[#include <openssl/opensslv.h> |
], |
], |
[#if OPENSSL_VERSION_NUMBER < 0x0090602fL | [#if OPENSSL_VERSION_NUMBER < 0x0090813fL |
#error OpenSSL version is too old ... |
#error OpenSSL version is too old ... |
#endif], |
#endif], |
[AC_MSG_RESULT([ok])], |
[AC_MSG_RESULT([ok])], |
[AC_MSG_RESULT(too old) |
[AC_MSG_RESULT(too old) |
AC_MSG_ERROR([OpenSSL version must be 0.9.6 or higher. Aborting.]) | AC_MSG_ERROR([OpenSSL version must be 0.9.8s or higher. Aborting.]) |
]) |
]) |
|
|
AC_CHECK_HEADERS(openssl/engine.h) |
AC_CHECK_HEADERS(openssl/engine.h) |