If --librtmp was specified but pkg-config could not find the librtmp
file, we would have undefined symbols when linking curl.
We prevent this error by disabling this case as suggested on the mailing
list.
CPP_RTMP=`$PKGCONFIG --cflags-only-I librtmp`
version=`$PKGCONFIG --modversion librtmp`
DIR_RTMP=`echo $LD_RTMP | $SED -e 's/-L//'`
+ else
+ dnl To avoid link errors, we do not allow --librtmp without
+ dnl a pkgconfig file
+ AC_MSG_ERROR([--librtmp was specified but could not find librtmp pkgconfig file.])
fi
;;