summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-11-12 00:13:46 +0000
committerBenjamin Otte <otte@gnome.org>2003-11-12 00:13:46 +0000
commit857b8f643c14fb277c9430068179385ff3ac31bf (patch)
treef728b301da5a5b942d6283063de7ef379147572a
parent425a3fef254f7acb7ce9ff7e7596b9c2fcc95adf (diff)
downloadgstreamer-plugins-bad-857b8f643c14fb277c9430068179385ff3ac31bf.tar.gz
add -lX11 to X_LIBS so ximagesink builds
Original commit message from CVS: add -lX11 to X_LIBS so ximagesink builds
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2685b26ce..74aed820a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -259,6 +259,9 @@ AC_PATH_XTRA
if test "-DX_DISPLAY_MISSING" = "$X_CFLAGS"; then
AC_MSG_NOTICE([cannot find X11, the build system needs fixage])
fi
+dnl AC_PATH_XTRA only defines the path needed to find the X libs, not the libs
+dnl therefore we add them here
+X_LIBS="$X_LIBS -lX11"
AC_SUBST(X_CFLAGS)
AC_SUBST(X_PRE_LIBS)
AC_SUBST(X_EXTRA_LIBS)