blob: 747fca17380ba33808b5e98b31baa01dee71a260 [file] [log] [blame] [edit]
##*****************************************************************************
# AUTHOR:
# Morris Jette <jette1@llnl.gov>
#
# SYNOPSIS:
# X_AC_SUN_CONST
#
# DESCRIPTION:
# Test for Sun Constellation system with 3-D interconnect
##*****************************************************************************
AC_DEFUN([X_AC_SUN_CONST], [
AC_MSG_CHECKING([for Sun Constellation system])
AC_ARG_ENABLE(
[sun-const],
AS_HELP_STRING(--enable-sun-const,enable Sun Constellation system support),
[ case "$enableval" in
yes) x_ac_sun_const=yes ;;
no) x_ac_sun_const=no ;;
*) AC_MSG_RESULT([doh!])
AC_MSG_ERROR([bad value "$enableval" for --enable-sun-const]) ;;
esac
],
[x_ac_sun_const=no]
)
if test "$x_ac_sun_const" = yes; then
AC_MSG_RESULT([yes])
AC_DEFINE(SYSTEM_DIMENSIONS, 4,
[4-dimensional architecture counting the nodes under a switch as additional dimension])
AC_DEFINE(HAVE_SUN_CONST,1,[define if Sun Constellation system])
else
AC_MSG_RESULT([no])
fi
])