Lines 435-444
Link Here
|
435 |
AC_ARG_WITH(combined-threads, [AC_HELP_STRING([--with-combined-threads],[combine threads into main libfftw3])], with_combined_threads=$withval, with_combined_threads=no) |
437 |
AC_ARG_WITH(combined-threads, [AC_HELP_STRING([--with-combined-threads],[combine threads into main libfftw3])], with_combined_threads=$withval, with_combined_threads=no) |
436 |
|
438 |
|
437 |
if test "$enable_openmp"x != nox; then |
439 |
if test "$enable_openmp"x != nox; then |
438 |
AX_OPENMP([THREADLIBS=" " |
440 |
AX_OPENMP([THREADLIBS="$OPENMP_LIBS" |
439 |
AC_DEFINE(USING_OPENMP_THREADS, 1, [Define if we have and are using OpenMP multithreading directives]) |
441 |
AC_DEFINE(USING_OPENMP_THREADS, 1, [Define if we have and are using OpenMP multithreading directives]) |
440 |
CFLAGS="$CFLAGS $OPENMP_CFLAGS"], |
442 |
CFLAGS="$CFLAGS $OPENMP_CFLAGS"], |
441 |
[AC_MSG_ERROR([don't know how to enable OpenMP])]) |
443 |
[AC_MSG_WARN([don't know how to enable OpenMP, reverting to POSIX threads])]) |
442 |
fi |
444 |
fi |
443 |
|
445 |
|
444 |
dnl Check for threads library... |
446 |
dnl Check for threads library... |