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 libs > /dev/null |
291 curl-config --libs > /dev/null |
292 if [ $? -eq 0 ]; then |
292 if [ $? -eq 0 ]; then |
293 LDFLAGS="$LDFLAGS `curl-config libs`" |
293 LDFLAGS="$LDFLAGS `curl-config --libs`" |
294 else |
294 else |
295 break |
295 break |
296 fi |
296 fi |
297 echo yes |
297 echo yes |
298 return 0 |
298 return 0 |