Apache Portable Runtime Utility Library
apu.h
1 /* Licensed to the Apache Software Foundation (ASF) under one or more
2  * contributor license agreements. See the NOTICE file distributed with
3  * this work for additional information regarding copyright ownership.
4  * The ASF licenses this file to You under the Apache License, Version 2.0
5  * (the "License"); you may not use this file except in compliance with
6  * the License. You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 /*
18  * apu.h is generated from apu.h.in by configure -- do not edit apu.h
19  */
20 /* @file apu.h
21  * @brief APR-Utility main file
22  */
29 #ifndef APU_H
30 #define APU_H
31 
52 #define APU_DECLARE(type) type
53 
59 #define APU_DECLARE_NONSTD(type) type
60 
68 #define APU_DECLARE_DATA
69 
70 #if !defined(WIN32) || defined(APU_MODULE_DECLARE_STATIC)
71 
80 #define APU_MODULE_DECLARE_DATA
81 #else
82 #define APU_MODULE_DECLARE_DATA __declspec(dllexport)
83 #endif
84 
85 /*
86  * we always have SDBM (it's in our codebase)
87  */
88 #define APU_HAVE_SDBM 1
89 #define APU_HAVE_GDBM 0
90 #define APU_HAVE_NDBM 0
91 #define APU_HAVE_DB 1
92 
93 #if APU_HAVE_DB
94 #define APU_HAVE_DB_VERSION 4
95 #endif
96 
97 #define APU_HAVE_PGSQL 1
98 #define APU_HAVE_MYSQL 1
99 #define APU_HAVE_SQLITE3 1
100 #define APU_HAVE_SQLITE2 0
101 #define APU_HAVE_ORACLE 0
102 #define APU_HAVE_FREETDS 1
103 #define APU_HAVE_ODBC 1
104 
105 #define APU_HAVE_CRYPTO 1
106 #define APU_HAVE_OPENSSL 1
107 #define APU_HAVE_NSS 1
108 
109 #define APU_HAVE_APR_ICONV 0
110 #define APU_HAVE_ICONV 1
111 #define APR_HAS_XLATE (APU_HAVE_APR_ICONV || APU_HAVE_ICONV)
112 
113 #endif /* APU_H */
114