"wildcards" in .rel files

Hal Snyder hal@REDACTED
Tue Jun 1 18:09:10 CEST 2004


"Martin J. Logan" <mlogan@REDACTED> writes:

> Jimmy, I have attached the library that I wrote to do just that.
> .rel file can be written like the following;

...

Just to mention one other approach, we use autoconf with macros that
will take a default but allow you to override versions of applications
making up a release. This method allows us to specify development
versions of one or more apps mixed in with released (production)
versions of others.


$ sh configure --help
...
Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-erl              e.g. /usr/pkg/bin/erl - sets path for erlc too
  --with-erl-run-top      Erlang run-time, e.g. /usr/pkg/lib/erlang
  --with-var-otp          Erlang var dir (default /var/otp)
  --with-vail-otp         Erlang install dir (default PREFIX/vail/otp)

Some influential environment variables:
  VSN         VSN for erts
  SYSTEM_VSN  SYSTEM_VSN for erts
  kernel_DIR  parent directory of ebin for kernel
  stdlib_DIR  parent directory of ebin for stdlib
  sasl_DIR    parent directory of ebin for sasl
  inets_DIR   parent directory of ebin for inets
  resource_manager_DIR
              parent directory of ebin for resource_manager
  targus_proxy_DIR
              parent directory of ebin for targus_proxy
  vaillib_DIR parent directory of ebin for vaillib
  yaws_DIR    parent directory of ebin for yaws

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.


$ sh configure
...
checking for --with-erl... no
checking for erl... /usr/pkg/bin/erl
checking erl version 5.3 or later... 5.3
checking for --with-erl-run-top... /usr/pkg/lib/erlang
checking for --with-var-otp... /var/otp
checking for --with-vail-otp... /usr/pkg/vail/otp
checking for erts VSN... 5.3
checking for erts SYSTEM_VSN... 5.3
checking for kernel_DIR... /usr/pkg/lib/erlang/lib/kernel-2.9
checking for stdlib_DIR... /usr/pkg/lib/erlang/lib/stdlib-1.12
checking for sasl_DIR... /usr/pkg/lib/erlang/lib/sasl-1.10
checking for inets_DIR... /usr/pkg/lib/erlang/lib/inets-3.0.6
checking for resource_manager_DIR... /usr/pkg/vail/otp/lib/resource_manager-1.0
checking for targus_proxy_DIR... /usr/pkg/vail/otp/lib/targus_proxy-2.6.1
checking for vaillib_DIR... /usr/pkg/vail/otp/lib/vaillib-4.0.0
checking for yaws_DIR... /usr/pkg/vail/otp/lib/yaws-1.41
configure: creating ./config.status
config.status: creating Makefile



More information about the erlang-questions mailing list