f7f5a80c58aa820539791af7d302f2324bb1a7bb
[Faustine.git] / interpretor / lib / src / libsndfile-1.0.25 / src / sfconfig.h
1 /*
2 ** Copyright (C) 2005-2011 Erik de Castro Lopo <erikd@mega-nerd.com>
3 **
4 ** This program is free software; you can redistribute it and/or modify
5 ** it under the terms of the GNU Lesser General Public License as published by
6 ** the Free Software Foundation; either version 2.1 of the License, or
7 ** (at your option) any later version.
8 **
9 ** This program is distributed in the hope that it will be useful,
10 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ** GNU Lesser General Public License for more details.
13 **
14 ** You should have received a copy of the GNU Lesser General Public License
15 ** along with this program; if not, write to the Free Software
16 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 */
18
19 /*
20 ** Autoconf leaves many config parameters undefined.
21 ** Here we change then from being undefined to defining them to 0.
22 ** This allows things like:
23 **
24 ** #if HAVE_CONFIG_PARAM
25 **
26 ** and
27 **
28 ** if (HAVE_CONFIG_PARAM)
29 ** do_something () ;
30 */
31
32 #ifndef SFCONFIG_H
33 #define SFCONFIG_H
34
35 /* Include the Autoconf generated file. */
36 #include "config.h"
37
38 /* Now fiddle the values. */
39
40 #ifndef HAVE_ALSA_ASOUNDLIB_H
41 #define HAVE_ALSA_ASOUNDLIB_H 0
42 #endif
43
44 #ifndef HAVE_BYTESWAP_H
45 #define HAVE_BYTESWAP_H 0
46 #endif
47
48 #ifndef HAVE_DECL_S_IRGRP
49 #define HAVE_DECL_S_IRGRP 0
50 #endif
51
52 #ifndef HAVE_ENDIAN_H
53 #define HAVE_ENDIAN_H 0
54 #endif
55
56 #ifndef HAVE_FSYNC
57 #define HAVE_FSYNC 0
58 #endif
59
60 #ifndef HAVE_LOCALE_H
61 #define HAVE_LOCALE_H 0
62 #endif
63
64 #ifndef HAVE_LRINT
65 #define HAVE_LRINT 0
66 #endif
67
68 #ifndef HAVE_LRINTF
69 #define HAVE_LRINTF 0
70 #endif
71
72 #ifndef HAVE_MMAP
73 #define HAVE_MMAP 0
74 #endif
75
76 #ifndef HAVE_PREAD
77 #define HAVE_PREAD 0
78 #endif
79
80 #ifndef HAVE_PWRITE
81 #define HAVE_PWRITE 0
82 #endif
83
84 #ifndef HAVE_SETLOCALE
85 #define HAVE_SETLOCALE 0
86 #endif
87
88 #ifndef HAVE_SQLITE3
89 #define HAVE_SQLITE3 0
90 #endif
91
92 #ifndef HAVE_STDINT_H
93 #define HAVE_STDINT_H 0
94 #endif
95
96 #ifndef HAVE_SYS_WAIT_H
97 #define HAVE_SYS_WAIT_H 0
98 #endif
99
100 #ifndef HAVE_UNISTD_H
101 #define HAVE_UNISTD_H 0
102 #endif
103
104 #ifndef HAVE_PIPE
105 #define HAVE_PIPE 0
106 #endif
107
108 #ifndef HAVE_WAITPID
109 #define HAVE_WAITPID 0
110 #endif
111
112 #endif
113