aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* aac: detect whether to pass "uint32_t*" to NeAACDecInit2()Max Kellermann2008-11-161-0/+31
| | | | | | | | | neaacdec.h declares all arguments as "unsigned long", but internally expects uint32_t pointers. This triggers gcc warnings on 64 bit architectures. To avoid that, make configure.ac detect whether we're using Debian's corrected headers or the original libfaad headers. In any case, pass a pointer to an uint32_t, conditionally casted to "unsigned long*".
* MPD version 0.14~alpha3release-0.14_alpha3Avuton Olrich2008-11-141-1/+1
|
* MPD version 0.14~alpha2release-0.14_alpha2Avuton Olrich2008-11-131-1/+1
|
* configure.ac: enable _ogg_common.c when flac is enabledMax Kellermann2008-11-071-1/+1
| | | | | | The build failed when the oggvorbis and oggflac decoders were disabled, because the flac decoder references a symbol from _ogg_common.c.
* configure.ac: added AC_CONFIG_SRCDIRMax Kellermann2008-11-071-4/+2
|
* MPD version 0.14~alpha1release-0.14_alpha1Max Kellermann2008-11-051-1/+1
| | | | First alpha version for the upcoming version 0.14.
* enable GLib threadingMax Kellermann2008-11-051-1/+1
| | | | | Call g_thread_init() from main() to enable the GLib features which make it thread safe.
* configure.ac: check for avcodec_decode_audio2()Max Kellermann2008-11-041-0/+8
| | | | | Disable the ffmpeg decoder plugin if avcodec_decode_audio2() is not available.
* configure.ac: unset MP4FF_LIBS when MP4 support is disabledMax Kellermann2008-11-041-0/+1
| | | | | Although there is no AC_SUBST when $enable_mp4=no, autoconf substitutes its value in Makefile.am. Clear it in this case.
* configure.ac: disable libflac's oggflac support with --disable-oggflacAvuton Olrich2008-11-031-1/+1
| | | | The configure flag "--disable-oggflac" disabled only liboggflac.
* configure.ac: AC_SUBST(MP4FF_LIBS)Max Kellermann2008-11-031-0/+1
| | | | The AC_SUBST() call was missing in the previous patch.
* configure.ac: separate the "aac" and "mp4" decoder testsMax Kellermann2008-11-031-3/+39
| | | | | | | MPD used to have a copy of the mp4ff library. Since that has been removed, AAC suport was disabled when there was no libmp4ff. Separate the libmp4ff test, and enable AAC support no matter if libmp4ff is available.
* configure.ac: fix "xyes: command not found"Max Kellermann2008-10-261-1/+1
| | | | | Due to a missing "test", the "xyes" token was interpreted as a command.
* output: don't compile plugins which are disabledMax Kellermann2008-10-261-0/+20
| | | | Don't compile the sources of disabled output plugins at all.
* http: use libcurlMax Kellermann2008-10-261-0/+18
| | | | | | | MPD's HTTP client code has always been broken, no matter how effort was put into fixing it. Replace it with libcurl, which is known to be quite stable. This adds a fat library dependency, but only for people who need streaming.
* configure.ac: reverted protocol version to 0.14.0Max Kellermann2008-10-261-1/+1
| | | | | | | Several clients refuse to accept the protocol version "0.14~git", because they think it is malformed. This is clearly a client bug, but we cannot wait for all clients to fix this bug right now. For now, change the version back to "0.14.0".
* configure.ac: changed version number to "0.14~git"Max Kellermann2008-10-251-2/+2
| | | | | | | For testers, it should be clear that they're not using version 0.14.0 final, but an inofficial intermediate version from the git repository. The protocol version is set to the same string, since the protocol is subject to change during MPD development.
* configure.ac: disable libtoolMax Kellermann2008-10-251-7/+0
| | | | | Since we're not building the local mp4ff library anymore, we can remove AC_PROG_LIBTOOL.
* removed internal copy of libmp4ffMax Kellermann2008-10-251-8/+4
| | | | | | MPD shouldn't integrate sources of other libraries. Since libmp4ff is part of libfaad, we should remove the old copy from src/mp4ff and link with the current version from libfaad instead.
* pcm_resample: support for libsamplerate < 0.1.3Max Kellermann2008-10-241-0/+5
| | | | | libsamplerate 0.1.2 didn't have the 32 bit <-> float conversion routines. Emulate them in case they aren't supported.
* pcm_utils: moved code to pcm_resample.cMax Kellermann2008-10-231-0/+2
| | | | | | Separate the resampling code from the rest of pcm_utils.c. Create two sub-libraries: pcm_resample_libsamplerate.c and pcm_resample_fallback.c.
* ffmpeg: link with libavutilMax Kellermann2008-10-211-1/+1
| | | | Since ffmpeg svn r13528, you have to link with libavutil manually.
* ffmpeg: detect which ffmpeg headers should be includedMax Kellermann2008-10-211-0/+11
| | | | | | | | | Since ffmpeg svn r12865, you have to include libavcodec/avcodec.h instead of avcodec.h. This cannot be checked at compile time, instead we have to add a check to configure.ac. Viliam's original ffmpeg plugin was based on the newer ffmpeg library, while my Debian installation had the older version. My attempt to correct his include statements wasn't correct after all.
* configure.ac: use libmikmod-config instead of pkg-configAndrzej Rybczak2008-10-181-3/+8
| | | | [mk: use AC_SUBST instead of appending to MPD_CFLAGS / MPD_LIBS]
* Makefile.am: require automake 1.9Max Kellermann2008-10-181-1/+1
| | | | | | | | With heavy use of conditionals, I broke Makefile.am for the ancient automake version 1.6. Instead of supporting this automake version forever, I'm removing support for it now. Since automake isn't required on the build machine, nobody should have a serious problem with that.
* reverted package name to "mpd"Max Kellermann2008-10-171-1/+1
| | | | | Since mpd-mk has become the "official" MPD, the rename from commit ba892cbc can be reverted.
* configure.ac: test $with_zeroconf!=noMax Kellermann2008-10-171-1/+1
| | | | | | Patch 25b5d90e broke zeroconf compilation, because it assumed that $with_zeroconf was set to "yes", although it can be either "bonjour" or "avahi".
* ffmpeg: new decoder pluginViliam Mateicka2008-10-171-0/+21
| | | | | | [mk: fixed indent, changed copyright statement, added autoconf test, fixed includes paths, fixed 2 gcc warnings, don't close input stream twice]
* Makefile.am: don't compile disabled decoder pluginsMax Kellermann2008-10-171-0/+20
| | | | | Don't compile the sources of disabled decoder plugins at all, and don't attempt to register these.
* Makefile.am: don't compile disabled sourcesMax Kellermann2008-10-171-0/+4
| | | | | If a feature is disabled, don't compile the source file at all, disable it completely in Makefile.am instead.
* configure.ac: check if "struct ucred" is availableMax Kellermann2008-10-161-0/+1
| | | | | | | | | | | By default, glibc 2.8 hides struct ucred behind the _GNU_SOURCE macro. I don't want to enable that globally, because it may encourage the use of non-portable functions. Test if "struct ucred" is available, and enable _GNU_SOURCE if required. For details about that issue, see glib's bug database: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6545
* configure.ac: reformatted AC_ARG_ENABLE sectionMax Kellermann2008-10-161-34/+179
| | | | | Make the configure.ac script more readable by wrapping lines and using proper indentation.
* configure.ac: find more libraries with pkg-configMax Kellermann2008-10-161-83/+10
| | | | | Detect the following libraries with pkg-config: libshout, libid3tag, libmad.
* configure.ac: removed iconv optionMax Kellermann2008-10-161-44/+0
| | | | | We're using GLib's character set conversion functions instead of iconv now.
* shout: check for vorbisenc libraryMax Kellermann2008-10-151-1/+3
| | | | | The switch from ogg.m4 to pkg-config intentionally disabled libvorbisenc. Enable it when shout_ogg is used.
* fixing several imports to work via pkg-configEnrico Weigelt2008-10-151-48/+21
| | | | | This patch fixes several imports to use pkg-config instead of certain esoteric tests.
* use GLibMax Kellermann2008-10-151-0/+2
| | | | | | GLib is a nice and portable utility library. We are going to use it from now on, and eliminate a lot of duplicated code from MPD. Why invent the wheel again and again?
* configure.ac: enable unix socket support by defaultMax Kellermann2008-10-141-1/+1
|
* configure.ac: removed deprecated checksMax Kellermann2008-10-141-8/+0
| | | | | Removed some configure checks which aren't used anymore since we use C99.
* configure.ac: disabled the C++ and fortran checksMax Kellermann2008-10-141-0/+4
| | | | | Why check for C++ and fortran compilers? This hack was borrowed from Qball's gmpc git repository.
* configure.ac: added --enable-debug, --enable-werror, --enable-profileMax Kellermann2008-10-141-0/+31
| | | | | Add more configure options which control how MPD is compiled. --enable-debug is always enabled, until there is a stable release.
* configure.ac: enable -pedanticMax Kellermann2008-10-141-0/+1
| | | | Yet another gcc flag which gives us lots of interesting warnings.
* configure.ac: moved CFLAGS checks downMax Kellermann2008-10-141-13/+30
| | | | | Some warning flags may cause errors during library detection code. Do the CFLAGS checks at the end.
* changed package name to "mpd-mk", updated version numberMax Kellermann2008-10-141-1/+1
| | | | | | This git branch has become a real MPD fork now. Time to change the package name to the code name "mpd-mk". Set the version number to "0.14~git" to mark this as a non-released version.
* autotools: add pthreads linker supportEric Wong2008-10-061-0/+4
| | | | | This is needed for people that don't use any of the following: JACK, ALSA, libmikmod, Shout.
* require a C99 compilerMax Kellermann2008-09-291-1/+1
| | | | | | | C99 will soon have its 10th birthday. Let's not beat the dead C89 horse, and raise the compiler requirements. From now on, we need a C99 compiler. This adds "-std=gnu99" to the GCC compiler options, in case GCC is used.
* properly configure the M4 macro directoryMax Kellermann2008-09-231-0/+1
| | | | | Add information about the M4 macro dir ./m4/ to both configure.ac and Makefile.am.
* shout: added mp3 encoderEric Wollesen2008-09-121-0/+35
| | | | | | | | | | | | | [mk: moved this patch after "Refactor and cleanup of shout Ogg and MP3 audio outputs". The original commit message follows, although it is outdated:] Creation of shout_mp3 audio output plugin. Basically I just copied the existing shout plugin and replaced ogg with lame. Uses lame for mp3 encoding. Next step is to pull common functionality out of each shout plugin and share it between them. Configuration options for "shout_mp3" are the same as for "shout".
* shout: introduce pluggable encoder APIEric Wollesen2008-09-121-16/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've perhaps gone a bit overboard, but here's the current rundown: Both Ogg and MP3 use the "shout" audio output plugin. The shout audio output plugin itself has two new plugins, one for the Ogg encoder, and another for the MP3 (LAME) encoder. Configuration for an Ogg stream doesn't change. For an MP3 stream, configuration is the same as Ogg, with two exceptions. First, you must specify the optional "encoding" parameter, which should be set to "mp3". See mpd.conf(5) for more details. Second, the "quality" parameter is reversed for LAME, such that 1 is high quality for LAME, whereas 10 is high quality for Ogg. I've decomposed the code so that all libshout related operations are done in audioOutput_shout.c, all Ogg specific functions are in audioOutput_shout_ogg.c, and of course then all LAME specific functions are handled in audioOutput_shout_mp3.c. To develop encoder plugins for the shout audio output plugin, I basically just mimicked the plugin system used for audio outputs. This might be overkill, but hopefully if anyone ever wants to support some other sort of stream, like maybe AAC, FLAC, or WMA (hey it could happen), they will hopefully be all set. The Ogg encoder is slightly less optimal under this configuration. It used to send shout data directly out of its ogg_page structures. Now, in the interest of encapsulation, it copies the data from its ogg_page structures into a buffer provided by the shout audio output plugin (see audioOutput_shout_ogg.c, line 77.) I suspect the performance impact is negligible. As for metadata, I'm pretty sure they'll both work. I wrote up a test scaffold that would create a fake tag, and tell the plugin to send it out to the stream every few seconds. It seemed to work fine. Of course, if something does break, I'll be glad to fix it. Lastly, I've renamed lots of things into snake_case, in keeping with normalperson's wishes in that regard. [mk: moved the MP3 patch after this one. Splitted this patch into several parts; the others were already applied before this one. Fixed a bunch GCC warnings and wrong whitespace modifications. Made it compile with mpd-mk by adapting to its prototypes]
* build: enable -Wcast-qual -Wwrite-strings CFLAGSEric Wong2008-09-071-0/+2
| | | | | We're pretty careful about using const these days, so enable these warnings to keep us that way.