瀏覽代碼

The new configure/install system wasn't working for Oracle Linux v6.

John C. Frickson 9 年之前
父節點
當前提交
791c71eee0
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      build-aux/ax_nagios_get_distrib
  2. 2 0
      configure

+ 2 - 0
build-aux/ax_nagios_get_distrib

@@ -110,6 +110,8 @@ AC_DEFUN([AX_NAGIOS_GET_DISTRIB_TYPE],
 					. /etc/os-release
 					. /etc/os-release
 					if test x"$ID_LIKE" != x; then
 					if test x"$ID_LIKE" != x; then
 						dist_type=`echo $ID_LIKE | cut -d' ' -f1 | tr ["[A-Z]" "[a-z]"]`
 						dist_type=`echo $ID_LIKE | cut -d' ' -f1 | tr ["[A-Z]" "[a-z]"]`
+					elif test x"$ID" = xol; then
+						dist_type=rh
 					else
 					else
 						dist_type=`echo $ID | tr ["[A-Z]" "[a-z]"]`
 						dist_type=`echo $ID | tr ["[A-Z]" "[a-z]"]`
 					fi
 					fi

+ 2 - 0
configure

@@ -2794,6 +2794,8 @@ esac
 					. /etc/os-release
 					. /etc/os-release
 					if test x"$ID_LIKE" != x; then
 					if test x"$ID_LIKE" != x; then
 						dist_type=`echo $ID_LIKE | cut -d' ' -f1 | tr "[A-Z]" "[a-z]"`
 						dist_type=`echo $ID_LIKE | cut -d' ' -f1 | tr "[A-Z]" "[a-z]"`
+					elif test x"$ID" = xol; then
+						dist_type=rh
 					else
 					else
 						dist_type=`echo $ID | tr "[A-Z]" "[a-z]"`
 						dist_type=`echo $ID | tr "[A-Z]" "[a-z]"`
 					fi
 					fi