From 5a5485e31f7ae2ce400a405e570592d7a416c251 Mon Sep 17 00:00:00 2001 From: Simon Busch Date: Wed, 24 Aug 2011 17:45:30 +0200 Subject: Basic automake environment for building the library --- configure.ac | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 configure.ac (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..555fef0 --- /dev/null +++ b/configure.ac @@ -0,0 +1,29 @@ +AC_INIT([libsamsung-ipc], [0.1.0], [smartphones-userland@linuxtogo.org], [libsamsung-ipc]) +AC_CONFIG_SRCDIR([Makefile.am]) +AC_CONFIG_HEADERS(config.h) +AM_INIT_AUTOMAKE([dist-bzip2]) +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + +AC_PROG_CC +AM_PROG_CC_C_O +AC_GNU_SOURCE +AC_DISABLE_STATIC +AC_PROG_LIBTOOL + +AC_SUBST(CFLAGS) +AC_SUBST(CPPFLAGS) +AC_SUBST(LDFLAGS) + +#------------------------------------------------------------------------------ +# pkg-config + +PKG_PROG_PKG_CONFIG + +#------------------------------------------------------------------------------ + +AC_CONFIG_FILES([ + Makefile + include/Makefile + samsung-ipc/Makefile +]) +AC_OUTPUT -- cgit v1.1