Index: libassuan-1.0.5/src/libassuan-config.in
--- libassuan-1.0.5/src/libassuan-config.in.orig	2006-10-09 12:41:47 +0200
+++ libassuan-1.0.5/src/libassuan-config.in	2006-11-15 20:25:37 +0100
@@ -105,6 +105,11 @@
   esac
   shift
 done
+    
+if test "x${thread_module}" = "x-pth"; then
+    cflags="$cflags `$prefix/bin/pth-config --cflags`"
+    extralibs="$extralibs `$prefix/bin/pth-config --libs`"
+fi
 
 if test "$echo_prefix" = "yes"; then
     echo $prefix
Index: libassuan-2.5.7/src/libassuan-config.in
--- libassuan-2.5.7/src/libassuan-config.in.orig	2006-10-09 12:41:47 +0200
+++ libassuan-2.5.7/src/libassuan-config.in	2006-11-15 20:25:37 +0100
@@ -105,6 +105,11 @@
   esac
   shift
 done
+    
+if test "x${thread_module}" = "x-pth"; then
+    cflags="$cflags `$prefix/bin/pth-config --cflags`"
+    extralibs="$extralibs `$prefix/bin/pth-config --libs`"
+fi
 
 if test "$echo_prefix" = "yes"; then
     echo $prefix
