autoxt — installs autoconf/make resources for Stratego/XT packages
autoxt
The autoxt utility installs autoconf/make resources for Stratego/XT packages. In particular, it installs the M4 macro file autoxt.m4 and the automake file Makefile.xt.
The autoxt tool is typically invoked from a bootstrap script at the top-level of an autoconfiscated project.
#!/bin/sh rm -f mkinstalldirs missing install-sh autoxt || exit 1 mv autoxt.m4 config autoreconf -ifv || exit 1
To use the XT packages in your project invoke the
XT_USE_XT_PACKAGES
macro in the
configure.ac
file. The prefix of that file
typically looks like the following:
AC_INIT([tiger],[1.3],[stratego-bugs@cs.uu.nl]) AC_CONFIG_AUX_DIR([config]) AM_INIT_AUTOMAKE # set the prefix immediately to the default prefix test "x$prefix" = xNONE && prefix=$ac_default_prefix XT_USE_XT_PACKAGES
In each Makefile.am
include Makefile.xt
As usual, the bootstrap
script should make certain that
the correct versions of automake, and
autoconf are used.
Copyright (C) 2002-2005 Eelco Visser <visser@acm.org>
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.