Vishwanatha Subbanna | 8a89b53 | 2017-09-06 11:29:37 +0530 | [diff] [blame^] | 1 | # Initialization |
| 2 | AC_PREREQ([2.69]) |
| 3 | AC_INIT([phosphor-user-manager], [1.0], [https://github.com/openbmc/phosphor-user-manager/issues]) |
| 4 | AC_LANG([C++]) |
| 5 | AC_CONFIG_HEADERS([config.h]) |
| 6 | AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign dist-xz]) |
| 7 | AM_SILENT_RULES([yes]) |
| 8 | |
| 9 | # Checks for programs. |
| 10 | AC_PROG_CXX |
| 11 | AC_PROG_INSTALL |
| 12 | AC_PROG_MAKE_SET |
| 13 | |
| 14 | |
| 15 | # Checks for typedefs, structures, and compiler characteristics. |
| 16 | AX_CXX_COMPILE_STDCXX_14([noext]) |
| 17 | AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS]) |
| 18 | |
| 19 | # For libtools |
| 20 | LT_INIT |
| 21 | |
| 22 | # Create configured output |
| 23 | AC_CONFIG_FILES([Makefile]) |
| 24 | AC_OUTPUT |