Signed-off-by: Jason Gerecke <jason.gere...@wacom.com>
Signed-off-by: Aaron Armstrong Skomra <aaron.sko...@wacom.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 5aad03941a13..3718ae2338d6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -108,7 +108,7 @@ WCM_ENV_KERNEL="yes"
 
 dnl Check for RedHat entreprise Linux >= 7.4
 AC_MSG_CHECKING(RHEL7 minor release)
-RHEL7_RELEASE=[$(sed -n 's/^Red Hat Enterprise Linux .*release 7.\(.*\) 
.*$/\1/gp' "/etc/redhat-release" 2> /dev/null | head -n1)]
+RHEL7_RELEASE=[$(sed -n 's/^\(Red Hat Enterprise\|CentOS\) Linux .*release 
7.\([0-9]*\).*$/\2/gp' "/etc/redhat-release" 2> /dev/null | head -n1)]
 dnl RHEL7_RELEASE=""
 if test "$RHEL7_RELEASE" = ""; then
        RHEL7_RELEASE="0"
-- 
2.7.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to