summaryrefslogtreecommitdiff
path: root/INSTALL.in
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2001-10-31 15:40:52 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2001-10-31 15:40:52 +0000
commiteb1df47d71f2366bacfb5a75d037b58ab7df14c8 (patch)
tree68ae059b339d49062b5433a74c5c91df260458c8 /INSTALL.in
parent5cdbc63e478a0432f3c5359043b02542de87347f (diff)
Make --with-threads=none mean, that we want thread support, but no default
2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Make --with-threads=none mean, that we want thread support, but no default thread implementation. This also was the original intention, but disapeared around 1998... So it doesn't seem to be the most requested feature, but we went far to make it possible in the code, so I resurrected this feature. * INSTALL.in: Describe the --enable-gc-friendly, --disable-threads and --with-threads options of configure.
Diffstat (limited to 'INSTALL.in')
-rw-r--r--INSTALL.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/INSTALL.in b/INSTALL.in
index 9a535fd5b..58067f7c5 100644
--- a/INSTALL.in
+++ b/INSTALL.in
@@ -46,6 +46,34 @@ A few of the more important ones:
* --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[ Defaults to the value given to --prefix ]
+* --enable-gc-friendly When enabled all memory freed by the application,
+ but retained by GLib for performance reasons
+ is set to zero, thus making deployed garbage
+ collection or memory profiling tools detect
+ unlinked memory correctly. This will make GLib
+ slightly slower.
+ [ Disabled by default ]
+
+* --disable-threads Do not compile GLib to be multi thread safe. GLib
+ will be slightly faster then. This is however not
+ recommended, as many programs rely on GLib being
+ multi thread safe.
+ [ Enabled by default ]
+
+* --with-threads=[none/posix/dce/solaris/win32] Specify a thread
+ implementation to use.
+ * 'posix' and 'dce' can be used interchangeable
+ to mean the different versions of posix
+ threads. configure tries to find out, which
+ one is installed.
+ * 'solaris' uses the native Solaris thread
+ implementation.
+ * 'none' means that GLib will be thread safe,
+ but does not have a default thread
+ implementation. This has to be supplied to
+ g_thread_init() by the programmer.
+ [ Determined by configure by default ]
+
Options can be given to the compiler and linker by setting
environment variables before running configure. A few of the more
important ones: