Commit e570cd7d authored by Luis Kornblueh's avatar Luis Kornblueh
Browse files

- Fix for first set of aix problems. The colon syntax for extracting

  substrings in sh is to new for the aix sh.

- The mpi compiler for AIX and other systems was in the wrong
  sequence.
parent 9d7377c1
......@@ -23705,10 +23705,10 @@ else
fi
 
if test "${enable_mpi}" = "yes"; then :
if test "${host_os:0:3}" = "aix"; then :
replace_cc="mpcc_r"
else
if test "${host_os%???}" = "aix"; then :
replace_cc="mpicc"
else
replace_cc="mpcc_r"
fi
else
replace_cc=$CC
......
......@@ -83,9 +83,9 @@ ACX_OPTIONS
# Compile with MPI support
AC_ARG_ENABLE(mpi,AS_HELP_STRING([--enable-mpi],[Compile with MPI compiler [default=no]]),enable_mpi=${enableval},enable_mpi=no)
AS_IF([test "${enable_mpi}" = "yes"],
[AS_IF([test "${host_os:0:3}" = "aix"],
[replace_cc="mpcc_r"],
[replace_cc="mpicc"])],
[AS_IF([test "${host_os%???}" = "aix"],
[replace_cc="mpicc"],
[replace_cc="mpcc_r"])],
[replace_cc=$CC])
# ----------------------------------------------------------------------
# Create the Fortran Interface via iso_c_binding module (Fortran 2003 Standard)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment