@@ -12,8 +12,8 @@ dnl Copyright (c) 2004-2006 The Regents of the University of California.
12
12
dnl All rights reserved.
13
13
dnl Copyright (c) 2009-2017 Cisco Systems, Inc. All rights reserved
14
14
dnl Copyright (c) 2008-2018 University of Houston. All rights reserved.
15
- dnl Copyright (c) 2015 Research Organization for Information Science
16
- dnl and Technology (RIST). All rights reserved.
15
+ dnl Copyright (c) 2015-2018 Research Organization for Information Science
16
+ dnl and Technology (RIST). All rights reserved.
17
17
dnl $COPYRIGHT $
18
18
dnl
19
19
dnl Additional copyrights may follow
@@ -63,8 +63,9 @@ AC_DEFUN([OMPI_CHECK_LUSTRE],[
63
63
[ompi_check_lustre_happy= " yes" ],
64
64
[ompi_check_lustre_happy= " no" ])
65
65
66
- AC_MSG_CHECKING([for required lustre data structures])
67
- cat > conftest.c << EOF
66
+ AS_IF([test " $ompi_check_lustre_happy " = " yes" ],
67
+ [AC_MSG_CHECKING([for required lustre data structures])
68
+ cat > conftest.c << EOF
68
69
# include "lustre/lustreapi.h"
69
70
void alloc_lum ()
70
71
{
@@ -76,15 +77,15 @@ void alloc_lum()
76
77
}
77
78
EOF
78
79
79
- # Try the compile
80
- OPAL_LOG_COMMAND(
81
- [$CC $CFLAGS -I$with_lustre /include -c conftest.c],
82
- [ompi_check_lustre_struct_happy= " yes" ],
83
- [ompi_check_lustre_struct_happy= " no"
84
- ompi_check_lustre_happy= " no" ]
85
- )
86
- rm -f conftest.c conftest.o
87
- AC_MSG_RESULT([$ompi_check_lustre_struct_happy ])
80
+ # Try the compile
81
+ OPAL_LOG_COMMAND(
82
+ [$CC $CFLAGS -I$with_lustre /include -c conftest.c],
83
+ [ompi_check_lustre_struct_happy= " yes" ],
84
+ [ompi_check_lustre_struct_happy= " no"
85
+ ompi_check_lustre_happy= " no" ]
86
+ )
87
+ rm -f conftest.c conftest.o
88
+ AC_MSG_RESULT([$ompi_check_lustre_struct_happy ]) ])
88
89
])
89
90
90
91
AS_IF([test " $ompi_check_lustre_happy " = " yes" ],
0 commit comments