mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	* Linux compilation fixes
This commit is contained in:
		| @@ -250,7 +250,6 @@ libdir = @libdir@ | ||||
| libexecdir = @libexecdir@ | ||||
| localedir = @localedir@ | ||||
| localstatedir = @localstatedir@ | ||||
| lt_ECHO = @lt_ECHO@ | ||||
| mandir = @mandir@ | ||||
| mkdir_p = @mkdir_p@ | ||||
| oldincludedir = @oldincludedir@ | ||||
|   | ||||
| @@ -252,7 +252,6 @@ libdir = @libdir@ | ||||
| libexecdir = @libexecdir@ | ||||
| localedir = @localedir@ | ||||
| localstatedir = @localstatedir@ | ||||
| lt_ECHO = @lt_ECHO@ | ||||
| mandir = @mandir@ | ||||
| mkdir_p = @mkdir_p@ | ||||
| oldincludedir = @oldincludedir@ | ||||
|   | ||||
| @@ -218,7 +218,6 @@ libdir = @libdir@ | ||||
| libexecdir = @libexecdir@ | ||||
| localedir = @localedir@ | ||||
| localstatedir = @localstatedir@ | ||||
| lt_ECHO = @lt_ECHO@ | ||||
| mandir = @mandir@ | ||||
| mkdir_p = @mkdir_p@ | ||||
| oldincludedir = @oldincludedir@ | ||||
|   | ||||
| @@ -250,7 +250,6 @@ libdir = @libdir@ | ||||
| libexecdir = @libexecdir@ | ||||
| localedir = @localedir@ | ||||
| localstatedir = @localstatedir@ | ||||
| lt_ECHO = @lt_ECHO@ | ||||
| mandir = @mandir@ | ||||
| mkdir_p = @mkdir_p@ | ||||
| oldincludedir = @oldincludedir@ | ||||
|   | ||||
							
								
								
									
										198
									
								
								INSTALL
									
									
									
									
									
								
							
							
						
						
									
										198
									
								
								INSTALL
									
									
									
									
									
								
							| @@ -2,18 +2,24 @@ Installation Instructions | ||||
