summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-10-09 11:35:35 +0000
committerWerner Koch <wk@gnupg.org>2006-10-09 11:35:35 +0000
commitfa35790126e1d8246cb91ec3b4b0995902703698 (patch)
treea734f44167eb6409c68e875556a10dac68ee5bbd /doc
parenta0c2238ff8f222e8b5e8fec9a58a8240883d1569 (diff)
downloadlibassuan-fa35790126e1d8246cb91ec3b4b0995902703698.tar.gz
Splitted up into a standad lib and an pth enabled one.
Also enhanced libassuan-config and libassuan.m4. Not really tested!
Diffstat (limited to 'doc')
-rw-r--r--doc/assuan.texi22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/assuan.texi b/doc/assuan.texi
index 2422f73..d83a812 100644
--- a/doc/assuan.texi
+++ b/doc/assuan.texi
@@ -507,6 +507,11 @@ specifying both options to @command{libassuan-config}:
gcc -o foo foo.c $(libassuan-config --cflags --libs)
@end example
+If your application uses Pth or pthread, you need to pass the option
+@option{--thread=pth} respective @option{--thread=pthread} to the
+invocation of @command{libassuan-config}.
+
+
@node Automake
@section Building sources using Automake
@@ -534,6 +539,23 @@ AM_CPPFLAGS = $(LIBASSUAN_CFLAGS)
LDADD = $(LIBASSUAN_LIBS)
@end example
+@defmac AM_PATH_LIBASSUAN_PTH (@ovar{minimum-version}, @ovar{action-if-found}, @ovar{action-if-not-found})
+Same as @code{AM_PATH_LIBASSUAN} but checks for the GNU Pth enabled
+version of the library and defines @code{LIBASSUAN_PTH_CFLAGS}
+@code{LIBASSUAN_PTH_LIBS} instead. Use this is you are using GNU Pth.
+Note that you also need to pass the appropriate options for Pth to the
+compiler and linker.
+@end defmac
+
+@defmac AM_PATH_LIBASSUAN_PTHREAD (@ovar{minimum-version}, @ovar{action-if-found}, @ovar{action-if-not-found})
+Same as @code{AM_PATH_LIBASSUAN} but checks for the pthreads enabled
+version of the library and defines @code{LIBASSUAN_PTHREAD_CFLAGS}
+@code{LIBASSUAN_PTHREAD_LIBS} instead. Use this is you are using GNU Pth.
+Note that you also need to pass the appropriate options for Pth to the
+compiler and linker.
+@end defmac
+
+
@node Multi Threading
@section Multi Threading