Commit Graph

30 Commits (091e7bb02885f69d7c0ee70d042edeb26cf5ac72)

Author SHA1 Message Date
Cyp c3ba9625b9 Check for automake 1.11, for dist-xz support.
If you have 1.11, but the check still fails, then run:
WANT_AUTOMAKE=1.11 ./autogen.sh

See 512ef27f4d.
2012-08-31 07:57:48 +02:00
Per Inge Mathisen 3ebb55a23d autogen.sh always instructs user to run configure in current directory - even
when autogen.sh has been run from separate builddir. Patch by cazfi, closes ticket:2883
2011-09-06 21:15:18 -04:00
Cyp 0646b37603 Rename *.c to *.cpp. 2010-12-16 23:28:56 +01:00
Giel van Schijndel 3067002d04 Allow autogen.sh to be executed out-of-tree
This improves out-of-tree builds

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8816 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:55 +01:00
Giel van Schijndel 73f4744912 Move the version checks for pkg-config, xgettext and msgfmt out of autogen.sh and into configure.ac
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6093 4a71c877-e1ca-e34f-864e-861f7616d084
2008-09-28 17:35:56 +00:00
Giel van Schijndel 6109556e05 * Add a new autoconf macro: AC_PROG_VERSION_CHECK
- This macro can be used to check the version of the given program
 * Move the version checks for Flex and Bison aut of autogen.sh and into configure.ac

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6088 4a71c877-e1ca-e34f-864e-861f7616d084
2008-09-28 13:23:01 +00:00
Dennis Schridde ee0be13767 Secure autogen.sh against pathnames with spaces
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5318 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-24 20:03:52 +00:00
Dennis Schridde 2a895db63e Fix bug #11693. Fix submited by verminus@gna.org
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5124 4a71c877-e1ca-e34f-864e-861f7616d084
2008-05-16 14:45:51 +00:00
Per Inge Mathisen 54ce38695e Add hack check to warn against flex 2.5.34, revert requirement back to .33
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4880 4a71c877-e1ca-e34f-864e-861f7616d084
2008-05-02 18:04:08 +00:00
Giel van Schijndel c3df150408 Bump the required Flex version from 2.5.33 to 2.5.35
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4735 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-21 18:18:41 +00:00
Dennis Schridde 7485b20097 Require flex-2.5.33 (current version in Debian stable), since Gerard ran into warnings with 2.5.4.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3035 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-10 21:21:19 +00:00
Dennis Schridde c540d8c070 Remove automake workarounds and require 1.10.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2995 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-07 21:09:34 +00:00
Dennis Schridde 364a32d1de Remove QuesoGLC from the buildsystem. Reasons:
- It builds examples, etc. by default, which is annoying
- It will install along with Warzone, which is dangerous


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2761 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-09 19:32:01 +00:00
Dennis Schridde 7ca4f62452 Recurse into QuesoGLC directory for building. Not fully complete, since we cannot yet use the result of that.
Need to investigate further on howto best setup autotools to accomplish that.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2713 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-04 16:29:20 +00:00
Dennis Schridde 7792f1b211 - Be more explicit about what is missing during configure and only ask the user to install something if it is not obvious what is missing.
- Check for pkg-config earlier, pkg-config 0.9 should be sufficient according to configure.
- Add pkg-config m4 file to be able to check for pkg-config where it is not installed.
- Fix typo in ChangeLog, add recent buildsystem changes.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2541 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-09 11:10:47 +00:00
Dennis Schridde 78c568d5c5 Make sure pkg-config is installed. (0.15 may be sufficient...)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2534 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-06 20:42:59 +00:00
Dennis Schridde 697ccff2b6 Require gettext 0.15 here, too.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1426 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-10 17:57:51 +00:00
Dennis Schridde b2ca1a6825 Autopoint removal by Per.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1350 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-03 14:04:21 +00:00
Per Inge Mathisen 2f6baa8b8a Check separately for gettext, and give hopefully informative message when
only autopoint is missing. Also run autopoint with --force option to avoid
stupid errors.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1335 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-02 18:30:04 +00:00
Dennis Schridde f2eb836b61 - Remove unnecessary files in m4
- Fix autopoint detection in autogen.sh
- Require only gettext 0.14 in configure.ac


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1334 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-02 18:08:23 +00:00
Dennis Schridde 874f421a25 Add autopoint, autoconf and automake checks back in...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1333 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-02 17:48:14 +00:00
Dennis Schridde 3b09a756df - Remove unneeded gettext files and instead create them via autopoint
- Remove unneeded checks from autogen.sh (all of them are also checked in configure.ac)
- Move AM_CPPFLAGS=-$(top_srcdir), which was included in nearly every Makefile, to configure.ac
- Remove -g from CFLAGS for usual builds. This should be set by the buildscripts instead
- Remove CFLAGS_OVERRIDE, which was rendered obsolete by the above change


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1332 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-02 17:21:05 +00:00
Per Inge Mathisen 69dd9fbdc5 Add autogen.sh checks for gettext, and assign the _() macro to gettext.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1323 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-01 20:09:46 +00:00
Dennis Schridde 4107156595 Another buildsystem update:
- Do not modify CFLAGS inside automake Makefiles
- Add NEWS and INSTALL to comply with GNU standards
- Use aclocal's include functionality instead of acinclude.m4


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1296 4a71c877-e1ca-e34f-864e-861f7616d084
2007-03-29 12:41:18 +00:00
Per Inge Mathisen 60555b640c Reorder the CFLAGS assembly. Most flags are now added first
so that they can be overridden by the user, except -O0 for
some build types, which has to go last. Also add autogen.sh
check for flex, and do not make an assumption about default
optimization level (I think this is correct, correct me if
I am wrong).


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1203 4a71c877-e1ca-e34f-864e-861f7616d084
2007-03-04 22:28:20 +00:00
Dennis Schridde 1b7a63f6ef NSIS support for automake.
raw Makefiles might be broken, please report back!


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@935 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-27 21:44:46 +00:00
Per Inge Mathisen 031c7c2800 Add version check for bison 1.31 or better, since older versions do not
support the required %name-prefix tag. MacOSX, incredibly, still ships
with an older version of bison than this, so we need the check.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@870 4a71c877-e1ca-e34f-864e-861f7616d084
2006-11-28 19:47:32 +00:00
Dennis Schridde 77ed8b86a7 - Require automake 1.8 in autogen.sh to fix bug bug #6683
- Remove obsolete macros from configure.ac


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@582 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-19 09:39:35 +00:00
Dennis Schridde f0f3709178 cleaned the buildfiles a bit up:
- removed Gentoo fix from autogen.sh as it doesn't seem to be needed anymore
- converted "ugly hack"(tm) to a .Phony target in src/Makefile.am

changed version and revision retrieval of Warzone (displayed in the mainmenu):
- Before:
    #define SVN_REVISION "..."
    - defined in src/revision.h, included and used in src/frontend.c
- Now:
    const char * version(); and const char * revision();
    - declared in src/version.h, defined in src/version.c, called in src/frontend.c



git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@430 4a71c877-e1ca-e34f-864e-861f7616d084
2006-05-27 16:31:35 +00:00
No Author 5ba7ddac6b Create final repository structure.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@362 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-28 17:47:08 +00:00