Hi How about
cat /etc/gentoo-release cheers Garry Jules Colding wrote:
Hi, The question might seem silly, but I'm writing a few lines in my 'configure.in' that should detect which distribution the package is being build on. This is for making distribution dependent modifications in the source/build scripts. So, how do I detect that I'm on gentoo? Anything like lsb_release here?? I can see that lsb in masked so I'm preferably looking for something that is present in most gentoo installations. Thanks, jules
-- gentoo-user@gentoo.org mailing list