From 6b8fc6c1845aa0df788c37d997a7e11a7fdabba9 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 17 Aug 2012 11:24:12 -0500 Subject: Basic build system --- configure.ac | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 configure.ac (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..05b48d1 --- /dev/null +++ b/configure.ac @@ -0,0 +1,20 @@ +AC_INIT([pam-freerdp], [0.0.1]) +AC_CONFIG_HEADERS([config.h]) + +AM_INIT_AUTOMAKE([1.11 -Wno-portability]) +AM_SILENT_RULES([yes]) + +AC_PROG_CC +AC_PROG_LIBTOOL + +have_pam=no +AC_CHECK_LIB(pam, pam_getenv, have_pam=yes) +if test "x$have_pam" = "xno"; then + AC_MSG_ERROR([Required library PAM was not found]) +fi + +AC_CONFIG_FILES([ + Makefile + src/Makefile +]) +AC_OUTPUT -- cgit v1.2.3