~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to include/curl/curlbuild.h.in

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-04-02 23:35:45 UTC
  • mto: (1.2.1 upstream) (3.2.3 sid)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20090402233545-geixkwhe3izccjt7
Tags: upstream-7.19.4
ImportĀ upstreamĀ versionĀ 7.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __CURL_CURLBUILD_H
 
2
#define __CURL_CURLBUILD_H
 
3
/***************************************************************************
 
4
 *                                  _   _ ____  _
 
5
 *  Project                     ___| | | |  _ \| |
 
6
 *                             / __| | | | |_) | |
 
7
 *                            | (__| |_| |  _ <| |___
 
8
 *                             \___|\___/|_| \_\_____|
 
9
 *
 
10
 * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
 
11
 *
 
12
 * This software is licensed as described in the file COPYING, which
 
13
 * you should have received as part of this distribution. The terms
 
14
 * are also available at http://curl.haxx.se/docs/copyright.html.
 
15
 *
 
16
 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
 
17
 * copies of the Software, and permit persons to whom the Software is
 
18
 * furnished to do so, under the terms of the COPYING file.
 
19
 *
 
20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
 
21
 * KIND, either express or implied.
 
22
 *
 
23
 * $Id: curlbuild.h.in,v 1.6 2008-08-25 13:42:53 yangtse Exp $
 
24
 ***************************************************************************/
 
25
 
 
26
/* ================================================================ */
 
27
/*               NOTES FOR CONFIGURE CAPABLE SYSTEMS                */
 
28
/* ================================================================ */
 
29
 
 
30
/*
 
31
 * NOTE 1:
 
32
 * -------
 
33
 *
 
34
 * Nothing in this file is intended to be modified or adjusted by the
 
35
 * curl library user nor by the curl library builder.
 
36
 *
 
37
 * If you think that something actually needs to be changed, adjusted
 
38
 * or fixed in this file, then, report it on the libcurl development
 
39
 * mailing list: http://cool.haxx.se/mailman/listinfo/curl-library/
 
40
 *
 
41
 * This header file shall only export symbols which are 'curl' or 'CURL'
 
42
 * prefixed, otherwise public name space would be polluted.
 
43
 *
 
44
 * NOTE 2:
 
45
 * -------
 
46
 *
 
47
 * Right now you might be staring at file include/curl/curlbuild.h.in or
 
48
 * at file include/curl/curlbuild.h, this is due to the following reason:
 
49
 *
 
50
 * On systems capable of running the configure script, the configure process
 
51
 * will overwrite the distributed include/curl/curlbuild.h file with one that
 
52
 * is suitable and specific to the library being configured and built, which
 
53
 * is generated from the include/curl/curlbuild.h.in template file.
 
54
 *
 
55
 */
 
56
 
 
57
/* ================================================================ */
 
58
/*  DEFINITION OF THESE SYMBOLS SHALL NOT TAKE PLACE ANYWHERE ELSE  */
 
59
/* ================================================================ */
 
60
 
 
61
#ifdef CURL_SIZEOF_LONG
 
62
#  error "CURL_SIZEOF_LONG shall not be defined except in curlbuild.h"
 
63
   Error Compilation_aborted_CURL_SIZEOF_LONG_already_defined
 
64
#endif
 
65
 
 
66
#ifdef CURL_TYPEOF_CURL_OFF_T
 
67
#  error "CURL_TYPEOF_CURL_OFF_T shall not be defined except in curlbuild.h"
 
68
   Error Compilation_aborted_CURL_TYPEOF_CURL_OFF_T_already_defined
 
69
#endif
 
70
 
 
71
#ifdef CURL_FORMAT_CURL_OFF_T
 
72
#  error "CURL_FORMAT_CURL_OFF_T shall not be defined except in curlbuild.h"
 
73
   Error Compilation_aborted_CURL_FORMAT_CURL_OFF_T_already_defined
 
74
#endif
 
75
 
 
76
#ifdef CURL_FORMAT_CURL_OFF_TU
 
77
#  error "CURL_FORMAT_CURL_OFF_TU shall not be defined except in curlbuild.h"
 
