Parcourir la source

Fixed the Solaris 10/11 check

John C. Frickson il y a 9 ans
Parent
commit
bbb4cdec56
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  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
 
 fi

+ 1 - 1
configure.ac

@@ -90,7 +90,7 @@ AC_NAGIOS_GET_INETD
 AC_NAGIOS_GET_PATHS
 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)
 fi