PHPをビルドしててcurlのところでコケる場合の対処法@CentOS5

checking for gnutls support in libcurl... no
checking for curl_easy_perform in -lcurl... no
configure: error: There is something wrong. Please check config.log for more information.

とかホザきやがる時の対処法

[root@localhost curl]# yum install libidn-devel

http://bugs.php.net/bug.php?id=32319 とか参照
#ていうかlibidn-develが必要って。。。ていうか何がsomething wrongなんだよ。。。