From eb883ae98f0eb17291c5b5a93c1a5ebc5183959e Mon Sep 17 00:00:00 2001 From: Mike Dubman Date: Wed, 7 Oct 2015 09:31:49 +0300 Subject: [PATCH] BUILD: allow specifying platform patch_dir from cmd line before: patch_dir=$PLATFORM.patches after patch_dir can be specified as ./configure <....> patch_dir=/usr/local/site_ompi_v_x.y_patches/ if not specified - use default --- config/opal_load_platform.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/opal_load_platform.m4 b/config/opal_load_platform.m4 index d60c9093a5..8f2e8d3830 100644 --- a/config/opal_load_platform.m4 +++ b/config/opal_load_platform.m4 @@ -97,7 +97,7 @@ AC_DEFUN([OPAL_LOAD_PLATFORM], [ AC_SUBST(OPAL_PARAM_FROM_PLATFORM, "no") fi - patch_dir="${with_platform}.patches" + patch_dir=${patch_dir:="${with_platform}.patches"} patch_done="${srcdir}/.platform_patches" patch_found=no