3 # The idea to this kind of setup info script was stolen from numerous
4 # other packages, such as neon, libxml and gnome.
9 exec_prefix=@exec_prefix@
10 includedir=@includedir@
15 Usage: curl-config [OPTION]
17 Available values for OPTION include:
19 --cflags pre-processor and compiler flags
20 --feature newline separated list of enabled features
21 --help display this help and exit
22 --libs library linking information
23 --prefix curl install prefix
24 --version output version information
30 if test $# -eq 0; then
34 while test $# -gt 0; do
36 # this deals with options in the style
37 # --option=value and extracts the value part
38 # [not currently used]
39 -*=*) value=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
49 if test "@OPENSSL_ENABLED@" = "1"; then
52 if test "@KRB4_ENABLED@" = "1"; then
55 if test "@IPV6_ENABLED@" = "1"; then
61 echo libcurl @VERSION@