summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-10-14 16:32:58 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-10-14 16:32:58 +0300
commit0b31ec61cc9b53eaf56d3f51058805be8b0b214a (patch)
treef849d385c7546a322af06977050e4fc2d7277b81
parent085dcab72fc44cab5b1a7d810071bb8c0ea0afc2 (diff)
downloadrpm-0b31ec61cc9b53eaf56d3f51058805be8b0b214a.tar.gz
rpm-0b31ec61cc9b53eaf56d3f51058805be8b0b214a.tar.bz2
rpm-0b31ec61cc9b53eaf56d3f51058805be8b0b214a.zip
Add configure detection for SuSE too
- distro detection in configure is pretty futile but while we still have it...
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 68aba1eb9..bfb3bfb69 100644
--- a/configure.ac
+++ b/configure.ac
@@ -927,8 +927,9 @@ mint) RPMCANONARCH=m68kmint ;;
esac
RPMCANONVENDOR="$build_vendor"
case "${build_vendor}" in
-unknown|pc|ibm|redhat|pld|mandrake|conectiva|lvr|yellowdog|caos)
+unknown|pc|ibm|redhat|pld|mandrake|conectiva|lvr|yellowdog|caos|suse)
test -f /etc/redhat-release && RPMCANONVENDOR=redhat
+ test -f /etc/SuSE-release && RPMCANONVENDOR=suse
test -f /etc/pld-release && RPMCANONVENDOR=pld
test -f /etc/mandrake-release && RPMCANONVENDOR=mandrake
test -f /etc/conectiva-release && RPMCANONVENDOR=conectiva