* fix small issue with cross-compiling - we don't need
to run the working test when cross-compiling, so just ignore it for now.. This commit was SVN r9653.
Этот коммит содержится в:
родитель
29fbf9e296
Коммит
6617d48e00
@ -151,7 +151,7 @@ fi
|
||||
|
||||
haveepoll=no
|
||||
AC_CHECK_FUNCS(epoll_ctl, [haveepoll=yes], )
|
||||
if test "x$haveepoll" = "xyes" ; then
|
||||
if test "x$haveepoll" = "xyes" -a "$cross_compiling" != "yes" ; then
|
||||
|
||||
# OMPI: Unfortunately, this test is not sufficient on some
|
||||
# Linux distros (e.g., RH 9), where the function is defined
|
||||
@ -162,6 +162,7 @@ if test "x$haveepoll" = "xyes" ; then
|
||||
# Hence, the test succeeds because it thinks it can use
|
||||
# epoll_ctl (and friends). So we have to do a better test
|
||||
# after we determine that epoll_ctl is linkable. Grumble.
|
||||
# If we are cross compiling, just trust AC_CHECK_FUNCS
|
||||
|
||||
AC_MSG_CHECKING([for epoll_ctl on broken Linux distros])
|
||||
rm -f conftest.out
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user