| ************************* | ||||
|  | ||||
| Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, | ||||
| 2006, 2007 Free Software Foundation, Inc. | ||||
| 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | ||||
|  | ||||
| This file is free documentation; the Free Software Foundation gives | ||||
| unlimited permission to copy, distribute and modify it. | ||||
|    Copying and distribution of this file, with or without modification, | ||||
| are permitted in any medium without royalty provided the copyright | ||||
| notice and this notice are preserved.  This file is offered as-is, | ||||
| without warranty of any kind. | ||||
|  | ||||
| Basic Installation | ||||
| ================== | ||||
|  | ||||
| Briefly, the shell commands `./configure; make; make install' should | ||||
|    Briefly, the shell commands `./configure; make; make install' should | ||||
| configure, build, and install this package.  The following | ||||
| more-detailed instructions are generic; see the `README' file for | ||||
| instructions specific to this package. | ||||
| instructions specific to this package.  Some packages provide this | ||||
| `INSTALL' file but do not implement all of the features documented | ||||
| below.  The lack of an optional feature in a given package is not | ||||
| necessarily a bug.  More recommendations for GNU packages can be found | ||||
| in *note Makefile Conventions: (standards)Makefile Conventions. | ||||
|  | ||||
|    The `configure' shell script attempts to guess correct values for | ||||
| various system-dependent variables used during compilation.  It uses | ||||
| @@ -42,7 +48,7 @@ may remove or edit it. | ||||
| you want to change it or regenerate `configure' using a newer version | ||||
| of `autoconf'. | ||||
|  | ||||
| The simplest way to compile this package is: | ||||
|    The simplest way to compile this package is: | ||||
|  | ||||
|   1. `cd' to the directory containing the package's source code and type | ||||
|      `./configure' to configure the package for your system. | ||||
| @@ -53,12 +59,22 @@ The simplest way to compile this package is: | ||||
|   2. Type `make' to compile the package. | ||||
|  | ||||
|   3. Optionally, type `make check' to run any self-tests that come with | ||||
|      the package. | ||||
|      the package, generally using the just-built uninstalled binaries. | ||||
|  | ||||
|   4. Type `make install' to install the programs and any data files and | ||||
|      documentation. | ||||
|      documentation.  When installing into a prefix owned by root, it is | ||||
|      recommended that the package be configured and built as a regular | ||||
|      user, and only the `make install' phase executed with root | ||||
|      privileges. | ||||
|  | ||||
|   5. You can remove the program binaries and object files from the | ||||
|   5. Optionally, type `make installcheck' to repeat any self-tests, but | ||||
|      this time using the binaries in their final installed location. | ||||
|      This target does not install anything.  Running this target as a | ||||
|      regular user, particularly if the prior `make install' required | ||||
|      root privileges, verifies that the installation completed | ||||
|      correctly. | ||||
|  | ||||
|   6. You can remove the program binaries and object files from the | ||||
|      source code directory by typing `make clean'.  To also remove the | ||||
|      files that `configure' created (so you can compile the package for | ||||
|      a different kind of computer), type `make distclean'.  There is | ||||
| @@ -67,15 +83,22 @@ The simplest way to compile this package is: | ||||
|      all sorts of other programs in order to regenerate files that came | ||||
|      with the distribution. | ||||
|  | ||||
|   6. Often, you can also type `make uninstall' to remove the installed | ||||
|      files again. | ||||
|   7. Often, you can also type `make uninstall' to remove the installed | ||||
|      files again.  In practice, not all packages have tested that | ||||
|      uninstallation works correctly, even though it is required by the | ||||
|      GNU Coding Standards. | ||||
|  | ||||
|   8. Some packages, particularly those that use Automake, provide `make | ||||
|      distcheck', which can by used by developers to test that all other | ||||
|      targets like `make install' and `make uninstall' work correctly. | ||||
|      This target is generally not run by end users. | ||||
|  | ||||
| Compilers and Options | ||||
| ===================== | ||||
|  | ||||
| Some systems require unusual options for compilation or linking that the | ||||
| `configure' script does not know about.  Run `./configure --help' for | ||||
| details on some of the pertinent environment variables. | ||||
|    Some systems require unusual options for compilation or linking that | ||||
| the `configure' script does not know about.  Run `./configure --help' | ||||
| for details on some of the pertinent environment variables. | ||||
|  | ||||
|    You can give `configure' initial values for configuration parameters | ||||
| by setting variables in the command line or in the environment.  Here | ||||
| @@ -88,25 +111,41 @@ is an example: | ||||
| Compiling For Multiple Architectures | ||||
| ==================================== | ||||
|  | ||||
| You can compile the package for more than one kind of computer at the | ||||
|    You can compile the package for more than one kind of computer at the | ||||
| same time, by placing the object files for each architecture in their | ||||
| own directory.  To do this, you can use GNU `make'.  `cd' to the | ||||
| directory where you want the object files and executables to go and run | ||||
| the `configure' script.  `configure' automatically checks for the | ||||
| source code in the directory that `configure' is in and in `..'. | ||||
| source code in the directory that `configure' is in and in `..'.  This | ||||
| is known as a "VPATH" build. | ||||
|  | ||||
|    With a non-GNU `make', it is safer to compile the package for one | ||||
| architecture at a time in the source code directory.  After you have | ||||
| installed the package for one architecture, use `make distclean' before | ||||
| reconfiguring for another architecture. | ||||
|  | ||||
|    On MacOS X 10.5 and later systems, you can create libraries and | ||||
| executables that work on multiple system types--known as "fat" or | ||||
| "universal" binaries--by specifying multiple `-arch' options to the | ||||
| compiler but only a single `-arch' option to the preprocessor.  Like | ||||
| this: | ||||
|  | ||||
|      ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ | ||||
|                  CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ | ||||
|                  CPP="gcc -E" CXXCPP="g++ -E" | ||||
|  | ||||
|    This is not guaranteed to produce working output in all cases, you | ||||
| may have to build one architecture at a time and combine the results | ||||
| using the `lipo' tool if you have problems. | ||||
|  | ||||
| Installation Names | ||||
| ================== | ||||
|  | ||||
| By default, `make install' installs the package's commands under | ||||
|    By default, `make install' installs the package's commands under | ||||
| `/usr/local/bin', include files under `/usr/local/include', etc.  You | ||||
| can specify an installation prefix other than `/usr/local' by giving | ||||
| `configure' the option `--prefix=PREFIX'. | ||||
| `configure' the option `--prefix=PREFIX', where PREFIX must be an | ||||
| absolute file name. | ||||
|  | ||||
|    You can specify separate installation prefixes for | ||||
| architecture-specific files and architecture-independent files.  If you | ||||
| @@ -117,16 +156,47 @@ Documentation and other data files still use the regular prefix. | ||||
|    In addition, if you use an unusual directory layout you can give | ||||
| options like `--bindir=DIR' to specify different values for particular | ||||
| kinds of files.  Run `configure --help' for a list of the directories | ||||
| you can set and what kinds of files go in them. | ||||
| you can set and what kinds of files go in them.  In general, the | ||||
| default for these options is expressed in terms of `${prefix}', so that | ||||
| specifying just `--prefix' will affect all of the other directory | ||||
| specifications that were not explicitly provided. | ||||
|  | ||||
|    The most portable way to affect installation locations is to pass the | ||||
| correct locations to `configure'; however, many packages provide one or | ||||
| both of the following shortcuts of passing variable assignments to the | ||||
| `make install' command line to change installation locations without | ||||
| having to reconfigure or recompile. | ||||
|  | ||||
|    The first method involves providing an override variable for each | ||||
| affected directory.  For example, `make install | ||||
| prefix=/alternate/directory' will choose an alternate location for all | ||||
| directory configuration variables that were expressed in terms of | ||||
| `${prefix}'.  Any directories that were specified during `configure', | ||||
| but not in terms of `${prefix}', must each be overridden at install | ||||
| time for the entire installation to be relocated.  The approach of | ||||
| makefile variable overrides for each directory variable is required by | ||||
| the GNU Coding Standards, and ideally causes no recompilation. | ||||
| However, some platforms have known limitations with the semantics of | ||||
| shared libraries that end up requiring recompilation when using this | ||||
| method, particularly noticeable in packages that use GNU Libtool. | ||||
|  | ||||
|    The second method involves providing the `DESTDIR' variable.  For | ||||
| example, `make install DESTDIR=/alternate/directory' will prepend | ||||
| `/alternate/directory' before all installation names.  The approach of | ||||
| `DESTDIR' overrides is not required by the GNU Coding Standards, and | ||||
| does not work on platforms that have drive letters.  On the other hand, | ||||
| it does better at avoiding recompilation issues, and works well even | ||||
| when some directory options were not specified in terms of `${prefix}' | ||||
| at `configure' time. | ||||
|  | ||||
| Optional Features | ||||
| ================= | ||||
|  | ||||
|    If the package supports it, you can cause programs to be installed | ||||
| with an extra prefix or suffix on their names by giving `configure' the | ||||
| option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. | ||||
|  | ||||
| Optional Features | ||||
| ================= | ||||
|  | ||||
| Some packages pay attention to `--enable-FEATURE' options to | ||||
|    Some packages pay attention to `--enable-FEATURE' options to | ||||
| `configure', where FEATURE indicates an optional part of the package. | ||||
| They may also pay attention to `--with-PACKAGE' options, where PACKAGE | ||||
| is something like `gnu-as' or `x' (for the X Window System).  The | ||||
| @@ -138,14 +208,53 @@ find the X include and library files automatically, but if it doesn't, | ||||
| you can use the `configure' options `--x-includes=DIR' and | ||||
| `--x-libraries=DIR' to specify their locations. | ||||
|  | ||||
|    Some packages offer the ability to configure how verbose the | ||||
| execution of `make' will be.  For these packages, running `./configure | ||||
| --enable-silent-rules' sets the default to minimal output, which can be | ||||
| overridden with `make V=1'; while running `./configure | ||||
| --disable-silent-rules' sets the default to verbose, which can be | ||||
| overridden with `make V=0'. | ||||
|  | ||||
| Particular systems | ||||
| ================== | ||||
|  | ||||
|    On HP-UX, the default C compiler is not ANSI C compatible.  If GNU | ||||
| CC is not installed, it is recommended to use the following options in | ||||
| order to use an ANSI C compiler: | ||||
|  | ||||
|      ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" | ||||
|  | ||||
| and if that doesn't work, install pre-built binaries of GCC for HP-UX. | ||||
|  | ||||
|    On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot | ||||
| parse its `<wchar.h>' header file.  The option `-nodtk' can be used as | ||||
| a workaround.  If GNU CC is not installed, it is therefore recommended | ||||
| to try | ||||
|  | ||||
|      ./configure CC="cc" | ||||
|  | ||||
| and if that doesn't work, try | ||||
|  | ||||
|      ./configure CC="cc -nodtk" | ||||
|  | ||||
|    On Solaris, don't put `/usr/ucb' early in your `PATH'.  This | ||||
| directory contains several dysfunctional programs; working variants of | ||||
| these programs are available in `/usr/bin'.  So, if you need `/usr/ucb' | ||||
| in your `PATH', put it _after_ `/usr/bin'. | ||||
|  | ||||
|    On Haiku, software installed for all users goes in `/boot/common', | ||||
| not `/usr/local'.  It is recommended to use the following options: | ||||
|  | ||||
|      ./configure --prefix=/boot/common | ||||
|  | ||||
| Specifying the System Type | ||||
| ========================== | ||||
|  | ||||
| There may be some features `configure' cannot figure out automatically, | ||||
| but needs to determine by the type of machine the package will run on. | ||||
| Usually, assuming the package is built to be run on the _same_ | ||||
| architectures, `configure' can figure that out, but if it prints a | ||||
| message saying it cannot guess the machine type, give it the | ||||
|    There may be some features `configure' cannot figure out | ||||
| automatically, but needs to determine by the type of machine the package | ||||
| will run on.  Usually, assuming the package is built to be run on the | ||||
| _same_ architectures, `configure' can figure that out, but if it prints | ||||
| a message saying it cannot guess the machine type, give it the | ||||
| `--build=TYPE' option.  TYPE can either be a short name for the system | ||||
| type, such as `sun4', or a canonical name which has the form: | ||||
|  | ||||
| @@ -153,7 +262,8 @@ type, such as `sun4', or a canonical name which has the form: | ||||
|  | ||||
| where SYSTEM can have one of these forms: | ||||
|  | ||||
|      OS KERNEL-OS | ||||
|      OS | ||||
|      KERNEL-OS | ||||
|  | ||||
|    See the file `config.sub' for the possible values of each field.  If | ||||
| `config.sub' isn't included in this package, then this package doesn't | ||||
| @@ -171,9 +281,9 @@ eventually be run) with `--host=TYPE'. | ||||
| Sharing Defaults | ||||
| ================ | ||||
|  | ||||
| If you want to set default values for `configure' scripts to share, you | ||||
| can create a site shell script called `config.site' that gives default | ||||
| values for variables like `CC', `cache_file', and `prefix'. | ||||
|    If you want to set default values for `configure' scripts to share, | ||||
| you can create a site shell script called `config.site' that gives | ||||
| default values for variables like `CC', `cache_file', and `prefix'. | ||||
| `configure' looks for `PREFIX/share/config.site' if it exists, then | ||||
| `PREFIX/etc/config.site' if it exists.  Or, you can set the | ||||
| `CONFIG_SITE' environment variable to the location of the site script. | ||||
| @@ -182,7 +292,7 @@ A warning: not all `configure' scripts look for a site script. | ||||
| Defining Variables | ||||
| ================== | ||||
|  | ||||
| Variables not defined in a site shell script can be set in the | ||||
|    Variables not defined in a site shell script can be set in the | ||||
| environment passed to `configure'.  However, some packages may run | ||||
| configure again during the build, and the customized values of these | ||||
| variables may be lost.  In order to avoid this problem, you should set | ||||
| @@ -201,11 +311,19 @@ an Autoconf bug.  Until the bug is fixed you can use this workaround: | ||||
| `configure' Invocation | ||||
| ====================== | ||||
|  | ||||
| `configure' recognizes the following options to control how it operates. | ||||
|    `configure' recognizes the following options to control how it | ||||
| operates. | ||||
|  | ||||
| `--help' | ||||
| `-h' | ||||
|      Print a summary of the options to `configure', and exit. | ||||
|      Print a summary of all of the options to `configure', and exit. | ||||
|  | ||||
| `--help=short' | ||||
| `--help=recursive' | ||||
|      Print a summary of the options unique to this package's | ||||
|      `configure', and exit.  The `short' variant lists options used | ||||
|      only in the top level, while the `recursive' variant lists options | ||||
|      also present in any nested packages. | ||||
|  | ||||
| `--version' | ||||
| `-V' | ||||
| @@ -232,6 +350,16 @@ an Autoconf bug.  Until the bug is fixed you can use this workaround: | ||||
|      Look for the package's source code in directory DIR.  Usually | ||||
|      `configure' can determine that directory automatically. | ||||
|  | ||||
| `--prefix=DIR' | ||||
|      Use DIR as the installation prefix.  *note Installation Names:: | ||||
|      for more details, including other options available for fine-tuning | ||||
|      the installation locations. | ||||
|  | ||||
| `--no-create' | ||||
| `-n' | ||||
|      Run the configure checks, but stop before creating any output | ||||
|      files. | ||||
|  | ||||
| `configure' also accepts some other, not widely useful, options.  Run | ||||
| `configure --help' for more details. | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| ACLOCAL_AMFLAGS = -I aclocal/m4 | ||||
| EXTRA_DIST = aclocal/m4 README.linux Data/s/*.verm | ||||
| SUBDIRS = lib client server AI Scripting/ERM | ||||
| SUBDIRS = lib server AI Scripting/ERM Odpalarka VCMI_BattleAiHost | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -233,7 +233,6 @@ libdir = @libdir@ | ||||
| libexecdir = @libexecdir@ | ||||
| localedir = @localedir@ | ||||
| localstatedir = @localstatedir@ | ||||
| lt_ECHO = @lt_ECHO@ | ||||
| mandir = @mandir@ | ||||
| mkdir_p = @mkdir_p@ | ||||
| oldincludedir = @oldincludedir@ | ||||
| @@ -251,7 +250,7 @@ top_builddir = @top_builddir@ | ||||
| top_srcdir = @top_srcdir@ | ||||
| ACLOCAL_AMFLAGS = -I aclocal/m4 | ||||
| EXTRA_DIST = aclocal/m4 README.linux Data/s/*.verm | ||||
| SUBDIRS = lib client server AI Scripting/ERM | ||||
| SUBDIRS = lib server AI Scripting/ERM Odpalarka VCMI_BattleAiHost | ||||
| all: all-recursive | ||||
|  | ||||
| .SUFFIXES: | ||||
|   | ||||
| @@ -4,16 +4,30 @@ | ||||
|  | ||||
| int main(int argc, const char **) | ||||
| { | ||||
| 	boost::thread t(boost::bind(std::system, "VCMI_server.exe b1.json StupidAI StupidAI")); | ||||
| 	boost::thread tt(boost::bind(std::system, "VCMI_BattleAiHost.exe")); | ||||
| 	boost::thread ttt(boost::bind(std::system, "VCMI_BattleAiHost.exe")); | ||||
| 	std::string runnername =  | ||||
| #ifdef _WIN32 | ||||
| 		"VCMI_BattleAiHost.exe" | ||||
| #else | ||||
| 		"./vcmirunner" | ||||
| #endif | ||||
| 	; | ||||
| 	std::string servername =  | ||||
| #ifdef _WIN32 | ||||
| 		"VCMI_server.exe" | ||||
| #else | ||||
| 		"./vcmiserver" | ||||
| #endif | ||||
| 		; | ||||
| 	boost::thread t(boost::bind(std::system, (servername + " b1.json StupidAI StupidAI").c_str())); | ||||
| 	boost::thread tt(boost::bind(std::system, runnername.c_str())); | ||||
| 	boost::thread ttt(boost::bind(std::system, runnername.c_str())); | ||||
| 	if(argc == 2) | ||||
| 	{ | ||||
| 		boost::this_thread::sleep(boost::posix_time::millisec(500)); //FIXME | ||||
| 		boost::thread tttt(boost::bind(std::system, "VCMI_Client.exe -battle")); | ||||
| 	} | ||||
| 	else if(argc == 1) | ||||
| 		boost::thread tttt(boost::bind(std::system, "VCMI_BattleAiHost.exe")); | ||||
| 		boost::thread tttt(boost::bind(std::system, runnername.c_str())); | ||||
|  | ||||
| 	//boost::this_thread::sleep(boost::posix_time::seconds(5)); | ||||
|  | ||||
|   | ||||
| @@ -251,7 +251,6 @@ libdir = @libdir@ | ||||
| libexecdir = @libexecdir@ | ||||
| localedir = @localedir@ | ||||
| localstatedir = @localstatedir@ | ||||
| lt_ECHO = @lt_ECHO@ | ||||
| mandir = @mandir@ | ||||
| mkdir_p = @mkdir_p@ | ||||
| oldincludedir = @oldincludedir@ | ||||
|   | ||||
							
								
								
									
										4
									
								
								aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -13,8 +13,8 @@ | ||||
|  | ||||
| m4_ifndef([AC_AUTOCONF_VERSION], | ||||
|   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | ||||
| m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, | ||||
| [m4_warning([this file was generated for autoconf 2.67. | ||||
| m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, | ||||
| [m4_warning([this file was generated for autoconf 2.65. | ||||
| You have another version of autoconf.  It may work, but is not guaranteed to. | ||||
| If you have problems, you may need to regenerate the build system entirely. | ||||
| To do so, use the procedure documented by the package, typically `autoreconf'.])]) | ||||
|   | ||||
							
								
								
									
										1051
									
								
								aclocal/m4/libtool.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1051
									
								
								aclocal/m4/libtool.m4
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										13
									
								
								aclocal/m4/ltoptions.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								aclocal/m4/ltoptions.m4
									
									
									
									
										vendored
									
									
								
							| @@ -1,13 +1,14 @@ | ||||
