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 72d3e290848b6e70d4c1101c229cd53be6190c33)
Этот коммит содержится в:
родитель
ed358e5df2
Коммит
7c435186c8
@ -12,8 +12,8 @@ dnl Copyright (c) 2004-2006 The Regents of the University of California.
|
|||||||
dnl All rights reserved.
|
dnl All rights reserved.
|
||||||
dnl Copyright (c) 2009-2017 Cisco Systems, Inc. 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) 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 and Technology (RIST). All rights reserved.
|
||||||
dnl $COPYRIGHT$
|
dnl $COPYRIGHT$
|
||||||
dnl
|
dnl
|
||||||
dnl Additional copyrights may follow
|
dnl Additional copyrights may follow
|
||||||
@ -63,8 +63,9 @@ AC_DEFUN([OMPI_CHECK_LUSTRE],[
|
|||||||
[ompi_check_lustre_happy="yes"],
|
[ompi_check_lustre_happy="yes"],
|
||||||
[ompi_check_lustre_happy="no"])
|
[ompi_check_lustre_happy="no"])
|
||||||
|
|
||||||
AC_MSG_CHECKING([for required lustre data structures])
|
AS_IF([test "$ompi_check_lustre_happy" = "yes"],
|
||||||
cat > conftest.c <<EOF
|
[AC_MSG_CHECKING([for required lustre data structures])
|
||||||
|
cat > conftest.c <<EOF
|
||||||
#include "lustre/lustreapi.h"
|
#include "lustre/lustreapi.h"
|
||||||
void alloc_lum()
|
void alloc_lum()
|
||||||
{
|
{
|
||||||
@ -76,15 +77,15 @@ void alloc_lum()
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Try the compile
|
# Try the compile
|
||||||
OPAL_LOG_COMMAND(
|
OPAL_LOG_COMMAND(
|
||||||
[$CC $CFLAGS -I$with_lustre/include -c conftest.c],
|
[$CC $CFLAGS -I$with_lustre/include -c conftest.c],
|
||||||
[ompi_check_lustre_struct_happy="yes"],
|
[ompi_check_lustre_struct_happy="yes"],
|
||||||
[ompi_check_lustre_struct_happy="no"
|
[ompi_check_lustre_struct_happy="no"
|
||||||
ompi_check_lustre_happy="no"]
|
ompi_check_lustre_happy="no"]
|
||||||
)
|
)
|
||||||
rm -f conftest.c conftest.o
|
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"],
|
AS_IF([test "$ompi_check_lustre_happy" = "yes"],
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user