~ubuntu-branches/ubuntu/warty/curl/warty-security

« back to all changes in this revision

Viewing changes to curl-config.in

  • Committer: Bazaar Package Importer
  • Author(s): Domenico Andreoli
  • Date: 2004-06-04 19:09:25 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040604190925-wy048bp31320r2z6
Tags: 7.12.0.is.7.11.2-1
* Reverted to version 7.11.2 (closes: #252348).
* Disabled support for libidn (closes: #252367). This is to leave
  curl in unstable as much similar as possible to the one in testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# The idea to this kind of setup info script was stolen from numerous
4
4
# other packages, such as neon, libxml and gnome.
5
5
#
6
 
# $Id: curl-config.in,v 1.12 2002/01/16 14:20:06 bagder Exp $
 
6
# $Id: curl-config.in,v 1.18 2003/12/08 10:00:21 bagder Exp $
7
7
#
8
8
prefix=@prefix@
9
9
exec_prefix=@exec_prefix@
16
16
 
17
17
Available values for OPTION include:
18
18
 
 
19
  --ca        ca bundle install path
19
20
  --cc        compiler
20
21
  --cflags    pre-processor and compiler flags
21
22
  --feature   newline separated list of enabled features
43
44
    esac
44
45
 
45
46
    case "$1" in
 
47
    --ca)
 
48
        echo @CURL_CA_BUNDLE@
 
49
        ;;
 
50
 
46
51
    --cc)
47
52
        echo @CC@
48
53
        ;;
61
66
        if test "@IPV6_ENABLED@" = "1"; then
62
67
          echo "IPv6"
63
68
        fi
 
69
        if test "@HAVE_LIBZ@" = "1"; then
 
70
          echo "libz"
 
71
        fi
 
72
        if test "@CURL_DISABLE_HTTP@" = "1"; then
 
73
          echo "HTTP-disabled"
 
74
        fi
 
75
        if test "@CURL_DISABLE_FTP@" = "1"; then
 
76
          echo "FTP-disabled"
 
77
        fi
 
78
        if test "@CURL_DISABLE_GOPHER@" = "1"; then
 
79
          echo "GOPHER-disabled"
 
80
        fi
 
81
        if test "@CURL_DISABLE_FILE@" = "1"; then
 
82
          echo "FILE-disabled"
 
83
        fi
 
84
        if test "@CURL_DISABLE_TELNET@" = "1"; then
 
85
          echo "TELNET-disabled"
 
86
        fi
 
87
        if test "@CURL_DISABLE_LDAP@" = "1"; then
 
88
          echo "LDAP-disabled"
 
89
        fi
 
90
        if test "@CURL_DISABLE_DICT@" = "1"; then
 
91
          echo "DICT-disabled"
 
92
        fi
 
93
        if test "@HAVE_ARES@" = "1"; then
 
94
          echo "AsynchDNS"
 
95
        fi
64
96
        ;;
65
97
 
66
98
    --version)
78
110
        ;;
79
111
 
80
112
    --cflags)
81
 
        echo -I@includedir@
 
113
        if test "X@includedir@" = "X/usr/include"; then
 
114
          echo ""
 
115
        else
 
116
          echo "-I@includedir@"
 
117
        fi
82
118
        ;;
83
119
 
84
120
    --libs)