From d460b601f94d44aba8f5ead44669566abc05dfd4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 26 Jul 2007 21:56:47 +0000 Subject: added initial pkg-config file (attempt) --- ares/Makefile.am | 2 +- ares/configure.ac | 2 +- ares/libcares.pc.in | 20 ++++++++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 ares/libcares.pc.in (limited to 'ares') diff --git a/ares/Makefile.am b/ares/Makefile.am index 36d4a2f51..0449c8b01 100644 --- a/ares/Makefile.am +++ b/ares/Makefile.am @@ -11,7 +11,7 @@ MSVCFILES = vc/adig/adig.dep vc/adig/adig.dsp vc/vc.dsw vc/ahost/ahost.dep \ # adig and ahost are just sample programs and thus not mentioned with the # regular sources and headers EXTRA_DIST = CHANGES README.cares Makefile.inc adig.c ahost.c $(man_MANS) \ - $(MSVCFILES) AUTHORS config-win32.h RELEASE-NOTES + $(MSVCFILES) AUTHORS config-win32.h RELEASE-NOTES libcares.pc.in VER=-version-info 1:0:0 diff --git a/ares/configure.ac b/ares/configure.ac index 67e92bafc..874901d9e 100644 --- a/ares/configure.ac +++ b/ares/configure.ac @@ -803,4 +803,4 @@ if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then [a suitable file/device to read random data from]) fi -AC_OUTPUT(Makefile) +AC_OUTPUT(Makefile libcares.pc) diff --git a/ares/libcares.pc.in b/ares/libcares.pc.in new file mode 100644 index 000000000..315b2dfb3 --- /dev/null +++ b/ares/libcares.pc.in @@ -0,0 +1,20 @@ +#*************************************************************************** +# Project ___ __ _ _ __ ___ ___ +# / __|____ / _` | '__/ _ \/ __| +# | (_|_____| (_| | | | __/\__ \ +# \___| \__,_|_| \___||___/ +# $id: $ +# +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: c-ares +URL: http://daniel.haxx.se/projects/c-ares/ +Description: asyncronous DNS lookup library +Version: @VERSION@ +Requires: +Requires.private: +Cflags: -I${includedir} +Libs: -L${libdir} -lcares -- cgit v1.2.3