1 AC_INIT([markov-proj], [0.42], [tsuna@lrde.epita.fr])
2 AC_CONFIG_AUX_DIR([build-aux])
3 AM_INIT_AUTOMAKE([foreign])
6 [AS_HELP_STRING([--with-oln=DIR],
7 [path to the mln folder of Olena])],
8 [test -d "$with_oln/mln" ||
9 AC_MSG_ERROR([Cannot find a directory named 'mln' under '$with_oln'])
10 AC_SUBST([CPPFLAGS], ["$CPPFLAGS -I$with_oln"])])dnl
13 AC_LANG_PUSH([C++])dnl
15 # Check a couple of headers from Milena, to make sure the installation of
16 # Olena we have been given is complete.
17 AC_CHECK_HEADERS([mln/core/image2d.hh mln/value/rgb8.hh],
18 [:], [AC_MSG_ERROR([You are missing a header of Milena])])
20 # Add some warnings with g++
24 ["$CXXFLAGS -Wall -W -Wconversion -ggdb -D_GLIBCXX_DEBUG"])
34 AC_CONFIG_HEADERS([src/config.h])