]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/apr-util/include/private/apu_config.hnw
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / apr-util / include / private / apu_config.hnw
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  * Note: This is a NetWare specific version of apu_config.hnw. It is copied
19  * as apu_config.h at the start of a NetWare build.
20  */
21
22 #ifdef NETWARE
23
24 #ifndef APU_CONFIG_H
25 #define APU_CONFIG_H
26
27 /* Always compile Netware with DSO support for .nlm builds */
28 #define APU_DSO_BUILD           0
29
30 /*
31  * NetWare does not have GDBM, and we always use the bundled (new) Expat
32  */
33
34 /* Define if you have the gdbm library (-lgdbm). */
35 /* #undef HAVE_LIBGDBM */
36
37 /* define if Expat 1.0 or 1.1 was found */
38 /* #undef APR_HAVE_OLD_EXPAT */
39
40 /* NetWare uses its own ICONV implementation. */
41 #define HAVE_ICONV_H 1
42
43 /*
44  * check for newer NDKs which use now correctly 'const char*' with iconv.
45  */
46 #include <ndkvers.h>
47 #if (CURRENT_NDK_THRESHOLD >= 705110000)
48 #define APU_ICONV_INBUF_CONST
49 #endif
50
51 #endif /* APU_CONFIG_H */
52 #endif /* NETWARE */
53