summaryrefslogtreecommitdiff
path: root/libextra
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2004-08-20 23:40:49 +0000
committerSimon Josefsson <simon@josefsson.org>2004-08-20 23:40:49 +0000
commit36ab129dfb9ca3f299c9a2c032065d3827ee8348 (patch)
tree5266fc9c0aaccc74ff729db3fe6421adfef312c5 /libextra
parente787416f110bb1413a9aedb4d1efc57f5190c1c8 (diff)
downloadgnutls-36ab129dfb9ca3f299c9a2c032065d3827ee8348.tar.gz
Use automake VERSION.
Diffstat (limited to 'libextra')
-rw-r--r--libextra/gnutls_extra.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libextra/gnutls_extra.c b/libextra/gnutls_extra.c
index a842ebe4e7..f33b671c3f 100644
--- a/libextra/gnutls_extra.c
+++ b/libextra/gnutls_extra.c
@@ -1,4 +1,5 @@
/*
+ * Copyright (C) 2004 Simon Josefsson
* Copyright (C) 2001 Nikos Mavroyanopoulos
* Copyright (C) 2004 Free Software Foundation
*
@@ -134,7 +135,7 @@ int gnutls_global_init_extra(void)
* libextra, then do not initialize the library.
* This is because it may break things.
*/
- if (strcmp(gnutls_check_version(NULL), GNUTLS_VERSION) != 0) {
+ if (strcmp(gnutls_check_version(NULL), VERSION) != 0) {
return GNUTLS_E_LIBRARY_VERSION_MISMATCH;
}
@@ -213,7 +214,7 @@ static const char *parse_version_string(const char *s, int *major,
*/
const char *gnutls_extra_check_version(const char *req_version)
{
- const char *ver = GNUTLS_VERSION;
+ const char *ver = VERSION;
int my_major, my_minor, my_micro;
int rq_major, rq_minor, rq_micro;
const char *my_plvl, *rq_plvl;