summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
-rw-r--r--pkgconfig/libdaemon-uninstalled.pc.in8
-rw-r--r--pkgconfig/libdaemon.pc.in (renamed from libdaemon.pc.in)0
4 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 2dd8472..30ebcd9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,7 +26,7 @@ SUBDIRS += examples
endif
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libdaemon.pc
+pkgconfig_DATA = pkgconfig/libdaemon.pc
dist_noinst_DATA =
MAINTAINERCLEANFILES=
diff --git a/configure.ac b/configure.ac
index 0bd7ffb..0eb0114 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,5 +81,5 @@ AC_ARG_ENABLE(examples,
enable_examples="yes")
AM_CONDITIONAL(EXAMPLES, [test "$enable_examples" = "yes"])
-AC_CONFIG_FILES([libdaemon/Makefile Makefile doc/Makefile doc/README.html doc/doxygen.conf examples/Makefile libdaemon.pc])
+AC_CONFIG_FILES([libdaemon/Makefile Makefile doc/Makefile doc/README.html doc/doxygen.conf examples/Makefile pkgconfig/libdaemon.pc pkgconfig/libdaemon-uninstalled.pc])
AC_OUTPUT
diff --git a/pkgconfig/libdaemon-uninstalled.pc.in b/pkgconfig/libdaemon-uninstalled.pc.in
new file mode 100644
index 0000000..3ceb71b
--- /dev/null
+++ b/pkgconfig/libdaemon-uninstalled.pc.in
@@ -0,0 +1,8 @@
+libdir=@abs_top_builddir@/libdaemon/.libs
+includedir=@abs_top_srcdir@
+
+Name: libdaemon
+Description: a lightweight C library that eases the writing of UNIX daemons
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -R${libdir} -ldaemon
+Cflags: -D_REENTRANT -I${includedir}
diff --git a/libdaemon.pc.in b/pkgconfig/libdaemon.pc.in
index 835dcf1..835dcf1 100644
--- a/libdaemon.pc.in
+++ b/pkgconfig/libdaemon.pc.in