configure now accepts parameter --num-games=INT which will
set the maximum number of games dgamelaunch supports. git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@400 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
eb2fdc2629
commit
eb4a08c8ea
|
@ -87,7 +87,14 @@ if test "$enable_sqlite" = yes; then
|
||||||
AC_DEFINE_UNQUOTED(USE_SQLITE_DB, "$dgl_sqlite_db", [Path and filename of the SQLite database.])
|
AC_DEFINE_UNQUOTED(USE_SQLITE_DB, "$dgl_sqlite_db", [Path and filename of the SQLite database.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
def_dgl_num_games=4
|
||||||
|
|
||||||
|
AC_ARG_WITH(num-games,
|
||||||
|
[AC_HELP_STRING([--num-games=INT], [Max. number of games this dgamelaunch supports per dgl installation.])],
|
||||||
|
[dgl_num_games=$withval], [dgl_num_games=$def_dgl_num_games])
|
||||||
|
|
||||||
|
AC_DEFINE_UNQUOTED(DIFF_GAMES, $dgl_num_games, [Max. number of games this dgamelaunch supports per dgl installation.])
|
||||||
|
AC_MSG_RESULT([Number of games this dgamelaunch supports: $dgl_num_games]);
|
||||||
|
|
||||||
AC_ARG_WITH(config-file,
|
AC_ARG_WITH(config-file,
|
||||||
[AC_HELP_STRING([--with-config-file=PATH], [Define the path to the default configuration file.])],
|
[AC_HELP_STRING([--with-config-file=PATH], [Define the path to the default configuration file.])],
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
|
|
||||||
/* max # of different games playable from within this dgl */
|
/* max # of different games playable from within this dgl */
|
||||||
#define DIFF_GAMES 4
|
/*#define DIFF_GAMES 4*/
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue