From 735ac5cb6596ac7219881a8be1b215825de9401b Mon Sep 17 00:00:00 2001 From: Dmitri Pal Date: Mon, 13 Jul 2009 19:35:31 -0400 Subject: ELAPI First part of the interface This is just a part of the interface, a beginning. Most likely some of the functions will be altered but it is a starting point. For example in future there will be a way to override some of the parts of the default template using the application configuration file. Removed obfuscation of the data types based on discussion with Simo. --- common/elapi/configure.ac | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 common/elapi/configure.ac (limited to 'common/elapi/configure.ac') diff --git a/common/elapi/configure.ac b/common/elapi/configure.ac new file mode 100644 index 000000000..e5c19ae75 --- /dev/null +++ b/common/elapi/configure.ac @@ -0,0 +1,26 @@ +AC_INIT([elapi],[0.0.1],[freeipa-devel@redhat.com]) +AC_CONFIG_SRCDIR([elapi.h]) +AC_CONFIG_AUX_DIR([build]) +AM_INIT_AUTOMAKE([-Wall -Werror foreign]) +AC_PROG_CC +AC_PROG_LIBTOOL +AC_CONFIG_MACRO_DIR([m4]) +AC_PROG_INSTALL + +AM_CONDITIONAL([HAVE_GCC], [test "$ac_cv_prog_gcc" = yes]) + +m4_pattern_allow([AM_SILENT_RULES]) +AM_SILENT_RULES + +AC_CONFIG_HEADERS([config.h]) + +# Enable trace build +AC_ARG_ENABLE([trace], + [AS_HELP_STRING([--enable-trace[=LEVEL]],[build with low level tracing enabled])], + [trace_level="$enableval"], + [trace_level="0"]) +AS_IF([test ["$trace_level" -gt "0"] -a ["$trace_level" -lt "8"] ],[AC_SUBST([TRACE_VAR],["-DTRACE_LEVEL=$trace_level"])]) + + +AC_CONFIG_FILES([Makefile elapi.pc]) +AC_OUTPUT -- cgit