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.9 2007/09/02 23:14:42 pippijn Exp $ |
5 | dnl $Id: configure.ac,v 1.10 2007/09/09 20:05:51 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.9 2007/09/02 23:14:42 pippijn Exp $]) |
14 | AC_COPYRIGHT([$Id: configure.ac,v 1.10 2007/09/09 20:05:51 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]) |
… | |
… | |
105 | |
105 | |
106 | dnl |
106 | dnl |
107 | dnl Checks for header files. |
107 | dnl Checks for header files. |
108 | dnl |
108 | dnl |
109 | |
109 | |
110 | AC_CHECK_HEADERS(getopt.h link.h valgrind/memcheck.h) |
110 | AC_CHECK_HEADERS(valgrind/memcheck.h) |
111 | AC_CHECK_HEADER(tr1/unordered_map, [], [AC_MSG_ERROR([Your compiler must support the Library Technical Report 1 extensions.])]) |
111 | AC_CHECK_HEADER(tr1/unordered_map, [], [AC_MSG_ERROR([Your compiler must support the Library Technical Report 1 extensions.])]) |
112 | |
112 | |
113 | AC_DEFINE(_REENTRANT, [1], [Define this]) |
113 | AC_DEFINE(_REENTRANT, [1], [Define this]) |
114 | |
114 | |
115 | #-------------------------------------------------- |
115 | #-------------------------------------------------- |