• R/O
  • HTTP
  • SSH
  • HTTPS

ShapeFusion: コミット

ShapeFusionは、AlephOneのゲームエンジンのシナリオエディタです。これは、ゲームのグラフィックが含まれている形態ファイルやサウンドファイルの修正に使用します。これは、オリジナルのMarathon2や、Marathon Inifinityのものエンジンと互換性があります。


コミットメタ情報

リビジョンcf49698155210dd1d20e590bfd6d55103791425b (tree)
日時2012-02-25 09:53:04
作者Logue <logue@hotm...>
コミッターLogue

ログメッセージ

ShapeFusion 0.6とマージ。
翻訳に関係する文字列を_()でくくった。

変更サマリ

差分

--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,33 @@
1+# http://www.gnu.org/software/automake
2+
3+Makefile.in
4+
5+# http://www.gnu.org/software/autoconf
6+.deps/
7+/autom4te.cache
8+/aclocal.m4
9+/compile
10+/configure
11+/depcomp
12+/install-sh
13+/missing
14+/config.log
15+/config.status
16+
17+# Compiled Object files
18+*.slo
19+*.lo
20+*.o
21+
22+# Compiled Dynamic libraries
23+*.so
24+
25+# Compiled Static libraries
26+*.lai
27+*.la
28+*.a
29+
30+# Compiled Binary
31+*.exe
32+
33+*.in
\ No newline at end of file
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,7 +7,7 @@ AUTOMAKE_OPTIONS = 1.5 foreign
77 EXTRA_DIST = ShapeFusion.xcodeproj/project.pbxproj COPYING.txt \
88 DefaultNames.txt README.txt ShapeFusion-Info.plist \
99 Resources/shapefusion.icns Resources/shapefusion.ico \
10- Resources/shapefusion.rc Resources/shapefusion.svg
10+ Resources/shapefusion.rc Resources/shapefusion.png
1111
1212 if MAKE_WINDOWS
1313 bin_PROGRAMS = ShapeFusion
--- a/Makefile.in
+++ /dev/null
@@ -1,863 +0,0 @@
1-# Makefile.in generated by automake 1.11.2 from Makefile.am.
2-# @configure_input@
3-
4-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6-# Foundation, Inc.
7-# This Makefile.in is free software; the Free Software Foundation
8-# gives unlimited permission to copy and/or distribute it,
9-# with or without modifications, as long as this notice is preserved.
10-
11-# This program is distributed in the hope that it will be useful,
12-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14-# PARTICULAR PURPOSE.
15-
16-@SET_MAKE@
17-
18-VPATH = @srcdir@
19-pkgdatadir = $(datadir)/@PACKAGE@
20-pkgincludedir = $(includedir)/@PACKAGE@
21-pkglibdir = $(libdir)/@PACKAGE@
22-pkglibexecdir = $(libexecdir)/@PACKAGE@
23-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24-install_sh_DATA = $(install_sh) -c -m 644
25-install_sh_PROGRAM = $(install_sh) -c
26-install_sh_SCRIPT = $(install_sh) -c
27-INSTALL_HEADER = $(INSTALL_DATA)
28-transform = $(program_transform_name)
29-NORMAL_INSTALL = :
30-PRE_INSTALL = :
31-POST_INSTALL = :
32-NORMAL_UNINSTALL = :
33-PRE_UNINSTALL = :
34-POST_UNINSTALL = :
35-build_triplet = @build@
36-host_triplet = @host@
37-target_triplet = @target@
38-@MAKE_WINDOWS_FALSE@bin_PROGRAMS = shapefusion$(EXEEXT)
39-@MAKE_WINDOWS_TRUE@bin_PROGRAMS = ShapeFusion$(EXEEXT)
40-subdir = .
41-DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
42- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
43- $(top_srcdir)/configure config.guess config.sub depcomp \
44- install-sh missing
45-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
47-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
48- $(ACLOCAL_M4)
49-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
50- configure.lineno config.status.lineno
51-mkinstalldirs = $(install_sh) -d
52-CONFIG_HEADER = config.h
53-CONFIG_CLEAN_FILES =
54-CONFIG_CLEAN_VPATH_FILES =
55-am__installdirs = "$(DESTDIR)$(bindir)"
56-PROGRAMS = $(bin_PROGRAMS)
57-am__objects_1 = BigEndianBuffer.$(OBJEXT) DefaultNames.$(OBJEXT) \
58- GenericEndianBuffer.$(OBJEXT) LittleEndianBuffer.$(OBJEXT) \
59- ShapeFusionApp.$(OBJEXT) ShapeFusionDocManager.$(OBJEXT) \
60- ShapeFusionMain.$(OBJEXT) ShapeFusionMenus.$(OBJEXT)
61-am_ShapeFusion_OBJECTS = $(am__objects_1)
62-ShapeFusion_OBJECTS = $(am_ShapeFusion_OBJECTS)
63-ShapeFusion_DEPENDENCIES = $(shapefusion_LDADD) \
64- shapefusion-resources.o
65-am_shapefusion_OBJECTS = BigEndianBuffer.$(OBJEXT) \
66- DefaultNames.$(OBJEXT) GenericEndianBuffer.$(OBJEXT) \
67- LittleEndianBuffer.$(OBJEXT) ShapeFusionApp.$(OBJEXT) \
68- ShapeFusionDocManager.$(OBJEXT) ShapeFusionMain.$(OBJEXT) \
69- ShapeFusionMenus.$(OBJEXT)
70-shapefusion_OBJECTS = $(am_shapefusion_OBJECTS)
71-shapefusion_DEPENDENCIES = Physics/libphysics.a Shapes/libshapes.a \
72- Sounds/libsounds.a
73-DEFAULT_INCLUDES = -I.@am__isrc@
74-depcomp = $(SHELL) $(top_srcdir)/depcomp
75-am__depfiles_maybe = depfiles
76-am__mv = mv -f
77-CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
78- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
79-CXXLD = $(CXX)
80-CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
81- -o $@
82-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
83- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
84-CCLD = $(CC)
85-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
86-SOURCES = $(ShapeFusion_SOURCES) $(shapefusion_SOURCES)
87-DIST_SOURCES = $(ShapeFusion_SOURCES) $(shapefusion_SOURCES)
88-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
89- html-recursive info-recursive install-data-recursive \
90- install-dvi-recursive install-exec-recursive \
91- install-html-recursive install-info-recursive \
92- install-pdf-recursive install-ps-recursive install-recursive \
93- installcheck-recursive installdirs-recursive pdf-recursive \
94- ps-recursive uninstall-recursive
95-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
96- distclean-recursive maintainer-clean-recursive
97-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
98- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
99- distdir dist dist-all distcheck
100-ETAGS = etags
101-CTAGS = ctags
102-DIST_SUBDIRS = $(SUBDIRS)
103-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
104-distdir = $(PACKAGE)-$(VERSION)
105-top_distdir = $(distdir)
106-am__remove_distdir = \
107- { test ! -d "$(distdir)" \
108- || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
109- && rm -fr "$(distdir)"; }; }
110-am__relativize = \
111- dir0=`pwd`; \
112- sed_first='s,^\([^/]*\)/.*$$,\1,'; \
113- sed_rest='s,^[^/]*/*,,'; \
114- sed_last='s,^.*/\([^/]*\)$$,\1,'; \
115- sed_butlast='s,/*[^/]*$$,,'; \
116- while test -n "$$dir1"; do \
117- first=`echo "$$dir1" | sed -e "$$sed_first"`; \
118- if test "$$first" != "."; then \
119- if test "$$first" = ".."; then \
120- dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
121- dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
122- else \
123- first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
124- if test "$$first2" = "$$first"; then \
125- dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
126- else \
127- dir2="../$$dir2"; \
128- fi; \
129- dir0="$$dir0"/"$$first"; \
130- fi; \
131- fi; \
132- dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
133- done; \
134- reldir="$$dir2"
135-DIST_ARCHIVES = $(distdir).tar.gz
136-GZIP_ENV = --best
137-distuninstallcheck_listfiles = find . -type f -print
138-am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
139- | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
140-distcleancheck_listfiles = find . -type f -print
141-ACLOCAL = @ACLOCAL@
142-AMTAR = @AMTAR@
143-AUTOCONF = @AUTOCONF@
144-AUTOHEADER = @AUTOHEADER@
145-AUTOMAKE = @AUTOMAKE@
146-AWK = @AWK@
147-CC = @CC@
148-CCDEPMODE = @CCDEPMODE@
149-CFLAGS = @CFLAGS@
150-CPP = @CPP@
151-CPPFLAGS = @CPPFLAGS@
152-CXX = @CXX@
153-CXXCPP = @CXXCPP@
154-CXXDEPMODE = @CXXDEPMODE@
155-CXXFLAGS = @CXXFLAGS@
156-CYGPATH_W = @CYGPATH_W@
157-DEFS = @DEFS@
158-DEPDIR = @DEPDIR@
159-ECHO_C = @ECHO_C@
160-ECHO_N = @ECHO_N@
161-ECHO_T = @ECHO_T@
162-EXEEXT = @EXEEXT@
163-INSTALL = @INSTALL@
164-INSTALL_DATA = @INSTALL_DATA@
165-INSTALL_PROGRAM = @INSTALL_PROGRAM@
166-INSTALL_SCRIPT = @INSTALL_SCRIPT@
167-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
168-LDFLAGS = @LDFLAGS@
169-LIBOBJS = @LIBOBJS@
170-LIBS = @LIBS@
171-LTLIBOBJS = @LTLIBOBJS@
172-MAKEINFO = @MAKEINFO@
173-MKDIR_P = @MKDIR_P@
174-OBJEXT = @OBJEXT@
175-PACKAGE = @PACKAGE@
176-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
177-PACKAGE_NAME = @PACKAGE_NAME@
178-PACKAGE_STRING = @PACKAGE_STRING@
179-PACKAGE_TARNAME = @PACKAGE_TARNAME@
180-PACKAGE_URL = @PACKAGE_URL@
181-PACKAGE_VERSION = @PACKAGE_VERSION@
182-PATH_SEPARATOR = @PATH_SEPARATOR@
183-PKG_CONFIG = @PKG_CONFIG@
184-RANLIB = @RANLIB@
185-SET_MAKE = @SET_MAKE@
186-SHELL = @SHELL@
187-SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
188-SNDFILE_LIBS = @SNDFILE_LIBS@
189-STRIP = @STRIP@
190-VERSION = @VERSION@
191-WINDRES = @WINDRES@
192-WX_CFLAGS = @WX_CFLAGS@
193-WX_CFLAGS_ONLY = @WX_CFLAGS_ONLY@
194-WX_CONFIG_PATH = @WX_CONFIG_PATH@
195-WX_CPPFLAGS = @WX_CPPFLAGS@
196-WX_CXXFLAGS = @WX_CXXFLAGS@
197-WX_CXXFLAGS_ONLY = @WX_CXXFLAGS_ONLY@
198-WX_LIBS = @WX_LIBS@
199-WX_LIBS_STATIC = @WX_LIBS_STATIC@
200-WX_RESCOMP = @WX_RESCOMP@
201-WX_VERSION = @WX_VERSION@
202-WX_VERSION_MAJOR = @WX_VERSION_MAJOR@
203-WX_VERSION_MICRO = @WX_VERSION_MICRO@
204-WX_VERSION_MINOR = @WX_VERSION_MINOR@
205-abs_builddir = @abs_builddir@
206-abs_srcdir = @abs_srcdir@
207-abs_top_builddir = @abs_top_builddir@
208-abs_top_srcdir = @abs_top_srcdir@
209-ac_ct_CC = @ac_ct_CC@
210-ac_ct_CXX = @ac_ct_CXX@
211-am__include = @am__include@
212-am__leading_dot = @am__leading_dot@
213-am__quote = @am__quote@
214-am__tar = @am__tar@
215-am__untar = @am__untar@
216-bindir = @bindir@
217-build = @build@
218-build_alias = @build_alias@
219-build_cpu = @build_cpu@
220-build_os = @build_os@
221-build_vendor = @build_vendor@
222-builddir = @builddir@
223-datadir = @datadir@
224-datarootdir = @datarootdir@
225-docdir = @docdir@
226-dvidir = @dvidir@
227-exec_prefix = @exec_prefix@
228-host = @host@
229-host_alias = @host_alias@
230-host_cpu = @host_cpu@
231-host_os = @host_os@
232-host_vendor = @host_vendor@
233-htmldir = @htmldir@
234-includedir = @includedir@
235-infodir = @infodir@
236-install_sh = @install_sh@
237-libdir = @libdir@
238-libexecdir = @libexecdir@
239-localedir = @localedir@
240-localstatedir = @localstatedir@
241-mandir = @mandir@
242-mkdir_p = @mkdir_p@
243-oldincludedir = @oldincludedir@
244-pdfdir = @pdfdir@
245-prefix = @prefix@
246-program_transform_name = @program_transform_name@
247-psdir = @psdir@
248-sbindir = @sbindir@
249-sharedstatedir = @sharedstatedir@
250-srcdir = @srcdir@
251-sysconfdir = @sysconfdir@
252-target = @target@
253-target_alias = @target_alias@
254-target_cpu = @target_cpu@
255-target_os = @target_os@
256-target_vendor = @target_vendor@
257-top_build_prefix = @top_build_prefix@
258-top_builddir = @top_builddir@
259-top_srcdir = @top_srcdir@
260-SUBDIRS = Physics Shapes Sounds
261-AUTOMAKE_OPTIONS = 1.5 foreign
262-EXTRA_DIST = ShapeFusion.xcodeproj/project.pbxproj COPYING.txt \
263- DefaultNames.txt README.txt ShapeFusion-Info.plist \
264- Resources/shapefusion.icns Resources/shapefusion.ico \
265- Resources/shapefusion.rc Resources/shapefusion.svg
266-
267-shapefusion_SOURCES = BigEndianBuffer.h DefaultNames.h \
268- GenericEndianBuffer.h LittleEndianBuffer.h ShapeFusionApp.h \
269- ShapeFusionDocManager.h ShapeFusionMain.h ShapeFusionMenus.h \
270- BigEndianBuffer.cpp DefaultNames.cpp GenericEndianBuffer.cpp \
271- LittleEndianBuffer.cpp ShapeFusionApp.cpp \
272- ShapeFusionDocManager.cpp ShapeFusionMain.cpp \
273- ShapeFusionMenus.cpp
274-
275-shapefusion_LDADD = \
276- Physics/libphysics.a Shapes/libshapes.a Sounds/libsounds.a
277-
278-ShapeFusion_SOURCES = $(shapefusion_SOURCES)
279-ShapeFusion_LDADD = $(shapefusion_LDADD) shapefusion-resources.o
280-INCLUDES = -I$(top_srcdir)/Physics -I$(top_srcdir)/Shapes -I$(top_srcdir)/Sounds
281-all: config.h
282- $(MAKE) $(AM_MAKEFLAGS) all-recursive
283-
284-.SUFFIXES:
285-.SUFFIXES: .cpp .o .obj
286-am--refresh: Makefile
287- @:
288-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
289- @for dep in $?; do \
290- case '$(am__configure_deps)' in \
291- *$$dep*) \
292- echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
293- $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
294- && exit 0; \
295- exit 1;; \
296- esac; \
297- done; \
298- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
299- $(am__cd) $(top_srcdir) && \
300- $(AUTOMAKE) --foreign Makefile
301-.PRECIOUS: Makefile
302-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
303- @case '$?' in \
304- *config.status*) \
305- echo ' $(SHELL) ./config.status'; \
306- $(SHELL) ./config.status;; \
307- *) \
308- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
309- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
310- esac;
311-
312-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
313- $(SHELL) ./config.status --recheck
314-
315-$(top_srcdir)/configure: $(am__configure_deps)
316- $(am__cd) $(srcdir) && $(AUTOCONF)
317-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
318- $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
319-$(am__aclocal_m4_deps):
320-
321-config.h: stamp-h1
322- @if test ! -f $@; then rm -f stamp-h1; else :; fi
323- @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
324-
325-stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
326- @rm -f stamp-h1
327- cd $(top_builddir) && $(SHELL) ./config.status config.h
328-$(srcdir)/config.h.in: $(am__configure_deps)
329- ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
330- rm -f stamp-h1
331- touch $@
332-
333-distclean-hdr:
334- -rm -f config.h stamp-h1
335-install-binPROGRAMS: $(bin_PROGRAMS)
336- @$(NORMAL_INSTALL)
337- test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
338- @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
339- for p in $$list; do echo "$$p $$p"; done | \
340- sed 's/$(EXEEXT)$$//' | \
341- while read p p1; do if test -f $$p; \
342- then echo "$$p"; echo "$$p"; else :; fi; \
343- done | \
344- sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
345- -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
346- sed 'N;N;N;s,\n, ,g' | \
347- $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
348- { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
349- if ($$2 == $$4) files[d] = files[d] " " $$1; \
350- else { print "f", $$3 "/" $$4, $$1; } } \
351- END { for (d in files) print "f", d, files[d] }' | \
352- while read type dir files; do \
353- if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
354- test -z "$$files" || { \
355- echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
356- $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
357- } \
358- ; done
359-
360-uninstall-binPROGRAMS:
361- @$(NORMAL_UNINSTALL)
362- @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
363- files=`for p in $$list; do echo "$$p"; done | \
364- sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
365- -e 's/$$/$(EXEEXT)/' `; \
366- test -n "$$list" || exit 0; \
367- echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
368- cd "$(DESTDIR)$(bindir)" && rm -f $$files
369-
370-clean-binPROGRAMS:
371- -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
372-ShapeFusion$(EXEEXT): $(ShapeFusion_OBJECTS) $(ShapeFusion_DEPENDENCIES)
373- @rm -f ShapeFusion$(EXEEXT)
374- $(CXXLINK) $(ShapeFusion_OBJECTS) $(ShapeFusion_LDADD) $(LIBS)
375-shapefusion$(EXEEXT): $(shapefusion_OBJECTS) $(shapefusion_DEPENDENCIES)
376- @rm -f shapefusion$(EXEEXT)
377- $(CXXLINK) $(shapefusion_OBJECTS) $(shapefusion_LDADD) $(LIBS)
378-
379-mostlyclean-compile:
380- -rm -f *.$(OBJEXT)
381-
382-distclean-compile:
383- -rm -f *.tab.c
384-
385-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BigEndianBuffer.Po@am__quote@
386-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DefaultNames.Po@am__quote@
387-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GenericEndianBuffer.Po@am__quote@
388-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LittleEndianBuffer.Po@am__quote@
389-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ShapeFusionApp.Po@am__quote@
390-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ShapeFusionDocManager.Po@am__quote@
391-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ShapeFusionMain.Po@am__quote@
392-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ShapeFusionMenus.Po@am__quote@
393-
394-.cpp.o:
395-@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
396-@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
397-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
398-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
399-@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
400-
401-.cpp.obj:
402-@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
403-@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
404-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
405-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
406-@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
407-
408-# This directory's subdirectories are mostly independent; you can cd
409-# into them and run `make' without going through this Makefile.
410-# To change the values of `make' variables: instead of editing Makefiles,
411-# (1) if the variable is set in `config.status', edit `config.status'
412-# (which will cause the Makefiles to be regenerated when you run `make');
413-# (2) otherwise, pass the desired values on the `make' command line.
414-$(RECURSIVE_TARGETS):
415- @fail= failcom='exit 1'; \
416- for f in x $$MAKEFLAGS; do \
417- case $$f in \
418- *=* | --[!k]*);; \
419- *k*) failcom='fail=yes';; \
420- esac; \
421- done; \
422- dot_seen=no; \
423- target=`echo $@ | sed s/-recursive//`; \
424- list='$(SUBDIRS)'; for subdir in $$list; do \
425- echo "Making $$target in $$subdir"; \
426- if test "$$subdir" = "."; then \
427- dot_seen=yes; \
428- local_target="$$target-am"; \
429- else \
430- local_target="$$target"; \
431- fi; \
432- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
433- || eval $$failcom; \
434- done; \
435- if test "$$dot_seen" = "no"; then \
436- $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
437- fi; test -z "$$fail"
438-
439-$(RECURSIVE_CLEAN_TARGETS):
440- @fail= failcom='exit 1'; \
441- for f in x $$MAKEFLAGS; do \
442- case $$f in \
443- *=* | --[!k]*);; \
444- *k*) failcom='fail=yes';; \
445- esac; \
446- done; \
447- dot_seen=no; \
448- case "$@" in \
449- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
450- *) list='$(SUBDIRS)' ;; \
451- esac; \
452- rev=''; for subdir in $$list; do \
453- if test "$$subdir" = "."; then :; else \
454- rev="$$subdir $$rev"; \
455- fi; \
456- done; \
457- rev="$$rev ."; \
458- target=`echo $@ | sed s/-recursive//`; \
459- for subdir in $$rev; do \
460- echo "Making $$target in $$subdir"; \
461- if test "$$subdir" = "."; then \
462- local_target="$$target-am"; \
463- else \
464- local_target="$$target"; \
465- fi; \
466- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
467- || eval $$failcom; \
468- done && test -z "$$fail"
469-tags-recursive:
470- list='$(SUBDIRS)'; for subdir in $$list; do \
471- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
472- done
473-ctags-recursive:
474- list='$(SUBDIRS)'; for subdir in $$list; do \
475- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
476- done
477-
478-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
479- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
480- unique=`for i in $$list; do \
481- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
482- done | \
483- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
484- END { if (nonempty) { for (i in files) print i; }; }'`; \
485- mkid -fID $$unique
486-tags: TAGS
487-
488-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
489- $(TAGS_FILES) $(LISP)
490- set x; \
491- here=`pwd`; \
492- if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
493- include_option=--etags-include; \
494- empty_fix=.; \
495- else \
496- include_option=--include; \
497- empty_fix=; \
498- fi; \
499- list='$(SUBDIRS)'; for subdir in $$list; do \
500- if test "$$subdir" = .; then :; else \
501- test ! -f $$subdir/TAGS || \
502- set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
503- fi; \
504- done; \
505- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
506- unique=`for i in $$list; do \
507- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
508- done | \
509- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
510- END { if (nonempty) { for (i in files) print i; }; }'`; \
511- shift; \
512- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
513- test -n "$$unique" || unique=$$empty_fix; \
514- if test $$# -gt 0; then \
515- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
516- "$$@" $$unique; \
517- else \
518- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
519- $$unique; \
520- fi; \
521- fi
522-ctags: CTAGS
523-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
524- $(TAGS_FILES) $(LISP)
525- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
526- unique=`for i in $$list; do \
527- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
528- done | \
529- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
530- END { if (nonempty) { for (i in files) print i; }; }'`; \
531- test -z "$(CTAGS_ARGS)$$unique" \
532- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
533- $$unique
534-
535-GTAGS:
536- here=`$(am__cd) $(top_builddir) && pwd` \
537- && $(am__cd) $(top_srcdir) \
538- && gtags -i $(GTAGS_ARGS) "$$here"
539-
540-distclean-tags:
541- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
542-
543-distdir: $(DISTFILES)
544- $(am__remove_distdir)
545- test -d "$(distdir)" || mkdir "$(distdir)"
546- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
547- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
548- list='$(DISTFILES)'; \
549- dist_files=`for file in $$list; do echo $$file; done | \
550- sed -e "s|^$$srcdirstrip/||;t" \
551- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
552- case $$dist_files in \
553- */*) $(MKDIR_P) `echo "$$dist_files" | \
554- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
555- sort -u` ;; \
556- esac; \
557- for file in $$dist_files; do \
558- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
559- if test -d $$d/$$file; then \
560- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
561- if test -d "$(distdir)/$$file"; then \
562- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
563- fi; \
564- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
565- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
566- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
567- fi; \
568- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
569- else \
570- test -f "$(distdir)/$$file" \
571- || cp -p $$d/$$file "$(distdir)/$$file" \
572- || exit 1; \
573- fi; \
574- done
575- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
576- if test "$$subdir" = .; then :; else \
577- test -d "$(distdir)/$$subdir" \
578- || $(MKDIR_P) "$(distdir)/$$subdir" \
579- || exit 1; \
580- fi; \
581- done
582- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
583- if test "$$subdir" = .; then :; else \
584- dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
585- $(am__relativize); \
586- new_distdir=$$reldir; \
587- dir1=$$subdir; dir2="$(top_distdir)"; \
588- $(am__relativize); \
589- new_top_distdir=$$reldir; \
590- echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
591- echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
592- ($(am__cd) $$subdir && \
593- $(MAKE) $(AM_MAKEFLAGS) \
594- top_distdir="$$new_top_distdir" \
595- distdir="$$new_distdir" \
596- am__remove_distdir=: \
597- am__skip_length_check=: \
598- am__skip_mode_fix=: \
599- distdir) \
600- || exit 1; \
601- fi; \
602- done
603- -test -n "$(am__skip_mode_fix)" \
604- || find "$(distdir)" -type d ! -perm -755 \
605- -exec chmod u+rwx,go+rx {} \; -o \
606- ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
607- ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
608- ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
609- || chmod -R a+r "$(distdir)"
610-dist-gzip: distdir
611- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
612- $(am__remove_distdir)
613-
614-dist-bzip2: distdir
615- tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
616- $(am__remove_distdir)
617-
618-dist-lzma: distdir
619- tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
620- $(am__remove_distdir)
621-
622-dist-xz: distdir
623- tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
624- $(am__remove_distdir)
625-
626-dist-tarZ: distdir
627- tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
628- $(am__remove_distdir)
629-
630-dist-shar: distdir
631- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
632- $(am__remove_distdir)
633-
634-dist-zip: distdir
635- -rm -f $(distdir).zip
636- zip -rq $(distdir).zip $(distdir)
637- $(am__remove_distdir)
638-
639-dist dist-all: distdir
640- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
641- $(am__remove_distdir)
642-
643-# This target untars the dist file and tries a VPATH configuration. Then
644-# it guarantees that the distribution is self-contained by making another
645-# tarfile.
646-distcheck: dist
647- case '$(DIST_ARCHIVES)' in \
648- *.tar.gz*) \
649- GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
650- *.tar.bz2*) \
651- bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
652- *.tar.lzma*) \
653- lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
654- *.tar.xz*) \
655- xz -dc $(distdir).tar.xz | $(am__untar) ;;\
656- *.tar.Z*) \
657- uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
658- *.shar.gz*) \
659- GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
660- *.zip*) \
661- unzip $(distdir).zip ;;\
662- esac
663- chmod -R a-w $(distdir); chmod a+w $(distdir)
664- mkdir $(distdir)/_build
665- mkdir $(distdir)/_inst
666- chmod a-w $(distdir)
667- test -d $(distdir)/_build || exit 0; \
668- dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
669- && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
670- && am__cwd=`pwd` \
671- && $(am__cd) $(distdir)/_build \
672- && ../configure --srcdir=.. --prefix="$$dc_install_base" \
673- $(AM_DISTCHECK_CONFIGURE_FLAGS) \
674- $(DISTCHECK_CONFIGURE_FLAGS) \
675- && $(MAKE) $(AM_MAKEFLAGS) \
676- && $(MAKE) $(AM_MAKEFLAGS) dvi \
677- && $(MAKE) $(AM_MAKEFLAGS) check \
678- && $(MAKE) $(AM_MAKEFLAGS) install \
679- && $(MAKE) $(AM_MAKEFLAGS) installcheck \
680- && $(MAKE) $(AM_MAKEFLAGS) uninstall \
681- && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
682- distuninstallcheck \
683- && chmod -R a-w "$$dc_install_base" \
684- && ({ \
685- (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
686- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
687- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
688- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
689- distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
690- } || { rm -rf "$$dc_destdir"; exit 1; }) \
691- && rm -rf "$$dc_destdir" \
692- && $(MAKE) $(AM_MAKEFLAGS) dist \
693- && rm -rf $(DIST_ARCHIVES) \
694- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
695- && cd "$$am__cwd" \
696- || exit 1
697- $(am__remove_distdir)
698- @(echo "$(distdir) archives ready for distribution: "; \
699- list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
700- sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
701-distuninstallcheck:
702- @test -n '$(distuninstallcheck_dir)' || { \
703- echo 'ERROR: trying to run $@ with an empty' \
704- '$$(distuninstallcheck_dir)' >&2; \
705- exit 1; \
706- }; \
707- $(am__cd) '$(distuninstallcheck_dir)' || { \
708- echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
709- exit 1; \
710- }; \
711- test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
712- || { echo "ERROR: files left after uninstall:" ; \
713- if test -n "$(DESTDIR)"; then \
714- echo " (check DESTDIR support)"; \
715- fi ; \
716- $(distuninstallcheck_listfiles) ; \
717- exit 1; } >&2
718-distcleancheck: distclean
719- @if test '$(srcdir)' = . ; then \
720- echo "ERROR: distcleancheck can only run from a VPATH build" ; \
721- exit 1 ; \
722- fi
723- @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
724- || { echo "ERROR: files left in build directory after distclean:" ; \
725- $(distcleancheck_listfiles) ; \
726- exit 1; } >&2
727-check-am: all-am
728-check: check-recursive
729-all-am: Makefile $(PROGRAMS) config.h
730-installdirs: installdirs-recursive
731-installdirs-am:
732- for dir in "$(DESTDIR)$(bindir)"; do \
733- test -z "$$dir" || $(MKDIR_P) "$$dir"; \
734- done
735-install: install-recursive
736-install-exec: install-exec-recursive
737-install-data: install-data-recursive
738-uninstall: uninstall-recursive
739-
740-install-am: all-am
741- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
742-
743-installcheck: installcheck-recursive
744-install-strip:
745- if test -z '$(STRIP)'; then \
746- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
747- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
748- install; \
749- else \
750- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
751- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
752- "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
753- fi
754-mostlyclean-generic:
755-
756-clean-generic:
757-
758-distclean-generic:
759- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
760- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
761-
762-maintainer-clean-generic:
763- @echo "This command is intended for maintainers to use"
764- @echo "it deletes files that may require special tools to rebuild."
765-clean: clean-recursive
766-
767-clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
768-
769-distclean: distclean-recursive
770- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
771- -rm -rf ./$(DEPDIR)
772- -rm -f Makefile
773-distclean-am: clean-am distclean-compile distclean-generic \
774- distclean-hdr distclean-tags
775-
776-dvi: dvi-recursive
777-
778-dvi-am:
779-
780-html: html-recursive
781-
782-html-am:
783-
784-info: info-recursive
785-
786-info-am:
787-
788-install-data-am:
789-
790-install-dvi: install-dvi-recursive
791-
792-install-dvi-am:
793-
794-install-exec-am: install-binPROGRAMS
795-
796-install-html: install-html-recursive
797-
798-install-html-am:
799-
800-install-info: install-info-recursive
801-
802-install-info-am:
803-
804-install-man:
805-
806-install-pdf: install-pdf-recursive
807-
808-install-pdf-am:
809-
810-install-ps: install-ps-recursive
811-
812-install-ps-am:
813-
814-installcheck-am:
815-
816-maintainer-clean: maintainer-clean-recursive
817- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
818- -rm -rf $(top_srcdir)/autom4te.cache
819- -rm -rf ./$(DEPDIR)
820- -rm -f Makefile
821-maintainer-clean-am: distclean-am maintainer-clean-generic
822-
823-mostlyclean: mostlyclean-recursive
824-
825-mostlyclean-am: mostlyclean-compile mostlyclean-generic
826-
827-pdf: pdf-recursive
828-
829-pdf-am:
830-
831-ps: ps-recursive
832-
833-ps-am:
834-
835-uninstall-am: uninstall-binPROGRAMS
836-
837-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
838- ctags-recursive install-am install-strip tags-recursive
839-
840-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
841- all all-am am--refresh check check-am clean clean-binPROGRAMS \
842- clean-generic ctags ctags-recursive dist dist-all dist-bzip2 \
843- dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
844- distcheck distclean distclean-compile distclean-generic \
845- distclean-hdr distclean-tags distcleancheck distdir \
846- distuninstallcheck dvi dvi-am html html-am info info-am \
847- install install-am install-binPROGRAMS install-data \
848- install-data-am install-dvi install-dvi-am install-exec \
849- install-exec-am install-html install-html-am install-info \
850- install-info-am install-man install-pdf install-pdf-am \
851- install-ps install-ps-am install-strip installcheck \
852- installcheck-am installdirs installdirs-am maintainer-clean \
853- maintainer-clean-generic mostlyclean mostlyclean-compile \
854- mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
855- uninstall uninstall-am uninstall-binPROGRAMS
856-
857-
858-shapefusion-resources.o: $(top_srcdir)/Resources/shapefusion.rc
859- @WX_RESCOMP@ -I$(top_srcdir)/Resources $(top_srcdir)/Resources/shapefusion.rc -o shapefusion-resources.o
860-
861-# Tell versions [3.59,3.63) of GNU make to not export all variables.
862-# Otherwise a system limit (for SysV at least) may be exceeded.
863-.NOEXPORT:
--- a/Physics/Makefile.in
+++ /dev/null
@@ -1,471 +0,0 @@
1-# Makefile.in generated by automake 1.11.2 from Makefile.am.
2-# @configure_input@
3-
4-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6-# Foundation, Inc.
7-# This Makefile.in is free software; the Free Software Foundation
8-# gives unlimited permission to copy and/or distribute it,
9-# with or without modifications, as long as this notice is preserved.
10-
11-# This program is distributed in the hope that it will be useful,
12-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14-# PARTICULAR PURPOSE.
15-
16-@SET_MAKE@
17-
18-VPATH = @srcdir@
19-pkgdatadir = $(datadir)/@PACKAGE@
20-pkgincludedir = $(includedir)/@PACKAGE@
21-pkglibdir = $(libdir)/@PACKAGE@
22-pkglibexecdir = $(libexecdir)/@PACKAGE@
23-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24-install_sh_DATA = $(install_sh) -c -m 644
25-install_sh_PROGRAM = $(install_sh) -c
26-install_sh_SCRIPT = $(install_sh) -c
27-INSTALL_HEADER = $(INSTALL_DATA)
28-transform = $(program_transform_name)
29-NORMAL_INSTALL = :
30-PRE_INSTALL = :
31-POST_INSTALL = :
32-NORMAL_UNINSTALL = :
33-PRE_UNINSTALL = :
34-POST_UNINSTALL = :
35-build_triplet = @build@
36-host_triplet = @host@
37-target_triplet = @target@
38-subdir = Physics
39-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
40-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
42-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43- $(ACLOCAL_M4)
44-mkinstalldirs = $(install_sh) -d
45-CONFIG_HEADER = $(top_builddir)/config.h
46-CONFIG_CLEAN_FILES =
47-CONFIG_CLEAN_VPATH_FILES =
48-LIBRARIES = $(noinst_LIBRARIES)
49-AR = ar
50-ARFLAGS = cru
51-libphysics_a_AR = $(AR) $(ARFLAGS)
52-libphysics_a_LIBADD =
53-am_libphysics_a_OBJECTS = PhysicsDocument.$(OBJEXT) \
54- PhysicsEditor.$(OBJEXT) PhysicsElements.$(OBJEXT) \
55- PhysicsView.$(OBJEXT) PhysicsTreeItemData.$(OBJEXT)
56-libphysics_a_OBJECTS = $(am_libphysics_a_OBJECTS)
57-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
58-depcomp = $(SHELL) $(top_srcdir)/depcomp
59-am__depfiles_maybe = depfiles
60-am__mv = mv -f
61-CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
62- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
63-CXXLD = $(CXX)
64-CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
65- -o $@
66-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
67- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
68-CCLD = $(CC)
69-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
70-SOURCES = $(libphysics_a_SOURCES)
71-DIST_SOURCES = $(libphysics_a_SOURCES)
72-ETAGS = etags
73-CTAGS = ctags
74-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
75-ACLOCAL = @ACLOCAL@
76-AMTAR = @AMTAR@
77-AUTOCONF = @AUTOCONF@
78-AUTOHEADER = @AUTOHEADER@
79-AUTOMAKE = @AUTOMAKE@
80-AWK = @AWK@
81-CC = @CC@
82-CCDEPMODE = @CCDEPMODE@
83-CFLAGS = @CFLAGS@
84-CPP = @CPP@
85-CPPFLAGS = @CPPFLAGS@
86-CXX = @CXX@
87-CXXCPP = @CXXCPP@
88-CXXDEPMODE = @CXXDEPMODE@
89-CXXFLAGS = @CXXFLAGS@
90-CYGPATH_W = @CYGPATH_W@
91-DEFS = @DEFS@
92-DEPDIR = @DEPDIR@
93-ECHO_C = @ECHO_C@
94-ECHO_N = @ECHO_N@
95-ECHO_T = @ECHO_T@
96-EXEEXT = @EXEEXT@
97-INSTALL = @INSTALL@
98-INSTALL_DATA = @INSTALL_DATA@
99-INSTALL_PROGRAM = @INSTALL_PROGRAM@
100-INSTALL_SCRIPT = @INSTALL_SCRIPT@
101-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
102-LDFLAGS = @LDFLAGS@
103-LIBOBJS = @LIBOBJS@
104-LIBS = @LIBS@
105-LTLIBOBJS = @LTLIBOBJS@
106-MAKEINFO = @MAKEINFO@
107-MKDIR_P = @MKDIR_P@
108-OBJEXT = @OBJEXT@
109-PACKAGE = @PACKAGE@
110-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
111-PACKAGE_NAME = @PACKAGE_NAME@
112-PACKAGE_STRING = @PACKAGE_STRING@
113-PACKAGE_TARNAME = @PACKAGE_TARNAME@
114-PACKAGE_URL = @PACKAGE_URL@
115-PACKAGE_VERSION = @PACKAGE_VERSION@
116-PATH_SEPARATOR = @PATH_SEPARATOR@
117-PKG_CONFIG = @PKG_CONFIG@
118-RANLIB = @RANLIB@
119-SET_MAKE = @SET_MAKE@
120-SHELL = @SHELL@
121-SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
122-SNDFILE_LIBS = @SNDFILE_LIBS@
123-STRIP = @STRIP@
124-VERSION = @VERSION@
125-WINDRES = @WINDRES@
126-WX_CFLAGS = @WX_CFLAGS@
127-WX_CFLAGS_ONLY = @WX_CFLAGS_ONLY@
128-WX_CONFIG_PATH = @WX_CONFIG_PATH@
129-WX_CPPFLAGS = @WX_CPPFLAGS@
130-WX_CXXFLAGS = @WX_CXXFLAGS@
131-WX_CXXFLAGS_ONLY = @WX_CXXFLAGS_ONLY@
132-WX_LIBS = @WX_LIBS@
133-WX_LIBS_STATIC = @WX_LIBS_STATIC@
134-WX_RESCOMP = @WX_RESCOMP@
135-WX_VERSION = @WX_VERSION@
136-WX_VERSION_MAJOR = @WX_VERSION_MAJOR@
137-WX_VERSION_MICRO = @WX_VERSION_MICRO@
138-WX_VERSION_MINOR = @WX_VERSION_MINOR@
139-abs_builddir = @abs_builddir@
140-abs_srcdir = @abs_srcdir@
141-abs_top_builddir = @abs_top_builddir@
142-abs_top_srcdir = @abs_top_srcdir@
143-ac_ct_CC = @ac_ct_CC@
144-ac_ct_CXX = @ac_ct_CXX@
145-am__include = @am__include@
146-am__leading_dot = @am__leading_dot@
147-am__quote = @am__quote@
148-am__tar = @am__tar@
149-am__untar = @am__untar@
150-bindir = @bindir@
151-build = @build@
152-build_alias = @build_alias@
153-build_cpu = @build_cpu@
154-build_os = @build_os@
155-build_vendor = @build_vendor@
156-builddir = @builddir@
157-datadir = @datadir@
158-datarootdir = @datarootdir@
159-docdir = @docdir@
160-dvidir = @dvidir@
161-exec_prefix = @exec_prefix@
162-host = @host@
163-host_alias = @host_alias@
164-host_cpu = @host_cpu@
165-host_os = @host_os@
166-host_vendor = @host_vendor@
167-htmldir = @htmldir@
168-includedir = @includedir@
169-infodir = @infodir@
170-install_sh = @install_sh@
171-libdir = @libdir@
172-libexecdir = @libexecdir@
173-localedir = @localedir@
174-localstatedir = @localstatedir@
175-mandir = @mandir@
176-mkdir_p = @mkdir_p@
177-oldincludedir = @oldincludedir@
178-pdfdir = @pdfdir@
179-prefix = @prefix@
180-program_transform_name = @program_transform_name@
181-psdir = @psdir@
182-sbindir = @sbindir@
183-sharedstatedir = @sharedstatedir@
184-srcdir = @srcdir@
185-sysconfdir = @sysconfdir@
186-target = @target@
187-target_alias = @target_alias@
188-target_cpu = @target_cpu@
189-target_os = @target_os@
190-target_vendor = @target_vendor@
191-top_build_prefix = @top_build_prefix@
192-top_builddir = @top_builddir@
193-top_srcdir = @top_srcdir@
194-noinst_LIBRARIES = libphysics.a
195-libphysics_a_SOURCES = PhysicsDocument.h PhysicsElements.h \
196- PhysicsTreeItemData.h PhysicsView.h PhysicsDocument.cpp \
197- PhysicsEditor.cpp PhysicsElements.cpp PhysicsView.cpp \
198- PhysicsTreeItemData.cpp
199-
200-all: all-am
201-
202-.SUFFIXES:
203-.SUFFIXES: .cpp .o .obj
204-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
205- @for dep in $?; do \
206- case '$(am__configure_deps)' in \
207- *$$dep*) \
208- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
209- && { if test -f $@; then exit 0; else break; fi; }; \
210- exit 1;; \
211- esac; \
212- done; \
213- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Physics/Makefile'; \
214- $(am__cd) $(top_srcdir) && \
215- $(AUTOMAKE) --gnu Physics/Makefile
216-.PRECIOUS: Makefile
217-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
218- @case '$?' in \
219- *config.status*) \
220- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
221- *) \
222- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
223- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
224- esac;
225-
226-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
227- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
228-
229-$(top_srcdir)/configure: $(am__configure_deps)
230- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
231-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
232- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
233-$(am__aclocal_m4_deps):
234-
235-clean-noinstLIBRARIES:
236- -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
237-libphysics.a: $(libphysics_a_OBJECTS) $(libphysics_a_DEPENDENCIES)
238- -rm -f libphysics.a
239- $(libphysics_a_AR) libphysics.a $(libphysics_a_OBJECTS) $(libphysics_a_LIBADD)
240- $(RANLIB) libphysics.a
241-
242-mostlyclean-compile:
243- -rm -f *.$(OBJEXT)
244-
245-distclean-compile:
246- -rm -f *.tab.c
247-
248-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PhysicsDocument.Po@am__quote@
249-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PhysicsEditor.Po@am__quote@
250-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PhysicsElements.Po@am__quote@
251-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PhysicsTreeItemData.Po@am__quote@
252-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PhysicsView.Po@am__quote@
253-
254-.cpp.o:
255-@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
256-@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
257-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
258-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
259-@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
260-
261-.cpp.obj:
262-@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
263-@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
264-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
265-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
266-@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
267-
268-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
269- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
270- unique=`for i in $$list; do \
271- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
272- done | \
273- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
274- END { if (nonempty) { for (i in files) print i; }; }'`; \
275- mkid -fID $$unique
276-tags: TAGS
277-
278-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
279- $(TAGS_FILES) $(LISP)
280- set x; \
281- here=`pwd`; \
282- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
283- unique=`for i in $$list; do \
284- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
285- done | \
286- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
287- END { if (nonempty) { for (i in files) print i; }; }'`; \
288- shift; \
289- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
290- test -n "$$unique" || unique=$$empty_fix; \
291- if test $$# -gt 0; then \
292- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
293- "$$@" $$unique; \
294- else \
295- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
296- $$unique; \
297- fi; \
298- fi
299-ctags: CTAGS
300-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
301- $(TAGS_FILES) $(LISP)
302- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
303- unique=`for i in $$list; do \
304- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
305- done | \
306- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
307- END { if (nonempty) { for (i in files) print i; }; }'`; \
308- test -z "$(CTAGS_ARGS)$$unique" \
309- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
310- $$unique
311-
312-GTAGS:
313- here=`$(am__cd) $(top_builddir) && pwd` \
314- && $(am__cd) $(top_srcdir) \
315- && gtags -i $(GTAGS_ARGS) "$$here"
316-
317-distclean-tags:
318- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
319-
320-distdir: $(DISTFILES)
321- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
322- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
323- list='$(DISTFILES)'; \
324- dist_files=`for file in $$list; do echo $$file; done | \
325- sed -e "s|^$$srcdirstrip/||;t" \
326- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
327- case $$dist_files in \
328- */*) $(MKDIR_P) `echo "$$dist_files" | \
329- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
330- sort -u` ;; \
331- esac; \
332- for file in $$dist_files; do \
333- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
334- if test -d $$d/$$file; then \
335- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
336- if test -d "$(distdir)/$$file"; then \
337- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
338- fi; \
339- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
340- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
341- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
342- fi; \
343- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
344- else \
345- test -f "$(distdir)/$$file" \
346- || cp -p $$d/$$file "$(distdir)/$$file" \
347- || exit 1; \
348- fi; \
349- done
350-check-am: all-am
351-check: check-am
352-all-am: Makefile $(LIBRARIES)
353-installdirs:
354-install: install-am
355-install-exec: install-exec-am
356-install-data: install-data-am
357-uninstall: uninstall-am
358-
359-install-am: all-am
360- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
361-
362-installcheck: installcheck-am
363-install-strip:
364- if test -z '$(STRIP)'; then \
365- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
366- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
367- install; \
368- else \
369- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
370- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
371- "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
372- fi
373-mostlyclean-generic:
374-
375-clean-generic:
376-
377-distclean-generic:
378- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
379- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
380-
381-maintainer-clean-generic:
382- @echo "This command is intended for maintainers to use"
383- @echo "it deletes files that may require special tools to rebuild."
384-clean: clean-am
385-
386-clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
387-
388-distclean: distclean-am
389- -rm -rf ./$(DEPDIR)
390- -rm -f Makefile
391-distclean-am: clean-am distclean-compile distclean-generic \
392- distclean-tags
393-
394-dvi: dvi-am
395-
396-dvi-am:
397-
398-html: html-am
399-
400-html-am:
401-
402-info: info-am
403-
404-info-am:
405-
406-install-data-am:
407-
408-install-dvi: install-dvi-am
409-
410-install-dvi-am:
411-
412-install-exec-am:
413-
414-install-html: install-html-am
415-
416-install-html-am:
417-
418-install-info: install-info-am
419-
420-install-info-am:
421-
422-install-man:
423-
424-install-pdf: install-pdf-am
425-
426-install-pdf-am:
427-
428-install-ps: install-ps-am
429-
430-install-ps-am:
431-
432-installcheck-am:
433-
434-maintainer-clean: maintainer-clean-am
435- -rm -rf ./$(DEPDIR)
436- -rm -f Makefile
437-maintainer-clean-am: distclean-am maintainer-clean-generic
438-
439-mostlyclean: mostlyclean-am
440-
441-mostlyclean-am: mostlyclean-compile mostlyclean-generic
442-
443-pdf: pdf-am
444-
445-pdf-am:
446-
447-ps: ps-am
448-
449-ps-am:
450-
451-uninstall-am:
452-
453-.MAKE: install-am install-strip
454-
455-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
456- clean-noinstLIBRARIES ctags distclean distclean-compile \
457- distclean-generic distclean-tags distdir dvi dvi-am html \
458- html-am info info-am install install-am install-data \
459- install-data-am install-dvi install-dvi-am install-exec \
460- install-exec-am install-html install-html-am install-info \
461- install-info-am install-man install-pdf install-pdf-am \
462- install-ps install-ps-am install-strip installcheck \
463- installcheck-am installdirs maintainer-clean \
464- maintainer-clean-generic mostlyclean mostlyclean-compile \
465- mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
466- uninstall-am
467-
468-
469-# Tell versions [3.59,3.63) of GNU make to not export all variables.
470-# Otherwise a system limit (for SysV at least) may be exceeded.
471-.NOEXPORT:
--- a/Physics/PhysicsEditor.cpp
+++ b/Physics/PhysicsEditor.cpp
@@ -466,6 +466,9 @@ void PhysicsView::OnTreeSelect(wxTreeEvent& e)
466466 }
467467
468468 mainbox->Layout();
469+
470+ // without this, Mac OS X leaves artifacts in the window
471+ m_viewFrame->Refresh();
469472 }
470473 }
471474
--- a/Physics/PhysicsView.cpp
+++ b/Physics/PhysicsView.cpp
@@ -163,7 +163,7 @@ void PhysicsView::CreateAliens()
163163
164164 aliens_appearance_sizer->Add(sounds_sizer);
165165
166- mainbox->Add(aliens_appearance_sizer, 5, wxALL, 10);
166+ mainbox->Add(aliens_appearance_sizer, 1, wxALL, 10);
167167 mainbox->Show(aliens_appearance_sizer, false);
168168
169169 aliens_combat_sizer = new wxBoxSizer(wxHORIZONTAL);
@@ -300,7 +300,7 @@ void PhysicsView::CreateAliens()
300300
301301 aliens_combat_sizer->Add(combat_grid_sizer);
302302
303- mainbox->Add(aliens_combat_sizer, 5, wxALL, 10);
303+ mainbox->Add(aliens_combat_sizer, 1, wxALL, 10);
304304 mainbox->Show(aliens_combat_sizer, false);
305305
306306 aliens_constants_sizer = new wxBoxSizer(wxVERTICAL);
@@ -425,7 +425,7 @@ void PhysicsView::CreateAliens()
425425
426426 aliens_constants_sizer->Add(carrying_grid_sizer);
427427
428- mainbox->Add(aliens_constants_sizer, 5, wxALL, 10);
428+ mainbox->Add(aliens_constants_sizer, 1, wxALL, 10);
429429 mainbox->Show(aliens_constants_sizer, false);
430430
431431 aliens_behavior_sizer = new wxBoxSizer(wxVERTICAL);
@@ -539,7 +539,7 @@ void PhysicsView::CreateAliens()
539539 aliens_behavior_sizer->AddSpacer(10);
540540 aliens_behavior_sizer->Add(flags_sizer, 0, wxEXPAND);
541541
542- mainbox->Add(aliens_behavior_sizer, 5, wxALL, 10);
542+ mainbox->Add(aliens_behavior_sizer, 1, wxALL, 10);
543543 mainbox->Show(aliens_behavior_sizer, false);
544544
545545 aliens_immunities_sizer = new wxBoxSizer(wxVERTICAL);
@@ -581,7 +581,7 @@ void PhysicsView::CreateAliens()
581581 aliens_immunities_sizer->AddSpacer(10);
582582 aliens_immunities_sizer->Add(weaknesses_sizer, 0, wxEXPAND);
583583
584- mainbox->Add(aliens_immunities_sizer, 5, wxALL, 10);
584+ mainbox->Add(aliens_immunities_sizer, 1, wxALL, 10);
585585 mainbox->Show(aliens_immunities_sizer, false);
586586 }
587587
@@ -651,7 +651,7 @@ void PhysicsView::CreateEffects()
651651
652652 effects_sizer->Add(effects_static_sizer);
653653
654- mainbox->Add(effects_sizer, 5, wxALL, 10);
654+ mainbox->Add(effects_sizer, 1, wxALL, 10);
655655 mainbox->Show(effects_sizer, false);
656656 }
657657
@@ -823,7 +823,7 @@ void PhysicsView::CreatePhysicsConstants()
823823 camera_sizer->AddStretchSpacer();
824824 physics_sizer->Add(camera_sizer, 0);
825825
826- mainbox->Add(physics_sizer, 5, wxALL, 10);
826+ mainbox->Add(physics_sizer, 1, wxALL, 10);
827827 mainbox->Show(physics_sizer, false);
828828 }
829829
@@ -1025,7 +1025,7 @@ void PhysicsView::CreateShots()
10251025
10261026 shots_sizer->Add(shots_static_sizer);
10271027
1028- mainbox->Add(shots_sizer, 5, wxALL, 10);
1028+ mainbox->Add(shots_sizer, 1, wxALL, 10);
10291029 mainbox->Show(shots_sizer, false);
10301030 }
10311031
@@ -1209,7 +1209,7 @@ void PhysicsView::CreateWeapons()
12091209 weapons_definitions_sizer->AddSpacer(10);
12101210 weapons_definitions_sizer->Add(column_2_sizer);
12111211
1212- mainbox->Add(weapons_definitions_sizer, 5, wxALL, 10);
1212+ mainbox->Add(weapons_definitions_sizer, 1, wxALL, 10);
12131213 mainbox->Show(weapons_definitions_sizer, false);
12141214
12151215 weapons_triggers_sizer = new wxBoxSizer(wxVERTICAL);
@@ -1239,8 +1239,8 @@ void PhysicsView::CreateWeapons()
12391239 trigger_projectile_choices[i] = new wxChoice(main_panel, MENU_TRIGGER_PROJECTILE + id_offset, wxDefaultPosition, choiceSize, shot_strings.size(), &shot_strings[0]);
12401240 left_grid_sizer->Add(trigger_projectile_choices[i]);
12411241
1242- left_grid_sizer->AddSpacer(10);
1243- left_grid_sizer->AddSpacer(10);
1242+ left_grid_sizer->AddSpacer(5);
1243+ left_grid_sizer->AddSpacer(5);
12441244
12451245 left_grid_sizer->Add(new wxStaticText(main_panel, wxID_ANY, _("Rounds/magazine:")), 0, wxALIGN_CENTER_VERTICAL);
12461246 trigger_rounds_fields[i] = new wxTextCtrl(main_panel, FIELD_TRIGGER_ROUNDS + id_offset);
@@ -1293,8 +1293,8 @@ void PhysicsView::CreateWeapons()
12931293 trigger_ammo_type_choices[i] = new wxChoice(main_panel, MENU_TRIGGER_AMMO_TYPE + id_offset, wxDefaultPosition, choiceSize, item_strings.size(), &item_strings[0]);
12941294 right_grid_sizer->Add(trigger_ammo_type_choices[i]);
12951295
1296- right_grid_sizer->AddSpacer(10);
1297- right_grid_sizer->AddSpacer(10);
1296+ right_grid_sizer->AddSpacer(5);
1297+ right_grid_sizer->AddSpacer(5);
12981298
12991299 right_grid_sizer->Add(new wxStaticText(main_panel, wxID_ANY, _("Ticks/round:")), 0, wxALIGN_CENTER_VERTICAL);
13001300 trigger_ticks_fields[i] = new wxTextCtrl(main_panel, FIELD_TRIGGER_TICKS + id_offset);
@@ -1354,7 +1354,7 @@ void PhysicsView::CreateWeapons()
13541354 weapons_triggers_sizer->Add(static_box_sizer);
13551355 }
13561356
1357- mainbox->Add(weapons_triggers_sizer, 5, wxALL, 10);
1357+ mainbox->Add(weapons_triggers_sizer, 1, wxALL, 10);
13581358 mainbox->Show(weapons_triggers_sizer, false);
13591359 }
13601360
@@ -1368,16 +1368,16 @@ bool PhysicsView::OnCreate(wxDocument* doc, long flags)
13681368 mainbox = new wxBoxSizer(wxHORIZONTAL);
13691369 main_panel = new wxPanel(mFrame);
13701370 main_panel->Show();
1371- tree = new wxTreeCtrl(main_panel, -1, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE | wxTR_HIDE_ROOT);
1371+ tree = new wxTreeCtrl(main_panel, -1, wxDefaultPosition, wxSize(300,-1), wxTR_DEFAULT_STYLE | wxTR_HIDE_ROOT);
13721372 tree->DeleteAllItems();
13731373 wxTreeItemId treeroot = tree->AddRoot(doc->GetFilename());
1374- mainbox->Add(tree, 2, wxEXPAND);
1374+ mainbox->Add(tree, 0, wxEXPAND);
13751375
13761376 // empty space
13771377 dummy_sizer = new wxBoxSizer(wxVERTICAL);
13781378 wxPanel* dummy_panel = new wxPanel(main_panel);
13791379 dummy_sizer->Add(dummy_panel, 1, wxEXPAND);
1380- mainbox->Add(dummy_sizer, 5);
1380+ mainbox->Add(dummy_sizer, 1, 0);
13811381
13821382 CreateAliens();
13831383 CreateEffects();
@@ -1385,19 +1385,47 @@ bool PhysicsView::OnCreate(wxDocument* doc, long flags)
13851385 CreateShots();
13861386 CreateWeapons();
13871387
1388- mainbox->Show(dummy_sizer, false);
1389- mainbox->Show(weapons_triggers_sizer, true);
1388+ int w = 0;
1389+ int h = 0;
1390+ wxSizer* sizers[] = { aliens_appearance_sizer,
1391+ aliens_behavior_sizer,
1392+ aliens_combat_sizer,
1393+ aliens_constants_sizer,
1394+ aliens_immunities_sizer,
1395+ dummy_sizer,
1396+ effects_sizer,
1397+ shots_sizer,
1398+ physics_sizer,
1399+ weapons_definitions_sizer,
1400+ weapons_triggers_sizer
1401+ };
1402+
1403+ for (int i = 0; i < 11; ++i)
1404+ {
1405+ mainbox->Show(sizers[i], false);
1406+ }
1407+
1408+ for (int i = 0; i < 11; ++i)
1409+ {
1410+ mainbox->Show(sizers[i], true);
1411+ mainbox->Layout();
1412+ wxSize size = mainbox->GetMinSize();
1413+
1414+ if (size.GetWidth() > w) w = size.GetWidth();
1415+ if (size.GetHeight() > h) h = size.GetHeight();
1416+
1417+ mainbox->Show(sizers[i], false);
1418+ }
1419+
1420+ mainbox->SetMinSize(w, h);
1421+
1422+ mainbox->Show(dummy_sizer, true);
13901423
1391- mainbox->Layout();
13921424 main_panel->SetSizer(mainbox);
13931425 mainbox->SetSizeHints(mFrame);
1394- mainbox->Fit(mFrame);
13951426
13961427 menubar = mFrame->GetMenuBar();
13971428
1398- mainbox->Show(dummy_sizer, true);
1399- mainbox->Show(weapons_triggers_sizer, false);
1400-
14011429 // because we changed size
14021430 mFrame->Centre(wxBOTH);
14031431
Binary files a/Resources/shapefusion.icns and b/Resources/shapefusion.icns differ
Binary files a/Resources/shapefusion.ico and b/Resources/shapefusion.ico differ
Binary files /dev/null and b/Resources/shapefusion.png differ
--- a/Resources/shapefusion.rc
+++ b/Resources/shapefusion.rc
@@ -1,5 +1,4 @@
1-#define wxUSE_NO_MANIFEST 1
2-#include <wx/msw/wx.rc>
1+#include <wx/msw/wx.rc>
32
43 1 VERSIONINFO
54 FILEVERSION 0, 5, 0, 0
@@ -13,12 +12,12 @@ FILETYPE 1
1312 BLOCK "040904E4"
1413 {
1514 VALUE "AppName", "ShapeFusion"
16- VALUE "FileVersion", "0.5"
15+ VALUE "FileVersion", "0.6b1"
1716 VALUE "FileDescription", "ShapeFusion for Win32"
1817 VALUE "LegalCopyright", "GNU General Public License"
1918 VALUE "License", "GNU General Public License (For details, see the file COPYING)"
2019 VALUE "OriginalFilename", "ShapeFusion.exe"
21- VALUE "URL", "http://shapefusion.sourceforge.net"
20+ VALUE "URL", "http://shapefusion.sf.net"
2221 }
2322 }
2423 }
--- a/Resources/shapefusion.svg
+++ /dev/null
@@ -1,1361 +0,0 @@
1-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-<!-- Created with Inkscape (http://www.inkscape.org/) -->
3-
4-<svg
5- xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/"
6- xmlns:dc="http://purl.org/dc/elements/1.1/"
7- xmlns:cc="http://creativecommons.org/ns#"
8- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
9- xmlns:svg="http://www.w3.org/2000/svg"
10- xmlns="http://www.w3.org/2000/svg"
11- xmlns:xlink="http://www.w3.org/1999/xlink"
12- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
13- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
14- width="48px"
15- height="48px"
16- id="svg4463"
17- version="1.1"
18- inkscape:version="0.48.0 r9654"
19- sodipodi:docname="shapefusion.svg">
20- <defs
21- id="defs4465">
22- <linearGradient
23- id="linearGradient5512">
24- <stop
25- style="stop-color:#000000;stop-opacity:1;"
26- offset="0"
27- id="stop5514" />
28- <stop
29- style="stop-color:#000000;stop-opacity:0;"
30- offset="1"
31- id="stop5516" />
32- </linearGradient>
33- <radialGradient
34- inkscape:collect="always"
35- xlink:href="#linearGradient3797-2"
36- id="radialGradient4053"
37- cx="10.833834"
38- cy="39.016094"
39- fx="10.833834"
40- fy="39.016094"
41- r="24"
42- gradientTransform="matrix(1.5386187,0.01189261,-0.01211628,1.5736966,-5.3283917,-23.560953)"
43- gradientUnits="userSpaceOnUse" />
44- <linearGradient
45- id="linearGradient3797-2">
46- <stop
47- id="stop3805-1"
48- offset="0"
49- style="stop-color:#e5efe6;stop-opacity:1;" />
50- <stop
51- style="stop-color:#00640c;stop-opacity:1;"
52- offset="1"
53- id="stop3801-9" />
54- </linearGradient>
55- <radialGradient
56- r="24"
57- fy="39.016094"
58- fx="10.833834"
59- cy="39.016094"
60- cx="10.833834"
61- gradientTransform="matrix(1.0257458,0.00792841,-0.00807752,1.0491311,4.447737,-15.707304)"
62- gradientUnits="userSpaceOnUse"
63- id="radialGradient4608"
64- xlink:href="#linearGradient3797-2"
65- inkscape:collect="always" />
66- <radialGradient
67- r="48.92857"
68- fy="306.64789"
69- fx="160.35715"
70- cy="306.64789"
71- cx="160.35715"
72- gradientTransform="matrix(1,0,0,4.1313869,59.756785,-944.49891)"
73- gradientUnits="userSpaceOnUse"
74- id="radialGradient2375"
75- xlink:href="#linearGradient8285"
76- inkscape:collect="always" />
77- <radialGradient
78- r="10.357145"
79- fy="281.29074"
80- fx="133.21428"
81- cy="281.29074"
82- cx="133.21428"
83- gradientTransform="matrix(1,0,0,3.068965,59.756785,-566.24641)"
84- gradientUnits="userSpaceOnUse"
85- id="radialGradient2372"
86- xlink:href="#linearGradient8285"
87- inkscape:collect="always" />
88- <radialGradient
89- r="5.3571401"
90- fy="255.57648"
91- fx="137.5"
92- cy="255.57648"
93- cx="137.5"
94- gradientTransform="matrix(1,0,0,3.9333357,59.756785,-733.95728)"
95- gradientUnits="userSpaceOnUse"
96- id="radialGradient2369"
97- xlink:href="#linearGradient8285"
98- inkscape:collect="always" />
99- <radialGradient
100- r="12.5"
101- fy="286.64789"
102- fx="126.78571"
103- cy="286.64789"
104- cx="126.78571"
105- gradientTransform="matrix(1,0,0,1.5428572,59.756785,-139.87457)"
106- gradientUnits="userSpaceOnUse"
107- id="radialGradient2366"
108- xlink:href="#linearGradient8285"
109- inkscape:collect="always" />
110- <radialGradient
111- r="12.142855"
112- fy="407.36218"
113- fx="182.14285"
114- cy="407.36218"
115- cx="182.14285"
116- gradientTransform="matrix(1,0,0,3.1764713,59.756785,-870.87778)"
117- gradientUnits="userSpaceOnUse"
118- id="radialGradient2363"
119- xlink:href="#linearGradient8285"
120- inkscape:collect="always" />
121- <radialGradient
122- r="6.7857151"
123- fy="410.21933"
124- fx="176.78571"
125- cy="410.21933"
126- cx="176.78571"
127- gradientTransform="matrix(1,0,0,2.4210529,59.756785,-567.20906)"
128- gradientUnits="userSpaceOnUse"
129- id="radialGradient2360"
130- xlink:href="#linearGradient8285"
131- inkscape:collect="always" />
132- <radialGradient
133- r="9.2857151"
134- fy="385.93362"
135- fx="188.57143"
136- cy="385.93362"
137- cx="188.57143"
138- gradientTransform="matrix(1,0,0,0.5384615,59.756785,193.85752)"
139- gradientUnits="userSpaceOnUse"
140- id="radialGradient2357"
141- xlink:href="#linearGradient8285"
142- inkscape:collect="always" />
143- <radialGradient
144- r="21.42857"
145- fy="416.29074"
146- fx="122.85714"
147- cy="416.29074"
148- cx="122.85714"
149- gradientTransform="matrix(1,0,0,1.15,59.756785,-46.709305)"
150- gradientUnits="userSpaceOnUse"
151- id="radialGradient2354"
152- xlink:href="#linearGradient8285"
153- inkscape:collect="always" />
154- <radialGradient
155- r="12.857145"
156- fy="400.93362"
157- fx="127.14286"
158- cy="400.93362"
159- cx="127.14286"
160- gradientTransform="matrix(1,0,0,0.4444447,59.756785,238.47509)"
161- gradientUnits="userSpaceOnUse"
162- id="radialGradient2351"
163- xlink:href="#linearGradient8285"
164- inkscape:collect="always" />
165- <radialGradient
166- r="2.1428599"
167- fy="423.07645"
168- fx="125"
169- cy="423.07645"
170- cx="125"
171- gradientTransform="matrix(1,0,0,4.999993,59.756785,-1676.5686)"
172- gradientUnits="userSpaceOnUse"
173- id="radialGradient2348"
174- xlink:href="#linearGradient8285"
175- inkscape:collect="always" />
176- <radialGradient
177- r="21.428576"
178- fy="360.93362"
179- fx="135.71429"
180- cy="360.93362"
181- cx="135.71429"
182- gradientTransform="matrix(1,0,0,0.8999997,59.756785,51.827786)"
183- gradientUnits="userSpaceOnUse"
184- id="radialGradient2345"
185- xlink:href="#linearGradient8285"
186- inkscape:collect="always" />
187- <radialGradient
188- r="8.5714254"
189- fy="373.79074"
190- fx="140.71429"
191- cy="373.79074"
192- cx="140.71429"
193- gradientTransform="matrix(1,0,0,0.8333334,59.756785,78.032722)"
194- gradientUnits="userSpaceOnUse"
195- id="radialGradient2342"
196- xlink:href="#linearGradient8285"
197- inkscape:collect="always" />
198- <radialGradient
199- r="2.8571401"
200- fy="353.79074"
201- fx="145"
202- cy="353.79074"
203- cx="145"
204- gradientTransform="matrix(1,0,0,1.7500018,59.756785,-249.60938)"
205- gradientUnits="userSpaceOnUse"
206- id="radialGradient2339"
207- xlink:href="#linearGradient8285"
208- inkscape:collect="always" />
209- <radialGradient
210- r="8.5714302"
211- fy="354.14789"
212- fx="121.42857"
213- cy="354.14789"
214- cx="121.42857"
215- gradientTransform="matrix(1,0,0,0.2083334,59.756785,296.10137)"
216- gradientUnits="userSpaceOnUse"
217- id="radialGradient2336"
218- xlink:href="#linearGradient8285"
219- inkscape:collect="always" />
220- <radialGradient
221- r="14.64286"
222- fy="224.50504"
223- fx="197.5"
224- cy="224.50504"
225- cx="197.5"
226- gradientTransform="matrix(1,0,0,0.7317071,59.756785,75.9674)"
227- gradientUnits="userSpaceOnUse"
228- id="radialGradient2333"
229- xlink:href="#linearGradient8285"
230- inkscape:collect="always" />
231- <radialGradient
232- r="13.214285"
233- fy="273.43362"
234- fx="185.35715"
235- cy="273.43362"
236- cx="185.35715"
237- gradientTransform="matrix(1,0,0,1.4324324,59.756785,-102.50725)"
238- gradientUnits="userSpaceOnUse"
239- id="radialGradient2330"
240- xlink:href="#linearGradient8285"
241- inkscape:collect="always" />
242- <radialGradient
243- r="1.785715"
244- fy="274.86218"
245- fx="184.64285"
246- cy="274.86218"
247- cx="184.64285"
248- gradientTransform="matrix(1,0,0,4.5999978,59.756785,-973.76895)"
249- gradientUnits="userSpaceOnUse"
250- id="radialGradient2327"
251- xlink:href="#linearGradient8285"
252- inkscape:collect="always" />
253- <radialGradient
254- r="1.785715"
255- fy="237.71933"
256- fx="196.78571"
257- cy="237.71933"
258- cx="196.78571"
259- gradientTransform="matrix(1,0,0,4.5999978,59.756785,-840.05474)"
260- gradientUnits="userSpaceOnUse"
261- id="radialGradient2324"
262- xlink:href="#linearGradient8285"
263- inkscape:collect="always" />
264- <radialGradient
265- r="3.2142849"
266- fy="219.50504"
267- fx="191.78571"
268- cy="219.50504"
269- cx="191.78571"
270- gradientTransform="matrix(1,0,0,3.3333339,59.756785,-496.44423)"
271- gradientUnits="userSpaceOnUse"
272- id="radialGradient2321"
273- xlink:href="#linearGradient8285"
274- inkscape:collect="always" />
275- <radialGradient
276- r="3.57143"
277- fy="217.36218"
278- fx="162.14285"
279- cy="217.36218"
280- cx="162.14285"
281- gradientTransform="matrix(1,0,0,5.1999983,59.756785,-897.18649)"
282- gradientUnits="userSpaceOnUse"
283- id="radialGradient2318"
284- xlink:href="#linearGradient8285"
285- inkscape:collect="always" />
286- <radialGradient
287- r="2.5"
288- fy="209.1479"
289- fx="158.21429"
290- cy="209.1479"
291- cx="158.21429"
292- gradientTransform="matrix(1,0,0,2.42857,59.756785,-283.04811)"
293- gradientUnits="userSpaceOnUse"
294- id="radialGradient2315"
295- xlink:href="#linearGradient8285"
296- inkscape:collect="always" />
297- <radialGradient
298- r="4.2857099"
299- fy="166.29076"
300- fx="180"
301- cy="166.29076"
302- cx="180"
303- gradientTransform="matrix(1,0,0,2.9166696,59.756785,-302.99012)"
304- gradientUnits="userSpaceOnUse"
305- id="radialGradient2312"
306- xlink:href="#linearGradient8285"
307- inkscape:collect="always" />
308- <radialGradient
309- r="5"
310- fy="154.1479"
311- fx="203.57143"
312- cy="154.1479"
313- cx="203.57143"
314- gradientTransform="matrix(1,0,0,1.642857,59.756785,-83.360754)"
315- gradientUnits="userSpaceOnUse"
316- id="radialGradient2309"
317- xlink:href="#linearGradient8285"
318- inkscape:collect="always" />
319- <radialGradient
320- r="5"
321- fy="154.1479"
322- fx="203.57143"
323- cy="154.1479"
324- cx="203.57143"
325- gradientTransform="matrix(1,0,0,1.642857,0,-99.095053)"
326- gradientUnits="userSpaceOnUse"
327- id="radialGradient15177"
328- xlink:href="#linearGradient8285"
329- inkscape:collect="always" />
330- <radialGradient
331- r="4.2857099"
332- fy="166.29076"
333- fx="180"
334- cy="166.29076"
335- cx="180"
336- gradientTransform="matrix(1,0,0,2.9166696,0,-318.72442)"
337- gradientUnits="userSpaceOnUse"
338- id="radialGradient15175"
339- xlink:href="#linearGradient8285"
340- inkscape:collect="always" />
341- <radialGradient
342- r="2.5"
343- fy="209.1479"
344- fx="158.21429"
345- cy="209.1479"
346- cx="158.21429"
347- gradientTransform="matrix(1,0,0,2.42857,0,-298.78241)"
348- gradientUnits="userSpaceOnUse"
349- id="radialGradient15173"
350- xlink:href="#linearGradient8285"
351- inkscape:collect="always" />
352- <radialGradient
353- r="3.57143"
354- fy="217.36218"
355- fx="162.14285"
356- cy="217.36218"
357- cx="162.14285"
358- gradientTransform="matrix(1,0,0,5.1999983,0,-912.92079)"
359- gradientUnits="userSpaceOnUse"
360- id="radialGradient15171"
361- xlink:href="#linearGradient8285"
362- inkscape:collect="always" />
363- <radialGradient
364- r="3.2142849"
365- fy="219.50504"
366- fx="191.78571"
367- cy="219.50504"
368- cx="191.78571"
369- gradientTransform="matrix(1,0,0,3.3333339,0,-512.17853)"
370- gradientUnits="userSpaceOnUse"
371- id="radialGradient15169"
372- xlink:href="#linearGradient8285"
373- inkscape:collect="always" />
374- <radialGradient
375- r="1.785715"
376- fy="237.71933"
377- fx="196.78571"
378- cy="237.71933"
379- cx="196.78571"
380- gradientTransform="matrix(1,0,0,4.5999978,0,-855.78904)"
381- gradientUnits="userSpaceOnUse"
382- id="radialGradient15167"
383- xlink:href="#linearGradient8285"
384- inkscape:collect="always" />
385- <radialGradient
386- r="1.785715"
387- fy="274.86218"
388- fx="184.64285"
389- cy="274.86218"
390- cx="184.64285"
391- gradientTransform="matrix(1,0,0,4.5999978,0,-989.50325)"
392- gradientUnits="userSpaceOnUse"
393- id="radialGradient15165"
394- xlink:href="#linearGradient8285"
395- inkscape:collect="always" />
396- <radialGradient
397- r="13.214285"
398- fy="273.43362"
399- fx="185.35715"
400- cy="273.43362"
401- cx="185.35715"
402- gradientTransform="matrix(1,0,0,1.4324324,0,-118.24155)"
403- gradientUnits="userSpaceOnUse"
404- id="radialGradient15163"
405- xlink:href="#linearGradient8285"
406- inkscape:collect="always" />
407- <radialGradient
408- r="14.64286"
409- fy="224.50504"
410- fx="197.5"
411- cy="224.50504"
412- cx="197.5"
413- gradientTransform="matrix(1,0,0,0.7317071,0,60.233101)"
414- gradientUnits="userSpaceOnUse"
415- id="radialGradient15161"
416- xlink:href="#linearGradient8285"
417- inkscape:collect="always" />
418- <radialGradient
419- r="8.5714302"
420- fy="354.14789"
421- fx="121.42857"
422- cy="354.14789"
423- cx="121.42857"
424- gradientTransform="matrix(1,0,0,0.2083334,0,280.36707)"
425- gradientUnits="userSpaceOnUse"
426- id="radialGradient15159"
427- xlink:href="#linearGradient8285"
428- inkscape:collect="always" />
429- <radialGradient
430- r="2.8571401"
431- fy="353.79074"
432- fx="145"
433- cy="353.79074"
434- cx="145"
435- gradientTransform="matrix(1,0,0,1.7500018,0,-265.34368)"
436- gradientUnits="userSpaceOnUse"
437- id="radialGradient15157"
438- xlink:href="#linearGradient8285"
439- inkscape:collect="always" />
440- <radialGradient
441- r="8.5714254"
442- fy="373.79074"
443- fx="140.71429"
444- cy="373.79074"
445- cx="140.71429"
446- gradientTransform="matrix(1,0,0,0.8333334,0,62.298423)"
447- gradientUnits="userSpaceOnUse"
448- id="radialGradient15155"
449- xlink:href="#linearGradient8285"
450- inkscape:collect="always" />
451- <radialGradient
452- r="21.428576"
453- fy="360.93362"
454- fx="135.71429"
455- cy="360.93362"
456- cx="135.71429"
457- gradientTransform="matrix(1,0,0,0.8999997,0,36.093487)"
458- gradientUnits="userSpaceOnUse"
459- id="radialGradient15153"
460- xlink:href="#linearGradient8285"
461- inkscape:collect="always" />
462- <radialGradient
463- r="2.1428599"
464- fy="423.07645"
465- fx="125"
466- cy="423.07645"
467- cx="125"
468- gradientTransform="matrix(1,0,0,4.999993,0,-1692.3029)"
469- gradientUnits="userSpaceOnUse"
470- id="radialGradient15151"
471- xlink:href="#linearGradient8285"
472- inkscape:collect="always" />
473- <radialGradient
474- r="12.857145"
475- fy="400.93362"
476- fx="127.14286"
477- cy="400.93362"
478- cx="127.14286"
479- gradientTransform="matrix(1,0,0,0.4444447,0,222.74079)"
480- gradientUnits="userSpaceOnUse"
481- id="radialGradient15149"
482- xlink:href="#linearGradient8285"
483- inkscape:collect="always" />
484- <radialGradient
485- r="21.42857"
486- fy="416.29074"
487- fx="122.85714"
488- cy="416.29074"
489- cx="122.85714"
490- gradientTransform="matrix(1,0,0,1.15,0,-62.443604)"
491- gradientUnits="userSpaceOnUse"
492- id="radialGradient15147"
493- xlink:href="#linearGradient8285"
494- inkscape:collect="always" />
495- <radialGradient
496- r="9.2857151"
497- fy="385.93362"
498- fx="188.57143"
499- cy="385.93362"
500- cx="188.57143"
501- gradientTransform="matrix(1,0,0,0.5384615,0,178.12322)"
502- gradientUnits="userSpaceOnUse"
503- id="radialGradient15145"
504- xlink:href="#linearGradient8285"
505- inkscape:collect="always" />
506- <radialGradient
507- r="6.7857151"
508- fy="410.21933"
509- fx="176.78571"
510- cy="410.21933"
511- cx="176.78571"
512- gradientTransform="matrix(1,0,0,2.4210529,0,-582.94336)"
513- gradientUnits="userSpaceOnUse"
514- id="radialGradient15143"
515- xlink:href="#linearGradient8285"
516- inkscape:collect="always" />
517- <radialGradient
518- r="12.142855"
519- fy="407.36218"
520- fx="182.14285"
521- cy="407.36218"
522- cx="182.14285"
523- gradientTransform="matrix(1,0,0,3.1764713,0,-886.61208)"
524- gradientUnits="userSpaceOnUse"
525- id="radialGradient15141"
526- xlink:href="#linearGradient8285"
527- inkscape:collect="always" />
528- <radialGradient
529- r="12.5"
530- fy="286.64789"
531- fx="126.78571"
532- cy="286.64789"
533- cx="126.78571"
534- gradientTransform="matrix(1,0,0,1.5428572,0,-155.60887)"
535- gradientUnits="userSpaceOnUse"
536- id="radialGradient15139"
537- xlink:href="#linearGradient8285"
538- inkscape:collect="always" />
539- <radialGradient
540- r="5.3571401"
541- fy="255.57648"
542- fx="137.5"
543- cy="255.57648"
544- cx="137.5"
545- gradientTransform="matrix(1,0,0,3.9333357,0,-749.69158)"
546- gradientUnits="userSpaceOnUse"
547- id="radialGradient15137"
548- xlink:href="#linearGradient8285"
549- inkscape:collect="always" />
550- <radialGradient
551- r="10.357145"
552- fy="281.29074"
553- fx="133.21428"
554- cy="281.29074"
555- cx="133.21428"
556- gradientTransform="matrix(1,0,0,3.068965,0,-581.98071)"
557- gradientUnits="userSpaceOnUse"
558- id="radialGradient15135"
559- xlink:href="#linearGradient8285"
560- inkscape:collect="always" />
561- <radialGradient
562- r="48.92857"
563- fy="306.64789"
564- fx="160.35715"
565- cy="306.64789"
566- cx="160.35715"
567- gradientTransform="matrix(1,0,0,4.1313869,0,-960.23321)"
568- gradientUnits="userSpaceOnUse"
569- id="radialGradient15133"
570- xlink:href="#linearGradient8285"
571- inkscape:collect="always" />
572- <radialGradient
573- r="48.92857"
574- fy="306.64789"
575- fx="160.35715"
576- cy="306.64789"
577- cx="160.35715"
578- gradientTransform="matrix(1,0,0,4.1313869,222.37499,-960.23321)"
579- gradientUnits="userSpaceOnUse"
580- id="radialGradient15131"
581- xlink:href="#linearGradient8285"
582- inkscape:collect="always" />
583- <filter
584- id="filter11733"
585- inkscape:collect="always">
586- <feGaussianBlur
587- id="feGaussianBlur11735"
588- stdDeviation="2.575"
589- inkscape:collect="always" />
590- </filter>
591- <linearGradient
592- id="linearGradient8285">
593- <stop
594- id="stop8287"
595- offset="0"
596- style="stop-color:#30e0ff;stop-opacity:1;" />
597- <stop
598- id="stop8289"
599- offset="1"
600- style="stop-color:#0000ae;stop-opacity:1;" />
601- </linearGradient>
602- <radialGradient
603- inkscape:collect="always"
604- xlink:href="#linearGradient8285"
605- id="radialGradient5588"
606- gradientUnits="userSpaceOnUse"
607- gradientTransform="matrix(1,0,0,4.1313869,59.756785,-944.49891)"
608- cx="160.35715"
609- cy="306.64789"
610- fx="160.35715"
611- fy="306.64789"
612- r="48.92857" />
613- <radialGradient
614- inkscape:collect="always"
615- xlink:href="#linearGradient8285"
616- id="radialGradient5590"
617- gradientUnits="userSpaceOnUse"
618- gradientTransform="matrix(1,0,0,3.068965,59.756785,-566.24641)"
619- cx="133.21428"
620- cy="281.29074"
621- fx="133.21428"
622- fy="281.29074"
623- r="10.357145" />
624- <radialGradient
625- inkscape:collect="always"
626- xlink:href="#linearGradient8285"
627- id="radialGradient5592"
628- gradientUnits="userSpaceOnUse"
629- gradientTransform="matrix(1,0,0,3.9333357,59.756785,-733.95728)"
630- cx="137.5"
631- cy="255.57648"
632- fx="137.5"
633- fy="255.57648"
634- r="5.3571401" />
635- <radialGradient
636- inkscape:collect="always"
637- xlink:href="#linearGradient8285"
638- id="radialGradient5594"
639- gradientUnits="userSpaceOnUse"
640- gradientTransform="matrix(1,0,0,1.5428572,59.756785,-139.87457)"
641- cx="126.78571"
642- cy="286.64789"
643- fx="126.78571"
644- fy="286.64789"
645- r="12.5" />
646- <radialGradient
647- inkscape:collect="always"
648- xlink:href="#linearGradient8285"
649- id="radialGradient5596"
650- gradientUnits="userSpaceOnUse"
651- gradientTransform="matrix(1,0,0,3.1764713,59.756785,-870.87778)"
652- cx="182.14285"
653- cy="407.36218"
654- fx="182.14285"
655- fy="407.36218"
656- r="12.142855" />
657- <radialGradient
658- inkscape:collect="always"
659- xlink:href="#linearGradient8285"
660- id="radialGradient5598"
661- gradientUnits="userSpaceOnUse"
662- gradientTransform="matrix(1,0,0,2.4210529,59.756785,-567.20906)"
663- cx="176.78571"
664- cy="410.21933"
665- fx="176.78571"
666- fy="410.21933"
667- r="6.7857151" />
668- <radialGradient
669- inkscape:collect="always"
670- xlink:href="#linearGradient8285"
671- id="radialGradient5600"
672- gradientUnits="userSpaceOnUse"
673- gradientTransform="matrix(1,0,0,0.5384615,59.756785,193.85752)"
674- cx="188.57143"
675- cy="385.93362"
676- fx="188.57143"
677- fy="385.93362"
678- r="9.2857151" />
679- <radialGradient
680- inkscape:collect="always"
681- xlink:href="#linearGradient8285"
682- id="radialGradient5602"
683- gradientUnits="userSpaceOnUse"
684- gradientTransform="matrix(1,0,0,1.15,59.756785,-46.709305)"
685- cx="122.85714"
686- cy="416.29074"
687- fx="122.85714"
688- fy="416.29074"
689- r="21.42857" />
690- <radialGradient
691- inkscape:collect="always"
692- xlink:href="#linearGradient8285"
693- id="radialGradient5604"
694- gradientUnits="userSpaceOnUse"
695- gradientTransform="matrix(1,0,0,0.4444447,59.756785,238.47509)"
696- cx="127.14286"
697- cy="400.93362"
698- fx="127.14286"
699- fy="400.93362"
700- r="12.857145" />
701- <radialGradient
702- inkscape:collect="always"
703- xlink:href="#linearGradient8285"
704- id="radialGradient5606"
705- gradientUnits="userSpaceOnUse"
706- gradientTransform="matrix(1,0,0,4.999993,59.756785,-1676.5686)"
707- cx="125"
708- cy="423.07645"
709- fx="125"
710- fy="423.07645"
711- r="2.1428599" />
712- <radialGradient
713- inkscape:collect="always"
714- xlink:href="#linearGradient8285"
715- id="radialGradient5608"
716- gradientUnits="userSpaceOnUse"
717- gradientTransform="matrix(1,0,0,0.8999997,59.756785,51.827786)"
718- cx="135.71429"
719- cy="360.93362"
720- fx="135.71429"
721- fy="360.93362"
722- r="21.428576" />
723- <radialGradient
724- inkscape:collect="always"
725- xlink:href="#linearGradient8285"
726- id="radialGradient5610"
727- gradientUnits="userSpaceOnUse"
728- gradientTransform="matrix(1,0,0,0.8333334,59.756785,78.032722)"
729- cx="140.71429"
730- cy="373.79074"
731- fx="140.71429"
732- fy="373.79074"
733- r="8.5714254" />
734- <radialGradient
735- inkscape:collect="always"
736- xlink:href="#linearGradient8285"
737- id="radialGradient5612"
738- gradientUnits="userSpaceOnUse"
739- gradientTransform="matrix(1,0,0,1.7500018,59.756785,-249.60938)"
740- cx="145"
741- cy="353.79074"
742- fx="145"
743- fy="353.79074"
744- r="2.8571401" />
745- <radialGradient
746- inkscape:collect="always"
747- xlink:href="#linearGradient8285"
748- id="radialGradient5614"
749- gradientUnits="userSpaceOnUse"
750- gradientTransform="matrix(1,0,0,0.2083334,59.756785,296.10137)"
751- cx="121.42857"
752- cy="354.14789"
753- fx="121.42857"
754- fy="354.14789"
755- r="8.5714302" />
756- <radialGradient
757- inkscape:collect="always"
758- xlink:href="#linearGradient8285"
759- id="radialGradient5616"
760- gradientUnits="userSpaceOnUse"
761- gradientTransform="matrix(1,0,0,0.7317071,59.756785,75.9674)"
762- cx="197.5"
763- cy="224.50504"
764- fx="197.5"
765- fy="224.50504"
766- r="14.64286" />
767- <radialGradient
768- inkscape:collect="always"
769- xlink:href="#linearGradient8285"
770- id="radialGradient5618"
771- gradientUnits="userSpaceOnUse"
772- gradientTransform="matrix(1,0,0,1.4324324,59.756785,-102.50725)"
773- cx="185.35715"
774- cy="273.43362"
775- fx="185.35715"
776- fy="273.43362"
777- r="13.214285" />
778- <radialGradient
779- inkscape:collect="always"
780- xlink:href="#linearGradient8285"
781- id="radialGradient5620"
782- gradientUnits="userSpaceOnUse"
783- gradientTransform="matrix(1,0,0,4.5999978,59.756785,-973.76895)"
784- cx="184.64285"
785- cy="274.86218"
786- fx="184.64285"
787- fy="274.86218"
788- r="1.785715" />
789- <radialGradient
790- inkscape:collect="always"
791- xlink:href="#linearGradient8285"
792- id="radialGradient5622"
793- gradientUnits="userSpaceOnUse"
794- gradientTransform="matrix(1,0,0,4.5999978,59.756785,-840.05474)"
795- cx="196.78571"
796- cy="237.71933"
797- fx="196.78571"
798- fy="237.71933"
799- r="1.785715" />
800- <radialGradient
801- inkscape:collect="always"
802- xlink:href="#linearGradient8285"
803- id="radialGradient5624"
804- gradientUnits="userSpaceOnUse"
805- gradientTransform="matrix(1,0,0,3.3333339,59.756785,-496.44423)"
806- cx="191.78571"
807- cy="219.50504"
808- fx="191.78571"
809- fy="219.50504"
810- r="3.2142849" />
811- <radialGradient
812- inkscape:collect="always"
813- xlink:href="#linearGradient8285"
814- id="radialGradient5626"
815- gradientUnits="userSpaceOnUse"
816- gradientTransform="matrix(1,0,0,5.1999983,59.756785,-897.18649)"
817- cx="162.14285"
818- cy="217.36218"
819- fx="162.14285"
820- fy="217.36218"
821- r="3.57143" />
822- <radialGradient
823- inkscape:collect="always"
824- xlink:href="#linearGradient8285"
825- id="radialGradient5628"
826- gradientUnits="userSpaceOnUse"
827- gradientTransform="matrix(1,0,0,2.42857,59.756785,-283.04811)"
828- cx="158.21429"
829- cy="209.1479"
830- fx="158.21429"
831- fy="209.1479"
832- r="2.5" />
833- <radialGradient
834- inkscape:collect="always"
835- xlink:href="#linearGradient8285"
836- id="radialGradient5630"
837- gradientUnits="userSpaceOnUse"
838- gradientTransform="matrix(1,0,0,2.9166696,59.756785,-302.99012)"
839- cx="180"
840- cy="166.29076"
841- fx="180"
842- fy="166.29076"
843- r="4.2857099" />
844- <radialGradient
845- inkscape:collect="always"
846- xlink:href="#linearGradient8285"
847- id="radialGradient5632"
848- gradientUnits="userSpaceOnUse"
849- gradientTransform="matrix(1,0,0,1.642857,59.756785,-83.360754)"
850- cx="203.57143"
851- cy="154.1479"
852- fx="203.57143"
853- fy="154.1479"
854- r="5" />
855- <radialGradient
856- inkscape:collect="always"
857- xlink:href="#linearGradient8285"
858- id="radialGradient5635"
859- gradientUnits="userSpaceOnUse"
860- gradientTransform="matrix(0.07931209,0.02125162,-0.03491337,0.13029842,21.149247,-20.277909)"
861- cx="203.57143"
862- cy="154.1479"
863- fx="203.57143"
864- fy="154.1479"
865- r="5" />
866- <radialGradient
867- inkscape:collect="always"
868- xlink:href="#linearGradient8285"
869- id="radialGradient5638"
870- gradientUnits="userSpaceOnUse"
871- gradientTransform="matrix(0.07931209,0.02125162,-0.06198395,0.23132716,25.816726,-37.697173)"
872- cx="180"
873- cy="166.29076"
874- fx="180"
875- fy="166.29076"
876- r="4.2857099" />
877- <radialGradient
878- inkscape:collect="always"
879- xlink:href="#linearGradient8285"
880- id="radialGradient5641"
881- gradientUnits="userSpaceOnUse"
882- gradientTransform="matrix(0.07931209,0.02125162,-0.05161105,0.19261496,25.392926,-36.115531)"
883- cx="158.21429"
884- cy="209.1479"
885- fx="158.21429"
886- fy="209.1479"
887- r="2.5" />
888- <radialGradient
889- inkscape:collect="always"
890- xlink:href="#linearGradient8285"
891- id="radialGradient5644"
892- gradientUnits="userSpaceOnUse"
893- gradientTransform="matrix(0.07931209,0.02125162,-0.11050839,0.41242273,38.444362,-84.824129)"
894- cx="162.14285"
895- cy="217.36218"
896- fx="162.14285"
897- fy="217.36218"
898- r="3.57143" />
899- <radialGradient
900- inkscape:collect="always"
901- xlink:href="#linearGradient8285"
902- id="radialGradient5647"
903- gradientUnits="userSpaceOnUse"
904- gradientTransform="matrix(0.07931209,0.02125162,-0.07083875,0.26437368,29.92794,-53.040423)"
905- cx="191.78571"
906- cy="219.50504"
907- fx="191.78571"
908- fy="219.50504"
909- r="3.2142849" />
910- <radialGradient
911- inkscape:collect="always"
912- xlink:href="#linearGradient8285"
913- id="radialGradient5650"
914- gradientUnits="userSpaceOnUse"
915- gradientTransform="matrix(0.07931209,0.02125162,-0.09775741,0.36483544,37.23022,-80.292891)"
916- cx="196.78571"
917- cy="237.71933"
918- fx="196.78571"
919- fy="237.71933"
920- r="1.785715" />
921- <radialGradient
922- inkscape:collect="always"
923- xlink:href="#linearGradient8285"
924- id="radialGradient5653"
925- gradientUnits="userSpaceOnUse"
926- gradientTransform="matrix(0.07931209,0.02125162,-0.09775741,0.36483544,40.071863,-90.898044)"
927- cx="184.64285"
928- cy="274.86218"
929- fx="184.64285"
930- fy="274.86218"
931- r="1.785715" />
932- <radialGradient
933- inkscape:collect="always"
934- xlink:href="#linearGradient8285"
935- id="radialGradient5656"
936- gradientUnits="userSpaceOnUse"
937- gradientTransform="matrix(0.07931209,0.02125162,-0.03044151,0.11360921,21.556141,-21.796458)"
938- cx="185.35715"
939- cy="273.43362"
940- fx="185.35715"
941- fy="273.43362"
942- r="13.214285" />
943- <radialGradient
944- inkscape:collect="always"
945- xlink:href="#linearGradient8285"
946- id="radialGradient5659"
947- gradientUnits="userSpaceOnUse"
948- gradientTransform="matrix(0.07931209,0.02125162,-0.01554996,0.05803322,17.763265,-7.6412602)"
949- cx="197.5"
950- cy="224.50504"
951- fx="197.5"
952- fy="224.50504"
953- r="14.64286" />
954- <radialGradient
955- inkscape:collect="always"
956- xlink:href="#linearGradient8285"
957- id="radialGradient5662"
958- gradientUnits="userSpaceOnUse"
959- gradientTransform="matrix(0.07931209,0.02125162,-0.00442742,0.01652336,13.085062,9.818025)"
960- cx="121.42857"
961- cy="354.14789"
962- fx="121.42857"
963- fy="354.14789"
964- r="8.5714302" />
965- <radialGradient
966- inkscape:collect="always"
967- xlink:href="#linearGradient8285"
968- id="radialGradient5665"
969- gradientUnits="userSpaceOnUse"
970- gradientTransform="matrix(0.07931209,0.02125162,-0.03719037,0.1387963,24.682299,-33.463435)"
971- cx="145"
972- cy="353.79074"
973- fx="145"
974- fy="353.79074"
975- r="2.8571401" />
976- <radialGradient
977- inkscape:collect="always"
978- xlink:href="#linearGradient8285"
979- id="radialGradient5668"
980- gradientUnits="userSpaceOnUse"
981- gradientTransform="matrix(0.07931209,0.02125162,-0.01770968,0.06609341,17.719374,-7.4774552)"
982- cx="140.71429"
983- cy="373.79074"
984- fx="140.71429"
985- fy="373.79074"
986- r="8.5714254" />
987- <radialGradient
988- inkscape:collect="always"
989- xlink:href="#linearGradient8285"
990- id="radialGradient5671"
991- gradientUnits="userSpaceOnUse"
992- gradientTransform="matrix(0.07931209,0.02125162,-0.01912645,0.07138086,18.276271,-9.5558235)"
993- cx="135.71429"
994- cy="360.93362"
995- fx="135.71429"
996- fy="360.93362"
997- r="21.428576" />
998- <radialGradient
999- inkscape:collect="always"
1000- xlink:href="#linearGradient8285"
1001- id="radialGradient5674"
1002- gradientUnits="userSpaceOnUse"
1003- gradientTransform="matrix(0.07931209,0.02125162,-0.10625795,0.39655989,55.007494,-146.63855)"
1004- cx="125"
1005- cy="423.07645"
1006- fx="125"
1007- fy="423.07645"
1008- r="2.1428599" />
1009- <radialGradient
1010- inkscape:collect="always"
1011- xlink:href="#linearGradient8285"
1012- id="radialGradient5677"
1013- gradientUnits="userSpaceOnUse"
1014- gradientTransform="matrix(0.07931209,0.02125162,-0.00944517,0.03524984,14.309714,5.2475643)"
1015- cx="127.14286"
1016- cy="400.93362"
1017- fx="127.14286"
1018- fy="400.93362"
1019- r="12.857145" />
1020- <radialGradient
1021- inkscape:collect="always"
1022- xlink:href="#linearGradient8285"
1023- id="radialGradient5680"
1024- gradientUnits="userSpaceOnUse"
1025- gradientTransform="matrix(0.07931209,0.02125162,-0.02443936,0.0912089,20.370344,-17.371006)"
1026- cx="122.85714"
1027- cy="416.29074"
1028- fx="122.85714"
1029- fy="416.29074"
1030- r="21.42857" />
1031- <radialGradient
1032- inkscape:collect="always"
1033- xlink:href="#linearGradient8285"
1034- id="radialGradient5683"
1035- gradientUnits="userSpaceOnUse"
1036- gradientTransform="matrix(0.07931209,0.02125162,-0.01144318,0.04270651,15.257909,1.7088516)"
1037- cx="188.57143"
1038- cy="385.93362"
1039- fx="188.57143"
1040- fy="385.93362"
1041- r="9.2857151" />
1042- <radialGradient
1043- inkscape:collect="always"
1044- xlink:href="#linearGradient8285"
1045- id="radialGradient5686"
1046- gradientUnits="userSpaceOnUse"
1047- gradientTransform="matrix(0.07931209,0.02125162,-0.0514513,0.19201877,31.431807,-58.65293)"
1048- cx="176.78571"
1049- cy="410.21933"
1050- fx="176.78571"
1051- fy="410.21933"
1052- r="6.7857151" />
1053- <radialGradient
1054- inkscape:collect="always"
1055- xlink:href="#linearGradient8285"
1056- id="radialGradient5689"
1057- gradientUnits="userSpaceOnUse"
1058- gradientTransform="matrix(0.07931209,0.02125162,-0.06750516,0.25193258,37.885259,-82.73753)"
1059- cx="182.14285"
1060- cy="407.36218"
1061- fx="182.14285"
1062- fy="407.36218"
1063- r="12.142855" />
1064- <radialGradient
1065- inkscape:collect="always"
1066- xlink:href="#linearGradient8285"
1067- id="radialGradient5692"
1068- gradientUnits="userSpaceOnUse"
1069- gradientTransform="matrix(0.07931209,0.02125162,-0.03278821,0.12236723,22.350257,-24.760138)"
1070- cx="126.78571"
1071- cy="286.64789"
1072- fx="126.78571"
1073- fy="286.64789"
1074- r="12.5" />
1075- <radialGradient
1076- inkscape:collect="always"
1077- xlink:href="#linearGradient8285"
1078- id="radialGradient5695"
1079- gradientUnits="userSpaceOnUse"
1080- gradientTransform="matrix(0.07931209,0.02125162,-0.08358976,0.31196108,34.975477,-71.878079)"
1081- cx="137.5"
1082- cy="255.57648"
1083- fx="137.5"
1084- fy="255.57648"
1085- r="5.3571401" />
1086- <radialGradient
1087- inkscape:collect="always"
1088- xlink:href="#linearGradient8285"
1089- id="radialGradient5698"
1090- gradientUnits="userSpaceOnUse"
1091- gradientTransform="matrix(0.07931209,0.02125162,-0.06522048,0.24340603,31.411349,-58.57658)"
1092- cx="133.21428"
1093- cy="281.29074"
1094- fx="133.21428"
1095- fy="281.29074"
1096- r="10.357145" />
1097- <radialGradient
1098- inkscape:collect="always"
1099- xlink:href="#linearGradient8285"
1100- id="radialGradient5701"
1101- gradientUnits="userSpaceOnUse"
1102- gradientTransform="matrix(0.07931209,0.02125162,-0.08779866,0.32766893,39.449827,-88.576576)"
1103- cx="160.35715"
1104- cy="306.64789"
1105- fx="160.35715"
1106- fy="306.64789"
1107- r="48.92857" />
1108- </defs>
1109- <sodipodi:namedview
1110- id="base"
1111- pagecolor="#ffffff"
1112- bordercolor="#666666"
1113- borderopacity="1.0"
1114- inkscape:pageopacity="0.0"
1115- inkscape:pageshadow="2"
1116- inkscape:zoom="4"
1117- inkscape:cx="47.09975"
1118- inkscape:cy="33.986269"
1119- inkscape:current-layer="layer1"
1120- showgrid="true"
1121- inkscape:grid-bbox="true"
1122- inkscape:document-units="px"
1123- inkscape:window-width="1600"
1124- inkscape:window-height="1101"
1125- inkscape:window-x="0"
1126- inkscape:window-y="49"
1127- inkscape:window-maximized="1" />
1128- <metadata
1129- id="metadata4468">
1130- <rdf:RDF>
1131- <cc:Work
1132- rdf:about="">
1133- <dc:format>image/svg+xml</dc:format>
1134- <dc:type
1135- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
1136- </cc:Work>
1137- </rdf:RDF>
1138- </metadata>
1139- <g
1140- id="layer1"
1141- inkscape:label="Layer 1"
1142- inkscape:groupmode="layer">
1143- <g
1144- id="g6158">
1145- <path
1146- inkscape:connector-curvature="0"
1147- id="path3025-7"
1148- d="M 23.999999,-1.26e-6 C 15.163443,-1.26e-6 8,7.1774611 8,16.03131 8,24.438127 14.449981,31.325128 22.666666,32 l 0,-9.247228 c -5.077613,-0.654903 -8.999999,-4.983418 -8.999999,-10.249186 0,-5.7181104 4.626391,-10.3535546 10.333332,-10.3535546 5.706945,0 10.333335,4.6354442 10.333335,10.3535546 0,5.265768 -3.922386,9.594283 -9.000001,10.249186 l 0,9.247228 C 33.55002,31.325128 40,24.438127 40,16.03131 40,7.1774611 32.836556,-1.26e-6 23.999999,-1.26e-6 z m 0,3.67384216 c -4.786467,0 -8.666666,3.8877922 -8.666666,8.6836271 0,4.795836 3.880199,8.683627 8.666666,8.683627 4.786469,0 8.666668,-3.887791 8.666668,-8.683627 0,-4.7958349 -3.880199,-8.6836271 -8.666668,-8.6836271 z"
1149- style="fill:url(#radialGradient4608);fill-opacity:1;stroke:none;display:inline;stroke-opacity:1;stroke-width:0.20000000000000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;opacity:1" />
1150- <g
1151- transform="matrix(0.08764665,0,0,0.08764665,8,23.849491)"
1152- i:dimmedPercent="50"
1153- i:layer="yes"
1154- i:rgbTrio="#4F008000FFFF"
1155- id="Layer_1">
1156- <g
1157- id="g4549">
1158- <path
1159- style="fill:#616161;fill-rule:evenodd"
1160- inkscape:connector-curvature="0"
1161- clip-rule="evenodd"
1162- d="M 0,34.344 0.72,53.46 C 9.396,60.732 18,68.04 26.928,75.78 35.892,83.52 45.792,90 53.856,99.504 c 7.884,9.396 16.992,18 20.52,32.616 3.384,14.651 3.384,32.509 0,54.54 l -10.98,18.756 -0.36,21.961 20.556,8.855 c 5.796,-2.16 12.6,-3.205 20.556,-2.844 7.92,0.215 19.62,1.332 26.892,4.607 7.2,3.203 12.24,10.297 15.948,14.904 3.564,4.607 5.508,8.604 5.688,12.383 l 23.724,10.262 68.004,-68.689 -0.721,-23.4 v 0.002 c -3.312,-1.586 -6.336,-3.24 -9.216,-4.969 -2.952,-1.801 -5.616,-3.637 -8.136,-5.652 24.3,1.801 44.496,2.52 61.992,1.764 17.352,-0.9 29.592,-3.275 41.436,-6.012 11.7,-2.699 22.393,-7.309 28.332,-9.936 5.796,-2.701 7.813,-4.176 6.732,-6.373 -1.225,-2.412 -3.168,-3.059 -13.464,-7.775 -10.62,-4.896 -35.028,-15.3 -48.528,-20.916 -13.428,-5.616 -23.544,-9.612 -31.176,-12.384 v -9.576 L 249.01,92.808 V 78.624 L 46.404,0 C 30.96,11.448 15.48,22.896 0,34.344 z"
1163- i:knockout="Off"
1164- id="path4551" />
1165- <path
1166- style="fill:#a1a1a1;fill-rule:evenodd"
1167- inkscape:connector-curvature="0"
1168- clip-rule="evenodd"
1169- d="m 3.888,37.188 205.452,81.108 37.872,-37.548 c -7.668,7.128 -14.688,12.528 -21.6,16.632 -6.84,4.032 -9.721,7.632 -19.477,7.452 -9.936,-0.396 -16.164,-1.476 -39.672,-9.216 C 142.56,87.624 92.16,68.328 64.836,58.428 37.548,48.636 17.604,41.652 3.888,37.188 z"
1170- i:knockout="Off"
1171- id="path4553" />
1172- <path
1173- style="fill:#a1a1a1;fill-rule:evenodd"
1174- inkscape:connector-curvature="0"
1175- clip-rule="evenodd"
1176- d="m 249.336,96.336 c -9.54,9.144 -16.164,15.876 -20.16,20.196 -3.96,4.284 -5.328,3.852 -3.563,5.652 1.62,1.692 9.216,4.392 13.464,4.608 4.176,0.072 7.812,-1.224 11.34,-3.888 l -6.732,8.496 -27.972,-8.136 27.612,-26.208 c 1.979,-0.216 3.995,-0.468 6.011,-0.72 z"
1177- i:knockout="Off"
1178- id="path4555" />
1179- <path
1180- style="fill:#a1a1a1;fill-rule:evenodd"
1181- inkscape:connector-curvature="0"
1182- clip-rule="evenodd"
1183- d="m 261.396,127.512 c -6.12,-0.54 -9.648,0.54 -11.7,2.808 -2.196,2.304 -3.097,7.993 -1.044,10.657 2.016,2.52 4.248,2.555 13.104,4.572 8.856,1.979 22.933,5.508 39.313,7.092 16.344,1.439 50.184,2.627 57.384,1.764 6.804,-0.9 -3.888,-3.527 -15.948,-7.057 -12.24,-3.707 -42.228,-10.835 -55.944,-14.184 -13.609,-3.348 -19.081,-5.184 -25.165,-5.652 z"
1184- i:knockout="Off"
1185- id="path4557" />
1186- <path
1187- style="fill:#212121;fill-rule:evenodd"
1188- inkscape:connector-curvature="0"
1189- clip-rule="evenodd"
1190- d="m 63.036,46.044 16.308,-11.34 -16.308,-6.732 -15.912,11.7 15.912,6.372 z"
1191- i:knockout="Off"
1192- id="path4559" />
1193- <path
1194- style="fill:#212121;fill-rule:evenodd"
1195- inkscape:connector-curvature="0"
1196- clip-rule="evenodd"
1197- d="m 249.012,79.668 -38.987,38.628 c -0.937,10.836 -1.297,20.052 -0.685,28.333 0.468,8.172 3.061,18.863 3.888,20.555 0.757,1.512 0.505,-3.816 1.045,-10.98 0.432,-7.234 1.079,-17.676 1.8,-31.895 l 31.859,-31.86 c 0.36,-4.249 0.72,-8.497 1.08,-12.781 z"
1198- i:knockout="Off"
1199- id="path4561" />
1200- <path
1201- style="fill:#212121;fill-rule:evenodd"
1202- inkscape:connector-curvature="0"
1203- clip-rule="evenodd"
1204- d="m 249.696,124.308 -6.372,7.812 c -0.216,7.487 0.072,12.312 0.72,14.868 0.612,2.34 2.412,2.34 3.168,0 0.648,-2.412 -0.432,-10.44 1.08,-13.824 1.332,-3.456 7.2,-4.932 7.452,-6.372 0.216,-1.512 -1.8,-2.34 -6.048,-2.484 z"
1205- i:knockout="Off"
1206- id="path4563" />
1207- <path
1208- style="fill:#212121;fill-rule:evenodd"
1209- inkscape:connector-curvature="0"
1210- clip-rule="evenodd"
1211- d="m 269.172,103.428 c -4.14,4.788 -6.264,7.812 -6.372,9.216 -0.107,1.296 4.104,-0.864 5.688,-1.08 1.476,-0.288 2.7,-0.36 3.527,-0.36 l -0.72,-9.216 c -0.683,0.468 -1.403,0.936 -2.123,1.44 z"
1212- i:knockout="Off"
1213- id="path4565" />
1214- <path
1215- style="fill:#212121;fill-rule:evenodd"
1216- inkscape:connector-curvature="0"
1217- clip-rule="evenodd"
1218- d="m 170.352,214.633 c 0.216,-4.609 0.54,-8.605 2.484,-13.105 1.728,-4.535 3.564,-9.143 8.856,-13.824 5.4,-4.859 22.428,-13.211 23.041,-14.508 0.252,-1.26 -14.257,3.744 -20.196,7.092 -5.94,3.313 -11.592,7.236 -14.868,12.744 -3.276,5.4 -4.86,13.861 -4.608,19.836 0.324,5.869 4.968,15.229 6.012,15.59 0.755,0.179 -0.973,-9.29 -0.721,-13.825 z"
1219- i:knockout="Off"
1220- id="path4567" />
1221- <path
1222- style="fill:#212121;fill-rule:evenodd"
1223- inkscape:connector-curvature="0"
1224- clip-rule="evenodd"
1225- d="m 225.972,174.24 16.633,9.936 -51.337,53.461 c -0.756,-7.885 0,-14.797 2.124,-20.881 2.124,-6.119 8.028,-11.268 10.62,-15.588 2.484,-4.428 1.404,-7.848 4.248,-10.26 2.772,-2.447 10.225,-2.52 12.061,-4.248 1.655,-1.873 -2.772,-4.32 -1.765,-6.373 0.9,-2.088 3.42,-4.103 7.416,-6.047 z"
1226- i:knockout="Off"
1227- id="path4569" />
1228- <path
1229- style="fill:#212121;fill-rule:evenodd"
1230- inkscape:connector-curvature="0"
1231- clip-rule="evenodd"
1232- d="m 44.28,14.148 c 0,2.556 3.42,4.608 7.632,4.608 4.176,0 7.596,-2.052 7.596,-4.608 0,-2.52 -3.42,-4.608 -7.596,-4.608 -4.212,0 -7.632,2.088 -7.632,4.608 z"
1233- i:knockout="Off"
1234- id="path4571" />
1235- <path
1236- style="fill:#212121;fill-rule:evenodd"
1237- inkscape:connector-curvature="0"
1238- clip-rule="evenodd"
1239- d="m 65.232,207.035 c 5.328,-8.711 10.26,-14.471 15.084,-17.135 4.716,-2.701 7.56,0.539 13.392,0.828 5.76,0.18 20.844,-1.908 21.348,0.396 0.324,2.34 -14.436,9.07 -18.864,13.391 -4.5,4.213 -7.092,8.029 -7.92,11.736 -7.668,-3.06 -15.336,-6.118 -23.04,-9.216 z"
1240- i:knockout="Off"
1241- id="path4573" />
1242- </g>
1243- </g>
1244- <path
1245- inkscape:connector-curvature="0"
1246- id="path7258"
1247- d="M 33.421301,0.31770012 22.834944,16.486106 l 1.982802,0.53129 -7.749425,13.285426 10.976672,-13.999378 -2.26606,-0.60719 7.642368,-15.37855388 z"
1248- style="fill:url(#radialGradient5701);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1249- <path
1250- inkscape:connector-curvature="0"
1251- id="path7260"
1252- d="m 23.550279,15.402683 -0.06529,-5.421477 0.534774,4.575772 -0.469481,0.845705 z"
1253- style="fill:url(#radialGradient5698);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1254- <path
1255- inkscape:connector-curvature="0"
1256- id="path7262"
1257- d="m 23.75793,12.361659 1.131141,-1.275603 0.161023,-1.960577 -0.542404,1.797668 -0.756805,1.011592 0.007,0.42692 z"
1258- style="fill:url(#radialGradient5695);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1259- <path
1260- inkscape:connector-curvature="0"
1261- id="path7264"
1262- d="m 23.518032,13.936788 -1.018637,-1.183726 -0.07372,-1.537725 -0.300618,1.801735 1.463714,1.788736 -0.07074,-0.86902 z"
1263- style="fill:url(#radialGradient5692);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1264- <path
1265- inkscape:connector-curvature="0"
1266- id="path7266"
1267- d="m 24.915576,20.504586 c 0,0 0.758402,3.967785 0.697683,4.194391 -0.06072,0.226606 -2.22379,1.95433 -2.22379,1.95433 l 1.955713,-2.08688 -0.762469,-3.725999 0.332863,-0.335842 z"
1268- style="fill:url(#radialGradient5689);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1269- <path
1270- inkscape:connector-curvature="0"
1271- id="path7268"
1272- d="m 25.051902,23.394903 -1.592489,1.637736 1.54804,-2.378273 0.04445,0.740537 z"
1273- style="fill:url(#radialGradient5686);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1274- <path
1275- inkscape:connector-curvature="0"
1276- id="path7270"
1277- d="m 25.167385,21.604279 1.019727,0.273236 0.240695,0.914558 -0.516908,-0.563537 -0.607986,-0.223629 -0.135528,-0.400628 z"
1278- style="fill:url(#radialGradient5683);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1279- <path
1280- inkscape:connector-curvature="0"
1281- id="path7272"
1282- d="m 22.163765,21.710245 -2.842888,1.545568 -1.603603,1.452601 1.943511,-1.361523 2.037567,-1.032727 0.465413,-0.603919 z"
1283- style="fill:url(#radialGradient5680);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1284- <path
1285- inkscape:connector-curvature="0"
1286- id="path7274"
1287- d="m 21.044825,22.26049 -1.579197,0.0019 2.28233,-0.359954 -0.703133,0.358066 z"
1288- style="fill:url(#radialGradient5677);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1289- <path
1290- inkscape:connector-curvature="0"
1291- id="path7276"
1292- d="m 20.363917,22.988825 -0.738648,1.623646 0.32284,-1.431467 0.415808,-0.192179 z"
1293- style="fill:url(#radialGradient5674);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1294- <path
1295- inkscape:connector-curvature="0"
1296- id="path7278"
1297- d="m 24.246074,18.017876 -2.006117,0.0089 -2.212678,2.139464 2.378565,-1.852139 1.564017,0.05476 0.276213,-0.351021 z"
1298- style="fill:url(#radialGradient5671);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1299- <path
1300- inkscape:connector-curvature="0"
1301- id="path7280"
1302- d="m 23.091616,19.833701 -1.228174,0.2781 -0.435055,0.490616 0.718311,-0.414718 0.85384,-0.01409 0.09108,-0.339909 z"
1303- style="fill:url(#radialGradient5668);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1304- <path
1305- inkscape:connector-curvature="0"
1306- id="path7282"
1307- d="m 23.357806,18.387054 -0.665727,0.671683 0.310639,-0.70611 0.355088,0.03443 z"
1308- style="fill:url(#radialGradient5665);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1309- <path
1310- inkscape:connector-curvature="0"
1311- id="path7284"
1312- d="m 21.865621,18.290818 -1.435535,-0.08106 1.246334,0.333954 0.189201,-0.252898 z"
1313- style="fill:url(#radialGradient5662);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1314- <path
1315- inkscape:connector-curvature="0"
1316- id="path7288"
1317- d="m 28.547306,10.123273 2.077949,-0.0504 0.700155,-1.0267725 -0.752739,0.769806 -1.862454,-0.074011 -0.162911,0.3813805 z"
1318- style="fill:url(#radialGradient5659);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1319- <path
1320- inkscape:connector-curvature="0"
1321- id="path7290"
1322- d="m 26.630885,14.102968 1.809872,-0.182955 0.94303,-1.933195 -0.792323,2.277172 -2.108307,0.163707 0.147728,-0.324729 z"
1323- style="fill:url(#radialGradient5656);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1324- <path
1325- inkscape:connector-curvature="0"
1326- id="path7292"
1327- d="m 27.530264,13.918924 0.575741,-1.242265 -0.277303,1.261512 -0.298438,-0.01925 z"
1328- style="fill:url(#radialGradient5653);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1329- <path
1330- inkscape:connector-curvature="0"
1331- id="path7298"
1332- d="m 29.601461,10.04142 -0.205472,1.220041 0.519089,-1.257445 -0.313617,0.0374 z"
1333- style="fill:url(#radialGradient5650);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1334- <path
1335- inkscape:connector-curvature="0"
1336- id="path7300"
1337- d="M 29.106777,9.8481506 30.072032,8.2852235 29.564057,9.727803 29.106777,9.8481506 z"
1338- style="fill:url(#radialGradient5647);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1339- <path
1340- inkscape:connector-curvature="0"
1341- id="path7302"
1342- d="M 27.059188,9.785252 26.95511,8.3608301 27.961838,6.8697338 27.268727,8.3234259 27.24839,9.5323541 27.059188,9.785252 z"
1343- style="fill:url(#radialGradient5644);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1344- <path
1345- inkscape:connector-curvature="0"
1346- id="path7306"
1347- d="M 27.046189,8.0209207 27.077639,6.997127 27.307223,7.7265513 27.04619,8.0209207 z"
1348- style="fill:url(#radialGradient5641);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1349- <path
1350- inkscape:connector-curvature="0"
1351- id="path7310"
1352- d="m 29.803157,5.6629851 -0.42583,-0.903446 0.503908,-1.2007943 -0.246942,1.1482103 0.301414,0.6879521 -0.13255,0.2680779 z"
1353- style="fill:url(#radialGradient5638);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1354- <path
1355- inkscape:connector-curvature="0"
1356- id="path7314"
1357- d="m 31.622251,4.0859682 0.861976,-0.497661 -1.142255,1.090468 0.280279,-0.592807 z"
1358- style="fill:url(#radialGradient5635);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.04105496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.62068936;stroke-dasharray:none" />
1359- </g>
1360- </g>
1361-</svg>
--- a/ShapeFusion-Info.plist
+++ b/ShapeFusion-Info.plist
@@ -19,8 +19,8 @@
1919 <key>CFBundleSignature</key>
2020 <string>ShpF</string>
2121 <key>CFBundleVersion</key>
22- <string>0.5</string>
22+ <string>0.6</string>
2323 <key>CFBundleShortVersionString</key>
24- <string>0.5</string>
24+ <string>0.6</string>
2525 </dict>
2626 </plist>
--- a/ShapeFusionApp.cpp
+++ b/ShapeFusionApp.cpp
@@ -39,6 +39,11 @@ bool ShapeFusionApp::OnInit(void)
3939 if (!wxApp::OnInit())
4040 return false;
4141
42+ locale.Init(wxLANGUAGE_DEFAULT);
43+ locale.AddCatalogLookupPathPrefix(wxT("."));
44+ locale.AddCatalogLookupPathPrefix(wxT("./locale/"));
45+ locale.AddCatalog(wxT("ShapeFusion"));
46+
4247 // so that we can import every sort of bitmap format
4348 wxInitAllImageHandlers();
4449
@@ -46,12 +51,12 @@ bool ShapeFusionApp::OnInit(void)
4651 m_docManager = new ShapeFusionDocManager;
4752
4853 // Create a template relating drawing documents to their views
49- (void) new wxDocTemplate(m_docManager, _T("Shapes"), _T("*"), _T(""), _T(""), _T("Shapes"), _T("Shapes"),
54+ (void) new wxDocTemplate(m_docManager, wxT("Shapes"), wxT("*"), wxT(""), wxT(""), wxT("Shapes"), wxT("Shapes"),
5055 CLASSINFO(ShapesDocument), CLASSINFO(ShapesView));
51- (void) new wxDocTemplate(m_docManager, _T("Sounds"), _T("*"), _T(""), _T(""), _T("Sounds"), _T("Sounds"),
56+ (void) new wxDocTemplate(m_docManager, wxT("Sounds"), wxT("*"), wxT(""), wxT(""), wxT("Sounds"), wxT("Sounds"),
5257 CLASSINFO(SoundsDocument), CLASSINFO(SoundsView));
5358
54- (void) new wxDocTemplate(m_docManager, _T("Physics"), _T("*"), _T(""), _T(""), _T("Physics"), _T("Physics"), CLASSINFO(PhysicsDocument), CLASSINFO(PhysicsView));
59+ (void) new wxDocTemplate(m_docManager, wxT("Physics"), wxT("*"), wxT(""), wxT(""), wxT("Physics"), wxT("Physics"), CLASSINFO(PhysicsDocument), CLASSINFO(PhysicsView));
5560
5661 #ifdef __WXMAC__
5762 //TODO: Put correct file extension values here
@@ -63,14 +68,14 @@ bool ShapeFusionApp::OnInit(void)
6368 #ifdef __WXMAC__
6469 // a hack to make the frame invisible on MacOS, which is more Mac-like
6570 // http://www.wxwidgets.org/wiki/index.php/WxMac_Issues#The_Mac_OS_menu_bar
66- frame = new ShapeFusionMain(m_docManager, (wxFrame *)NULL, wxID_ANY, _T("ShapeFusion Workspace"), wxPoint(5,5), wxSize(0,0), 0);
71+ frame = new ShapeFusionMain(m_docManager, (wxFrame *)NULL, wxID_ANY, _("ShapeFusion Workspace"), wxPoint(5,5), wxSize(0,0), 0);
6772 #else
68- frame = new ShapeFusionMain(m_docManager, (wxFrame *)NULL, wxID_ANY, _T("ShapeFusion Workspace"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE);
73+ frame = new ShapeFusionMain(m_docManager, (wxFrame *)NULL, wxID_ANY, _("ShapeFusion Workspace"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE);
6974 #endif
7075
7176 // Give it an icon (this is ignored in MDI mode: uses resources)
7277 #ifdef __WXMSW__
73- frame->SetIcon(wxIcon(_T("doc_icn")));
78+ frame->SetIcon(wxIcon(wxT("doc_icn")));
7479 #endif
7580
7681 wxMenuBar *menu_bar = new wxMenuBar;
--- a/ShapeFusionApp.h
+++ b/ShapeFusionApp.h
@@ -32,9 +32,9 @@ public:
3232 ShapeFusionApp(void);
3333 bool OnInit(void);
3434 int OnExit(void);
35-
3635 wxFrame *CreateChildFrame(wxDocument *doc, wxView *view, const wxString title, wxPoint point, wxSize size, long style = wxDEFAULT_FRAME_STYLE);
37-
36+private:
37+ wxLocale locale;
3838 protected:
3939 ShapeFusionDocManager* m_docManager;
4040 };
--- a/ShapeFusionDocManager.cpp
+++ b/ShapeFusionDocManager.cpp
@@ -41,9 +41,9 @@ wxDocTemplate* ShapeFusionDocManager::FindTemplateForPath(const wxString& path)
4141 wxFileName filename(path);
4242 wxString ext = filename.GetExt();
4343
44- if (ext == _("sndA") || ext == _("snd2")) {
44+ if (ext == wxT("sndA") || ext == wxT("snd2")) {
4545 return ::FindTemplate(GetTemplates(), _("Sounds"));
46- } else if (ext == _("shpA") || ext == _("shp2")) {
46+ } else if (ext == wxT("shpA") || ext == wxT("shp2")) {
4747 return ::FindTemplate(GetTemplates(), _("Shapes"));
4848 }
4949
--- a/ShapeFusionMain.cpp
+++ b/ShapeFusionMain.cpp
@@ -38,11 +38,11 @@ wxDocParentFrame(manager, frame, id, title, pos, size, type)
3838 void ShapeFusionMain::OnAbout(wxCommandEvent& WXUNUSED(event))
3939 {
4040 wxMessageDialog *dlg = new wxMessageDialog(this,
41- wxT("ShapeFusion 0.5\nhttp://shapefusion.sourceforge.net\n\nCopyright 2000-2008, Tito Dal Canton\n\n"
42- "An editor for Marathon II, Marathon Infinity and AlephOne shapes and sounds files. "
41+ _("ShapeFusion 0.6\nhttp://shapefusion.sourceforge.net\n\nCopyright 2000-2012, Tito Dal Canton\n\n"
42+ "An editor for Marathon 2, Marathon Infinity and Aleph One shapes and sounds files. "
4343 "Released under the terms of the GNU General Public License: for more information "
4444 "see the COPYING file that comes with ShapeFusion."),
45- wxT("About ShapeFusion"), wxOK | wxICON_INFORMATION);
45+ _("About ShapeFusion"), wxOK | wxICON_INFORMATION);
4646 dlg->ShowModal();
4747 dlg->Destroy();
4848 }
--- a/ShapeFusionMenus.cpp
+++ b/ShapeFusionMenus.cpp
@@ -27,43 +27,43 @@ void CreateFileMenu(wxMenuBar *menu_bar)
2727
2828 // We create our two submenus
2929 /* file_new_menu = new wxMenu();
30- file_new_menu->Append(FILE_MENU_NEW_SHAPES, wxT("Shapes file"));
31- file_new_menu->Append(FILE_MENU_NEW_PHYSICS, wxT("Physics file"));
32- file_new_menu->Append(FILE_MENU_NEW_MAP, wxT("Map file"));
33- file_new_menu->Append(FILE_MENU_NEW_SOUNDS, wxT("Sounds file"));
30+ file_new_menu->Append(FILE_MENU_NEW_SHAPES, _("Shapes file"));
31+ file_new_menu->Append(FILE_MENU_NEW_PHYSICS, _("Physics file"));
32+ file_new_menu->Append(FILE_MENU_NEW_MAP, _("Map file"));
33+ file_new_menu->Append(FILE_MENU_NEW_SOUNDS, _("Sounds file"));
3434 file_open_menu = new wxMenu();
35- file_open_menu->Append(FILE_MENU_OPEN_SHAPES, wxT("Shapes file"));
36- file_open_menu->Append(FILE_MENU_OPEN_PHYSICS, wxT("Physics file"));
37- file_open_menu->Append(FILE_MENU_OPEN_MAP, wxT("Map file"));
38- file_open_menu->Append(FILE_MENU_OPEN_SOUNDS, wxT("Sounds file"));*/
35+ file_open_menu->Append(FILE_MENU_OPEN_SHAPES, _("Shapes file"));
36+ file_open_menu->Append(FILE_MENU_OPEN_PHYSICS, _("Physics file"));
37+ file_open_menu->Append(FILE_MENU_OPEN_MAP, _("Map file"));
38+ file_open_menu->Append(FILE_MENU_OPEN_SOUNDS, _("Sounds file"));*/
3939 // We create the recent menu here...
4040 recent_file_menu = new wxMenu();
4141
4242 // We create the 'main' File menu
4343 file_menu = new wxMenu();
44-// file_menu->Append(FILE_MENU_NEW, wxT("New..."), file_new_menu);
45-// file_menu->Append(FILE_MENU_OPEN, wxT("Open..."), file_open_menu);
46-// file_menu->Append(FILE_MENU_NEW, wxT("New...\tCtrl+N"));
47- file_menu->Append(FILE_MENU_OPEN, wxT("Open...\tCtrl+O"));
48- file_menu->Append(FILE_MENU_HISTORY, wxT("Open Recent..."), recent_file_menu);
49- file_menu->Append(FILE_MENU_CLOSE, wxT("&Close\tCtrl+W"));
44+// file_menu->Append(FILE_MENU_NEW, _("New..."), file_new_menu);
45+// file_menu->Append(FILE_MENU_OPEN, _("Open..."), file_open_menu);
46+// file_menu->Append(FILE_MENU_NEW, _("New...\tCtrl+N"));
47+ file_menu->Append(FILE_MENU_OPEN, _("Open...\tCtrl+O"));
48+ file_menu->Append(FILE_MENU_HISTORY, _("Open Recent..."), recent_file_menu);
49+ file_menu->Append(FILE_MENU_CLOSE, _("&Close\tCtrl+W"));
5050 file_menu->AppendSeparator();
51- file_menu->Append(FILE_MENU_SAVE, wxT("&Save\tCtrl+S"));
52- file_menu->Append(FILE_MENU_SAVEAS, wxT("Save as...\tCtrl+Shift+S"));
53- file_menu->Append(FILE_MENU_REVERT, wxT("&Revert"));
51+ file_menu->Append(FILE_MENU_SAVE, _("&Save\tCtrl+S"));
52+ file_menu->Append(FILE_MENU_SAVEAS, _("Save as...\tCtrl+Shift+S"));
53+ file_menu->Append(FILE_MENU_REVERT, _("&Revert"));
5454 file_menu->AppendSeparator();
55- file_menu->Append(FILE_MENU_PRINT, _T("&Print..."));
56- file_menu->Append(FILE_MENU_PRINT_SETUP, _T("Print &Setup..."));
57- file_menu->Append(FILE_MENU_PREVIEW, _T("Print Pre&view"));
55+ file_menu->Append(FILE_MENU_PRINT, _("&Print..."));
56+ file_menu->Append(FILE_MENU_PRINT_SETUP, _("Print &Setup..."));
57+ file_menu->Append(FILE_MENU_PREVIEW, _("Print Pre&view"));
5858 file_menu->AppendSeparator();
59- file_menu->Append(FILE_MENU_QUIT, wxT("&Quit\tAlt+F4"));
59+ file_menu->Append(FILE_MENU_QUIT, _("&Quit\tAlt+F4"));
6060
6161 file_menu->Enable(FILE_MENU_SAVE, false);
6262 file_menu->Enable(FILE_MENU_SAVEAS, false);
6363 file_menu->Enable(FILE_MENU_CLOSE, false);
6464
6565 // We add the File menu to the passed menubar
66- menu_bar->Append(file_menu, wxT("&File"));
66+ menu_bar->Append(file_menu, _("&File"));
6767 }
6868
6969 void CreateEditMenu(wxMenuBar *menu_bar)
@@ -71,14 +71,14 @@ void CreateEditMenu(wxMenuBar *menu_bar)
7171 wxMenu *edit_menu;
7272
7373 edit_menu = new wxMenu();
74- edit_menu->Append(EDIT_MENU_UNDO, wxT("&Undo\tCtrl+Z"));
75- edit_menu->Append(EDIT_MENU_REDO, wxT("&Redo\tCtrl+Shift+Z"));
74+ edit_menu->Append(EDIT_MENU_UNDO, _("&Undo\tCtrl+Z"));
75+ edit_menu->Append(EDIT_MENU_REDO, _("&Redo\tCtrl+Shift+Z"));
7676 edit_menu->AppendSeparator();
77- edit_menu->Append(EDIT_MENU_CUT, wxT("&Cut\tCtrl+X"));
78- edit_menu->Append(EDIT_MENU_COPY, wxT("&Copy\tCtrl+C"));
79- edit_menu->Append(EDIT_MENU_PASTE, wxT("&Paste\tCtrl+V"));
77+ edit_menu->Append(EDIT_MENU_CUT, _("&Cut\tCtrl+X"));
78+ edit_menu->Append(EDIT_MENU_COPY, _("&Copy\tCtrl+C"));
79+ edit_menu->Append(EDIT_MENU_PASTE, _("&Paste\tCtrl+V"));
8080 edit_menu->AppendSeparator();
81- edit_menu->Append(EDIT_MENU_DELETE, wxT("&Delete"));
81+ edit_menu->Append(EDIT_MENU_DELETE, _("&Delete"));
8282
8383 edit_menu->Enable(EDIT_MENU_CUT, false);
8484 edit_menu->Enable(EDIT_MENU_COPY, false);
@@ -86,7 +86,7 @@ void CreateEditMenu(wxMenuBar *menu_bar)
8686 edit_menu->Enable(EDIT_MENU_DELETE, false);
8787
8888 // We add the Edit menu to the passed menubar
89- menu_bar->Append(edit_menu, wxT("&Edit"));
89+ menu_bar->Append(edit_menu, _("&Edit"));
9090 }
9191
9292 void CreateHelpMenu(wxMenuBar *menu_bar)
@@ -94,10 +94,10 @@ void CreateHelpMenu(wxMenuBar *menu_bar)
9494 wxMenu *help_menu;
9595
9696 help_menu = new wxMenu();
97- help_menu->Append(ABOUT_MENU, wxT("About ShapeFusion"));
98- help_menu->Append(HELP_MENU, wxT("ShapeFusion Help"));
97+ help_menu->Append(ABOUT_MENU, _("About ShapeFusion"));
98+ help_menu->Append(HELP_MENU, _("ShapeFusion Help"));
9999
100- menu_bar->Append(help_menu, wxT("&Help"));
100+ menu_bar->Append(help_menu, _("&Help"));
101101 }
102102
103103 void CreateViewMenu(wxMenuBar *menu_bar)
@@ -115,22 +115,22 @@ void CreateViewMenu(wxMenuBar *menu_bar)
115115 }
116116
117117 view_tnsize_submenu = new wxMenu();
118- view_tnsize_submenu->AppendRadioItem(VIEW_MENU_TNSIZE_SMALL, wxT("Small"));
119- view_tnsize_submenu->AppendRadioItem(VIEW_MENU_TNSIZE_MEDIUM, wxT("Medium"));
120- view_tnsize_submenu->AppendRadioItem(VIEW_MENU_TNSIZE_LARGE, wxT("Large"));
121- view_tnsize_submenu->AppendRadioItem(VIEW_MENU_TNSIZE_AUTO, wxT("Best fit"));
118+ view_tnsize_submenu->AppendRadioItem(VIEW_MENU_TNSIZE_SMALL, _("Small"));
119+ view_tnsize_submenu->AppendRadioItem(VIEW_MENU_TNSIZE_MEDIUM, _("Medium"));
120+ view_tnsize_submenu->AppendRadioItem(VIEW_MENU_TNSIZE_LARGE, _("Large"));
121+ view_tnsize_submenu->AppendRadioItem(VIEW_MENU_TNSIZE_AUTO, _("Best fit"));
122122 for (unsigned int i = VIEW_MENU_TNSIZE_SMALL; i <= VIEW_MENU_TNSIZE_AUTO; i++)
123123 view_tnsize_submenu->Check(i, i == VIEW_MENU_TNSIZE_MEDIUM);
124124
125125 // Now the main View menu
126126 view_menu = new wxMenu();
127- view_menu->Append(VIEW_MENU_COLOR_TABLE, wxT("Use color table"), view_colortable_submenu);
128- view_menu->Append(VIEW_MENU_THUMBNAIL_SIZE, wxT("Thumbnail size"), view_tnsize_submenu);
129- view_menu->AppendCheckItem(VIEW_MENU_TRANSPARENCY, wxT("Show transparent pixels"));
130- view_menu->AppendCheckItem(VIEW_MENU_CENTERORIGIN, wxT("Fix frame origins"));
127+ view_menu->Append(VIEW_MENU_COLOR_TABLE, _("Use color table"), view_colortable_submenu);
128+ view_menu->Append(VIEW_MENU_THUMBNAIL_SIZE, _("Thumbnail size"), view_tnsize_submenu);
129+ view_menu->AppendCheckItem(VIEW_MENU_TRANSPARENCY, _("Show transparent pixels"));
130+ view_menu->AppendCheckItem(VIEW_MENU_CENTERORIGIN, _("Fix frame origins"));
131131
132132 // We add that to the passed menubar
133- menu_bar->Append(view_menu, wxT("&View"));
133+ menu_bar->Append(view_menu, _("&View"));
134134 }
135135
136136 void CreateShapesMenu(wxMenuBar *menu_bar)
@@ -139,22 +139,22 @@ void CreateShapesMenu(wxMenuBar *menu_bar)
139139
140140 // We create and build the Shapes menu
141141 shapes_menu = new wxMenu();
142- shapes_menu->Append(SHAPES_MENU_ADDCOLORTABLE, wxT("New color table..."));
143- shapes_menu->Append(SHAPES_MENU_SAVECOLORTABLE, wxT("Export color table to GIMP..."));
144- shapes_menu->Append(SHAPES_MENU_SAVECOLORTABLETOPS, wxT("Export color table to PhotoShop..."));
142+ shapes_menu->Append(SHAPES_MENU_ADDCOLORTABLE, _("New color table..."));
143+ shapes_menu->Append(SHAPES_MENU_SAVECOLORTABLE, _("Export color table to GIMP..."));
144+ shapes_menu->Append(SHAPES_MENU_SAVECOLORTABLETOPS, _("Export color table to PhotoShop..."));
145145 shapes_menu->AppendSeparator();
146- shapes_menu->Append(SHAPES_MENU_ADDBITMAP, wxT("New bitmap..."));
147- shapes_menu->Append(SHAPES_MENU_EXPORTBITMAP, wxT("Export bitmap..."));
148- shapes_menu->Append(SHAPES_MENU_EXPORTMASK, wxT("Export bitmap mask..."));
149- shapes_menu->Append(SHAPES_MENU_EXPORTBITMAPS, wxT("Export all bitmaps..."));
150- shapes_menu->Append(SHAPES_MENU_EXPORTMASKS, wxT("Export all bitmap masks..."));
146+ shapes_menu->Append(SHAPES_MENU_ADDBITMAP, _("New bitmap..."));
147+ shapes_menu->Append(SHAPES_MENU_EXPORTBITMAP, _("Export bitmap..."));
148+ shapes_menu->Append(SHAPES_MENU_EXPORTMASK, _("Export bitmap mask..."));
149+ shapes_menu->Append(SHAPES_MENU_EXPORTBITMAPS, _("Export all bitmaps..."));
150+ shapes_menu->Append(SHAPES_MENU_EXPORTMASKS, _("Export all bitmap masks..."));
151151 shapes_menu->AppendSeparator();
152- shapes_menu->Append(SHAPES_MENU_ADDFRAME, wxT("New frame"));
152+ shapes_menu->Append(SHAPES_MENU_ADDFRAME, _("New frame"));
153153 shapes_menu->AppendSeparator();
154- shapes_menu->Append(SHAPES_MENU_ADDSEQUENCE, wxT("New sequence"));
154+ shapes_menu->Append(SHAPES_MENU_ADDSEQUENCE, _("New sequence"));
155155 shapes_menu->AppendSeparator();
156- shapes_menu->Append(SHAPES_MENU_IMPORTPATCH, wxT("Apply Shapes Patch..."));
157- shapes_menu->Append(SHAPES_MENU_GENERATEPATCH, wxT("Export Shapes Patch..."));
156+ shapes_menu->Append(SHAPES_MENU_IMPORTPATCH, _("Apply Shapes Patch..."));
157+ shapes_menu->Append(SHAPES_MENU_GENERATEPATCH, _("Export Shapes Patch..."));
158158
159159 // Let's disable all these items...
160160 shapes_menu->Enable(SHAPES_MENU_ADDCOLORTABLE, false);
@@ -169,7 +169,7 @@ void CreateShapesMenu(wxMenuBar *menu_bar)
169169 shapes_menu->Enable(SHAPES_MENU_ADDSEQUENCE, false);
170170
171171 // .. and add the whole to the menuBar
172- menu_bar->Append(shapes_menu, wxT("&Shapes"));
172+ menu_bar->Append(shapes_menu, _("&Shapes"));
173173 }
174174
175175 void CreateSoundsMenu(wxMenuBar *menu_bar)
@@ -178,10 +178,10 @@ void CreateSoundsMenu(wxMenuBar *menu_bar)
178178
179179 // We create and build the Sounds menu
180180 sounds_menu = new wxMenu();
181- sounds_menu->Append(SOUNDS_MENU_ADDCLASS, wxT("Add new sound class"));
181+ sounds_menu->Append(SOUNDS_MENU_ADDCLASS, _("Add new sound class"));
182182 sounds_menu->AppendSeparator();
183- sounds_menu->Append(SOUNDS_MENU_EXPORT, wxT("Export selected sound"));
184- sounds_menu->Append(SOUNDS_MENU_IMPORT, wxT("Import sound"));
183+ sounds_menu->Append(SOUNDS_MENU_EXPORT, _("Export selected sound"));
184+ sounds_menu->Append(SOUNDS_MENU_IMPORT, _("Import sound"));
185185
186186 // Let's disable them ...
187187 sounds_menu->Enable(SOUNDS_MENU_ADDCLASS, false);
@@ -189,6 +189,6 @@ void CreateSoundsMenu(wxMenuBar *menu_bar)
189189 sounds_menu->Enable(SOUNDS_MENU_IMPORT, false);
190190
191191 // ... and add the whole to the menu_bar
192- menu_bar->Append(sounds_menu, wxT("S&ounds"));
192+ menu_bar->Append(sounds_menu, _("S&ounds"));
193193 }
194194
--- a/Shapes/Makefile.in
+++ b/Shapes/Makefile.in
@@ -216,9 +216,9 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
216216 exit 1;; \
217217 esac; \
218218 done; \
219- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Shapes/Makefile'; \
219+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Shapes/Makefile'; \
220220 $(am__cd) $(top_srcdir) && \
221- $(AUTOMAKE) --gnu Shapes/Makefile
221+ $(AUTOMAKE) --foreign Shapes/Makefile
222222 .PRECIOUS: Makefile
223223 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
224224 @case '$?' in \
--- a/Shapes/ShapesView.cpp
+++ b/Shapes/ShapesView.cpp
@@ -97,7 +97,7 @@ ShapesView::~ShapesView(void)
9797
9898 bool ShapesView::OnCreate(wxDocument *doc, long WXUNUSED(flags))
9999 {
100- wxString frameTitle = _T("ShapeFusion : Shapes : ");
100+ wxString frameTitle = _("ShapeFusion : Shapes : ");
101101
102102 frameTitle.Append(doc->GetFilename());
103103 mFrame = wxGetApp().CreateChildFrame(doc, this, frameTitle, wxPoint(0, 0), wxSize(900, 600));
@@ -124,8 +124,8 @@ bool ShapesView::OnCreate(wxDocument *doc, long WXUNUSED(flags))
124124 mainbox->Add(dummy_sizer, 5, wxEXPAND);
125125 // collection section
126126 coll_sizer = new wxBoxSizer(wxVERTICAL);
127- coll_text = new wxStaticText(main_panel, -1, wxT("Collection info"));
128- coll_static_box = new wxStaticBox(main_panel, -1, wxT("Collection info"));
127+ coll_text = new wxStaticText(main_panel, -1, _("Collection info"));
128+ coll_static_box = new wxStaticBox(main_panel, -1, _("Collection info"));
129129 coll_inner_box = new wxStaticBoxSizer(coll_static_box, wxVERTICAL);
130130 coll_inner_box->Add(coll_text, 0, wxALL, 5);
131131 coll_sizer->AddStretchSpacer();
@@ -135,23 +135,23 @@ bool ShapesView::OnCreate(wxDocument *doc, long WXUNUSED(flags))
135135 mainbox->Show(coll_sizer, false);
136136 // chunk section
137137 chunk_sizer = new wxBoxSizer(wxVERTICAL);
138- chunk_static_box = new wxStaticBox(main_panel, -1, wxT("Version info"));
138+ chunk_static_box = new wxStaticBox(main_panel, -1, _("Version info"));
139139 chunk_static_box->SetThemeEnabled(true);
140140 chunk_inner_box = new wxStaticBoxSizer(chunk_static_box, wxVERTICAL);
141- chunk_undef_label = new wxStaticText(main_panel, -1, wxT("Not defined"));
141+ chunk_undef_label = new wxStaticText(main_panel, -1, _("Not defined"));
142142 chunk_inner_box->Add(chunk_undef_label, 0, wxCENTER | wxALL, 5);
143143 chunk_grid = new wxFlexGridSizer(2, 4, 0, 0);
144144 chunk_inner_box->Add(chunk_grid, 0, wxCENTER | wxALL, 5);
145- chunk_version_label = new wxStaticText(main_panel, -1, wxT("Version:"));
146- chunk_type_label = new wxStaticText(main_panel, -1, wxT("Collection type:"));
147- chunk_flags_label = new wxStaticText(main_panel, -1, wxT("Flags:"));
148- chunk_sf_label = new wxStaticText(main_panel, -1, wxT("Collection scale factor:"));
145+ chunk_version_label = new wxStaticText(main_panel, -1, _("Version:"));
146+ chunk_type_label = new wxStaticText(main_panel, -1, _("Collection type:"));
147+ chunk_flags_label = new wxStaticText(main_panel, -1, _("Flags:"));
148+ chunk_sf_label = new wxStaticText(main_panel, -1, _("Collection scale factor:"));
149149 chunk_version_field = new wxTextCtrl(main_panel, -1, wxT("0"));
150- wxString coll_type_labels[] = { wxT("Unused"),
151- wxT("Wall textures"),
152- wxT("Objects"),
153- wxT("Interface graphics"),
154- wxT("Scenery objects") };
150+ wxString coll_type_labels[] = { _("Unused"),
151+ _("Wall textures"),
152+ _("Objects"),
153+ _("Interface graphics"),
154+ _("Scenery objects") };
155155 chunk_type_menu = new wxChoice(main_panel, -1, wxDefaultPosition, wxDefaultSize, 5, coll_type_labels, 0);
156156 chunk_flags_field = new wxTextCtrl(main_panel, -1, wxT("0"));
157157 chunk_sf_field = new wxTextCtrl(main_panel, -1, wxT("0"));
@@ -175,13 +175,13 @@ bool ShapesView::OnCreate(wxDocument *doc, long WXUNUSED(flags))
175175 // create the color tables section
176176 ct_outer_sizer = new wxBoxSizer(wxVERTICAL);
177177 ctb = new CTBrowser(main_panel);
178- ct_count_label = new wxStaticText(main_panel, -1, wxT("N color tables"));
179- ct_edit_static_box = new wxStaticBox(main_panel, -1, wxT("Color table N of M"));
178+ ct_count_label = new wxStaticText(main_panel, -1, _("N color tables"));
179+ ct_edit_static_box = new wxStaticBox(main_panel, -1, _("Color table N of M"));
180180 ct_edit_box = new wxStaticBoxSizer(ct_edit_static_box, wxVERTICAL);
181181 ct_view = new CTView(main_panel);
182182 ct_inner_edit_box = new wxBoxSizer(wxHORIZONTAL);
183- ct_self_lumin_checkbox = new wxCheckBox(main_panel, CB_SELF_LUMINESCENT, wxT("Self-luminescent color"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE);
184- ct_gradient_button = new wxButton(main_panel, BTN_GRADIENT, wxT("Make gradient"));
183+ ct_self_lumin_checkbox = new wxCheckBox(main_panel, CB_SELF_LUMINESCENT, _("Self-luminescent color"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE);
184+ ct_gradient_button = new wxButton(main_panel, BTN_GRADIENT, _("Make gradient"));
185185 ct_edit_box->Add(ct_view, 1, wxEXPAND | wxLEFT | wxTOP | wxRIGHT | wxBOTTOM, 5);
186186 ct_edit_box->Add(ct_inner_edit_box, 0, wxEXPAND | wxLEFT | wxTOP | wxRIGHT | wxBOTTOM, 5);
187187 ct_inner_edit_box->Add(ct_self_lumin_checkbox, 0, wxALIGN_CENTER);
@@ -197,13 +197,13 @@ bool ShapesView::OnCreate(wxDocument *doc, long WXUNUSED(flags))
197197 b_outer_sizer = new wxBoxSizer(wxVERTICAL);
198198 bb = new BitmapBrowser(main_panel, BITMAP_BROWSER);
199199 bb->SetThumbnailSize(64);
200- b_count_label = new wxStaticText(main_panel, -1, wxT("N bitmaps"));
201- b_edit_static_box = new wxStaticBox(main_panel, -1, wxT("Bitmap N of M"));
200+ b_count_label = new wxStaticText(main_panel, -1, _("N bitmaps"));
201+ b_edit_static_box = new wxStaticBox(main_panel, -1, _("Bitmap N of M"));
202202 b_edit_box = new wxStaticBoxSizer(b_edit_static_box, wxHORIZONTAL);
203203 b_edit_inner_box = new wxBoxSizer(wxVERTICAL);
204- b_info_label = new wxStaticText(main_panel, -1, wxT("AxB pixels"));
205- b_order_checkbox = new wxCheckBox(main_panel, CB_COLUMN_ORDER, wxT("Store pixels in column order"));
206- b_transparency_checkbox = new wxCheckBox(main_panel, CB_ENABLE_TRANSPARENCY, wxT("Enable transparency"));
204+ b_info_label = new wxStaticText(main_panel, -1, _("AxB pixels"));
205+ b_order_checkbox = new wxCheckBox(main_panel, CB_COLUMN_ORDER, _("Store pixels in column order"));
206+ b_transparency_checkbox = new wxCheckBox(main_panel, CB_ENABLE_TRANSPARENCY, _("Enable transparency"));
207207 b_view = new BitmapView(main_panel);
208208 b_edit_inner_box->Add(b_info_label, 0, wxALIGN_LEFT | wxBOTTOM, 10);
209209 b_edit_inner_box->Add(b_order_checkbox, 0, wxALIGN_LEFT);
@@ -224,25 +224,25 @@ bool ShapesView::OnCreate(wxDocument *doc, long WXUNUSED(flags))
224224 f_view = new FrameView(main_panel, FRAME_VIEW);
225225 fb = new FrameBrowser(main_panel, FRAME_BROWSER);
226226 fb->SetThumbnailSize(64);
227- f_count_label = new wxStaticText(main_panel, -1, wxT("N frames"));
228- f_edit_static_box = new wxStaticBox(main_panel, -1, wxT("Frame N"));
227+ f_count_label = new wxStaticText(main_panel, -1, _("N frames"));
228+ f_edit_static_box = new wxStaticBox(main_panel, -1, _("Frame N"));
229229 f_edit_box = new wxStaticBoxSizer(f_edit_static_box, wxHORIZONTAL);
230- f_bitmap_label = new wxStaticText(main_panel, -1, wxT("Associated bitmap:"));
231- f_bitmap_id = new wxSpinCtrl(main_panel, FIELD_BITMAP_INDEX, wxT("0"), wxDefaultPosition, wxSize(60, -1));
232- f_xmirror_checkbox = new wxCheckBox(main_panel, CB_XMIRROR, wxT("X mirror"));
233- f_ymirror_checkbox = new wxCheckBox(main_panel, CB_YMIRROR, wxT("Y mirror"));
234- f_keypoint_checkbox = new wxCheckBox(main_panel, CB_KEYPOINT, wxT("Keypoint obscured"));
235- f_origin_x_label = new wxStaticText(main_panel, -1, wxT("Origin X:"), wxDefaultPosition, wxSize(150, -1));
236- f_origin_x_field = new wxTextCtrl(main_panel, FIELD_ORIGIN_X, wxT("0"), wxDefaultPosition, wxSize(60, -1));
237- f_origin_y_label = new wxStaticText(main_panel, -1, wxT("Origin Y:"), wxDefaultPosition, wxSize(150, -1));
230+ f_bitmap_label = new wxStaticText(main_panel, -1, _("Associated bitmap:"));
231+ f_bitmap_id = new wxSpinCtrl(main_panel, FIELD_BITMAP_INDEX, wxT("0"), wxDefaultPosition, wxSize(60, -1));
232+ f_xmirror_checkbox = new wxCheckBox(main_panel, CB_XMIRROR, _("X mirror"));
233+ f_ymirror_checkbox = new wxCheckBox(main_panel, CB_YMIRROR, _("Y mirror"));
234+ f_keypoint_checkbox = new wxCheckBox(main_panel, CB_KEYPOINT, _("Keypoint obscured"));
235+ f_origin_x_label = new wxStaticText(main_panel, -1, _("Origin X:"), wxDefaultPosition, wxSize(150, -1));
236+ f_origin_x_field = new wxTextCtrl(main_panel, FIELD_ORIGIN_X, wxT("0"), wxDefaultPosition, wxSize(60, -1));
237+ f_origin_y_label = new wxStaticText(main_panel, -1, _("Origin Y:"), wxDefaultPosition, wxSize(150, -1));
238238 f_origin_y_field = new wxTextCtrl(main_panel, FIELD_ORIGIN_Y, wxT("0"), wxDefaultPosition, wxSize(60, -1));
239- f_key_x_label = new wxStaticText(main_panel, -1, wxT("Keypoint X:"), wxDefaultPosition, wxSize(150, -1));
239+ f_key_x_label = new wxStaticText(main_panel, -1, _("Keypoint X:"), wxDefaultPosition, wxSize(150, -1));
240240 f_key_x_field = new wxTextCtrl(main_panel, FIELD_KEY_X, wxT("0"), wxDefaultPosition, wxSize(60, -1));
241- f_key_y_label = new wxStaticText(main_panel, -1, wxT("Keypoint Y:"), wxDefaultPosition, wxSize(150, -1));
241+ f_key_y_label = new wxStaticText(main_panel, -1, _("Keypoint Y:"), wxDefaultPosition, wxSize(150, -1));
242242 f_key_y_field = new wxTextCtrl(main_panel, FIELD_KEY_Y, wxT("0"), wxDefaultPosition, wxSize(60, -1));
243- f_scalefactor_label = new wxStaticText(main_panel, -1, wxT("Scale factor:"), wxDefaultPosition, wxSize(150, -1));
243+ f_scalefactor_label = new wxStaticText(main_panel, -1, _("Scale factor:"), wxDefaultPosition, wxSize(150, -1));
244244 f_scalefactor_field = new wxTextCtrl(main_panel, FIELD_FRAME_SCALEFACTOR, wxT("0"), wxDefaultPosition, wxSize(60, -1));
245- f_mli_label = new wxStaticText(main_panel, -1, wxT("Minimum lightness (%):"), wxDefaultPosition, wxSize(150, -1));
245+ f_mli_label = new wxStaticText(main_panel, -1, _("Minimum lightness (%):"), wxDefaultPosition, wxSize(150, -1));
246246 f_mli_field = new wxTextCtrl(main_panel, FIELD_MIN_LIGHT_INT, wxT("0"), wxDefaultPosition, wxSize(60, -1));
247247 f_origin_box = new wxFlexGridSizer(10, 2, 5, 0);
248248 f_origin_box->Add(f_bitmap_label, 1, wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL);
@@ -276,14 +276,14 @@ bool ShapesView::OnCreate(wxDocument *doc, long WXUNUSED(flags))
276276 mainbox->Add(f_outer_sizer, 5, wxEXPAND);
277277 mainbox->Show(f_outer_sizer, false);
278278 // create the sequences section
279- s_outer_static_box = new wxStaticBox(main_panel, -1, wxT("Sequence"));
279+ s_outer_static_box = new wxStaticBox(main_panel, -1, _("Sequence"));
280280 s_outer_sizer = new wxStaticBoxSizer(s_outer_static_box, wxVERTICAL);
281281
282282 s_box1 = new wxBoxSizer(wxHORIZONTAL);
283283 s_outer_sizer->Add(s_box1, 0, wxEXPAND | wxALIGN_TOP | wxALL, 5);
284- s_name_label = new wxStaticText(main_panel, -1, wxT("Name:"));
285- s_name_field = new wxTextCtrl(main_panel, FIELD_SEQ_NAME, wxT("foobar"));
286- s_delete_button = new wxButton(main_panel, BTN_DELETE_SEQ, wxT("Delete sequence"));
284+ s_name_label = new wxStaticText(main_panel, -1, _("Name:"));
285+ s_name_field = new wxTextCtrl(main_panel, FIELD_SEQ_NAME, _("foobar"));
286+ s_delete_button = new wxButton(main_panel, BTN_DELETE_SEQ, _("Delete sequence"));
287287 s_box1->Add(s_name_label, 0, wxALIGN_CENTER | wxRIGHT, 5);
288288 s_box1->Add(s_name_field, 1, wxALIGN_CENTER);
289289 s_box1->Add(s_delete_button, 0, wxALIGN_CENTER | wxLEFT, 20);
@@ -292,20 +292,20 @@ bool ShapesView::OnCreate(wxDocument *doc, long WXUNUSED(flags))
292292 s_outer_sizer->Add(s_box2, 0, wxEXPAND | wxALIGN_TOP | wxALL, 5);
293293 s_grid_box = new wxFlexGridSizer(5, 2, 4, 0);
294294 s_box2->Add(s_grid_box, 0, wxEXPAND | wxALIGN_TOP);
295- s_type_label = new wxStaticText(main_panel, -1, wxT("Sequence type:"), wxDefaultPosition, wxSize(120, -1));
296- wxString anim_type_labels[] = { wxT("Display a random frame"),
297- wxT("Animation with 1 view"),
298- wxT("Animation with 4 views"),
299- wxT("Animation with 5 views"),
300- wxT("Animation with 8 views") };
295+ s_type_label = new wxStaticText(main_panel, -1, _("Sequence type:"), wxDefaultPosition, wxSize(120, -1));
296+ wxString anim_type_labels[] = { _("Display a random frame"),
297+ _("Animation with 1 view"),
298+ _("Animation with 4 views"),
299+ _("Animation with 5 views"),
300+ _("Animation with 8 views") };
301301 s_type_menu = new wxChoice(main_panel, MENU_SEQ_TYPE, wxDefaultPosition, wxDefaultSize, 5, anim_type_labels, 0);
302- s_fpv_label = new wxStaticText(main_panel, -1, wxT("Frames per view:"), wxDefaultPosition, wxSize(120, -1));
302+ s_fpv_label = new wxStaticText(main_panel, -1, _("Frames per view:"), wxDefaultPosition, wxSize(120, -1));
303303 s_fpv_field = new wxTextCtrl(main_panel, FIELD_SEQ_FRAMES_PER_VIEW, wxT("1"));
304- s_tpf_label = new wxStaticText(main_panel, -1, wxT("Ticks per frame:"), wxDefaultPosition, wxSize(120, -1));
304+ s_tpf_label = new wxStaticText(main_panel, -1, _("Ticks per frame:"), wxDefaultPosition, wxSize(120, -1));
305305 s_tpf_field = new wxTextCtrl(main_panel, FIELD_SEQ_TICKS_PER_FRAME, wxT("1"));
306- s_lf_label = new wxStaticText(main_panel, -1, wxT("Loop at frame:"), wxDefaultPosition, wxSize(120, -1));
306+ s_lf_label = new wxStaticText(main_panel, -1, _("Loop at frame:"), wxDefaultPosition, wxSize(120, -1));
307307 s_lf_field = new wxTextCtrl(main_panel, FIELD_SEQ_LOOP_FRAME, wxT("0"));
308- s_kf_label = new wxStaticText(main_panel, -1, wxT("Key frame:"), wxDefaultPosition, wxSize(120, -1));
308+ s_kf_label = new wxStaticText(main_panel, -1, _("Key frame:"), wxDefaultPosition, wxSize(120, -1));
309309 s_kf_field = new wxTextCtrl(main_panel, FIELD_SEQ_KEY_FRAME, wxT("0"));
310310 s_grid_box->Add(s_type_label, 1, wxALIGN_CENTER_VERTICAL | wxALIGN_LEFT);
311311 s_grid_box->Add(s_type_menu, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_LEFT);
@@ -323,38 +323,38 @@ bool ShapesView::OnCreate(wxDocument *doc, long WXUNUSED(flags))
323323
324324 s_grid_box2 = new wxFlexGridSizer(5, 2, 4, 0);
325325 s_box2->Add(s_grid_box2, 0, wxEXPAND | wxALIGN_TOP);
326- s_xfermode_label = new wxStaticText(main_panel, -1, wxT("Transfer mode:"), wxDefaultPosition, wxSize(140, -1));
327- wxString xfermode_labels[] = { wxT("Normal"),
328- wxT("Fade out to black"),
329- wxT("50% invisibility"),
330- wxT("75% invisibility"),
331- wxT("Pulsate"),
332- wxT("Wobble"),
333- wxT("Fast wobble"),
334- wxT("100% static"),
335- wxT("50% static"),
336- wxT("Landscape"),
337- wxT("Smear"),
338- wxT("Fade out static"),
339- wxT("Pulsating static"),
340- wxT("Fold in"),
341- wxT("Fold out"),
342- wxT("Horizontal slide"),
343- wxT("Fast horizontal slide"),
344- wxT("Vertical slide"),
345- wxT("Fast vertical slide"),
346- wxT("Wander"),
347- wxT("Fast wander"),
348- wxT("Big landscape")
326+ s_xfermode_label = new wxStaticText(main_panel, -1, _("Transfer mode:"), wxDefaultPosition, wxSize(140, -1));
327+ wxString xfermode_labels[] = { _("Normal"),
328+ _("Fade out to black"),
329+ _("50% invisibility"),
330+ _("75% invisibility"),
331+ _("Pulsate"),
332+ _("Wobble"),
333+ _("Fast wobble"),
334+ _("100% static"),
335+ _("50% static"),
336+ _("Landscape"),
337+ _("Smear"),
338+ _("Fade out static"),
339+ _("Pulsating static"),
340+ _("Fold in"),
341+ _("Fold out"),
342+ _("Horizontal slide"),
343+ _("Fast horizontal slide"),
344+ _("Vertical slide"),
345+ _("Fast vertical slide"),
346+ _("Wander"),
347+ _("Fast wander"),
348+ _("Big landscape")
349349 };
350350 s_xfermode_menu = new wxChoice(main_panel, MENU_SEQ_XFER_MODE, wxDefaultPosition, wxDefaultSize, 22, xfermode_labels, 0);
351- s_xferperiod_label = new wxStaticText(main_panel, -1, wxT("Transfer mode period:"), wxDefaultPosition, wxSize(150, -1));
351+ s_xferperiod_label = new wxStaticText(main_panel, -1, _("Transfer mode period:"), wxDefaultPosition, wxSize(150, -1));
352352 s_xferperiod_field = new wxTextCtrl(main_panel, FIELD_SEQ_XFER_MODE_PERIOD, wxT("1"));
353- s_ffs_label = new wxStaticText(main_panel, -1, wxT("First frame sound:"), wxDefaultPosition, wxSize(150, -1));
353+ s_ffs_label = new wxStaticText(main_panel, -1, _("First frame sound:"), wxDefaultPosition, wxSize(150, -1));
354354 s_ffs_field = new wxTextCtrl(main_panel, FIELD_SEQ_FIRST_FRAME_SND, wxT("0"));
355- s_kfs_label = new wxStaticText(main_panel, -1, wxT("Key frame sound:"), wxDefaultPosition, wxSize(150, -1));
355+ s_kfs_label = new wxStaticText(main_panel, -1, _("Key frame sound:"), wxDefaultPosition, wxSize(150, -1));
356356 s_kfs_field = new wxTextCtrl(main_panel, FIELD_SEQ_KEY_FRAME_SND, wxT("0"));
357- s_lfs_label = new wxStaticText(main_panel, -1, wxT("Last frame sound:"), wxDefaultPosition, wxSize(150, -1));
357+ s_lfs_label = new wxStaticText(main_panel, -1, _("Last frame sound:"), wxDefaultPosition, wxSize(150, -1));
358358 s_lfs_field = new wxTextCtrl(main_panel, FIELD_SEQ_LAST_FRAME_SND, wxT("0"));
359359 s_grid_box2->Add(s_xfermode_label, 1, wxALIGN_CENTER_VERTICAL | wxALIGN_LEFT | wxRIGHT, 5);
360360 s_grid_box2->Add(s_xfermode_menu, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_LEFT);
@@ -411,9 +411,9 @@ void ShapesView::OnUpdate(wxView *WXUNUSED(sender), wxObject *WXUNUSED(hint))
411411 wxString label;
412412
413413 if (j == COLL_VERSION_8BIT)
414- label = wxT("8-bit color version");
414+ label = _("8-bit color version");
415415 else if (j == COLL_VERSION_TRUECOLOR)
416- label = wxT("True color version");
416+ label = _("True color version");
417417 wxTreeItemId coll2 = colltree->AppendItem(coll, label, -1, -1, id);
418418
419419 if (((ShapesDocument*)GetDocument())->CollectionDefined(i, j)) {
@@ -422,10 +422,10 @@ void ShapesView::OnUpdate(wxView *WXUNUSED(sender), wxObject *WXUNUSED(hint))
422422 *id_ct = new ShapesTreeItemData(i, j, TREESECTION_COLORTABLES),
423423 *id_f = new ShapesTreeItemData(i, j, TREESECTION_FRAMES),
424424 *id_s = new ShapesTreeItemData(i, j, TREESECTION_SEQUENCES);
425- wxTreeItemId coll_b = colltree->AppendItem(coll2, wxT("Bitmaps"), -1, -1, id_b),
426- coll_ct = colltree->AppendItem(coll2, wxT("Color tables"), -1, -1, id_ct),
427- coll_f = colltree->AppendItem(coll2, wxT("Frames"), -1, -1, id_f),
428- coll_s = colltree->AppendItem(coll2, wxT("Sequences"), -1, -1, id_s);
425+ wxTreeItemId coll_b = colltree->AppendItem(coll2, _("Bitmaps"), -1, -1, id_b),
426+ coll_ct = colltree->AppendItem(coll2, _("Color tables"), -1, -1, id_ct),
427+ coll_f = colltree->AppendItem(coll2, _("Frames"), -1, -1, id_f),
428+ coll_s = colltree->AppendItem(coll2, _("Sequences"), -1, -1, id_s);
429429
430430 for (unsigned int k = 0; k < ((ShapesDocument*)GetDocument())->CollectionSequenceCount(i, j); k++) {
431431 // sequence nodes
@@ -620,8 +620,8 @@ void ShapesView::MenuViewTNSize(wxCommandEvent &e)
620620
621621 void ShapesView::MenuShapesAddColorTable(wxCommandEvent &e)
622622 {
623- wxFileDialog *dlg = new wxFileDialog(mFrame, wxT("Import a color table"), wxT(""), wxT(""),
624- wxT("Photoshop color table|*.act|Gimp palette|*.gpl"), wxOPEN);
623+ wxFileDialog *dlg = new wxFileDialog(mFrame, _("Import a color table"), wxT(""), wxT(""),
624+ _("Photoshop color table|*.act|Gimp palette|*.gpl"), wxOPEN);
625625
626626 if (dlg->ShowModal() == wxID_OK) {
627627 wxString filename = dlg->GetPath();
@@ -634,9 +634,9 @@ void ShapesView::MenuShapesAddColorTable(wxCommandEvent &e)
634634 ifs.close();
635635 if (newct->ColorCount() > 0) {
636636 if (newct->GetColor(0)->Red() != 0 || newct->GetColor(0)->Green() != 0 || newct->GetColor(0)->Blue() != 255<<8)
637- wxMessageBox(wxT("The first color of the table being imported is not the usual Marathon chroma key color"
637+ wxMessageBox(_("The first color of the table being imported is not the usual Marathon chroma key color"
638638 " (no red, no green, maximum blue). It should be corrected manually to avoid problems."),
639- wxT("Invalid chroma key color"), wxOK | wxICON_WARNING, mFrame);
639+ _("Invalid chroma key color"), wxOK | wxICON_WARNING, mFrame);
640640 if (firstct != NULL) {
641641 // handle cases in which the new color table has more or less colors than existing ones
642642 if (newct->ColorCount() > firstct->ColorCount()) {
@@ -673,15 +673,15 @@ void ShapesView::MenuShapesAddColorTable(wxCommandEvent &e)
673673 } else {
674674 wxString errormsg;
675675
676- errormsg << wxT("Sorry, could not load a color table from ") << filename << wxT(" because the file format is unknown or the file contains no colors.");
677- wxMessageBox(errormsg, wxT("Error loading color table"), wxOK | wxICON_ERROR, mFrame);
676+ errormsg << _("Sorry, could not load a color table from ") << filename << _(" because the file format is unknown or the file contains no colors.");
677+ wxMessageBox(errormsg, _("Error loading color table"), wxOK | wxICON_ERROR, mFrame);
678678 delete newct;
679679 }
680680 } else {
681681 wxString errormsg;
682682
683- errormsg << wxT("Sorry, could not load a color table from ") << filename << wxT(" because the file is not readable.");
684- wxMessageBox(errormsg, wxT("Error loading color table"), wxOK | wxICON_ERROR, mFrame);
683+ errormsg << _("Sorry, could not load a color table from ") << filename << _(" because the file is not readable.");
684+ wxMessageBox(errormsg, _("Error loading color table"), wxOK | wxICON_ERROR, mFrame);
685685 }
686686 }
687687 dlg->Destroy();
@@ -696,18 +696,18 @@ void ShapesView::MenuShapesSaveColorTable(wxCommandEvent &e)
696696
697697 if (selection >= 0) {
698698 bool ps = (e.GetId() == SHAPES_MENU_SAVECOLORTABLETOPS);
699- wxString prompt = wxString::Format(wxT("Save color table %d"), selection),
699+ wxString prompt = wxString::Format(_("Save color table %d"), selection),
700700 name, ctpath;
701701
702702 if (ps) {
703- name = wxString::Format(wxT("ColorTable%d.act"), selection);
703+ name = wxString::Format(_("ColorTable%d.act"), selection);
704704 ctpath = wxFileSelector(prompt, wxT(""), name, wxT(""),
705- wxT("PhotoShop color table|*.act"),
705+ _("PhotoShop color table|*.act"),
706706 wxSAVE | wxOVERWRITE_PROMPT);
707707 } else {
708- name = wxString::Format(wxT("ColorTable%d.gpl"), selection);
708+ name = wxString::Format(_("ColorTable%d.gpl"), selection);
709709 ctpath = wxFileSelector(prompt, wxT(""), name, wxT(""),
710- wxT("Gimp color table|*.gpl"),
710+ _("Gimp color table|*.gpl"),
711711 wxSAVE | wxOVERWRITE_PROMPT);
712712 }
713713
@@ -723,8 +723,8 @@ void ShapesView::MenuShapesSaveColorTable(wxCommandEvent &e)
723723 if (err != 0) {
724724 wxString errormsg;
725725
726- errormsg << wxT("Sorry, could not save color table to ") << ctpath << wxT(".");
727- wxMessageBox(errormsg, wxT("Error saving color table"), wxOK | wxICON_ERROR, mFrame);
726+ errormsg << _("Sorry, could not save color table to ") << ctpath << wxT(".");
727+ wxMessageBox(errormsg, _("Error saving color table"), wxOK | wxICON_ERROR, mFrame);
728728 }
729729 }
730730 }
@@ -734,8 +734,8 @@ void ShapesView::MenuShapesSaveColorTable(wxCommandEvent &e)
734734 void ShapesView::MenuShapesAddBitmap(wxCommandEvent &e)
735735 {
736736 if (((ShapesDocument*)GetDocument()) != NULL && mSelectedColl != -1 && mSelectedVers != -1) {
737- wxFileDialog *dlg = new wxFileDialog(mFrame, wxT("Choose a bitmap to add"), wxT(""), wxT(""),
738- wxT("Common bitmap files (BMP, JPEG, PNG, GIF, TIFF)|*.bmp;*.jpg;*.jpeg;*.tif;*.tiff;*.png;*.gif"),
737+ wxFileDialog *dlg = new wxFileDialog(mFrame, _("Choose a bitmap to add"), wxT(""), wxT(""),
738+ _("Common bitmap files (BMP, JPEG, PNG, GIF, TIFF)|*.bmp;*.jpg;*.jpeg;*.tif;*.tiff;*.png;*.gif"),
739739 wxOPEN);
740740
741741 if (dlg->ShowModal() == wxID_OK) {
@@ -762,12 +762,12 @@ void ShapesView::MenuShapesAddBitmap(wxCommandEvent &e)
762762 // update the GUI
763763 unsigned int bitmap_count = ((ShapesDocument*)GetDocument())->CollectionBitmapCount(mSelectedColl, mSelectedVers);
764764 ShapesBitmap *pnewbitmap = ((ShapesDocument*)GetDocument())->GetBitmap(mSelectedColl, mSelectedVers, bitmap_count-1);
765- wxString count_string = wxString::Format(wxT("%u bitmap"), bitmap_count);
765+ wxString count_string = wxString::Format(_("%u bitmap"), bitmap_count);
766766
767767 bb->AddBitmap(pnewbitmap);
768768 fb->AddBitmap(pnewbitmap);
769769 if (bitmap_count != 1)
770- count_string << wxT("s");
770+ count_string << _("s");
771771 b_count_label->SetLabel(count_string);
772772
773773 wxEndBusyCursor();
@@ -775,8 +775,8 @@ void ShapesView::MenuShapesAddBitmap(wxCommandEvent &e)
775775 } else {
776776 wxString errormsg;
777777
778- errormsg << wxT("Sorry, could not load bitmap from ") << filename << wxT(".");
779- wxMessageBox(errormsg, wxT("Error adding bitmap"), wxOK | wxICON_ERROR, mFrame);
778+ errormsg << _("Sorry, could not load bitmap from ") << filename << wxT(".");
779+ wxMessageBox(errormsg, _("Error adding bitmap"), wxOK | wxICON_ERROR, mFrame);
780780 }
781781 }
782782 dlg->Destroy();
@@ -790,9 +790,9 @@ void ShapesView::MenuShapesExportBitmap(wxCommandEvent &e)
790790 int selection = bb->GetSelection();
791791
792792 if (selection >= 0) {
793- wxString prompt = wxString::Format(wxT("Export bitmap %d"), selection),
794- name = wxString::Format(wxT("bitmap%.3d.bmp"), selection),
795- path = wxFileSelector(prompt, wxT(""), name, wxT(""), wxT("BMP image|*.bmp"), wxSAVE | wxOVERWRITE_PROMPT);
793+ wxString prompt = wxString::Format(_("Export bitmap %d"), selection),
794+ name = wxString::Format(_("bitmap%.3d.bmp"), selection),
795+ path = wxFileSelector(prompt, wxT(""), name, wxT(""), _("BMP image|*.bmp"), wxSAVE | wxOVERWRITE_PROMPT);
796796
797797 if (!path.empty()) {
798798 ShapesBitmap *bitmap = ((ShapesDocument*)GetDocument())->GetBitmap(mSelectedColl, mSelectedVers, selection);
@@ -810,9 +810,9 @@ void ShapesView::MenuShapesExportBitmapMask(wxCommandEvent &e)
810810 int selection = bb->GetSelection();
811811
812812 if (selection >= 0) {
813- wxString prompt = wxString::Format(wxT("Export bitmap %d mask"), selection),
814- name = wxString::Format(wxT("bitmap%.3dmask.bmp"), selection),
815- path = wxFileSelector(prompt, wxT(""), name, wxT(""), wxT("BMP image|*.bmp"), wxSAVE | wxOVERWRITE_PROMPT);
813+ wxString prompt = wxString::Format(_("Export bitmap %d mask"), selection),
814+ name = wxString::Format(_("bitmap%.3dmask.bmp"), selection),
815+ path = wxFileSelector(prompt, wxT(""), name, _(""), _("BMP image|*.bmp"), wxSAVE | wxOVERWRITE_PROMPT);
816816
817817 if (!path.empty()) {
818818 ShapesBitmap *bitmap = ((ShapesDocument*)GetDocument())->GetBitmap(mSelectedColl, mSelectedVers, selection);
@@ -827,14 +827,14 @@ void ShapesView::MenuShapesExportBitmapMask(wxCommandEvent &e)
827827 void ShapesView::MenuShapesExportBitmaps(wxCommandEvent &e)
828828 {
829829 if (((ShapesDocument*)GetDocument()) != NULL && mSelectedColl != -1 && mSelectedVers != -1) {
830- wxString dirPath = wxDirSelector(wxT("Select destination folder"));
830+ wxString dirPath = wxDirSelector(_("Select destination folder"));
831831
832832 if (!dirPath.empty()) {
833833 ShapesColorTable *colorTable = ((ShapesDocument*)GetDocument())->GetColorTable(mSelectedColl, mSelectedVers, mViewColorTable);
834834
835835 wxBeginBusyCursor();
836836 for (unsigned int i = 0; i < ((ShapesDocument*)GetDocument())->CollectionBitmapCount(mSelectedColl, mSelectedVers); i++) {
837- wxString name = wxString::Format(wxT("bitmap%.3d.bmp"), i);
837+ wxString name = wxString::Format(_("bitmap%.3d.bmp"), i);
838838 ShapesBitmap *bitmap = ((ShapesDocument*)GetDocument())->GetBitmap(mSelectedColl, mSelectedVers, i);
839839
840840 bitmap->SaveToBMP(dirPath + wxT("/") + name, colorTable);
@@ -847,12 +847,12 @@ void ShapesView::MenuShapesExportBitmaps(wxCommandEvent &e)
847847 void ShapesView::MenuShapesExportBitmapMasks(wxCommandEvent &e)
848848 {
849849 if (((ShapesDocument*)GetDocument()) != NULL && mSelectedColl != -1 && mSelectedVers != -1) {
850- wxString dirPath = wxDirSelector(wxT("Select destination folder"));
850+ wxString dirPath = wxDirSelector(_("Select destination folder"));
851851
852852 if (!dirPath.empty()) {
853853 wxBeginBusyCursor();
854854 for (unsigned int i = 0; i < ((ShapesDocument*)GetDocument())->CollectionBitmapCount(mSelectedColl, mSelectedVers); i++) {
855- wxString name = wxString::Format(wxT("bitmap%.3dmask.bmp"), i);
855+ wxString name = wxString::Format(_("bitmap%.3dmask.bmp"), i);
856856 ShapesBitmap *bitmap = ((ShapesDocument*)GetDocument())->GetBitmap(mSelectedColl, mSelectedVers, i);
857857
858858 bitmap->SaveMaskToBMP(dirPath + wxT("/") + name);
@@ -876,10 +876,10 @@ void ShapesView::MenuShapesNewFrame(wxCommandEvent &e)
876876 fb->AddFrame(((ShapesDocument*)GetDocument())->GetFrame(mSelectedColl, mSelectedVers, ((ShapesDocument*)GetDocument())->CollectionFrameCount(mSelectedColl, mSelectedVers)-1));
877877 // update frame count label
878878 unsigned int frame_count = ((ShapesDocument*)GetDocument())->CollectionFrameCount(mSelectedColl, mSelectedVers);
879- wxString count_string = wxString::Format(wxT("%u frame"), frame_count);
879+ wxString count_string = wxString::Format(_("%u frame"), frame_count);
880880
881881 if (frame_count != 1)
882- count_string << wxT("s");
882+ count_string << _("s");
883883 f_count_label->SetLabel(count_string);
884884 ((ShapesDocument*)GetDocument())->Modify(true);
885885 }
@@ -917,7 +917,7 @@ void ShapesView::MenuShapesGeneratePatch(wxCommandEvent&)
917917 }
918918
919919 // prompt the user for a base for the patch
920- wxFileDialog dlg(mFrame, wxT("Choose a base file (e.g. standard Infinity shapes)"), wxT(""), wxT(""), wxT("Shapes files (*.shpA)|*.shpA|All files (*.*)|*.*"), wxOPEN);
920+ wxFileDialog dlg(mFrame, _("Choose a base file (e.g. standard Infinity shapes)"), wxT(""), wxT(""), _("Shapes files (*.shpA)|*.shpA|All files (*.*)|*.*"), wxOPEN);
921921 if (dlg.ShowModal() != wxID_OK) {
922922 return;
923923 }
@@ -928,7 +928,7 @@ void ShapesView::MenuShapesGeneratePatch(wxCommandEvent&)
928928 }
929929
930930 // prompt the user for a patch location
931- wxString path = wxFileSelector(wxT("Export patch file"), wxT(""), wxT("Shapes Patch.ShPa"), wxT(""), wxT("Shapes patch|*.ShPa"), wxSAVE | wxOVERWRITE_PROMPT);
931+ wxString path = wxFileSelector(_("Export patch file"), wxT(""), _("Shapes Patch.ShPa"), wxT(""), _("Shapes patch|*.ShPa"), wxSAVE | wxOVERWRITE_PROMPT);
932932
933933 if (path.empty()) {
934934 return;
@@ -954,7 +954,7 @@ void ShapesView::MenuShapesImportPatch(wxCommandEvent&)
954954 }
955955
956956 // prompt the user for a patch
957- wxString path = wxFileSelector(wxT("Choose a patch file"), wxT(""), wxT(""), wxT(""), wxT("Patch files (*.ShPa)|*.ShPa|All files (*.*)|*.*"), wxOPEN);
957+ wxString path = wxFileSelector(_("Choose a patch file"), wxT(""), wxT(""), wxT(""), _("Patch files (*.ShPa)|*.ShPa|All files (*.*)|*.*"), wxOPEN);
958958
959959 if (path.empty()) {
960960 return;
@@ -970,7 +970,7 @@ void ShapesView::MenuShapesImportPatch(wxCommandEvent&)
970970 #endif
971971
972972 if (!document->LoadPatch(stream)) {
973- wxMessageBox(wxT("Error loading shapes patch; the patch may be partially applied!"), wxT("Error loading shapes patch"), wxOK | wxICON_ERROR, mFrame);
973+ wxMessageBox(_("Error loading shapes patch; the patch may be partially applied!"), _("Error loading shapes patch"), wxOK | wxICON_ERROR, mFrame);
974974 }
975975
976976 colltree->Unselect();
@@ -1025,26 +1025,26 @@ void ShapesView::OnTreeSelect(wxTreeEvent &e)
10251025 menubar->Enable(SHAPES_MENU_EXPORTMASK, false);
10261026
10271027 // set collection info panel
1028- coll_static_box->SetLabel(wxString::Format(wxT("Global info for collection %d"), new_coll));
1028+ coll_static_box->SetLabel(wxString::Format(_("Global info for collection %d"), new_coll));
10291029
10301030 wxString collinfo_s;
1031- collinfo_s << wxT("Status: ") << ((ShapesDocument*)GetDocument())->CollectionStatus(new_coll) << wxT("\n");
1032- collinfo_s << wxT("Flags: ") << ((ShapesDocument*)GetDocument())->CollectionFlags(new_coll) << wxT("\n\n");
1031+ collinfo_s << _("Status: ") << ((ShapesDocument*)GetDocument())->CollectionStatus(new_coll) << wxT("\n");
1032+ collinfo_s << _("Flags: ") << ((ShapesDocument*)GetDocument())->CollectionFlags(new_coll) << wxT("\n\n");
10331033 if (((ShapesDocument*)GetDocument())->CollectionDefined(new_coll, COLL_VERSION_8BIT))
1034- collinfo_s << wxT("8-bit color version present\n");
1034+ collinfo_s << _("8-bit color version present\n");
10351035 else
1036- collinfo_s << wxT("No 8-bit color version\n");
1036+ collinfo_s << _("No 8-bit color version\n");
10371037 if (((ShapesDocument*)GetDocument())->CollectionDefined(new_coll, COLL_VERSION_TRUECOLOR))
1038- collinfo_s << wxT("True color version present");
1038+ collinfo_s << _("True color version present");
10391039 else
1040- collinfo_s << wxT("No true color version");
1040+ collinfo_s << _("No true color version");
10411041 coll_text->SetLabel(collinfo_s);
10421042
10431043 if (new_coll != -1 && new_vers != -1) {
10441044 if (new_vers == COLL_VERSION_TRUECOLOR)
1045- chunk_static_box->SetLabel(wxT("Shapes for true color and OpenGL display"));
1045+ chunk_static_box->SetLabel(_("Shapes for true color and OpenGL display"));
10461046 else
1047- chunk_static_box->SetLabel(wxT("Shapes for 8-bit color display"));
1047+ chunk_static_box->SetLabel(_("Shapes for 8-bit color display"));
10481048
10491049 if (((ShapesDocument*)GetDocument())->CollectionDefined(new_coll, new_vers)) {
10501050 // a defined collection has been selected
@@ -1075,9 +1075,9 @@ void ShapesView::OnTreeSelect(wxTreeEvent &e)
10751075 menubar->Enable(VIEW_MENU_COLORTABLE_0 + i, i < ct_count);
10761076 if (ct_count > 0)
10771077 menubar->Check(VIEW_MENU_COLORTABLE_0, true);
1078- count_string << ct_count << wxT(" color table");
1078+ count_string << ct_count << _(" color table");
10791079 if (ct_count != 1)
1080- count_string << wxT("s");
1080+ count_string << _("s");
10811081 if (ct_count > 0)
10821082 count_string << wxT(", ") << ((ShapesDocument*)GetDocument())->GetColorTable(new_coll, new_vers, 0)->ColorCount() << wxT(" colors per table");
10831083 ct_count_label->SetLabel(count_string);
@@ -1088,9 +1088,9 @@ void ShapesView::OnTreeSelect(wxTreeEvent &e)
10881088 for (unsigned int i = 0; i < bitmap_count; i++)
10891089 bb->AddBitmap(((ShapesDocument*)GetDocument())->GetBitmap(new_coll, new_vers, i));
10901090 count_string.Clear();
1091- count_string << bitmap_count << wxT(" bitmap");
1091+ count_string << bitmap_count << _(" bitmap");
10921092 if (bitmap_count != 1)
1093- count_string << wxT("s");
1093+ count_string << _("s");
10941094 b_count_label->SetLabel(count_string);
10951095
10961096 // frames
@@ -1101,9 +1101,9 @@ void ShapesView::OnTreeSelect(wxTreeEvent &e)
11011101 for (unsigned int i = 0; i < frame_count; i++)
11021102 fb->AddFrame(((ShapesDocument*)GetDocument())->GetFrame(new_coll, new_vers, i));
11031103 count_string.Clear();
1104- count_string << frame_count << wxT(" frame");
1104+ count_string << frame_count << _(" frame");
11051105 if (frame_count != 1)
1106- count_string << wxT("s");
1106+ count_string << _("s");
11071107 f_count_label->SetLabel(count_string);
11081108
11091109 wxEndBusyCursor();
@@ -1135,7 +1135,7 @@ void ShapesView::OnTreeSelect(wxTreeEvent &e)
11351135 ShapesSequence *seq = ((ShapesDocument*)GetDocument())->GetSequence(new_coll, new_vers, mSelectedSequence);
11361136
11371137 // setup sequence panel controls
1138- s_outer_static_box->SetLabel(wxString::Format(wxT("Sequence %d of %u"),
1138+ s_outer_static_box->SetLabel(wxString::Format(_("Sequence %d of %u"),
11391139 mSelectedSequence, ((ShapesDocument*)GetDocument())->CollectionSequenceCount(new_coll, new_vers)));
11401140 s_name_field->ChangeValue(seq->Name());
11411141 switch (seq->NumberOfViews()) {
@@ -1150,8 +1150,8 @@ void ShapesView::OnTreeSelect(wxTreeEvent &e)
11501150 case ANIMATED_8: s_type_menu->SetSelection(4); break;
11511151 default:
11521152 s_type_menu->SetSelection(0);
1153- wxMessageBox(wxString::Format(wxT("This sequence has an unknown type %d, and ShapeFusion can not handle it. Something strange may happen now!"), seq->NumberOfViews()),
1154- wxT("Warning"), wxOK | wxICON_ERROR, mFrame);
1153+ wxMessageBox(wxString::Format(_("This sequence has an unknown type %d, and ShapeFusion can not handle it. Something strange may happen now!"), seq->NumberOfViews()),
1154+ _("Warning"), wxOK | wxICON_ERROR, mFrame);
11551155 break;
11561156 }
11571157 s_fpv_field->ChangeValue(INT_TO_WXSTRING(seq->FramesPerView()));
@@ -1241,7 +1241,7 @@ void ShapesView::OnBitmapSelect(wxCommandEvent &e)
12411241 b_view->SetBitmap(NULL);
12421242 b_outer_sizer->Show(b_count_label, true);
12431243 b_outer_sizer->Show(b_edit_box, false);
1244- menubar->SetLabel(EDIT_MENU_DELETE, wxT("Delete"));
1244+ menubar->SetLabel(EDIT_MENU_DELETE, _("Delete"));
12451245 menubar->Enable(EDIT_MENU_COPY, false);
12461246 menubar->Enable(EDIT_MENU_DELETE, false);
12471247 menubar->Enable(EDIT_MENU_PASTE, false);
@@ -1251,14 +1251,14 @@ void ShapesView::OnBitmapSelect(wxCommandEvent &e)
12511251 ShapesBitmap *sel_bitmap = ((ShapesDocument*)GetDocument())->GetBitmap(mSelectedColl, mSelectedVers, selection);
12521252
12531253 // set labels
1254- wxString info_label = wxString::Format(wxT("%dx%d pixels, "), sel_bitmap->Width(), sel_bitmap->Height());
1254+ wxString info_label = wxString::Format(_("%dx%d pixels, "), sel_bitmap->Width(), sel_bitmap->Height());
12551255
12561256 if (sel_bitmap->BytesPerRow() > 0)
1257- info_label << wxT("plain encoding");
1257+ info_label << _("plain encoding");
12581258 else
1259- info_label << wxT("RLE");
1259+ info_label << _("RLE");
12601260 b_info_label->SetLabel(info_label);
1261- b_edit_static_box->SetLabel(wxString::Format(wxT("Bitmap %d of %d"),
1261+ b_edit_static_box->SetLabel(wxString::Format(_("Bitmap %d of %d"),
12621262 selection, ((ShapesDocument*)GetDocument())->CollectionBitmapCount(mSelectedColl, mSelectedVers)));
12631263 // set flag check boxes
12641264 b_order_checkbox->SetValue(sel_bitmap->IsColumnOrdered());
@@ -1267,7 +1267,7 @@ void ShapesView::OnBitmapSelect(wxCommandEvent &e)
12671267 b_view->SetBitmap(sel_bitmap);
12681268 b_outer_sizer->Show(b_count_label, false);
12691269 b_outer_sizer->Show(b_edit_box, true);
1270- menubar->SetLabel(EDIT_MENU_DELETE, wxT("Delete bitmap"));
1270+ menubar->SetLabel(EDIT_MENU_DELETE, _("Delete bitmap"));
12711271 menubar->Enable(EDIT_MENU_COPY, true);
12721272 menubar->Enable(EDIT_MENU_DELETE, true);
12731273 menubar->Enable(EDIT_MENU_PASTE, true);
@@ -1300,7 +1300,7 @@ void ShapesView::DoDeleteColorTable(int which)
13001300 ct_outer_sizer->Show(ct_edit_box, false);
13011301 menubar->Enable(SHAPES_MENU_SAVECOLORTABLE, false);
13021302 menubar->Enable(SHAPES_MENU_SAVECOLORTABLETOPS, false);
1303- menubar->SetLabel(EDIT_MENU_DELETE, wxT("Delete"));
1303+ menubar->SetLabel(EDIT_MENU_DELETE, _("Delete"));
13041304 menubar->Enable(EDIT_MENU_COPY, false);
13051305 menubar->Enable(EDIT_MENU_DELETE, false);
13061306 menubar->Enable(EDIT_MENU_PASTE, false);
@@ -1379,9 +1379,9 @@ void ShapesView::DoDeleteBitmap(int which)
13791379
13801380 wxString count_string;
13811381
1382- count_string << bitmap_count << wxT(" bitmap");
1382+ count_string << bitmap_count << _(" bitmap");
13831383 if (bitmap_count != 1)
1384- count_string << wxT("s");
1384+ count_string << _("s");
13851385 b_count_label->SetLabel(count_string);
13861386 mFrame->Layout();
13871387 ((ShapesDocument*)GetDocument())->Modify(true);
@@ -1411,9 +1411,9 @@ void ShapesView::DoDeleteFrame(int which)
14111411
14121412 wxString count_string;
14131413
1414- count_string << frame_count << wxT(" frame");
1414+ count_string << frame_count << _(" frame");
14151415 if (frame_count != 1)
1416- count_string << wxT("s");
1416+ count_string << _("s");
14171417 f_count_label->SetLabel(count_string);
14181418 mFrame->Layout();
14191419 ((ShapesDocument*)GetDocument())->Modify(true);
@@ -1505,7 +1505,7 @@ void ShapesView::OnCTSelect(wxCommandEvent &e)
15051505 ct_outer_sizer->Show(ct_edit_box, false);
15061506 menubar->Enable(SHAPES_MENU_SAVECOLORTABLE, false);
15071507 menubar->Enable(SHAPES_MENU_SAVECOLORTABLETOPS, false);
1508- menubar->SetLabel(EDIT_MENU_DELETE, wxT("Delete"));
1508+ menubar->SetLabel(EDIT_MENU_DELETE, _("Delete"));
15091509 menubar->Enable(EDIT_MENU_COPY, false);
15101510 menubar->Enable(EDIT_MENU_DELETE, false);
15111511 menubar->Enable(EDIT_MENU_PASTE, false);
@@ -1514,14 +1514,14 @@ void ShapesView::OnCTSelect(wxCommandEvent &e)
15141514 ShapesColorTable *ct = ((ShapesDocument*)GetDocument())->GetColorTable(mSelectedColl, mSelectedVers, selection);
15151515
15161516 ct_view->SetColorTable(ct);
1517- ct_edit_static_box->SetLabel(wxString::Format(wxT("Color table %d of %d, %d colors per table"), selection,
1517+ ct_edit_static_box->SetLabel(wxString::Format(_("Color table %d of %d, %d colors per table"), selection,
15181518 ((ShapesDocument*)GetDocument())->CollectionColorTableCount(mSelectedColl, mSelectedVers),
15191519 ct->ColorCount()));
15201520 ct_outer_sizer->Show(ct_count_label, false);
15211521 ct_outer_sizer->Show(ct_edit_box, true);
15221522 menubar->Enable(SHAPES_MENU_SAVECOLORTABLE, true);
15231523 menubar->Enable(SHAPES_MENU_SAVECOLORTABLETOPS, true);
1524- menubar->SetLabel(EDIT_MENU_DELETE, wxT("Delete color table"));
1524+ menubar->SetLabel(EDIT_MENU_DELETE, _("Delete color table"));
15251525 // FIXME make sure there is at least one color table for now
15261526 if (((ShapesDocument*)GetDocument())->CollectionColorTableCount(mSelectedColl, mSelectedVers) > 1)
15271527 menubar->Enable(EDIT_MENU_DELETE, true);
@@ -1664,7 +1664,7 @@ void ShapesView::OnFrameSelect(wxCommandEvent &e)
16641664 f_view->SetBitmap(NULL);
16651665 f_outer_sizer->Show(f_count_label, true);
16661666 f_outer_sizer->Show(f_edit_box, false);
1667- menubar->SetLabel(EDIT_MENU_DELETE, wxT("Delete"));
1667+ menubar->SetLabel(EDIT_MENU_DELETE, _("Delete"));
16681668 menubar->Enable(EDIT_MENU_COPY, false);
16691669 menubar->Enable(EDIT_MENU_DELETE, false);
16701670 menubar->Enable(EDIT_MENU_PASTE, false);
@@ -1673,7 +1673,7 @@ void ShapesView::OnFrameSelect(wxCommandEvent &e)
16731673 ShapesBitmap *assoc_bitmap = NULL;
16741674
16751675 // set labels
1676- f_edit_static_box->SetLabel(wxString::Format(wxT("Frame %d of %u"),
1676+ f_edit_static_box->SetLabel(wxString::Format(_("Frame %d of %u"),
16771677 selection, ((ShapesDocument*)GetDocument())->CollectionFrameCount(mSelectedColl, mSelectedVers)));
16781678 // set frame view
16791679 f_view->SetFrame(sel_frame);
@@ -1694,7 +1694,7 @@ void ShapesView::OnFrameSelect(wxCommandEvent &e)
16941694 f_mli_field->ChangeValue(INT_TO_WXSTRING((int)roundf(sel_frame->MinimumLightIntensity() * 100.0)));
16951695 f_outer_sizer->Show(f_count_label, false);
16961696 f_outer_sizer->Show(f_edit_box, true);
1697- menubar->SetLabel(EDIT_MENU_DELETE, wxT("Delete frame"));
1697+ menubar->SetLabel(EDIT_MENU_DELETE, _("Delete frame"));
16981698 menubar->Enable(EDIT_MENU_DELETE, true);
16991699 menubar->Enable(EDIT_MENU_COPY, false);
17001700 menubar->Enable(EDIT_MENU_PASTE, false);
--- a/Sounds/Makefile.in
+++ b/Sounds/Makefile.in
@@ -207,9 +207,9 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
207207 exit 1;; \
208208 esac; \
209209 done; \
210- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Sounds/Makefile'; \
210+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Sounds/Makefile'; \
211211 $(am__cd) $(top_srcdir) && \
212- $(AUTOMAKE) --gnu Sounds/Makefile
212+ $(AUTOMAKE) --foreign Sounds/Makefile
213213 .PRECIOUS: Makefile
214214 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
215215 @case '$?' in \
--- a/Sounds/SoundsView.cpp
+++ b/Sounds/SoundsView.cpp
@@ -219,18 +219,18 @@ void SoundsView::OnUpdate(wxView *WXUNUSED(sender), wxObject *WXUNUSED(hint))
219219 equals = true;
220220
221221 if (!equals)
222- wxLogDebug(wxT("Sound source different at %d"), i);
222+ wxLogDebug(_("Sound source different at %d"), i);
223223 gequals = gequals && equals;
224224 }
225225 if (!gequals) {
226226 // FIXME : Update this when we have a "complete" editor...
227227 wxMessageDialog msg(frame,
228- wxT("It seems 8-bit and 16-bit versions of some of this Sound file "
228+ _("It seems 8-bit and 16-bit versions of some of this Sound file "
229229 "sounds have differences. This editor will replace 16-bit sounds "
230230 "flags with those from 8-bit sounds, to ensure consistency. "
231231 "If you really need to be able to change 16-bit flags independently, "
232232 "please file a feature request."),
233- wxT("Warning !"), wxOK | wxICON_WARNING);
233+ _("Warning !"), wxOK | wxICON_WARNING);
234234
235235 msg.ShowModal();
236236 }
@@ -256,7 +256,7 @@ void SoundsView::Update(void)
256256 // Make sure we always have something selected
257257 mSoundClass = sound_class_list->GetSelection();
258258 if (mSoundClass == wxNOT_FOUND) {
259- wxLogDebug(wxT("[SoundsView] There is no sound selected. Selecting first item..."));
259+ wxLogDebug(_("[SoundsView] There is no sound selected. Selecting first item..."));
260260 sound_class_list->SetSelection(0);
261261 mSoundClass = sound_class_list->GetSelection();
262262 }
@@ -420,7 +420,7 @@ void SoundsView::FlagsChanged(wxCommandEvent &e)
420420 def16->SetAmbient(e.IsChecked());
421421 break;
422422 default:
423- wxLogDebug(wxT("Invalid control id in FlagsChanged"));
423+ wxLogDebug(_("Invalid control id in FlagsChanged"));
424424 break;
425425 }
426426 GetDocument()->Modify(true);
@@ -460,7 +460,7 @@ void SoundsView::MenuDelete(wxCommandEvent &e)
460460
461461 switch (win->GetId()) {
462462 case SOUND_CLASS_LIST:
463- wxLogDebug(wxT("Delete Sound Class"));
463+ wxLogDebug(_("Delete Sound Class"));
464464 break;
465465 case SOUND_EIGHT_BIT_PERMUTATIONS_LIST:
466466 case SOUND_SIXTEEN_BIT_PERMUTATIONS_LIST:
@@ -482,11 +482,11 @@ void SoundsView::MenuDelete(wxCommandEvent &e)
482482
483483 void SoundsView::MenuAddSoundClass(wxCommandEvent &e)
484484 {
485- wxLogDebug(wxT("Adding an item"));
485+ wxLogDebug(_("Adding an item"));
486486 payload->AddSoundDefinition();
487487
488488 // We add the new Sound class item by hand
489- sound_class_list->Append(wxString::Format(wxT("Sound %d"), sound_class_list->GetCount()));
489+ sound_class_list->Append(wxString::Format(_("Sound %d"), sound_class_list->GetCount()));
490490
491491 GetDocument()->Modify(true);
492492
@@ -502,21 +502,21 @@ void SoundsView::MenuImportSound(wxCommandEvent &e)
502502 } else if (w == static_cast<wxWindow*>(sound_eight_bit_list)) {
503503 definition = payload->Get8BitSoundDefinition(mSoundClass);
504504 } else {
505- wxMessageDialog msg(frame, wxT("Sorry, you need to select a sound class and 8-bit or 16-bit to import a sound"), wxT("Error: No selection"), wxOK | wxICON_EXCLAMATION);
505+ wxMessageDialog msg(frame, _("Sorry, you need to select a sound class and 8-bit or 16-bit to import a sound"), _("Error: No selection"), wxOK | wxICON_EXCLAMATION);
506506 msg.ShowModal();
507507 return;
508508 }
509509
510510 if (definition->GetPermutationCount() >= MAXIMUM_PERMUTATIONS_PER_SOUND) {
511- wxMessageDialog msg(frame, wxT("There are already five permutations for this sound"), wxT("Error: permutation limit reached"), wxOK | wxICON_EXCLAMATION);
511+ wxMessageDialog msg(frame, _("There are already five permutations for this sound"), _("Error: permutation limit reached"), wxOK | wxICON_EXCLAMATION);
512512 msg.ShowModal();
513513 return;
514514 }
515515
516- wxFileDialog dlg(frame, wxT("Choose a sound file to add"), wxT(""), wxT(""), wxT("Common sound files (AIFF, WAV)|*.aif;*.wav"), wxOPEN);
516+ wxFileDialog dlg(frame, _("Choose a sound file to add"), wxT(""), wxT(""), _("Common sound files (AIFF, WAV)|*.aif;*.wav"), wxOPEN);
517517 if (dlg.ShowModal() == wxID_OK) {
518518 if (definition->NewPermutation(dlg.GetPath()) == NULL) {
519- wxMessageDialog msg(frame, wxT("Error importing sound"), wxT("Error"), wxOK | wxICON_EXCLAMATION);
519+ wxMessageDialog msg(frame, _("Error importing sound"), _("Error"), wxOK | wxICON_EXCLAMATION);
520520 msg.ShowModal();
521521 return;
522522 }
@@ -530,12 +530,12 @@ void SoundsView::MenuImportSound(wxCommandEvent &e)
530530 void SoundsView::MenuExportSound(wxCommandEvent &e)
531531 {
532532 if (mSoundClass == wxNOT_FOUND || mSoundSource == wxNOT_FOUND || mSoundPermutation == wxNOT_FOUND) {
533- wxMessageDialog msg(frame, wxT("Sorry, you need to select a sound class and a permutation to export a sound"), wxT("Error : No selection"), wxOK | wxICON_EXCLAMATION);
533+ wxMessageDialog msg(frame, _("Sorry, you need to select a sound class and a permutation to export a sound"), _("Error : No selection"), wxOK | wxICON_EXCLAMATION);
534534 msg.ShowModal();
535535 return;
536536 }
537537
538- wxFileDialog dlg(frame, wxT("Choose a file name :"), wxT(""), wxString::Format(wxT("Sound %d-%d.wav"), mSoundClass, mSoundPermutation), wxT("WAV files (*.wav)|*.wav|AIFF files (*.aif)|*.aif"), wxSAVE | wxOVERWRITE_PROMPT);
538+ wxFileDialog dlg(frame, _("Choose a file name :"), wxT(""), wxString::Format(wxT("Sound %d-%d.wav"), mSoundClass, mSoundPermutation), _("WAV files (*.wav)|*.wav|AIFF files (*.aif)|*.aif"), wxSAVE | wxOVERWRITE_PROMPT);
539539
540540 if (dlg.ShowModal() == wxID_OK) {
541541 SoundsDefinition *def = payload->GetSoundDefinition(mSoundSource, mSoundClass);
@@ -554,7 +554,7 @@ void SoundsView::MenuExportSound(wxCommandEvent &e)
554554 }
555555
556556 if (!result)
557- wxLogDebug(wxT("[SoundsView] Error exporting sound"));
557+ wxLogDebug(_("[SoundsView] Error exporting sound"));
558558 }
559559 }
560560
@@ -562,12 +562,12 @@ void SoundsView::SoundPermutationSelected(wxCommandEvent &e)
562562 {
563563 // We unselect the other permutation field
564564 if (e.GetId() == SOUND_EIGHT_BIT_PERMUTATIONS_LIST) {
565- wxLogDebug(wxT("Selected 8-bit"));
565+ wxLogDebug(_("Selected 8-bit"));
566566 sound_sixteen_bit_list->SetSelection(wxNOT_FOUND);
567567 mSoundSource = 0;
568568 mSoundPermutation = sound_eight_bit_list->GetSelection();
569569 } else if (e.GetId() == SOUND_SIXTEEN_BIT_PERMUTATIONS_LIST) {
570- wxLogDebug(wxT("Selected 16-bit"));
570+ wxLogDebug(_("Selected 16-bit"));
571571 sound_eight_bit_list->SetSelection(wxNOT_FOUND);
572572 mSoundSource = 1;
573573 mSoundPermutation = sound_sixteen_bit_list->GetSelection();
--- a/aclocal.m4
+++ /dev/null
@@ -1,2202 +0,0 @@
1-# generated automatically by aclocal 1.11.2 -*- Autoconf -*-
2-
3-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5-# Inc.
6-# This file is free software; the Free Software Foundation
7-# gives unlimited permission to copy and/or distribute it,
8-# with or without modifications, as long as this notice is preserved.
9-
10-# This program is distributed in the hope that it will be useful,
11-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13-# PARTICULAR PURPOSE.
14-
15-m4_ifndef([AC_AUTOCONF_VERSION],
16- [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
18-[m4_warning([this file was generated for autoconf 2.68.
19-You have another version of autoconf. It may work, but is not guaranteed to.
20-If you have problems, you may need to regenerate the build system entirely.
21-To do so, use the procedure documented by the package, typically `autoreconf'.])])
22-
23-# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
24-#
25-# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
26-#
27-# This program is free software; you can redistribute it and/or modify
28-# it under the terms of the GNU General Public License as published by
29-# the Free Software Foundation; either version 2 of the License, or
30-# (at your option) any later version.
31-#
32-# This program is distributed in the hope that it will be useful, but
33-# WITHOUT ANY WARRANTY; without even the implied warranty of
34-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
35-# General Public License for more details.
36-#
37-# You should have received a copy of the GNU General Public License
38-# along with this program; if not, write to the Free Software
39-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
40-#
41-# As a special exception to the GNU General Public License, if you
42-# distribute this file as part of a program that contains a
43-# configuration script generated by Autoconf, you may include it under
44-# the same distribution terms that you use for the rest of that program.
45-
46-# PKG_PROG_PKG_CONFIG([MIN-VERSION])
47-# ----------------------------------
48-AC_DEFUN([PKG_PROG_PKG_CONFIG],
49-[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
50-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
51-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
52-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
53- AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
54-fi
55-if test -n "$PKG_CONFIG"; then
56- _pkg_min_version=m4_default([$1], [0.9.0])
57- AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
58- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
59- AC_MSG_RESULT([yes])
60- else
61- AC_MSG_RESULT([no])
62- PKG_CONFIG=""
63- fi
64-
65-fi[]dnl
66-])# PKG_PROG_PKG_CONFIG
67-
68-# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
69-#
70-# Check to see whether a particular set of modules exists. Similar
71-# to PKG_CHECK_MODULES(), but does not set variables or print errors.
72-#
73-#
74-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
75-# this or PKG_CHECK_MODULES is called, or make sure to call
76-# PKG_CHECK_EXISTS manually
77-# --------------------------------------------------------------
78-AC_DEFUN([PKG_CHECK_EXISTS],
79-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
80-if test -n "$PKG_CONFIG" && \
81- AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
82- m4_ifval([$2], [$2], [:])
83-m4_ifvaln([$3], [else
84- $3])dnl
85-fi])
86-
87-
88-# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
89-# ---------------------------------------------
90-m4_define([_PKG_CONFIG],
91-[if test -n "$PKG_CONFIG"; then
92- if test -n "$$1"; then
93- pkg_cv_[]$1="$$1"
94- else
95- PKG_CHECK_EXISTS([$3],
96- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
97- [pkg_failed=yes])
98- fi
99-else
100- pkg_failed=untried
101-fi[]dnl
102-])# _PKG_CONFIG
103-
104-# _PKG_SHORT_ERRORS_SUPPORTED
105-# -----------------------------
106-AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
107-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
108-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
109- _pkg_short_errors_supported=yes
110-else
111- _pkg_short_errors_supported=no
112-fi[]dnl
113-])# _PKG_SHORT_ERRORS_SUPPORTED
114-
115-
116-# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
117-# [ACTION-IF-NOT-FOUND])
118-#
119-#
120-# Note that if there is a possibility the first call to
121-# PKG_CHECK_MODULES might not happen, you should be sure to include an
122-# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
123-#
124-#
125-# --------------------------------------------------------------
126-AC_DEFUN([PKG_CHECK_MODULES],
127-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
128-AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
129-AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
130-
131-pkg_failed=no
132-AC_MSG_CHECKING([for $1])
133-
134-_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
135-_PKG_CONFIG([$1][_LIBS], [libs], [$2])
136-
137-m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
138-and $1[]_LIBS to avoid the need to call pkg-config.
139-See the pkg-config man page for more details.])
140-
141-if test $pkg_failed = yes; then
142- _PKG_SHORT_ERRORS_SUPPORTED
143- if test $_pkg_short_errors_supported = yes; then
144- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
145- else
146- $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
147- fi
148- # Put the nasty error message in config.log where it belongs
149- echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
150-
151- ifelse([$4], , [AC_MSG_ERROR(dnl
152-[Package requirements ($2) were not met:
153-
154-$$1_PKG_ERRORS
155-
156-Consider adjusting the PKG_CONFIG_PATH environment variable if you
157-installed software in a non-standard prefix.
158-
159-_PKG_TEXT
160-])],
161- [$4])
162-elif test $pkg_failed = untried; then
163- ifelse([$4], , [AC_MSG_FAILURE(dnl
164-[The pkg-config script could not be found or is too old. Make sure it
165-is in your PATH or set the PKG_CONFIG environment variable to the full
166-path to pkg-config.
167-
168-_PKG_TEXT
169-
170-To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
171- [$4])
172-else
173- $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
174- $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
175- AC_MSG_RESULT([yes])
176- ifelse([$3], , :, [$3])
177-fi[]dnl
178-])# PKG_CHECK_MODULES
179-
180-dnl ---------------------------------------------------------------------------
181-dnl Author: wxWidgets development team,
182-dnl Francesco Montorsi,
183-dnl Bob McCown (Mac-testing)
184-dnl Creation date: 24/11/2001
185-dnl RCS-ID: $Id$
186-dnl ---------------------------------------------------------------------------
187-
188-dnl ===========================================================================
189-dnl Table of Contents of this macro file:
190-dnl -------------------------------------
191-dnl
192-dnl SECTION A: wxWidgets main macros
193-dnl - WX_CONFIG_OPTIONS
194-dnl - WX_CONFIG_CHECK
195-dnl - WXRC_CHECK
196-dnl - WX_STANDARD_OPTIONS
197-dnl - WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS
198-dnl - WX_DETECT_STANDARD_OPTION_VALUES
199-dnl
200-dnl SECTION B: wxWidgets-related utilities
201-dnl - WX_LIKE_LIBNAME
202-dnl - WX_ARG_ENABLE_YESNOAUTO
203-dnl - WX_ARG_WITH_YESNOAUTO
204-dnl
205-dnl SECTION C: messages to the user
206-dnl - WX_STANDARD_OPTIONS_SUMMARY_MSG
207-dnl - WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN
208-dnl - WX_STANDARD_OPTIONS_SUMMARY_MSG_END
209-dnl - WX_BOOLOPT_SUMMARY
210-dnl
211-dnl The special "WX_DEBUG_CONFIGURE" variable can be set to 1 to enable extra
212-dnl debug output on stdout from these macros.
213-dnl ===========================================================================
214-
215-
216-dnl ---------------------------------------------------------------------------
217-dnl Macros for wxWidgets detection. Typically used in configure.in as:
218-dnl
219-dnl AC_ARG_ENABLE(...)
220-dnl AC_ARG_WITH(...)
221-dnl ...
222-dnl WX_CONFIG_OPTIONS
223-dnl ...
224-dnl ...
225-dnl WX_CONFIG_CHECK([2.6.0], [wxWin=1])
226-dnl if test "$wxWin" != 1; then
227-dnl AC_MSG_ERROR([
228-dnl wxWidgets must be installed on your system
229-dnl but wx-config script couldn't be found.
230-dnl
231-dnl Please check that wx-config is in path, the directory
232-dnl where wxWidgets libraries are installed (returned by
233-dnl 'wx-config --libs' command) is in LD_LIBRARY_PATH or
234-dnl equivalent variable and wxWidgets version is 2.3.4 or above.
235-dnl ])
236-dnl fi
237-dnl CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
238-dnl CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
239-dnl CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
240-dnl
241-dnl LIBS="$LIBS $WX_LIBS"
242-dnl
243-dnl If you want to support standard --enable-debug/unicode/shared options, you
244-dnl may do the following:
245-dnl
246-dnl ...
247-dnl AC_CANONICAL_SYSTEM
248-dnl
249-dnl # define configure options
250-dnl WX_CONFIG_OPTIONS
251-dnl WX_STANDARD_OPTIONS([debug,unicode,shared,toolkit,wxshared])
252-dnl
253-dnl # basic configure checks
254-dnl ...
255-dnl
256-dnl # we want to always have DEBUG==WX_DEBUG and UNICODE==WX_UNICODE
257-dnl WX_DEBUG=$DEBUG
258-dnl WX_UNICODE=$UNICODE
259-dnl
260-dnl WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS
261-dnl WX_CONFIG_CHECK([2.8.0], [wxWin=1],,[html,core,net,base],[$WXCONFIG_FLAGS])
262-dnl WX_DETECT_STANDARD_OPTION_VALUES
263-dnl
264-dnl # write the output files
265-dnl AC_CONFIG_FILES([Makefile ...])
266-dnl AC_OUTPUT
267-dnl
268-dnl # optional: just to show a message to the user
269-dnl WX_STANDARD_OPTIONS_SUMMARY_MSG
270-dnl
271-dnl ---------------------------------------------------------------------------
272-
273-
274-dnl ---------------------------------------------------------------------------
275-dnl WX_CONFIG_OPTIONS
276-dnl
277-dnl adds support for --wx-prefix, --wx-exec-prefix, --with-wxdir and
278-dnl --wx-config command line options
279-dnl ---------------------------------------------------------------------------
280-
281-AC_DEFUN([WX_CONFIG_OPTIONS],
282-[
283- AC_ARG_WITH(wxdir,
284- [ --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH],
285- [ wx_config_name="$withval/wx-config"
286- wx_config_args="--inplace"])
287- AC_ARG_WITH(wx-config,
288- [ --with-wx-config=CONFIG wx-config script to use (optional)],
289- wx_config_name="$withval" )
290- AC_ARG_WITH(wx-prefix,
291- [ --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)],
292- wx_config_prefix="$withval", wx_config_prefix="")
293- AC_ARG_WITH(wx-exec-prefix,
294- [ --with-wx-exec-prefix=PREFIX
295- Exec prefix where wxWidgets is installed (optional)],
296- wx_config_exec_prefix="$withval", wx_config_exec_prefix="")
297-])
298-
299-dnl Helper macro for checking if wx version is at least $1.$2.$3, set's
300-dnl wx_ver_ok=yes if it is:
301-AC_DEFUN([_WX_PRIVATE_CHECK_VERSION],
302-[
303- wx_ver_ok=""
304- if test "x$WX_VERSION" != x ; then
305- if test $wx_config_major_version -gt $1; then
306- wx_ver_ok=yes
307- else
308- if test $wx_config_major_version -eq $1; then
309- if test $wx_config_minor_version -gt $2; then
310- wx_ver_ok=yes
311- else
312- if test $wx_config_minor_version -eq $2; then
313- if test $wx_config_micro_version -ge $3; then
314- wx_ver_ok=yes
315- fi
316- fi
317- fi
318- fi
319- fi
320- fi
321-])
322-
323-dnl ---------------------------------------------------------------------------
324-dnl WX_CONFIG_CHECK(VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND
325-dnl [, WX-LIBS [, ADDITIONAL-WX-CONFIG-FLAGS]]]])
326-dnl
327-dnl Test for wxWidgets, and define WX_C*FLAGS, WX_LIBS and WX_LIBS_STATIC
328-dnl (the latter is for static linking against wxWidgets). Set WX_CONFIG_NAME
329-dnl environment variable to override the default name of the wx-config script
330-dnl to use. Set WX_CONFIG_PATH to specify the full path to wx-config - in this
331-dnl case the macro won't even waste time on tests for its existence.
332-dnl
333-dnl Optional WX-LIBS argument contains comma- or space-separated list of
334-dnl wxWidgets libraries to link against. If it is not specified then WX_LIBS
335-dnl and WX_LIBS_STATIC will contain flags to link with all of the core
336-dnl wxWidgets libraries.
337-dnl
338-dnl Optional ADDITIONAL-WX-CONFIG-FLAGS argument is appended to wx-config
339-dnl invocation command in present. It can be used to fine-tune lookup of
340-dnl best wxWidgets build available.
341-dnl
342-dnl Example use:
343-dnl WX_CONFIG_CHECK([2.6.0], [wxWin=1], [wxWin=0], [html,core,net]
344-dnl [--unicode --debug])
345-dnl ---------------------------------------------------------------------------
346-
347-dnl
348-dnl Get the cflags and libraries from the wx-config script
349-dnl
350-AC_DEFUN([WX_CONFIG_CHECK],
351-[
352- dnl do we have wx-config name: it can be wx-config or wxd-config or ...
353- if test x${WX_CONFIG_NAME+set} != xset ; then
354- WX_CONFIG_NAME=wx-config
355- fi
356-
357- if test "x$wx_config_name" != x ; then
358- WX_CONFIG_NAME="$wx_config_name"
359- fi
360-
361- dnl deal with optional prefixes
362- if test x$wx_config_exec_prefix != x ; then
363- wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
364- WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
365- fi
366- if test x$wx_config_prefix != x ; then
367- wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
368- WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
369- fi
370- if test "$cross_compiling" = "yes"; then
371- wx_config_args="$wx_config_args --host=$host_alias"
372- fi
373-
374- dnl don't search the PATH if WX_CONFIG_NAME is absolute filename
375- if test -x "$WX_CONFIG_NAME" ; then
376- AC_MSG_CHECKING(for wx-config)
377- WX_CONFIG_PATH="$WX_CONFIG_NAME"
378- AC_MSG_RESULT($WX_CONFIG_PATH)
379- else
380- AC_PATH_PROG(WX_CONFIG_PATH, $WX_CONFIG_NAME, no, "$WX_LOOKUP_PATH:$PATH")
381- fi
382-
383- if test "$WX_CONFIG_PATH" != "no" ; then
384- WX_VERSION=""
385-
386- min_wx_version=ifelse([$1], ,2.2.1,$1)
387- if test -z "$5" ; then
388- AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version])
389- else
390- AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version ($5)])
391- fi
392-
393- dnl don't add the libraries ($4) to this variable as this would result in
394- dnl an error when it's used with --version below
395- WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $5"
396-
397- WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
398- wx_config_major_version=`echo $WX_VERSION | \
399- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
400- wx_config_minor_version=`echo $WX_VERSION | \
401- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
402- wx_config_micro_version=`echo $WX_VERSION | \
403- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
404-
405- wx_requested_major_version=`echo $min_wx_version | \
406- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
407- wx_requested_minor_version=`echo $min_wx_version | \
408- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
409- wx_requested_micro_version=`echo $min_wx_version | \
410- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
411-
412- _WX_PRIVATE_CHECK_VERSION([$wx_requested_major_version],
413- [$wx_requested_minor_version],
414- [$wx_requested_micro_version])
415-
416- if test -n "$wx_ver_ok"; then
417- AC_MSG_RESULT(yes (version $WX_VERSION))
418- WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs $4`
419-
420- dnl is this even still appropriate? --static is a real option now
421- dnl and WX_CONFIG_WITH_ARGS is likely to contain it if that is
422- dnl what the user actually wants, making this redundant at best.
423- dnl For now keep it in case anyone actually used it in the past.
424- AC_MSG_CHECKING([for wxWidgets static library])
425- WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs $4 2>/dev/null`
426- if test "x$WX_LIBS_STATIC" = "x"; then
427- AC_MSG_RESULT(no)
428- else
429- AC_MSG_RESULT(yes)
430- fi
431-
432- dnl starting with version 2.2.6 wx-config has --cppflags argument
433- wx_has_cppflags=""
434- if test $wx_config_major_version -gt 2; then
435- wx_has_cppflags=yes
436- else
437- if test $wx_config_major_version -eq 2; then
438- if test $wx_config_minor_version -gt 2; then
439- wx_has_cppflags=yes
440- else
441- if test $wx_config_minor_version -eq 2; then
442- if test $wx_config_micro_version -ge 6; then
443- wx_has_cppflags=yes
444- fi
445- fi
446- fi
447- fi
448- fi
449-
450- dnl starting with version 2.7.0 wx-config has --rescomp option
451- wx_has_rescomp=""
452- if test $wx_config_major_version -gt 2; then
453- wx_has_rescomp=yes
454- else
455- if test $wx_config_major_version -eq 2; then
456- if test $wx_config_minor_version -ge 7; then
457- wx_has_rescomp=yes
458- fi
459- fi
460- fi
461- if test "x$wx_has_rescomp" = x ; then
462- dnl cannot give any useful info for resource compiler
463- WX_RESCOMP=
464- else
465- WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
466- fi
467-
468- if test "x$wx_has_cppflags" = x ; then
469- dnl no choice but to define all flags like CFLAGS
470- WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags $4`
471- WX_CPPFLAGS=$WX_CFLAGS
472- WX_CXXFLAGS=$WX_CFLAGS
473-
474- WX_CFLAGS_ONLY=$WX_CFLAGS
475- WX_CXXFLAGS_ONLY=$WX_CFLAGS
476- else
477- dnl we have CPPFLAGS included in CFLAGS included in CXXFLAGS
478- WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags $4`
479- WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags $4`
480- WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags $4`
481-
482- WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
483- WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
484- fi
485-
486- ifelse([$2], , :, [$2])
487-
488- else
489-
490- if test "x$WX_VERSION" = x; then
491- dnl no wx-config at all
492- AC_MSG_RESULT(no)
493- else
494- AC_MSG_RESULT(no (version $WX_VERSION is not new enough))
495- fi
496-
497- WX_CFLAGS=""
498- WX_CPPFLAGS=""
499- WX_CXXFLAGS=""
500- WX_LIBS=""
501- WX_LIBS_STATIC=""
502- WX_RESCOMP=""
503-
504- if test ! -z "$5"; then
505-
506- wx_error_message="
507- The configuration you asked for $PACKAGE_NAME requires a wxWidgets
508- build with the following settings:
509- $5
510- but such build is not available.
511-
512- To see the wxWidgets builds available on this system, please use
513- 'wx-config --list' command. To use the default build, returned by
514- 'wx-config --selected-config', use the options with their 'auto'
515- default values."
516-
517- fi
518-
519- wx_error_message="
520- The requested wxWidgets build couldn't be found.
521- $wx_error_message
522-
523- If you still get this error, then check that 'wx-config' is
524- in path, the directory where wxWidgets libraries are installed
525- (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
526- or equivalent variable and wxWidgets version is $1 or above."
527-
528- ifelse([$3], , AC_MSG_ERROR([$wx_error_message]), [$3])
529-
530- fi
531- else
532-
533- WX_CFLAGS=""
534- WX_CPPFLAGS=""
535- WX_CXXFLAGS=""
536- WX_LIBS=""
537- WX_LIBS_STATIC=""
538- WX_RESCOMP=""
539-
540- ifelse([$3], , :, [$3])
541-
542- fi
543-
544- AC_SUBST(WX_CPPFLAGS)
545- AC_SUBST(WX_CFLAGS)
546- AC_SUBST(WX_CXXFLAGS)
547- AC_SUBST(WX_CFLAGS_ONLY)
548- AC_SUBST(WX_CXXFLAGS_ONLY)
549- AC_SUBST(WX_LIBS)
550- AC_SUBST(WX_LIBS_STATIC)
551- AC_SUBST(WX_VERSION)
552- AC_SUBST(WX_RESCOMP)
553-
554- dnl need to export also WX_VERSION_MINOR and WX_VERSION_MAJOR symbols
555- dnl to support wxpresets bakefiles (we export also WX_VERSION_MICRO for completeness):
556- WX_VERSION_MAJOR="$wx_config_major_version"
557- WX_VERSION_MINOR="$wx_config_minor_version"
558- WX_VERSION_MICRO="$wx_config_micro_version"
559- AC_SUBST(WX_VERSION_MAJOR)
560- AC_SUBST(WX_VERSION_MINOR)
561- AC_SUBST(WX_VERSION_MICRO)
562-])
563-
564-dnl ---------------------------------------------------------------------------
565-dnl Get information on the wxrc program for making C++, Python and xrs
566-dnl resource files.
567-dnl
568-dnl AC_ARG_ENABLE(...)
569-dnl AC_ARG_WITH(...)
570-dnl ...
571-dnl WX_CONFIG_OPTIONS
572-dnl ...
573-dnl WX_CONFIG_CHECK(2.6.0, wxWin=1)
574-dnl if test "$wxWin" != 1; then
575-dnl AC_MSG_ERROR([
576-dnl wxWidgets must be installed on your system
577-dnl but wx-config script couldn't be found.
578-dnl
579-dnl Please check that wx-config is in path, the directory
580-dnl where wxWidgets libraries are installed (returned by
581-dnl 'wx-config --libs' command) is in LD_LIBRARY_PATH or
582-dnl equivalent variable and wxWidgets version is 2.6.0 or above.
583-dnl ])
584-dnl fi
585-dnl
586-dnl WXRC_CHECK([HAVE_WXRC=1], [HAVE_WXRC=0])
587-dnl if test "x$HAVE_WXRC" != x1; then
588-dnl AC_MSG_ERROR([
589-dnl The wxrc program was not installed or not found.
590-dnl
591-dnl Please check the wxWidgets installation.
592-dnl ])
593-dnl fi
594-dnl
595-dnl CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
596-dnl CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
597-dnl CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
598-dnl
599-dnl LDFLAGS="$LDFLAGS $WX_LIBS"
600-dnl ---------------------------------------------------------------------------
601-
602-dnl ---------------------------------------------------------------------------
603-dnl WXRC_CHECK([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
604-dnl
605-dnl Test for wxWidgets' wxrc program for creating either C++, Python or XRS
606-dnl resources. The variable WXRC will be set and substituted in the configure
607-dnl script and Makefiles.
608-dnl
609-dnl Example use:
610-dnl WXRC_CHECK([wxrc=1], [wxrc=0])
611-dnl ---------------------------------------------------------------------------
612-
613-dnl
614-dnl wxrc program from the wx-config script
615-dnl
616-AC_DEFUN([WXRC_CHECK],
617-[
618- AC_ARG_VAR([WXRC], [Path to wxWidget's wxrc resource compiler])
619-
620- if test "x$WX_CONFIG_NAME" = x; then
621- AC_MSG_ERROR([The wxrc tests must run after wxWidgets test.])
622- else
623-
624- AC_MSG_CHECKING([for wxrc])
625-
626- if test "x$WXRC" = x ; then
627- dnl wx-config --utility is a new addition to wxWidgets:
628- _WX_PRIVATE_CHECK_VERSION(2,5,3)
629- if test -n "$wx_ver_ok"; then
630- WXRC=`$WX_CONFIG_WITH_ARGS --utility=wxrc`
631- fi
632- fi
633-
634- if test "x$WXRC" = x ; then
635- AC_MSG_RESULT([not found])
636- ifelse([$2], , :, [$2])
637- else
638- AC_MSG_RESULT([$WXRC])
639- ifelse([$1], , :, [$1])
640- fi
641-
642- AC_SUBST(WXRC)
643- fi
644-])
645-
646-dnl ---------------------------------------------------------------------------
647-dnl WX_LIKE_LIBNAME([output-var] [prefix], [name])
648-dnl
649-dnl Sets the "output-var" variable to the name of a library named with same
650-dnl wxWidgets rule.
651-dnl E.g. for output-var=='lib', name=='test', prefix='mine', sets
652-dnl the $lib variable to:
653-dnl 'mine_gtk2ud_test-2.8'
654-dnl if WX_PORT=gtk2, WX_UNICODE=1, WX_DEBUG=1 and WX_RELEASE=28
655-dnl ---------------------------------------------------------------------------
656-AC_DEFUN([WX_LIKE_LIBNAME],
657- [
658- wx_temp="$2""_""$WX_PORT"
659-
660- dnl add the [u][d] string
661- if test "$WX_UNICODE" = "1"; then
662- wx_temp="$wx_temp""u"
663- fi
664- if test "$WX_DEBUG" = "1"; then
665- wx_temp="$wx_temp""d"
666- fi
667-
668- dnl complete the name of the lib
669- wx_temp="$wx_temp""_""$3""-$WX_VERSION_MAJOR.$WX_VERSION_MINOR"
670-
671- dnl save it in the user's variable
672- $1=$wx_temp
673- ])
674-
675-dnl ---------------------------------------------------------------------------
676-dnl WX_ARG_ENABLE_YESNOAUTO/WX_ARG_WITH_YESNOAUTO
677-dnl
678-dnl Two little custom macros which define the ENABLE/WITH configure arguments.
679-dnl Macro arguments:
680-dnl $1 = the name of the --enable / --with feature
681-dnl $2 = the name of the variable associated
682-dnl $3 = the description of that feature
683-dnl $4 = the default value for that feature
684-dnl $5 = additional action to do in case option is given with "yes" value
685-dnl ---------------------------------------------------------------------------
686-AC_DEFUN([WX_ARG_ENABLE_YESNOAUTO],
687- [AC_ARG_ENABLE($1,
688- AC_HELP_STRING([--enable-$1], [$3 (default is $4)]),
689- [], [enableval="$4"])
690-
691- dnl Show a message to the user about this option
692- AC_MSG_CHECKING([for the --enable-$1 option])
693- if test "$enableval" = "yes" ; then
694- AC_MSG_RESULT([yes])
695- $2=1
696- $5
697- elif test "$enableval" = "no" ; then
698- AC_MSG_RESULT([no])
699- $2=0
700- elif test "$enableval" = "auto" ; then
701- AC_MSG_RESULT([will be automatically detected])
702- $2="auto"
703- else
704- AC_MSG_ERROR([
705- Unrecognized option value (allowed values: yes, no, auto)
706- ])
707- fi
708- ])
709-
710-AC_DEFUN([WX_ARG_WITH_YESNOAUTO],
711- [AC_ARG_WITH($1,
712- AC_HELP_STRING([--with-$1], [$3 (default is $4)]),
713- [], [withval="$4"])
714-
715- dnl Show a message to the user about this option
716- AC_MSG_CHECKING([for the --with-$1 option])
717- if test "$withval" = "yes" ; then
718- AC_MSG_RESULT([yes])
719- $2=1
720- $5
721- dnl NB: by default we don't allow --with-$1=no option
722- dnl since it does not make much sense !
723- elif test "$6" = "1" -a "$withval" = "no" ; then
724- AC_MSG_RESULT([no])
725- $2=0
726- elif test "$withval" = "auto" ; then
727- AC_MSG_RESULT([will be automatically detected])
728- $2="auto"
729- else
730- AC_MSG_ERROR([
731- Unrecognized option value (allowed values: yes, auto)
732- ])
733- fi
734- ])
735-
736-
737-dnl ---------------------------------------------------------------------------
738-dnl WX_STANDARD_OPTIONS([options-to-add])
739-dnl
740-dnl Adds to the configure script one or more of the following options:
741-dnl --enable-[debug|unicode|shared|wxshared|wxdebug]
742-dnl --with-[gtk|msw|motif|x11|mac|mgl|dfb]
743-dnl --with-wxversion
744-dnl Then checks for their presence and eventually set the DEBUG, UNICODE, SHARED,
745-dnl PORT, WX_SHARED, WX_DEBUG, variables to one of the "yes", "no", "auto" values.
746-dnl
747-dnl Note that e.g. UNICODE != WX_UNICODE; the first is the value of the
748-dnl --enable-unicode option (in boolean format) while the second indicates
749-dnl if wxWidgets was built in Unicode mode (and still is in boolean format).
750-dnl ---------------------------------------------------------------------------
751-AC_DEFUN([WX_STANDARD_OPTIONS],
752- [
753-
754- dnl the following lines will expand to WX_ARG_ENABLE_YESNOAUTO calls if and only if
755- dnl the $1 argument contains respectively the debug,unicode or shared options.
756-
757- dnl be careful here not to set debug flag if only "wxdebug" was specified
758- ifelse(regexp([$1], [\bdebug]), [-1],,
759- [WX_ARG_ENABLE_YESNOAUTO([debug], [DEBUG], [Build in debug mode], [auto])])
760-
761- ifelse(index([$1], [unicode]), [-1],,
762- [WX_ARG_ENABLE_YESNOAUTO([unicode], [UNICODE], [Build in Unicode mode], [auto])])
763-
764- ifelse(regexp([$1], [\bshared]), [-1],,
765- [WX_ARG_ENABLE_YESNOAUTO([shared], [SHARED], [Build as shared library], [auto])])
766-
767- dnl WX_ARG_WITH_YESNOAUTO cannot be used for --with-toolkit since it's an option
768- dnl which must be able to accept the auto|gtk1|gtk2|msw|... values
769- ifelse(index([$1], [toolkit]), [-1],,
770- [
771- AC_ARG_WITH([toolkit],
772- AC_HELP_STRING([--with-toolkit],
773- [Build against a specific wxWidgets toolkit (default is auto)]),
774- [], [withval="auto"])
775-
776- dnl Show a message to the user about this option
777- AC_MSG_CHECKING([for the --with-toolkit option])
778- if test "$withval" = "auto" ; then
779- AC_MSG_RESULT([will be automatically detected])
780- TOOLKIT="auto"
781- else
782- TOOLKIT="$withval"
783-
784- dnl PORT must be one of the allowed values
785- if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
786- "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
787- "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
788- "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" ; then
789- AC_MSG_ERROR([
790- Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb)
791- ])
792- fi
793-
794- AC_MSG_RESULT([$TOOLKIT])
795- fi
796- ])
797-
798- dnl ****** IMPORTANT *******
799- dnl Unlike for the UNICODE setting, you can build your program in
800- dnl shared mode against a static build of wxWidgets. Thus we have the
801- dnl following option which allows these mixtures. E.g.
802- dnl
803- dnl ./configure --disable-shared --with-wxshared
804- dnl
805- dnl will build your library in static mode against the first available
806- dnl shared build of wxWidgets.
807- dnl
808- dnl Note that's not possible to do the viceversa:
809- dnl
810- dnl ./configure --enable-shared --without-wxshared
811- dnl
812- dnl Doing so you would try to build your library in shared mode against a static
813- dnl build of wxWidgets. This is not possible (you would mix PIC and non PIC code) !
814- dnl A check for this combination of options is in WX_DETECT_STANDARD_OPTION_VALUES
815- dnl (where we know what 'auto' should be expanded to).
816- dnl
817- dnl If you try to build something in ANSI mode against a UNICODE build
818- dnl of wxWidgets or in RELEASE mode against a DEBUG build of wxWidgets,
819- dnl then at best you'll get ton of linking errors !
820- dnl ************************
821-
822- ifelse(index([$1], [wxshared]), [-1],,
823- [
824- WX_ARG_WITH_YESNOAUTO(
825- [wxshared], [WX_SHARED],
826- [Force building against a shared build of wxWidgets, even if --disable-shared is given],
827- [auto], [], [1])
828- ])
829-
830- dnl Just like for SHARED and WX_SHARED it may happen that some adventurous
831- dnl peoples will want to mix a wxWidgets release build with a debug build of
832- dnl his app/lib. So, we have both DEBUG and WX_DEBUG variables.
833- ifelse(index([$1], [wxdebug]), [-1],,
834- [
835- WX_ARG_WITH_YESNOAUTO(
836- [wxdebug], [WX_DEBUG],
837- [Force building against a debug build of wxWidgets, even if --disable-debug is given],
838- [auto], [], [1])
839- ])
840-
841- dnl WX_ARG_WITH_YESNOAUTO cannot be used for --with-wxversion since it's an option
842- dnl which accepts the "auto|2.6|2.7|2.8|2.9|3.0" etc etc values
843- ifelse(index([$1], [wxversion]), [-1],,
844- [
845- AC_ARG_WITH([wxversion],
846- AC_HELP_STRING([--with-wxversion],
847- [Build against a specific version of wxWidgets (default is auto)]),
848- [], [withval="auto"])
849-
850- dnl Show a message to the user about this option
851- AC_MSG_CHECKING([for the --with-wxversion option])
852- if test "$withval" = "auto" ; then
853- AC_MSG_RESULT([will be automatically detected])
854- WX_RELEASE="auto"
855- else
856-
857- wx_requested_major_version=`echo $withval | \
858- sed 's/\([[0-9]]*\).\([[0-9]]*\).*/\1/'`
859- wx_requested_minor_version=`echo $withval | \
860- sed 's/\([[0-9]]*\).\([[0-9]]*\).*/\2/'`
861-
862- dnl both vars above must be exactly 1 digit
863- if test "${#wx_requested_major_version}" != "1" -o \
864- "${#wx_requested_minor_version}" != "1" ; then
865- AC_MSG_ERROR([
866- Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9, 3.0)
867- ])
868- fi
869-
870- WX_RELEASE="$wx_requested_major_version"".""$wx_requested_minor_version"
871- AC_MSG_RESULT([$WX_RELEASE])
872- fi
873- ])
874-
875- if test "$WX_DEBUG_CONFIGURE" = "1"; then
876- echo "[[dbg]] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
877- echo "[[dbg]] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
878- echo "[[dbg]] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
879- echo "[[dbg]] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
880- echo "[[dbg]] VERSION: $VERSION, WX_RELEASE: $WX_RELEASE"
881- fi
882- ])
883-
884-
885-dnl ---------------------------------------------------------------------------
886-dnl WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS
887-dnl
888-dnl Sets the WXCONFIG_FLAGS string using the SHARED,DEBUG,UNICODE variable values
889-dnl which are different from "auto".
890-dnl Thus this macro needs to be called only once all options have been set.
891-dnl ---------------------------------------------------------------------------
892-AC_DEFUN([WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS],
893- [
894- if test "$WX_SHARED" = "1" ; then
895- WXCONFIG_FLAGS="--static=no "
896- elif test "$WX_SHARED" = "0" ; then
897- WXCONFIG_FLAGS="--static=yes "
898- fi
899-
900- if test "$WX_DEBUG" = "1" ; then
901- WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes "
902- elif test "$WX_DEBUG" = "0" ; then
903- WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no "
904- fi
905-
906- dnl The user should have set WX_UNICODE=UNICODE
907- if test "$WX_UNICODE" = "1" ; then
908- WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes "
909- elif test "$WX_UNICODE" = "0" ; then
910- WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no "
911- fi
912-
913- if test "$TOOLKIT" != "auto" ; then
914- WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
915- fi
916-
917- if test "$WX_RELEASE" != "auto" ; then
918- WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_RELEASE "
919- fi
920-
921- dnl strip out the last space of the string
922- WXCONFIG_FLAGS=${WXCONFIG_FLAGS% }
923-
924- if test "$WX_DEBUG_CONFIGURE" = "1"; then
925- echo "[[dbg]] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
926- fi
927- ])
928-
929-
930-dnl ---------------------------------------------------------------------------
931-dnl _WX_SELECTEDCONFIG_CHECKFOR([RESULTVAR], [STRING], [MSG]
932-dnl [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
933-dnl
934-dnl Outputs the given MSG. Then searches the given STRING in the wxWidgets
935-dnl additional CPP flags and put the result of the search in WX_$RESULTVAR
936-dnl also adding the "yes" or "no" message result to MSG.
937-dnl ---------------------------------------------------------------------------
938-AC_DEFUN([_WX_SELECTEDCONFIG_CHECKFOR],
939- [
940- if test "$$1" = "auto" ; then
941-
942- dnl The user does not have particular preferences for this option;
943- dnl so we will detect the wxWidgets relative build setting and use it
944- AC_MSG_CHECKING([$3])
945-
946- dnl set WX_$1 variable to 1 if the $WX_SELECTEDCONFIG contains the $2
947- dnl string or to 0 otherwise.
948- dnl NOTE: 'expr match STRING REGEXP' cannot be used since on Mac it
949- dnl doesn't work; we use 'expr STRING : REGEXP' instead
950- WX_$1=$(expr "$WX_SELECTEDCONFIG" : ".*$2.*")
951-
952- if test "$WX_$1" != "0"; then
953- WX_$1=1
954- AC_MSG_RESULT([yes])
955- ifelse([$4], , :, [$4])
956- else
957- WX_$1=0
958- AC_MSG_RESULT([no])
959- ifelse([$5], , :, [$5])
960- fi
961- else
962-
963- dnl Use the setting given by the user
964- WX_$1=$$1
965- fi
966- ])
967-
968-dnl ---------------------------------------------------------------------------
969-dnl WX_DETECT_STANDARD_OPTION_VALUES
970-dnl
971-dnl Detects the values of the following variables:
972-dnl 1) WX_RELEASE
973-dnl 2) WX_UNICODE
974-dnl 3) WX_DEBUG
975-dnl 4) WX_SHARED (and also WX_STATIC)
976-dnl 5) WX_PORT
977-dnl from the previously selected wxWidgets build; this macro in fact must be
978-dnl called *after* calling the WX_CONFIG_CHECK macro.
979-dnl
980-dnl Note that the WX_VERSION_MAJOR, WX_VERSION_MINOR symbols are already set
981-dnl by WX_CONFIG_CHECK macro
982-dnl ---------------------------------------------------------------------------
983-AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES],
984- [
985- dnl IMPORTANT: WX_VERSION contains all three major.minor.micro digits,
986- dnl while WX_RELEASE only the major.minor ones.
987- WX_RELEASE="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
988- if test $WX_RELEASE -lt 26 ; then
989-
990- AC_MSG_ERROR([
991- Cannot detect the wxWidgets configuration for the selected wxWidgets build
992- since its version is $WX_VERSION < 2.6.0; please install a newer
993- version of wxWidgets.
994- ])
995- fi
996-
997- dnl The wx-config we are using understands the "--selected_config"
998- dnl option which returns an easy-parseable string !
999- WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config)
1000-
1001- if test "$WX_DEBUG_CONFIGURE" = "1"; then
1002- echo "[[dbg]] Using wx-config --selected-config"
1003- echo "[[dbg]] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
1004- fi
1005-
1006-
1007- dnl we could test directly for WX_SHARED with a line like:
1008- dnl _WX_SELECTEDCONFIG_CHECKFOR([SHARED], [shared],
1009- dnl [if wxWidgets was built in SHARED mode])
1010- dnl but wx-config --selected-config DOES NOT outputs the 'shared'
1011- dnl word when wx was built in shared mode; it rather outputs the
1012- dnl 'static' word when built in static mode.
1013- if test $WX_SHARED = "1"; then
1014- STATIC=0
1015- elif test $WX_SHARED = "0"; then
1016- STATIC=1
1017- elif test $WX_SHARED = "auto"; then
1018- STATIC="auto"
1019- fi
1020-
1021- dnl Now set the WX_UNICODE, WX_DEBUG, WX_STATIC variables
1022- _WX_SELECTEDCONFIG_CHECKFOR([UNICODE], [unicode],
1023- [if wxWidgets was built with UNICODE enabled])
1024- _WX_SELECTEDCONFIG_CHECKFOR([DEBUG], [debug],
1025- [if wxWidgets was built in DEBUG mode])
1026- _WX_SELECTEDCONFIG_CHECKFOR([STATIC], [static],
1027- [if wxWidgets was built in STATIC mode])
1028-
1029- dnl init WX_SHARED from WX_STATIC
1030- if test "$WX_STATIC" != "0"; then
1031- WX_SHARED=0
1032- else
1033- WX_SHARED=1
1034- fi
1035-
1036- AC_SUBST(WX_UNICODE)
1037- AC_SUBST(WX_DEBUG)
1038- AC_SUBST(WX_SHARED)
1039-
1040- dnl detect the WX_PORT to use
1041- if test "$TOOLKIT" = "auto" ; then
1042-
1043- dnl The user does not have particular preferences for this option;
1044- dnl so we will detect the wxWidgets relative build setting and use it
1045- AC_MSG_CHECKING([which wxWidgets toolkit was selected])
1046-
1047- WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
1048- WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
1049- WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
1050- WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
1051- WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
1052- WX_OSXCARBONPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_carbon.*")
1053- WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
1054- WX_MGLPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
1055- WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
1056-
1057- WX_PORT="unknown"
1058- if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi
1059- if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi
1060- if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi
1061- if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi
1062- if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi
1063- if test "$WX_OSXCARBONPORT" != "0"; then WX_PORT="osx_carbon"; fi
1064- if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi
1065- if test "$WX_MGLPORT" != "0"; then WX_PORT="mgl"; fi
1066- if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi
1067-
1068- dnl NOTE: backward-compatible check for wx2.8; in wx2.9 the mac
1069- dnl ports are called 'osx_cocoa' and 'osx_carbon' (see above)
1070- WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
1071- if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi
1072-
1073- dnl check at least one of the WX_*PORT has been set !
1074-
1075- if test "$WX_PORT" = "unknown" ; then
1076- AC_MSG_ERROR([
1077- Cannot detect the currently installed wxWidgets port !
1078- Please check your 'wx-config --cxxflags'...
1079- ])
1080- fi
1081-
1082- AC_MSG_RESULT([$WX_PORT])
1083- else
1084-
1085- dnl Use the setting given by the user
1086- if test -z "$TOOLKIT" ; then
1087- WX_PORT=$TOOLKIT
1088- else
1089- dnl try with PORT
1090- WX_PORT=$PORT
1091- fi
1092- fi
1093-
1094- AC_SUBST(WX_PORT)
1095-
1096- if test "$WX_DEBUG_CONFIGURE" = "1"; then
1097- echo "[[dbg]] Values of all WX_* options after final detection:"
1098- echo "[[dbg]] WX_DEBUG: $WX_DEBUG"
1099- echo "[[dbg]] WX_UNICODE: $WX_UNICODE"
1100- echo "[[dbg]] WX_SHARED: $WX_SHARED"
1101- echo "[[dbg]] WX_RELEASE: $WX_RELEASE"
1102- echo "[[dbg]] WX_PORT: $WX_PORT"
1103- fi
1104-
1105- dnl Avoid problem described in the WX_STANDARD_OPTIONS which happens when
1106- dnl the user gives the options:
1107- dnl ./configure --enable-shared --without-wxshared
1108- dnl or just do
1109- dnl ./configure --enable-shared
1110- dnl but there is only a static build of wxWidgets available.
1111- if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
1112- AC_MSG_ERROR([
1113- Cannot build shared library against a static build of wxWidgets !
1114- This error happens because the wxWidgets build which was selected
1115- has been detected as static while you asked to build $PACKAGE_NAME
1116- as shared library and this is not possible.
1117- Use the '--disable-shared' option to build $PACKAGE_NAME
1118- as static library or '--with-wxshared' to use wxWidgets as shared library.
1119- ])
1120- fi
1121-
1122- dnl now we can finally update the DEBUG,UNICODE,SHARED options
1123- dnl to their final values if they were set to 'auto'
1124- if test "$DEBUG" = "auto"; then
1125- DEBUG=$WX_DEBUG
1126- fi
1127- if test "$UNICODE" = "auto"; then
1128- UNICODE=$WX_UNICODE
1129- fi
1130- if test "$SHARED" = "auto"; then
1131- SHARED=$WX_SHARED
1132- fi
1133- if test "$TOOLKIT" = "auto"; then
1134- TOOLKIT=$WX_PORT
1135- fi
1136-
1137- dnl in case the user needs a BUILD=debug/release var...
1138- if test "$DEBUG" = "1"; then
1139- BUILD="debug"
1140- elif test "$DEBUG" = "0" -o "$DEBUG" = ""; then
1141- BUILD="release"
1142- fi
1143-
1144- dnl respect the DEBUG variable adding the optimize/debug flags
1145- dnl NOTE: the CXXFLAGS are merged together with the CPPFLAGS so we
1146- dnl don't need to set them, too
1147- if test "$DEBUG" = "1"; then
1148- CXXFLAGS="$CXXFLAGS -g -O0"
1149- CFLAGS="$CFLAGS -g -O0"
1150- else
1151- CXXFLAGS="$CXXFLAGS -O2"
1152- CFLAGS="$CFLAGS -O2"
1153- fi
1154- ])
1155-
1156-dnl ---------------------------------------------------------------------------
1157-dnl WX_BOOLOPT_SUMMARY([name of the boolean variable to show summary for],
1158-dnl [what to print when var is 1],
1159-dnl [what to print when var is 0])
1160-dnl
1161-dnl Prints $2 when variable $1 == 1 and prints $3 when variable $1 == 0.
1162-dnl This macro mainly exists just to make configure.ac scripts more readable.
1163-dnl
1164-dnl NOTE: you need to use the [" my message"] syntax for 2nd and 3rd arguments
1165-dnl if you want that m4 avoid to throw away the spaces prefixed to the
1166-dnl argument value.
1167-dnl ---------------------------------------------------------------------------
1168-AC_DEFUN([WX_BOOLOPT_SUMMARY],
1169- [
1170- if test "x$$1" = "x1" ; then
1171- echo $2
1172- elif test "x$$1" = "x0" ; then
1173- echo $3
1174- else
1175- echo "$1 is $$1"
1176- fi
1177- ])
1178-
1179-dnl ---------------------------------------------------------------------------
1180-dnl WX_STANDARD_OPTIONS_SUMMARY_MSG
1181-dnl
1182-dnl Shows a summary message to the user about the WX_* variable contents.
1183-dnl This macro is used typically at the end of the configure script.
1184-dnl ---------------------------------------------------------------------------
1185-AC_DEFUN([WX_STANDARD_OPTIONS_SUMMARY_MSG],
1186- [
1187- echo
1188- echo " The wxWidgets build which will be used by $PACKAGE_NAME $PACKAGE_VERSION"
1189- echo " has the following settings:"
1190- WX_BOOLOPT_SUMMARY([WX_DEBUG], [" - DEBUG build"], [" - RELEASE build"])
1191- WX_BOOLOPT_SUMMARY([WX_UNICODE], [" - UNICODE mode"], [" - ANSI mode"])
1192- WX_BOOLOPT_SUMMARY([WX_SHARED], [" - SHARED mode"], [" - STATIC mode"])
1193- echo " - VERSION: $WX_VERSION"
1194- echo " - PORT: $WX_PORT"
1195- ])
1196-
1197-
1198-dnl ---------------------------------------------------------------------------
1199-dnl WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN, WX_STANDARD_OPTIONS_SUMMARY_MSG_END
1200-dnl
1201-dnl Like WX_STANDARD_OPTIONS_SUMMARY_MSG macro but these two macros also gives info
1202-dnl about the configuration of the package which used the wxpresets.
1203-dnl
1204-dnl Typical usage:
1205-dnl WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN
1206-dnl echo " - Package setting 1: $SETTING1"
1207-dnl echo " - Package setting 2: $SETTING1"
1208-dnl ...
1209-dnl WX_STANDARD_OPTIONS_SUMMARY_MSG_END
1210-dnl
1211-dnl ---------------------------------------------------------------------------
1212-AC_DEFUN([WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN],
1213- [
1214- echo
1215- echo " ----------------------------------------------------------------"
1216- echo " Configuration for $PACKAGE_NAME $PACKAGE_VERSION successfully completed."
1217- echo " Summary of main configuration settings for $PACKAGE_NAME:"
1218- WX_BOOLOPT_SUMMARY([DEBUG], [" - DEBUG build"], [" - RELEASE build"])
1219- WX_BOOLOPT_SUMMARY([UNICODE], [" - UNICODE mode"], [" - ANSI mode"])
1220- WX_BOOLOPT_SUMMARY([SHARED], [" - SHARED mode"], [" - STATIC mode"])
1221- ])
1222-
1223-AC_DEFUN([WX_STANDARD_OPTIONS_SUMMARY_MSG_END],
1224- [
1225- WX_STANDARD_OPTIONS_SUMMARY_MSG
1226- echo
1227- echo " Now, just run make."
1228- echo " ----------------------------------------------------------------"
1229- echo
1230- ])
1231-
1232-
1233-dnl ---------------------------------------------------------------------------
1234-dnl Deprecated macro wrappers
1235-dnl ---------------------------------------------------------------------------
1236-
1237-AC_DEFUN([AM_OPTIONS_WXCONFIG], [WX_CONFIG_OPTIONS])
1238-AC_DEFUN([AM_PATH_WXCONFIG], [
1239- WX_CONFIG_CHECK([$1],[$2],[$3],[$4],[$5])
1240-])
1241-AC_DEFUN([AM_PATH_WXRC], [WXRC_CHECK([$1],[$2])])
1242-
1243-# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
1244-# Foundation, Inc.
1245-#
1246-# This file is free software; the Free Software Foundation
1247-# gives unlimited permission to copy and/or distribute it,
1248-# with or without modifications, as long as this notice is preserved.
1249-
1250-# serial 1
1251-
1252-# AM_AUTOMAKE_VERSION(VERSION)
1253-# ----------------------------
1254-# Automake X.Y traces this macro to ensure aclocal.m4 has been
1255-# generated from the m4 files accompanying Automake X.Y.
1256-# (This private macro should not be called outside this file.)
1257-AC_DEFUN([AM_AUTOMAKE_VERSION],
1258-[am__api_version='1.11'
1259-dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1260-dnl require some minimum version. Point them to the right macro.
1261-m4_if([$1], [1.11.2], [],
1262- [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1263-])
1264-
1265-# _AM_AUTOCONF_VERSION(VERSION)
1266-# -----------------------------
1267-# aclocal traces this macro to find the Autoconf version.
1268-# This is a private macro too. Using m4_define simplifies
1269-# the logic in aclocal, which can simply ignore this definition.
1270-m4_define([_AM_AUTOCONF_VERSION], [])
1271-
1272-# AM_SET_CURRENT_AUTOMAKE_VERSION
1273-# -------------------------------
1274-# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
1275-# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
1276-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1277-[AM_AUTOMAKE_VERSION([1.11.2])dnl
1278-m4_ifndef([AC_AUTOCONF_VERSION],
1279- [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1280-_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1281-
1282-# AM_AUX_DIR_EXPAND -*- Autoconf -*-
1283-
1284-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1285-#
1286-# This file is free software; the Free Software Foundation
1287-# gives unlimited permission to copy and/or distribute it,
1288-# with or without modifications, as long as this notice is preserved.
1289-
1290-# serial 1
1291-
1292-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
1293-# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
1294-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
1295-#
1296-# Of course, Automake must honor this variable whenever it calls a
1297-# tool from the auxiliary directory. The problem is that $srcdir (and
1298-# therefore $ac_aux_dir as well) can be either absolute or relative,
1299-# depending on how configure is run. This is pretty annoying, since
1300-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
1301-# source directory, any form will work fine, but in subdirectories a
1302-# relative path needs to be adjusted first.
1303-#
1304-# $ac_aux_dir/missing
1305-# fails when called from a subdirectory if $ac_aux_dir is relative
1306-# $top_srcdir/$ac_aux_dir/missing
1307-# fails if $ac_aux_dir is absolute,
1308-# fails when called from a subdirectory in a VPATH build with
1309-# a relative $ac_aux_dir
1310-#
1311-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
1312-# are both prefixed by $srcdir. In an in-source build this is usually
1313-# harmless because $srcdir is `.', but things will broke when you
1314-# start a VPATH build or use an absolute $srcdir.
1315-#
1316-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
1317-# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
1318-# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
1319-# and then we would define $MISSING as
1320-# MISSING="\${SHELL} $am_aux_dir/missing"
1321-# This will work as long as MISSING is not called from configure, because
1322-# unfortunately $(top_srcdir) has no meaning in configure.
1323-# However there are other variables, like CC, which are often used in
1324-# configure, and could therefore not use this "fixed" $ac_aux_dir.
1325-#
1326-# Another solution, used here, is to always expand $ac_aux_dir to an
1327-# absolute PATH. The drawback is that using absolute paths prevent a
1328-# configured tree to be moved without reconfiguration.
1329-
1330-AC_DEFUN([AM_AUX_DIR_EXPAND],
1331-[dnl Rely on autoconf to set up CDPATH properly.
1332-AC_PREREQ([2.50])dnl
1333-# expand $ac_aux_dir to an absolute path
1334-am_aux_dir=`cd $ac_aux_dir && pwd`
1335-])
1336-
1337-# AM_CONDITIONAL -*- Autoconf -*-
1338-
1339-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
1340-# Free Software Foundation, Inc.
1341-#
1342-# This file is free software; the Free Software Foundation
1343-# gives unlimited permission to copy and/or distribute it,
1344-# with or without modifications, as long as this notice is preserved.
1345-
1346-# serial 9
1347-
1348-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
1349-# -------------------------------------
1350-# Define a conditional.
1351-AC_DEFUN([AM_CONDITIONAL],
1352-[AC_PREREQ(2.52)dnl
1353- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1354- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1355-AC_SUBST([$1_TRUE])dnl
1356-AC_SUBST([$1_FALSE])dnl
1357-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
1358-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
1359-m4_define([_AM_COND_VALUE_$1], [$2])dnl
1360-if $2; then
1361- $1_TRUE=
1362- $1_FALSE='#'
1363-else
1364- $1_TRUE='#'
1365- $1_FALSE=
1366-fi
1367-AC_CONFIG_COMMANDS_PRE(
1368-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1369- AC_MSG_ERROR([[conditional "$1" was never defined.
1370-Usually this means the macro was only invoked conditionally.]])
1371-fi])])
1372-
1373-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
1374-# 2010, 2011 Free Software Foundation, Inc.
1375-#
1376-# This file is free software; the Free Software Foundation
1377-# gives unlimited permission to copy and/or distribute it,
1378-# with or without modifications, as long as this notice is preserved.
1379-
1380-# serial 12
1381-
1382-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1383-# written in clear, in which case automake, when reading aclocal.m4,
1384-# will think it sees a *use*, and therefore will trigger all it's
1385-# C support machinery. Also note that it means that autoscan, seeing
1386-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
1387-
1388-
1389-# _AM_DEPENDENCIES(NAME)
1390-# ----------------------
1391-# See how the compiler implements dependency checking.
1392-# NAME is "CC", "CXX", "GCJ", or "OBJC".
1393-# We try a few techniques and use that to set a single cache variable.
1394-#
1395-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
1396-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
1397-# dependency, and given that the user is not expected to run this macro,
1398-# just rely on AC_PROG_CC.
1399-AC_DEFUN([_AM_DEPENDENCIES],
1400-[AC_REQUIRE([AM_SET_DEPDIR])dnl
1401-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1402-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1403-AC_REQUIRE([AM_DEP_TRACK])dnl
1404-
1405-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
1406- [$1], CXX, [depcc="$CXX" am_compiler_list=],
1407- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1408- [$1], UPC, [depcc="$UPC" am_compiler_list=],
1409- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1410- [depcc="$$1" am_compiler_list=])
1411-
1412-AC_CACHE_CHECK([dependency style of $depcc],
1413- [am_cv_$1_dependencies_compiler_type],
1414-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1415- # We make a subdir and do the tests there. Otherwise we can end up
1416- # making bogus files that we don't know about and never remove. For
1417- # instance it was reported that on HP-UX the gcc test will end up
1418- # making a dummy file named `D' -- because `-MD' means `put the output
1419- # in D'.
1420- rm -rf conftest.dir
1421- mkdir conftest.dir
1422- # Copy depcomp to subdir because otherwise we won't find it if we're
1423- # using a relative directory.
1424- cp "$am_depcomp" conftest.dir
1425- cd conftest.dir
1426- # We will build objects and dependencies in a subdirectory because
1427- # it helps to detect inapplicable dependency modes. For instance
1428- # both Tru64's cc and ICC support -MD to output dependencies as a
1429- # side effect of compilation, but ICC will put the dependencies in
1430- # the current directory while Tru64 will put them in the object
1431- # directory.
1432- mkdir sub
1433-
1434- am_cv_$1_dependencies_compiler_type=none
1435- if test "$am_compiler_list" = ""; then
1436- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1437- fi
1438- am__universal=false
1439- m4_case([$1], [CC],
1440- [case " $depcc " in #(
1441- *\ -arch\ *\ -arch\ *) am__universal=true ;;
1442- esac],
1443- [CXX],
1444- [case " $depcc " in #(
1445- *\ -arch\ *\ -arch\ *) am__universal=true ;;
1446- esac])
1447-
1448- for depmode in $am_compiler_list; do
1449- # Setup a source with many dependencies, because some compilers
1450- # like to wrap large dependency lists on column 80 (with \), and
1451- # we should not choose a depcomp mode which is confused by this.
1452- #
1453- # We need to recreate these files for each test, as the compiler may
1454- # overwrite some of them when testing with obscure command lines.
1455- # This happens at least with the AIX C compiler.
1456- : > sub/conftest.c
1457- for i in 1 2 3 4 5 6; do
1458- echo '#include "conftst'$i'.h"' >> sub/conftest.c
1459- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1460- # Solaris 8's {/usr,}/bin/sh.
1461- touch sub/conftst$i.h
1462- done
1463- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1464-
1465- # We check with `-c' and `-o' for the sake of the "dashmstdout"
1466- # mode. It turns out that the SunPro C++ compiler does not properly
1467- # handle `-M -o', and we need to detect this. Also, some Intel
1468- # versions had trouble with output in subdirs
1469- am__obj=sub/conftest.${OBJEXT-o}
1470- am__minus_obj="-o $am__obj"
1471- case $depmode in
1472- gcc)
1473- # This depmode causes a compiler race in universal mode.
1474- test "$am__universal" = false || continue
1475- ;;
1476- nosideeffect)
1477- # after this tag, mechanisms are not by side-effect, so they'll
1478- # only be used when explicitly requested
1479- if test "x$enable_dependency_tracking" = xyes; then
1480- continue
1481- else
1482- break
1483- fi
1484- ;;
1485- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1486- # This compiler won't grok `-c -o', but also, the minuso test has
1487- # not run yet. These depmodes are late enough in the game, and
1488- # so weak that their functioning should not be impacted.
1489- am__obj=conftest.${OBJEXT-o}
1490- am__minus_obj=
1491- ;;
1492- none) break ;;
1493- esac
1494- if depmode=$depmode \
1495- source=sub/conftest.c object=$am__obj \
1496- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1497- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1498- >/dev/null 2>conftest.err &&
1499- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1500- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1501- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1502- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1503- # icc doesn't choke on unknown options, it will just issue warnings
1504- # or remarks (even with -Werror). So we grep stderr for any message
1505- # that says an option was ignored or not supported.
1506- # When given -MP, icc 7.0 and 7.1 complain thusly:
1507- # icc: Command line warning: ignoring option '-M'; no argument required
1508- # The diagnosis changed in icc 8.0:
1509- # icc: Command line remark: option '-MP' not supported
1510- if (grep 'ignoring option' conftest.err ||
1511- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1512- am_cv_$1_dependencies_compiler_type=$depmode
1513- break
1514- fi
1515- fi
1516- done
1517-
1518- cd ..
1519- rm -rf conftest.dir
1520-else
1521- am_cv_$1_dependencies_compiler_type=none
1522-fi
1523-])
1524-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1525-AM_CONDITIONAL([am__fastdep$1], [
1526- test "x$enable_dependency_tracking" != xno \
1527- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1528-])
1529-
1530-
1531-# AM_SET_DEPDIR
1532-# -------------
1533-# Choose a directory name for dependency files.
1534-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
1535-AC_DEFUN([AM_SET_DEPDIR],
1536-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1537-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1538-])
1539-
1540-
1541-# AM_DEP_TRACK
1542-# ------------
1543-AC_DEFUN([AM_DEP_TRACK],
1544-[AC_ARG_ENABLE(dependency-tracking,
1545-[ --disable-dependency-tracking speeds up one-time build
1546- --enable-dependency-tracking do not reject slow dependency extractors])
1547-if test "x$enable_dependency_tracking" != xno; then
1548- am_depcomp="$ac_aux_dir/depcomp"
1549- AMDEPBACKSLASH='\'
1550- am__nodep='_no'
1551-fi
1552-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1553-AC_SUBST([AMDEPBACKSLASH])dnl
1554-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1555-AC_SUBST([am__nodep])dnl
1556-_AM_SUBST_NOTMAKE([am__nodep])dnl
1557-])
1558-
1559-# Generate code to set up dependency tracking. -*- Autoconf -*-
1560-
1561-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
1562-# Free Software Foundation, Inc.
1563-#
1564-# This file is free software; the Free Software Foundation
1565-# gives unlimited permission to copy and/or distribute it,
1566-# with or without modifications, as long as this notice is preserved.
1567-
1568-#serial 5
1569-
1570-# _AM_OUTPUT_DEPENDENCY_COMMANDS
1571-# ------------------------------
1572-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
1573-[{
1574- # Autoconf 2.62 quotes --file arguments for eval, but not when files
1575- # are listed without --file. Let's play safe and only enable the eval
1576- # if we detect the quoting.
1577- case $CONFIG_FILES in
1578- *\'*) eval set x "$CONFIG_FILES" ;;
1579- *) set x $CONFIG_FILES ;;
1580- esac
1581- shift
1582- for mf
1583- do
1584- # Strip MF so we end up with the name of the file.
1585- mf=`echo "$mf" | sed -e 's/:.*$//'`
1586- # Check whether this is an Automake generated Makefile or not.
1587- # We used to match only the files named `Makefile.in', but
1588- # some people rename them; so instead we look at the file content.
1589- # Grep'ing the first line is not enough: some people post-process
1590- # each Makefile.in and add a new line on top of each file to say so.
1591- # Grep'ing the whole file is not good either: AIX grep has a line
1592- # limit of 2048, but all sed's we know have understand at least 4000.
1593- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1594- dirpart=`AS_DIRNAME("$mf")`
1595- else
1596- continue
1597- fi
1598- # Extract the definition of DEPDIR, am__include, and am__quote
1599- # from the Makefile without running `make'.
1600- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1601- test -z "$DEPDIR" && continue
1602- am__include=`sed -n 's/^am__include = //p' < "$mf"`
1603- test -z "am__include" && continue
1604- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1605- # When using ansi2knr, U may be empty or an underscore; expand it
1606- U=`sed -n 's/^U = //p' < "$mf"`
1607- # Find all dependency output files, they are included files with
1608- # $(DEPDIR) in their names. We invoke sed twice because it is the
1609- # simplest approach to changing $(DEPDIR) to its actual value in the
1610- # expansion.
1611- for file in `sed -n "
1612- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1613- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1614- # Make sure the directory exists.
1615- test -f "$dirpart/$file" && continue
1616- fdir=`AS_DIRNAME(["$file"])`
1617- AS_MKDIR_P([$dirpart/$fdir])
1618- # echo "creating $dirpart/$file"
1619- echo '# dummy' > "$dirpart/$file"
1620- done
1621- done
1622-}
1623-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
1624-
1625-
1626-# AM_OUTPUT_DEPENDENCY_COMMANDS
1627-# -----------------------------
1628-# This macro should only be invoked once -- use via AC_REQUIRE.
1629-#
1630-# This code is only required when automatic dependency tracking
1631-# is enabled. FIXME. This creates each `.P' file that we will
1632-# need in order to bootstrap the dependency handling code.
1633-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
1634-[AC_CONFIG_COMMANDS([depfiles],
1635- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1636- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1637-])
1638-
1639-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
1640-# Free Software Foundation, Inc.
1641-#
1642-# This file is free software; the Free Software Foundation
1643-# gives unlimited permission to copy and/or distribute it,
1644-# with or without modifications, as long as this notice is preserved.
1645-
1646-# serial 8
1647-
1648-# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
1649-AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
1650-
1651-# Do all the work for Automake. -*- Autoconf -*-
1652-
1653-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1654-# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
1655-#
1656-# This file is free software; the Free Software Foundation
1657-# gives unlimited permission to copy and/or distribute it,
1658-# with or without modifications, as long as this notice is preserved.
1659-
1660-# serial 16
1661-
1662-# This macro actually does too much. Some checks are only needed if
1663-# your package does certain things. But this isn't really a big deal.
1664-
1665-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
1666-# AM_INIT_AUTOMAKE([OPTIONS])
1667-# -----------------------------------------------
1668-# The call with PACKAGE and VERSION arguments is the old style
1669-# call (pre autoconf-2.50), which is being phased out. PACKAGE
1670-# and VERSION should now be passed to AC_INIT and removed from
1671-# the call to AM_INIT_AUTOMAKE.
1672-# We support both call styles for the transition. After
1673-# the next Automake release, Autoconf can make the AC_INIT
1674-# arguments mandatory, and then we can depend on a new Autoconf
1675-# release and drop the old call support.
1676-AC_DEFUN([AM_INIT_AUTOMAKE],
1677-[AC_PREREQ([2.62])dnl
1678-dnl Autoconf wants to disallow AM_ names. We explicitly allow
1679-dnl the ones we care about.
1680-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1681-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1682-AC_REQUIRE([AC_PROG_INSTALL])dnl
1683-if test "`cd $srcdir && pwd`" != "`pwd`"; then
1684- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1685- # is not polluted with repeated "-I."
1686- AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1687- # test to see if srcdir already configured
1688- if test -f $srcdir/config.status; then
1689- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1690- fi
1691-fi
1692-
1693-# test whether we have cygpath
1694-if test -z "$CYGPATH_W"; then
1695- if (cygpath --version) >/dev/null 2>/dev/null; then
1696- CYGPATH_W='cygpath -w'
1697- else
1698- CYGPATH_W=echo
1699- fi
1700-fi
1701-AC_SUBST([CYGPATH_W])
1702-
1703-# Define the identity of the package.
1704-dnl Distinguish between old-style and new-style calls.
1705-m4_ifval([$2],
1706-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1707- AC_SUBST([PACKAGE], [$1])dnl
1708- AC_SUBST([VERSION], [$2])],
1709-[_AM_SET_OPTIONS([$1])dnl
1710-dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1711-m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1712- [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1713- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1714- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1715-
1716-_AM_IF_OPTION([no-define],,
1717-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1718- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1719-
1720-# Some tools Automake needs.
1721-AC_REQUIRE([AM_SANITY_CHECK])dnl
1722-AC_REQUIRE([AC_ARG_PROGRAM])dnl
1723-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1724-AM_MISSING_PROG(AUTOCONF, autoconf)
1725-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1726-AM_MISSING_PROG(AUTOHEADER, autoheader)
1727-AM_MISSING_PROG(MAKEINFO, makeinfo)
1728-AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1729-AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1730-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1731-# We need awk for the "check" target. The system "awk" is bad on
1732-# some platforms.
1733-AC_REQUIRE([AC_PROG_AWK])dnl
1734-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1735-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1736-_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1737- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1738- [_AM_PROG_TAR([v7])])])
1739-_AM_IF_OPTION([no-dependencies],,
1740-[AC_PROVIDE_IFELSE([AC_PROG_CC],
1741- [_AM_DEPENDENCIES(CC)],
1742- [define([AC_PROG_CC],
1743- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1744-AC_PROVIDE_IFELSE([AC_PROG_CXX],
1745- [_AM_DEPENDENCIES(CXX)],
1746- [define([AC_PROG_CXX],
1747- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1748-AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1749- [_AM_DEPENDENCIES(OBJC)],
1750- [define([AC_PROG_OBJC],
1751- defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1752-])
1753-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1754-dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
1755-dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1756-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1757-AC_CONFIG_COMMANDS_PRE(dnl
1758-[m4_provide_if([_AM_COMPILER_EXEEXT],
1759- [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1760-])
1761-
1762-dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1763-dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
1764-dnl mangled by Autoconf and run in a shell conditional statement.
1765-m4_define([_AC_COMPILER_EXEEXT],
1766-m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
1767-
1768-
1769-# When config.status generates a header, we must update the stamp-h file.
1770-# This file resides in the same directory as the config header
1771-# that is generated. The stamp files are numbered to have different names.
1772-
1773-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1774-# loop where config.status creates the headers, so we can generate
1775-# our stamp files there.
1776-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1777-[# Compute $1's index in $config_headers.
1778-_am_arg=$1
1779-_am_stamp_count=1
1780-for _am_header in $config_headers :; do
1781- case $_am_header in
1782- $_am_arg | $_am_arg:* )
1783- break ;;
1784- * )
1785- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1786- esac
1787-done
1788-echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1789-
1790-# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
1791-# Inc.
1792-#
1793-# This file is free software; the Free Software Foundation
1794-# gives unlimited permission to copy and/or distribute it,
1795-# with or without modifications, as long as this notice is preserved.
1796-
1797-# serial 1
1798-
1799-# AM_PROG_INSTALL_SH
1800-# ------------------
1801-# Define $install_sh.
1802-AC_DEFUN([AM_PROG_INSTALL_SH],
1803-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1804-if test x"${install_sh}" != xset; then
1805- case $am_aux_dir in
1806- *\ * | *\ *)
1807- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1808- *)
1809- install_sh="\${SHELL} $am_aux_dir/install-sh"
1810- esac
1811-fi
1812-AC_SUBST(install_sh)])
1813-
1814-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
1815-#
1816-# This file is free software; the Free Software Foundation
1817-# gives unlimited permission to copy and/or distribute it,
1818-# with or without modifications, as long as this notice is preserved.
1819-
1820-# serial 2
1821-
1822-# Check whether the underlying file-system supports filenames
1823-# with a leading dot. For instance MS-DOS doesn't.
1824-AC_DEFUN([AM_SET_LEADING_DOT],
1825-[rm -rf .tst 2>/dev/null
1826-mkdir .tst 2>/dev/null
1827-if test -d .tst; then
1828- am__leading_dot=.
1829-else
1830- am__leading_dot=_
1831-fi
1832-rmdir .tst 2>/dev/null
1833-AC_SUBST([am__leading_dot])])
1834-
1835-# Check to see how 'make' treats includes. -*- Autoconf -*-
1836-
1837-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
1838-#
1839-# This file is free software; the Free Software Foundation
1840-# gives unlimited permission to copy and/or distribute it,
1841-# with or without modifications, as long as this notice is preserved.
1842-
1843-# serial 4
1844-
1845-# AM_MAKE_INCLUDE()
1846-# -----------------
1847-# Check to see how make treats includes.
1848-AC_DEFUN([AM_MAKE_INCLUDE],
1849-[am_make=${MAKE-make}
1850-cat > confinc << 'END'
1851-am__doit:
1852- @echo this is the am__doit target
1853-.PHONY: am__doit
1854-END
1855-# If we don't find an include directive, just comment out the code.
1856-AC_MSG_CHECKING([for style of include used by $am_make])
1857-am__include="#"
1858-am__quote=
1859-_am_result=none
1860-# First try GNU make style include.
1861-echo "include confinc" > confmf
1862-# Ignore all kinds of additional output from `make'.
1863-case `$am_make -s -f confmf 2> /dev/null` in #(
1864-*the\ am__doit\ target*)
1865- am__include=include
1866- am__quote=
1867- _am_result=GNU
1868- ;;
1869-esac
1870-# Now try BSD make style include.
1871-if test "$am__include" = "#"; then
1872- echo '.include "confinc"' > confmf
1873- case `$am_make -s -f confmf 2> /dev/null` in #(
1874- *the\ am__doit\ target*)
1875- am__include=.include
1876- am__quote="\""
1877- _am_result=BSD
1878- ;;
1879- esac
1880-fi
1881-AC_SUBST([am__include])
1882-AC_SUBST([am__quote])
1883-AC_MSG_RESULT([$_am_result])
1884-rm -f confinc confmf
1885-])
1886-
1887-# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1888-
1889-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
1890-# Free Software Foundation, Inc.
1891-#
1892-# This file is free software; the Free Software Foundation
1893-# gives unlimited permission to copy and/or distribute it,
1894-# with or without modifications, as long as this notice is preserved.
1895-
1896-# serial 6
1897-
1898-# AM_MISSING_PROG(NAME, PROGRAM)
1899-# ------------------------------
1900-AC_DEFUN([AM_MISSING_PROG],
1901-[AC_REQUIRE([AM_MISSING_HAS_RUN])
1902-$1=${$1-"${am_missing_run}$2"}
1903-AC_SUBST($1)])
1904-
1905-
1906-# AM_MISSING_HAS_RUN
1907-# ------------------
1908-# Define MISSING if not defined so far and test if it supports --run.
1909-# If it does, set am_missing_run to use it, otherwise, to nothing.
1910-AC_DEFUN([AM_MISSING_HAS_RUN],
1911-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1912-AC_REQUIRE_AUX_FILE([missing])dnl
1913-if test x"${MISSING+set}" != xset; then
1914- case $am_aux_dir in
1915- *\ * | *\ *)
1916- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1917- *)
1918- MISSING="\${SHELL} $am_aux_dir/missing" ;;
1919- esac
1920-fi
1921-# Use eval to expand $SHELL
1922-if eval "$MISSING --run true"; then
1923- am_missing_run="$MISSING --run "
1924-else
1925- am_missing_run=
1926- AC_MSG_WARN([`missing' script is too old or missing])
1927-fi
1928-])
1929-
1930-# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
1931-# Inc.
1932-#
1933-# This file is free software; the Free Software Foundation
1934-# gives unlimited permission to copy and/or distribute it,
1935-# with or without modifications, as long as this notice is preserved.
1936-
1937-# serial 1
1938-
1939-# AM_PROG_MKDIR_P
1940-# ---------------
1941-# Check for `mkdir -p'.
1942-AC_DEFUN([AM_PROG_MKDIR_P],
1943-[AC_PREREQ([2.60])dnl
1944-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1945-dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1946-dnl while keeping a definition of mkdir_p for backward compatibility.
1947-dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1948-dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1949-dnl Makefile.ins that do not define MKDIR_P, so we do our own
1950-dnl adjustment using top_builddir (which is defined more often than
1951-dnl MKDIR_P).
1952-AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1953-case $mkdir_p in
1954- [[\\/$]]* | ?:[[\\/]]*) ;;
1955- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1956-esac
1957-])
1958-
1959-# Helper functions for option handling. -*- Autoconf -*-
1960-
1961-# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
1962-# Foundation, Inc.
1963-#
1964-# This file is free software; the Free Software Foundation
1965-# gives unlimited permission to copy and/or distribute it,
1966-# with or without modifications, as long as this notice is preserved.
1967-
1968-# serial 5
1969-
1970-# _AM_MANGLE_OPTION(NAME)
1971-# -----------------------
1972-AC_DEFUN([_AM_MANGLE_OPTION],
1973-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1974-
1975-# _AM_SET_OPTION(NAME)
1976-# --------------------
1977-# Set option NAME. Presently that only means defining a flag for this option.
1978-AC_DEFUN([_AM_SET_OPTION],
1979-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1980-
1981-# _AM_SET_OPTIONS(OPTIONS)
1982-# ------------------------
1983-# OPTIONS is a space-separated list of Automake options.
1984-AC_DEFUN([_AM_SET_OPTIONS],
1985-[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1986-
1987-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1988-# -------------------------------------------
1989-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1990-AC_DEFUN([_AM_IF_OPTION],
1991-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1992-
1993-# Check to make sure that the build environment is sane. -*- Autoconf -*-
1994-
1995-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
1996-# Free Software Foundation, Inc.
1997-#
1998-# This file is free software; the Free Software Foundation
1999-# gives unlimited permission to copy and/or distribute it,
2000-# with or without modifications, as long as this notice is preserved.
2001-
2002-# serial 5
2003-
2004-# AM_SANITY_CHECK
2005-# ---------------
2006-AC_DEFUN([AM_SANITY_CHECK],
2007-[AC_MSG_CHECKING([whether build environment is sane])
2008-# Just in case
2009-sleep 1
2010-echo timestamp > conftest.file
2011-# Reject unsafe characters in $srcdir or the absolute working directory
2012-# name. Accept space and tab only in the latter.
2013-am_lf='
2014-'
2015-case `pwd` in
2016- *[[\\\"\#\$\&\'\`$am_lf]]*)
2017- AC_MSG_ERROR([unsafe absolute working directory name]);;
2018-esac
2019-case $srcdir in
2020- *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
2021- AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
2022-esac
2023-
2024-# Do `set' in a subshell so we don't clobber the current shell's
2025-# arguments. Must try -L first in case configure is actually a
2026-# symlink; some systems play weird games with the mod time of symlinks
2027-# (eg FreeBSD returns the mod time of the symlink's containing
2028-# directory).
2029-if (
2030- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2031- if test "$[*]" = "X"; then
2032- # -L didn't work.
2033- set X `ls -t "$srcdir/configure" conftest.file`
2034- fi
2035- rm -f conftest.file
2036- if test "$[*]" != "X $srcdir/configure conftest.file" \
2037- && test "$[*]" != "X conftest.file $srcdir/configure"; then
2038-
2039- # If neither matched, then we have a broken ls. This can happen
2040- # if, for instance, CONFIG_SHELL is bash and it inherits a
2041- # broken ls alias from the environment. This has actually
2042- # happened. Such a system could not be considered "sane".
2043- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
2044-alias in your environment])
2045- fi
2046-
2047- test "$[2]" = conftest.file
2048- )
2049-then
2050- # Ok.
2051- :
2052-else
2053- AC_MSG_ERROR([newly created file is older than distributed files!
2054-Check your system clock])
2055-fi
2056-AC_MSG_RESULT(yes)])
2057-
2058-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
2059-#
2060-# This file is free software; the Free Software Foundation
2061-# gives unlimited permission to copy and/or distribute it,
2062-# with or without modifications, as long as this notice is preserved.
2063-
2064-# serial 1
2065-
2066-# AM_PROG_INSTALL_STRIP
2067-# ---------------------
2068-# One issue with vendor `install' (even GNU) is that you can't
2069-# specify the program used to strip binaries. This is especially
2070-# annoying in cross-compiling environments, where the build's strip
2071-# is unlikely to handle the host's binaries.
2072-# Fortunately install-sh will honor a STRIPPROG variable, so we
2073-# always use install-sh in `make install-strip', and initialize
2074-# STRIPPROG with the value of the STRIP variable (set by the user).
2075-AC_DEFUN([AM_PROG_INSTALL_STRIP],
2076-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
2077-# Installed binaries are usually stripped using `strip' when the user
2078-# run `make install-strip'. However `strip' might not be the right
2079-# tool to use in cross-compilation environments, therefore Automake
2080-# will honor the `STRIP' environment variable to overrule this program.
2081-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
2082-if test "$cross_compiling" != no; then
2083- AC_CHECK_TOOL([STRIP], [strip], :)
2084-fi
2085-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2086-AC_SUBST([INSTALL_STRIP_PROGRAM])])
2087-
2088-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
2089-#
2090-# This file is free software; the Free Software Foundation
2091-# gives unlimited permission to copy and/or distribute it,
2092-# with or without modifications, as long as this notice is preserved.
2093-
2094-# serial 3
2095-
2096-# _AM_SUBST_NOTMAKE(VARIABLE)
2097-# ---------------------------
2098-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
2099-# This macro is traced by Automake.
2100-AC_DEFUN([_AM_SUBST_NOTMAKE])
2101-
2102-# AM_SUBST_NOTMAKE(VARIABLE)
2103-# --------------------------
2104-# Public sister of _AM_SUBST_NOTMAKE.
2105-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
2106-
2107-# Check how to create a tarball. -*- Autoconf -*-
2108-
2109-# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
2110-#
2111-# This file is free software; the Free Software Foundation
2112-# gives unlimited permission to copy and/or distribute it,
2113-# with or without modifications, as long as this notice is preserved.
2114-
2115-# serial 2
2116-
2117-# _AM_PROG_TAR(FORMAT)
2118-# --------------------
2119-# Check how to create a tarball in format FORMAT.
2120-# FORMAT should be one of `v7', `ustar', or `pax'.
2121-#
2122-# Substitute a variable $(am__tar) that is a command
2123-# writing to stdout a FORMAT-tarball containing the directory
2124-# $tardir.
2125-# tardir=directory && $(am__tar) > result.tar
2126-#
2127-# Substitute a variable $(am__untar) that extract such
2128-# a tarball read from stdin.
2129-# $(am__untar) < result.tar
2130-AC_DEFUN([_AM_PROG_TAR],
2131-[# Always define AMTAR for backward compatibility.
2132-AM_MISSING_PROG([AMTAR], [tar])
2133-m4_if([$1], [v7],
2134- [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
2135- [m4_case([$1], [ustar],, [pax],,
2136- [m4_fatal([Unknown tar format])])
2137-AC_MSG_CHECKING([how to create a $1 tar archive])
2138-# Loop over all known methods to create a tar archive until one works.
2139-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
2140-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
2141-# Do not fold the above two line into one, because Tru64 sh and
2142-# Solaris sh will not grok spaces in the rhs of `-'.
2143-for _am_tool in $_am_tools
2144-do
2145- case $_am_tool in
2146- gnutar)
2147- for _am_tar in tar gnutar gtar;
2148- do
2149- AM_RUN_LOG([$_am_tar --version]) && break
2150- done
2151- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
2152- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
2153- am__untar="$_am_tar -xf -"
2154- ;;
2155- plaintar)
2156- # Must skip GNU tar: if it does not support --format= it doesn't create
2157- # ustar tarball either.
2158- (tar --version) >/dev/null 2>&1 && continue
2159- am__tar='tar chf - "$$tardir"'
2160- am__tar_='tar chf - "$tardir"'
2161- am__untar='tar xf -'
2162- ;;
2163- pax)
2164- am__tar='pax -L -x $1 -w "$$tardir"'
2165- am__tar_='pax -L -x $1 -w "$tardir"'
2166- am__untar='pax -r'
2167- ;;
2168- cpio)
2169- am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
2170- am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
2171- am__untar='cpio -i -H $1 -d'
2172- ;;
2173- none)
2174- am__tar=false
2175- am__tar_=false
2176- am__untar=false
2177- ;;
2178- esac
2179-
2180- # If the value was cached, stop now. We just wanted to have am__tar
2181- # and am__untar set.
2182- test -n "${am_cv_prog_tar_$1}" && break
2183-
2184- # tar/untar a dummy directory, and stop if the command works
2185- rm -rf conftest.dir
2186- mkdir conftest.dir
2187- echo GrepMe > conftest.dir/file
2188- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
2189- rm -rf conftest.dir
2190- if test -s conftest.tar; then
2191- AM_RUN_LOG([$am__untar <conftest.tar])
2192- grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2193- fi
2194-done
2195-rm -rf conftest.dir
2196-
2197-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
2198-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
2199-AC_SUBST([am__tar])
2200-AC_SUBST([am__untar])
2201-]) # _AM_PROG_TAR
2202-
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,70 @@
1+#!/bin/sh
2+# Run this to generate all the initial makefiles, etc.
3+# This was lifted from the Gimp, and adapted slightly by
4+# Raph Levien, slightly hacked for xine by Daniel Caujolle-Bert.
5+
6+DIE=0
7+
8+PROG=shapefusion
9+
10+# Check how echo works in this /bin/sh
11+case `echo -n` in
12+-n) _echo_n= _echo_c='\c';;
13+*) _echo_n=-n _echo_c=;;
14+esac
15+
16+(autoconf --version) < /dev/null > /dev/null 2>&1 || {
17+ echo
18+ echo "You must have autoconf installed to compile $PROG."
19+ echo "Download the appropriate package for your distribution,"
20+ echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
21+ DIE=1
22+}
23+
24+(automake --version) < /dev/null > /dev/null 2>&1 || {
25+ echo
26+ echo "You must have automake installed to compile $PROG."
27+ echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
28+ echo "(or a newer version if it is available)"
29+ DIE=1
30+}
31+
32+(aclocal --version) < /dev/null > /dev/null 2>&1 || {
33+ echo
34+ echo "**Error**: Missing aclocal. The version of automake"
35+ echo "installed doesn't appear recent enough."
36+ echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
37+ echo "(or a newer version if it is available)"
38+ DIE=1
39+}
40+
41+if [ "$DIE" -eq 1 ]; then
42+ exit 1
43+fi
44+
45+rm -rf autom4te.cache
46+
47+aclocalinclude="$ACLOCAL_FLAGS"; \
48+(echo $_echo_n " + Running aclocal: $_echo_c"; \
49+ aclocal $aclocalinclude; \
50+ echo "done.") && \
51+(echo $_echo_n " + Running autoheader: $_echo_c"; \
52+ autoheader; \
53+ echo "done.") && \
54+(echo $_echo_n " + Running automake: $_echo_c"; \
55+ automake --gnu --add-missing --copy; \
56+ echo "done.") && \
57+(echo $_echo_n " + Running autoconf: $_echo_c"; \
58+ autoconf; \
59+ echo "done.")
60+
61+rm -f config.cache
62+
63+if [ x"$NO_CONFIGURE" = "x" ]; then
64+ echo " + Running 'configure $@':"
65+ if [ -z "$*" ]; then
66+ echo " ** If you wish to pass arguments to ./configure, please"
67+ echo " ** specify them on the command line."
68+ fi
69+ ./configure "$@"
70+fi
--- a/configure
+++ /dev/null
@@ -1,6665 +0,0 @@
1-#! /bin/sh
2-# Guess values for system-dependent variables and create Makefiles.
3-# Generated by GNU Autoconf 2.68 for ShapeFusion 0.5.
4-#
5-# Report bugs to <http://sourceforge.net/bugs/?group_id=1997>.
6-#
7-#
8-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10-# Foundation, Inc.
11-#
12-#
13-# This configure script is free software; the Free Software Foundation
14-# gives unlimited permission to copy, distribute and modify it.
15-## -------------------- ##
16-## M4sh Initialization. ##
17-## -------------------- ##
18-
19-# Be more Bourne compatible
20-DUALCASE=1; export DUALCASE # for MKS sh
21-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22- emulate sh
23- NULLCMD=:
24- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25- # is contrary to our usage. Disable this feature.
26- alias -g '${1+"$@"}'='"$@"'
27- setopt NO_GLOB_SUBST
28-else
29- case `(set -o) 2>/dev/null` in #(
30- *posix*) :
31- set -o posix ;; #(
32- *) :
33- ;;
34-esac
35-fi
36-
37-
38-as_nl='
39-'
40-export as_nl
41-# Printing a long string crashes Solaris 7 /usr/bin/printf.
42-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45-# Prefer a ksh shell builtin over an external printf program on Solaris,
46-# but without wasting forks for bash or zsh.
47-if test -z "$BASH_VERSION$ZSH_VERSION" \
48- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49- as_echo='print -r --'
50- as_echo_n='print -rn --'
51-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52- as_echo='printf %s\n'
53- as_echo_n='printf %s'
54-else
55- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57- as_echo_n='/usr/ucb/echo -n'
58- else
59- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60- as_echo_n_body='eval
61- arg=$1;
62- case $arg in #(
63- *"$as_nl"*)
64- expr "X$arg" : "X\\(.*\\)$as_nl";
65- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66- esac;
67- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68- '
69- export as_echo_n_body
70- as_echo_n='sh -c $as_echo_n_body as_echo'
71- fi
72- export as_echo_body
73- as_echo='sh -c $as_echo_body as_echo'
74-fi
75-
76-# The user is always right.
77-if test "${PATH_SEPARATOR+set}" != set; then
78- PATH_SEPARATOR=:
79- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81- PATH_SEPARATOR=';'
82- }
83-fi
84-
85-
86-# IFS
87-# We need space, tab and new line, in precisely that order. Quoting is
88-# there to prevent editors from complaining about space-tab.
89-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90-# splitting by setting IFS to empty value.)
91-IFS=" "" $as_nl"
92-
93-# Find who we are. Look in the path if we contain no directory separator.
94-as_myself=
95-case $0 in #((
96- *[\\/]* ) as_myself=$0 ;;
97- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98-for as_dir in $PATH
99-do
100- IFS=$as_save_IFS
101- test -z "$as_dir" && as_dir=.
102- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103- done
104-IFS=$as_save_IFS
105-
106- ;;
107-esac
108-# We did not find ourselves, most probably we were run as `sh COMMAND'
109-# in which case we are not to be found in the path.
110-if test "x$as_myself" = x; then
111- as_myself=$0
112-fi
113-if test ! -f "$as_myself"; then
114- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115- exit 1
116-fi
117-
118-# Unset variables that we do not need and which cause bugs (e.g. in
119-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120-# suppresses any "Segmentation fault" message there. '((' could
121-# trigger a bug in pdksh 5.2.14.
122-for as_var in BASH_ENV ENV MAIL MAILPATH
123-do eval test x\${$as_var+set} = xset \
124- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125-done
126-PS1='$ '
127-PS2='> '
128-PS4='+ '
129-
130-# NLS nuisances.
131-LC_ALL=C
132-export LC_ALL
133-LANGUAGE=C
134-export LANGUAGE
135-
136-# CDPATH.
137-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138-
139-if test "x$CONFIG_SHELL" = x; then
140- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141- emulate sh
142- NULLCMD=:
143- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144- # is contrary to our usage. Disable this feature.
145- alias -g '\${1+\"\$@\"}'='\"\$@\"'
146- setopt NO_GLOB_SUBST
147-else
148- case \`(set -o) 2>/dev/null\` in #(
149- *posix*) :
150- set -o posix ;; #(
151- *) :
152- ;;
153-esac
154-fi
155-"
156- as_required="as_fn_return () { (exit \$1); }
157-as_fn_success () { as_fn_return 0; }
158-as_fn_failure () { as_fn_return 1; }
159-as_fn_ret_success () { return 0; }
160-as_fn_ret_failure () { return 1; }
161-
162-exitcode=0
163-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168-
169-else
170- exitcode=1; echo positional parameters were not saved.
171-fi
172-test x\$exitcode = x0 || exit 1"
173- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
177- if (eval "$as_required") 2>/dev/null; then :
178- as_have_required=yes
179-else
180- as_have_required=no
181-fi
182- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183-
184-else
185- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186-as_found=false
187-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188-do
189- IFS=$as_save_IFS
190- test -z "$as_dir" && as_dir=.
191- as_found=:
192- case $as_dir in #(
193- /*)
194- for as_base in sh bash ksh sh5; do
195- # Try only shells that exist, to save several forks.
196- as_shell=$as_dir/$as_base
197- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199- CONFIG_SHELL=$as_shell as_have_required=yes
200- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201- break 2
202-fi
203-fi
204- done;;
205- esac
206- as_found=false
207-done
208-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210- CONFIG_SHELL=$SHELL as_have_required=yes
211-fi; }
212-IFS=$as_save_IFS
213-
214-
215- if test "x$CONFIG_SHELL" != x; then :
216- # We cannot yet assume a decent shell, so we have to provide a
217- # neutralization value for shells without unset; and this also
218- # works around shells that cannot unset nonexistent variables.
219- # Preserve -v and -x to the replacement shell.
220- BASH_ENV=/dev/null
221- ENV=/dev/null
222- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223- export CONFIG_SHELL
224- case $- in # ((((
225- *v*x* | *x*v* ) as_opts=-vx ;;
226- *v* ) as_opts=-v ;;
227- *x* ) as_opts=-x ;;
228- * ) as_opts= ;;
229- esac
230- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
231-fi
232-
233- if test x$as_have_required = xno; then :
234- $as_echo "$0: This script requires a shell more modern than all"
235- $as_echo "$0: the shells that I found on your system."
236- if test x${ZSH_VERSION+set} = xset ; then
237- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
238- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239- else
240- $as_echo "$0: Please tell bug-autoconf@gnu.org and
241-$0: http://sourceforge.net/bugs/?group_id=1997 about your
242-$0: system, including any error possibly output before this
243-$0: message. Then install a modern shell, or manually run
244-$0: the script under such a shell if you do have one."
245- fi
246- exit 1
247-fi
248-fi
249-fi
250-SHELL=${CONFIG_SHELL-/bin/sh}
251-export SHELL
252-# Unset more variables known to interfere with behavior of common tools.
253-CLICOLOR_FORCE= GREP_OPTIONS=
254-unset CLICOLOR_FORCE GREP_OPTIONS
255-
256-## --------------------- ##
257-## M4sh Shell Functions. ##
258-## --------------------- ##
259-# as_fn_unset VAR
260-# ---------------
261-# Portably unset VAR.
262-as_fn_unset ()
263-{
264- { eval $1=; unset $1;}
265-}
266-as_unset=as_fn_unset
267-
268-# as_fn_set_status STATUS
269-# -----------------------
270-# Set $? to STATUS, without forking.
271-as_fn_set_status ()
272-{
273- return $1
274-} # as_fn_set_status
275-
276-# as_fn_exit STATUS
277-# -----------------
278-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279-as_fn_exit ()
280-{
281- set +e
282- as_fn_set_status $1
283- exit $1
284-} # as_fn_exit
285-
286-# as_fn_mkdir_p
287-# -------------
288-# Create "$as_dir" as a directory, including parents if necessary.
289-as_fn_mkdir_p ()
290-{
291-
292- case $as_dir in #(
293- -*) as_dir=./$as_dir;;
294- esac
295- test -d "$as_dir" || eval $as_mkdir_p || {
296- as_dirs=
297- while :; do
298- case $as_dir in #(
299- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300- *) as_qdir=$as_dir;;
301- esac
302- as_dirs="'$as_qdir' $as_dirs"
303- as_dir=`$as_dirname -- "$as_dir" ||
304-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
305- X"$as_dir" : 'X\(//\)[^/]' \| \
306- X"$as_dir" : 'X\(//\)$' \| \
307- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
308-$as_echo X"$as_dir" |
309- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
310- s//\1/
311- q
312- }
313- /^X\(\/\/\)[^/].*/{
314- s//\1/
315- q
316- }
317- /^X\(\/\/\)$/{
318- s//\1/
319- q
320- }
321- /^X\(\/\).*/{
322- s//\1/
323- q
324- }
325- s/.*/./; q'`
326- test -d "$as_dir" && break
327- done
328- test -z "$as_dirs" || eval "mkdir $as_dirs"
329- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
330-
331-
332-} # as_fn_mkdir_p
333-# as_fn_append VAR VALUE
334-# ----------------------
335-# Append the text in VALUE to the end of the definition contained in VAR. Take
336-# advantage of any shell optimizations that allow amortized linear growth over
337-# repeated appends, instead of the typical quadratic growth present in naive
338-# implementations.
339-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
340- eval 'as_fn_append ()
341- {
342- eval $1+=\$2
343- }'
344-else
345- as_fn_append ()
346- {
347- eval $1=\$$1\$2
348- }
349-fi # as_fn_append
350-
351-# as_fn_arith ARG...
352-# ------------------
353-# Perform arithmetic evaluation on the ARGs, and store the result in the
354-# global $as_val. Take advantage of shells that can avoid forks. The arguments
355-# must be portable across $(()) and expr.
356-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357- eval 'as_fn_arith ()
358- {
359- as_val=$(( $* ))
360- }'
361-else
362- as_fn_arith ()
363- {
364- as_val=`expr "$@" || test $? -eq 1`
365- }
366-fi # as_fn_arith
367-
368-
369-# as_fn_error STATUS ERROR [LINENO LOG_FD]
370-# ----------------------------------------
371-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
372-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
373-# script with STATUS, using 1 if that was 0.
374-as_fn_error ()
375-{
376- as_status=$1; test $as_status -eq 0 && as_status=1
377- if test "$4"; then
378- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
379- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
380- fi
381- $as_echo "$as_me: error: $2" >&2
382- as_fn_exit $as_status
383-} # as_fn_error
384-
385-if expr a : '\(a\)' >/dev/null 2>&1 &&
386- test "X`expr 00001 : '.*\(...\)'`" = X001; then
387- as_expr=expr
388-else
389- as_expr=false
390-fi
391-
392-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
393- as_basename=basename
394-else
395- as_basename=false
396-fi
397-
398-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
399- as_dirname=dirname
400-else
401- as_dirname=false
402-fi
403-
404-as_me=`$as_basename -- "$0" ||
405-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
406- X"$0" : 'X\(//\)$' \| \
407- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
408-$as_echo X/"$0" |
409- sed '/^.*\/\([^/][^/]*\)\/*$/{
410- s//\1/
411- q
412- }
413- /^X\/\(\/\/\)$/{
414- s//\1/
415- q
416- }
417- /^X\/\(\/\).*/{
418- s//\1/
419- q
420- }
421- s/.*/./; q'`
422-
423-# Avoid depending upon Character Ranges.
424-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
425-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
426-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
427-as_cr_digits='0123456789'
428-as_cr_alnum=$as_cr_Letters$as_cr_digits
429-
430-
431- as_lineno_1=$LINENO as_lineno_1a=$LINENO
432- as_lineno_2=$LINENO as_lineno_2a=$LINENO
433- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
434- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
435- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
436- sed -n '
437- p
438- /[$]LINENO/=
439- ' <$as_myself |
440- sed '
441- s/[$]LINENO.*/&-/
442- t lineno
443- b
444- :lineno
445- N
446- :loop
447- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
448- t loop
449- s/-\n.*//
450- ' >$as_me.lineno &&
451- chmod +x "$as_me.lineno" ||
452- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
453-
454- # Don't try to exec as it changes $[0], causing all sort of problems
455- # (the dirname of $[0] is not the place where we might find the
456- # original and so on. Autoconf is especially sensitive to this).
457- . "./$as_me.lineno"
458- # Exit status is that of the last command.
459- exit
460-}
461-
462-ECHO_C= ECHO_N= ECHO_T=
463-case `echo -n x` in #(((((
464--n*)
465- case `echo 'xy\c'` in
466- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
467- xy) ECHO_C='\c';;
468- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469- ECHO_T=' ';;
470- esac;;
471-*)
472- ECHO_N='-n';;
473-esac
474-
475-rm -f conf$$ conf$$.exe conf$$.file
476-if test -d conf$$.dir; then
477- rm -f conf$$.dir/conf$$.file
478-else
479- rm -f conf$$.dir
480- mkdir conf$$.dir 2>/dev/null
481-fi
482-if (echo >conf$$.file) 2>/dev/null; then
483- if ln -s conf$$.file conf$$ 2>/dev/null; then
484- as_ln_s='ln -s'
485- # ... but there are two gotchas:
486- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
487- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
488- # In both cases, we have to default to `cp -p'.
489- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
490- as_ln_s='cp -p'
491- elif ln conf$$.file conf$$ 2>/dev/null; then
492- as_ln_s=ln
493- else
494- as_ln_s='cp -p'
495- fi
496-else
497- as_ln_s='cp -p'
498-fi
499-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
500-rmdir conf$$.dir 2>/dev/null
501-
502-if mkdir -p . 2>/dev/null; then
503- as_mkdir_p='mkdir -p "$as_dir"'
504-else
505- test -d ./-p && rmdir ./-p
506- as_mkdir_p=false
507-fi
508-
509-if test -x / >/dev/null 2>&1; then
510- as_test_x='test -x'
511-else
512- if ls -dL / >/dev/null 2>&1; then
513- as_ls_L_option=L
514- else
515- as_ls_L_option=
516- fi
517- as_test_x='
518- eval sh -c '\''
519- if test -d "$1"; then
520- test -d "$1/.";
521- else
522- case $1 in #(
523- -*)set "./$1";;
524- esac;
525- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
526- ???[sx]*):;;*)false;;esac;fi
527- '\'' sh
528- '
529-fi
530-as_executable_p=$as_test_x
531-
532-# Sed expression to map a string onto a valid CPP name.
533-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534-
535-# Sed expression to map a string onto a valid variable name.
536-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537-
538-
539-test -n "$DJDIR" || exec 7<&0 </dev/null
540-exec 6>&1
541-
542-# Name of the host.
543-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
544-# so uname gets run too.
545-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
546-
547-#
548-# Initializations.
549-#
550-ac_default_prefix=/usr/local
551-ac_clean_files=
552-ac_config_libobj_dir=.
553-LIBOBJS=
554-cross_compiling=no
555-subdirs=
556-MFLAGS=
557-MAKEFLAGS=
558-
559-# Identity of this package.
560-PACKAGE_NAME='ShapeFusion'
561-PACKAGE_TARNAME='ShapeFusion'
562-PACKAGE_VERSION='0.5'
563-PACKAGE_STRING='ShapeFusion 0.5'
564-PACKAGE_BUGREPORT='http://sourceforge.net/bugs/?group_id=1997'
565-PACKAGE_URL=''
566-
567-ac_subst_vars='am__EXEEXT_FALSE
568-am__EXEEXT_TRUE
569-LTLIBOBJS
570-LIBOBJS
571-MAKE_WINDOWS_FALSE
572-MAKE_WINDOWS_TRUE
573-SNDFILE_LIBS
574-SNDFILE_CFLAGS
575-PKG_CONFIG
576-WX_VERSION_MICRO
577-WX_VERSION_MINOR
578-WX_VERSION_MAJOR
579-WX_RESCOMP
580-WX_VERSION
581-WX_LIBS_STATIC
582-WX_LIBS
583-WX_CXXFLAGS_ONLY
584-WX_CFLAGS_ONLY
585-WX_CXXFLAGS
586-WX_CFLAGS
587-WX_CPPFLAGS
588-WX_CONFIG_PATH
589-WINDRES
590-RANLIB
591-CXXCPP
592-am__fastdepCXX_FALSE
593-am__fastdepCXX_TRUE
594-CXXDEPMODE
595-ac_ct_CXX
596-CXXFLAGS
597-CXX
598-CPP
599-am__fastdepCC_FALSE
600-am__fastdepCC_TRUE
601-CCDEPMODE
602-am__nodep
603-AMDEPBACKSLASH
604-AMDEP_FALSE
605-AMDEP_TRUE
606-am__quote
607-am__include
608-DEPDIR
609-OBJEXT
610-EXEEXT
611-ac_ct_CC
612-CPPFLAGS
613-LDFLAGS
614-CFLAGS
615-CC
616-am__untar
617-am__tar
618-AMTAR
619-am__leading_dot
620-SET_MAKE
621-AWK
622-mkdir_p
623-MKDIR_P
624-INSTALL_STRIP_PROGRAM
625-STRIP
626-install_sh
627-MAKEINFO
628-AUTOHEADER
629-AUTOMAKE
630-AUTOCONF
631-ACLOCAL
632-VERSION
633-PACKAGE
634-CYGPATH_W
635-am__isrc
636-INSTALL_DATA
637-INSTALL_SCRIPT
638-INSTALL_PROGRAM
639-target_os
640-target_vendor
641-target_cpu
642-target
643-host_os
644-host_vendor
645-host_cpu
646-host
647-build_os
648-build_vendor
649-build_cpu
650-build
651-target_alias
652-host_alias
653-build_alias
654-LIBS
655-ECHO_T
656-ECHO_N
657-ECHO_C
658-DEFS
659-mandir
660-localedir
661-libdir
662-psdir
663-pdfdir
664-dvidir
665-htmldir
666-infodir
667-docdir
668-oldincludedir
669-includedir
670-localstatedir
671-sharedstatedir
672-sysconfdir
673-datadir
674-datarootdir
675-libexecdir
676-sbindir
677-bindir
678-program_transform_name
679-prefix
680-exec_prefix
681-PACKAGE_URL
682-PACKAGE_BUGREPORT
683-PACKAGE_STRING
684-PACKAGE_VERSION
685-PACKAGE_TARNAME
686-PACKAGE_NAME
687-PATH_SEPARATOR
688-SHELL'
689-ac_subst_files=''
690-ac_user_opts='
691-enable_option_checking
692-enable_dependency_tracking
693-with_wxdir
694-with_wx_config
695-with_wx_prefix
696-with_wx_exec_prefix
697-'
698- ac_precious_vars='build_alias
699-host_alias
700-target_alias
701-CC
702-CFLAGS
703-LDFLAGS
704-LIBS
705-CPPFLAGS
706-CPP
707-CXX
708-CXXFLAGS
709-CCC
710-CXXCPP
711-PKG_CONFIG
712-SNDFILE_CFLAGS
713-SNDFILE_LIBS'
714-
715-
716-# Initialize some variables set by options.
717-ac_init_help=
718-ac_init_version=false
719-ac_unrecognized_opts=
720-ac_unrecognized_sep=
721-# The variables have the same names as the options, with
722-# dashes changed to underlines.
723-cache_file=/dev/null
724-exec_prefix=NONE
725-no_create=
726-no_recursion=
727-prefix=NONE
728-program_prefix=NONE
729-program_suffix=NONE
730-program_transform_name=s,x,x,
731-silent=
732-site=
733-srcdir=
734-verbose=
735-x_includes=NONE
736-x_libraries=NONE
737-
738-# Installation directory options.
739-# These are left unexpanded so users can "make install exec_prefix=/foo"
740-# and all the variables that are supposed to be based on exec_prefix
741-# by default will actually change.
742-# Use braces instead of parens because sh, perl, etc. also accept them.
743-# (The list follows the same order as the GNU Coding Standards.)
744-bindir='${exec_prefix}/bin'
745-sbindir='${exec_prefix}/sbin'
746-libexecdir='${exec_prefix}/libexec'
747-datarootdir='${prefix}/share'
748-datadir='${datarootdir}'
749-sysconfdir='${prefix}/etc'
750-sharedstatedir='${prefix}/com'
751-localstatedir='${prefix}/var'
752-includedir='${prefix}/include'
753-oldincludedir='/usr/include'
754-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
755-infodir='${datarootdir}/info'
756-htmldir='${docdir}'
757-dvidir='${docdir}'
758-pdfdir='${docdir}'
759-psdir='${docdir}'
760-libdir='${exec_prefix}/lib'
761-localedir='${datarootdir}/locale'
762-mandir='${datarootdir}/man'
763-
764-ac_prev=
765-ac_dashdash=
766-for ac_option
767-do
768- # If the previous option needs an argument, assign it.
769- if test -n "$ac_prev"; then
770- eval $ac_prev=\$ac_option
771- ac_prev=
772- continue
773- fi
774-
775- case $ac_option in
776- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
777- *=) ac_optarg= ;;
778- *) ac_optarg=yes ;;
779- esac
780-
781- # Accept the important Cygnus configure options, so we can diagnose typos.
782-
783- case $ac_dashdash$ac_option in
784- --)
785- ac_dashdash=yes ;;
786-
787- -bindir | --bindir | --bindi | --bind | --bin | --bi)
788- ac_prev=bindir ;;
789- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
790- bindir=$ac_optarg ;;
791-
792- -build | --build | --buil | --bui | --bu)
793- ac_prev=build_alias ;;
794- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
795- build_alias=$ac_optarg ;;
796-
797- -cache-file | --cache-file | --cache-fil | --cache-fi \
798- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
799- ac_prev=cache_file ;;
800- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
801- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
802- cache_file=$ac_optarg ;;
803-
804- --config-cache | -C)
805- cache_file=config.cache ;;
806-
807- -datadir | --datadir | --datadi | --datad)
808- ac_prev=datadir ;;
809- -datadir=* | --datadir=* | --datadi=* | --datad=*)
810- datadir=$ac_optarg ;;
811-
812- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
813- | --dataroo | --dataro | --datar)
814- ac_prev=datarootdir ;;
815- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
816- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
817- datarootdir=$ac_optarg ;;
818-
819- -disable-* | --disable-*)
820- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
821- # Reject names that are not valid shell variable names.
822- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
823- as_fn_error $? "invalid feature name: $ac_useropt"
824- ac_useropt_orig=$ac_useropt
825- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
826- case $ac_user_opts in
827- *"
828-"enable_$ac_useropt"
829-"*) ;;
830- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
831- ac_unrecognized_sep=', ';;
832- esac
833- eval enable_$ac_useropt=no ;;
834-
835- -docdir | --docdir | --docdi | --doc | --do)
836- ac_prev=docdir ;;
837- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
838- docdir=$ac_optarg ;;
839-
840- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
841- ac_prev=dvidir ;;
842- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
843- dvidir=$ac_optarg ;;
844-
845- -enable-* | --enable-*)
846- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
847- # Reject names that are not valid shell variable names.
848- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
849- as_fn_error $? "invalid feature name: $ac_useropt"
850- ac_useropt_orig=$ac_useropt
851- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
852- case $ac_user_opts in
853- *"
854-"enable_$ac_useropt"
855-"*) ;;
856- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
857- ac_unrecognized_sep=', ';;
858- esac
859- eval enable_$ac_useropt=\$ac_optarg ;;
860-
861- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
862- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
863- | --exec | --exe | --ex)
864- ac_prev=exec_prefix ;;
865- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
866- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
867- | --exec=* | --exe=* | --ex=*)
868- exec_prefix=$ac_optarg ;;
869-
870- -gas | --gas | --ga | --g)
871- # Obsolete; use --with-gas.
872- with_gas=yes ;;
873-
874- -help | --help | --hel | --he | -h)
875- ac_init_help=long ;;
876- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
877- ac_init_help=recursive ;;
878- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
879- ac_init_help=short ;;
880-
881- -host | --host | --hos | --ho)
882- ac_prev=host_alias ;;
883- -host=* | --host=* | --hos=* | --ho=*)
884- host_alias=$ac_optarg ;;
885-
886- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
887- ac_prev=htmldir ;;
888- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
889- | --ht=*)
890- htmldir=$ac_optarg ;;
891-
892- -includedir | --includedir | --includedi | --included | --include \
893- | --includ | --inclu | --incl | --inc)
894- ac_prev=includedir ;;
895- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
896- | --includ=* | --inclu=* | --incl=* | --inc=*)
897- includedir=$ac_optarg ;;
898-
899- -infodir | --infodir | --infodi | --infod | --info | --inf)
900- ac_prev=infodir ;;
901- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
902- infodir=$ac_optarg ;;
903-
904- -libdir | --libdir | --libdi | --libd)
905- ac_prev=libdir ;;
906- -libdir=* | --libdir=* | --libdi=* | --libd=*)
907- libdir=$ac_optarg ;;
908-
909- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
910- | --libexe | --libex | --libe)
911- ac_prev=libexecdir ;;
912- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
913- | --libexe=* | --libex=* | --libe=*)
914- libexecdir=$ac_optarg ;;
915-
916- -localedir | --localedir | --localedi | --localed | --locale)
917- ac_prev=localedir ;;
918- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
919- localedir=$ac_optarg ;;
920-
921- -localstatedir | --localstatedir | --localstatedi | --localstated \
922- | --localstate | --localstat | --localsta | --localst | --locals)
923- ac_prev=localstatedir ;;
924- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
925- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
926- localstatedir=$ac_optarg ;;
927-
928- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
929- ac_prev=mandir ;;
930- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
931- mandir=$ac_optarg ;;
932-
933- -nfp | --nfp | --nf)
934- # Obsolete; use --without-fp.
935- with_fp=no ;;
936-
937- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
938- | --no-cr | --no-c | -n)
939- no_create=yes ;;
940-
941- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
942- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
943- no_recursion=yes ;;
944-
945- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
946- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
947- | --oldin | --oldi | --old | --ol | --o)
948- ac_prev=oldincludedir ;;
949- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
950- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
951- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
952- oldincludedir=$ac_optarg ;;
953-
954- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
955- ac_prev=prefix ;;
956- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
957- prefix=$ac_optarg ;;
958-
959- -program-prefix | --program-prefix | --program-prefi | --program-pref \
960- | --program-pre | --program-pr | --program-p)
961- ac_prev=program_prefix ;;
962- -program-prefix=* | --program-prefix=* | --program-prefi=* \
963- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
964- program_prefix=$ac_optarg ;;
965-
966- -program-suffix | --program-suffix | --program-suffi | --program-suff \
967- | --program-suf | --program-su | --program-s)
968- ac_prev=program_suffix ;;
969- -program-suffix=* | --program-suffix=* | --program-suffi=* \
970- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
971- program_suffix=$ac_optarg ;;
972-
973- -program-transform-name | --program-transform-name \
974- | --program-transform-nam | --program-transform-na \
975- | --program-transform-n | --program-transform- \
976- | --program-transform | --program-transfor \
977- | --program-transfo | --program-transf \
978- | --program-trans | --program-tran \
979- | --progr-tra | --program-tr | --program-t)
980- ac_prev=program_transform_name ;;
981- -program-transform-name=* | --program-transform-name=* \
982- | --program-transform-nam=* | --program-transform-na=* \
983- | --program-transform-n=* | --program-transform-=* \
984- | --program-transform=* | --program-transfor=* \
985- | --program-transfo=* | --program-transf=* \
986- | --program-trans=* | --program-tran=* \
987- | --progr-tra=* | --program-tr=* | --program-t=*)
988- program_transform_name=$ac_optarg ;;
989-
990- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
991- ac_prev=pdfdir ;;
992- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
993- pdfdir=$ac_optarg ;;
994-
995- -psdir | --psdir | --psdi | --psd | --ps)
996- ac_prev=psdir ;;
997- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
998- psdir=$ac_optarg ;;
999-
1000- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1001- | -silent | --silent | --silen | --sile | --sil)
1002- silent=yes ;;
1003-
1004- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1005- ac_prev=sbindir ;;
1006- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1007- | --sbi=* | --sb=*)
1008- sbindir=$ac_optarg ;;
1009-
1010- -sharedstatedir | --sharedstatedir | --sharedstatedi \
1011- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1012- | --sharedst | --shareds | --shared | --share | --shar \
1013- | --sha | --sh)
1014- ac_prev=sharedstatedir ;;
1015- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1016- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1017- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1018- | --sha=* | --sh=*)
1019- sharedstatedir=$ac_optarg ;;
1020-
1021- -site | --site | --sit)
1022- ac_prev=site ;;
1023- -site=* | --site=* | --sit=*)
1024- site=$ac_optarg ;;
1025-
1026- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1027- ac_prev=srcdir ;;
1028- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1029- srcdir=$ac_optarg ;;
1030-
1031- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1032- | --syscon | --sysco | --sysc | --sys | --sy)
1033- ac_prev=sysconfdir ;;
1034- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1035- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1036- sysconfdir=$ac_optarg ;;
1037-
1038- -target | --target | --targe | --targ | --tar | --ta | --t)
1039- ac_prev=target_alias ;;
1040- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1041- target_alias=$ac_optarg ;;
1042-
1043- -v | -verbose | --verbose | --verbos | --verbo | --verb)
1044- verbose=yes ;;
1045-
1046- -version | --version | --versio | --versi | --vers | -V)
1047- ac_init_version=: ;;
1048-
1049- -with-* | --with-*)
1050- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1051- # Reject names that are not valid shell variable names.
1052- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1053- as_fn_error $? "invalid package name: $ac_useropt"
1054- ac_useropt_orig=$ac_useropt
1055- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056- case $ac_user_opts in
1057- *"
1058-"with_$ac_useropt"
1059-"*) ;;
1060- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1061- ac_unrecognized_sep=', ';;
1062- esac
1063- eval with_$ac_useropt=\$ac_optarg ;;
1064-
1065- -without-* | --without-*)
1066- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1067- # Reject names that are not valid shell variable names.
1068- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1069- as_fn_error $? "invalid package name: $ac_useropt"
1070- ac_useropt_orig=$ac_useropt
1071- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072- case $ac_user_opts in
1073- *"
1074-"with_$ac_useropt"
1075-"*) ;;
1076- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1077- ac_unrecognized_sep=', ';;
1078- esac
1079- eval with_$ac_useropt=no ;;
1080-
1081- --x)
1082- # Obsolete; use --with-x.
1083- with_x=yes ;;
1084-
1085- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1086- | --x-incl | --x-inc | --x-in | --x-i)
1087- ac_prev=x_includes ;;
1088- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1089- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1090- x_includes=$ac_optarg ;;
1091-
1092- -x-libraries | --x-libraries | --x-librarie | --x-librari \
1093- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1094- ac_prev=x_libraries ;;
1095- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1096- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1097- x_libraries=$ac_optarg ;;
1098-
1099- -*) as_fn_error $? "unrecognized option: \`$ac_option'
1100-Try \`$0 --help' for more information"
1101- ;;
1102-
1103- *=*)
1104- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1105- # Reject names that are not valid shell variable names.
1106- case $ac_envvar in #(
1107- '' | [0-9]* | *[!_$as_cr_alnum]* )
1108- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1109- esac
1110- eval $ac_envvar=\$ac_optarg
1111- export $ac_envvar ;;
1112-
1113- *)
1114- # FIXME: should be removed in autoconf 3.0.
1115- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1116- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1117- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1118- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1119- ;;
1120-
1121- esac
1122-done
1123-
1124-if test -n "$ac_prev"; then
1125- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1126- as_fn_error $? "missing argument to $ac_option"
1127-fi
1128-
1129-if test -n "$ac_unrecognized_opts"; then
1130- case $enable_option_checking in
1131- no) ;;
1132- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1133- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1134- esac
1135-fi
1136-
1137-# Check all directory arguments for consistency.
1138-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1139- datadir sysconfdir sharedstatedir localstatedir includedir \
1140- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1141- libdir localedir mandir
1142-do
1143- eval ac_val=\$$ac_var
1144- # Remove trailing slashes.
1145- case $ac_val in
1146- */ )
1147- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1148- eval $ac_var=\$ac_val;;
1149- esac
1150- # Be sure to have absolute directory names.
1151- case $ac_val in
1152- [\\/$]* | ?:[\\/]* ) continue;;
1153- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1154- esac
1155- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1156-done
1157-
1158-# There might be people who depend on the old broken behavior: `$host'
1159-# used to hold the argument of --host etc.
1160-# FIXME: To remove some day.
1161-build=$build_alias
1162-host=$host_alias
1163-target=$target_alias
1164-
1165-# FIXME: To remove some day.
1166-if test "x$host_alias" != x; then
1167- if test "x$build_alias" = x; then
1168- cross_compiling=maybe
1169- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1170- If a cross compiler is detected then cross compile mode will be used" >&2
1171- elif test "x$build_alias" != "x$host_alias"; then
1172- cross_compiling=yes
1173- fi
1174-fi
1175-
1176-ac_tool_prefix=
1177-test -n "$host_alias" && ac_tool_prefix=$host_alias-
1178-
1179-test "$silent" = yes && exec 6>/dev/null
1180-
1181-
1182-ac_pwd=`pwd` && test -n "$ac_pwd" &&
1183-ac_ls_di=`ls -di .` &&
1184-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1185- as_fn_error $? "working directory cannot be determined"
1186-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1187- as_fn_error $? "pwd does not report name of working directory"
1188-
1189-
1190-# Find the source files, if location was not specified.
1191-if test -z "$srcdir"; then
1192- ac_srcdir_defaulted=yes
1193- # Try the directory containing this script, then the parent directory.
1194- ac_confdir=`$as_dirname -- "$as_myself" ||
1195-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1196- X"$as_myself" : 'X\(//\)[^/]' \| \
1197- X"$as_myself" : 'X\(//\)$' \| \
1198- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1199-$as_echo X"$as_myself" |
1200- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1201- s//\1/
1202- q
1203- }
1204- /^X\(\/\/\)[^/].*/{
1205- s//\1/
1206- q
1207- }
1208- /^X\(\/\/\)$/{
1209- s//\1/
1210- q
1211- }
1212- /^X\(\/\).*/{
1213- s//\1/
1214- q
1215- }
1216- s/.*/./; q'`
1217- srcdir=$ac_confdir
1218- if test ! -r "$srcdir/$ac_unique_file"; then
1219- srcdir=..
1220- fi
1221-else
1222- ac_srcdir_defaulted=no
1223-fi
1224-if test ! -r "$srcdir/$ac_unique_file"; then
1225- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1226- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1227-fi
1228-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1229-ac_abs_confdir=`(
1230- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1231- pwd)`
1232-# When building in place, set srcdir=.
1233-if test "$ac_abs_confdir" = "$ac_pwd"; then
1234- srcdir=.
1235-fi
1236-# Remove unnecessary trailing slashes from srcdir.
1237-# Double slashes in file names in object file debugging info
1238-# mess up M-x gdb in Emacs.
1239-case $srcdir in
1240-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1241-esac
1242-for ac_var in $ac_precious_vars; do
1243- eval ac_env_${ac_var}_set=\${${ac_var}+set}
1244- eval ac_env_${ac_var}_value=\$${ac_var}
1245- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1246- eval ac_cv_env_${ac_var}_value=\$${ac_var}
1247-done
1248-
1249-#
1250-# Report the --help message.
1251-#
1252-if test "$ac_init_help" = "long"; then
1253- # Omit some internal or obsolete options to make the list less imposing.
1254- # This message is too long to be a string in the A/UX 3.1 sh.
1255- cat <<_ACEOF
1256-\`configure' configures ShapeFusion 0.5 to adapt to many kinds of systems.
1257-
1258-Usage: $0 [OPTION]... [VAR=VALUE]...
1259-
1260-To assign environment variables (e.g., CC, CFLAGS...), specify them as
1261-VAR=VALUE. See below for descriptions of some of the useful variables.
1262-
1263-Defaults for the options are specified in brackets.
1264-
1265-Configuration:
1266- -h, --help display this help and exit
1267- --help=short display options specific to this package
1268- --help=recursive display the short help of all the included packages
1269- -V, --version display version information and exit
1270- -q, --quiet, --silent do not print \`checking ...' messages
1271- --cache-file=FILE cache test results in FILE [disabled]
1272- -C, --config-cache alias for \`--cache-file=config.cache'
1273- -n, --no-create do not create output files
1274- --srcdir=DIR find the sources in DIR [configure dir or \`..']
1275-
1276-Installation directories:
1277- --prefix=PREFIX install architecture-independent files in PREFIX
1278- [$ac_default_prefix]
1279- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1280- [PREFIX]
1281-
1282-By default, \`make install' will install all the files in
1283-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1284-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1285-for instance \`--prefix=\$HOME'.
1286-
1287-For better control, use the options below.
1288-
1289-Fine tuning of the installation directories:
1290- --bindir=DIR user executables [EPREFIX/bin]
1291- --sbindir=DIR system admin executables [EPREFIX/sbin]
1292- --libexecdir=DIR program executables [EPREFIX/libexec]
1293- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1294- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1295- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1296- --libdir=DIR object code libraries [EPREFIX/lib]
1297- --includedir=DIR C header files [PREFIX/include]
1298- --oldincludedir=DIR C header files for non-gcc [/usr/include]
1299- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1300- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1301- --infodir=DIR info documentation [DATAROOTDIR/info]
1302- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1303- --mandir=DIR man documentation [DATAROOTDIR/man]
1304- --docdir=DIR documentation root [DATAROOTDIR/doc/ShapeFusion]
1305- --htmldir=DIR html documentation [DOCDIR]
1306- --dvidir=DIR dvi documentation [DOCDIR]
1307- --pdfdir=DIR pdf documentation [DOCDIR]
1308- --psdir=DIR ps documentation [DOCDIR]
1309-_ACEOF
1310-
1311- cat <<\_ACEOF
1312-
1313-Program names:
1314- --program-prefix=PREFIX prepend PREFIX to installed program names
1315- --program-suffix=SUFFIX append SUFFIX to installed program names
1316- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1317-
1318-System types:
1319- --build=BUILD configure for building on BUILD [guessed]
1320- --host=HOST cross-compile to build programs to run on HOST [BUILD]
1321- --target=TARGET configure for building compilers for TARGET [HOST]
1322-_ACEOF
1323-fi
1324-
1325-if test -n "$ac_init_help"; then
1326- case $ac_init_help in
1327- short | recursive ) echo "Configuration of ShapeFusion 0.5:";;
1328- esac
1329- cat <<\_ACEOF
1330-
1331-Optional Features:
1332- --disable-option-checking ignore unrecognized --enable/--with options
1333- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1334- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1335- --disable-dependency-tracking speeds up one-time build
1336- --enable-dependency-tracking do not reject slow dependency extractors
1337-
1338-Optional Packages:
1339- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1340- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1341- --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1342- --with-wx-config=CONFIG wx-config script to use (optional)
1343- --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1344- --with-wx-exec-prefix=PREFIX
1345- Exec prefix where wxWidgets is installed (optional)
1346-
1347-Some influential environment variables:
1348- CC C compiler command
1349- CFLAGS C compiler flags
1350- LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1351- nonstandard directory <lib dir>
1352- LIBS libraries to pass to the linker, e.g. -l<library>
1353- CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1354- you have headers in a nonstandard directory <include dir>
1355- CPP C preprocessor
1356- CXX C++ compiler command
1357- CXXFLAGS C++ compiler flags
1358- CXXCPP C++ preprocessor
1359- PKG_CONFIG path to pkg-config utility
1360- SNDFILE_CFLAGS
1361- C compiler flags for SNDFILE, overriding pkg-config
1362- SNDFILE_LIBS
1363- linker flags for SNDFILE, overriding pkg-config
1364-
1365-Use these variables to override the choices made by `configure' or to help
1366-it to find libraries and programs with nonstandard names/locations.
1367-
1368-Report bugs to <http://sourceforge.net/bugs/?group_id=1997>.
1369-_ACEOF
1370-ac_status=$?
1371-fi
1372-
1373-if test "$ac_init_help" = "recursive"; then
1374- # If there are subdirs, report their specific --help.
1375- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1376- test -d "$ac_dir" ||
1377- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1378- continue
1379- ac_builddir=.
1380-
1381-case "$ac_dir" in
1382-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1383-*)
1384- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1385- # A ".." for each directory in $ac_dir_suffix.
1386- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1387- case $ac_top_builddir_sub in
1388- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1389- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1390- esac ;;
1391-esac
1392-ac_abs_top_builddir=$ac_pwd
1393-ac_abs_builddir=$ac_pwd$ac_dir_suffix
1394-# for backward compatibility:
1395-ac_top_builddir=$ac_top_build_prefix
1396-
1397-case $srcdir in
1398- .) # We are building in place.
1399- ac_srcdir=.
1400- ac_top_srcdir=$ac_top_builddir_sub
1401- ac_abs_top_srcdir=$ac_pwd ;;
1402- [\\/]* | ?:[\\/]* ) # Absolute name.
1403- ac_srcdir=$srcdir$ac_dir_suffix;
1404- ac_top_srcdir=$srcdir
1405- ac_abs_top_srcdir=$srcdir ;;
1406- *) # Relative name.
1407- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1408- ac_top_srcdir=$ac_top_build_prefix$srcdir
1409- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1410-esac
1411-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1412-
1413- cd "$ac_dir" || { ac_status=$?; continue; }
1414- # Check for guested configure.
1415- if test -f "$ac_srcdir/configure.gnu"; then
1416- echo &&
1417- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1418- elif test -f "$ac_srcdir/configure"; then
1419- echo &&
1420- $SHELL "$ac_srcdir/configure" --help=recursive
1421- else
1422- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1423- fi || ac_status=$?
1424- cd "$ac_pwd" || { ac_status=$?; break; }
1425- done
1426-fi
1427-
1428-test -n "$ac_init_help" && exit $ac_status
1429-if $ac_init_version; then
1430- cat <<\_ACEOF
1431-ShapeFusion configure 0.5
1432-generated by GNU Autoconf 2.68
1433-
1434-Copyright (C) 2010 Free Software Foundation, Inc.
1435-This configure script is free software; the Free Software Foundation
1436-gives unlimited permission to copy, distribute and modify it.
1437-_ACEOF
1438- exit
1439-fi
1440-
1441-## ------------------------ ##
1442-## Autoconf initialization. ##
1443-## ------------------------ ##
1444-
1445-# ac_fn_c_try_compile LINENO
1446-# --------------------------
1447-# Try to compile conftest.$ac_ext, and return whether this succeeded.
1448-ac_fn_c_try_compile ()
1449-{
1450- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1451- rm -f conftest.$ac_objext
1452- if { { ac_try="$ac_compile"
1453-case "(($ac_try" in
1454- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1455- *) ac_try_echo=$ac_try;;
1456-esac
1457-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1458-$as_echo "$ac_try_echo"; } >&5
1459- (eval "$ac_compile") 2>conftest.err
1460- ac_status=$?
1461- if test -s conftest.err; then
1462- grep -v '^ *+' conftest.err >conftest.er1
1463- cat conftest.er1 >&5
1464- mv -f conftest.er1 conftest.err
1465- fi
1466- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1467- test $ac_status = 0; } && {
1468- test -z "$ac_c_werror_flag" ||
1469- test ! -s conftest.err
1470- } && test -s conftest.$ac_objext; then :
1471- ac_retval=0
1472-else
1473- $as_echo "$as_me: failed program was:" >&5
1474-sed 's/^/| /' conftest.$ac_ext >&5
1475-
1476- ac_retval=1
1477-fi
1478- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1479- as_fn_set_status $ac_retval
1480-
1481-} # ac_fn_c_try_compile
1482-
1483-# ac_fn_c_try_cpp LINENO
1484-# ----------------------
1485-# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1486-ac_fn_c_try_cpp ()
1487-{
1488- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1489- if { { ac_try="$ac_cpp conftest.$ac_ext"
1490-case "(($ac_try" in
1491- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1492- *) ac_try_echo=$ac_try;;
1493-esac
1494