projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Call exsltRegisterAll in yaz_init_globals
[yaz-moved-to-github.git]
/
src
/
init_globals.c
diff --git
a/src/init_globals.c
b/src/init_globals.c
index
1f2905c
..
0800a4b
100644
(file)
--- a/
src/init_globals.c
+++ b/
src/init_globals.c
@@
-24,6
+24,10
@@
#include <gcrypt.h>
#endif
#include <gcrypt.h>
#endif
+#if YAZ_HAVE_EXSLT
+#include <libexslt/exslt.h>
+#endif
+
static int yaz_init_flag = 0;
#if YAZ_POSIX_THREADS
static pthread_mutex_t yaz_init_mutex = PTHREAD_MUTEX_INITIALIZER;
static int yaz_init_flag = 0;
#if YAZ_POSIX_THREADS
static pthread_mutex_t yaz_init_mutex = PTHREAD_MUTEX_INITIALIZER;
@@
-53,6
+57,9
@@
void yaz_init_globals(void)
#endif
yaz_init_flag = 1;
}
#endif
yaz_init_flag = 1;
}
+#if YAZ_HAVE_EXSLT
+ exsltRegisterAll();
+#endif
#if YAZ_POSIX_THREADS
pthread_mutex_unlock(&yaz_init_mutex);
#endif
#if YAZ_POSIX_THREADS
pthread_mutex_unlock(&yaz_init_mutex);
#endif