Murulidhar Nataraju | 4050a83 | 2017-03-31 08:29:48 -0500 | [diff] [blame] | 1 | # Initialization |
| 2 | AC_PREREQ([2.69]) |
| 3 | AC_INIT([openpower-sbe-interface],[1.0],[https://github.com/openbmc/openpower-sbe-interface/issues]) |
| 4 | AC_CONFIG_SRCDIR([sbe_interfaces.cpp]) |
| 5 | AC_CONFIG_HEADERS([config.h]) |
| 6 | AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign dist-xz]) |
| 7 | AM_SILENT_RULES([yes]) |
Patrick Venture | c20db84 | 2018-10-29 19:08:07 -0700 | [diff] [blame] | 8 | AC_LANG([C++]) |
Murulidhar Nataraju | 4050a83 | 2017-03-31 08:29:48 -0500 | [diff] [blame] | 9 | |
| 10 | # Checks for programs. |
| 11 | AC_PROG_CXX |
| 12 | AM_PROG_AR |
| 13 | |
| 14 | LT_INIT |
| 15 | |
| 16 | # Checks for typedefs, structures, and compiler characteristics. |
| 17 | AX_CXX_COMPILE_STDCXX_14([noext]) |
| 18 | AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CFLAGS]) |
| 19 | AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS]) |
| 20 | |
| 21 | # Create configured output |
| 22 | AC_CONFIG_FILES([Makefile]) |
| 23 | AC_OUTPUT |