thc-hydra icon indicating copy to clipboard operation
thc-hydra copied to clipboard

Feature Request - use pkgconfig to detect build dependencies

Open peterhoeg opened this issue 4 years ago • 5 comments

Currently configure assumes that all build dependencies are located in a fixed set of locations. Ideally use pkgconfig (which is needed for gtk anyway) to detect the dependencies so arbitrary dependency locations are supported.

peterhoeg avatar Sep 15 '19 07:09 peterhoeg

Hi Peter,

pkgconfig would require to be present which is not true on all systems. yes that would be an option to use, as would be a "real" automake/configure script. if you want to supply one, we would use that primarily and use the old configure code as a fall back

vanhauser-thc avatar Sep 15 '19 12:09 vanhauser-thc

I have happily left autotools behind and don't particularly want to go back to that to be honest. I understand that you want to run on as many platforms as possibly, but maybe it was worth considering moving to something more flexible than the current situation?

peterhoeg avatar Sep 16 '19 13:09 peterhoeg

If you look at the configure script - its not autotools, its a custom small shell script.

if you want pkgconfig for hydra - we will be happy to include it. but you (or somebody else) will have to send the pull request for it :)

vanhauser-thc avatar Sep 16 '19 13:09 vanhauser-thc

Ah, I misunderstood you. I thought you meant that you only wanted autotools. The configure script is straight-forward. I'll take a look at supporting pkgconfig in the near future unless somebody beats me to it.

peterhoeg avatar Sep 17 '19 01:09 peterhoeg

Hello everyone please help me

Rafiaq avatar Jan 27 '20 17:01 Rafiaq