From 31cd1a80a56834adcd38c3b251ea993f916e6dd2 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Tue, 26 Jan 2010 11:09:06 +0000
Subject: [PATCH] add pkg-config file

[[Imported from SVN: r10369]]
---
 configure.ac     |  3 ++-
 elasticity.pc.in | 15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)
 create mode 100644 elasticity.pc.in

diff --git a/configure.ac b/configure.ac
index 14b6005..1874236 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,8 @@ LIBS="$DUNE_LIBS"
 
 AC_CONFIG_FILES([Makefile
                  test/Makefile
-                 m4/Makefile])
+                 m4/Makefile
+                 elasticity.pc])
 AC_OUTPUT
 
 # finally print the summary information
diff --git a/elasticity.pc.in b/elasticity.pc.in
new file mode 100644
index 0000000..5cc5b2f
--- /dev/null
+++ b/elasticity.pc.in
@@ -0,0 +1,15 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+CXX=@CXX@
+CC=@CC@
+DEPENDENCIES=@REQUIRES@
+
+Name: @PACKAGE_NAME@
+Version: @VERSION@
+Description: Dune (Distributed and Unified Numerics Environment) elasticity module
+URL: http://dune-project.org/
+Requires: ${DEPENDENCIES}
+Libs:
+Cflags: -I${includedir}
-- 
GitLab