From fa35790126e1d8246cb91ec3b4b0995902703698 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 9 Oct 2006 11:35:35 +0000 Subject: Splitted up into a standad lib and an pth enabled one. Also enhanced libassuan-config and libassuan.m4. Not really tested! --- doc/assuan.texi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'doc') 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 -- cgit v1.2.1