Commit 0801b3f4 authored by Max Kellermann's avatar Max Kellermann

configure.ac: check for Boost

parent 657f00fe
...@@ -16,6 +16,8 @@ gcc 4.6 or later - http://gcc.gnu.org/ ...@@ -16,6 +16,8 @@ gcc 4.6 or later - http://gcc.gnu.org/
clang 3.2 or later - http://clang.llvm.org/ clang 3.2 or later - http://clang.llvm.org/
Any other C++11 compliant compiler should also work. Any other C++11 compliant compiler should also work.
Boost 1.46 - http://www.boost.org/
GLib 2.28 - http://www.gtk.org/ GLib 2.28 - http://www.gtk.org/
General-purpose utility library. General-purpose utility library.
......
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign 1.11 dist-xz subdir-objects AUTOMAKE_OPTIONS = foreign 1.11 dist-xz subdir-objects
AM_CPPFLAGS += -I$(srcdir)/src $(GLIB_CFLAGS) AM_CPPFLAGS += -I$(srcdir)/src $(GLIB_CFLAGS) $(BOOST_CPPFLAGS)
AM_CPPFLAGS += -DSYSTEM_CONFIG_FILE_LOCATION='"$(sysconfdir)/mpd.conf"' AM_CPPFLAGS += -DSYSTEM_CONFIG_FILE_LOCATION='"$(sysconfdir)/mpd.conf"'
......
...@@ -630,6 +630,8 @@ dnl --------------------------------------------------------------------------- ...@@ -630,6 +630,8 @@ dnl ---------------------------------------------------------------------------
dnl Mandatory Libraries dnl Mandatory Libraries
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
AX_BOOST_BASE([1.46],, [AC_MSG_ERROR([Boost not found])])
AC_ARG_ENABLE(icu, AC_ARG_ENABLE(icu,
AS_HELP_STRING([--enable-icu], AS_HELP_STRING([--enable-icu],
[enable libicu for Unicode (default: enabled)]),, [enable libicu for Unicode (default: enabled)]),,
......
...@@ -105,6 +105,7 @@ apt-get install g++ automake autoconf \ ...@@ -105,6 +105,7 @@ apt-get install g++ automake autoconf \
libsqlite3-dev \ libsqlite3-dev \
libsystemd-daemon-dev libwrap0-dev \ libsystemd-daemon-dev libwrap0-dev \
libcppunit-dev xmlto \ libcppunit-dev xmlto \
libboost-dev \
libglib2.0-dev libglib2.0-dev
</programlisting> </programlisting>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment