File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
#
2
- # Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
2
+ # Copyright (c) 2011-2016 Cisco Systems, Inc. All rights reserved.
3
3
# Copyright (c) 2016 Research Organization for Information Science
4
4
# and Technology (RIST). All rights reserved.
5
5
# $COPYRIGHT$
9
9
# $HEADER$
10
10
#
11
11
12
- # we do not want -I$(srcdir) in DEFAULT_INCLUDES
13
- # otherwise there can be a conflict between system hwloc.h and opal/mca/hwloc/hwloc.h
14
- # so just hack DEFAULT_INCLUDES with only what we need
15
- DEFAULT_INCLUDES = -I$(top_builddir ) /opal/include
12
+ # We do not want -I$(srcdir) in AM_CPPFLAGS, or there can be a
13
+ # conflict between system hwloc.h and opal/mca/hwloc/hwloc.h. So just
14
+ # set only what we need to AM_CPPFLAGS.
15
+ AM_CPPFLAGS = -I$(top_builddir ) /opal/include
16
16
17
17
# main library setup
18
18
noinst_LTLIBRARIES = libmca_hwloc.la
Original file line number Diff line number Diff line change @@ -63,15 +63,15 @@ AC_DEFUN([MCA_opal_hwloc_external_POST_CONFIG],[
63
63
# the MCA_hwloc_external_openfabrics_helper define).
64
64
AS_IF([test " $opal_hwloc_dir " != " " ],
65
65
[opal_hwloc_include= " $opal_hwloc_dir /include/hwloc.h"
66
- opal_hwloc_openfabrics_include= " $opal_hwloc_dir /include/hwloc/hwloc/ openfabrics-verbs.h" ],
66
+ opal_hwloc_openfabrics_include= " $opal_hwloc_dir /include/hwloc/openfabrics-verbs.h" ],
67
67
[opal_hwloc_include= " hwloc.h"
68
68
opal_hwloc_openfabrics_include= " hwloc/openfabrics-verbs.h" ])
69
69
AC_DEFINE_UNQUOTED(MCA_hwloc_external_header,
70
70
[" $opal_hwloc_include " ],
71
71
[Location of external hwloc header])
72
72
AC_DEFINE_UNQUOTED(MCA_hwloc_external_openfabrics_header,
73
73
[" $opal_hwloc_openfabrics_include " ],
74
- [Location of external hwloc openfabrics header])
74
+ [Location of external hwloc OpenFabrics header])
75
75
])
76
76
OPAL_VAR_SCOPE_POP
77
77
])dnl
You can’t perform that action at this time.
0 commit comments