Remove trailing whitespace throughout the source tree.
[herrie-working.git] / herrie / src / conftest.c
blobdb40b59374a6494902893123a007413c01cad04b
1 /*
2 * Copyright (c) 2006-2011 Ed Schouten <ed@80386.nl>
3 * All rights reserved.
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
28 * Header files which aren't obtained from pkg-config and such. We need
29 * to check whether they are available on our system.
32 #include "stdinc.h"
34 #include CURSES_HEADER
35 #ifdef BUILD_ALSA
36 #include <alsa/asoundlib.h>
37 #endif /* BUILD_ALSA */
38 #ifdef BUILD_AO
39 #include <ao/ao.h>
40 #endif /* BUILD_AO */
41 #ifdef BUILD_DBUS
42 #include <dbus/dbus-glib-bindings.h>
43 #endif /* BUILD_DBUS */
44 #ifdef BUILD_MODPLUG
45 #include <sys/mman.h>
46 #endif /* BUILD_MODPLUG */
47 #ifdef BUILD_MP3
48 #include <id3tag.h>
49 #include <mad.h>
50 #endif /* BUILD_MP3 */
51 #ifdef BUILD_OSS
52 #include <sys/ioctl.h>
53 #include OSS_HEADER
54 #endif /* BUILD_OSS */
55 #ifdef BUILD_SNDFILE
56 #include <sndfile.h>
57 #endif /* BUILD_SNDFILE */
58 #ifdef BUILD_VORBIS
59 #include <vorbis/codec.h>
60 #include <vorbis/vorbisfile.h>
61 #endif /* BUILD_VORBIS */
63 int
64 main(int argc, char *argv[])
67 #ifdef BUILD_SNDFILE
68 sf_get_string(NULL, SF_STR_ALBUM);
69 #endif /* BUILD_SNDFILE */
71 return (0);