mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-21 01:01:48 +08:00
replace nested macro calls with a loop
This commit is contained in:
parent
e71f08e5ba
commit
58939f46e8
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user