add makefiles for xlib and add toolkit option

This commit is contained in:
blizzard%redhat.com 1999-04-10 15:30:19 +00:00
parent e583ec9cbf
commit da077dd5a5
2 changed files with 5 additions and 1 deletions

View File

@ -46,6 +46,7 @@ base/src/Makefile
base/src/motif/Makefile
base/src/rhapsody/Makefile
base/src/gtk/Makefile
base/src/xlib/Makefile
base/tests/Makefile
build/package/rpm/mozilla.spec
build/package/rpm/nspr-pthreads.spec
@ -92,6 +93,7 @@ gfx/src/gtk/Makefile
gfx/src/ps/Makefile
gfx/src/motif/Makefile
gfx/src/rhapsody/Makefile
gfx/src/xlib/Makefile
gfx/tests/Makefile
htmlparser/Makefile
htmlparser/robot/Makefile
@ -305,6 +307,7 @@ widget/src/build/Makefile
widget/src/motif/Makefile
widget/src/rhapsody/Makefile
widget/src/gtk/Makefile
widget/src/xlib/Makefile
widget/src/xpwidgets/Makefile
widget/tests/Makefile
widget/tests/scribble/Makefile

View File

@ -443,12 +443,13 @@ MOZ_ARG_ENABLE_STRING(toolkit,
[ --enable-toolkit=\$val Enable \$val fe (defaults to gtk)],
[if test "$enableval" = "motif" \
-o "$enableval" = "gtk" \
-o "$enableval" = "xlib" \
-o "$useRhapsody" ; then
dnl nglayout only supports building with one toolkit,
dnl so ignore everything after the first comma (",").
MOZ_TOOLKIT=`echo "$enableval" | sed -e "s/,.*$//"`
else
AC_MSG_ERROR(Toolkit must be either gtk or motif.)
AC_MSG_ERROR(Toolkit must be xlib, gtk or motif.)
fi],
[if test "$useRhapsody" ; then
MOZ_TOOLKIT="rhapsody"