add -lX11 to X_LIBS so ximagesink builds
authorBenjamin Otte <otte@gnome.org>
Wed, 12 Nov 2003 00:13:46 +0000 (00:13 +0000)
committerBenjamin Otte <otte@gnome.org>
Wed, 12 Nov 2003 00:13:46 +0000 (00:13 +0000)
Original commit message from CVS:
add -lX11 to X_LIBS so ximagesink builds

configure.ac

index 2685b26..74aed82 100644 (file)
@@ -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)