Skip to content

Commit 3ccf5e6

Browse files
committed
configure: fix static-components list generation when configure contains spaces
Refs #412 Signed-off-by: Brice Goglin <[email protected]>
1 parent 44f501b commit 3ccf5e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/hwloc.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,9 +1305,9 @@ return clGetDeviceIDs(0, 0, 0, NULL, NULL);
13051305
13061306
# Static components output file
13071307
hwloc_static_components_dir=${HWLOC_top_builddir}/hwloc
1308-
mkdir -p ${hwloc_static_components_dir}
1308+
mkdir -p "${hwloc_static_components_dir}"
13091309
hwloc_static_components_file=${hwloc_static_components_dir}/static-components.h
1310-
rm -f ${hwloc_static_components_file}
1310+
rm -f "${hwloc_static_components_file}"
13111311
13121312
HWLOC_PREPARE_FILTER_COMPONENTS([$requested_plugins])
13131313
# Now we have some hwloc_<name>_component_wantplugin=1
@@ -1318,7 +1318,7 @@ return clGetDeviceIDs(0, 0, 0, NULL, NULL);
13181318
# and hwloc_static/plugin_components=list (space separated)
13191319
AC_MSG_CHECKING([components to build statically])
13201320
AC_MSG_RESULT($hwloc_static_components)
1321-
HWLOC_LIST_STATIC_COMPONENTS([$hwloc_static_components_file], [$hwloc_static_components])
1321+
HWLOC_LIST_STATIC_COMPONENTS(["$hwloc_static_components_file"], [$hwloc_static_components])
13221322
AC_MSG_CHECKING([components to build as plugins])
13231323
AC_MSG_RESULT([$hwloc_plugin_components])
13241324

0 commit comments

Comments
 (0)