зеркало из https://github.com/mozilla/pjs.git
Changes for tk=xlib build. Thanks to Jeremy Lea for the patch.
This commit is contained in:
Родитель
9217f06125
Коммит
7a97844b8d
|
@ -452,7 +452,7 @@ AC_ARG_ENABLE(toolkit,
|
|||
[ --enable-toolkit=\$val Enable \$val fe (defaults to gtk)],
|
||||
[if test "$enableval" = "motif" \
|
||||
-o "$enableval" = "gtk" \
|
||||
-o "$enableval" = "xlib" \
|
||||
-o "$enableval" = "xlib" \
|
||||
-o "$useRhapsody" ; then
|
||||
dnl nglayout only supports building with one toolkit,
|
||||
dnl so ignore everything after the first comma (",").
|
||||
|
@ -584,6 +584,12 @@ if echo ":$MOZ_TOOLKIT" | grep "gtk" >/dev/null; then
|
|||
TK_CFLAGS=$GTK_CFLAGS
|
||||
fi
|
||||
|
||||
# tk=xlib build.
|
||||
if echo ":$MOZ_TOOLKIT" | grep "xlib" >/dev/null; then
|
||||
TK_CFLAGS='$(XCFLAGS)'
|
||||
TK_LIBS='$(XLDFLAGS) $(XLIBS)'
|
||||
fi
|
||||
|
||||
fi # $no_x
|
||||
|
||||
AC_SUBST(GTK_CONFIG)
|
||||
|
|
Загрузка…
Ссылка в новой задаче