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.10 2007/09/09 20:05:51 pippijn Exp $ |
5 | dnl $Id: configure.ac,v 1.11 2007/09/16 18:54:41 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.10 2007/09/09 20:05:51 pippijn Exp $]) |
14 | AC_COPYRIGHT([$Id: configure.ac,v 1.11 2007/09/16 18:54:41 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]) |
… | |
… | |
572 | ERMYTH_C_GCC_TRY_FLAGS([-Wcast-align], ermyth_cv_c_gcc_w_cast_align) |
572 | ERMYTH_C_GCC_TRY_FLAGS([-Wcast-align], ermyth_cv_c_gcc_w_cast_align) |
573 | ERMYTH_C_GCC_TRY_FLAGS([-Wcast-qual], ermyth_cv_c_gcc_w_cast_qual) |
573 | ERMYTH_C_GCC_TRY_FLAGS([-Wcast-qual], ermyth_cv_c_gcc_w_cast_qual) |
574 | ERMYTH_C_GCC_TRY_FLAGS([-Wextra], ermyth_cv_c_gcc_w_extra) |
574 | ERMYTH_C_GCC_TRY_FLAGS([-Wextra], ermyth_cv_c_gcc_w_extra) |
575 | ERMYTH_C_GCC_TRY_FLAGS([-W -Wno-unused-parameter], ermyth_cv_c_gcc_w) |
575 | ERMYTH_C_GCC_TRY_FLAGS([-W -Wno-unused-parameter], ermyth_cv_c_gcc_w) |
576 | ERMYTH_C_GCC_TRY_FLAGS([-Wshadow], ermyth_cv_c_gcc_w_shadow) |
576 | ERMYTH_C_GCC_TRY_FLAGS([-Wshadow], ermyth_cv_c_gcc_w_shadow) |
577 | ERMYTH_C_GCC_TRY_FLAGS([-Wmissing-noreturn], ermyth_cv_c_gcc_w_missing_noreturn) |
577 | dnl ERMYTH_C_GCC_TRY_FLAGS([-Wmissing-noreturn], ermyth_cv_c_gcc_w_missing_noreturn) |
578 | ERMYTH_C_GCC_TRY_FLAGS([-Wundef], ermyth_cv_c_gcc_w_undef) |
578 | ERMYTH_C_GCC_TRY_FLAGS([-Wundef], ermyth_cv_c_gcc_w_undef) |
579 | ERMYTH_C_GCC_TRY_FLAGS([-Wpacked], ermyth_cv_c_gcc_w_packed) |
579 | ERMYTH_C_GCC_TRY_FLAGS([-Wpacked], ermyth_cv_c_gcc_w_packed) |
580 | ERMYTH_C_GCC_TRY_FLAGS([-Wunused-function -Wunused-label -Wunused-value -Wunused-variable], ermyth_cv_c_gcc_w_unused) |
580 | ERMYTH_C_GCC_TRY_FLAGS([-Wunused-function -Wunused-label -Wunused-value -Wunused-variable], ermyth_cv_c_gcc_w_unused) |
581 | ERMYTH_C_GCC_TRY_FLAGS([-Wredundant-decls], ermyth_cv_c_gcc_w_redundant_decls) |
581 | ERMYTH_C_GCC_TRY_FLAGS([-Wredundant-decls], ermyth_cv_c_gcc_w_redundant_decls) |
582 | ERMYTH_C_GCC_TRY_FLAGS([-Wfloat-equal], ermyth_cv_c_gcc_w_float_equal) |
582 | ERMYTH_C_GCC_TRY_FLAGS([-Wfloat-equal], ermyth_cv_c_gcc_w_float_equal) |