title: How to determine the libudev version dynamically
body: <p>I'm facing a difficulty of porting my drivers into different linux distributions because their libudev version is different.</p>
  
  <p>Many linux distributions does have different libudev versions and libudev is known for breaking their interface without even changing it's 'soname'. </p>
  
  <p>So we have write a wrapper for udev version and that wrapper library does uses udev version using 'pkg-config' wizard. But now when I'm running my drivers in different distributions like Kali Linux, I get to know that 'pkg-config' utility does not exists in some linux distributions like "Kali linux".</p>
  
  <p>Now my drivers fail to operate because it depend on 'pkg-config' utility which can't be found in 'Kali Linux'. And there is no way that I could determine the libudev version without using 'pkg-config' utility. Even if I force my client to install 'pkg-config' utility some linux systems does not have a *.pc file so it also fails.</p>
  
  <p>Any alternatives to this issue ?
  Is it oky to guess the libudev version by try to searching the functions declared in that library ? This is the only way that currently I have in my mind.</p>
  
  <p>Thanks In Advance.</p>