Commit ca38d2bb authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

allow to enable the threaded tile-swapper code (use at your own risk).

2005-02-14  Sven Neumann  <sven@gimp.org>

	* configure.in: allow to enable the threaded tile-swapper code
	(use at your own risk).
parent 88d59d04
2005-02-14 Sven Neumann <sven@gimp.org>
* configure.in: allow to enable the threaded tile-swapper code
(use at your own risk).
2005-02-13 Sven Neumann <sven@gimp.org>
* configure.in
......
......@@ -801,20 +801,6 @@ fi
# Threads and multi processor
#############################
dnl AC_ARG_ENABLE(threads, [ --enable-threads support POSIX threading (default=no)])
dnl if test "x$enable_threads" = "xyes"; then
dnl AC_CHECK_LIB(pthread, pthread_attr_init,
dnl [AC_DEFINE(USE_PTHREADS)
dnl GIMP_THREAD_LIBS="-lpthread"
dnl GIMP_THREAD_FLAGS="-D_REENTRANT"],
dnl # AIX has libpthreads, cause they're special. Special friends (TM)
dnl AC_CHECK_LIB(pthreads, pthread_attr_init,
dnl [AC_DEFINE(USE_PTHREADS)
dnl GIMP_THREAD_LIBS="-lpthreads"
dnl GIMP_THREAD_FLAGS="-D_REENTRANT -D_THREAD_SAFE"]))
dnl fi
AC_ARG_ENABLE(mp, [ --disable-mp disable support for multiple processors])
if test "x$enable_mp" != "xno"; then
PKG_CHECK_MODULES(GTHREAD, gthread-2.0,
......@@ -823,6 +809,15 @@ if test "x$enable_mp" != "xno"; then
)
fi
if test "x$GIMP_UNSTABLE" = "xyes"; then
AC_ARG_ENABLE(threaded-tile-swapper, [ --enable-threaded-tile-swapper (experimental)])
if test "x$enable_threaded_tile_swapper" = "xyes"; then
PKG_CHECK_MODULES(GTHREAD, gthread-2.0,
[AC_DEFINE(ENABLE_THREADED_TILE_SWAPPER, 1,
[Define to 1 to enable the experimental threaded tile-swapper.])]
)
fi
################################
# Some plug-ins are X11 specific
......
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