--- ermyth/configure.ac 2007/07/19 08:24:47 1.1 +++ ermyth/configure.ac 2007/07/21 01:29:07 1.2 @@ -1,8 +1,8 @@ dnl Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team dnl Copyright © 2005 Atheme Development Group -dnl Rights to this code are documented in doc/LICENSE. +dnl Rights to this code are documented in doc/pod/license.pod. dnl -dnl $Id: configure.ac,v 1.1 2007/07/19 08:24:47 pippijn Exp $ +dnl $Id: configure.ac,v 1.2 2007/07/21 01:29:07 pippijn Exp $ dnl Process this file with autoconf to produce a configure script. @@ -11,7 +11,7 @@ AC_CONFIG_HEADER(include/sysconf.h) AC_CONFIG_AUX_DIR(autoconf) -AC_COPYRIGHT([$Id: configure.ac,v 1.1 2007/07/19 08:24:47 pippijn Exp $]) +AC_COPYRIGHT([$Id: configure.ac,v 1.2 2007/07/21 01:29:07 pippijn Exp $]) AC_PREFIX_DEFAULT(~/PACKAGE) @@ -570,36 +570,36 @@ echo dnl See what warnings we can get away with -ATHEME_C_GCC_TRY_FLAGS([-Wall], atheme_cv_c_gcc_w_all) -ATHEME_C_GCC_TRY_FLAGS([-Wpointer-arith], atheme_cv_c_gcc_w_pointer_arith) -ATHEME_C_GCC_TRY_FLAGS([-Wimplicit -Wnested-externs], atheme_cv_c_gcc_w_implicit) -ATHEME_C_GCC_TRY_FLAGS([-Wcast-align], atheme_cv_c_gcc_w_cast_align) -ATHEME_C_GCC_TRY_FLAGS([-Wcast-qual], atheme_cv_c_gcc_w_cast_qual) -ATHEME_C_GCC_TRY_FLAGS([-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations], atheme_cv_c_gcc_prototypes) -ATHEME_C_GCC_TRY_FLAGS([-Wparenthesis], atheme_cv_c_gcc_parenthesis) -ATHEME_C_GCC_TRY_FLAGS([-Wextra], atheme_cv_c_gcc_w_extra) -ATHEME_C_GCC_TRY_FLAGS([-W -Wno-unused-parameter], atheme_cv_c_gcc_w) -ATHEME_C_GCC_TRY_FLAGS([-Wshadow], atheme_cv_c_gcc_w_shadow) -ATHEME_C_GCC_TRY_FLAGS([-Wmissing-noreturn], atheme_cv_c_gcc_w_missing_noreturn) -ATHEME_C_GCC_TRY_FLAGS([-Wundef], atheme_cv_c_gcc_w_undef) -ATHEME_C_GCC_TRY_FLAGS([-Wpacked], atheme_cv_c_gcc_w_packed) -ATHEME_C_GCC_TRY_FLAGS([-Wnested-externs], atheme_cv_c_gcc_w_nested_externs) -ATHEME_C_GCC_TRY_FLAGS([-Wbad-function-cast], atheme_cv_c_gcc_w_bad_function_cast) -ATHEME_C_GCC_TRY_FLAGS([-Wunused-function -Wunused-label -Wunused-value -Wunused-variable], atheme_cv_c_gcc_w_unused) -ATHEME_C_GCC_TRY_FLAGS([-Wredundant-decls], atheme_cv_c_gcc_w_redundant_decls) -ATHEME_C_GCC_TRY_FLAGS([-Wfloat-equal], atheme_cv_c_gcc_w_float_equal) -ATHEME_C_GCC_TRY_FLAGS([-Wformat=2], atheme_cv_c_gcc_w_format) -ATHEME_C_GCC_TRY_FLAGS([-Wdisabled-optimization], atheme_cv_c_gcc_w_format) -ATHEME_C_GCC_TRY_FLAGS([-pedantic], atheme_cv_c_gcc_pedantic) -ATHEME_C_GCC_TRY_FLAGS([-std=c89], atheme_cv_c_gcc_c89) +ERMYTH_C_GCC_TRY_FLAGS([-Wall], ermyth_cv_c_gcc_w_all) +ERMYTH_C_GCC_TRY_FLAGS([-Wpointer-arith], ermyth_cv_c_gcc_w_pointer_arith) +ERMYTH_C_GCC_TRY_FLAGS([-Wimplicit -Wnested-externs], ermyth_cv_c_gcc_w_implicit) +ERMYTH_C_GCC_TRY_FLAGS([-Wcast-align], ermyth_cv_c_gcc_w_cast_align) +ERMYTH_C_GCC_TRY_FLAGS([-Wcast-qual], ermyth_cv_c_gcc_w_cast_qual) +ERMYTH_C_GCC_TRY_FLAGS([-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations], ermyth_cv_c_gcc_prototypes) +ERMYTH_C_GCC_TRY_FLAGS([-Wparenthesis], ermyth_cv_c_gcc_parenthesis) +ERMYTH_C_GCC_TRY_FLAGS([-Wextra], ermyth_cv_c_gcc_w_extra) +ERMYTH_C_GCC_TRY_FLAGS([-W -Wno-unused-parameter], ermyth_cv_c_gcc_w) +ERMYTH_C_GCC_TRY_FLAGS([-Wshadow], ermyth_cv_c_gcc_w_shadow) +ERMYTH_C_GCC_TRY_FLAGS([-Wmissing-noreturn], ermyth_cv_c_gcc_w_missing_noreturn) +ERMYTH_C_GCC_TRY_FLAGS([-Wundef], ermyth_cv_c_gcc_w_undef) +ERMYTH_C_GCC_TRY_FLAGS([-Wpacked], ermyth_cv_c_gcc_w_packed) +ERMYTH_C_GCC_TRY_FLAGS([-Wnested-externs], ermyth_cv_c_gcc_w_nested_externs) +ERMYTH_C_GCC_TRY_FLAGS([-Wbad-function-cast], ermyth_cv_c_gcc_w_bad_function_cast) +ERMYTH_C_GCC_TRY_FLAGS([-Wunused-function -Wunused-label -Wunused-value -Wunused-variable], ermyth_cv_c_gcc_w_unused) +ERMYTH_C_GCC_TRY_FLAGS([-Wredundant-decls], ermyth_cv_c_gcc_w_redundant_decls) +ERMYTH_C_GCC_TRY_FLAGS([-Wfloat-equal], ermyth_cv_c_gcc_w_float_equal) +ERMYTH_C_GCC_TRY_FLAGS([-Wformat=2], ermyth_cv_c_gcc_w_format) +ERMYTH_C_GCC_TRY_FLAGS([-Wdisabled-optimization], ermyth_cv_c_gcc_w_format) +ERMYTH_C_GCC_TRY_FLAGS([-pedantic], ermyth_cv_c_gcc_pedantic) +ERMYTH_C_GCC_TRY_FLAGS([-std=c89], ermyth_cv_c_gcc_c89) dnl Too unreliable to be useful at this time. -dnl ATHEME_C_GCC_TRY_FLAGS([-Wunreachable-code], atheme_cv_c_gcc_w_unreachable_code) +dnl ERMYTH_C_GCC_TRY_FLAGS([-Wunreachable-code], ermyth_cv_c_gcc_w_unreachable_code) dnl Maintainer flags. -dnl ATHEME_C_GCC_TRY_FLAGS([-Wconversion], atheme_cv_c_gcc_w_conversion) -ATHEME_C_GCC_TRY_FLAGS([-Wwrite-strings], atheme_cv_c_gcc_w_strings) -dnl ATHEME_C_GCC_TRY_FLAGS([-Werror], atheme_cv_c_gcc_w_error) +dnl ERMYTH_C_GCC_TRY_FLAGS([-Wconversion], ermyth_cv_c_gcc_w_conversion) +ERMYTH_C_GCC_TRY_FLAGS([-Wwrite-strings], ermyth_cv_c_gcc_w_strings) +dnl ERMYTH_C_GCC_TRY_FLAGS([-Werror], ermyth_cv_c_gcc_w_error) ]) AC_ARG_ENABLE(propolice, @@ -611,10 +611,10 @@ echo "Disabling propolice." echo -ATHEME_C_GCC_TRY_FLAGS([-fno-stack-protector-all], atheme_nspa) -ATHEME_C_GCC_TRY_FLAGS([-fno-pie], atheme_npie) -ATHEME_C_GCC_TRY_FLAGS([-nonow], atheme_nonow) -ATHEME_C_GCC_TRY_FLAGS([-norelro], atheme_no_relro) +ERMYTH_C_GCC_TRY_FLAGS([-fno-stack-protector-all], ermyth_nspa) +ERMYTH_C_GCC_TRY_FLAGS([-fno-pie], ermyth_npie) +ERMYTH_C_GCC_TRY_FLAGS([-nonow], ermyth_nonow) +ERMYTH_C_GCC_TRY_FLAGS([-norelro], ermyth_no_relro) ]) AC_ARG_ENABLE(profile, @@ -625,7 +625,7 @@ echo "Enabling profiling." echo -ATHEME_C_GCC_TRY_FLAGS([-pg], atheme_pg) +ERMYTH_C_GCC_TRY_FLAGS([-pg], ermyth_pg) ac_save_LDFLAGS="${LDFLAGS} -pg" LDFLAGS=${ac_save_LDFLAGS} ]) @@ -642,15 +642,15 @@ echo "Enabling coverage analysis." echo -ATHEME_C_GCC_TRY_FLAGS([-fprofile-arcs], atheme_profile_arcs) +ERMYTH_C_GCC_TRY_FLAGS([-fprofile-arcs], ermyth_profile_arcs) ac_save_CXXFLAGS="${CXXFLAGS} -fprofile-arcs" CXXFLAGS=${ac_save_CXXFLAGS} -dnl ATHEME_C_GCC_TRY_FLAGS([-fbranch-probabilities], atheme_branch_probabilities) +dnl ERMYTH_C_GCC_TRY_FLAGS([-fbranch-probabilities], ermyth_branch_probabilities) dnl ac_save_CXXFLAGS="${CXXFLAGS} -fbranch-probabilities" dnl CXXFLAGS=${ac_save_CXXFLAGS} -ATHEME_C_GCC_TRY_FLAGS([-ftest-coverage], atheme_test_coverage) +ERMYTH_C_GCC_TRY_FLAGS([-ftest-coverage], ermyth_test_coverage) ac_save_CXXFLAGS="${CXXFLAGS} -ftest-coverage" CXXFLAGS=${ac_save_CXXFLAGS} @@ -677,8 +677,10 @@ echo "Makefile generation" echo -AC_OUTPUT([ po/Makefile.in +AC_OUTPUT([ Makefile + doc/Makefile + help/Makefile include/callback.h modules/Makefile modules/Makefile.common @@ -696,6 +698,7 @@ modules/protocol/Makefile modules/rpc/Makefile modules/saslserv/Makefile + po/Makefile.in src/Makefile test/Makefile ])