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