1 |
Ühel kenal päeval, K, 23.12.2020 kell 07:49, kirjutas Michael Orlitzky: |
2 |
> AC_SEARCH_LIBS([whatever], [lua], [lua_found="yes"]) |
3 |
> |
4 |
> How do I pass the name "lua5.2" to that, without hacking configure.ac |
5 |
> and running autoreconf? The only option that comes to mind is to |
6 |
> build |
7 |
> the entire project with LIBS="-llua5.2", but that's not right if only |
8 |
> some of the executables are supposed to be linked with lua. |
9 |
|
10 |
You either fix upstream to use pkg-config, or you set up the cache |
11 |
variable for your configure call to tell configure what the answer is, |
12 |
without making it do the work wrong. |
13 |
Should be ac_cv_search_whatever=something in this case. sys-apps/grep |
14 |
ebuild has an example. |
15 |
|
16 |
I'm not sure what package this is to look or test closer. It doesn't |
17 |
appear to be OpenDKIM which is discussed in this thread elsewhere. |
18 |
|
19 |
Mart |