Author: biurrun Date: Tue Nov 10 16:48:46 2009 New Revision: 1613 Log: Add a few more comments, fix output wording, whitespace changes. Modified: trunk/configure.ac Modified: trunk/configure.ac ============================================================================== --- trunk/configure.ac Tue Nov 10 16:40:32 2009 (r1612) +++ trunk/configure.ac Tue Nov 10 16:48:46 2009 (r1613) @@ -4,7 +4,7 @@ # Copyright (c) 2008, Distributed Systems Group, RWTH Aachen # All rights reserved. -# set pisa version to svn revision number (currently not used) +# Set PISA version to Subversion revision number (currently not used). m4_define([PISA_VERSION_MAJOR], 0.0) m4_define([PISA_VERSION_MINOR], m4_esyscmd([svn info | grep Revision: | cut -d' ' -f2 | tr -d '\n'])) m4_define([PISA_VERSION], [PISA_VERSION_MAJOR.PISA_VERSION_MINOR]) @@ -16,21 +16,25 @@ AC_CONFIG_MACRO_DIR([m4]) -# Checks for programs. + +# program checks AC_PROG_CC AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_LIBTOOL([disable-shared]) -# Checks for libraries. -AC_CHECK_LIB([crypto], DSA_generate_key,, AC_MSG_ERROR(openssl lib not found)) + +# library checks +AC_CHECK_LIB([crypto], DSA_generate_key,, AC_MSG_ERROR(OpenSSL not found)) AC_CHECK_LIB([config], [config_setting_index],, - AC_MSG_ERROR(libconfig lib not found)) + AC_MSG_ERROR(libconfig not found)) AC_CHECK_LIB(pthread, pthread_create) + +# compile-time options AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], - [enable debug mode (default=yes)]), + [debug mode (default=yes)]), [enable_debug=$enableval], [enable_debug=yes]) AC_MSG_CHECKING([whether to have verbose debug]) @@ -42,7 +46,7 @@ AC_ARG_ENABLE(performance, AC_HELP_STRING([--enable-performance], - [Performance measurement support (default=no)]), + [performance measurement (default=no)]), [enable_performance=$enableval], [enable_performance=no]) AC_MSG_CHECKING([whether to use performance measurement]) @@ -55,7 +59,7 @@ AC_ARG_ENABLE(logging, AC_HELP_STRING([--enable-logging], - [Logging (default=no)]), + [logging (default=no)]), [enable_logging=$enableval], [enable_logging=no]) AC_MSG_CHECKING([whether to use logging]) @@ -83,6 +87,6 @@ AC_DEFINE_UNQUOTED(PISA_SYSCONFDIR, "$(eval echo $sysconfdir)") AH_TEMPLATE([PISA_SYSCONFDIR]) -AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([Makefile]) AC_OUTPUT