Matt Spinler | f716f32 | 2017-02-28 09:37:38 -0600 | [diff] [blame] | 1 | AC_PREREQ([2.69]) |
| 2 | AC_INIT([openpower-proc-control], [1.0], [https://github.com/openbmc/openpower-proc-control/issues]) |
| 3 | AC_LANG([C++]) |
| 4 | AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign dist-xz]) |
| 5 | AM_SILENT_RULES([yes]) |
| 6 | |
| 7 | # Checks for programs |
| 8 | AC_PROG_CXX |
| 9 | AC_PROG_INSTALL #Checks/sets the install variable to be used |
| 10 | AC_PROG_MAKE_SET |
| 11 | |
| 12 | # Checks for typedefs, structures, and compiler characteristics. |
| 13 | AX_CXX_COMPILE_STDCXX_14([noext]) |
| 14 | AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS]) |
| 15 | |
| 16 | # Checks for library functions |
| 17 | LT_INIT |
| 18 | |
| 19 | PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging],, [AC_MSG_ERROR([Could not find phosphor-logging...openbmc/phosphor-logging package required])]) |
| 20 | |
| 21 | AC_CONFIG_FILES([Makefile]) |
| 22 | AC_OUTPUT |