Changeset 470
- Timestamp:
- 11/22/06 05:26:55 (2 years ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/README (modified) (1 diff)
- cherokee/trunk/configure.in (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r467 r470 1 2006-11-22 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * configure.in: Added new --enable-beta parameter. It allows to 4 build beta versions based on the subversion revision number. 5 1 6 2006-11-20 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 7 cherokee/trunk/README
r438 r470 41 41 8.- Windows compilation 42 42 ----------------------- 43 ./configure --prefix=/usr --sysconfdir=/etc --enable-trace --enable-static-module=all --enable-static --enable-shared=no 43 ./configure --prefix=/usr --sysconfdir=/etc --enable-trace --enable-static-module=all --enable-static --enable-shared=no --enable-beta 44 44 45 45 cherokee/trunk/configure.in
r469 r470 1 dnl -*- mode: m4-mode -*- 1 2 dnl Process this file with autoconf to produce a configure script. 2 3 … … 19 20 ]) 20 21 21 dnl require autoconf 2.5 822 dnl require autoconf 2.56 22 23 AC_PREREQ(2.56) 23 24 … … 26 27 m4_define([cherokee_minor_version], [6]) 27 28 m4_define([cherokee_micro_version], [0]) 28 m4_define([cherokee_patch_version], [b$LastChangedRevision$]) 29 m4_define([cherokee_version], m4_format('%s.%s.%s%s', cherokee_major_version, cherokee_minor_version, cherokee_micro_version, cherokee_patch_version)) 29 m4_define([cherokee_version], m4_format('%s.%s.%s', cherokee_major_version, cherokee_minor_version, cherokee_micro_version)) 30 30 31 31 dnl Init autoconf and automake … … 34 34 AM_INIT_AUTOMAKE([no-define]) 35 35 36 AC_CANONICAL_HOST 36 dnl Define version 37 37 AC_DEFINE(PACKAGE_MAJOR_VERSION, "cherokee_major_version", [Version string]) 38 38 AC_DEFINE(PACKAGE_MINOR_VERSION, "cherokee_minor_version", [Version string]) 39 39 AC_DEFINE(PACKAGE_MICRO_VERSION, "cherokee_micro_version", [Version string]) 40 AC_DEFINE(PACKAGE_PATCH_VERSION, "cherokee_patch_version", [Version string]) 41 42 dnl Substitution variables 40 43 41 PACKAGE_MAJOR_VERSION="cherokee_major_version" 44 42 PACKAGE_MINOR_VERSION="cherokee_minor_version" 45 43 PACKAGE_MICRO_VERSION="cherokee_micro_version" 46 PACKAGE_PATCH_VERSION="cherokee_patch_version"47 44 AC_SUBST(PACKAGE_MAJOR_VERSION) 48 45 AC_SUBST(PACKAGE_MINOR_VERSION) 49 46 AC_SUBST(PACKAGE_MICRO_VERSION) 50 AC_SUBST(PACKAGE_PATCH_VERSION) 47 48 dnl Check the SVN revision 49 AC_ARG_ENABLE(beta, AC_HELP_STRING([--enable-beta], [Enable beta development]), 50 is_beta="$enableval", is_beta="no") 51 52 if test x"$is_beta" == "xyes"; then 53 if test -d ".svn"; then 54 SVN_REV="`svn info -R | grep Revision | sort | tail -1 | sed 's/Revision: //'`"; 55 fi 56 57 PACKAGE_PATCH_VERSION="b$SVN_REV" 58 AC_SUBST(PACKAGE_PATCH_VERSION) 59 AC_DEFINE(PACKAGE_PATCH_VERSION, "$PACKAGE_PATCH_VERSION", [Version string]) 60 61 dnl Redefine versions 62 PACKAGE_VERSION="$PACKAGE_MAJOR_VERSION.$PACKAGE_MINOR_VERSION.$PACKAGE_MICRO_VERSION$PACKAGE_PATCH_VERSION" 63 AC_DEFINE(PACKAGE_VERSION, $PACKAGE_VERSION, [Package version]) 64 65 VERSION="$PACKAGE_MAJOR_VERSION.$PACKAGE_MINOR_VERSION.$PACKAGE_MICRO_VERSION$PACKAGE_PATCH_VERSION" 66 AC_DEFINE(VERSION, $VERSION, [Software version]) 67 fi 51 68 52 69 dnl Check for CPU / vendor / OS 70 AC_CANONICAL_HOST 71 53 72 os_string="UNIX" 54 73 so_suffix=so