blob: 6c9895cc86946ebbd451e98a0ec04f849e5cdc12 [file] [log] [blame]
# Initialization
AC_PREREQ([2.69])
AC_INIT([pldm], [1.0],
[https://github.com/openbmc/ibm-pldm-oem/issues])
AC_LANG([C++])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign dist-xz])
AM_SILENT_RULES([yes])
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AM_PROG_AR
AC_PROG_INSTALL
# Checks for typedefs, structures, and compiler characteristics.
AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory])
AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS])
# For linking
LT_INIT
# Create configured output
AC_CONFIG_FILES([Makefile libpldm/Makefile])
AC_OUTPUT