From 73459ca6091def3dc781bc805c865fc098ff2b06 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 17 Apr 2016 00:27:54 +0200 Subject: [PATCH] Add some integration tips when using GNU autotools Signed-off-by: Joachim Nilsson --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index d71654a..cdfa43b 100644 --- a/README.md +++ b/README.md @@ -216,6 +216,16 @@ The output from the `pkg-config` tool holds no surprises: The prefix path `/usr/local/` shown here is only the default. Use the `configure` script to select a different prefix when installing libuEv. +For GNU autotools based projects, use the following in `configure.ac`: + + # Check for required libraries + PKG_CHECK_MODULES([uev], [libuev >= 1.4.0]) + +and in your `Makefile.am`: + + proggy_CFLAGS = $(uev_CFLAGS) + proggy_LDADD = $(uev_LIBS) + Joystick Example ----------------