Skip to content

Commit ecf9846

Browse files
author
rhc54
committed
Merge pull request #1 from jsquyres/topic/am-conditional-fixes
configure.ac: fix some broken AM_CONDITIONALs
2 parents fd92aa5 + 74a3356 commit ecf9846

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

configure.ac

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,16 +261,16 @@ m4_ifdef([project_oshmem], [OSHMEM_CONFIGURE_OPTIONS])
261261

262262
# Set up project specific AM_CONDITIONALs
263263
AS_IF([test "$enable_ompi" != "no"], [project_ompi_amc=true], [project_ompi_amc=false])
264-
m4_ifndef([project_ompi], [project_ompi_amc=no])
265-
AM_CONDITIONAL([PROJECT_OMPI], [$project_ompi_amc])
264+
m4_ifndef([project_ompi], [project_ompi_amc=false])
265+
AM_CONDITIONAL([PROJECT_OMPI], [test "$project_ompi_amc" = "true"])
266266

267267
AS_IF([test "$enable_orte" != "no"], [project_orte_amc=true], [project_orte_amc=false])
268268
m4_ifndef([project_orte], [project_orte_amc=false])
269-
AM_CONDITIONAL([PROJECT_ORTE], [$project_orte_amc])
269+
AM_CONDITIONAL([PROJECT_ORTE], [test "$project_orte_amc" = "true"])
270270

271271
AS_IF([test "$enable_oshmem" != "no"], [project_oshmem_amc=true], [project_oshmem_amc=false])
272272
m4_ifndef([project_oshmem], [project_oshmem_amc=false])
273-
AM_CONDITIONAL([PROJECT_OSHMEM], [$project_oshmem_amc])
273+
AM_CONDITIONAL([PROJECT_OSHMEM], [test "$project_oshmem_amc" = "true"])
274274

275275
if test "$enable_binaries" = "no" -a "$enable_dist" = "yes"; then
276276
AC_MSG_WARN([--disable-binaries is incompatible with --enable dist])

0 commit comments

Comments
 (0)