1 | dnl Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team |
1 | dnl Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team |
2 | dnl Copyright © 2005 Atheme Development Group |
2 | dnl Copyright © 2005 Atheme Development Group |
3 | dnl Rights to this code are documented in doc/pod/license.pod. |
3 | dnl Rights to this code are documented in doc/pod/license.pod. |
4 | dnl |
4 | dnl |
5 | dnl $Id: configure.ac,v 1.4 2007/07/21 15:01:26 pippijn Exp $ |
5 | dnl $Id: configure.ac,v 1.7 2007/07/25 01:05:17 pippijn Exp $ |
6 | |
6 | |
7 | dnl Process this file with autoconf to produce a configure script. |
7 | dnl Process this file with autoconf to produce a configure script. |
8 | |
8 | |
9 | AC_PREREQ(2.59) |
9 | AC_PREREQ(2.59) |
10 | AC_INIT([ermyth], [2.3], [ermyth@one09.net]) |
10 | AC_INIT([ermyth], [2.3], [ermyth@one09.net]) |
11 | AC_CONFIG_HEADER(include/sysconf.h) |
11 | AC_CONFIG_HEADER(include/sysconf.h) |
12 | AC_CONFIG_AUX_DIR(autoconf) |
12 | AC_CONFIG_AUX_DIR(autoconf) |
13 | |
13 | |
14 | AC_COPYRIGHT([$Id: configure.ac,v 1.4 2007/07/21 15:01:26 pippijn Exp $]) |
14 | AC_COPYRIGHT([$Id: configure.ac,v 1.7 2007/07/25 01:05:17 pippijn Exp $]) |
15 | |
15 | |
16 | AC_PREFIX_DEFAULT(~/PACKAGE) |
16 | AC_PREFIX_DEFAULT(~/PACKAGE) |
17 | |
17 | |
18 | dnl Automake compatibility. |
18 | dnl Automake compatibility. |
19 | AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME]) |
19 | AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME]) |
… | |
… | |
60 | |
60 | |
61 | dnl |
61 | dnl |
62 | dnl Source generation |
62 | dnl Source generation |
63 | dnl |
63 | dnl |
64 | |
64 | |
65 | CALLBACKS=`$PERL $srcdir/include/gencallbacks.pl 7` |
65 | CALLBACKS=`$PERL $srcdir/include/common/gencallbacks.pl 7` |
66 | AC_SUBST(CALLBACKS) |
66 | AC_SUBST(CALLBACKS) |
67 | |
67 | |
68 | dnl |
68 | dnl |
69 | dnl GNU gettext |
69 | dnl GNU gettext |
70 | dnl |
70 | dnl |
… | |
… | |
107 | |
107 | |
108 | dnl |
108 | dnl |
109 | dnl Checks for header files. |
109 | dnl Checks for header files. |
110 | dnl |
110 | dnl |
111 | |
111 | |
112 | dnl AC_CHECK_HEADERS(getopt.h link.h valgrind/memcheck.h) |
112 | AC_CHECK_HEADERS(getopt.h link.h valgrind/memcheck.h) |
113 | dnl AC_CHECK_HEADER(tr1/unordered_map, [], [AC_MSG_ERROR([Your compiler must support the Library Technical Report 1 extensions.])]) |
113 | AC_CHECK_HEADER(tr1/unordered_map, [], [AC_MSG_ERROR([Your compiler must support the Library Technical Report 1 extensions.])]) |
114 | |
114 | |
115 | AC_DEFINE(_REENTRANT, [1], [Define this]) |
115 | AC_DEFINE(_REENTRANT, [1], [Define this]) |
116 | |
116 | |
117 | #-------------------------------------------------- |
117 | #-------------------------------------------------- |
118 | # AC_ARG_WITH(boost, |
118 | # AC_ARG_WITH(boost, |