summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/ini/configure.ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/common/ini/configure.ac b/common/ini/configure.ac
new file mode 100644
index 000000000..503b3c670
--- /dev/null
+++ b/common/ini/configure.ac
@@ -0,0 +1,20 @@
+AC_INIT([ini_config], [0.3.3], [dpal@redhat.com])
+AC_CONFIG_SRCDIR([ini_config.c])
+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
+
+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 ini_config.pc])
+AC_OUTPUT