Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added initial pkg-config file (attempt)

  • Loading branch information...
commit bebef9e9407c81319032f0353ed00f450b232df5 1 parent d750fa4
Daniel Stenberg authored July 26, 2007
2  Makefile.am
@@ -11,7 +11,7 @@ MSVCFILES = vc/adig/adig.dep vc/adig/adig.dsp vc/vc.dsw vc/ahost/ahost.dep \
11 11
 # adig and ahost are just sample programs and thus not mentioned with the
12 12
 # regular sources and headers
13 13
 EXTRA_DIST = CHANGES README.cares Makefile.inc adig.c ahost.c $(man_MANS) \
14  
- $(MSVCFILES) AUTHORS config-win32.h RELEASE-NOTES
  14
+ $(MSVCFILES) AUTHORS config-win32.h RELEASE-NOTES libcares.pc.in
15 15
 
16 16
 
17 17
 VER=-version-info 1:0:0
2  configure.ac
@@ -803,4 +803,4 @@ if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then
803 803
         [a suitable file/device to read random data from])
804 804
 fi
805 805
 
806  
-AC_OUTPUT(Makefile)
  806
+AC_OUTPUT(Makefile libcares.pc)
20  libcares.pc.in
... ...
@@ -0,0 +1,20 @@
  1
+#***************************************************************************
  2
+# Project        ___       __ _ _ __ ___  ___ 
  3
+#               / __|____ / _` | '__/ _ \/ __|
  4
+#              | (_|_____| (_| | | |  __/\__ \
  5
+#               \___|     \__,_|_|  \___||___/
  6
+# $id: $
  7
+#
  8
+prefix=@prefix@
  9
+exec_prefix=@exec_prefix@
  10
+libdir=@libdir@
  11
+includedir=@includedir@
  12
+
  13
+Name: c-ares
  14
+URL: http://daniel.haxx.se/projects/c-ares/
  15
+Description: asyncronous DNS lookup library
  16
+Version: @VERSION@
  17
+Requires: 
  18
+Requires.private: 
  19
+Cflags: -I${includedir}
  20
+Libs: -L${libdir} -lcares

0 notes on commit bebef9e

Please sign in to comment.
Something went wrong with that request. Please try again.