From faefb3964916fe62b87b22c90123ca1115f69933 Mon Sep 17 00:00:00 2001 From: rosinski Date: Mon, 1 Nov 2004 04:35:12 +0000 Subject: [PATCH] *** empty log message *** --- aclocal.m4 | 10 +++++++--- configure.ac | 5 ++++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 949616ae..7dc40d4b 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -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" ]) @@ -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) @@ -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" ]) @@ -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" diff --git a/configure.ac b/configure.ac index afb9c515..66a7e676 100644 --- a/configure.ac +++ b/configure.ac @@ -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],