added support for --cc to output the compiler name. This makes it possible
authorDaniel Stenberg <daniel@haxx.se>
Wed, 16 Jan 2002 14:20:06 +0000 (14:20 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 16 Jan 2002 14:20:06 +0000 (14:20 +0000)
commit6e9d1617c665dd49b2e46979e59b76363b89ecf3
tree56975928ac3d920e8c55ff02084edbaac799fc0b
parentea811fee5202ee506b22470eae5111e6d99ea1e7
added support for --cc to output the compiler name. This makes it possible
to compile libcurl stuff without any prior knowledge:

cc=`curl-config --cc`
cflags=`curl-config --cflags`
libs=`curl-config --libs`

$cc $flags $libs -o example example.c

Or if you prefer, the oh-so-cool single-line version:

`curl-config --cc --cflags --libs` -o example example.c
curl-config.in