From d023e2e49395fca9b79a0b68a4fda345f12bea44 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Mon, 26 Jan 2015 09:44:39 +0000 Subject: [PATCH] search lib64 before lib --- configure | 2 +- library/lammpi/configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index d5ce887cf..5362b8d5f 100755 --- a/configure +++ b/configure @@ -16848,7 +16848,7 @@ else ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_dummy="$yap_cv_mpi/bin:$PATH:/sbin:/usr/sbin:/usr/etc:/usr/local/sbin:/usr/lib/openmpi/bin:/usr/lib/openmpi/bin" +as_dummy="$yap_cv_mpi/bin:$PATH:/sbin:/usr/sbin:/usr/etc:/usr/local/sbin:/usr/lib64/openmpi/bin:/usr/lib/openmpi/bin" for as_dir in $as_dummy do IFS=$as_save_IFS diff --git a/library/lammpi/configure.in b/library/lammpi/configure.in index af4e208b1..621a27e3b 100644 --- a/library/lammpi/configure.in +++ b/library/lammpi/configure.in @@ -38,7 +38,7 @@ if test "$yap_cv_mpi" != "no" -a "$INSTALL_DLLS" != "no"; then if test "$yap_cv_mpi" != "yes"; then AC_PATH_PROG(MPI_CC,mpicc,"$CC",$PATH:/sbin:/usr/sbin:/usr/etc:/usr/local/sbin:/usr/lib64/openmpi/bin:/usr/lib/openmpi/bin) else - AC_PATH_PROG(MPI_CC,mpicc,"$CC",$yap_cv_mpi/bin:$PATH:/sbin:/usr/sbin:/usr/etc:/usr/local/sbin:/usr/lib/openmpi/bin:/usr/lib/openmpi/bin) + AC_PATH_PROG(MPI_CC,mpicc,"$CC",$yap_cv_mpi/bin:$PATH:/sbin:/usr/sbin:/usr/etc:/usr/local/sbin:/usr/lib64/openmpi/bin:/usr/lib/openmpi/bin) fi MPILDF=`"$MPI_CC" --showme:link` MPICF=`"$MPI_CC" --showme:compile`