OpenPrinting / system-config-printer

Graphical user interface for CUPS administration
GNU General Public License v2.0
156 stars 87 forks source link

configure: accept non-system cups-config #234

Closed jameshilliard closed 1 year ago

jameshilliard commented 2 years ago

In cross-compilation setups, cups.config might not be installed, and might not be in the PATH.

Allow a user to specify the full path to cups-config.

zdohnal commented 2 years ago

Hi James,

I'm sorry for the late answer - I'm currently occupied with other things, so I haven't managed to test the PR yet.

I'll ping you back once I'll test the PR.

zdohnal commented 1 year ago

Hi @jameshilliard ,

in the end I've fixed this differently - cups-config is now deprecated and there is an option to use pkg-config - so the configure scripts looks for pkg-config by default, but for older CUPS versions there is new option --with-cups-server-dir, where people can define the directory.