зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1287326 - Construct XLIBS incrementally to avoid incorrect dependency failures. r=glandium
MozReview-Commit-ID: DSU1doyqLuL --HG-- extra : rebase_source : ae3b02193048a7cb7f5e106cae8c83ae44e3843d
This commit is contained in:
Родитель
c6f04b053b
Коммит
35c04e9513
|
@ -1486,11 +1486,10 @@ dnl Xt is dependent upon SM as of X11R6
|
|||
dnl ========================================================
|
||||
if test -n "$MOZ_X11"; then
|
||||
AC_DEFINE_UNQUOTED(FUNCPROTO,15)
|
||||
XLIBS="-lX11-xcb -lX11 -lxcb-shm -lxcb $XLIBS"
|
||||
_SAVE_LDFLAGS="$LDFLAGS"
|
||||
_SAVE_LIBS="$LIBS"
|
||||
LDFLAGS="$XLDFLAGS $LDFLAGS"
|
||||
AC_CHECK_LIB(X11, XDrawLines, [X11_LIBS="-lX11"],
|
||||
AC_CHECK_LIB(X11, XDrawLines, [XLIBS="-lX11 $XLIBS"],
|
||||
[MISSING_X="$MISSING_X -lX11"], $XLIBS)
|
||||
AC_CHECK_LIB(Xext, XextAddDisplay, [XEXT_LIBS="-lXext"],
|
||||
[MISSING_X="$MISSING_X -lXext"], $XLIBS)
|
||||
|
@ -1506,9 +1505,12 @@ if test -n "$MOZ_X11"; then
|
|||
dnl ========================================================
|
||||
dnl = Check for xcb
|
||||
dnl ========================================================
|
||||
AC_CHECK_LIB(X11-xcb, XGetXCBConnection,, [MISSING_X="$MISSING_X -lX11-xcb"], $XLIBS)
|
||||
AC_CHECK_LIB(xcb-shm, xcb_shm_query_version,, [MISSING_X="$MISSING_X -lxcb-shm"], $XLIBS)
|
||||
AC_CHECK_LIB(xcb, xcb_connect,, [MISSING_X="$MISSING_X -lxcb"], $XLIBS)
|
||||
AC_CHECK_LIB(xcb, xcb_connect, [XLIBS="-lxcb $XLIBS"],
|
||||
[MISSING_X="$MISSING_X -lxcb"], $XLIBS)
|
||||
AC_CHECK_LIB(xcb-shm, xcb_shm_query_version, [XLIBS="-lxcb-shm $XLIBS"],
|
||||
[MISSING_X="$MISSING_X -lxcb-shm"], $XLIBS)
|
||||
AC_CHECK_LIB(X11-xcb, XGetXCBConnection, [XLIBS="-lX11-xcb $XLIBS"],
|
||||
[MISSING_X="$MISSING_X -lX11-xcb"], $XLIBS)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Check for Xss
|
||||
|
|
Загрузка…
Ссылка в новой задаче