summaryrefslogtreecommitdiff
path: root/library/configure.ac
diff options
context:
space:
mode:
authorJan Altenberg <jan@linutronix.de>2016-05-20 19:02:57 +0200
committerJan Altenberg <jan@linutronix.de>2016-05-20 19:02:57 +0200
commitde3626497bba95b5d44550c9c23b99fd20a8d9c8 (patch)
treedeb98eff85fffccf9f7b2818bf837e6ab51d836a /library/configure.ac
parent29bcbff58ced768f9f4edbc6f4d9d9604552f09e (diff)
parentf4af36737b6e0ca37f5b17434b8f37d04cf083d7 (diff)
Merge remote-tracking branch 'remotes/origin/devel/manut/yocto'
Integration of Manu's latest Yocto topics (autotools)
Diffstat (limited to 'library/configure.ac')
-rw-r--r--library/configure.ac38
1 files changed, 38 insertions, 0 deletions
diff --git a/library/configure.ac b/library/configure.ac
new file mode 100644
index 0000000..628e968
--- /dev/null
+++ b/library/configure.ac
@@ -0,0 +1,38 @@
+dnl Every other copy of the package version number gets its value from here
+AC_INIT(libhello, 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])