~ubuntu-branches/ubuntu/trusty/hyperestraier/trusty

« back to all changes in this revision

Viewing changes to myconf.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2006-11-14 05:28:32 UTC
  • mfrom: (2.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061114052832-0lzqzcefn8mt4yqe
Tags: 1.4.9-1.1
* Non-maintainer upload.
* High-urgency upload for RC bugfix.
* Set HOME=$(CURDIR)/junkhome when building, otherwise the package build
  will incorrectly look for headers there -- and fail when the directory
  exists and is unreadable, as happens sometimes on sudo-using
  autobuilders!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*************************************************************************************************
2
 
 * The core API of Hyper Estraier
3
 
 *                                                      Copyright (C) 2004-2005 Mikio Hirabayashi
 
2
 * System-dependent configurations of Hyper Estraier
 
3
 *                                                      Copyright (C) 2004-2006 Mikio Hirabayashi
4
4
 * This file is part of Hyper Estraier.
5
5
 * Hyper Estraier is free software; you can redistribute it and/or modify it under the terms of
6
6
 * the GNU Lesser General Public License as published by the Free Software Foundation; either
29
29
#undef FALSE
30
30
#define FALSE          0
31
31
 
32
 
#if defined(NOZLIB)
 
32
#if defined(_MYNOZLIB)
33
33
#define ESTUSEZLIB     FALSE
34
34
#else
35
35
#define ESTUSEZLIB     TRUE
36
36
#endif
37
37
 
 
38
#if defined(_MYLZO)
 
39
#define ESTUSELZO      TRUE
 
40
#else
 
41
#define ESTUSELZO      FALSE
 
42
#endif
 
43
 
 
44
#if defined(_MYBZIP)
 
45
#define ESTUSEBZIP     TRUE
 
46
#else
 
47
#define ESTUSEBZIP     FALSE
 
48
#endif
 
49
 
 
50
#if defined(_MYMECAB)
 
51
#define ESTUSEMECAB    TRUE
 
52
#else
 
53
#define ESTUSEMECAB    FALSE
 
54
#endif
 
55
 
38
56
 
39
57
 
40
58
/*************************************************************************************************
72
90
#define _SYS_HPUX_
73
91
#define ESTSYSNAME  "HP-UX"
74
92
 
 
93
#elif defined(__osf)
 
94
 
 
95
#define _SYS_TRU64_
 
96
#define _QDBM_SYSNAME  "Tru64"
 
97
 
 
98
#elif defined(_AIX)
 
99
 
 
100
#define _SYS_AIX_
 
101
#define _QDBM_SYSNAME  "AIX"
 
102
 
75
103
#elif defined(__APPLE__) && defined(__MACH__)
76
104
 
77
105
#define _SYS_MACOSX_
129
157
 
130
158
#include <regex.h>
131
159
#include <iconv.h>
 
160
 
 
161
#if ESTUSEZLIB
132
162
#include <zlib.h>
 
163
#endif
 
164
 
 
165
#if ESTUSELZO
 
166
#include <lzo/lzo1x.h>
 
167
#endif
 
168
 
 
169
#if ESTUSEBZIP
 
170
#include <bzlib.h>
 
171
#endif
133
172
 
134
173
#include "md5.h"
135
174
 
192
231
 
193
232
#if ! defined(_QDBM_LIBVER)
194
233
#error QDBM is required but not found.
195
 
#elif _QDBM_LIBVER < 1105
196
 
#error This version of QDBM is too old.  Use 1.8.33 or later.
 
234
#elif _QDBM_LIBVER < 1404
 
235
#error This version of QDBM is too old.  Use 1.8.68 or later.
197
236
#endif
198
237
 
199
238
#if defined(__va_copy)