summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2004-10-24 13:47:45 +0000
committerSimon Josefsson <simon@josefsson.org>2004-10-24 13:47:45 +0000
commitaee17b54263b15791f85b848441eab157b2c3be5 (patch)
tree097489746ed2b06b8911726789bcccc26ae4304d
parent714e2b00ac93e59563a6e0dbfef29a718b133701 (diff)
downloadgnutls-aee17b54263b15791f85b848441eab157b2c3be5.tar.gz
Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
-rw-r--r--NEWS2
-rw-r--r--THANKS1
-rwxr-xr-xlib/libgnutls-config.in8
-rwxr-xr-xlibextra/libgnutls-extra-config.in8
4 files changed, 19 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0d736de653..6a71b07c4f 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,8 @@ See the end for copying conditions.
- Added second precision to the X.509 parsing and generation functions.
- Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
actual OID.
+- Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
+ tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
* Version 1.1.20 (2004-10-12)
- Fix compile problem in gl/getpass.c on some systems.
diff --git a/THANKS b/THANKS
index fb67325d9a..7da5fe5f7b 100644
--- a/THANKS
+++ b/THANKS
@@ -28,6 +28,7 @@ Robey Pointer <robey@danger.com>
Simon Posnjak <simon.posnjak@cetrtapot.si>
Gerrit P. Haase <gp@familiehaase.de>
Yoann Vandoorselaere <yoann@prelude-ids.org>
+Joe Orton <joe@manyfish.co.uk>
----------------------------------------------------------------------
Copying and distribution of this file, with or without modification,
diff --git a/lib/libgnutls-config.in b/lib/libgnutls-config.in
index dbf91486fb..8df5be567a 100755
--- a/lib/libgnutls-config.in
+++ b/lib/libgnutls-config.in
@@ -6,6 +6,7 @@ exec_prefix_set=no
gnutls_libs="@LIBGNUTLS_LIBS@"
gnutls_cflags="@LIBGNUTLS_CFLAGS@"
+gnutls_la_file="@libdir@/libgnutls.la"
usage()
{
@@ -58,6 +59,9 @@ while test $# -gt 0; do
--libs)
echo_libs=yes
;;
+ --la-file)
+ echo_la_file=yes
+ ;;
*)
usage 1 1>&2
;;
@@ -85,6 +89,10 @@ if test "$echo_cflags" = "yes"; then
echo $includes $gnutls_cflags
fi
+if test "$echo_la_file" = "yes"; then
+ echo ${gnutls_la_file}
+fi
+
if test "$echo_libs" = "yes"; then
echo ${gnutls_libs}
fi
diff --git a/libextra/libgnutls-extra-config.in b/libextra/libgnutls-extra-config.in
index ace4422c02..ccde8aae55 100755
--- a/libextra/libgnutls-extra-config.in
+++ b/libextra/libgnutls-extra-config.in
@@ -6,6 +6,7 @@ exec_prefix_set=no
gnutls_libs="@LIBGNUTLS_EXTRA_LIBS@"
gnutls_cflags="@LIBGNUTLS_EXTRA_CFLAGS@"
+gnutls_la_file="@libdir@/libgnutls-extra.la"
usage()
{
@@ -58,6 +59,9 @@ while test $# -gt 0; do
--libs)
echo_libs=yes
;;
+ --la-file)
+ echo_la_file=yes
+ ;;
*)
usage 1 1>&2
;;
@@ -85,6 +89,10 @@ if test "$echo_cflags" = "yes"; then
echo $includes $gnutls_cflags
fi
+if test "$echo_la_file" = "yes"; then
+ echo ${gnutls_la_file}
+fi
+
if test "$echo_libs" = "yes"; then
echo ${gnutls_libs}
fi