发送自HTC HD2
----- Reply message -----
发件人: "Arlindo da Silva" <arlindo.dasilva@xxxxxxxx>
收件人: <netcdfgroup@xxxxxxxxxxxxxxxx>
主题: [netcdfgroup] Detection of curl by configure in 4.1.3
日期: 周一, 10 月 3 日, 2011 年 11:31
Hi,
It appears that going from NetCDF 4.1.1 to 4.1.3 (I skipped 4.1.2) configure
no longer makes use of curl-config to detect the presence of libcurl. The
current scheme in 4.1.3 is not very reliable and can fail when curl is built
statically (and a whole of set of other libraries besides -lcurl must be
specified.) Of course, a work around is to first set
% export LIBS="`/path/to/curl-config --libs`"
before issuing configure, but really, this should be handled in configure.ac,
specially when INSTALL makes you believe that curl-config is used.
Am I missing something?
Arlindo