Ticket #46: centos.patch

File centos.patch, 567 bytes (added by proche@rainmaker.com, 8 years ago)
  • configure.ac

    old new  
    3131                        OS=suse
    3232                        OS_RELEASE=$(cat /etc/SuSE-release|awk '/VERSION =/ {print $3}')
    3333                        AC_MSG_RESULT(found ${OS} release ${OS_RELEASE})
     34        elif [ test -e /etc/redhat-release ]; then
     35            OS=rhel
     36            OS_RELEASE=$(cat /etc/redhat-release|awk '{print $3}')
     37            AC_MSG_RESULT(found ${OS} release ${OS_RELEASE})
    3438                else
    3539                        AC_MSG_RESULT(no)
    3640                        AC_MSG_ERROR(Found an unsupported Linux distribution)