summaryrefslogtreecommitdiff
path: root/appnlib/configure.ac
diff options
context:
space:
mode:
authorManuel Traut <manut@linutronix.de>2016-05-18 15:48:35 +0200
committerManuel Traut <manut@linutronix.de>2016-05-18 15:48:35 +0200
commit2269acccfb754c9c326c45b15aeabdecbca7b775 (patch)
tree4f5fce7895126613c037e6d6e127dbea28848f21 /appnlib/configure.ac
parentc64c0e81c354a2795503aae3bc6352dc0a63d15a (diff)
add autotools stuff from bene
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'appnlib/configure.ac')
-rw-r--r--appnlib/configure.ac38
1 files changed, 38 insertions, 0 deletions
diff --git a/appnlib/configure.ac b/appnlib/configure.ac
new file mode 100644
index 0000000..3dcbb86
--- /dev/null
+++ b/appnlib/configure.ac
@@ -0,0 +1,38 @@
+dnl Every other copy of the package version number gets its value from here
+AC_INIT(hello, 0.1.0, b.spranger@linutronix.de)
+AM_INIT_AUTOMAKE
+AC_USE_SYSTEM_EXTENSIONS
+
+dnl create a config.h file (Automake will add -DHAVE_CONFIG_H)
+AM_CONFIG_HEADER(config.h)
+
+AC_SUBST(VERSION)
+
+ISODATE=`date +%Y-%m-%d`
+AC_SUBST(ISODATE)
+
+AC_CANONICAL_HOST
+AC_CANONICAL_BUILD
+
+dnl Checks for programs.
+AC_PROG_CC
+AM_PROG_CC_C_O
+AC_PROG_INSTALL
+AC_PROG_LIBTOOL
+
+dnl Checks for libraries.
+
+dnl Checks for header files.
+AC_HEADER_STDC
+
+dnl Checks for typedefs, structures, and compiler characteristics.
+
+dnl Checks for library functions.
+
+dnl pkg-conf section
+
+dnl i18n makros.
+
+AC_OUTPUT([Makefile
+ libhello.pc
+ libhello-uninstalled.pc])