78
   Error Compilation_aborted_CURL_FORMAT_CURL_OFF_TU_already_defined
 
79
#endif
 
80
 
 
81
#ifdef CURL_FORMAT_OFF_T
 
82
#  error "CURL_FORMAT_OFF_T shall not be defined except in curlbuild.h"
 
83
   Error Compilation_aborted_CURL_FORMAT_OFF_T_already_defined
 
84
#endif
 
85
 
 
86
#ifdef CURL_SIZEOF_CURL_OFF_T
 
87
#  error "CURL_SIZEOF_CURL_OFF_T shall not be defined except in curlbuild.h"
 
88
   Error Compilation_aborted_CURL_SIZEOF_CURL_OFF_T_already_defined
 
89
#endif
 
90
 
 
91
#ifdef CURL_SUFFIX_CURL_OFF_T
 
92
#  error "CURL_SUFFIX_CURL_OFF_T shall not be defined except in curlbuild.h"
 
93
   Error Compilation_aborted_CURL_SUFFIX_CURL_OFF_T_already_defined
 
94
#endif
 
95
 
 
96
#ifdef CURL_SUFFIX_CURL_OFF_TU
 
97
#  error "CURL_SUFFIX_CURL_OFF_TU shall not be defined except in curlbuild.h"
 
98
   Error Compilation_aborted_CURL_SUFFIX_CURL_OFF_TU_already_defined
 
99
#endif
 
100
 
 
101
/* ================================================================ */
 
102
/*  EXTERNAL INTERFACE SETTINGS FOR CONFIGURE CAPABLE SYSTEMS ONLY  */
 
103
/* ================================================================ */
 
104
 
 
105
/* Configure process defines this to 1 when it finds out that system   */
 
106
/* header file sys/types.h must be included by the external interface. */
 
107
#undef CURL_PULL_SYS_TYPES_H
 
108
#ifdef CURL_PULL_SYS_TYPES_H
 
109
#  include <sys/types.h>
 
110
#endif
 
111
 
 
112
/* Configure process defines this to 1 when it finds out that system */
 
113
/* header file stdint.h must be included by the external interface.  */
 
114
#undef CURL_PULL_STDINT_H
 
115
#ifdef CURL_PULL_STDINT_H
 
116
#  include <stdint.h>
 
117
#endif
 
118
 
 
119
/* Configure process defines this to 1 when it finds out that system  */
 
120
/* header file inttypes.h must be included by the external interface. */
 
121
#undef CURL_PULL_INTTYPES_H
 
122
#ifdef CURL_PULL_INTTYPES_H
 
123
#  include <inttypes.h>
 
124
#endif
 
125
 
 
126
/* The size of `long', as computed by sizeof. */
 
127
#undef CURL_SIZEOF_LONG
 
128
 
 
129
/* Signed integral data type used for curl_off_t. */
 
130
#undef CURL_TYPEOF_CURL_OFF_T
 
131
 
 
132
/* Data type definition of curl_off_t. */
 
133
typedef CURL_TYPEOF_CURL_OFF_T curl_off_t;
 
134
 
 
135
/* curl_off_t formatting string directive without "%" conversion specifier. */
 
136
#undef CURL_FORMAT_CURL_OFF_T
 
137
 
 
138
/* unsigned curl_off_t formatting string without "%" conversion specifier. */
 
139
#undef CURL_FORMAT_CURL_OFF_TU
 
140
 
 
141
/* curl_off_t formatting string directive with "%" conversion specifier. */
 
142
#undef CURL_FORMAT_OFF_T
 
143
 
 
144
/* The size of `curl_off_t', as computed by sizeof. */
 
145
#undef CURL_SIZEOF_CURL_OFF_T
 
146
 
 
147
/* curl_off_t constant suffix. */
 
148
#undef CURL_SUFFIX_CURL_OFF_T
 
149
 
 
150
/* unsigned curl_off_t constant suffix. */
 
151
#undef CURL_SUFFIX_CURL_OFF_TU
 
152
 
 
153
#endif /* __CURL_CURLBUILD_H */