replace nested macro calls with a loop

This commit is contained in:
David MacKenzie 1995-03-07 01:27:46 +00:00
parent e71f08e5ba
commit 58939f46e8
2 changed files with 6 additions and 6 deletions

View File

@ -1118,9 +1118,9 @@ wenotbecray
], ac_cv_os_cray=yes, ac_cv_os_cray=no)])dnl
AC_MSG_RESULT($ac_cv_os_cray)
if test $ac_cv_os_cray = yes; then
AC_CHECK_FUNC(_getb67, AC_DEFINE(CRAY_STACKSEG_END, _getb67),
AC_CHECK_FUNC(GETB67, AC_DEFINE(CRAY_STACKSEG_END, GETB67),
AC_CHECK_FUNC(getb67, AC_DEFINE(CRAY_STACKSEG_END, getb67))))
for func in _getb67 GETB67 getb67; do
AC_CHECK_FUNC($func, [AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $func); break])
done
fi
AC_MSG_CHECKING(stack direction for C alloca)

View File

@ -1118,9 +1118,9 @@ wenotbecray
], ac_cv_os_cray=yes, ac_cv_os_cray=no)])dnl
AC_MSG_RESULT($ac_cv_os_cray)
if test $ac_cv_os_cray = yes; then
AC_CHECK_FUNC(_getb67, AC_DEFINE(CRAY_STACKSEG_END, _getb67),
AC_CHECK_FUNC(GETB67, AC_DEFINE(CRAY_STACKSEG_END, GETB67),
AC_CHECK_FUNC(getb67, AC_DEFINE(CRAY_STACKSEG_END, getb67))))
for func in _getb67 GETB67 getb67; do
AC_CHECK_FUNC($func, [AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $func); break])
done
fi
AC_MSG_CHECKING(stack direction for C alloca)