Skip to content

Commit

Permalink
configure: fix static-components list generation when configure conta…
Browse files Browse the repository at this point in the history
…ins spaces

Refs #412

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
  • Loading branch information
bgoglin committed Aug 3, 2020
1 parent 44f501b commit 3ccf5e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/hwloc.m4
Expand Up @@ -1305,9 +1305,9 @@ return clGetDeviceIDs(0, 0, 0, NULL, NULL);
# Static components output file
hwloc_static_components_dir=${HWLOC_top_builddir}/hwloc
mkdir -p ${hwloc_static_components_dir}
mkdir -p "${hwloc_static_components_dir}"
hwloc_static_components_file=${hwloc_static_components_dir}/static-components.h
rm -f ${hwloc_static_components_file}
rm -f "${hwloc_static_components_file}"
HWLOC_PREPARE_FILTER_COMPONENTS([$requested_plugins])
# Now we have some hwloc_<name>_component_wantplugin=1
Expand All @@ -1318,7 +1318,7 @@ return clGetDeviceIDs(0, 0, 0, NULL, NULL);
# and hwloc_static/plugin_components=list (space separated)
AC_MSG_CHECKING([components to build statically])
AC_MSG_RESULT($hwloc_static_components)
HWLOC_LIST_STATIC_COMPONENTS([$hwloc_static_components_file], [$hwloc_static_components])
HWLOC_LIST_STATIC_COMPONENTS(["$hwloc_static_components_file"], [$hwloc_static_components])
AC_MSG_CHECKING([components to build as plugins])
AC_MSG_RESULT([$hwloc_plugin_components])
Expand Down

0 comments on commit 3ccf5e6

Please sign in to comment.