| # Helper functions for option handling.                    -*- Autoconf -*- | ||||
| # | ||||
| #   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. | ||||
| #   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, | ||||
| #   Inc. | ||||
| #   Written by Gary V. Vaughan, 2004 | ||||
| # | ||||
| # This file is free software; the Free Software Foundation gives | ||||
| # unlimited permission to copy and/or distribute it, with or without | ||||
| # modifications, as long as this notice is preserved. | ||||
|  | ||||
| # serial 6 ltoptions.m4 | ||||
| # serial 7 ltoptions.m4 | ||||
|  | ||||
| # This is to help aclocal find these macros, as it can't see m4_define. | ||||
| AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) | ||||
| @@ -125,7 +126,7 @@ LT_OPTION_DEFINE([LT_INIT], [win32-dll], | ||||
| [enable_win32_dll=yes | ||||
|  | ||||
| case $host in | ||||
| *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) | ||||
| *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) | ||||
|   AC_CHECK_TOOL(AS, as, false) | ||||
|   AC_CHECK_TOOL(DLLTOOL, dlltool, false) | ||||
|   AC_CHECK_TOOL(OBJDUMP, objdump, false) | ||||
| @@ -133,13 +134,13 @@ case $host in | ||||
| esac | ||||
|  | ||||
| test -z "$AS" && AS=as | ||||
| _LT_DECL([], [AS],      [0], [Assembler program])dnl | ||||
| _LT_DECL([], [AS],      [1], [Assembler program])dnl | ||||
|  | ||||
| test -z "$DLLTOOL" && DLLTOOL=dlltool | ||||
| _LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl | ||||
| _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl | ||||
|  | ||||
| test -z "$OBJDUMP" && OBJDUMP=objdump | ||||
| _LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl | ||||
| _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl | ||||
| ])# win32-dll | ||||
|  | ||||
| AU_DEFUN([AC_LIBTOOL_WIN32_DLL], | ||||
|   | ||||
							
								
								
									
										10
									
								
								aclocal/m4/ltversion.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								aclocal/m4/ltversion.m4
									
									
									
									
										vendored
									
									
								
							| @@ -9,15 +9,15 @@ | ||||
|  | ||||
| # Generated from ltversion.in. | ||||
|  | ||||
| # serial 3017 ltversion.m4 | ||||
| # serial 3175 ltversion.m4 | ||||
| # This file is part of GNU Libtool | ||||
|  | ||||
| m4_define([LT_PACKAGE_VERSION], [2.2.6b]) | ||||
| m4_define([LT_PACKAGE_REVISION], [1.3017]) | ||||
| m4_define([LT_PACKAGE_VERSION], [2.2.10]) | ||||
| m4_define([LT_PACKAGE_REVISION], [1.3175]) | ||||
|  | ||||
| AC_DEFUN([LTVERSION_VERSION], | ||||
| [macro_version='2.2.6b' | ||||
| macro_revision='1.3017' | ||||
| [macro_version='2.2.10' | ||||
| macro_revision='1.3175' | ||||
| _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) | ||||
| _LT_DECL(, macro_revision, 0) | ||||
| ]) | ||||
|   | ||||
							
								
								
									
										12
									
								
								aclocal/m4/lt~obsolete.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								aclocal/m4/lt~obsolete.m4
									
									
									
									
										vendored
									
									
								
							| @@ -1,13 +1,13 @@ | ||||
| # lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*- | ||||
| # | ||||
| #   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. | ||||
| #   Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. | ||||
| #   Written by Scott James Remnant, 2004. | ||||
| # | ||||
| # This file is free software; the Free Software Foundation gives | ||||
| # unlimited permission to copy and/or distribute it, with or without | ||||
| # modifications, as long as this notice is preserved. | ||||
|  | ||||
| # serial 4 lt~obsolete.m4 | ||||
| # serial 5 lt~obsolete.m4 | ||||
|  | ||||
| # These exist entirely to fool aclocal when bootstrapping libtool. | ||||
| # | ||||
| @@ -77,7 +77,6 @@ m4_ifndef([AC_DISABLE_FAST_INSTALL],	[AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) | ||||
| m4_ifndef([_LT_AC_LANG_CXX],		[AC_DEFUN([_LT_AC_LANG_CXX])]) | ||||
| m4_ifndef([_LT_AC_LANG_F77],		[AC_DEFUN([_LT_AC_LANG_F77])]) | ||||
| m4_ifndef([_LT_AC_LANG_GCJ],		[AC_DEFUN([_LT_AC_LANG_GCJ])]) | ||||
| m4_ifndef([AC_LIBTOOL_RC],		[AC_DEFUN([AC_LIBTOOL_RC])]) | ||||
| m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) | ||||
| m4_ifndef([_LT_AC_LANG_C_CONFIG],	[AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) | ||||
| m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) | ||||
| @@ -90,3 +89,10 @@ m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) | ||||
| m4_ifndef([_LT_AC_LANG_RC_CONFIG],	[AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) | ||||
| m4_ifndef([AC_LIBTOOL_CONFIG],		[AC_DEFUN([AC_LIBTOOL_CONFIG])]) | ||||
| m4_ifndef([_LT_AC_FILE_LTDLL_C],	[AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) | ||||
| m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS],	[AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) | ||||
| m4_ifndef([_LT_AC_PROG_CXXCPP],		[AC_DEFUN([_LT_AC_PROG_CXXCPP])]) | ||||
| m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS],	[AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) | ||||
| m4_ifndef([_LT_PROG_ECHO_BACKSLASH],	[AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) | ||||
| m4_ifndef([_LT_PROG_F77],		[AC_DEFUN([_LT_PROG_F77])]) | ||||
| m4_ifndef([_LT_PROG_FC],		[AC_DEFUN([_LT_PROG_FC])]) | ||||
| m4_ifndef([_LT_PROG_CXX],		[AC_DEFUN([_LT_PROG_CXX])]) | ||||
|   | ||||
							
								
								
									
										9
									
								
								config.guess
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								config.guess
									
									
									
									
										vendored
									
									
								
							| @@ -1,10 +1,10 @@ | ||||
| #! /bin/sh | ||||
| # Attempt to guess a canonical system name. | ||||
| #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | ||||
| #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | ||||
| #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | ||||
| #   Free Software Foundation, Inc. | ||||
|  | ||||
| timestamp='2009-12-30' | ||||
| timestamp='2009-11-20' | ||||
|  | ||||
| # This file is free software; you can redistribute it and/or modify it | ||||
| # under the terms of the GNU General Public License as published by | ||||
| @@ -56,9 +56,8 @@ version="\ | ||||
| GNU config.guess ($timestamp) | ||||
|  | ||||
| Originally written by Per Bothner. | ||||
| Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | ||||
| 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free | ||||
| Software Foundation, Inc. | ||||
| Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | ||||
| 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||||
|  | ||||
| This is free software; see the source for copying conditions.  There is NO | ||||
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | ||||
|   | ||||
							
								
								
									
										19
									
								
								config.sub
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								config.sub
									
									
									
									
										vendored
									
									
								
							| @@ -1,10 +1,10 @@ | ||||
| #! /bin/sh | ||||
| # Configuration validation subroutine script. | ||||
| #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | ||||
| #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | ||||
| #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | ||||
| #   Free Software Foundation, Inc. | ||||
|  | ||||
| timestamp='2010-01-22' | ||||
| timestamp='2009-11-20' | ||||
|  | ||||
| # This file is (in principle) common to ALL GNU software. | ||||
| # The presence of a machine in this file suggests that SOME GNU software | ||||
| @@ -75,9 +75,8 @@ Report bugs and patches to <config-patches@gnu.org>." | ||||
| version="\ | ||||
| GNU config.sub ($timestamp) | ||||
|  | ||||
| Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | ||||
| 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free | ||||
| Software Foundation, Inc. | ||||
| Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | ||||
| 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||||
|  | ||||
| This is free software; see the source for copying conditions.  There is NO | ||||
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | ||||
| @@ -381,8 +380,7 @@ case $basic_machine in | ||||
| 	| sparclite-* \ | ||||
| 	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | ||||
| 	| tahoe-* | thumb-* \ | ||||
| 	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | ||||
| 	| tile-* | tilegx-* \ | ||||
| 	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ | ||||
| 	| tron-* \ | ||||
| 	| ubicom32-* \ | ||||
| 	| v850-* | v850e-* | vax-* \ | ||||
| @@ -1087,11 +1085,6 @@ case $basic_machine in | ||||
| 		basic_machine=tic6x-unknown | ||||
| 		os=-coff | ||||
| 		;; | ||||
|         # This must be matched before tile*. | ||||
|         tilegx*) | ||||
| 		basic_machine=tilegx-unknown | ||||
| 		os=-linux-gnu | ||||
| 		;; | ||||
| 	tile*) | ||||
| 		basic_machine=tile-unknown | ||||
| 		os=-linux-gnu | ||||
| @@ -1442,8 +1435,6 @@ case $os in | ||||
| 	-dicos*) | ||||
| 		os=-dicos | ||||
| 		;; | ||||
|         -nacl*) | ||||
| 	        ;; | ||||
| 	-none) | ||||
| 		;; | ||||
| 	*) | ||||
|   | ||||
							
								
								
									
										87
									
								
								depcomp
									
									
									
									
									
								
							
							
						
						
									
										87
									
								
								depcomp
									
									
									
									
									
								
							| @@ -1,10 +1,10 @@ | ||||
