Fri, 07 Sep 2012 19:08:07 +0200
Correct build configuration in Solaris subdir, correct english grammar,
remove irrelevant strip notice, introduce custom CFLAG logic, facilitate
use of Solaris Studio compiler with needed build configuration
adjustments, conditionally build 64 bit position independent code,
and accommodate tun(7) in newer Solaris releases by renaming driver
and module from conflicting 'tun' to 'vtun'. These changes include
some nonstandard 'I give up' logic causing out of tree builds by
manipulating the PATH, for example.
1 Index: libassuan-1.0.5/src/libassuan-config.in
2 --- libassuan-1.0.5/src/libassuan-config.in.orig 2006-10-09 12:41:47 +0200
3 +++ libassuan-1.0.5/src/libassuan-config.in 2006-11-15 20:25:37 +0100
4 @@ -105,6 +105,11 @@
5 esac
6 shift
7 done
8 +
9 +if test "x${thread_module}" = "x-pth"; then
10 + cflags="$cflags `$prefix/bin/pth-config --cflags`"
11 + extralibs="$extralibs `$prefix/bin/pth-config --libs`"
12 +fi
14 if test "$echo_prefix" = "yes"; then
15 echo $prefix
16 Index: libassuan-2.0.3/src/libassuan-config.in
17 --- libassuan-2.0.3/src/libassuan-config.in.orig 2006-10-09 12:41:47 +0200
18 +++ libassuan-2.0.3/src/libassuan-config.in 2006-11-15 20:25:37 +0100
19 @@ -105,6 +105,11 @@
20 esac
21 shift
22 done
23 +
24 +if test "x${thread_module}" = "x-pth"; then
25 + cflags="$cflags `$prefix/bin/pth-config --cflags`"
26 + extralibs="$extralibs `$prefix/bin/pth-config --libs`"
27 +fi
29 if test "$echo_prefix" = "yes"; then
30 echo $prefix