configury: do fail lustre detection when llapi_file_create() is not found
The result of this test was previously and incorrectly ignored.
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
(cherry picked from commit 72d3e29084
)
Этот коммит содержится в:
родитель
ed358e5df2
Коммит
7c435186c8
@ -12,7 +12,7 @@ dnl Copyright (c) 2004-2006 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2009-2017 Cisco Systems, Inc. All rights reserved
|
||||
dnl Copyright (c) 2008-2018 University of Houston. All rights reserved.
|
||||
dnl Copyright (c) 2015 Research Organization for Information Science
|
||||
dnl Copyright (c) 2015-2018 Research Organization for Information Science
|
||||
dnl and Technology (RIST). All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
@ -63,7 +63,8 @@ AC_DEFUN([OMPI_CHECK_LUSTRE],[
|
||||
[ompi_check_lustre_happy="yes"],
|
||||
[ompi_check_lustre_happy="no"])
|
||||
|
||||
AC_MSG_CHECKING([for required lustre data structures])
|
||||
AS_IF([test "$ompi_check_lustre_happy" = "yes"],
|
||||
[AC_MSG_CHECKING([for required lustre data structures])
|
||||
cat > conftest.c <<EOF
|
||||
#include "lustre/lustreapi.h"
|
||||
void alloc_lum()
|
||||
@ -76,15 +77,15 @@ void alloc_lum()
|
||||
}
|
||||
EOF
|
||||
|
||||
# Try the compile
|
||||
OPAL_LOG_COMMAND(
|
||||
# Try the compile
|
||||
OPAL_LOG_COMMAND(
|
||||
[$CC $CFLAGS -I$with_lustre/include -c conftest.c],
|
||||
[ompi_check_lustre_struct_happy="yes"],
|
||||
[ompi_check_lustre_struct_happy="no"
|
||||
ompi_check_lustre_happy="no"]
|
||||
)
|
||||
)
|
||||
rm -f conftest.c conftest.o
|
||||
AC_MSG_RESULT([$ompi_check_lustre_struct_happy])
|
||||
AC_MSG_RESULT([$ompi_check_lustre_struct_happy])])
|
||||
])
|
||||
|
||||
AS_IF([test "$ompi_check_lustre_happy" = "yes"],
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user