From b990733af9d6a07c2130daeb5fd39c75f6804441 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Wed, 9 Jan 2019 16:42:49 +0100 Subject: add examples for dynamic linking / loading one example by doing it manually with an ugly Makefile, another one by using autotools. Signed-off-by: Manuel Traut --- schulung_tools/linking/helloat/configure.ac | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 schulung_tools/linking/helloat/configure.ac (limited to 'schulung_tools/linking/helloat/configure.ac') diff --git a/schulung_tools/linking/helloat/configure.ac b/schulung_tools/linking/helloat/configure.ac new file mode 100644 index 0000000..b412589 --- /dev/null +++ b/schulung_tools/linking/helloat/configure.ac @@ -0,0 +1,25 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ([2.69]) +AC_INIT([hello], [1.0], [manut@linutronix.de]) +AC_CONFIG_SRCDIR([func1.c]) +AC_CONFIG_HEADERS([config.h]) + +AM_INIT_AUTOMAKE +LT_INIT + +# Checks for programs. +AC_PROG_CC + + +# Checks for libraries. + +# Checks for header files. + +# Checks for typedefs, structures, and compiler characteristics. + +# Checks for library functions. + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT -- cgit v1.2.3