From 74a3356504b0e5f81642521d839de4d653827f92 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Thu, 2 Oct 2014 04:52:14 -0700 Subject: [PATCH] configure.ac: fix some broken AM_CONDITIONALs These AM_CONDITIONALs forgot to include the "test" executable, resulting in output like this: ./configure: line 8718: no: command not found From open-mpi/ompi@f21c349bcb3f7c322805d505484951642d1c7965 --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 9777e1cddd..508ff4d243 100644 --- a/configure.ac +++ b/configure.ac @@ -261,16 +261,16 @@ m4_ifdef([project_oshmem], [OSHMEM_CONFIGURE_OPTIONS]) # Set up project specific AM_CONDITIONALs AS_IF([test "$enable_ompi" != "no"], [project_ompi_amc=true], [project_ompi_amc=false]) -m4_ifndef([project_ompi], [project_ompi_amc=no]) -AM_CONDITIONAL([PROJECT_OMPI], [$project_ompi_amc]) +m4_ifndef([project_ompi], [project_ompi_amc=false]) +AM_CONDITIONAL([PROJECT_OMPI], [test "$project_ompi_amc" = "true"]) AS_IF([test "$enable_orte" != "no"], [project_orte_amc=true], [project_orte_amc=false]) m4_ifndef([project_orte], [project_orte_amc=false]) -AM_CONDITIONAL([PROJECT_ORTE], [$project_orte_amc]) +AM_CONDITIONAL([PROJECT_ORTE], [test "$project_orte_amc" = "true"]) AS_IF([test "$enable_oshmem" != "no"], [project_oshmem_amc=true], [project_oshmem_amc=false]) m4_ifndef([project_oshmem], [project_oshmem_amc=false]) -AM_CONDITIONAL([PROJECT_OSHMEM], [$project_oshmem_amc]) +AM_CONDITIONAL([PROJECT_OSHMEM], [test "$project_oshmem_amc" = "true"]) if test "$enable_binaries" = "no" -a "$enable_dist" = "yes"; then AC_MSG_WARN([--disable-binaries is incompatible with --enable dist])