forked from dustin/mc-hammer
/
configure.ac
30 lines (27 loc) · 1023 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
AC_PREREQ(2.59)
m4_include([m4/version.m4])
AC_INIT(mc-hammer, VERSION_NUMBER, trond.norbye@gmail.com)
AC_CONFIG_SRCDIR([hammer.cc])
AC_CONFIG_AUX_DIR(config)
AM_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_DISABLE_STATIC
PANDORA_CANONICAL_TARGET(less-warnings, warnings-always-on, require-cxx,
force-gcc42)
PANDORA_REQUIRE_LIBMEMCACHED
dnl ----------------------------------------------------------------------------
AC_CONFIG_FILES(Makefile)
AC_OUTPUT
echo "---"
echo "Configuration summary for $PACKAGE_NAME version $VERSION"
echo ""
echo " * Installation prefix: $prefix"
echo " * System type: $host_vendor-$host_os"
echo " * Host CPU: $host_cpu"
echo " * C Compiler: $CC_VERSION"
echo " * C++ Compiler: $CXX_VERSION"
echo " * Assertions enabled: $ac_cv_assert"
echo " * Debug enabled: $with_debug"
echo " * Warnings as failure: $ac_cv_warnings_as_errors"
echo ""
echo "---"