Changes for tk=xlib build. Thanks to Jeremy Lea for the patch.

This commit is contained in:
mcafee%netscape.com 1999-06-08 00:43:54 +00:00
Родитель a970bb4487
Коммит 7480708440
1 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -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)