Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Commit

Permalink
Update config.guess to recognize additional distros
Browse files Browse the repository at this point in the history
The following distros were added: redhat, fedora, debian,
ubuntu, sles, slackware, and gentoo.
  • Loading branch information
behlendorf committed Jul 2, 2010
1 parent dbe561d commit d466208
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion config/config.guess
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,20 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown

## for Red Hat Linux
if test -f /etc/redhat-release ; then
VENDOR=redhat ;
elif test -f /etc/fedora-release ; then
VENDOR=fedora ;
elif test -f /etc/debian_version ; then
VENDOR=debian ;
elif test -f /etc/lsb-release ; then
VENDOR=ubuntu ;
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 ;
else
VENDOR= ;
fi
Expand Down

0 comments on commit d466208

Please sign in to comment.