3
# The idea to this kind of setup info script was stolen from numerous
4
# other packages, such as neon, libxml and gnome.
6
# $Id: curl-config.in,v 1.12 2002/01/16 14:20:06 bagder Exp $
9
exec_prefix=@exec_prefix@
10
includedir=@includedir@
15
Usage: curl-config [OPTION]
17
Available values for OPTION include:
20
--cflags pre-processor and compiler flags
21
--feature newline separated list of enabled features
22
--help display this help and exit
23
--libs library linking information
24
--prefix curl install prefix
25
--version output version information
26
--vernum output the version information as a number (hexadecimal)
32
if test $# -eq 0; then
36
while test $# -gt 0; do
38
# this deals with options in the style
39
# --option=value and extracts the value part
40
# [not currently used]
41
-*=*) value=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
55
if test "@OPENSSL_ENABLED@" = "1"; then
58
if test "@KRB4_ENABLED@" = "1"; then
61
if test "@IPV6_ENABLED@" = "1"; then
67
echo libcurl @VERSION@
85
echo -L@libdir@ -lcurl @LDFLAGS@ @LIBS@
89
echo "unknown option: $1"