AM_CONDITIONAL([TARGET_ILIAD], [$TEST "x$iliad" = xtrue])
+### BUILD WITHOUT RECENT FILES MANAGER #########################################
+# (to work around a bug on OS X)
+AC_ARG_ENABLE([recent],
+ [AS_HELP_STRING([--disable-recent],[Omit recent files menu (to work around a bug on OS X])],
+ [AS_CASE([${enableval}],
+ [yes], [OPEN_RECENT_MENU_ITEM="<menuitem action=\"recent\"/>"],
+ [no], [OPEN_RECENT_MENU_ITEM="<!-- <menuitem action=\"recent\"/>-->"],
+ [AC_MSG_ERROR([bad value ${enableval} for --enable-recent])]
+ )],
+ [OPEN_RECENT_MENU_ITEM="<menuitem action=\"recent\"/>"]
+)
+AC_SUBST(OPEN_RECENT_MENU_ITEM)
+
### RPM CONFIGURATION ##########################################################
# --enable-rpm requires rpm and rpmbuild
AC_PATH_PROG([RPMBUILD], [rpmbuild], [notfound])
interpreters/git/Makefile
tests/Makefile
player/Makefile
+player/chimara.menus
docs/Makefile
docs/reference/Makefile
docs/reference/version.xml
+++ /dev/null
-<?xml version="1.0"?>
-<ui>
- <menubar>
- <menu action="game">
- <menuitem action="open"/>
- <!-- <menuitem action="recent"/>-->
- <separator/>
- <menuitem action="stop"/>
- <menuitem action="quit_chimara"/>
- </menu>
- <menu action="edit">
- <menuitem action="copy"/>
- <menuitem action="paste"/>
- <separator/>
- <menuitem action="preferences"/>
- </menu>
- <menu action="view">
- <menuitem action="toolbar"/>
- </menu>
- <menu action="command">
- <menuitem action="undo"/>
- <menuitem action="save"/>
- <menuitem action="restore"/>
- <menuitem action="restart"/>
- <menuitem action="quit"/>
- </menu>
- <menu action="help">
- <menuitem action="about"/>
- </menu>
- </menubar>
- <toolbar>
- <toolitem action="open"/>
- <separator/>
- <toolitem action="restore"/>
- <toolitem action="save"/>
- </toolbar>
-</ui>
--- /dev/null
+<?xml version="1.0"?>
+<ui>
+ <menubar>
+ <menu action="game">
+ <menuitem action="open"/>
+ @OPEN_RECENT_MENU_ITEM@
+ <separator/>
+ <menuitem action="stop"/>
+ <menuitem action="quit_chimara"/>
+ </menu>
+ <menu action="edit">
+ <menuitem action="copy"/>
+ <menuitem action="paste"/>
+ <separator/>
+ <menuitem action="preferences"/>
+ </menu>
+ <menu action="view">
+ <menuitem action="toolbar"/>
+ </menu>
+ <menu action="command">
+ <menuitem action="undo"/>
+ <menuitem action="save"/>
+ <menuitem action="restore"/>
+ <menuitem action="restart"/>
+ <menuitem action="quit"/>
+ </menu>
+ <menu action="help">
+ <menuitem action="about"/>
+ </menu>
+ </menubar>
+ <toolbar>
+ <toolitem action="open"/>
+ <separator/>
+ <toolitem action="restore"/>
+ <toolitem action="save"/>
+ </toolbar>
+</ui>