blob: 7abbefb9242bb0bb2cdc0f863281f10a3879f7d5 [file] [log] [blame]
Matt Spinlerf716f322017-02-28 09:37:38 -06001AC_PREREQ([2.69])
2AC_INIT([openpower-proc-control], [1.0], [https://github.com/openbmc/openpower-proc-control/issues])
3AC_LANG([C++])
4AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign dist-xz])
5AM_SILENT_RULES([yes])
6
7# Checks for programs
8AC_PROG_CXX
9AC_PROG_INSTALL #Checks/sets the install variable to be used
10AC_PROG_MAKE_SET
11
12# Checks for typedefs, structures, and compiler characteristics.
13AX_CXX_COMPILE_STDCXX_14([noext])
14AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS])
15
16# Checks for library functions
17LT_INIT
18
19PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging],, [AC_MSG_ERROR([Could not find phosphor-logging...openbmc/phosphor-logging package required])])
20
21AC_CONFIG_FILES([Makefile])
22AC_OUTPUT