From b21bbb2fd66d4e435da041e659cc6d77bb4bc4e8 Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Sun, 11 Nov 2001 23:31:39 +0000 Subject: [PATCH] make option for NMOVIES, default to off --- acconfig.h | 4 +++- configure.in | 10 +++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/acconfig.h b/acconfig.h index e7e43998..c6926963 100644 --- a/acconfig.h +++ b/acconfig.h @@ -25,13 +25,15 @@ /* Define to enable cross-platform bitmap/palette loading functions */ #undef PORTABLE_LOADER +/* Define to render endlevel flythrough sequences (instead of movies) */ +#undef NMOVIES + @BOTTOM@ /* General defines */ #define NMONO 1 #define PIGGY_USE_PAGING 1 #define NEWDEMO 1 -#define NMOVIES 1 #ifdef __linux__ # define __SDL__ 1 diff --git a/configure.in b/configure.in index c7460a63..784775ad 100644 --- a/configure.in +++ b/configure.in @@ -53,12 +53,20 @@ AM_CONDITIONAL(EDITOR, test x$enable_editor = xyes) dnl Enable shareware build? AC_ARG_ENABLE(shareware, - [ --enable-shareware Build for demo datafile (not functional)],,) + [ --enable-shareware Build for demo datafiles (not functional)],,) if test x$enable_shareware = xyes; then AC_DEFINE(SHAREWARE) fi AM_CONDITIONAL(SHAREWARE, test x$enable_shareware = xyes) +dnl Enable NMOVIES? +AC_ARG_ENABLE(nmovies, + [ --enable-nmovies Enable rendering of endlevel flythrough],,) +if test x$enable_nmovies = xyes; then + AC_DEFINE(NMOVIES) +fi +AM_CONDITIONAL(NMOVIES, test x$enable_nmovies = xyes) + dnl Enable cross-platform bitmap/palette loader? AC_ARG_ENABLE(xploader, [ --enable-xploader Enable cross-platform bitmap/palette loader ],,) -- 2.39.2