1 diff -up libtasn1-1.3/lib/libtasn1-config.in.~1~ libtasn1-1.3/lib/libtasn1-config.in
2 --- libtasn1-1.3/lib/libtasn1-config.in.~1~ 2008-02-01 17:14:52.000000000 +0100
3 +++ libtasn1-1.3/lib/libtasn1-config.in 2008-02-13 13:38:29.000000000 +0100
9 -exec_prefix=@exec_prefix@
12 -tasn1_libs="@LIBTASN1_LIBS@"
13 -tasn1_cflags="@LIBTASN1_CFLAGS@"
14 -tasn1_la_file="@libdir@/libtasn1.la"
19 @@ -22,6 +19,11 @@ EOF
25 + ${PKG_CONFIG:-pkg-config} "${pkgopts[@]}" "$@" libtasn1
28 if test $# -eq 0; then
31 @@ -34,23 +36,23 @@ while test $# -gt 0; do
36 + pkgopts=( "${pkgopts[@]}" "--define-variable=prefix=$optarg" )
37 if test $exec_prefix_set = no ; then
39 + pkgopts=( "${pkgopts[@]}" "--define-variable=exec_prefix=$optarg" )
47 + pkgopts=( "${pkgopts[@]}" "--define-variable=exec_prefix=$optarg" )
59 @@ -60,7 +62,8 @@ while test $# -gt 0; do
64 + echo ".la file not shipped" >&2
69 @@ -73,32 +76,17 @@ while test $# -gt 0; do
72 if test "$echo_prefix" = "yes"; then
74 + pkgcfg --variable=prefix
77 if test "$echo_exec_prefix" = "yes"; then
79 + pkgcfg --variable=exec_prefix
82 if test "$echo_cflags" = "yes"; then
83 - if test "@includedir@" != "/usr/include" ; then
84 - includes="-I@includedir@"
85 - for i in $tasn1_cflags ; do
86 - if test "$i" = "-I@includedir@" ; then
91 - echo $includes $tasn1_cflags
94 -if test "$echo_la_file" = "yes"; then
95 - echo ${tasn1_la_file}
99 if test "$echo_libs" = "yes"; then