Gentoo Archives: gentoo-user

From: Garry Smith <garry.smith@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How do I detect that I'm on Gentoo?
Date: Mon, 26 Mar 2007 14:09:56
Message-Id: 4607D00C.9040606@computer.org
In Reply to: [gentoo-user] How do I detect that I'm on Gentoo? by Jules Colding
1 Hi
2
3 How about
4
5 cat /etc/gentoo-release
6
7 cheers
8 Garry
9
10 Jules Colding wrote:
11 > Hi,
12 >
13 > The question might seem silly, but I'm writing a few lines in my
14 > 'configure.in' that should detect which distribution the package is
15 > being build on. This is for making distribution dependent modifications
16 > in the source/build scripts.
17 >
18 > So, how do I detect that I'm on gentoo? Anything like lsb_release here??
19 > I can see that lsb in masked so I'm preferably looking for something
20 > that is present in most gentoo installations.
21 >
22 > Thanks,
23 > jules
24 >
25 >
26 >
27
28
29 --
30 gentoo-user@g.o mailing list