| #! /bin/sh | ||||
| # depcomp - compile a program generating dependencies as side-effects | ||||
|  | ||||
| scriptversion=2007-03-29.01 | ||||
| scriptversion=2009-04-28.21; # UTC | ||||
|  | ||||
| # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software | ||||
| # Foundation, Inc. | ||||
| # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free | ||||
| # Software Foundation, Inc. | ||||
|  | ||||
| # This program is free software; you can redistribute it and/or modify | ||||
| # it under the terms of the GNU General Public License as published by | ||||
| @@ -17,9 +17,7 @@ scriptversion=2007-03-29.01 | ||||
| # GNU General Public License for more details. | ||||
|  | ||||
| # You should have received a copy of the GNU General Public License | ||||
| # along with this program; if not, write to the Free Software | ||||
| # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||||
| # 02110-1301, USA. | ||||
| # along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
|  | ||||
| # As a special exception to the GNU General Public License, if you | ||||
| # distribute this file as part of a program that contains a | ||||
| @@ -87,6 +85,15 @@ if test "$depmode" = dashXmstdout; then | ||||
|    depmode=dashmstdout | ||||
| fi | ||||
|  | ||||
| cygpath_u="cygpath -u -f -" | ||||
| if test "$depmode" = msvcmsys; then | ||||
|    # This is just like msvisualcpp but w/o cygpath translation. | ||||
|    # Just convert the backslash-escaped backslashes to single forward | ||||
|    # slashes to satisfy depend.m4 | ||||
|    cygpath_u="sed s,\\\\\\\\,/,g" | ||||
|    depmode=msvisualcpp | ||||
| fi | ||||
|  | ||||
| case "$depmode" in | ||||
| gcc3) | ||||
| ## gcc 3 implements dependency tracking that does exactly what | ||||
| @@ -192,14 +199,14 @@ sgi) | ||||
| ' < "$tmpdepfile" \ | ||||
|     | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ | ||||
|     tr ' | ||||
| ' ' ' >> $depfile | ||||
|     echo >> $depfile | ||||
| ' ' ' >> "$depfile" | ||||
|     echo >> "$depfile" | ||||
|  | ||||
|     # The second pass generates a dummy entry for each header file. | ||||
|     tr ' ' ' | ||||
| ' < "$tmpdepfile" \ | ||||
|    | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ | ||||
|    >> $depfile | ||||
|    >> "$depfile" | ||||
|   else | ||||
|     # The sourcefile does not contain any dependencies, so just | ||||
|     # store a dummy comment line, to avoid errors with the Makefile | ||||
| @@ -328,7 +335,12 @@ hp2) | ||||
|   if test -f "$tmpdepfile"; then | ||||
|     sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" | ||||
|     # Add `dependent.h:' lines. | ||||
|     sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" | ||||
|     sed -ne '2,${ | ||||
| 	       s/^ *// | ||||
| 	       s/ \\*$// | ||||
| 	       s/$/:/ | ||||
| 	       p | ||||
| 	     }' "$tmpdepfile" >> "$depfile" | ||||
|   else | ||||
|     echo "#dummy" > "$depfile" | ||||
|   fi | ||||
| @@ -404,7 +416,7 @@ dashmstdout) | ||||
|  | ||||
|   # Remove the call to Libtool. | ||||
|   if test "$libtool" = yes; then | ||||
|     while test $1 != '--mode=compile'; do | ||||
|     while test "X$1" != 'X--mode=compile'; do | ||||
|       shift | ||||
|     done | ||||
|     shift | ||||
| @@ -455,32 +467,39 @@ makedepend) | ||||
|   "$@" || exit $? | ||||
|   # Remove any Libtool call | ||||
|   if test "$libtool" = yes; then | ||||
|     while test $1 != '--mode=compile'; do | ||||
|     while test "X$1" != 'X--mode=compile'; do | ||||
|       shift | ||||
|     done | ||||
|     shift | ||||
|   fi | ||||
|   # X makedepend | ||||
|   shift | ||||
|   cleared=no | ||||
|   for arg in "$@"; do | ||||
|   cleared=no eat=no | ||||
|   for arg | ||||
|   do | ||||
|     case $cleared in | ||||
|     no) | ||||
|       set ""; shift | ||||
|       cleared=yes ;; | ||||
|     esac | ||||
|     if test $eat = yes; then | ||||
|       eat=no | ||||
|       continue | ||||
|     fi | ||||
|     case "$arg" in | ||||
|     -D*|-I*) | ||||
|       set fnord "$@" "$arg"; shift ;; | ||||
|     # Strip any option that makedepend may not understand.  Remove | ||||
|     # the object too, otherwise makedepend will parse it as a source file. | ||||
|     -arch) | ||||
|       eat=yes ;; | ||||
|     -*|$object) | ||||
|       ;; | ||||
|     *) | ||||
|       set fnord "$@" "$arg"; shift ;; | ||||
|     esac | ||||
|   done | ||||
|   obj_suffix="`echo $object | sed 's/^.*\././'`" | ||||
|   obj_suffix=`echo "$object" | sed 's/^.*\././'` | ||||
|   touch "$tmpdepfile" | ||||
|   ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" | ||||
|   rm -f "$depfile" | ||||
| @@ -500,7 +519,7 @@ cpp) | ||||
|  | ||||
|   # Remove the call to Libtool. | ||||
|   if test "$libtool" = yes; then | ||||
|     while test $1 != '--mode=compile'; do | ||||
|     while test "X$1" != 'X--mode=compile'; do | ||||
|       shift | ||||
|     done | ||||
|     shift | ||||
| @@ -538,13 +557,27 @@ cpp) | ||||
|  | ||||
| msvisualcpp) | ||||
|   # Important note: in order to support this mode, a compiler *must* | ||||
|   # always write the preprocessed file to stdout, regardless of -o, | ||||
|   # because we must use -o when running libtool. | ||||
|   # always write the preprocessed file to stdout. | ||||
|   "$@" || exit $? | ||||
|  | ||||
|   # Remove the call to Libtool. | ||||
|   if test "$libtool" = yes; then | ||||
|     while test "X$1" != 'X--mode=compile'; do | ||||
|       shift | ||||
|     done | ||||
|     shift | ||||
|   fi | ||||
|  | ||||
|   IFS=" " | ||||
|   for arg | ||||
|   do | ||||
|     case "$arg" in | ||||
|     -o) | ||||
|       shift | ||||
|       ;; | ||||
|     $object) | ||||
|       shift | ||||
|       ;; | ||||
|     "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") | ||||
| 	set fnord "$@" | ||||
| 	shift | ||||
| @@ -557,16 +590,23 @@ msvisualcpp) | ||||
| 	;; | ||||
|     esac | ||||
|   done | ||||
|   "$@" -E | | ||||
|   sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" | ||||
|   "$@" -E 2>/dev/null | | ||||
|   sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" | ||||
|   rm -f "$depfile" | ||||
|   echo "$object : \\" > "$depfile" | ||||
|   . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::	\1 \\:p' >> "$depfile" | ||||
|   sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::	\1 \\:p' >> "$depfile" | ||||
|   echo "	" >> "$depfile" | ||||
|   . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" | ||||
|   sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" | ||||
|   rm -f "$tmpdepfile" | ||||
|   ;; | ||||
|  | ||||
| msvcmsys) | ||||
|   # This case exists only to let depend.m4 do its work.  It works by | ||||
|   # looking at the text of this script.  This case will never be run, | ||||
|   # since it is checked for above. | ||||
|   exit 1 | ||||
|   ;; | ||||
|  | ||||
| none) | ||||
|   exec "$@" | ||||
|   ;; | ||||
| @@ -585,5 +625,6 @@ exit 0 | ||||
| # eval: (add-hook 'write-file-hooks 'time-stamp) | ||||
| # time-stamp-start: "scriptversion=" | ||||
| # time-stamp-format: "%:y-%02m-%02d.%02H" | ||||
| # time-stamp-end: "$" | ||||
| # time-stamp-time-zone: "UTC" | ||||
| # time-stamp-end: "; # UTC" | ||||
| # End: | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
| #include "CondSh.h" | ||||
|  | ||||
| class CConnection; | ||||
| struct CPack; | ||||
| struct CPack; | ||||
|  | ||||
| class DLL_EXPORT IConnectionHandler | ||||
| { | ||||
|   | ||||
| @@ -81,18 +81,19 @@ LTLIBRARIES = $(pkglib_LTLIBRARIES) | ||||
| libvcmi_la_DEPENDENCIES = | ||||
| am_libvcmi_la_OBJECTS = libvcmi_la-BattleAction.lo \ | ||||
| 	libvcmi_la-BattleState.lo libvcmi_la-CArtHandler.lo \ | ||||
| 	libvcmi_la-CBuildingHandler.lo libvcmi_la-CCampaignHandler.lo \ | ||||
| 	libvcmi_la-CCreatureHandler.lo libvcmi_la-CCreatureSet.lo \ | ||||
| 	libvcmi_la-CDefObjInfoHandler.lo libvcmi_la-CFileUtility.lo \ | ||||
| 	libvcmi_la-CGameInterface.lo libvcmi_la-CGameState.lo \ | ||||
| 	libvcmi_la-CGeneralTextHandler.lo libvcmi_la-CHeroHandler.lo \ | ||||
| 	libvcmi_la-CLodHandler.lo libvcmi_la-CMapInfo.lo \ | ||||
| 	libvcmi_la-CObjectHandler.lo libvcmi_la-CSpellHandler.lo \ | ||||
| 	libvcmi_la-CTownHandler.lo libvcmi_la-Connection.lo \ | ||||
| 	libvcmi_la-HeroBonus.lo libvcmi_la-IGameCallback.lo \ | ||||
| 	libvcmi_la-JsonNode.lo libvcmi_la-NetPacksLib.lo \ | ||||
| 	libvcmi_la-ResourceSet.lo libvcmi_la-RegisterTypes.lo \ | ||||
| 	libvcmi_la-VCMI_Lib.lo libvcmi_la-map.lo | ||||
| 	libvcmi_la-CBattleCallback.lo libvcmi_la-CBuildingHandler.lo \ | ||||
| 	libvcmi_la-CCampaignHandler.lo libvcmi_la-CCreatureHandler.lo \ | ||||
| 	libvcmi_la-CCreatureSet.lo libvcmi_la-CDefObjInfoHandler.lo \ | ||||
| 	libvcmi_la-CFileUtility.lo libvcmi_la-CGameInterface.lo \ | ||||
| 	libvcmi_la-CGameState.lo libvcmi_la-CGeneralTextHandler.lo \ | ||||
| 	libvcmi_la-CHeroHandler.lo libvcmi_la-CLodHandler.lo \ | ||||
| 	libvcmi_la-CMapInfo.lo libvcmi_la-CObjectHandler.lo \ | ||||
| 	libvcmi_la-CSpellHandler.lo libvcmi_la-CTownHandler.lo \ | ||||
| 	libvcmi_la-Connection.lo libvcmi_la-HeroBonus.lo \ | ||||
| 	libvcmi_la-IGameCallback.lo libvcmi_la-JsonNode.lo \ | ||||
| 	libvcmi_la-NetPacksLib.lo libvcmi_la-ResourceSet.lo \ | ||||
| 	libvcmi_la-RegisterTypes.lo libvcmi_la-VCMI_Lib.lo \ | ||||
| 	libvcmi_la-map.lo | ||||
| libvcmi_la_OBJECTS = $(am_libvcmi_la_OBJECTS) | ||||
| AM_V_lt = $(am__v_lt_$(V)) | ||||
| am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||||
| @@ -262,7 +263,6 @@ libdir = @libdir@ | ||||
| libexecdir = @libexecdir@ | ||||
| localedir = @localedir@ | ||||
| localstatedir = @localstatedir@ | ||||
| lt_ECHO = @lt_ECHO@ | ||||
| mandir = @mandir@ | ||||
| mkdir_p = @mkdir_p@ | ||||
| oldincludedir = @oldincludedir@ | ||||
| @@ -288,6 +288,8 @@ libvcmi_la_SOURCES = \ | ||||
| 	BattleState.h \ | ||||
| 	CArtHandler.cpp \ | ||||
| 	CArtHandler.h \ | ||||
| 	CBattleCallback.cpp\ | ||||
| 	CBattleCallback.h\ | ||||
| 	CBuildingHandler.cpp \ | ||||
| 	CBuildingHandler.h \ | ||||
| 	CCampaignHandler.cpp \ | ||||
| @@ -421,6 +423,7 @@ distclean-compile: | ||||
| @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvcmi_la-BattleAction.Plo@am__quote@ | ||||
| @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvcmi_la-BattleState.Plo@am__quote@ | ||||
| @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvcmi_la-CArtHandler.Plo@am__quote@ | ||||
| @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvcmi_la-CBattleCallback.Plo@am__quote@ | ||||
| @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvcmi_la-CBuildingHandler.Plo@am__quote@ | ||||
| @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvcmi_la-CCampaignHandler.Plo@am__quote@ | ||||
| @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvcmi_la-CCreatureHandler.Plo@am__quote@ | ||||
| @@ -494,6 +497,14 @@ libvcmi_la-CArtHandler.lo: CArtHandler.cpp | ||||
| @AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||||
| @am__fastdepCXX_FALSE@	$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvcmi_la_CXXFLAGS) $(CXXFLAGS) -c -o libvcmi_la-CArtHandler.lo `test -f 'CArtHandler.cpp' || echo '$(srcdir)/'`CArtHandler.cpp | ||||
|  | ||||
| libvcmi_la-CBattleCallback.lo: CBattleCallback.cpp | ||||
| @am__fastdepCXX_TRUE@	$(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvcmi_la_CXXFLAGS) $(CXXFLAGS) -MT libvcmi_la-CBattleCallback.lo -MD -MP -MF $(DEPDIR)/libvcmi_la-CBattleCallback.Tpo -c -o libvcmi_la-CBattleCallback.lo `test -f 'CBattleCallback.cpp' || echo '$(srcdir)/'`CBattleCallback.cpp | ||||
| @am__fastdepCXX_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/libvcmi_la-CBattleCallback.Tpo $(DEPDIR)/libvcmi_la-CBattleCallback.Plo | ||||
| @am__fastdepCXX_FALSE@	$(AM_V_CXX) @AM_BACKSLASH@ | ||||
| @AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='CBattleCallback.cpp' object='libvcmi_la-CBattleCallback.lo' libtool=yes @AMDEPBACKSLASH@ | ||||
| @AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||||
| @am__fastdepCXX_FALSE@	$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvcmi_la_CXXFLAGS) $(CXXFLAGS) -c -o libvcmi_la-CBattleCallback.lo `test -f 'CBattleCallback.cpp' || echo '$(srcdir)/'`CBattleCallback.cpp | ||||
|  | ||||
| libvcmi_la-CBuildingHandler.lo: CBuildingHandler.cpp | ||||
| @am__fastdepCXX_TRUE@	$(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvcmi_la_CXXFLAGS) $(CXXFLAGS) -MT libvcmi_la-CBuildingHandler.lo -MD -MP -MF $(DEPDIR)/libvcmi_la-CBuildingHandler.Tpo -c -o libvcmi_la-CBuildingHandler.lo `test -f 'CBuildingHandler.cpp' || echo '$(srcdir)/'`CBuildingHandler.cpp | ||||
| @am__fastdepCXX_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/libvcmi_la-CBuildingHandler.Tpo $(DEPDIR)/libvcmi_la-CBuildingHandler.Plo | ||||
|   | ||||
							
								
								
									
										49
									
								
								missing
									
									
									
									
									
								
							
							
						
						
									
										49
									
								
								missing
									
									
									
									
									
								
							| @@ -1,10 +1,10 @@ | ||||
