[cups-devel] [RFE] STR #3128: pkg-config support

Michael Adam noreply at cups.org
Tue Jun 17 15:08:51 PDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Unresolved]

It is of course very valid to not want to do things twice.
But there is this problem with cups-config:

There is this check to exclude system library paths from
the -L... list generated:

    if test $libdir != /usr/lib -a $libdir != /usr/lib32 -a $libdir !=
/usr/lib64; then
        LDFLAGS="$LDFLAGS -L$libdir"
    fi

The problem is that this is hard-coded.
And what should be considered system-libdir varies
from system to system, so the above list is not
always correct.

pkg-config, for example, determines this at configure time.
This would be an option here, too, because cups-config
is created by configure from cups-config.in.

If we could give cups-config this level of adaptability,
that would be great!

Cheers - Michael

Link: https://www.cups.org/str.php?L3128
Version: -feature
Fix Version: Will Not Fix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJToLxzAAoJENujp6sI12Ij8VkP/j7hBnKmDSA+ZL+K7AcBI7u/
hxWmVa3VXamPU+9oLMjYiS138Ptv6UR8KuJIVOkU/OCo4ryeHbPE0kBX4HfJF5P0
6QFzgOPeTX29ptEw0QUE52YZos2yl+15OxHVeczTdygG2WgIaZZKes3l5VzxMvcW
HEVCC0LuDyEyWN5BmHqjmirOhRhAoxMVznKGNsHgMXMDott0Dv3LpiG+G0eG1gDw
80tYa3bVmQ3NTqanVrxlOJGk0tNaiFr3ikvgkyhuKM/SbOZbD4QY0/OcHDDKl0Js
aAW+XYbV1JM0pLy2im4biqWxEOfxStyuNB67aIU8BAwK6RqTF2g8Oq8kbjxJy1cH
+0q/zhTBFgo77Q7MRpiNwKdi8V5SbJd8qVNskSS77c9ZT/BRImTjGBv/Udfk4MnQ
QXa/p36XmLAw++k3oVyqRGdGEy2Bred7PjoUkZbROAANKODtsnc6QfOjWxm1pGXE
dIvr3UjEDhU4phUAMOOsJjrU/S9umr3Zfr37zR8KBzKPYVPerQoygcbojGufPfgy
5OfPZaJcI/nO0sJUTBnXEPHLtJClNHPjSQE7OCm0X7YZL0V3n3eyFTWn07YlYsVV
H/IjFxvzwXupCw0TwHrxDR1D2SbRWvTafq/ICgnd6Yi7u5CWFk3LYIoH10sEG7sc
y8zIFDrSp4OmTbDBUBsM
=frYb
-----END PGP SIGNATURE-----




More information about the cups-devel mailing list