Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
rosinski committed Nov 1, 2004
1 parent 1bad4da commit faefb39
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
10 changes: 7 additions & 3 deletions aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ AC_DEFUN(UD_SET_OMP_C,
AC_MSG_RESULT($OMPCFLAGS works)
else
AC_MSG_RESULT([not found])
AC_MSG_ERROR([quitting. Rerun configure without --enable-openmp])
AC_MSG_WARN([Threaded tests may behave incorrectly])
OMPCFLAGS=""
fi
CFLAGS="$OLDFLAGS"
])
Expand Down Expand Up @@ -72,7 +73,8 @@ AC_DEFUN(UD_SET_OMP_F77,
AC_MSG_RESULT($OMPFFLAGS)
else
AC_MSG_RESULT([not found])
AC_MSG_WARN([threaded Fortran tests may fail])
AC_MSG_WARN([Threaded tests may behave incorrectly])
OMPFFLAGS=""
fi
FFLAGS="$OLDFLAGS"
AC_LANG_POP(Fortran 77)
Expand All @@ -95,7 +97,8 @@ AC_DEFUN(UD_SET_PTHREADS_C,
AC_MSG_RESULT($PTHREADCFLAGS)
else
AC_MSG_RESULT([not found])
AC_MSG_ERROR([quitting. Rerun configure without --enable-pthreads])
AC_MSG_WARN([Threaded tests may behave incorrectly])
PTHREADCFLAGS=""
fi
LDFLAGS="$OLDLDFLAGS"
])
Expand All @@ -118,6 +121,7 @@ AC_DEFUN(UD_SET_PTHREADS_F77,
AC_MSG_RESULT($PTHREADFFLAGS)
else
AC_MSG_RESULT([not found])
PTHREADFFLAGS=""
fi
AC_LANG_POP(Fortran 77)
LDFLAGS="$OLDLDFLAGS"
Expand Down
5 changes: 4 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ dnl AC_ARG_ENABLE(papi,[--enable-papi],PAPIPREP="-I/home/rosinski/include -DHAVE

dnl Whether to enable debugging
AC_ARG_ENABLE(debug,[--enable-debug Specify to enable debugging],
[CFLAGS="$CFLAGS -g";FFLAGS="$FFLAGS -g"],)
[CFLAGS="$CFLAGS -g";
FFLAGS="$FFLAGS -g";
LDFLAGS="$LDFLAGS -g";
FLDFLAGS="$FLDFLAGS -g"],)

dnl Whether to enable optimization
AC_ARG_ENABLE(opt,[--enable-opt Specify to optimize for speed],
Expand Down

0 comments on commit faefb39

Please sign in to comment.