Removed dummy locales from autotools.
This commit is contained in:
parent
b3e24d2050
commit
7b6e6036a8
2 changed files with 0 additions and 21 deletions
11
Makefile.am
11
Makefile.am
|
@ -84,17 +84,6 @@ if INSTALLDATA
|
|||
echo $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
|
||||
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; cd ..; \
|
||||
done
|
||||
if DUMMYLOCALES
|
||||
@echo "Create dummy locales beneath the Wesnoth data directory"
|
||||
$(mkdir_p) "$(DESTDIR)$(pkgdatadir)/locales"
|
||||
if test -d "$(DESTDIR)$(pkgdatadir)/locales/C" ; then rm -r "$(DESTDIR)$(pkgdatadir)/locales/C" ; fi
|
||||
echo | localedef -c "$(DESTDIR)$(pkgdatadir)/locales/C" 2> /dev/null; \
|
||||
for loc in `ls data/languages/*.cfg | sed -e's/data\/languages\/\(.*\)\.cfg/\1/'`; do \
|
||||
loclnk="$(DESTDIR)$(pkgdatadir)/locales/$$loc"@wesnoth; \
|
||||
if test -L "$$loclnk" ; then rm "$$loclnk" ; fi; \
|
||||
ln -s C "$$loclnk"; done; \
|
||||
true
|
||||
endif
|
||||
if TINYGUI
|
||||
@echo "Shrink installed images by a factor of two."
|
||||
(cd $(top_srcdir) && find data/core/images data/campaigns images \( $(findfilterflags) -a -name '*.png' -and -not -name 'bar-energy-tinygui.png' -print \) ) | while read p; do \
|
||||
|
|
10
configure.ac
10
configure.ac
|
@ -255,11 +255,6 @@ AC_ARG_WITH([fribidi],
|
|||
[fribidi=$withval],
|
||||
[fribidi=yes])
|
||||
|
||||
AC_ARG_ENABLE([dummy-locales],
|
||||
AS_HELP_STRING([--enable-dummy-locales], [enable installation of Wesnoth own private locales]),
|
||||
[dummylocales=$enableval],
|
||||
[dummylocales=no])
|
||||
|
||||
AC_ARG_ENABLE([pool-alloc],
|
||||
AS_HELP_STRING([--enable-pool-alloc], [enable the pool allocator]),
|
||||
[poolalloc=$enableval],
|
||||
|
@ -329,7 +324,6 @@ AM_CONDITIONAL([TOOLS], [test x$tools = xyes])
|
|||
AM_CONDITIONAL([GCC], [test x$GXX = xyes])
|
||||
AM_CONDITIONAL([INCLUDEDINTL], [test x$nls_cv_use_gnu_gettext = xyes])
|
||||
AM_CONDITIONAL([INSTALLDATA], [test [ x$game = xyes || test x$editor = xyes ]])
|
||||
AM_CONDITIONAL([DUMMYLOCALES], [test x$dummylocales = xyes])
|
||||
AM_CONDITIONAL([POOLALLOC], [test x$poolalloc = xyes])
|
||||
|
||||
if test x$editor = xno
|
||||
|
@ -338,10 +332,6 @@ then
|
|||
CXXFLAGS="$CXXFLAGS -DDISABLE_EDITOR"
|
||||
fi
|
||||
|
||||
if test x$dummylocales = xyes; then
|
||||
AC_DEFINE([USE_DUMMYLOCALES],,[Define if the game should not use system locales])
|
||||
fi
|
||||
|
||||
if test x$poolalloc = xno
|
||||
then
|
||||
CFLAGS="$CFLAGS -DDISABLE_POOL_ALLOC"
|
||||
|
|
Loading…
Add table
Reference in a new issue