mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
fixing up X test and general features test
Original commit message from CVS: fixing up X test and general features test
This commit is contained in:
parent
16b70091f4
commit
b119aedc2f
3 changed files with 28 additions and 18 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2003-12-03 set REAL_NAME environment variable <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* common/m4/gst-feature.m4: *** instead of newline when not built
|
||||||
|
* configure.ac: fix X detection when no X stuff present
|
||||||
|
* gst-libs/gst/Makefile.am: put X dependencies inside conditional
|
||||||
|
|
||||||
2003-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
|
2003-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* gst-plugins.spec.in: fix up spec file
|
* gst-plugins.spec.in: fix up spec file
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit b5288e8215c6eacf0782880f6c5b6dea8f445a34
|
Subproject commit fcdc6ccbcc674dd487021d87a0313abf02bae396
|
38
configure.ac
38
configure.ac
|
@ -489,23 +489,27 @@ dnl ;;
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Check for X11
|
dnl Check for X11
|
||||||
AC_PATH_XTRA
|
translit(dnm, m, l) AM_CONDITIONAL(USE_X, true)
|
||||||
if test "-DX_DISPLAY_MISSING" = "$X_CFLAGS"; then
|
GST_CHECK_FEATURE(X, [X libraries and plugins],
|
||||||
AC_MSG_NOTICE([cannot find X11, the build system needs fixage])
|
[ximagesink], [
|
||||||
HAVE_X="no"
|
AC_PATH_XTRA
|
||||||
else
|
if test "x$X_CFLAGS" == "x" -o "$X_CFLAGS" == "-DX_DISPLAY_MISSING"
|
||||||
dnl this is much more than we want
|
then
|
||||||
X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
|
AC_MSG_NOTICE([cannot find X11 development files])
|
||||||
dnl AC_PATH_XTRA only defines the path needed to find the X libs, not the libs
|
HAVE_X="no"
|
||||||
dnl therefore we add them here
|
else
|
||||||
X_LIBS="$X_LIBS -lX11"
|
dnl this is much more than we want
|
||||||
AC_SUBST(X_CFLAGS)
|
X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
|
||||||
AC_SUBST(X_LIBS)
|
dnl AC_PATH_XTRA only defines the path needed to find the X libs, not the libs
|
||||||
HAVE_X="yes";
|
dnl therefore we add them here
|
||||||
fi
|
X_LIBS="$X_LIBS -lX11"
|
||||||
AC_SUBST(HAVE_X)
|
AC_SUBST(X_CFLAGS)
|
||||||
AM_CONDITIONAL(USE_X, test "-DX_DISPLAY_MISSING" != "$X_CFLAGS")
|
AC_SUBST(X_LIBS)
|
||||||
|
HAVE_X="yes"
|
||||||
|
fi
|
||||||
|
AC_SUBST(HAVE_X)
|
||||||
|
])
|
||||||
|
|
||||||
dnl *** XVideo ***
|
dnl *** XVideo ***
|
||||||
dnl Look for the PIC library first, Debian requires it.
|
dnl Look for the PIC library first, Debian requires it.
|
||||||
dnl Check debian-devel archives for gory details.
|
dnl Check debian-devel archives for gory details.
|
||||||
|
|
Loading…
Reference in a new issue