summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar bencollins 2003-07-17 17:28:56 +0000
committerGravatar bencollins 2003-07-17 17:28:56 +0000
commit531c6b405c41fb670d5af1cf93b2f6ded3e2c5c1 (patch)
treef9dbddb39f98202b921a3e0c32fd748fd6fc05e9
parentRemove trailing whitespace, which automake chokes on. (diff)
pkg-config support from Kristian Hogsberg.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@126 53a565d1-3bb7-0310-b661-cf11e63c67ab
-rw-r--r--Makefile.am5
-rw-r--r--configure.ac1
-rw-r--r--libraw1394.pc.in10
3 files changed, 15 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 5b29aa7..edef492 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,7 +5,10 @@ SUBDIRS = src tools doc debian
aclocaldir = @datadir@/aclocal
aclocal_DATA = libraw1394.m4
-EXTRA_DIST = libraw1394.m4
+pkgconfigdir = @libdir@/pkgconfig
+pkgconfig_DATA = libraw1394.pc
+
+EXTRA_DIST = libraw1394.m4 libraw1394.pc
doc: psdoc pdfdoc htmldoc
diff --git a/configure.ac b/configure.ac
index 2145cd9..e57ebdb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,7 @@ AC_SUBST(lt_age)
CFLAGS=${CFLAGS:-"-Wall -O2"}
AC_OUTPUT([
Makefile
+libraw1394.pc
src/Makefile
tools/Makefile
doc/Makefile
diff --git a/libraw1394.pc.in b/libraw1394.pc.in
new file mode 100644
index 0000000..240236d
--- /dev/null
+++ b/libraw1394.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libraw1394
+Description: Interface library for the Linux IEEE1394 drivers.
+Version: @VERSION@
+Libs: -L${libdir} -lraw1394
+Cflags: -I${includedir}/libraw1394
/+1 2021-07-26paired mutatorsGravatar John Cowan 1-43/+68 2021-07-26exceptionsGravatar John Cowan 1-1/+15 2021-07-26new exampleGravatar John Cowan 1-1/+4 2021-07-26updatesGravatar John Cowan 1-2/+4 2021-07-26dtd always first argumentGravatar John Cowan 1-9/+9 2021-07-26DTO to DTDGravatar John Cowan 1-55/+52 2021-07-26typoGravatar John Cowan 1-1/+1 2021-07-26switching to explicit dtosGravatar John Cowan 1-88/+102 2021-07-26errorsGravatar John Cowan 1-1/+4 2021-07-26more MN-W reviewGravatar John Cowan 1-5/+5 2021-07-26update preview linkGravatar John Cowan 1-1/+1 2021-07-26MN-W reviewGravatar John Cowan 1-6/+6 2021-07-26paired mutatorsGravatar John Cowan 1-43/+68 2021-07-25exceptionsGravatar John Cowan 1-1/+15 2021-07-25new exampleGravatar John Cowan 1-1/+4 2021-07-25updatesGravatar John Cowan 1-2/+4 2021-07-24dtd always first argumentGravatar John Cowan 1-9/+9 2021-07-23DTO to DTDGravatar John Cowan 1-55/+52 2021-07-22typoGravatar John Cowan 1-1/+1 2021-07-22switching to explicit dtosGravatar John Cowan 1-88/+102 2021-07-22errorsGravatar John Cowan 1-1/+4 2021-07-22more MN-W reviewGravatar John Cowan 1-5/+5 2021-07-20update preview linkGravatar John Cowan 1-1/+1 2021-07-20MN-W reviewGravatar John Cowan 1-6/+6 2021-07-18Fix typo.Gravatar Arthur A. Gleckler 2-4/+4 2021-07-18Add <p> around abstract.Gravatar Arthur A. Gleckler 1-2/+2 2021-07-18Publish first draft.draft-1Gravatar Arthur A. Gleckler 3-0/+114 2021-07-18Ignore trailing whitespace.Gravatar Arthur A. Gleckler 11-129/+129 2021-07-18Ignore "Dictionaries.log".Gravatar Arthur A. Gleckler 1-1/+2 2021-07-18Fix errors reported by W3C HTML Validator.Gravatar Arthur A. Gleckler 1-27/+27 2021-07-18Eliminate unnecessary redirect by using TLS/SSL.Gravatar Arthur A. Gleckler 1-1/+1