mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
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:
parent
0b94dd64f0
commit
66ee733863
2 changed files with 8 additions and 1 deletions
|
@ -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>
|
2002-12-21 David I. Lehn <dlehn@users.sourceforge.net>
|
||||||
|
|
||||||
* gstreamer/gstreamer.override (call_connect_function,
|
* gstreamer/gstreamer.override (call_connect_function,
|
||||||
|
|
|
@ -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")
|
PKG_CHECK_MODULES(GST, gstreamer-gstreamer_majorminor >= gstreamer_required_version, HAVE_GST="yes", HAVE_GST="no")
|
||||||
|
|
||||||
AC_MSG_CHECKING(for gstreamer include dir)
|
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_SUBST(GST_INCLUDEDIR)
|
||||||
AC_MSG_RESULT($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
|
if test "x$HAVE_GST" = "xno"; then
|
||||||
AC_MSG_ERROR(need GStreamer gstreamer_required_version)
|
AC_MSG_ERROR(need GStreamer gstreamer_required_version)
|
||||||
|
|
Loading…
Reference in a new issue