Commit 2ad1f77a authored by Ron Rahaman's avatar Ron Rahaman
Browse files

Fixed some nasty errors! Parenthesis, logical or

parent fa77e14c
......@@ -12,11 +12,11 @@ AC_INIT([Nek5000], [1.0], [nek5000-users@lists.mcs.anl.gov])
###############################################################################
AC_ARG_ENABLE([debug],
[AC_HELP_STRING([--disable-debug]), [compile without debug flags (-g) @<:@default: enabled@:>@]],
[AC_HELP_STRING([--disable-debug], [compile without debug flags (-g) @<:@default: enabled@:>@])],
[debug="$enableval"], [debug="yes"])
AC_ARG_ENABLE([opt],
[AC_HELP_STRING([--enable-opt]), [compile with optimization flags (-O3) @<:@default: disabled@:>@]],
[AC_HELP_STRING([--enable-opt], [compile with optimization flags (-O3) @<:@default: disabled@:>@])],
[opt="$enableval"], [opt="no"])
AC_ARG_ENABLE([mpi],
......@@ -141,7 +141,7 @@ if test "x$debug" = "xyes"; then
fi
# Enable optimization flags
if test "x$opt" = "xyes" || "x$bgq" = "xyes"; then
if test "x$opt" = "xyes" || test "x$bgq" = "xyes"; then
CFLAGS="-O3 $CFLAGS"
FFLAGS="-O3 $FFLAGS"
FCFLAGS="-O3 $FCFLAGS"
......@@ -229,4 +229,9 @@ if test "x$nek_lapack" = "xno"; then
fi
AC_SUBST([nek_lapack_obj])
###############################################################################
# SIZE FILE HANDLING
###############################################################################
AC_CHECK_FILE([SIZE], , AC_MSG_ERROR([could not find SIZE file in current directory]))
AC_OUTPUT
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