Explorar el Código

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

John C. Frickson hace 9 años
padre
commit
791c71eee0
Se han modificado 2 ficheros con 4 adiciones y 0 borrados
  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
 					if test x"$ID_LIKE" != x; then
 						dist_type=`echo $ID_LIKE | cut -d' ' -f1 | tr ["[A-Z]" "[a-z]"]`
+					elif test x"$ID" = xol; then
+						dist_type=rh
 					else
 						dist_type=`echo $ID | tr ["[A-Z]" "[a-z]"]`
 					fi

+ 2 - 0
configure

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