configure

changeset 751
9598ff469033
parent 746
a569148841ff
child 758
606519b4a867
equal deleted inserted replaced
750:4d7a2238c5ac 751:9598ff469033
286 if [ $? -eq 0 ]; then 286 if [ $? -eq 0 ]; then
287 CFLAGS="$CFLAGS `curl-config --cflags`" 287 CFLAGS="$CFLAGS `curl-config --cflags`"
288 else 288 else
289 break 289 break
290 fi 290 fi
291 curl-config --ldflags > /dev/null 291 curl-config libs > /dev/null
292 if [ $? -eq 0 ]; then 292 if [ $? -eq 0 ]; then
293 LDFLAGS="$LDFLAGS `curl-config --ldflags`" 293 LDFLAGS="$LDFLAGS `curl-config libs`"
294 else 294 else
295 break 295 break
296 fi
297 which curl-config > /dev/null
298 if [ $? -ne 0 ]; then
299 break
300 fi 296 fi
301 echo yes 297 echo yes
302 return 0 298 return 0
303 done 299 done
304 300

mercurial