Make --with-threads=none mean, that we want thread support, but no default
[platform/upstream/glib.git] / INSTALL.in
index 9a535fd..58067f7 100644 (file)
@@ -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: