diff options
Diffstat (limited to 'Game/Code/configure.ac')
-rw-r--r-- | Game/Code/configure.ac | 40 |
1 files changed, 4 insertions, 36 deletions
diff --git a/Game/Code/configure.ac b/Game/Code/configure.ac index ef0516d5..40e8a6d2 100644 --- a/Game/Code/configure.ac +++ b/Game/Code/configure.ac @@ -19,9 +19,6 @@ PACKAGE_WEBSITE="http://www.ultrastardeluxe.org/" # specify the IRC-channel here PACKAGE_IRC="#ultrastardx at quakenet.org" -AUTOCONF_INFO=[generated automatically by -*- Autoconf -*- -Do NOT edit this file. Edit ... instead.] - # Specify a source-file so autoconf can check if the source-dir exists AC_CONFIG_SRCDIR(UltraStar.lpr) @@ -49,15 +46,6 @@ if [[ x$with_lazarus = xno ]] ; then AC_MSG_ERROR([Lazarus is required. It is impossible to build without it.]); fi -# add jedi-sdl option -AC_ARG_WITH([jedi-sdl], - [AS_HELP_STRING([--with-jedi-sdl=DIR], - [Directory of JEDI-SDL @<:@lib/JEDI-SDLv1.0@:>@])], - [with_jedi_sdl=$withval], [with_jedi_sdl="lib/JEDI-SDLv1.0"]) -if [[ x$with_jedi_sdl = xno -o x$with_jedi_sdl = xyes ]]; then - AC_MSG_ERROR([JEDI-SDL is required. Specify its directory.]); -fi - # add portaudio option AC_ARG_WITH([portaudio], [AS_HELP_STRING([--with-portaudio=DIR], @@ -279,27 +267,6 @@ AC_MSG_RESULT(@<:@$LAZARUS_VERSION@:>@) # find sdl AC_PKG_CHECK_VERSION(SDL, [sdl], yes) -# check if JEDI-SDL pascal headers exist -AC_MSG_CHECKING(for JEDI-SDL pascal headers) - -JEDISDL_DIR="$with_jedi_sdl" -if [[ ! -d "$JEDISDL_DIR" ]]; then - AC_MSG_RESULT(no) - AC_MSG_ERROR([Path specified for JEDI-SDL is not a directory.]); -fi -#http://delphi-jedi.org -# -d "$JEDISDL_DIR/SDL_ttf" -a -# -d "$JEDISDL_DIR/SDL_Image" -a -# -d "$JEDISDL_DIR/OpenGL" -a -# TODO: add further tests and check the version -if [[ -d "$JEDISDL_DIR/sdl" ]]; then - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) -# AC_MSG_ERROR([JEDI-SDL is not available. -#Download it and extract it to "$JEDISDL_DIR".]); -fi - # find sqlite3 AC_PKG_CHECK_VERSION(SQLITE3, [sqlite3], yes) @@ -362,8 +329,10 @@ AC_SUBST_DEFINE(HAVE_PORTMIXER, $PORTMIXER_HAVE) AC_SUBST(LAZARUS_DIR) -logrootdir=$with_logrootdir -AC_SUBST(logrootdir) +AC_SUBST_DEFINE(USE_LOCAL_DIRS, $enable_dev_install) +AC_SUBST(suffix) +AC_SUBST(logrootdir, [$with_logrootdir]) +AC_DEFINE_DIR(sharerootdir, datarootdir) AC_SUBST(PACKAGE_WEBSITE) @@ -401,7 +370,6 @@ AC_MSG_NOTICE([ !!! $PACKAGE_IRC !!! !!! Known issues: -!!! - "make" might not work correctly !!! - Audio-output and -input are not working yet !!! - The editor is broken !!! |