Commit 02605274 authored by balaji's avatar balaji
Browse files

Added help messages for MPI_CFLAGS and family.

parent 19927b35
......@@ -5624,6 +5624,7 @@ AC_OUTPUT_COMMANDS([chmod a+x test/commands/cmdtests])
# reason, the user needs different flags in the compilation scripts,
# they can override the choice in CFLAGS etc. by setting MPI_CFLAGS.
#
AC_ARG_VAR( MPI_CFLAGS, [CFLAGS to be added to mpicc; assign this to MPI_FLAGS_EMPTY for no CFLAGS] )
if test "$MPI_CFLAGS" = "MPI_FLAGS_EMPTY" ; then
MPI_CFLAGS=""
elif test -z "$MPI_CFLAGS" -a -n "$CFLAGS" ; then
......@@ -5631,6 +5632,7 @@ elif test -z "$MPI_CFLAGS" -a -n "$CFLAGS" ; then
fi
CFLAGS="$CFLAGS $MPI_DEFAULT_COPTS"
AC_ARG_VAR( MPI_CXXFLAGS, [CXXFLAGS to be added to mpicc; assign this to MPI_FLAGS_EMPTY for no CXXFLAGS] )
if test "MPI_CXXFLAGS" = "MPI_FLAGS_EMPTY" ; then
MPI_CXXFLAGS=""
elif test -z "$MPI_CXXFLAGS" -a -n "$CXXFLAGS" ; then
......@@ -5638,6 +5640,7 @@ elif test -z "$MPI_CXXFLAGS" -a -n "$CXXFLAGS" ; then
fi
CXXFLAGS="$CXXFLAGS $MPI_DEFAULT_CXXOPTS"
AC_ARG_VAR( MPI_FFLAGS, [FFLAGS to be added to mpicc; assign this to MPI_FLAGS_EMPTY for no FFLAGS] )
if test "MPI_FFLAGS" = "MPI_FLAGS_EMPTY" ; then
MPI_FFLAGS=""
elif test -z "$MPI_FFLAGS" -a -n "$FFLAGS" ; then
......@@ -5645,6 +5648,7 @@ elif test -z "$MPI_FFLAGS" -a -n "$FFLAGS" ; then
fi
FFLAGS="$FFLAGS $MPI_DEFAULT_FOPTS"
AC_ARG_VAR( MPI_F90FLAGS, [F90FLAGS to be added to mpicc; assign this to MPI_FLAGS_EMPTY for no F90FLAGS] )
if test "MPI_F90FLAGS" = "MPI_FLAGS_EMPTY" ; then
MPI_F90FLAGS=""
elif test -z "$MPI_F90FLAGS" -a -n "$F90FLAGS" ; then
......
Markdown is supported
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