blob: 6c9895cc86946ebbd451e98a0ec04f849e5cdc12 [file] [log] [blame]
Tom Josephff4642c2019-04-10 13:41:32 +05301# Initialization
2AC_PREREQ([2.69])
3AC_INIT([pldm], [1.0],
4 [https://github.com/openbmc/ibm-pldm-oem/issues])
5AC_LANG([C++])
6AC_CONFIG_HEADERS([config.h])
7AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign dist-xz])
8AM_SILENT_RULES([yes])
9
10# Checks for programs.
11AC_PROG_CXX
12AC_PROG_CC
13AM_PROG_AR
14AC_PROG_INSTALL
15
16# Checks for typedefs, structures, and compiler characteristics.
17AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory])
18AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS])
19
20# For linking
21LT_INIT
22
23# Create configured output
24AC_CONFIG_FILES([Makefile libpldm/Makefile])
25AC_OUTPUT