Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mm2/Little-CMS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarti Maria <marti.maria@littlecms.com>2022-06-05 19:36:29 +0300
committerMarti Maria <marti.maria@littlecms.com>2022-06-05 19:36:29 +0300
commit52bd1d6e030ce42921745d50aeb3db2b612e5cb0 (patch)
tree77c575f93c40c2b519c7f97c18a78fb106d3e555 /configure.ac
parent318d1d32da060c8d733b3c12bacc4e0d4679a22e (diff)
update configure to new plugin
automate make check on threaded plugin
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac20
1 files changed, 18 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 505d63a..07b1dc4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -154,13 +154,28 @@ then
LIB_PLUGINS="$LIB_PLUGINS -llcms2_fast_float"
fi
+#multi threaded plugin:
+AC_ARG_WITH(threaded,
+ AS_HELP_STRING([--with-threaded],
+ [build and install multi threaded plugin, use only if GPL 3.0 is acceptable]),
+ [
+ with_threaded=$withval
+ ],
+ [
+ with_threaded='no'
+ ])
+if test "x$with_threaded" = "xyes"
+then
+ LIB_PLUGINS="$LIB_PLUGINS -llcms2_threaded"
+fi
+
#
# Determine POSIX threads settings
#
# Enable support for POSIX thread APIs
AC_ARG_WITH(threads,
- AS_HELP_STRING([--without-threads],
- [disable POSIX threads API support]),
+ AS_HELP_STRING([--without-pthreads],
+ [disable POSIX pthreads API support]),
[with_threads=$withval],
[with_threads='yes'])
@@ -411,6 +426,7 @@ AC_CONFIG_FILES([utils/jpgicc/Makefile])
AC_CONFIG_FILES([utils/psicc/Makefile])
AC_CONFIG_FILES([testbed/Makefile])
AM_CONDITIONAL([COND_FASTFLOAT], [test "x$with_fastfloat" = "xyes" ])
+AM_CONDITIONAL([COND_THREADED], [test "x$with_threaded" = "xyes" ])
AC_CONFIG_FILES([plugins/Makefile])
AC_CONFIG_FILES([plugins/fast_float/Makefile])
AC_CONFIG_FILES([plugins/fast_float/src/Makefile])