summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlexey Shvetsov <[email protected]>2011-05-14 18:25:37 +0400
committerBrian Behlendorf <[email protected]>2011-05-14 08:54:48 -0700
commitd9bfe0f57a82fd1a02e93309912008ed1aa83e04 (patch)
treecd1970a61b6b6882f776bc53cd867852969b22ef /configure
parente814770f2ed14808c7ea8cf8cea034aacb20564a (diff)
Fix distribution detection for gentoo
Also this may fix other distros because some of them also provide /etc/lsb-release not only ubuntu. Closes #244
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index fee3c743d..c636d53f9 100755
--- a/configure
+++ b/configure
@@ -11785,16 +11785,16 @@ $as_echo_n "checking linux distribution... " >&6; }
VENDOR=redhat ;
elif test -f /etc/fedora-release ; then
VENDOR=fedora ;
- elif test -f /etc/lsb-release ; then
- VENDOR=ubuntu ;
+ elif test -f /etc/gentoo-release ; then
+ VENDOR=gentoo ;
elif test -f /etc/debian_version ; then
VENDOR=debian ;
elif test -f /etc/SuSE-release ; then
VENDOR=sles ;
elif test -f /etc/slackware-version ; then
VENDOR=slackware ;
- elif test -f /etc/gentoo-release ; then
- VENDOR=gentoo ;
+ elif test -f /etc/lsb-release ; then
+ VENDOR=ubuntu ;
elif test -f /etc/lunar.release ; then
VENDOR=lunar ;
else