1251881Speter/*
2251881Speter * svn_private_config.hw : Template for svn_private_config.h on Win32.
3251881Speter *
4251881Speter * ====================================================================
5251881Speter *    Licensed to the Apache Software Foundation (ASF) under one
6251881Speter *    or more contributor license agreements.  See the NOTICE file
7251881Speter *    distributed with this work for additional information
8251881Speter *    regarding copyright ownership.  The ASF licenses this file
9251881Speter *    to you under the Apache License, Version 2.0 (the
10251881Speter *    "License"); you may not use this file except in compliance
11251881Speter *    with the License.  You may obtain a copy of the License at
12251881Speter *
13251881Speter *      http://www.apache.org/licenses/LICENSE-2.0
14251881Speter *
15251881Speter *    Unless required by applicable law or agreed to in writing,
16251881Speter *    software distributed under the License is distributed on an
17251881Speter *    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18251881Speter *    KIND, either express or implied.  See the License for the
19251881Speter *    specific language governing permissions and limitations
20251881Speter *    under the License.
21251881Speter * ====================================================================
22251881Speter */
23251881Speter
24251881Speter/* ==================================================================== */
25251881Speter
26251881Speter
27251881Speter
28251881Speter
29251881Speter#ifndef SVN_PRIVATE_CONFIG_HW
30251881Speter#define SVN_PRIVATE_CONFIG_HW
31251881Speter
32251881Speter
33251881Speter/* Define to a Windows-specific equivalent of config.guess output */
34251881Speter#define SVN_BUILD_HOST "x86-microsoft-windows"
35251881Speter
36251881Speter#if defined(_M_X64)
37251881Speter#define SVN_BUILD_TARGET "x64-microsoft-windows"
38251881Speter#elif defined(_M_IA64)
39251881Speter#define SVN_BUILD_TARGET "ia64-microsoft-windows"
40251881Speter#elif defined( _M_IX86)
41251881Speter#define SVN_BUILD_TARGET "x86-microsoft-windows"
42251881Speter#else
43251881Speter#error Unsupported build target.
44251881Speter#endif
45251881Speter
46251881Speter/* The minimal version of Berkeley DB we want */
47251881Speter#define SVN_FS_WANT_DB_MAJOR    4
48251881Speter#define SVN_FS_WANT_DB_MINOR    0
49251881Speter#define SVN_FS_WANT_DB_PATCH    14
50251881Speter
51251881Speter
52251881Speter/* Path separator for local filesystem */
53251881Speter#define SVN_PATH_LOCAL_SEPARATOR '\\'
54251881Speter
55251881Speter/* Name of system's null device */
56251881Speter#define SVN_NULL_DEVICE_NAME "nul"
57251881Speter
58251881Speter/* Link fs fs library into the fs library */
59251881Speter#define SVN_LIBSVN_FS_LINKS_FS_FS
60251881Speter
61251881Speter/* Link local repos access library to client */
62251881Speter#define SVN_LIBSVN_CLIENT_LINKS_RA_LOCAL
63251881Speter
64251881Speter/* Link pipe repos access library to client */
65251881Speter#define SVN_LIBSVN_CLIENT_LINKS_RA_SVN
66251881Speter
67251881Speter/* Defined to be the path to the installed binaries */
68251881Speter#define SVN_BINDIR "/usr/local/bin"
69251881Speter
70251881Speter
71251881Speter
72251881Speter/* The default FS back-end type */
73251881Speter#define DEFAULT_FS_TYPE "fsfs"
74251881Speter
75251881Speter/* The default HTTP library to use */
76251881Speter#define DEFAULT_HTTP_LIBRARY "serf"
77251881Speter
78251881Speter/* Define to the Python/C API format character suitable for apr_int64_t */
79251881Speter#if defined(_WIN64)
80251881Speter#define SVN_APR_INT64_T_PYCFMT "l"
81251881Speter#elif defined(_WIN32)
82251881Speter#define SVN_APR_INT64_T_PYCFMT "L"
83251881Speter#endif
84251881Speter
85251881Speter/* Setup gettext macros */
86251881Speter#define N_(x) x
87251881Speter#define U_(x) x
88251881Speter#define PACKAGE_NAME "subversion"
89251881Speter
90251881Speter#ifdef ENABLE_NLS
91251881Speter#define SVN_LOCALE_RELATIVE_PATH "../share/locale"
92251881Speter#include <locale.h>
93251881Speter#include <libintl.h>
94251881Speter#define _(x) dgettext(PACKAGE_NAME, x)
95251881Speter#define Q_(x1, x2, n) dngettext(PACKAGE_NAME, x1, x2, n)
96251881Speter#define HAVE_BIND_TEXTDOMAIN_CODESET
97251881Speter#else
98251881Speter#define _(x) (x)
99251881Speter#define Q_(x1, x2, n) (((n) == 1) ? x1 : x2)
100251881Speter#define gettext(x) (x)
101251881Speter#define dgettext(domain, x) (x)
102251881Speter#endif
103251881Speter
104251881Speter#endif /* SVN_PRIVATE_CONFIG_HW */
105251881Speter
106251881Speter/* Inclusion of Berkeley DB header */
107251881Speter#ifdef SVN_WANT_BDB
108251881Speter#define APU_WANT_DB
109251881Speter#include <apu_want.h>
110251881Speter#endif
111