fix include dir path and fail if not found

Original commit message from CVS:
fix include dir path and fail if not found
This commit is contained in:
David I. Lehn 2002-12-22 08:38:35 +00:00
parent 0b94dd64f0
commit 66ee733863
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2002-12-22 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac: fix include dir check and fail if not found
2002-12-21 David I. Lehn <dlehn@users.sourceforge.net>
* gstreamer/gstreamer.override (call_connect_function,

View file

@ -81,9 +81,12 @@ dnl check to make sure we can find gstreamer
PKG_CHECK_MODULES(GST, gstreamer-gstreamer_majorminor >= gstreamer_required_version, HAVE_GST="yes", HAVE_GST="no")
AC_MSG_CHECKING(for gstreamer include dir)
GST_INCLUDEDIR=`$PKG_CONFIG --variable=includedir gstreamer`
GST_INCLUDEDIR=`$PKG_CONFIG --variable=includedir gstreamer-gstreamer_majorminor`
AC_SUBST(GST_INCLUDEDIR)
AC_MSG_RESULT($GST_INCLUDEDIR)
if test "x$GST_INCLUDEDIR" = "x"; then
AC_MSG_ERROR(no gstreamer include dir found)
fi
if test "x$HAVE_GST" = "xno"; then
AC_MSG_ERROR(need GStreamer gstreamer_required_version)