summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Levitt <nlevitt@gmail.com>2003-05-08 14:21:48 +0000
committerNoah Levitt <nlevitt@gmail.com>2003-05-08 14:21:48 +0000
commit9d4a8db55c751e093353f7f3b48d27244d5973b7 (patch)
tree2be4de33f8c26bc6a02fee07170e92be9a20f1c2
parent5f61782a7ebeccef7d551c625eb60ade18f9539e (diff)
Lowercase pkg-config module name and distribution tarball name.
-rw-r--r--.cvsignore4
-rw-r--r--Makefile.am6
-rw-r--r--configure.in6
-rw-r--r--xr.pc.in13
4 files changed, 22 insertions, 7 deletions
diff --git a/.cvsignore b/.cvsignore
index 490f131a..4b1557c5 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1,6 +1,7 @@
Makefile
Makefile.in
aclocal.m4
+autom4te.cache
config.cache
config.guess
config.h
@@ -9,8 +10,9 @@ config.log
config.status
config.sub
configure
-Xr.pc
libtool
ltmain.sh
stamp-h
+stamp-h1
stamp-h.in
+xr.pc
diff --git a/Makefile.am b/Makefile.am
index a8d4d2d8..3d09e5f0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,8 @@
-SUBDIRS = . src
+SUBDIRS = src
EXTRA_DIST = \
COPYING \
- Xr.pc.in
+ xr.pc.in
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = Xr.pc
+pkgconfig_DATA = xr.pc
diff --git a/configure.in b/configure.in
index b99bc01c..ce149241 100644
--- a/configure.in
+++ b/configure.in
@@ -29,7 +29,7 @@ XFT_REQUIRED=2.1.1
dnl ===========================================================================
-AM_INIT_AUTOMAKE(Xr, $XR_VERSION)
+AM_INIT_AUTOMAKE(xr, $XR_VERSION)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
@@ -45,14 +45,14 @@ AC_PATH_XTRA
dnl ===========================================================================
-PKG_CHECK_MODULES(XR, Xc >= $XC_REQUIRED xft >= $XFT_REQUIRED)
+PKG_CHECK_MODULES(XR, xc >= $XC_REQUIRED xft >= $XFT_REQUIRED)
AC_SUBST(XR_CFLAGS)
AC_SUBST(XR_LIBS)
dnl ===========================================================================
AC_OUTPUT([
-Xr.pc
+xr.pc
Makefile
src/Makefile
])
diff --git a/xr.pc.in b/xr.pc.in
new file mode 100644
index 00000000..872960e3
--- /dev/null
+++ b/xr.pc.in
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Xr
+Description: X Rendering library
+Version: @VERSION@
+
+Requires: xc xft
+Libs: -L${libdir} -lXr -lm
+Cflags: -I${includedir}
+