John C. Frickson 9 лет назад
Родитель
Сommit
bbb4cdec56
2 измененных файлов с 2 добавлено и 2 удалено
  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