blob: 2abafdaaa04cd3b4c14b087f2be9471b5fab8031 [file] [log] [blame]
Richard Marian Thomaiyar216f2132018-06-12 19:20:48 +05301# Initialization
2AC_PREREQ([2.69])
3AC_INIT([pam_ipmi], [0.1], [https://github.com/openbmc/pam-ipmi/issues])
4AC_CONFIG_HEADERS([config.h])
5AM_INIT_AUTOMAKE([subdir-objects -Wall foreign dist-xz])
6AM_SILENT_RULES([yes])
7
8AC_SUBST(PACKAGE)
9AC_SUBST(VERSION)
10
11# Checks for programs
Patrick Venture6987da92018-11-23 08:47:25 -080012AM_PROG_AR
Richard Marian Thomaiyar216f2132018-06-12 19:20:48 +053013AC_PROG_CC
14AC_PROG_INSTALL
15AC_PROG_MAKE_SET
16
Patrick Venture58a68792018-11-23 08:53:32 -080017AX_CHECK_OPENSSL([], [AC_MSG_ERROR(["openssl required and not found"])])
18
Richard Marian Thomaiyar216f2132018-06-12 19:20:48 +053019# Checks for library functions.
20LT_INIT # Removes 'unrecognized options: --with-libtool-sysroot
21
22# Create configured output
23AC_CONFIG_FILES([Makefile])
24AC_OUTPUT