]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/subversion/subversion/svn_private_config.hw
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / subversion / subversion / svn_private_config.hw
1 /*
2  * svn_private_config.hw : Template for svn_private_config.h on Win32.
3  *
4  * ====================================================================
5  *    Licensed to the Apache Software Foundation (ASF) under one
6  *    or more contributor license agreements.  See the NOTICE file
7  *    distributed with this work for additional information
8  *    regarding copyright ownership.  The ASF licenses this file
9  *    to you under the Apache License, Version 2.0 (the
10  *    "License"); you may not use this file except in compliance
11  *    with the License.  You may obtain a copy of the License at
12  *
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  *
15  *    Unless required by applicable law or agreed to in writing,
16  *    software distributed under the License is distributed on an
17  *    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18  *    KIND, either express or implied.  See the License for the
19  *    specific language governing permissions and limitations
20  *    under the License.
21  * ====================================================================
22  */
23
24 /* ==================================================================== */
25
26
27 \f
28
29 #ifndef SVN_PRIVATE_CONFIG_HW
30 #define SVN_PRIVATE_CONFIG_HW
31
32
33 /* Define to a Windows-specific equivalent of config.guess output */
34 #define SVN_BUILD_HOST "x86-microsoft-windows"
35
36 #if defined(_M_X64)
37 #define SVN_BUILD_TARGET "x64-microsoft-windows"
38 #elif defined(_M_IA64)
39 #define SVN_BUILD_TARGET "ia64-microsoft-windows"
40 #elif defined( _M_IX86)
41 #define SVN_BUILD_TARGET "x86-microsoft-windows"
42 #else
43 #error Unsupported build target.
44 #endif
45
46 /* The minimal version of Berkeley DB we want */
47 #define SVN_FS_WANT_DB_MAJOR    4
48 #define SVN_FS_WANT_DB_MINOR    0
49 #define SVN_FS_WANT_DB_PATCH    14
50
51
52 /* Path separator for local filesystem */
53 #define SVN_PATH_LOCAL_SEPARATOR '\\'
54
55 /* Name of system's null device */
56 #define SVN_NULL_DEVICE_NAME "nul"
57
58 /* Link fs fs library into the fs library */
59 #define SVN_LIBSVN_FS_LINKS_FS_FS
60
61 /* Link local repos access library to client */
62 #define SVN_LIBSVN_CLIENT_LINKS_RA_LOCAL
63
64 /* Link pipe repos access library to client */
65 #define SVN_LIBSVN_CLIENT_LINKS_RA_SVN
66
67 /* Defined to be the path to the installed binaries */
68 #define SVN_BINDIR "/usr/local/bin"
69
70
71
72 /* The default FS back-end type */
73 #define DEFAULT_FS_TYPE "fsfs"
74
75 /* The default HTTP library to use */
76 #define DEFAULT_HTTP_LIBRARY "serf"
77
78 /* Define to the Python/C API format character suitable for apr_int64_t */
79 #if defined(_WIN64)
80 #define SVN_APR_INT64_T_PYCFMT "l"
81 #elif defined(_WIN32)
82 #define SVN_APR_INT64_T_PYCFMT "L"
83 #endif
84
85 /* Setup gettext macros */
86 #define N_(x) x
87 #define U_(x) x
88 #define PACKAGE_NAME "subversion"
89
90 #ifdef ENABLE_NLS
91 #define SVN_LOCALE_RELATIVE_PATH "../share/locale"
92 #include <locale.h>
93 #include <libintl.h>
94 #define _(x) dgettext(PACKAGE_NAME, x)
95 #define Q_(x1, x2, n) dngettext(PACKAGE_NAME, x1, x2, n)
96 #define HAVE_BIND_TEXTDOMAIN_CODESET
97 #else
98 #define _(x) (x)
99 #define Q_(x1, x2, n) (((n) == 1) ? x1 : x2)
100 #define gettext(x) (x)
101 #define dgettext(domain, x) (x)
102 #endif
103
104 #endif /* SVN_PRIVATE_CONFIG_HW */
105
106 /* Inclusion of Berkeley DB header */
107 #ifdef SVN_WANT_BDB
108 #define APU_WANT_DB
109 #include <apu_want.h>
110 #endif