From: Ping Cheng <ping.ch...@wacom.com>

Update configure.ac to include them into RHEL 6.10+ and 7.4+ paths.

Signed-off-by: Ping Cheng <ping.ch...@wacom.com>
Signed-off-by: Jason Gerecke <jason.gere...@wacom.com>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5ea344c..1830b75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,7 +109,7 @@ WCM_ENV_KERNEL="yes"
 
 dnl Check for RedHat entreprise Linux >= 6.9
 AC_MSG_CHECKING(RHEL6 minor release)
-RHEL6_RELEASE=[$(sed -n 's/^\(Red Hat Enterprise Linux\|CentOS\) .*release 
6.\([0-9]*\).*$/\2/gp' "/etc/redhat-release" 2> /dev/null | head -n1)]
+RHEL6_RELEASE=[$(sed -n 's/^\(Red Hat Enterprise Linux\|Scientific 
Linux\|CentOS\) .*release 6.\([0-9]*\).*$/\2/gp' "/etc/redhat-release" 2> 
/dev/null | head -n1)]
 dnl RHEL6_RELEASE=""
 if test "$RHEL6_RELEASE" = ""; then
        RHEL6_RELEASE="0"
@@ -120,7 +120,7 @@ AC_MSG_RESULT([$RHEL6_RELEASE])
 
 dnl Check for RedHat entreprise Linux >= 7.4
 AC_MSG_CHECKING(RHEL7 minor release)
-RHEL7_RELEASE=[$(sed -n 's/^\(Red Hat Enterprise\|CentOS\) Linux .*release 
7.\([0-9]*\).*$/\2/gp' "/etc/redhat-release" 2> /dev/null | head -n1)]
+RHEL7_RELEASE=[$(sed -n 's/^\(Red Hat Enterprise\|Scientific\|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.20.1



_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to