diff options
author | Alexey Shvetsov <[email protected]> | 2011-05-14 18:25:37 +0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-05-14 08:54:48 -0700 |
commit | d9bfe0f57a82fd1a02e93309912008ed1aa83e04 (patch) | |
tree | cd1970a61b6b6882f776bc53cd867852969b22ef /configure | |
parent | e814770f2ed14808c7ea8cf8cea034aacb20564a (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-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |