mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
disable OpenMP by default, i386 optimization problems
This commit is contained in:
parent
b4ca1d146f
commit
0ea5fa1468
@ -637,6 +637,11 @@ dnl
|
||||
dnl Check for OpenMP support
|
||||
dnl
|
||||
|
||||
AC_ARG_ENABLE([openmp],
|
||||
AC_HELP_STRING([--enable-openmp], [enable if you want OpenMP support @<:@default=no@:>@]),
|
||||
[want_openmp="$enableval"], [want_openmp=no])
|
||||
|
||||
if test x$want_openmp = xyes; then
|
||||
AX_OPENMP([
|
||||
gcc_version=`$CC -dumpversion`
|
||||
gcc_major=`echo $gcc_version | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
@ -645,9 +650,12 @@ AX_OPENMP([
|
||||
if test ! "x$GCC" = "xyes" -o $gcc_major -ge 4 -a $gcc_minor -ge 3; then
|
||||
AC_DEFINE(HAVE_OPENMP,1,[Define if OpenMP is enabled])
|
||||
CFLAGS="$CFLAGS $OPENMP_CFLAGS"
|
||||
else
|
||||
want_openmp=no
|
||||
fi
|
||||
|
||||
])
|
||||
fi
|
||||
|
||||
dnl
|
||||
dnl Check doc stuff
|
||||
@ -777,6 +785,7 @@ $PACKAGE $VERSION configured successfully:
|
||||
XMMS2: $want_xmms2
|
||||
|
||||
* General:
|
||||
OpenMP: $want_openmp
|
||||
math: $want_math
|
||||
hddtemp: $want_hddtemp
|
||||
portmon: $want_portmon
|
||||
|
Loading…
Reference in New Issue
Block a user