Explorar el Código

Fixed the Solaris 10/11 check

John C. Frickson hace 9 años
padre
commit
bbb4cdec56
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      configure
  2. 1 1
      configure.ac

+ 1 - 1
configure

@@ -3857,7 +3857,7 @@ $as_echo "$src_inetd" >&6; }
 
 
 
 
 
 
-if test x${opsys} = xsolaris -a x${init_type} != xsmf11; then
+if test "$dist_type" = solaris -a $dist_ver != smf11; then
 	$as_echo "#define SOLARIS_10 yes" >>confdefs.h
 	$as_echo "#define SOLARIS_10 yes" >>confdefs.h
 
 
 fi
 fi

+ 1 - 1
configure.ac

@@ -90,7 +90,7 @@ AC_NAGIOS_GET_INETD
 AC_NAGIOS_GET_PATHS
 AC_NAGIOS_GET_PATHS
 AC_NAGIOS_GET_FILES
 AC_NAGIOS_GET_FILES
 
 
-if test x${opsys} = xsolaris -a x${init_type} != xsmf11; then
+if test "$dist_type" = solaris -a $dist_ver != smf11; then
 	AC_DEFINE(SOLARIS_10,yes)
 	AC_DEFINE(SOLARIS_10,yes)
 fi
 fi