annotate m4/ltversion.m4 @ 1739:c414850f206f

Add support for -boot flag, which allows in-tree execution of Ur/Web The boot flag rewrites most hardcoded paths to point to the build directory, and also forces static compilation. This is convenient for developing Ur/Web, or if you cannot 'sudo make install' Ur/Web. The following changes were made: * Header files were moved to include/urweb instead of include; this lets FFI users point their C_INCLUDE_PATH at this directory at write <urweb/urweb.h>. For internal Ur/Web executables, we simply pass -I$PATH/include/urweb as normal. * Differentiate between LIB and SRCLIB; SRCLIB is Ur and JavaScript source files, while LIB is compiled products from libtool. For in-tree compilation these live in different places. * No longer reference Config for paths; instead use Settings; these settings can be changed dynamically by Compiler.enableBoot () (TODO: add a disableBoot function.) * config.h is now generated directly in include/urweb/config.h, for consistency's sake (especially since it gets installed along with the rest of the headers!) * All of the autotools build products got updated. * The linkStatic field in protocols now only contains the name of the build product, and not the absolute path. Future users have to be careful not to reference the Settings files to early, lest they get an old version (this was the source of two bugs during development of this patch.)
author Edward Z. Yang <ezyang@mit.edu>
date Wed, 02 May 2012 17:17:57 -0400
parents 252e05bf199d
children 6a621a625b04
rev   line source
adamc@1141 1 # ltversion.m4 -- version numbers -*- Autoconf -*-
adamc@1141 2 #
adamc@1141 3 # Copyright (C) 2004 Free Software Foundation, Inc.
adamc@1141 4 # Written by Scott James Remnant, 2004
adamc@1141 5 #
adamc@1141 6 # This file is free software; the Free Software Foundation gives
adamc@1141 7 # unlimited permission to copy and/or distribute it, with or without
adamc@1141 8 # modifications, as long as this notice is preserved.
adamc@1141 9
adam@1459 10 # @configure_input@
adamc@1141 11
adam@1599 12 # serial 3337 ltversion.m4
adamc@1141 13 # This file is part of GNU Libtool
adamc@1141 14
adam@1599 15 m4_define([LT_PACKAGE_VERSION], [2.4.2])
adam@1599 16 m4_define([LT_PACKAGE_REVISION], [1.3337])
adamc@1141 17
adamc@1141 18 AC_DEFUN([LTVERSION_VERSION],
adam@1599 19 [macro_version='2.4.2'
adam@1599 20 macro_revision='1.3337'
adamc@1141 21 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
adamc@1141 22 _LT_DECL(, macro_revision, 0)
adamc@1141 23 ])