Add configure detection for SuSE too
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 14 Oct 2008 13:32:58 +0000 (16:32 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 14 Oct 2008 13:32:58 +0000 (16:32 +0300)
- distro detection in configure is pretty futile but while we still have it...

configure.ac

index 68aba1e..bfb3bfb 100644 (file)
@@ -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