Autotools note
Doing:
AC_CHECK_LIB([gstreamer-0.10],
[gst_init],
[GST_LIBS=`pkg-config –libs gstreamer-0.10`],
AC_MSG_ERROR([Gstreamer-0.10 not found], [2]))
AC_SUBST([GST_LIBS])
is no good.
In this case AC_SUBST overwrites GST_LIBS and makes it “empty”.
This:
AC_CHECK_LIB([gstreamer-0.10],
[gst_init],
AC_SUBST([GST_LIBS], [`pkg-config –libs gstreamer-0.10`]),
AC_MSG_ERROR([Gstreamer-0.10 not found], [2]))
is much better.