# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../gnubg/subconfig-games.in
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---

if pkgcheck gnubg X ; then
      menu_begin MENU_PKG_GAMES_GNUBG 'GNU Backgammon'
        if pkgcheck readline X ; then
          bool 'readline support' SDECFG_PKG_GNUBG_READLINE 1 "
            support fancy command line editing"
        fi
        if pkgcheck gdbm X ; then
          bool 'gdbm support' SDECFG_PKG_GNUBG_GDBM 0 "
            use GNU dbm for position databases"
        fi
        if pkgcheck gtk+12 X ; then
          bool 'gtk+ support' SDECFG_PKG_GNUBG_GTK 1 "
            use GTK+ library and widgets"
        fi
        if pkgcheck gtk+22 X ; then
          bool 'gtk+ 2.0 support' SDECFG_PKG_GNUBG_GTK2 1 "
            use GTK+ 2.0"
        fi
        if pkgcheck gtkextra2 X ; then
          bool 'gtkextra support' SDECFG_PKG_GNUBG_GTKEXTRA 1 "
            use GtkExtra widgets"
        fi
        if pkgcheck guile X ; then
          bool 'guile support' SDECFG_PKG_GNUBG_GUILE 1 "
            use the Guile extensibility language"
        fi
        bool 'sound support' SDECFG_PKG_GNUBG_SOUND 1 "
          use sounds with GNU Backgammon"
      menu_end
fi