| #! /bin/sh | ||||
| # Common stub for a few missing GNU programs while installing. | ||||
|  | ||||
| scriptversion=2006-05-10.23 | ||||
| scriptversion=2009-04-28.21; # UTC | ||||
|  | ||||
| # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 | ||||
| #   Free Software Foundation, Inc. | ||||
| # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, | ||||
| # 2008, 2009 Free Software Foundation, Inc. | ||||
| # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. | ||||
|  | ||||
| # This program is free software; you can redistribute it and/or modify | ||||
| @@ -18,9 +18,7 @@ scriptversion=2006-05-10.23 | ||||
| # GNU General Public License for more details. | ||||
|  | ||||
| # You should have received a copy of the GNU General Public License | ||||
| # along with this program; if not, write to the Free Software | ||||
| # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||||
| # 02110-1301, USA. | ||||
| # along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
|  | ||||
| # As a special exception to the GNU General Public License, if you | ||||
| # distribute this file as part of a program that contains a | ||||
| @@ -89,6 +87,9 @@ Supported PROGRAM values: | ||||
|   tar          try tar, gnutar, gtar, then tar without non-portable flags | ||||
|   yacc         create \`y.tab.[ch]', if possible, from existing .[ch] | ||||
|  | ||||
| Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and | ||||
| \`g' are ignored when checking the name. | ||||
|  | ||||
| Send bug reports to <bug-automake@gnu.org>." | ||||
|     exit $? | ||||
|     ;; | ||||
| @@ -106,15 +107,22 @@ Send bug reports to <bug-automake@gnu.org>." | ||||
|  | ||||
| esac | ||||
|  | ||||
| # normalize program name to check for. | ||||
| program=`echo "$1" | sed ' | ||||
|   s/^gnu-//; t | ||||
|   s/^gnu//; t | ||||
|   s/^g//; t'` | ||||
|  | ||||
| # Now exit if we have it, but it failed.  Also exit now if we | ||||
| # don't have it and --version was passed (most likely to detect | ||||
| # the program). | ||||
| # the program).  This is about non-GNU programs, so use $1 not | ||||
| # $program. | ||||
| case $1 in | ||||
|   lex|yacc) | ||||
|   lex*|yacc*) | ||||
|     # Not GNU programs, they don't have --version. | ||||
|     ;; | ||||
|  | ||||
|   tar) | ||||
|   tar*) | ||||
|     if test -n "$run"; then | ||||
|        echo 1>&2 "ERROR: \`tar' requires --run" | ||||
|        exit 1 | ||||
| @@ -138,7 +146,7 @@ esac | ||||
|  | ||||
| # If it does not exist, or fails to run (possibly an outdated version), | ||||
| # try to emulate it. | ||||
| case $1 in | ||||
| case $program in | ||||
|   aclocal*) | ||||
|     echo 1>&2 "\ | ||||
| WARNING: \`$1' is $msg.  You should only need it if | ||||
| @@ -148,7 +156,7 @@ WARNING: \`$1' is $msg.  You should only need it if | ||||
|     touch aclocal.m4 | ||||
|     ;; | ||||
|  | ||||
|   autoconf) | ||||
|   autoconf*) | ||||
|     echo 1>&2 "\ | ||||
| WARNING: \`$1' is $msg.  You should only need it if | ||||
|          you modified \`${configure_ac}'.  You might want to install the | ||||
| @@ -157,7 +165,7 @@ WARNING: \`$1' is $msg.  You should only need it if | ||||
|     touch configure | ||||
|     ;; | ||||
|  | ||||
|   autoheader) | ||||
|   autoheader*) | ||||
|     echo 1>&2 "\ | ||||
| WARNING: \`$1' is $msg.  You should only need it if | ||||
|          you modified \`acconfig.h' or \`${configure_ac}'.  You might want | ||||
| @@ -187,7 +195,7 @@ WARNING: \`$1' is $msg.  You should only need it if | ||||
| 	   while read f; do touch "$f"; done | ||||
|     ;; | ||||
|  | ||||
|   autom4te) | ||||
|   autom4te*) | ||||
|     echo 1>&2 "\ | ||||
| WARNING: \`$1' is needed, but is $msg. | ||||
|          You might have modified some files without having the | ||||
| @@ -210,7 +218,7 @@ WARNING: \`$1' is needed, but is $msg. | ||||
|     fi | ||||
|     ;; | ||||
|  | ||||
|   bison|yacc) | ||||
|   bison*|yacc*) | ||||
|     echo 1>&2 "\ | ||||
| WARNING: \`$1' $msg.  You should only need it if | ||||
|          you modified a \`.y' file.  You may need the \`Bison' package | ||||
| @@ -240,7 +248,7 @@ WARNING: \`$1' $msg.  You should only need it if | ||||
|     fi | ||||
|     ;; | ||||
|  | ||||
|   lex|flex) | ||||
|   lex*|flex*) | ||||
|     echo 1>&2 "\ | ||||
| WARNING: \`$1' is $msg.  You should only need it if | ||||
|          you modified a \`.l' file.  You may need the \`Flex' package | ||||
| @@ -263,7 +271,7 @@ WARNING: \`$1' is $msg.  You should only need it if | ||||
|     fi | ||||
|     ;; | ||||
|  | ||||
|   help2man) | ||||
|   help2man*) | ||||
|     echo 1>&2 "\ | ||||
| WARNING: \`$1' is $msg.  You should only need it if | ||||
| 	 you modified a dependency of a manual page.  You may need the | ||||
| @@ -277,11 +285,11 @@ WARNING: \`$1' is $msg.  You should only need it if | ||||
|     else | ||||
| 	test -z "$file" || exec >$file | ||||
| 	echo ".ab help2man is required to generate this page" | ||||
| 	exit 1 | ||||
| 	exit $? | ||||
|     fi | ||||
|     ;; | ||||
|  | ||||
|   makeinfo) | ||||
|   makeinfo*) | ||||
|     echo 1>&2 "\ | ||||
| WARNING: \`$1' is $msg.  You should only need it if | ||||
|          you modified a \`.texi' or \`.texinfo' file, or any other file | ||||
| @@ -310,7 +318,7 @@ WARNING: \`$1' is $msg.  You should only need it if | ||||
|     touch $file | ||||
|     ;; | ||||
|  | ||||
|   tar) | ||||
|   tar*) | ||||
|     shift | ||||
|  | ||||
|     # We have already tried tar in the generic part. | ||||
| @@ -363,5 +371,6 @@ exit 0 | ||||
| # eval: (add-hook 'write-file-hooks 'time-stamp) | ||||
| # time-stamp-start: "scriptversion=" | ||||
| # time-stamp-format: "%:y-%02m-%02d.%02H" | ||||
| # time-stamp-end: "$" | ||||
| # time-stamp-time-zone: "UTC" | ||||
| # time-stamp-end: "; # UTC" | ||||
| # End: | ||||
|   | ||||
| @@ -234,7 +234,6 @@ libdir = @libdir@ | ||||
| libexecdir = @libexecdir@ | ||||
| localedir = @localedir@ | ||||
| localstatedir = @localstatedir@ | ||||
| lt_ECHO = @lt_ECHO@ | ||||
| mandir = @mandir@ | ||||
| mkdir_p = @mkdir_p@ | ||||
| oldincludedir = @oldincludedir@ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user