Add --enable-tile for tile version of wesnoth
This commit is contained in:
parent
5c673e9abf
commit
dc7eab7dc9
2 changed files with 33 additions and 7 deletions
23
configure
vendored
23
configure
vendored
|
@ -1,5 +1,5 @@
|
|||
#! /bin/sh
|
||||
# From configure.ac Revision: 1.33 .
|
||||
# From configure.ac Revision: 1.34 .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.59 for Battle for Wesnoth 0.7.4-CVS.
|
||||
#
|
||||
|
@ -862,6 +862,7 @@ Optional Features:
|
|||
--enable-dependency-tracking Do not reject slow dependency extractors
|
||||
--enable-debug Enable debug in wesnoth
|
||||
--enable-static Enable static building of wesnoth
|
||||
--enable-lite Enable lite version of wesnoth (without music)
|
||||
--datadir-name[=dir] Change name of data directory. Default with this option: wesnoth-data
|
||||
--enable-server Enable compilation of server
|
||||
--enable-editor Enable compilation editor
|
||||
|
@ -6759,6 +6760,14 @@ else
|
|||
static=no
|
||||
fi;
|
||||
|
||||
# Check whether --enable-lite or --disable-lite was given.
|
||||
if test "${enable_lite+set}" = set; then
|
||||
enableval="$enable_lite"
|
||||
lite=$enableval
|
||||
else
|
||||
lite=no
|
||||
fi;
|
||||
|
||||
DATADIR=$PACKAGE
|
||||
# Check whether --enable-datadir-name or --disable-datadir-name was given.
|
||||
if test "${enable_datadir_name+set}" = set; then
|
||||
|
@ -6898,10 +6907,16 @@ DATA_FILES=`find data -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type
|
|||
DATA_FILES=`echo $DATA_FILES`
|
||||
FONT_FILES=`find fonts -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
FONT_FILES=`echo $FONT_FILES`
|
||||
IMAGE_FILES=`find images -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
if test "x$lite" = "xyes"; then
|
||||
PACKAGE=$PACKAGE-lite
|
||||
IMAGE_FILES=`find images -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -path "images/misc/tutorial*" -o -path "images/misc/story*" -o -type d -o -print`
|
||||
MUSIC_FILES=""
|
||||
else
|
||||
IMAGE_FILES=`find images -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
MUSIC_FILES=`find music -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
MUSIC_FILES=`echo $MUSIC_FILES`
|
||||
fi
|
||||
IMAGE_FILES=`echo $IMAGE_FILES`
|
||||
MUSIC_FILES=`find music -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
MUSIC_FILES=`echo $MUSIC_FILES`
|
||||
SOUND_FILES=`find sounds -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
SOUND_FILES=`echo $SOUND_FILES`
|
||||
UTIL_FILES=`find utils -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
|
|
17
configure.ac
17
configure.ac
|
@ -287,6 +287,11 @@ AC_ARG_ENABLE([static],
|
|||
[static=$enableval],
|
||||
[static=no])
|
||||
|
||||
AC_ARG_ENABLE([lite],
|
||||
[ --enable-lite Enable lite version of wesnoth (without music)],
|
||||
[lite=$enableval],
|
||||
[lite=no])
|
||||
|
||||
DATADIR=$PACKAGE
|
||||
AC_ARG_ENABLE([datadir-name],
|
||||
[ --datadir-name[[=dir]] Change name of data directory. Default with this option: wesnoth-data],
|
||||
|
@ -346,10 +351,16 @@ DATA_FILES=`find data -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type
|
|||
DATA_FILES=`echo $DATA_FILES`
|
||||
FONT_FILES=`find fonts -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
FONT_FILES=`echo $FONT_FILES`
|
||||
IMAGE_FILES=`find images -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
if test "x$lite" = "xyes"; then
|
||||
PACKAGE=$PACKAGE-lite
|
||||
IMAGE_FILES=`find images -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -path "images/misc/tutorial*" -o -path "images/misc/story*" -o -type d -o -print`
|
||||
MUSIC_FILES=""
|
||||
else
|
||||
IMAGE_FILES=`find images -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
MUSIC_FILES=`find music -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
MUSIC_FILES=`echo $MUSIC_FILES`
|
||||
fi
|
||||
IMAGE_FILES=`echo $IMAGE_FILES`
|
||||
MUSIC_FILES=`find music -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
MUSIC_FILES=`echo $MUSIC_FILES`
|
||||
SOUND_FILES=`find sounds -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
SOUND_FILES=`echo $SOUND_FILES`
|
||||
UTIL_FILES=`find utils -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
|
|
Loading…
Add table
Reference in a new issue