| 3 |
|
|
| 4 |
|
AC_REVISION([$Id$]) |
| 5 |
|
|
| 6 |
< |
AC_PREREQ(2.65) |
| 6 |
> |
AC_PREREQ(2.68) |
| 7 |
|
AC_INIT([ircd-hybrid], [7.3-rc1], [bugs@ircd-hybrid.org]) |
| 8 |
< |
AM_INIT_AUTOMAKE(1.11) |
| 8 |
> |
AM_INIT_AUTOMAKE(1.11.1) |
| 9 |
|
AM_MAINTAINER_MODE |
| 10 |
|
AC_CONFIG_HEADER(config.h) |
| 11 |
|
AC_CONFIG_SRCDIR(src/ircd.c) |
| 19 |
|
AC_PROG_INSTALL |
| 20 |
|
|
| 21 |
|
# Initializing libtool. |
| 22 |
+ |
LT_CONFIG_LTDL_DIR([libltdl]) |
| 23 |
|
LT_INIT([dlopen disable-static]) |
| 24 |
< |
LTDL_INIT |
| 24 |
> |
LTDL_INIT([recursive convenience]) |
| 25 |
> |
LIBTOOL="$LIBTOOL --silent" |
| 26 |
|
|
| 27 |
|
# Checks for libraries. |
| 28 |
|
AX_CHECK_LIB_IPV4 |
| 36 |
|
strtok_r \ |
| 37 |
|
usleep \ |
| 38 |
|
strlcat \ |
| 39 |
< |
strlcpy) |
| 39 |
> |
strlcpy \ |
| 40 |
> |
socketpair) |
| 41 |
|
|
| 42 |
|
# Checks for header files. |
| 43 |
|
AC_CHECK_HEADERS_ONCE(crypt.h \ |
| 165 |
|
|
| 166 |
|
AS_IF([test "$cf_enable_openssl" != "no"], |
| 167 |
|
[AC_MSG_CHECKING(for OpenSSL 0.9.7 or above) |
| 168 |
< |
AC_RUN_IFELSE( |
| 168 |
> |
AC_RUN_IFELSE([ |
| 169 |
|
AC_LANG_PROGRAM([ |
| 170 |
|
#include <openssl/opensslv.h> |
| 171 |
|
#include <stdlib.h>], |
| 172 |
< |
[[exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));]]), |
| 172 |
> |
[[ exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); ]])], |
| 173 |
|
[cf_openssl_version_ok=yes], |
| 174 |
|
[cf_openssl_version_ok=no], |
| 175 |
|
[cf_openssl_version_ok=no]) |
| 176 |
|
|
| 177 |
|
AS_IF([test "$cf_openssl_version_ok" = "yes"], |
| 178 |
|
[AC_MSG_RESULT(found) |
| 179 |
< |
|
| 179 |
> |
|
| 180 |
|
AC_CHECK_LIB(crypto, RSA_free) |
| 181 |
|
AS_IF([test "$ac_cv_lib_crypto_RSA_free" = "yes"], |
| 182 |
|
[AC_CHECK_FUNCS(EVP_bf_cfb \ |
| 247 |
|
AC_CONFIG_FILES( \ |
| 248 |
|
Makefile \ |
| 249 |
|
etc/Makefile \ |
| 247 |
– |
etc/example.conf \ |
| 248 |
– |
etc/example.conf.quick \ |
| 249 |
– |
etc/example.efnet.conf \ |
| 250 |
|
servlink/Makefile \ |
| 251 |
|
contrib/Makefile \ |
| 252 |
|
contrib/help/Makefile \ |
| 253 |
|
src/Makefile \ |
| 254 |
+ |
libltdl/Makefile \ |
| 255 |
|
messages/Makefile \ |
| 256 |
|
modules/Makefile \ |
| 257 |
< |
modules/core/Makefile \ |
| 257 |
> |
modules/core/Makefile \ |
| 258 |
|
doc/Makefile \ |
| 259 |
|
help/Makefile \ |
| 260 |
< |
help/opers/Makefile \ |
| 261 |
< |
help/users/Makefile \ |
| 260 |
> |
help/opers/Makefile \ |
| 261 |
> |
help/users/Makefile \ |
| 262 |
|
tools/Makefile) |
| 263 |
|
|
| 264 |
|
AC_OUTPUT |