summaryrefslogtreecommitdiff
blob: 9d209ff53584e53ad8cdbe2f78f90f95358d38eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -482,6 +482,11 @@
         DISTRO=UBUNTU
     fi
 fi
+
+if test -f /etc/gentoo-release; then
+    DISTRO=GENTOO
+fi
+
 if test -f /etc/arch-release; then
     DISTRO=ARCHLINUX
 fi