>>
"Olivier" == Olivier Gournet <olivier.gournet(a)lrde.epita.fr> writes:
> Pour éviter tous les --with-* tu peux
utiliser package-config.
> pour cela:§
>
> export PKG_CONFIG_PATH=~lrde/usr/stratego/lib/pkgconfig
Actually, it is mandatory. --with-* options do
not work anymore.
So, are you telling me that I should get rid of all the following (for
both tfers and tiger-in-str), except the PKG_CONFIG_PATH snippet?
case $package in
tiger-in-stratego)
# Use the cache.
cache_file=config.cache
# with_sdf=$lrde/usr/Sdf
with_strategoxt=$lrde/usr/stratego
with_aterm=$with_strategoxt
with_pgen=$with_strategoxt
with_sglr=$with_strategoxt
;;
transformers)
# Use the cache.
cache_file=config.cache
set -x
with_strategoxt=$lrde/usr/stratego
with_aterm=$with_strategoxt
with_sdf=$with_strategoxt
export PKG_CONFIG_PATH=~lrde/admin/lrde/usr/stratego/lib/pkgconfig
;;
esac
Is that right?
Yes. You can also keep $cache_file.