Hi!
Andy Wingo <[email protected]> skribis:
> +# GUILE_PKG -- find Guile development files
> +#
> +# Usage: GUILE_PKG([VERSIONS])
> +#
> +# This macro runs the @code{pkg-config} tool to find development files
> +# for an available version of Guile.
> +#
> +# By default, this macro will search for the latest stable version of
> +# Guile (e.g. 2.0), falling back to the previous stable version
> +# (e.g. 1.8) if it is available. If no guile-@var{VERSION}.pc file is
> +# found, an error is signalled. The found version is stored in
> +# @var{GUILE_EFFECTIVE_VERSION}.
> +#
> +# If @code{GUILE_PROGS} was already invoked, this macro ensures that the
> +# development files have the same effective version as the Guile
> +# program.
> +#
> +# @var{GUILE_EFFECTIVE_VERSION} is marked for substitution, as by
> +# @code{AC_SUBST}.
Looks good. My main grief would be that it makes guile.m4 depend on
pkg.m4, which we don’t distribute ourselves. And so this may cause
“PKG_PROG_PKG_CONFIG: command not found” bug reports.
Hmm, WDYT?
Ludo’.