5 |
|
|
6 |
|
AC_PREREQ(2.63) |
7 |
|
AC_INIT([ircd-hybrid], [7.2.4]) |
8 |
< |
AM_INIT_AUTOMAKE |
8 |
> |
AM_INIT_AUTOMAKE(1.11) |
9 |
|
AM_MAINTAINER_MODE |
10 |
|
AC_CONFIG_HEADER(config.h) |
11 |
|
AC_CONFIG_SRCDIR(src/ircd.c) |
92 |
|
|
93 |
|
|
94 |
|
AC_ARG_WITH(zlib-path, |
95 |
< |
AC_HELP_STRING([--with-zlib-path=DIR], [Path to libz.so for ziplinks support.]), |
95 |
> |
AS_HELP_STRING([--with-zlib-path=DIR], [Path to libz.so for ziplinks support.]), |
96 |
|
[LDFLAGS="-L$withval $LDFLAGS"],) |
97 |
|
|
98 |
< |
AC_ARG_ENABLE(zlib, AC_HELP_STRING([--disable-zlib],[Disable ziplinks support]), |
98 |
> |
AC_ARG_ENABLE(zlib, AS_HELP_STRING([--disable-zlib],[Disable ziplinks support]), |
99 |
|
[zlib=$enableval],[zlib=yes]) |
100 |
|
|
101 |
|
if test "$zlib" = yes; then |
174 |
|
AM_CONDITIONAL(ENABLE_SSL, [test "$cf_enable_openssl" = yes]) |
175 |
|
|
176 |
|
|
177 |
< |
AC_ARG_ENABLE(assert, AC_HELP_STRING([--enable-assert], [Enable assert() statements]), |
177 |
> |
AC_ARG_ENABLE(assert, AS_HELP_STRING([--enable-assert], |
178 |
> |
[Enable assert() statements]), |
179 |
|
[assert=$enableval], [assert=no]) |
180 |
|
if test "$assert" = no; then |
181 |
|
AC_DEFINE(NDEBUG, 1, [Define to disable assert() statements.]) |
182 |
|
fi |
183 |
|
|
184 |
|
|
185 |
< |
AC_ARG_ENABLE(small-net, |
186 |
< |
AC_HELP_STRING([--enable-small-net],[Enable small network support.]), |
185 |
> |
AC_ARG_ENABLE(small-net, AS_HELP_STRING([--enable-small-net], |
186 |
> |
[Enable small network support.]), |
187 |
|
[small_net=$enableval], [small_net=no]) |
188 |
|
|
189 |
|
if test "$small_net" = yes; then |