Configure Options
--enable-sqlite
This enables the sqlite 2.8.x db backend. Multiple db backends are supported, so you can compile with both sqlite2 and sqlite3 backend support if you want. Which actually gets used is set by the configuration option "general/db_type".
When using the --enable-sqlite option, you may need to use the "--with-sqlite-includes" and "--with-sqlite-libs" options to point to the directories holding the sqlite2 include files and the sqlite2 libraries.
Example:
foo@bar:~$ ./configure --enable-sqlite --with-sqlite-includes=/usr/local/include --with-sqlite-libs=/usr/local/lib
--enable-sqlite3
This enables the sqlite 3.3.x (with x > 4 or so) db backend. Multiple db backends are supported, so you can compile with both sqlite2 and sqlite3 backend support if you want. Which actually gets used is set by the configuration option "general/db_type".
When using the --enable-sqlite3 option, you may need to use the "--with-sqlite3-includes" and "--with-sqlite3-libs" options to point to the directories holding the sqlite3 include files and the sqlite3 libraries.
Example:
foo@bar:~$ ./configure --enable-sqlite3 --with-sqlite3-includes=/usr/local/include --with-sqlite3-libs=/usr/local/lib
--enable-mdns
This enables or disables all mdns support. If you configure with --disable-mdns, and then try to --enable-avahi, you will end up with a binary with no mdns support. Beware.
--enable-nslu2
This sets up a build that uses nslu2 specific defaults. (default config file in /opt/etc/mt-daapd.conf, always_scan defaults to 0, etc). Mostly this is for package maintainers only.
--enable-avahi
Use avahi as an mdns provider. --enable-avahi automatically disables the built-in mdns provider. Again, DO NOT USE --disable-mdns, or you will disable avahi as well.
When using the --enable-avahi option, you may need to use the "--with-avahi-includes" and "--with-avahi-libs" options to point to the directories holding the avahi include files and the avahi libraries.
Example:
foo@bar:~$ ./configure --enable-avahi --with-avahi-includes=/usr/local/include --with-avahi-libs=/usr/local/lib
--enable-howl
Use howl (0.9.6 or greater) as an mdns provider. --enable-howl automatically disables the built-in mdns provider. Again, DO NOT USE --disable-mdns, or you will disable howl as well.
When using the --enable-howl option, you may need to use the "--with-howl-includes" and "--with-howl-libs" options to point to the directories holding the howl include files and the howl libraries.
Example:
foo@bar:~$ ./configure --enable-howl --with-howl-includes=/usr/local/include/howl-0.9.6 --with-howl-libs=/usr/local/lib
--enable-oggvorbis
Use the oggvorbis libraries to get metadata for .ogg files. This requires libogg, libvorbis, and libvorbisfile. This is usually provided by the libogg and libvorbis dev packages.
--enable-flac
Use the flac library to get metadata for .flac files. This requires libFLAC, the C interface to the flac library. This is usually provided by the libflac dev packages.
--enable-musepack
Use taglib to get metadata for musepack files. This requires the libtablib developer package. Note that this package is only available on platforms with a C++ compiler.
--enable-gdbm
Currently unused. At some point there will be a gdbm backend again, and this will do something interesting.
--enable-ffmpeg
Whether or not to build the ssc-ffmpeg transcoder. Note that there is no recent stable release of ffmpeg, and instead ffmpeg is usually released as a snapshot. Consequently this may or may not build on your platform, depending on the snapshot you have. :/
--enable-upnp
Experimental. Does not build on Win32, and currently only discovery works.
--enable-mem-debug
Do memory leak checks.
--enable-ssl
Experimental. Requires openssl libs, but doesn't currently work (and in fact, doesn't compile into anything anymore, but the ssl code is still there waiting to be integrated back in). At some point, I hope to web admin over ssl, so that I can integrate logins with system logins, or otherwise hide the admin password from the network. Currently, one has to use ssltunnel or something to securely admin the server.
... the Media Server.