blob: 3580d741517b77c83ea4ca38dfa4b5d2cc72b0c0 [file] [log] [blame]
Ben Pai44cee312020-03-16 15:24:46 +08001# Initialization
2AC_PREREQ([2.69])
3AC_INIT([openpower-host-ipmi-oem], [1.0], [https://github.com/wistron-corporation/wistron-ipmi-oem/issues])
4AC_CONFIG_HEADERS([config.h])
5AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign dist-xz])
6AM_SILENT_RULES([yes])
7AC_LANG([C++])
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.
20PKG_CHECK_MODULES([LIBIPMID], [libipmid])
21
22# Checks for library functions.
23LT_INIT # Required for systemd linking
24
25# Create configured output
26AC_CONFIG_FILES([Makefile])
27AC_OUTPUT