blob: 9f2396a423de8fe4d7259ededff7232bef4ebc25 [file] [log] [blame]
Eddie James9d7ff842018-12-11 12:54:35 -06001# Initialization
2AC_PREREQ([2.69])
3AC_INIT([obmc-ikvm], [1.0], [https://github.com/openbmc/obmc-ikvm/issues])
4AC_LANG([C++])
5AC_CONFIG_HEADERS([config.h])
6AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign dist-xz])
7AM_SILENT_RULES([yes])
8
9# Checks for programs.
10AC_PROG_CXX
11AM_PROG_AR
12AC_PROG_INSTALL
13AC_PROG_MAKE_SET
14
15# Checks for typedefs, structures, and compiler characteristics.
16AX_CXX_COMPILE_STDCXX_17([noext])
17AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS])
18
19# Checks for libraries.
20AC_CHECK_LIB([pthread], [pthread_create])
Patrick Venturec9439382019-02-13 15:17:24 -080021PKG_CHECK_MODULES([LIBVNCSERVER], [libvncserver])
22PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus])
23PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging])
24PKG_CHECK_MODULES([PHOSPHOR_DBUS_INTERFACES], [phosphor-dbus-interfaces])
Eddie James9d7ff842018-12-11 12:54:35 -060025
26LT_INIT
27
28AC_CONFIG_FILES([Makefile])
29AC_OUTPUT