projects
/
yazpp-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8811541
)
Update configure to generate config.h
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 25 May 2011 13:20:18 +0000
(15:20 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 25 May 2011 13:20:18 +0000
(15:20 +0200)
43 files changed:
configure.ac
patch
|
blob
|
history
src/gdu.cpp
patch
|
blob
|
history
src/gduqueue.cpp
patch
|
blob
|
history
src/limit-connect.cpp
patch
|
blob
|
history
src/pdu-observer.cpp
patch
|
blob
|
history
src/query.cpp
patch
|
blob
|
history
src/socket-observer.cpp
patch
|
blob
|
history
src/timestat.cpp
patch
|
blob
|
history
src/tstquery.cpp
patch
|
blob
|
history
src/yaz-cql2rpn.cpp
patch
|
blob
|
history
src/yaz-ir-assoc.cpp
patch
|
blob
|
history
src/yaz-marc-sample.cpp
patch
|
blob
|
history
src/yaz-my-client.cpp
patch
|
blob
|
history
src/yaz-my-server.cpp
patch
|
blob
|
history
src/yaz-pdu-assoc-thread.cpp
patch
|
blob
|
history
src/yaz-pdu-assoc.cpp
patch
|
blob
|
history
src/yaz-socket-manager.cpp
patch
|
blob
|
history
src/yaz-z-assoc.cpp
patch
|
blob
|
history
src/yaz-z-cache.cpp
patch
|
blob
|
history
src/yaz-z-databases.cpp
patch
|
blob
|
history
src/yaz-z-query.cpp
patch
|
blob
|
history
src/yaz-z-server-ill.cpp
patch
|
blob
|
history
src/yaz-z-server-sr.cpp
patch
|
blob
|
history
src/yaz-z-server-update.cpp
patch
|
blob
|
history
src/yaz-z-server.cpp
patch
|
blob
|
history
src/z-server.cpp
patch
|
blob
|
history
zlint/main.cpp
patch
|
blob
|
history
zlint/test-init-01.cpp
patch
|
blob
|
history
zlint/test-init-02.cpp
patch
|
blob
|
history
zlint/test-init-03.cpp
patch
|
blob
|
history
zlint/test-init-04.cpp
patch
|
blob
|
history
zlint/test-init-05.cpp
patch
|
blob
|
history
zlint/test-init-06.cpp
patch
|
blob
|
history
zlint/test-init-07.cpp
patch
|
blob
|
history
zlint/test-init-08.cpp
patch
|
blob
|
history
zlint/test-scan-01.cpp
patch
|
blob
|
history
zlint/test-search-01.cpp
patch
|
blob
|
history
zlint/zlint.cpp
patch
|
blob
|
history
zoom/zconn.cpp
patch
|
blob
|
history
zoom/zexcept.cpp
patch
|
blob
|
history
zoom/zquery.cpp
patch
|
blob
|
history
zoom/zrec.cpp
patch
|
blob
|
history
zoom/zrs.cpp
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
ff7b63d
..
47669f3
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-2,6
+2,7
@@
dnl This file is part of yazpp
dnl Copyright (C) 1998-2011 Index Data
AC_PREREQ(2.60)
AC_INIT([yazpp],[1.2.5],[adam@indexdata.dk])
dnl Copyright (C) 1998-2011 Index Data
AC_PREREQ(2.60)
AC_INIT([yazpp],[1.2.5],[adam@indexdata.dk])
+AC_CONFIG_HEADERS([include/config.h])
AC_CONFIG_SRCDIR(configure.ac)
AC_CONFIG_AUX_DIR([config])
AM_INIT_AUTOMAKE([1.9])
AC_CONFIG_SRCDIR(configure.ac)
AC_CONFIG_AUX_DIR([config])
AM_INIT_AUTOMAKE([1.9])
diff --git
a/src/gdu.cpp
b/src/gdu.cpp
index
0d8efee
..
231e8ef
100644
(file)
--- a/
src/gdu.cpp
+++ b/
src/gdu.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yazpp/gdu.h>
using namespace yazpp_1;
#include <yazpp/gdu.h>
using namespace yazpp_1;
diff --git
a/src/gduqueue.cpp
b/src/gduqueue.cpp
index
0b5cb61
..
1b18f38
100644
(file)
--- a/
src/gduqueue.cpp
+++ b/
src/gduqueue.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yazpp/gdu.h>
#include <yazpp/gduqueue.h>
#include <yazpp/gdu.h>
#include <yazpp/gduqueue.h>
diff --git
a/src/limit-connect.cpp
b/src/limit-connect.cpp
index
b1bd57f
..
4af597e
100644
(file)
--- a/
src/limit-connect.cpp
+++ b/
src/limit-connect.cpp
@@
-25,6
+25,9
@@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yazpp/limit-connect.h>
#include <time.h>
#include <yazpp/limit-connect.h>
#include <time.h>
diff --git
a/src/pdu-observer.cpp
b/src/pdu-observer.cpp
index
d3f2303
..
2bb4078
100644
(file)
--- a/
src/pdu-observer.cpp
+++ b/
src/pdu-observer.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yazpp/pdu-observer.h>
using namespace yazpp_1;
#include <yazpp/pdu-observer.h>
using namespace yazpp_1;
diff --git
a/src/query.cpp
b/src/query.cpp
index
53bfc0b
..
0540543
100644
(file)
--- a/
src/query.cpp
+++ b/
src/query.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yazpp/query.h>
using namespace yazpp_1;
#include <yazpp/query.h>
using namespace yazpp_1;
diff --git
a/src/socket-observer.cpp
b/src/socket-observer.cpp
index
b6063c2
..
6c3c5b5
100644
(file)
--- a/
src/socket-observer.cpp
+++ b/
src/socket-observer.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yazpp/socket-observer.h>
using namespace yazpp_1;
#include <yazpp/socket-observer.h>
using namespace yazpp_1;
diff --git
a/src/timestat.cpp
b/src/timestat.cpp
index
5ea1755
..
078aaac
100644
(file)
--- a/
src/timestat.cpp
+++ b/
src/timestat.cpp
@@
-25,6
+25,9
@@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yazpp/timestat.h>
using namespace yazpp_1;
#include <yazpp/timestat.h>
using namespace yazpp_1;
diff --git
a/src/tstquery.cpp
b/src/tstquery.cpp
index
3dce6a2
..
da1e8f7
100644
(file)
--- a/
src/tstquery.cpp
+++ b/
src/tstquery.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdlib.h>
#include <yazpp/z-query.h>
#include <stdlib.h>
#include <yazpp/z-query.h>
diff --git
a/src/yaz-cql2rpn.cpp
b/src/yaz-cql2rpn.cpp
index
1351b0e
..
3a4b357
100644
(file)
--- a/
src/yaz-cql2rpn.cpp
+++ b/
src/yaz-cql2rpn.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <yaz/pquery.h>
#include <yazpp/cql2rpn.h>
#include <yaz/log.h>
#include <yaz/pquery.h>
#include <yazpp/cql2rpn.h>
diff --git
a/src/yaz-ir-assoc.cpp
b/src/yaz-ir-assoc.cpp
index
2106f93
..
83e953e
100644
(file)
--- a/
src/yaz-ir-assoc.cpp
+++ b/
src/yaz-ir-assoc.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <assert.h>
#include <yaz/log.h>
#include <assert.h>
#include <yaz/log.h>
diff --git
a/src/yaz-marc-sample.cpp
b/src/yaz-marc-sample.cpp
index
3c81f1f
..
a11c5a2
100644
(file)
--- a/
src/yaz-marc-sample.cpp
+++ b/
src/yaz-marc-sample.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yazpp/z-server.h>
using namespace yazpp_1;
#include <yazpp/z-server.h>
using namespace yazpp_1;
diff --git
a/src/yaz-my-client.cpp
b/src/yaz-my-client.cpp
index
7c4e479
..
69b4c9b
100644
(file)
--- a/
src/yaz-my-client.cpp
+++ b/
src/yaz-my-client.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdlib.h>
#include <yaz/log.h>
#include <yaz/options.h>
#include <stdlib.h>
#include <yaz/log.h>
#include <yaz/options.h>
diff --git
a/src/yaz-my-server.cpp
b/src/yaz-my-server.cpp
index
0ef28ae
..
372629c
100644
(file)
--- a/
src/yaz-my-server.cpp
+++ b/
src/yaz-my-server.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdlib.h>
#include <yaz/log.h>
#include <yaz/diagbib1.h>
#include <stdlib.h>
#include <yaz/log.h>
#include <yaz/diagbib1.h>
diff --git
a/src/yaz-pdu-assoc-thread.cpp
b/src/yaz-pdu-assoc-thread.cpp
index
095c6ec
..
94c3df1
100644
(file)
--- a/
src/yaz-pdu-assoc-thread.cpp
+++ b/
src/yaz-pdu-assoc-thread.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#ifdef WIN32
#define USE_THREADS 1
#endif
#ifdef WIN32
#define USE_THREADS 1
#endif
diff --git
a/src/yaz-pdu-assoc.cpp
b/src/yaz-pdu-assoc.cpp
index
2d17f11
..
8a949cf
100644
(file)
--- a/
src/yaz-pdu-assoc.cpp
+++ b/
src/yaz-pdu-assoc.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <assert.h>
#include <string.h>
#include <yaz/log.h>
#include <assert.h>
#include <string.h>
#include <yaz/log.h>
diff --git
a/src/yaz-socket-manager.cpp
b/src/yaz-socket-manager.cpp
index
b6b789a
..
a768cb4
100644
(file)
--- a/
src/yaz-socket-manager.cpp
+++ b/
src/yaz-socket-manager.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#if HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#if HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
diff --git
a/src/yaz-z-assoc.cpp
b/src/yaz-z-assoc.cpp
index
2a8f3b3
..
e389184
100644
(file)
--- a/
src/yaz-z-assoc.cpp
+++ b/
src/yaz-z-assoc.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <assert.h>
#include <signal.h>
#include <assert.h>
#include <signal.h>
diff --git
a/src/yaz-z-cache.cpp
b/src/yaz-z-cache.cpp
index
11544b3
..
ccb7463
100644
(file)
--- a/
src/yaz-z-cache.cpp
+++ b/
src/yaz-z-cache.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <yaz/proto.h>
#include <yaz/copy_types.h>
#include <yaz/log.h>
#include <yaz/proto.h>
#include <yaz/copy_types.h>
diff --git
a/src/yaz-z-databases.cpp
b/src/yaz-z-databases.cpp
index
1e35179
..
6e190a3
100644
(file)
--- a/
src/yaz-z-databases.cpp
+++ b/
src/yaz-z-databases.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <string.h>
#include <yazpp/z-databases.h>
#include <string.h>
#include <yazpp/z-databases.h>
diff --git
a/src/yaz-z-query.cpp
b/src/yaz-z-query.cpp
index
0ba1004
..
94e7781
100644
(file)
--- a/
src/yaz-z-query.cpp
+++ b/
src/yaz-z-query.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/querytowrbuf.h>
#include <yazpp/z-query.h>
#include <yaz/pquery.h>
#include <yaz/querytowrbuf.h>
#include <yazpp/z-query.h>
#include <yaz/pquery.h>
diff --git
a/src/yaz-z-server-ill.cpp
b/src/yaz-z-server-ill.cpp
index
f82a09a
..
6eec156
100644
(file)
--- a/
src/yaz-z-server-ill.cpp
+++ b/
src/yaz-z-server-ill.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <yazpp/z-server.h>
#include <yaz/log.h>
#include <yazpp/z-server.h>
diff --git
a/src/yaz-z-server-sr.cpp
b/src/yaz-z-server-sr.cpp
index
b07b839
..
05472dd
100644
(file)
--- a/
src/yaz-z-server-sr.cpp
+++ b/
src/yaz-z-server-sr.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <yazpp/z-server.h>
#include <yaz/log.h>
#include <yazpp/z-server.h>
diff --git
a/src/yaz-z-server-update.cpp
b/src/yaz-z-server-update.cpp
index
f86aef7
..
c3eb951
100644
(file)
--- a/
src/yaz-z-server-update.cpp
+++ b/
src/yaz-z-server-update.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <yazpp/z-server.h>
#include <yaz/log.h>
#include <yazpp/z-server.h>
diff --git
a/src/yaz-z-server.cpp
b/src/yaz-z-server.cpp
index
71b8f39
..
80928ec
100644
(file)
--- a/
src/yaz-z-server.cpp
+++ b/
src/yaz-z-server.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <yazpp/z-server.h>
#include <yaz/oid_db.h>
#include <yaz/log.h>
#include <yazpp/z-server.h>
#include <yaz/oid_db.h>
diff --git
a/src/z-server.cpp
b/src/z-server.cpp
index
bb709d3
..
8df58d7
100644
(file)
--- a/
src/z-server.cpp
+++ b/
src/z-server.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yazpp/z-server.h>
using namespace yazpp_1;
#include <yazpp/z-server.h>
using namespace yazpp_1;
diff --git
a/zlint/main.cpp
b/zlint/main.cpp
index
a2a20cf
..
22a89f0
100644
(file)
--- a/
zlint/main.cpp
+++ b/
zlint/main.cpp
@@
-1,3
+1,6
@@
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdlib.h>
#include <yazpp/pdu-assoc.h>
#include <stdlib.h>
#include <yazpp/pdu-assoc.h>
diff --git
a/zlint/test-init-01.cpp
b/zlint/test-init-01.cpp
index
d0edf7f
..
3625443
100644
(file)
--- a/
zlint/test-init-01.cpp
+++ b/
zlint/test-init-01.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <zlint.h>
#include <yaz/log.h>
#include <zlint.h>
diff --git
a/zlint/test-init-02.cpp
b/zlint/test-init-02.cpp
index
b83123f
..
9ea59ae
100644
(file)
--- a/
zlint/test-init-02.cpp
+++ b/
zlint/test-init-02.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <zlint.h>
#include <yaz/log.h>
#include <zlint.h>
diff --git
a/zlint/test-init-03.cpp
b/zlint/test-init-03.cpp
index
b3a0c9b
..
0e4e7b5
100644
(file)
--- a/
zlint/test-init-03.cpp
+++ b/
zlint/test-init-03.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <zlint.h>
#include <yaz/log.h>
#include <zlint.h>
diff --git
a/zlint/test-init-04.cpp
b/zlint/test-init-04.cpp
index
be14886
..
e8e53e2
100644
(file)
--- a/
zlint/test-init-04.cpp
+++ b/
zlint/test-init-04.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <zlint.h>
#include <yaz/log.h>
#include <zlint.h>
diff --git
a/zlint/test-init-05.cpp
b/zlint/test-init-05.cpp
index
6909063
..
f9b95f8
100644
(file)
--- a/
zlint/test-init-05.cpp
+++ b/
zlint/test-init-05.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <zlint.h>
#include <yaz/log.h>
#include <zlint.h>
diff --git
a/zlint/test-init-06.cpp
b/zlint/test-init-06.cpp
index
793d71a
..
8f9a529
100644
(file)
--- a/
zlint/test-init-06.cpp
+++ b/
zlint/test-init-06.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <zlint.h>
#include <yaz/log.h>
#include <zlint.h>
diff --git
a/zlint/test-init-07.cpp
b/zlint/test-init-07.cpp
index
15f71ae
..
eb52fd3
100644
(file)
--- a/
zlint/test-init-07.cpp
+++ b/
zlint/test-init-07.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <yaz/charneg.h>
#include <yaz/otherinfo.h>
#include <yaz/log.h>
#include <yaz/charneg.h>
#include <yaz/otherinfo.h>
diff --git
a/zlint/test-init-08.cpp
b/zlint/test-init-08.cpp
index
7707eae
..
92c8ea4
100644
(file)
--- a/
zlint/test-init-08.cpp
+++ b/
zlint/test-init-08.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <yaz/charneg.h>
#include <yaz/otherinfo.h>
#include <yaz/log.h>
#include <yaz/charneg.h>
#include <yaz/otherinfo.h>
diff --git
a/zlint/test-scan-01.cpp
b/zlint/test-scan-01.cpp
index
cc50e5a
..
1e5b3d5
100644
(file)
--- a/
zlint/test-scan-01.cpp
+++ b/
zlint/test-scan-01.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <yaz/pquery.h>
#include <yaz/log.h>
#include <yaz/pquery.h>
diff --git
a/zlint/test-search-01.cpp
b/zlint/test-search-01.cpp
index
de0ebb8
..
03bc84e
100644
(file)
--- a/
zlint/test-search-01.cpp
+++ b/
zlint/test-search-01.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <yaz/pquery.h>
#include <yaz/sortspec.h>
#include <yaz/log.h>
#include <yaz/pquery.h>
#include <yaz/sortspec.h>
diff --git
a/zlint/zlint.cpp
b/zlint/zlint.cpp
index
8853e42
..
d148467
100644
(file)
--- a/
zlint/zlint.cpp
+++ b/
zlint/zlint.cpp
@@
-3,6
+3,9
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdarg.h>
diff --git
a/zoom/zconn.cpp
b/zoom/zconn.cpp
index
f016b63
..
5abb963
100644
(file)
--- a/
zoom/zconn.cpp
+++ b/
zoom/zconn.cpp
@@
-1,5
+1,8
@@
// Z39.50 Connection class
// Z39.50 Connection class
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "zoom.h"
#include "zoom.h"
diff --git
a/zoom/zexcept.cpp
b/zoom/zexcept.cpp
index
007738c
..
282177b
100644
(file)
--- a/
zoom/zexcept.cpp
+++ b/
zoom/zexcept.cpp
@@
-1,5
+1,8
@@
// Z39.50 Exception classes
// Z39.50 Exception classes
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <iostream>
#include <errno.h>
#include <string.h> // for strerror(), strlen(), strcpy()
#include <iostream>
#include <errno.h>
#include <string.h> // for strerror(), strlen(), strcpy()
diff --git
a/zoom/zquery.cpp
b/zoom/zquery.cpp
index
a729235
..
704a20f
100644
(file)
--- a/
zoom/zquery.cpp
+++ b/
zoom/zquery.cpp
@@
-1,5
+1,8
@@
// Z39.50 Query classes
// Z39.50 Query classes
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "zoom.h"
#include "zoom.h"
diff --git
a/zoom/zrec.cpp
b/zoom/zrec.cpp
index
97a2041
..
dc71a39
100644
(file)
--- a/
zoom/zrec.cpp
+++ b/
zoom/zrec.cpp
@@
-1,5
+1,8
@@
// Z39.50 Record class
// Z39.50 Record class
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "zoom.h"
#include <yaz/yaz-util.h> // for yaz_matchstr()
#include "zoom.h"
#include <yaz/yaz-util.h> // for yaz_matchstr()
diff --git
a/zoom/zrs.cpp
b/zoom/zrs.cpp
index
430b8f4
..
1d2e4d9
100644
(file)
--- a/
zoom/zrs.cpp
+++ b/
zoom/zrs.cpp
@@
-1,5
+1,8
@@
// Z39.50 Result Set class
// Z39.50 Result Set class
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "zoom.h"
#include "zoom.h"