Compare commits

..

1 Commits

Author SHA1 Message Date
stpohle 229e8efbe5 Initial import.
23 years ago

@ -1,25 +0,0 @@
Makefile
Makefile.in
acinclude.m4
aclocal.m4
setup-gettext
config.cache
config.h
config.h.in
config.log
config.status
configure
stamp-h
stamp-h.in
stamp-h1
mkinstalldirs
missing
install-sh
depcomp
config.sub
config.guess
bomberclone.pws
autom4te.cache
.tm_project.cache
cross-config.cache

47
.gitignore vendored

@ -1,47 +0,0 @@
src/.deps/
src/bomberclone
stamp-h1
config.status
*.o
config.log
config.h
Makefile
.cproject
.project
.settings/
*.cache/
Makefile.in
aclocal.m4
compile
config.guess
config.h.in
config.sub
configure
configure~
data/Makefile.in
data/gfx/Makefile.in
data/maps/Makefile.in
data/music/Makefile.in
data/pixmaps/Makefile.in
data/player/Makefile.in
data/tileset/Makefile.in
data/tileset/cemetery/Makefile.in
data/tileset/classic/Makefile.in
data/tileset/cucumber/Makefile.in
data/tileset/default/Makefile.in
data/tileset/farm/Makefile.in
data/tileset/hell/Makefile.in
data/tileset/jungle/Makefile.in
data/tileset/modern/Makefile.in
data/tileset/radioactive/Makefile.in
data/tileset/sheep/Makefile.in
data/tileset/supermario/Makefile.in
data/tileset/tricked/Makefile.in
ata/tileset/uccia_garbage/Makefile.in
data/tileset/zbb_frog/Makefile.in
depcomp
include/Makefile.in
install-sh
missing
src/Makefile.in

@ -1,14 +0,0 @@
Maintainer:
Steffen Pohle (steffen@bomberclone.de)
Coding:
Steffen Pohle (steffen@bomberclone.de)
Patrick Wilczek
Graphics:
TekkRat (playergfx, bombs, some tilesets)
Testing and Other Help:
Martijn de Boer (martijn@duncan.xs4all.nl)
The people from the #gametome channel on irc.Freenode.net

@ -1,719 +1,3 @@
$Id: ChangeLog,v 1.137 2015/07/10 21:59:37 steffen Exp $
08.05.2022: fixing possible out of buffer write errors
- fixed: sound.c had a possible out of buffer write error do to the
usage of sprintf reading two buffers each of the same as the destinations buffer.
10.07.2015: serval patches from Peter Spiess-Knafl applied
- changed: enter key on the numpad works now also in menus
- fixed: spelling
- deleted: inline calls and changed configure.ac file to newser version,
also Werror and Wall flag is now set at the end of configure.ac
- fixed: segfault within paket handling, ct_pkg is not checked for NULL
also the check for invalid playernumber could cause a segfault.
28.03.2015:
- fixed: buffer overflow in send_mapinfo, found by sourceforge user whiteduck.
snprintf is now used.
- code cleanup: compiling should work now without any warnings.
Version 0.11.9
==============
- changed: opengamecache had to move to my own server. New address: ogc.gulpe.de:11111
- fixed: on certain networks, recvfrom hasen't returned. Even select
returns with data aviable recvfrom got stuck because of no data.
Added MSG_DONTWAIT here as flag. (only on linux)
- fixed: counter pkg_lastid became > 32767 almost messages are lost
in cache managment
patch from: Michel Bernay
- fixed: bug with selecting a player gfx.
- got a big patch file from Michel Bernay which fixes:
fixed: bug about compute points of the winner in multiplayer mode
fixed: bug for server for computing point (Suppress all process in
reception of playerdata)
fixed: bug in cache managment (lot of messages lost by function
rscachedel)
added: function to find who player is owner of explosion to compute
the killer
added: function in debug for display player statistics
changed: display points on general menu
changed: scorring now a unique players wins a round add 1 point
(bonus for victory) and numer of player killed by thge
winner
- Added Warning if a game get startet with only one player selected
Patch send in by: Carles Pina i Estany
- Added Joystick support - Patch send in by: Patrick Kirsch
Chenges i made to the patch: I open only once the joystick device.
Since after the patch the joystick got opened a few times without
closing it again. The setupmenu will display now the number of the
button which is selected for the function.
- Fixed BUG found by Lars Poeschel
One player could join without problems and if a second player joined
this network game, the server crashed in do_contest() accessing
illegal memory. The problem is that a contest packet is received with
to -1 and from 1. Then in the line
players[ct_pkg->to].net.flags &= (0xFF - NETF_firewall);
obviously illegal memory is accessed.
Fixed the check of the to parameter from the contest packet. The
server ignores now a to value of -1.
Version 0.11.8
================
14.12.2007
- Changed Docdir to $prefix/share/doc (Felipe Rafailov)
- Added some more resolutions. (requested by some users)
- Fixed BUG shown in: http://bugzilla.novell.com/show_bug.cgi?id=242031
(patch from: Petr Gajdos)
In network game i wanted to use all the time a different bomb
instead of the first free aviable. In the code i forgot to modify
some values. This patch should fix it now.
(player.c:player_findfreebomb) changed i to nr.
- Fixed some drawing issues with flying bombs.
- The last special item use was lost on clients in a network game.
special.use (was reset during special_clean)
special.clean variable added to save the cleaning state.
tested and works.
- Fixed: kicked bombs can travel in time. (map.bfield was set too early)
rewrote full bomb kicked system.
- Fixed: compile warning: packets.c(635): error #592: variable "s_mod" is
used before its value is set (reported by: David Binderman)
- Fixed: Special settings will be saved into the config file.
- Changed: all data will have thier own Makefile. So "make install" and
"make dist" won't copy the CVS dirs.
- Fixed: Second Player Problem
this fix includes that if a second player was used the game got somehow
very instable, because there have been no reset of all the game data.
playerselection works now much better. There have been problems with
some keys for the second player.
- Fixed: problem on slow networks with the loop that the selected player
gfx gots selected and deselected. (infinite loop on the network)
- Fixed: problem with overwriting the servers address on clients.
problem only seen on server who gets connected from two differen ip
addresses.
Version 0.11.7
==============
2006-08-15
- Added: BomberClone Icon to the bomberclone win32 binary.
- Added: resolution 1280x800
- Testing: Security Problems found by Luigi Auriemma
Bugs: A] memcpy crash in rscache_add
B] information disclosure in send_pkg
C] simple error message termination
for more informations look here:
http://aluigi.altervista.org/adv/bcloneboom-adv.txt
Solutions to
A) rewrote the whole resend cache system, also send_mapinfo needed a
bad workaround for a bug i couldn't find out. (to disable the workaround
use ./configure CFLAGS=-DBUG_MAPINFO)
B) made sure that the size of a packet is set right before send over
the network. Found only the function (do_gameinfo) where something
like this occured.
do_pkg will also check the size of the incoming packet with the
p->h.len value.
C) accept the error packets only from the server of a game. Since only the
server will send such type of packets.
- Fixed: Security Problem found by Stefan Cornelius.
For more information look here:
https://lists.uni-koeln.de/pipermail/sec-info/Week-of-Mon-20060313/006561.html
- Added: "more random" by Patrik Nilsson:
This map type is just a hacked version of "autogenerated",
and is as the name tells more random. Since both block,
rock and nothing are placed randomly inside the border.
- Fixed: High CPU usage in menus.
This fix was made by Chris E..
- Fixed: Bug with more as 8 diffrent player graphics.
The window size hasen't changed if there where more as
8 different player graphics to choose from.
- Removed the Dedicated Server Support from the game.
The whole bomberclone game is not desinged for a dedicated
server. The test shown that the whole game would have to
be rewritten. Also that the host can leave the game would
not work no more.
Version 0.11.6.2
- Client network player could die two times in a game.
After receiving the playerdata packet from a client did the
server first the player_set_gfx routine first. Which send a
playerid packet with a alife player back.
Changed: player_set_gfx routine will be called after setting
the state of a player.
Also do_playerid will check if the game is not running
or the player is still alife to set this value.
- Dedicated server support (only testing).
- Fixed do_quit and send_quit.
- Fixed number of players in running games was always
set to 0.
Version 0.11.6.1
- Display the number of players for each listed network game.
- Ghost Player added.
- Playername will not overlapped by the player gfx anymore.
- Added menuswitch to enable/disable broadcast requests.
Version 0.11.6
==============
2005-03-27
- Fixed: pkg_resendcache, no right calaculation for the size of
the saved packet.
- Changed: Version number and the ping time to each game
(ver 0.11.6 or later) of network games will show up.
- Added: Parameter -gamename to set the games name from the
command line.
- Added: Network Join will find Local games without OGC.
Broadcasted UDP Packets will be send to find games.
2005-02-20
- Fixed: Network Player died in a game. All network
players will controll thier own dead. (needed on slow networks)
- Added: 1600x1280 Resolution
2005-01-30
- Fixed: Makefile.am in datadir. Pixmap for the icon
was not installed.
2004-12-27
- Fixed: moving and liquid bombs where not working right.
we checked the wrong map.bfield value.
Version 0.11.5
==============
2004-12-26
- Fixed: Multiplayer more as three players could not play.
There was a bug in the automatic firewall detection.
- Added: Show a simple information of what keys are used in
the multiplayer screen.
- Chagned: In Singleplayer you can select now 0 AI Players.
- Fixed: Teamdata (as Names and Colors) will be send over the network.
- Fixed: udp_send: bad file error fixed, in single mode we was
still sending the quit information to all clients.
- Fixed: Alot other strange network bugs. I.e. the rejoin part
and that the server can leave part was not right.
Version 0.11.4
==============
2004-12-12
- Fixed: Teamdata wasn't send right, net_send_playerid changed,
send_playerdata and do_playerdata fixed.
- Fixed: Problems with the second local player join and
leaving. Also the second local player won't get
informations which the first local player already had.
- Bombs will not explode right on slow computers.. it
seems they jump one field to far.
fixed: rewrote part of the do_explosion stuff and
part of the explosion_restore function. Explosion
was growing on slow PC more as one field per cycle.
- AI: Player die on a slow computer because they move more
as 1 Field. This might be also the problem Acidjnk told
me about.
Variable dir_change added so we won't have
anymore so many suicides.
little more work on the AI, there are still some kind of
problems. Maybe i'll rewrite the whole AI again.
- fixed: Server starts the game soo fast that the
client's ignore the gamestat for a running game.
Check if all players are ready.
- Makefile.am in include and data changed so make dist will
work fine as well as make install won't install anymore
all the useless *.h files.
- the firewall flag will be enabled and disabled automaticly.
Datapacket PKG_contest created to make it possible to work.
- only players who are in the game will be able to send
gamedata related packets to the game. (do_pkg() changed)
- fixed: AI won't have anymore so many suicide deaths.
- New Team menu Handling.
- changed: Playermenu (F2 in the Playerselection screen).
You will see some details about the other players and
you can go to the teammenu from here.
- fixed: udp_send:: Invalid argument Error Message
net_game_send_delplayer had a problem with the second
local player.
- changed: Chat Mode will always keep active if there is
only one player on one computer. If there are two player
we have to press F5 to activate the chatwindow.
- fixed: Quit Game wasn't working from the in game menu
- fixed: Network Version Error. There is no
possible Escape.
- fixed: Single Player Menu there was no ESC key working
- fixed: Player Selection Screen (single player)
ESC key wasn't working and also closing the program
haven't worked.
Version 0.11.3
==============
2004-06-15
- ingame menus, like the "Quit Game" question,
and a End Round menu.
- menuhandling changed some internal things,
so it is possible to create more menus at the time.
it is possible to write own menuloops.
(this is used in the new playerselection screen and
playermenu screen.)
- new playerselectionscreen, needed because of the second
local player.
- password protection for own games so they can be
listed, on the OGC but only people with the password
will be able to join.
- userdefined keyboad settings. read the file
src/keyb.c for the current keyboard settings.
- Added: the server can now kick players from the game
- Added: programm parameters for automatic joining/hosting
a game, using ogc, port configuation and debug mode.
for more informations use the parameter "-help".
- Fixed: respawning of the player will continue and
finish when we go into Hurry Mode.
- Fixed: bombs will start ticking when another special
is taken or the player died.
- Fixed: statusbar will forced to update if a player
finished respawning.
- Fixed: number of items which have been dropped. If not
all items could been set a debug message will be printed
into the console or stdout.txt.
- Fixed: items can not anymore droped on bombs.
- Fixes the issue of it making incorrect assumptions
about the initial range of bombs and placing players in
unsafe positions. by dcdillion
Version 0.11.2
==============
2004-02-08
- Fixed: forgot to put the Message F4 to start the game
into the playerselection screen. I put this only into the
Gamescreen right before the game starts. Added even the
F4 Button into the Help Screen.
- Fixed: DropItems haven't been resetted on dropping items.
- Fixed: Firewall Flag wasn't set right on all clients for the
players. The same with the pkg_fwd routine i not only needed
packets to the other clients. I send even some Serveronly
packets.
- Fixed: Redraw Menuitems only if changes were made.
- Fixed: Logo is now shown after change of resolution.
- Fixed: Bombtickingtime could not be read from the config
file.
- Fixed: If you select "Host a Netgame" nothing happened if
firewall was enabled. Now a error message is displayed.
- Fixed: Chat input in multiplayer wait menu is now smoother.
- Changed: Download-Screen shows now a progress bar.
Additionally, every player can now see the download
progress of all other players.
- Fixed: Single Lost Fire on the field will be put now in
the animation list now which will check an decrease the
ex[*].count value as long as no specialy explosion was
found.
- Fixed/Added: display messages enabled again (after disabling
for changing the menu style with version 0.11.0)
- Changed: new player position placement, that works much
better as the old version (coded by dcdillon)
- Changed: if no human players are left the game will end
- Added: Manual Section into the Game. And the MENU_image
element to show some graphic in the menus.
- Changed: Games with only AI Players left will end. As a
draw game. So it won't get borring to keep watching the
ai players.
Version 0.11.1
==============
2004-02-01
- Added: Deathmatch mode.
- Added: Kick Bombs special
- Fixed: Network initialization at quit removed
- Fixed: packets.c: do/send_playermove tunnelto wasn't
converted into network arch.
- Fixed: packets.h: pkg_playermove speed changed to Sint16
- Fixed: gfxpixelimage.c colors on bigendian Systems Red
and Blue mask was switched
- Fixed: network.h: NET_CANSEND fixed, didn't checked right
for the server
- Fixed: crash if no tileset was selected in the selection
menu. (error was in menu.c:menu_dir_select)
- Fixed: (Network) three more stones will be restored if a new
bombdata packet reaches the player.
- Changed all Images to PNG. From now on there is alpha blending
supported too.
- Added: Game Setting start_bombs, start_range, start_bombs and
bomb_tickingtime.
- Added: Drop Items On Death element. You can collect now
your opponents items if he died.
- Fixed: Missing "Press F4 to Start" Screen Text in Multiplayer
- Fixed: Networking over IPv6 had a little network init problem
- Fixed: Crash on Hosting games with OGC enabled and no internet
connection
- Fixed: player_move had a problem with the speed of the player
on slow systems.
- Fixed: Major networking and packet handling problem. inpkg_check
fixed, strange crash fixed was reading from players[addr->pl_nr].*
where addr->pl_nr was set to -1. Function inpkg_delplayer added
so all inconig indexdata for double packets can be deleted. This
made a big problem when someone disconnected and tryed to rejoin
Version 0.11.0
==============
2004-01-06
- Added Programm options to the game. For more information
run BomberClone with -help.
- Compiler Flag added for disabling debuging. Compiler
Flags -ggdb and -O0 won'T be set no more.
./configure --disable-debug
- Added smal help screen in the multiplayer selection
screen.
- Fixed: If the player is move on a field where is
currently an explosion then will the player die.
- wrote new OpenGameCache Server for this game and
other games. This server is working almost the same
way as BCMServ did. Except that there is no
Broadcasted chat for now (but i will enable this
soon again).
OGC Link:
http://bomberclone.sourceforge.net/OpenGameCache/
- Menuhandling complete rewritten and changed.
GUI created for menus: lists, buttons, check boxes
labels and other things created.
-new menugraphics made by DJ Mirage.
-mapmenu written by Patty
-the bad response form the game to users action
should be fixed.
- FullScreen switching from within the game
by pressing (F8 Works for some Reason only
in Linux)
- Changed part of the Networkhandling to detect who
is the Game Server.
- AI Players can join network games.
- Changed all positions and framenumbers to float.
Together with this i can drop the hard 20ms
gameloop limitation. So the game will be able to
run on slower systems and compare the loss of
frames.
- some more music tracks added to the game.
DJ Mirage made a page where people could
upload some songs.
- BomberClone music file "cinderella_clown.mod"
thanks to Psycho (http://www.moods.2xs.de/)
Version 0.10.1
==============
2003-09-13
- accepted Solaris, .cvsignore and bzero patch
Patch from pak21 (https://sourceforge.net/users/pak21/)
- BomberCloneMServ will have even a playerlist of
a game, so you will know who have joined a game.
- added big endian support, so non intel-style
computers will be able to play over the network
now too.
- added liquid and moving bombs special.
- timer options, for how long the game will go.
- added tunnels to the game so player can go through.
PKG_playermove changed and PGK_tunneldata added
- the first music file added to the game made by
Digital_D <siggy_stardust@hotmail.com>
the music files will be played out of the music
directory randomly
- chat windows size will be bigger in multiplayer
games and in single games the space for the chat
window is used for the gamefield size.
Version 0.10.0
==============
2003-07-27
- Added: two ways the game can end now. the old Bomberman
style with getting the size of the gamefield down and
another one with putting in the game alot of powerups.
the game even has a timeout of 10 minutes + the
2 minutes of the end game sequence.
- Makefile.am fixed in the data direktory. Added
${prefix}/ and changed @PREFIX_PACKAGE_DATA_DIR@ to
@NO_PREFIX_PACKAGE_DATA_DIR@ . So debian packages
can be generated easyly soon.
- GFX: scaling routine speeded up a little bit. Using inline
functions and much less "switch case".
- TekKRat made two new players, the first two
tilesets with the pseudo 3D effect
(64x96 pixel tileset) and another tileset.
(cemetery, sheep, hell and farm)
- caccola made another Tileset (supermario)
- Added: Switch to enable/disable broadcasted chats.
So the confusing will stop why there are unknown people
talking. You can enable it in the Network Options.
- Fixed: chat_findfreeline, there was a bug in the
source and destination of copying the chatlines.
Thats why the chat got mixed up after 255 lines.
- Added: maps have more options to set and it will be
displayed in the multiplayer menu, this options can be
saved for every map seperated.
- GFX: source cleanup. Player will now drawn in order they
stay tileset will change we can support 64x64pixel size
and 64x92pixel size tilesets no sdl_blit* calls from
game_loop for the game gfx.. working on a new engine with
sorting the tiles and update rects.
The new size tilesets filenames are block96.bmp for the
block.bmp file stone96.bmp for the stone.bmp file. If in
one directory are two files one stone.bmp and ston96.bmp
the game will always take the stone.bmp file.
Version 0.9.9
=============
2003-07-13: fix2
- special trigger over, all trigger bombs have to be
set to normal bombs with max timeout 5 sec
- pushing bombs and wrong directin illness
- fixed: remove network flag from disconected players
so we won't send data to players in the game which
have already disconnected
- fixed: player_findfreebomb
- trigger bomb + bomblaying illness have
let explode always a bomb at your place.
- sometimes you can drop more bombs as
allowed if you have to row-special
2003-06-21: fix1
- fixed: bombs can only dropped on an empty field. Bug
came with version 0.9.9
- the last bomb who explode from a player won't anymore be
used right away. We only use it if there is no other bomb
free.
- bfield fixed on incoming bombdata packets
- network packet timeout set down to 400ms
- screen clipping of gfx_AddUpdateRect
- draw_field, draw_player and restore player function fixed,
problems with position on the field is greater as the
fieldsize. (SDL BadValue)
2003-06-12
- PowerUps will be painted diffrent now. Depend
on what it is.
- Chat Input Box won't be deleted if a game is over or
is going to start
- New Font Drawing enginge, so we can draw in with
diffrent fonts and colors.
- Network Option added for people who are playing
behind a firewall. Portforwarding should not anymore
needed. Except you want to open a game.
- Added Sound Support (thanks to Henrik Enqvist for
the help and the sound files.)
- Added new special powerups (Patty)
- Fixed make install, so the source will be able to
install correctly now with the data packages
- AI Players are working now
Version 0.9.8
=============
2003-05-12
- Added: a new powerup and two new illnesses. (Patty)
- Fixed: the gfx engine will not anymore take too much
CPU usage (Patty)
- Changed: the Background Fields can now have a bigger
texture, size 1x1 (64x64), 2x2(128x128), 3x3...
- Changed: You can now change the map settings even in the
Player selection menu. (kitutou)
- Added: tileset support with random tileset selection
thanks to (thaphool) for the jungle tileset
- Added: loadable maps. (ob1kenewb)
with random map selection (kitutou)
- Changed: now the send packet option will be set for every
player directly, so if a slow player joins, it should not
anymore slow down the whole network game.
- Fixed: disconnected player are not anymore shown in the
Player Selection screen.
- Fixed/Add: first support for international keyboards, so the
shift key will work. thanks to (ob1kenewb) !
- Fixed: SuSe could not compile the game right.
#include <sys/time.h> was needed. not only <time.h>
- Fixed: Problem if the Server Quit.. the game haven't stopped
The whole network situation within the game got mixed up
Version 0.9.7
=============
2003-04-27
- Fixed: Problem when the server leaves the game. Got the
MasterServer a message that all the clients have opened a game.
- Added: You can now choose between 16, 24 and 32 bits per pixel.
- Fixed: PI_bomb illness.
- Changed the way of how the speed gets increased.
Version 0.9.6
=============
@ -936,3 +220,4 @@ Version 0.1
the bombs are exploding.
- Basic Graphics, just some experiments within the game

@ -1,7 +1,11 @@
## Process this file with automake to produce Makefile.in
## Created by Anjuta - will be overwritten
## If you don't want it to overwrite it,
## Please disable it in the Anjuta project configuration
SUBDIRS = data include src
SUBDIRS = src
bomberclonedocdir = ${prefix}/share/doc/bomberclone
bomberclonedocdir = ${prefix}/doc/bomberclone
bomberclonedoc_DATA = \
README\
COPYING\
@ -9,8 +13,7 @@ bomberclonedoc_DATA = \
ChangeLog\
INSTALL\
NEWS\
TODO \
bomberclone.nsi
TODO
EXTRA_DIST = bomberclone.prj $(bomberclonedoc_DATA)
@ -21,3 +24,4 @@ dist-hook:
cp -p $$specfile $(distdir); \
fi \
done

@ -0,0 +1,450 @@
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This Makefile.in 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.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
AMTAR = @AMTAR@
AWK = @AWK@
CC = @CC@
DEPDIR = @DEPDIR@
EXEEXT = @EXEEXT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
NO_PREFIX_PACKAGE_DATA_DIR = @NO_PREFIX_PACKAGE_DATA_DIR@
NO_PREFIX_PACKAGE_DOC_DIR = @NO_PREFIX_PACKAGE_DOC_DIR@
NO_PREFIX_PACKAGE_HELP_DIR = @NO_PREFIX_PACKAGE_HELP_DIR@
NO_PREFIX_PACKAGE_MENU_DIR = @NO_PREFIX_PACKAGE_MENU_DIR@
NO_PREFIX_PACKAGE_PIXMAPS_DIR = @NO_PREFIX_PACKAGE_PIXMAPS_DIR@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_DATA_DIR = @PACKAGE_DATA_DIR@
PACKAGE_DOC_DIR = @PACKAGE_DOC_DIR@
PACKAGE_HELP_DIR = @PACKAGE_HELP_DIR@
PACKAGE_MENU_DIR = @PACKAGE_MENU_DIR@
PACKAGE_PIXMAPS_DIR = @PACKAGE_PIXMAPS_DIR@
SDL_CFLAGS = @SDL_CFLAGS@
SDL_CONFIG = @SDL_CONFIG@
SDL_LIBS = @SDL_LIBS@
VERSION = @VERSION@
am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
SUBDIRS = src
bomberclonedocdir = ${prefix}/doc/bomberclone
bomberclonedoc_DATA = \
README\
COPYING\
AUTHORS\
ChangeLog\
INSTALL\
NEWS\
TODO
EXTRA_DIST = bomberclone.prj $(bomberclonedoc_DATA)
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
DIST_SOURCES =
DATA = $(bomberclonedoc_DATA)
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
uninstall-info-recursive all-recursive install-data-recursive \
install-exec-recursive installdirs-recursive install-recursive \
uninstall-recursive check-recursive installcheck-recursive
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
Makefile.am Makefile.in NEWS TODO acconfig.h aclocal.m4 \
config.h.in configure configure.in depcomp install-sh missing \
mkinstalldirs
DIST_SUBDIRS = $(SUBDIRS)
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && \
CONFIG_HEADERS= CONFIG_LINKS= \
CONFIG_FILES=$@ $(SHELL) ./config.status
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): configure.in
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
config.h: stamp-h
@if test ! -f $@; then \
rm -f stamp-h; \
$(MAKE) stamp-h; \
else :; fi
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h stamp-hT
@echo timestamp > stamp-hT 2> /dev/null
cd $(top_builddir) \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
$(SHELL) ./config.status
@mv stamp-hT stamp-h
$(srcdir)/config.h.in: $(srcdir)/./stamp-h.in
@if test ! -f $@; then \
rm -f $(srcdir)/./stamp-h.in; \
$(MAKE) $(srcdir)/./stamp-h.in; \
else :; fi
$(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h
@rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
@echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
cd $(top_srcdir) && $(AUTOHEADER)
@mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
distclean-hdr:
-rm -f config.h
uninstall-info-am:
install-bomberclonedocDATA: $(bomberclonedoc_DATA)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bomberclonedocdir)
@list='$(bomberclonedoc_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(bomberclonedocdir)/$$f"; \
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(bomberclonedocdir)/$$f; \
done
uninstall-bomberclonedocDATA:
@$(NORMAL_UNINSTALL)
@list='$(bomberclonedoc_DATA)'; for p in $$list; do \
f="`echo $$p | sed -e 's|^.*/||'`"; \
echo " rm -f $(DESTDIR)$(bomberclonedocdir)/$$f"; \
rm -f $(DESTDIR)$(bomberclonedocdir)/$$f; \
done
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
rev=''; for subdir in $$list; do \
if test "$$subdir" = "."; then :; else \
rev="$$subdir $$rev"; \
fi; \
done; \
rev="$$rev ."; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique $(LISP)
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
|| etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)
GTAGS:
here=`CDPATH=: && cd $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = .
# Avoid unsightly `./'.
distdir = $(PACKAGE)-$(VERSION)
GZIP_ENV = --best
distdir: $(DISTFILES)
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
mkdir $(distdir)
@for file in $(DISTFILES); do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
$(mkinstalldirs) "$(distdir)/$$dir"; \
fi; \
if test -d $$d/$$file; then \
cp -pR $$d/$$file $(distdir) \
|| exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
for subdir in $(SUBDIRS); do \
if test "$$subdir" = .; then :; else \
test -d $(distdir)/$$subdir \
|| mkdir $(distdir)/$$subdir \
|| exit 1; \
(cd $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$(top_distdir)" \
distdir=../$(distdir)/$$subdir \
distdir) \
|| exit 1; \
fi; \
done
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="${top_distdir}" distdir="$(distdir)" \
dist-hook
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r $(distdir)
dist: distdir
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
chmod a-w $(distdir)
dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
&& cd $(distdir)/=build \
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|| (echo "Error: files left after uninstall" 1>&2; \
exit 1) ) \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
&& rm -f $(distdir).tar.gz \
&& (test `find . -type f -print | wc -l` -eq 0 \
|| (echo "Error: files left after distclean" 1>&2; \
exit 1) )
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
@echo "$(distdir).tar.gz is ready for distribution" | \
sed 'h;s/./=/g;p;x;p;x'
check-am: all-am
check: check-recursive
all-am: Makefile $(DATA) config.h
installdirs: installdirs-recursive
installdirs-am:
$(mkinstalldirs) $(DESTDIR)$(bomberclonedocdir)
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic mostlyclean-am
dist-all: distdir
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
distclean: distclean-recursive
-rm -f config.status config.cache config.log
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
dvi: dvi-recursive
dvi-am:
info: info-recursive
info-am:
install-data-am: install-bomberclonedocDATA
install-exec-am:
install-info: install-info-recursive
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-recursive
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic
uninstall-am: uninstall-bomberclonedocDATA uninstall-info-am
uninstall-info: uninstall-info-recursive
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
clean-generic clean-recursive dist dist-all distcheck distclean \
distclean-generic distclean-hdr distclean-recursive \
distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
info-recursive install install-am install-bomberclonedocDATA \
install-data install-data-am install-data-recursive \
install-exec install-exec-am install-exec-recursive \
install-info install-info-am install-info-recursive install-man \
install-recursive install-strip installcheck installcheck-am \
installdirs installdirs-am installdirs-recursive \
maintainer-clean maintainer-clean-generic \
maintainer-clean-recursive mostlyclean mostlyclean-generic \
mostlyclean-recursive tags tags-recursive uninstall \
uninstall-am uninstall-bomberclonedocDATA uninstall-info-am \
uninstall-info-recursive uninstall-recursive
# Copy all the spec files. Of cource, only one is actually used.
dist-hook:
for specfile in *.spec; do \
if test -f $$specfile; then \
cp -p $$specfile $(distdir); \
fi \
done
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

@ -50,58 +50,6 @@ Linux:
src/bomberclone
Binary Versions
===============
Linux:
Untar the downloaded file and go into the game
directory. You need to have the following libs
installed to run this binary:
SDL-1.2.7, SDL_mixer and SDL_image (with PNG support)
in the game dir just enter:
./bomberclone
Windows:
The windows Binary Version will include eveything,
the SDL Librarys and all other stuff needed by
BomberClone. The game will come with an Installer.
So you won't have to do anything.
Problems
========
1. Starting a networkgame in a LAN network isn't working.
- disable to notify the masterserver
2. Players are jumping around, player are running thought walls
won't die.
- packet loss, network to slow
right now the game tryes to send as much as possible,
if it can't send anymore it will bring down the network
traffic, but this only works for a while.
3. You start a server but noone can join it, even the other
people can see your game on the master server.
- the game needs in the current state always direct access to the
UDP Port 11000, if you change it over the (-port) parameter you need
to open this port.
- If you sit behind a firewall, make sure that the gameport is forwarded and
if you send something, your firewall won't change the source-port.
The game and the masterserver need this information to identify your
Game and Player later.
(i have seen some games was logged by the gameserver with port numbers
above 30000, which mostly indicates that there is some problem
with a firewall or router)
If you have other problems, or just want to say something about the game, you
just need to send me an email to : steffen@bomberclone.de
Network
=======
@ -122,36 +70,28 @@ The Dieing sequence will be in version 0.4
Image:
left | right | up | down | dieing
F1 | F1 | F1 | F1 | F1 Frame 1
F2 | F2 | F2 | F2 | F2 Frame 2
F3 | F3 | F3 | F3 | F3 Frame 3
F4 | F4 | F4 | F4 | F4 Frame 4
F5 | F5 | F5 | F5 | F5 Frame 5
F1 | F1 | F1 | F1 | F1
F2 | F2 | F2 | F2 | F2
F3 | F3 | F3 | F3 | F3
F4 | F4 | F4 | F4 | F4
F5 | F5 | F5 | F5 | F5
Testers
=======
Linux : Marcus, Patty, x-coder, Steffen
Windows: boogieman, deadlock, acid
Linux : Marcus, Patty, x-coder
Windows: boogieman, deadlock
Contact
=======
Steffen Pohle steffen@bomberclone.de
Or on our Project Page
http://sourceforge.net/projects/bomberclone
Thanks
======
Thanks to TekkRat who mage all the diffrent players for us.
programming : Steffen Pohle stpohle@gmx.net
graphic : TekkRat -no email yet-
You can find us on :
irc://irc.d-t-net.de #bomberclone
irc://irc.d-t-net.de #programmierer
http://www.bomberclone.de
http://stpohle.bei.t-online.de/bomberclone

11
TODO

@ -1,11 +1,6 @@
$Id: TODO,v 1.47 2009/05/12 20:50:33 stpohle Exp $
- explosions.. sometimes bombs can explode more times, slow networks (very slow)
- better gfx, more players, a better fire.
- we need some sound
New Cross Compiling Toolchain is needed..
rm cross-config.cache; LIBS="-static -ltiff -ljpeg -lpng12 -lz -lsmpeg -lSDL -logg -lpthread -lstdc++ -lwinmm" cross-configure.sh
- find better way for menus..

842
aclocal.m4 vendored

@ -0,0 +1,842 @@
# aclocal.m4 generated automatically by aclocal 1.5
# Copyright 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# 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.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
# Do all the work for Automake. This macro actually does too much --
# some checks are only needed if your package does certain things.
# But this isn't really a big deal.
# serial 5
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
# will think it sees a *use*, and therefore will trigger all it's
# C support machinery. Also note that it means that autoscan, seeing
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
# We require 2.13 because we rely on SHELL being computed by configure.
AC_PREREQ([2.13])
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
# -----------------------------------------------------------
# If MACRO-NAME is provided do IF-PROVIDED, else IF-NOT-PROVIDED.
# The purpose of this macro is to provide the user with a means to
# check macros which are provided without letting her know how the
# information is coded.
# If this macro is not defined by Autoconf, define it here.
ifdef([AC_PROVIDE_IFELSE],
[],
[define([AC_PROVIDE_IFELSE],
[ifdef([AC_PROVIDE_$1],
[$2], [$3])])])
# AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
# ----------------------------------------------
AC_DEFUN([AM_INIT_AUTOMAKE],
[AC_REQUIRE([AC_PROG_INSTALL])dnl
# test to see if srcdir already configured
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
test -f $srcdir/config.status; then
AC_MSG_ERROR([source directory already configured; run \"make distclean\" there first])
fi
# Define the identity of the package.
PACKAGE=$1
AC_SUBST(PACKAGE)dnl
VERSION=$2
AC_SUBST(VERSION)dnl
ifelse([$3],,
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
# the ones we care about.
ifdef([m4_pattern_allow],
[m4_pattern_allow([^AM_[A-Z]+FLAGS])])dnl
# Autoconf 2.50 always computes EXEEXT. However we need to be
# compatible with 2.13, for now. So we always define EXEEXT, but we
# don't compute it.
AC_SUBST(EXEEXT)
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
# requests that it be used. This is a bit dumb.
: ${OBJEXT=o}
AC_SUBST(OBJEXT)
# Some tools Automake needs.
AC_REQUIRE([AM_SANITY_CHECK])dnl
AC_REQUIRE([AC_ARG_PROGRAM])dnl
AM_MISSING_PROG(ACLOCAL, aclocal)
AM_MISSING_PROG(AUTOCONF, autoconf)
AM_MISSING_PROG(AUTOMAKE, automake)
AM_MISSING_PROG(AUTOHEADER, autoheader)
AM_MISSING_PROG(MAKEINFO, makeinfo)
AM_MISSING_PROG(AMTAR, tar)
AM_PROG_INSTALL_SH
AM_PROG_INSTALL_STRIP
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AM_DEP_TRACK])dnl
AC_REQUIRE([AM_SET_DEPDIR])dnl
AC_PROVIDE_IFELSE([AC_PROG_][CC],
[_AM_DEPENDENCIES(CC)],
[define([AC_PROG_][CC],
defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
AC_PROVIDE_IFELSE([AC_PROG_][CXX],
[_AM_DEPENDENCIES(CXX)],
[define([AC_PROG_][CXX],
defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
])
#
# Check to make sure that the build environment is sane.
#
# serial 3
# AM_SANITY_CHECK
# ---------------
AC_DEFUN([AM_SANITY_CHECK],
[AC_MSG_CHECKING([whether build environment is sane])
# Just in case
sleep 1
echo timestamp > conftest.file
# Do `set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
if test "$[*]" = "X"; then
# -L didn't work.
set X `ls -t $srcdir/configure conftest.file`
fi
rm -f conftest.file
if test "$[*]" != "X $srcdir/configure conftest.file" \
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
# If neither matched, then we have a broken ls. This can happen
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
alias in your environment])
fi
test "$[2]" = conftest.file
)
then
# Ok.
:
else
AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
AC_MSG_RESULT(yes)])
# serial 2
# AM_MISSING_PROG(NAME, PROGRAM)
# ------------------------------
AC_DEFUN([AM_MISSING_PROG],
[AC_REQUIRE([AM_MISSING_HAS_RUN])
$1=${$1-"${am_missing_run}$2"}
AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
# Define MISSING if not defined so far and test if it supports --run.
# If it does, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
# Use eval to expand $SHELL
if eval "$MISSING --run true"; then
am_missing_run="$MISSING --run "
else
am_missing_run=
am_backtick='`'
AC_MSG_WARN([${am_backtick}missing' script is too old or missing])
fi
])
# AM_AUX_DIR_EXPAND
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
#
# Of course, Automake must honor this variable whenever it calls a
# tool from the auxiliary directory. The problem is that $srcdir (and
# therefore $ac_aux_dir as well) can be either absolute or relative,
# depending on how configure is run. This is pretty annoying, since
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
# source directory, any form will work fine, but in subdirectories a
# relative path needs to be adjusted first.
#
# $ac_aux_dir/missing
# fails when called from a subdirectory if $ac_aux_dir is relative
# $top_srcdir/$ac_aux_dir/missing
# fails if $ac_aux_dir is absolute,
# fails when called from a subdirectory in a VPATH build with
# a relative $ac_aux_dir
#
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
# are both prefixed by $srcdir. In an in-source build this is usually
# harmless because $srcdir is `.', but things will broke when you
# start a VPATH build or use an absolute $srcdir.
#
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
# and then we would define $MISSING as
# MISSING="\${SHELL} $am_aux_dir/missing"
# This will work as long as MISSING is not called from configure, because
# unfortunately $(top_srcdir) has no meaning in configure.
# However there are other variables, like CC, which are often used in
# configure, and could therefore not use this "fixed" $ac_aux_dir.
#
# Another solution, used here, is to always expand $ac_aux_dir to an
# absolute PATH. The drawback is that using absolute paths prevent a
# configured tree to be moved without reconfiguration.
AC_DEFUN([AM_AUX_DIR_EXPAND], [
# expand $ac_aux_dir to an absolute path
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
])
# AM_PROG_INSTALL_SH
# ------------------
# Define $install_sh.
AC_DEFUN([AM_PROG_INSTALL_SH],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
install_sh=${install_sh-"$am_aux_dir/install-sh"}
AC_SUBST(install_sh)])
# One issue with vendor `install' (even GNU) is that you can't
# specify the program used to strip binaries. This is especially
# annoying in cross-compiling environments, where the build's strip
# is unlikely to handle the host's binaries.
# Fortunately install-sh will honor a STRIPPROG variable, so we
# always use install-sh in `make install-strip', and initialize
# STRIPPROG with the value of the STRIP variable (set by the user).
AC_DEFUN([AM_PROG_INSTALL_STRIP],
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
# serial 4 -*- Autoconf -*-
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
# will think it sees a *use*, and therefore will trigger all it's
# C support machinery. Also note that it means that autoscan, seeing
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
# _AM_DEPENDENCIES(NAME)
# ---------------------
# See how the compiler implements dependency checking.
# NAME is "CC", "CXX" or "OBJC".
# We try a few techniques and use that to set a single cache variable.
#
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
# dependency, and given that the user is not expected to run this macro,
# just rely on AC_PROG_CC.
AC_DEFUN([_AM_DEPENDENCIES],
[AC_REQUIRE([AM_SET_DEPDIR])dnl
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
AC_REQUIRE([AM_DEP_TRACK])dnl
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
[$1], CXX, [depcc="$CXX" am_compiler_list=],
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc']
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=])
AC_CACHE_CHECK([dependency style of $depcc],
[am_cv_$1_dependencies_compiler_type],
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
# making a dummy file named `D' -- because `-MD' means `put the output
# in D'.
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
# using a relative directory.
cp "$am_depcomp" conftest.dir
cd conftest.dir
am_cv_$1_dependencies_compiler_type=none
if test "$am_compiler_list" = ""; then
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
fi
for depmode in $am_compiler_list; do
# We need to recreate these files for each test, as the compiler may
# overwrite some of them when testing with obscure command lines.
# This happens at least with the AIX C compiler.
echo '#include "conftest.h"' > conftest.c
echo 'int i;' > conftest.h
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
case $depmode in
nosideeffect)
# after this tag, mechanisms are not by side-effect, so they'll
# only be used when explicitly requested
if test "x$enable_dependency_tracking" = xyes; then
continue
else
break
fi
;;
none) break ;;
esac
# We check with `-c' and `-o' for the sake of the "dashmstdout"
# mode. It turns out that the SunPro C++ compiler does not properly
# handle `-M -o', and we need to detect this.
if depmode=$depmode \
source=conftest.c object=conftest.o \
depfile=conftest.Po tmpdepfile=conftest.TPo \
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
grep conftest.h conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
am_cv_$1_dependencies_compiler_type=$depmode
break
fi
done
cd ..
rm -rf conftest.dir
else
am_cv_$1_dependencies_compiler_type=none
fi
])
$1DEPMODE="depmode=$am_cv_$1_dependencies_compiler_type"
AC_SUBST([$1DEPMODE])
])
# AM_SET_DEPDIR
# -------------
# Choose a directory name for dependency files.
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
AC_DEFUN([AM_SET_DEPDIR],
[rm -f .deps 2>/dev/null
mkdir .deps 2>/dev/null
if test -d .deps; then
DEPDIR=.deps
else
# MS-DOS does not allow filenames that begin with a dot.
DEPDIR=_deps
fi
rmdir .deps 2>/dev/null
AC_SUBST(DEPDIR)
])
# AM_DEP_TRACK
# ------------
AC_DEFUN([AM_DEP_TRACK],
[AC_ARG_ENABLE(dependency-tracking,
[ --disable-dependency-tracking Speeds up one-time builds
--enable-dependency-tracking Do not reject slow dependency extractors])
if test "x$enable_dependency_tracking" != xno; then
am_depcomp="$ac_aux_dir/depcomp"
AMDEPBACKSLASH='\'
fi
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
pushdef([subst], defn([AC_SUBST]))
subst(AMDEPBACKSLASH)
popdef([subst])
])
# Generate code to set up dependency tracking.
# This macro should only be invoked once -- use via AC_REQUIRE.
# Usage:
# AM_OUTPUT_DEPENDENCY_COMMANDS
#
# This code is only required when automatic dependency tracking
# is enabled. FIXME. This creates each `.P' file that we will
# need in order to bootstrap the dependency handling code.
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
AC_OUTPUT_COMMANDS([
test x"$AMDEP_TRUE" != x"" ||
for mf in $CONFIG_FILES; do
case "$mf" in
Makefile) dirpart=.;;
*/Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
*) continue;;
esac
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
# Extract the definition of DEP_FILES from the Makefile without
# running `make'.
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
test -z "$DEPDIR" && continue
# When using ansi2knr, U may be empty or an underscore; expand it
U=`sed -n -e '/^U = / s///p' < "$mf"`
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
# We invoke sed twice because it is the simplest approach to
# changing $(DEPDIR) to its actual value in the expansion.
for file in `sed -n -e '
/^DEP_FILES = .*\\\\$/ {
s/^DEP_FILES = //
:loop
s/\\\\$//
p
n
/\\\\$/ b loop
p
}
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
$ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
], [AMDEP_TRUE="$AMDEP_TRUE"
ac_aux_dir="$ac_aux_dir"])])
# AM_MAKE_INCLUDE()
# -----------------
# Check to see how make treats includes.
AC_DEFUN([AM_MAKE_INCLUDE],
[am_make=${MAKE-make}
cat > confinc << 'END'
doit:
@echo done
END
# If we don't find an include directive, just comment out the code.
AC_MSG_CHECKING([for style of include used by $am_make])
am__include='#'
am__quote=
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
# We grep out `Entering directory' and `Leaving directory'
# messages which can occur if `w' ends up in MAKEFLAGS.
# In particular we don't look at `^make:' because GNU make might
# be invoked under some other name (usually "gmake"), in which
# case it prints its new name instead of `make'.
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
am__include=include
am__quote=
_am_result=GNU
fi
# Now try BSD make style include.
if test "$am__include" = "#"; then
echo '.include "confinc"' > confmf
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
am__include=.include
am__quote='"'
_am_result=BSD
fi
fi
AC_SUBST(am__include)
AC_SUBST(am__quote)
AC_MSG_RESULT($_am_result)
rm -f confinc confmf
])
# serial 3
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
# -------------------------------------
# Define a conditional.
#
# FIXME: Once using 2.50, use this:
# m4_match([$1], [^TRUE\|FALSE$], [AC_FATAL([$0: invalid condition: $1])])dnl
AC_DEFUN([AM_CONDITIONAL],
[ifelse([$1], [TRUE],
[errprint(__file__:__line__: [$0: invalid condition: $1
])dnl
m4exit(1)])dnl
ifelse([$1], [FALSE],
[errprint(__file__:__line__: [$0: invalid condition: $1
])dnl
m4exit(1)])dnl
AC_SUBST([$1_TRUE])
AC_SUBST([$1_FALSE])
if $2; then
$1_TRUE=
$1_FALSE='#'
else
$1_TRUE='#'
$1_FALSE=
fi])
# Like AC_CONFIG_HEADER, but automatically create stamp file.
# serial 3
# When config.status generates a header, we must update the stamp-h file.
# This file resides in the same directory as the config header
# that is generated. We must strip everything past the first ":",
# and everything past the last "/".
AC_PREREQ([2.12])
AC_DEFUN([AM_CONFIG_HEADER],
[ifdef([AC_FOREACH],dnl
[dnl init our file count if it isn't already
m4_ifndef([_AM_Config_Header_Index], m4_define([_AM_Config_Header_Index], [0]))
dnl prepare to store our destination file list for use in config.status
AC_FOREACH([_AM_File], [$1],
[m4_pushdef([_AM_Dest], m4_patsubst(_AM_File, [:.*]))
m4_define([_AM_Config_Header_Index], m4_incr(_AM_Config_Header_Index))
dnl and add it to the list of files AC keeps track of, along
dnl with our hook
AC_CONFIG_HEADERS(_AM_File,
dnl COMMANDS, [, INIT-CMDS]
[# update the timestamp
echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h]_AM_Config_Header_Index["
][$2]m4_ifval([$3], [, [$3]]))dnl AC_CONFIG_HEADERS
m4_popdef([_AM_Dest])])],dnl
[AC_CONFIG_HEADER([$1])
AC_OUTPUT_COMMANDS(
ifelse(patsubst([$1], [[^ ]], []),
[],
[test -z "$CONFIG_HEADERS" || echo timestamp >dnl
patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),dnl
[am_indx=1
for am_file in $1; do
case " \$CONFIG_HEADERS " in
*" \$am_file "*)
am_dir=\`echo \$am_file |sed 's%:.*%%;s%[^/]*\$%%'\`
if test -n "\$am_dir"; then
am_tmpdir=\`echo \$am_dir |sed 's%^\(/*\).*\$%\1%'\`
for am_subdir in \`echo \$am_dir |sed 's%/% %'\`; do
am_tmpdir=\$am_tmpdir\$am_subdir/
if test ! -d \$am_tmpdir; then
mkdir \$am_tmpdir
fi
done
fi
echo timestamp > "\$am_dir"stamp-h\$am_indx
;;
esac
am_indx=\`expr \$am_indx + 1\`
done])
])]) # AM_CONFIG_HEADER
# _AM_DIRNAME(PATH)
# -----------------
# Like AS_DIRNAME, only do it during macro expansion
AC_DEFUN([_AM_DIRNAME],
[m4_if(m4_regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
m4_if(m4_regexp([$1], [^//\([^/]\|$\)]), -1,
m4_if(m4_regexp([$1], [^/.*]), -1,
[.],
m4_patsubst([$1], [^\(/\).*], [\1])),
m4_patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
m4_patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
]) # _AM_DIRNAME
#serial 1
# This test replaces the one in autoconf.
# Currently this macro should have the same name as the autoconf macro
# because gettext's gettext.m4 (distributed in the automake package)
# still uses it. Otherwise, the use in gettext.m4 makes autoheader
# give these diagnostics:
# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
undefine([AC_ISC_POSIX])
AC_DEFUN([AC_ISC_POSIX],
[
dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
]
)
# serial 1
# @defmac AC_PROG_CC_STDC
# @maindex PROG_CC_STDC
# @ovindex CC
# If the C compiler in not in ANSI C mode by default, try to add an option
# to output variable @code{CC} to make it so. This macro tries various
# options that select ANSI C on some system or another. It considers the
# compiler to be in ANSI C mode if it handles function prototypes correctly.
#
# If you use this macro, you should check after calling it whether the C
# compiler has been set to accept ANSI C; if not, the shell variable
# @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source
# code in ANSI C, you can make an un-ANSIfied copy of it by using the
# program @code{ansi2knr}, which comes with Ghostscript.
# @end defmac
AC_DEFUN([AM_PROG_CC_STDC],
[AC_REQUIRE([AC_PROG_CC])
AC_BEFORE([$0], [AC_C_INLINE])
AC_BEFORE([$0], [AC_C_CONST])
dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require
dnl a magic option to avoid problems with ANSI preprocessor commands
dnl like #elif.
dnl FIXME: can't do this because then AC_AIX won't work due to a
dnl circular dependency.
dnl AC_BEFORE([$0], [AC_PROG_CPP])
AC_MSG_CHECKING([for ${CC-cc} option to accept ANSI C])
AC_CACHE_VAL(am_cv_prog_cc_stdc,
[am_cv_prog_cc_stdc=no
ac_save_CC="$CC"
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX -qlanglvl=ansi
# Ultrix and OSF/1 -std1
# HP-UX 10.20 and later -Ae
# HP-UX older versions -Aa -D_HPUX_SOURCE
# SVR4 -Xc -D__EXTENSIONS__
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
CC="$ac_save_CC $ac_arg"
AC_TRY_COMPILE(
[#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i)
char **p;
int i;
{
return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
char *s;
va_list v;
va_start (v,p);
s = g (p, va_arg (v,int));
va_end (v);
return s;
}
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
int argc;
char **argv;
], [
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
],
[am_cv_prog_cc_stdc="$ac_arg"; break])
done
CC="$ac_save_CC"
])
if test -z "$am_cv_prog_cc_stdc"; then
AC_MSG_RESULT([none needed])
else
AC_MSG_RESULT([$am_cv_prog_cc_stdc])
fi
case "x$am_cv_prog_cc_stdc" in
x|xno) ;;
*) CC="$CC $am_cv_prog_cc_stdc" ;;
esac
])
# Configure paths for SDL
# Sam Lantinga 9/21/99
# stolen from Manish Singh
# stolen back from Frank Belew
# stolen from Manish Singh
# Shamelessly stolen from Owen Taylor
dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
dnl
AC_DEFUN(AM_PATH_SDL,
[dnl
dnl Get the cflags and libraries from the sdl-config script
dnl
AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)],
sdl_prefix="$withval", sdl_prefix="")
AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
sdl_exec_prefix="$withval", sdl_exec_prefix="")
AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program],
, enable_sdltest=yes)
if test x$sdl_exec_prefix != x ; then
sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
if test x${SDL_CONFIG+set} != xset ; then
SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
fi
fi
if test x$sdl_prefix != x ; then
sdl_args="$sdl_args --prefix=$sdl_prefix"
if test x${SDL_CONFIG+set} != xset ; then
SDL_CONFIG=$sdl_prefix/bin/sdl-config
fi
fi
AC_REQUIRE([AC_CANONICAL_TARGET])
AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
min_sdl_version=ifelse([$1], ,0.11.0,$1)
AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
no_sdl=""
if test "$SDL_CONFIG" = "no" ; then
no_sdl=yes
else
SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_sdltest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $SDL_CFLAGS"
LIBS="$LIBS $SDL_LIBS"
dnl
dnl Now check if the installed SDL is sufficiently new. (Also sanity
dnl checks the results of sdl-config to some extent
dnl
rm -f conf.sdltest
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "SDL.h"
char*
my_strdup (char *str)
{
char *new_str;
if (str)
{
new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
strcpy (new_str, str);
}
else
new_str = NULL;
return new_str;
}
int main (int argc, char *argv[])
{
int major, minor, micro;
char *tmp_version;
/* This hangs on some systems (?)
system ("touch conf.sdltest");
*/
{ FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = my_strdup("$min_sdl_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_sdl_version");
exit(1);
}
if (($sdl_major_version > major) ||
(($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
(($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
printf("*** best to upgrade to the required version.\n");
printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
printf("*** to point to the correct copy of sdl-config, and remove the file\n");
printf("*** config.cache before re-running configure\n");
return 1;
}
}
],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_sdl" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$SDL_CONFIG" = "no" ; then
echo "*** The sdl-config script installed by SDL could not be found"
echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the SDL_CONFIG environment variable to the"
echo "*** full path to sdl-config."
else
if test -f conf.sdltest ; then
:
else
echo "*** Could not run SDL test program, checking why..."
CFLAGS="$CFLAGS $SDL_CFLAGS"
LIBS="$LIBS $SDL_LIBS"
AC_TRY_LINK([
#include <stdio.h>
#include "SDL.h"
int main(int argc, char *argv[])
{ return 0; }
#undef main
#define main K_and_R_C_main
], [ return 0; ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding SDL or finding the wrong"
echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means SDL was incorrectly installed"
echo "*** or that you have moved SDL since it was installed. In the latter case, you"
echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
SDL_CFLAGS=""
SDL_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(SDL_CFLAGS)
AC_SUBST(SDL_LIBS)
rm -f conf.sdltest
])

@ -1,8 +1,150 @@
#!/bin/bash
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
PKG_NAME="the package."
DIE=0
aclocal
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`autoconf' installed to."
echo "Download the appropriate package for your distribution,"
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE=1
}
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
(libtool --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`libtool' installed."
echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
}
grep "^AM_GNU_GETTEXT" $srcdir/configure.in >/dev/null && {
grep "sed.*POTFILES" $srcdir/configure.in >/dev/null || \
(gettext --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`gettext' installed."
echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
}
grep "^AM_GNOME_GETTEXT" $srcdir/configure.in >/dev/null && {
grep "sed.*POTFILES" $srcdir/configure.in >/dev/null || \
(gettext --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`gettext' installed."
echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
}
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`automake' installed."
echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
NO_AUTOMAKE=yes
}
# if no automake, don't bother testing for aclocal
test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: Missing \`aclocal'. The version of \`automake'"
echo "installed doesn't appear recent enough."
echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
if test "$DIE" -eq 1; then
exit 1
fi
if test -z "$*"; then
echo "**Warning**: I am going to run \`configure' with no arguments."
echo "If you wish to pass any to it, please specify them on the"
echo \`$0\'" command line."
echo
fi
case $CC in
xlc )
am_opt=--include-deps;;
esac
for coin in `find $srcdir -name configure.in -print`
do
dr=`dirname $coin`
if test -f $dr/NO-AUTO-GEN; then
echo skipping $dr -- flagged as no auto-gen
else
echo processing $dr
macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $coin`
( cd $dr
aclocalinclude="$ACLOCAL_FLAGS"
for k in $macrodirs; do
if test -d $k; then
aclocalinclude="$aclocalinclude -I $k"
##else
## echo "**Warning**: No such directory \`$k'. Ignored."
fi
done
if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then
if grep "sed.*POTFILES" configure.in >/dev/null; then
: do nothing -- we still have an old unmodified configure.in
else
echo "Creating $dr/aclocal.m4 ..."
test -r $dr/aclocal.m4 || touch $dr/aclocal.m4
echo "Running gettextize... Ignore non-fatal messages."
echo "no" | gettextize --force --copy
echo "Making $dr/aclocal.m4 writable ..."
test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
fi
fi
if grep "^AM_GNOME_GETTEXT" configure.in >/dev/null; then
echo "Creating $dr/aclocal.m4 ..."
test -r $dr/aclocal.m4 || touch $dr/aclocal.m4
echo "Running gettextize... Ignore non-fatal messages."
echo "no" | gettextize --force --copy
echo "Making $dr/aclocal.m4 writable ..."
test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
fi
if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
echo "Running libtoolize..."
libtoolize --force --copy
fi
echo "Running aclocal $aclocalinclude ..."
aclocal $aclocalinclude
if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
echo "Running autoheader..."
autoheader
fi
echo "Running automake --gnu $am_opt ..."
automake --add-missing --gnu $am_opt
echo "Running autoconf ..."
autoconf
automake --add-missing
./configure
)
fi
done
#conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
if test x$NOCONFIGURE = x; then
echo Running $srcdir/configure $conf_flags "$@" ...
$srcdir/configure $conf_flags "$@" \
&& echo Now type \`make\' to compile $PKG_NAME
else
echo Skipping configure process.
fi

@ -0,0 +1,13 @@
resolutionx=640
resolutiony=480
fullscreen=0
ai_family=2
fieldsizex=25
fieldsizey=15
notify=1
debug=0
pkgsend=4
maxplayer=5
masterserver=x.yz.to:11100
selectplayer=1
playername=

@ -1,105 +0,0 @@
Name "Bomberclone Installer"
OutFile "bomberclone_install.exe"
; The default installation directory
InstallDir $PROGRAMFILES\bomberclone
; Registry key to check for directory (so if you install again, it will
; overwrite the old one automatically)
InstallDirRegKey HKLM "Software\bomberclone" "Install_Dir"
LicenseText "License"
LicenseData "COPYING"
;--------------------------------
; Pages
Page license
Page components
Page directory
Page instfiles
UninstPage uninstConfirm
UninstPage instfiles
;--------------------------------
; The stuff to install
Section "Bomberclone (required)"
SectionIn RO
; Set output path to the installation directory.
SetOutPath $INSTDIR
; Put file there
File "src/bomberclone.exe"
File "COPYING"
File "README"
File "AUTHORS"
File "ChangeLog"
File "lib/jpeg.dll"
File "lib/libpng1.dll"
File "lib/SDL.dll"
File "lib/SDL_image.dll"
File "lib/SDL_mixer.dll"
File "lib/zlib.dll"
SetOutPath "$INSTDIR\data"
File /r "data/"
; Write the installation path into the registry
WriteRegStr HKLM SOFTWARE\bomberclone "Install_Dir" "$INSTDIR"
; Write the uninstall keys for Windows
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Bomberclone" "DisplayName" "Bomberclone"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Bomberclone" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Bomberclone" "NoModify" 1
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Bomberclone" "NoRepair" 1
WriteUninstaller "uninstall.exe"
SectionEnd
; Optional section (can be disabled by the user)
Section "Start Menu Shortcuts"
CreateDirectory "$SMPROGRAMS\BomberClone"
CreateShortCut "$SMPROGRAMS\BomberClone\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
CreateShortCut "$SMPROGRAMS\BomberClone\BomberClone.lnk" "$INSTDIR\bomberclone.exe" "" "$INSTDIR\bomberclone.exe" 0
SectionEnd
;--------------------------------
; Uninstaller
Section "Uninstall"
; Remove registry keys
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Bomberclone"
DeleteRegKey HKLM SOFTWARE\bomberclone
; Remove files and uninstaller
Delete $INSTDIR\bomberclone.exe
Delete $INSTDIR\AUTHORS
Delete $INSTDIR\ChangeLog
Delete $INSTDIR\COPYING
Delete $INSTDIR\README
Delete $INSTDIR\uninstall.exe
Delete $INSTDIR\jpeg.dll
Delete $INSTDIR\libpng1.dll
Delete $INSTDIR\SDL.dll
Delete $INSTDIR\SDL_image.dll
Delete $INSTDIR\SDL_mixer.dll
Delete $INSTDIR\zlib.dll
RMDir /r $INSTDIR\data
; Remove shortcuts, if any
Delete "$SMPROGRAMS\bomberclone\*.*"
; Remove directories used
RMDir "$SMPROGRAMS\bomberclone"
RMDir /r "$INSTDIR"
Delete /REBOOTOK "$INSTDIR"
SectionEnd

@ -1,4 +1,4 @@
# Anjuta Version 1.2.4a
# Anjuta Version 0.1.9
Compatibility Level: 1
<PROJECT_DESCRIPTION_START>
@ -19,14 +19,12 @@ dnl Check for SDL
<CONFIG_HEADERS_END>
<CONFIG_CHARACTERISTICS_START>
case "$target" in
*cygwin* | *mingw32* | *mingw32msvc* )
*-*-cygwin* | *-*-mingw32*)
CFLAGS="$CFLAGS"
LIBS="$LIBS -liberty -lwsock32"
;;
esac
CFLAGS="$CFLAGS -Wall"
echo "T $target H $host B $buid" >cross-target.txt
<CONFIG_CHARACTERISTICS_END>
<CONFIG_LIB_FUNCS_START>
<CONFIG_LIB_FUNCS_END>
@ -39,148 +37,121 @@ echo "T $target H $host B $buid" >cross-target.txt
props.file.type=project
anjuta.version=1.2.4a
anjuta.version=0.1.9
anjuta.compatibility.level=1
project.name=bomberclone
project.type=GENERIC
project.target.type=EXECUTABLE
project.version=0.11
project.version=0.9
project.author=steffen
project.source.target=bomberclone
project.excluded.modules=
project.has.gettext=0
project.gui.command=
project.programming.language=C
project.excluded.modules=intl
project.config.extra.modules.before=
project.config.extra.modules.after=
project.config.blocked=0
project.config.disable.overwriting=1 1 1 1 1 1 1 1 1
project.programming.language=C
project.menu.entry=bomberclone
project.menu.entry=bomberclone Version 0.9
project.menu.group=Games
project.menu.comment=bomberclone
project.menu.comment=bomberclone Version 0.9
project.menu.icon=
project.menu.need.terminal=0
project.configure.options=
anjuta.program.arguments=
preferences.build.option.jobs=0
preferences.build.option.silent=0
preferences.build.option.autosave=1
preferences.make=make
preferences.build.option.keep.going=0
preferences.build.option.warn.undef=0
preferences.autoformat.custom.style=-br -brs -l100 -lc100 -lp -hnl -bc -nip -nce -ncdw -bli1 -i4 -ts1-bad -bap
preferences.indent.opening=0
preferences.autoformat.disable=0
preferences.indent.automatic=1
preferences.use.tabs=1
preferences.indent.size=4
preferences.tabsize=4
preferences.indent.closing=0
project.config.blocked=0
project.config.disable.overwriting=0 0 1 0 0 0 0 0 0
project.config.extra.modules.before=
project.config.extra.modules.after=
module.include.name=include
module.include.type=
module.include.files=\
basic.h\
bomberclone.h\
chat.h\
font.h\
gfx.h\
keybinput.h\
map.h\
network.h\
packets.h\
sound.h\
sysfunc.h\
menu.h\
menugui.h\
ogcache-client.h\
udp.h\
flyingitems.h\
keyb.h\
bomb.h\
player.h\
single.h\
broadcast.h
module.include.expanded=0
module.include.files=
module.source.name=src
module.source.type=
module.source.expanded=1
module.source.files=\
sysfunc.c\
udp.c\
tileset.c\
special.c\
sound.c\
configuration.c\
chat.c\
main.c\
bomb.c\
bomberclone.h\
debug.c\
field.c\
packets.c\
font.c\
bomb.c\
game.c\
gfx.c\
gfxengine.c\
gfxpixelimage.c\
keybinput.c\
main.c\
map.c\
mapmenu.c\
menu.c\
multiwait.c\
player.c\
packets.h\
game.c\
netmenu.c\
network.c\
packets.c\
menu.c\
field.c\
network.h\
configuration.c\
udp.c\
sysfunc.c\
pkgcache.c\
player.c\
single.c\
menulabels.c\
menubuttons.c\
menubools.c\
menuentrys.c\
menulists.c\
ogcache-client.c\
netsrvlist.c\
flyingitems.c\
help.c\
menuimages.c\
playerinput.c\
keyb.c\
playermenu.c\
broadcast.c
gamesrv.h\
gamesrv.c\
gfx.h\
basic.h\
chat.c\
multiwait.c\
chat.h\
keybinput.c\
keybinput.h
module.pixmap.name=pixmaps
module.pixmap.type=
module.pixmap.expanded=0
module.pixmap.files=
module.data.name=data
module.data.type=
module.data.expanded=0
module.data.files=
module.help.name=help
module.help.type=
module.help.expanded=0
module.help.files=
module.doc.name=doc
module.doc.type=
module.doc.expanded=0
module.doc.files=
module.po.expanded=0
module.po.files=
compiler.options.supports=
compiler.options.include.paths=
compiler.options.library.paths=
compiler.options.libraries=
compiler.options.libraries.selected=
compiler.options.defines=
compiler.options.defines.selected=
compiler.options.warning.buttons=0 0 1 1 1 1 1 1 1 1 1 0 1 0 0 1
compiler.options.optimize.buttons=0 1 0 0
compiler.options.other.buttons=1 0
compiler.options.other.c.flags=
compiler.options.other.l.flags=
compiler.options.other.l.libs=
project.src.paths=
project.source.paths=

@ -0,0 +1,51 @@
[executer]
RunInTerminal=false
[Project DBase]
ShowLocals=true
[filenumbers]
0=1028
1=10
2=7
3=477
4=33
5=129
6=370
7=252
8=144
9=8
10=1
[filemarkers]
0=
1=
2=
3=
4=
5=
6=
7=
8=
9=
10=
[replace_text]
0=fieldsize
1=(struct _net_addr *addr
2=struct _net_addr *addr)
3=&addr
[find_text]
0=set_ill
1=playercol
2=GFX INIT
3=gameloop
4=do_playerdata
5=player_die
6=net_pl
7=pingack
[find_in_files]
0=old

@ -0,0 +1,25 @@
/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
/* Define if you have the ANSI C header files. */
#undef STDC_HEADERS
#undef ENABLE_NLS
#undef HAVE_CATGETS
#undef HAVE_GETTEXT
#undef HAVE_LC_MESSAGES
#undef HAVE_STPCPY
#undef HAVE_LIBSM
#undef PACKAGE_LOCALE_DIR
#undef PACKAGE_DOC_DIR
#undef PACKAGE_DATA_DIR
#undef PACKAGE_PIXMAPS_DIR
#undef PACKAGE_HELP_DIR
#undef PACKAGE_MENU_DIR
#undef PACKAGE_SOURCE_DIR
/* Name of package */
#undef PACKAGE
/* Version number of package */
#undef VERSION

@ -0,0 +1,42 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:569: checking for a BSD compatible install
configure:622: checking whether build environment is sane
configure:693: checking for mawk
configure:723: checking whether make sets ${MAKE}
configure:845: checking for strerror in -lcposix
configure:864: cc -o conftest conftest.c -lcposix 1>&5
/usr/bin/ld: cannot find -lcposix
collect2: ld returned 1 exit status
configure: failed program was:
#line 853 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char strerror();
int main() {
strerror()
; return 0; }
configure:889: checking for gcc
configure:1002: checking whether the C compiler (gcc ) works
configure:1018: gcc -o conftest conftest.c 1>&5
configure:1044: checking whether the C compiler (gcc ) is a cross-compiler
configure:1049: checking whether we are using GNU C
configure:1058: gcc -E conftest.c
configure:1077: checking whether gcc accepts -g
configure:1116: checking for style of include used by make
configure:1150: checking dependency style of gcc
configure:1220: checking for gcc option to accept ANSI C
configure:1274: gcc -c -g -O2 conftest.c 1>&5
configure:1298: checking how to run the C preprocessor
configure:1319: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1378: checking for ANSI C header files
configure:1391: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1458: gcc -o conftest -g -O2 conftest.c 1>&5
configure:1483: checking target system type
configure:1542: checking for sdl-config
configure:1577: checking for SDL - version >= 1.1.0
configure:1662: gcc -o conftest -g -O2 -I/usr/include/SDL -D_REENTRANT conftest.c -L/usr/lib -lSDL -lpthread 1>&5

@ -0,0 +1,366 @@
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host steffenp:
#
# ./configure
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
for ac_option
do
case "$ac_option" in
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion"
exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "./config.status generated by autoconf version 2.13"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "$ac_cs_usage"; exit 0 ;;
*) echo "$ac_cs_usage"; exit 1 ;;
esac
done
ac_given_srcdir=.
ac_given_INSTALL="/usr/bin/install -c"
trap 'rm -fr
Makefile
src/Makefile
config.h conftest*; exit 1' 1 2 15
# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
/^[ ]*VPATH[ ]*=[^:]*$/d
s%@SHELL@%/bin/sh%g
s%@CFLAGS@%-I/usr/include/SDL -D_REENTRANT -g -O2 -Wall%g
s%@CPPFLAGS@%%g
s%@CXXFLAGS@%%g
s%@FFLAGS@%%g
s%@DEFS@%-DHAVE_CONFIG_H%g
s%@LDFLAGS@%%g
s%@LIBS@%-L/usr/lib -lSDL -lpthread %g
s%@exec_prefix@%${prefix}%g
s%@prefix@%/usr/local%g
s%@program_transform_name@%s,x,x,%g
s%@bindir@%${exec_prefix}/bin%g
s%@sbindir@%${exec_prefix}/sbin%g
s%@libexecdir@%${exec_prefix}/libexec%g
s%@datadir@%${prefix}/share%g
s%@sysconfdir@%${prefix}/etc%g
s%@sharedstatedir@%${prefix}/com%g
s%@localstatedir@%${prefix}/var%g
s%@libdir@%${exec_prefix}/lib%g
s%@includedir@%${prefix}/include%g
s%@oldincludedir@%/usr/include%g
s%@infodir@%${prefix}/info%g
s%@mandir@%${prefix}/man%g
s%@INSTALL_PROGRAM@%${INSTALL}%g
s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g
s%@INSTALL_DATA@%${INSTALL} -m 644%g
s%@PACKAGE@%bomberclone%g
s%@VERSION@%0.9%g
s%@EXEEXT@%%g
s%@OBJEXT@%o%g
s%@ACLOCAL@%${SHELL} /home/steffen/Daten/Programmierung/Linux/bomberclone/missing --run aclocal%g
s%@AUTOCONF@%${SHELL} /home/steffen/Daten/Programmierung/Linux/bomberclone/missing --run autoconf%g
s%@AUTOMAKE@%${SHELL} /home/steffen/Daten/Programmierung/Linux/bomberclone/missing --run automake%g
s%@AUTOHEADER@%${SHELL} /home/steffen/Daten/Programmierung/Linux/bomberclone/missing --run autoheader%g
s%@MAKEINFO@%${SHELL} /home/steffen/Daten/Programmierung/Linux/bomberclone/missing --run makeinfo%g
s%@AMTAR@%${SHELL} /home/steffen/Daten/Programmierung/Linux/bomberclone/missing --run tar%g
s%@install_sh@%/home/steffen/Daten/Programmierung/Linux/bomberclone/install-sh%g
s%@INSTALL_STRIP_PROGRAM@%${SHELL} $(install_sh) -c -s%g
s%@AWK@%mawk%g
s%@SET_MAKE@%%g
s%@AMDEP_TRUE@%%g
s%@AMDEP_FALSE@%#%g
s%@AMDEPBACKSLASH@%\%g
s%@DEPDIR@%.deps%g
s%@CC@%gcc%g
s%@am__include@%include%g
s%@am__quote@%%g
s%@CCDEPMODE@%depmode=gcc%g
s%@CPP@%gcc -E%g
s%@target@%%g
s%@target_alias@%%g
s%@target_cpu@%%g
s%@target_vendor@%%g
s%@target_os@%%g
s%@SDL_CONFIG@%/usr/bin/sdl-config%g
s%@SDL_CFLAGS@%-I/usr/include/SDL -D_REENTRANT%g
s%@SDL_LIBS@%-L/usr/lib -lSDL -lpthread%g
s%@NO_PREFIX_PACKAGE_DATA_DIR@%share/bomberclone%g
s%@PACKAGE_DATA_DIR@%/usr/local/share/bomberclone%g
s%@NO_PREFIX_PACKAGE_DOC_DIR@%doc/bomberclone%g
s%@PACKAGE_DOC_DIR@%/usr/local/doc/bomberclone%g
s%@NO_PREFIX_PACKAGE_PIXMAPS_DIR@%share/bomberclone/pixmaps%g
s%@PACKAGE_PIXMAPS_DIR@%/usr/local/share/bomberclone/pixmaps%g
s%@NO_PREFIX_PACKAGE_HELP_DIR@%share/bomberclone/help%g
s%@PACKAGE_HELP_DIR@%/usr/local/share/bomberclone/help%g
s%@NO_PREFIX_PACKAGE_MENU_DIR@%share/bomberclone%g
s%@PACKAGE_MENU_DIR@%/usr/local/share/bomberclone%g
CEOF
# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
if test $ac_beg -gt 1; then
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
else
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
fi
if test ! -s conftest.s$ac_file; then
ac_more_lines=false
rm -f conftest.s$ac_file
else
if test -z "$ac_sed_cmds"; then
ac_sed_cmds="sed -f conftest.s$ac_file"
else
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
fi
ac_file=`expr $ac_file + 1`
ac_beg=$ac_end
ac_end=`expr $ac_end + $ac_max_sed_cmds`
fi
done
if test -z "$ac_sed_cmds"; then
ac_sed_cmds=cat
fi
CONFIG_FILES=${CONFIG_FILES-"Makefile
src/Makefile
"}
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
# A "../" for each directory in $ac_dir_suffix.
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
else
ac_dir_suffix= ac_dots=
fi
case "$ac_given_srcdir" in
.) srcdir=.
if test -z "$ac_dots"; then top_srcdir=.
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
*) # Relative path.
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
case "$ac_given_INSTALL" in
[/$]*) INSTALL="$ac_given_INSTALL" ;;
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
esac
echo creating "$ac_file"
rm -f "$ac_file"
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
case "$ac_file" in
*Makefile*) ac_comsub="1i\\
# $configure_input" ;;
*) ac_comsub= ;;
esac
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
sed -e "$ac_comsub
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
ac_dC='\3'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_uB='\([ ]\)%\1#\2define\3'
ac_uC=' '
ac_uD='\4%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_eB='$%\1#\2define\3'
ac_eC=' '
ac_eD='%g'
if test "${CONFIG_HEADERS+set}" != set; then
CONFIG_HEADERS="config.h"
fi
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
echo creating $ac_file
rm -f conftest.frag conftest.in conftest.out
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
cat $ac_file_inputs > conftest.in
cat > conftest.frag <<CEOF
${ac_dA}PACKAGE${ac_dB}PACKAGE${ac_dC}"bomberclone"${ac_dD}
${ac_uA}PACKAGE${ac_uB}PACKAGE${ac_uC}"bomberclone"${ac_uD}
${ac_eA}PACKAGE${ac_eB}PACKAGE${ac_eC}"bomberclone"${ac_eD}
${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"0.9"${ac_dD}
${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"0.9"${ac_uD}
${ac_eA}VERSION${ac_eB}VERSION${ac_eC}"0.9"${ac_eD}
${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD}
${ac_dA}PACKAGE_DATA_DIR${ac_dB}PACKAGE_DATA_DIR${ac_dC}"/usr/local/share/bomberclone"${ac_dD}
${ac_uA}PACKAGE_DATA_DIR${ac_uB}PACKAGE_DATA_DIR${ac_uC}"/usr/local/share/bomberclone"${ac_uD}
${ac_eA}PACKAGE_DATA_DIR${ac_eB}PACKAGE_DATA_DIR${ac_eC}"/usr/local/share/bomberclone"${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}PACKAGE_DOC_DIR${ac_dB}PACKAGE_DOC_DIR${ac_dC}"/usr/local/doc/bomberclone"${ac_dD}
${ac_uA}PACKAGE_DOC_DIR${ac_uB}PACKAGE_DOC_DIR${ac_uC}"/usr/local/doc/bomberclone"${ac_uD}
${ac_eA}PACKAGE_DOC_DIR${ac_eB}PACKAGE_DOC_DIR${ac_eC}"/usr/local/doc/bomberclone"${ac_eD}
${ac_dA}PACKAGE_PIXMAPS_DIR${ac_dB}PACKAGE_PIXMAPS_DIR${ac_dC}"/usr/local/share/bomberclone/pixmaps"${ac_dD}
${ac_uA}PACKAGE_PIXMAPS_DIR${ac_uB}PACKAGE_PIXMAPS_DIR${ac_uC}"/usr/local/share/bomberclone/pixmaps"${ac_uD}
${ac_eA}PACKAGE_PIXMAPS_DIR${ac_eB}PACKAGE_PIXMAPS_DIR${ac_eC}"/usr/local/share/bomberclone/pixmaps"${ac_eD}
${ac_dA}PACKAGE_HELP_DIR${ac_dB}PACKAGE_HELP_DIR${ac_dC}"/usr/local/share/bomberclone/help"${ac_dD}
${ac_uA}PACKAGE_HELP_DIR${ac_uB}PACKAGE_HELP_DIR${ac_uC}"/usr/local/share/bomberclone/help"${ac_uD}
${ac_eA}PACKAGE_HELP_DIR${ac_eB}PACKAGE_HELP_DIR${ac_eC}"/usr/local/share/bomberclone/help"${ac_eD}
${ac_dA}PACKAGE_MENU_DIR${ac_dB}PACKAGE_MENU_DIR${ac_dC}"/usr/local/share/bomberclone"${ac_dD}
${ac_uA}PACKAGE_MENU_DIR${ac_uB}PACKAGE_MENU_DIR${ac_uC}"/usr/local/share/bomberclone"${ac_uD}
${ac_eA}PACKAGE_MENU_DIR${ac_eB}PACKAGE_MENU_DIR${ac_eC}"/usr/local/share/bomberclone"${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}PACKAGE_SOURCE_DIR${ac_dB}PACKAGE_SOURCE_DIR${ac_dC}"/home/steffen/Daten/Programmierung/Linux/bomberclone"${ac_dD}
${ac_uA}PACKAGE_SOURCE_DIR${ac_uB}PACKAGE_SOURCE_DIR${ac_uC}"/home/steffen/Daten/Programmierung/Linux/bomberclone"${ac_uD}
${ac_eA}PACKAGE_SOURCE_DIR${ac_eB}PACKAGE_SOURCE_DIR${ac_eC}"/home/steffen/Daten/Programmierung/Linux/bomberclone"${ac_eD}
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
rm -f conftest.frag conftest.h
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
cat conftest.in >> conftest.h
rm -f conftest.in
if cmp -s $ac_file conftest.h 2>/dev/null; then
echo "$ac_file is unchanged"
rm -f conftest.h
else
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
fi
rm -f $ac_file
mv conftest.h $ac_file
fi
fi; done
am_indx=1
for am_file in config.h; do
case " $CONFIG_HEADERS " in
*" $am_file "*)
am_dir=`echo $am_file |sed 's%:.*%%;s%[^/]*$%%'`
if test -n "$am_dir"; then
am_tmpdir=`echo $am_dir |sed 's%^\(/*\).*$%\1%'`
for am_subdir in `echo $am_dir |sed 's%/% %'`; do
am_tmpdir=$am_tmpdir$am_subdir/
if test ! -d $am_tmpdir; then
mkdir $am_tmpdir
fi
done
fi
echo timestamp > "$am_dir"stamp-h$am_indx
;;
esac
am_indx=`expr $am_indx + 1`
done
AMDEP_TRUE=""
ac_aux_dir="."
test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
test x"$AMDEP_TRUE" != x"" ||
for mf in $CONFIG_FILES; do
case "$mf" in
Makefile) dirpart=.;;
*/Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
*) continue;;
esac
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
# Extract the definition of DEP_FILES from the Makefile without
# running `make'.
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
test -z "$DEPDIR" && continue
# When using ansi2knr, U may be empty or an underscore; expand it
U=`sed -n -e '/^U = / s///p' < "$mf"`
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
# We invoke sed twice because it is the simplest approach to
# changing $(DEPDIR) to its actual value in the expansion.
for file in `sed -n -e '
/^DEP_FILES = .*\\\\$/ {
s/^DEP_FILES = //
:loop
s/\\\\$//
p
n
/\\\\$/ b loop
p
}
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
$ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
exit 0

2286
configure vendored

File diff suppressed because it is too large Load Diff

@ -1,289 +0,0 @@
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta - will be overwritten
dnl If you don't want it to overwrite it,
dnl Please disable it in the Anjuta project configuration
AC_INIT([bomberclone], [0.11.9], [steffen@bomberclone.de])
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AM_CONFIG_HEADER([config.h])
AM_MAINTAINER_MODE
AC_EXEEXT
AC_OBJEXT
AC_ISC_POSIX
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(vsnprintf)
dnl Checks for programs.
dnl Checks for libraries.
dnl Check for SDL
AM_PATH_SDL(1.1.0,
:,
AC_MSG_ERROR(SDL not found. Make sure sdl-config is in your PATH, or specify with --with-sdl-prefix)
)
CFLAGS="$SDL_CFLAGS $CFLAGS -I../include"
SDL_LIBS="$SDL_LIBS -lpng -ljpeg"
LIBS="$SDL_LIBS $LIBS"
dnl Checks for header files.
dnl Checks for typedefs, structures, and compiler characteristics.
case "$target" in
*cygwin* | *mingw32* | *mingw32msvc* )
CFLAGS="$CFLAGS"
LIBS="$LIBS -liberty -lwsock32 -lm"
MINGW32=yes
;;
*solaris* )
CFLAGS="$CFLAGS"
LIBS="$LIBS -lsocket -lnsl -lm"
AC_PATH_X
AC_PATH_XTRA
if test x$have_x = xyes; then
CFLAGS="$CFLAGS $X_CFLAGS"
SYS_GL_LIBS="$X_LIBS -lGL -lGLU"
else
SYS_GL_LIBS="-lGL -lGLU"
fi
;;
*)
AC_PATH_X
AC_PATH_XTRA
if test x$have_x = xyes; then
CFLAGS="$CFLAGS $X_CFLAGS"
fi
;;
esac
AC_CHECK_LIB([m],[cos])
dnl SDL_image library *****************************
AC_CHECK_LIB(SDL_image, IMG_LoadPNG_RW, , AC_MSG_ERROR([
*** Unable to find SDL_image libary with PNG support
(http://www.libsdl.org/projects/SDL_image/)
]))
dnl SDL_mixer **********************************
AC_ARG_ENABLE(sdlmixer, [ --disable-sdlmixer Do not compile with SDL Mixer support ])
AC_ARG_WITH(sdlmixer-prefix, [ --with-sdlmixer-prefix=PFX prefix where SDL_mixer library is installed], sdlmixer_prefix="$withval", sdlmixer_prefix="")
if test x$enable_sdlmixer = xno ; then
AC_MSG_WARN(Disable SDLMixer support)
have_sdl_mixer=no
else
if test x"$sdlmixer_prefix" != "x"; then
SDLMIXER_LIB="-L$sdlmixer_prefix/lib"
SDLMIXER_CFLAGS="-I$sdlmixer_prefix/include"
LDFLAGS="$SDLMIXER_LIB $LDFLAGS"
CFLAGS="$CFLAGS $SDLMIXER_CFLAGS"
fi
AC_CHECK_LIB(SDL_mixer, Mix_OpenAudio, have_sdl_mixer="yes", have_sdl_mixer="no" , )
if test "x$have_sdl_mixer" = "xyes"; then
AC_DEFINE(HAVE_SDL_MIXER, [1], [SDL_mixer])
LIBS="$LIBS -lSDL_mixer"
else
AC_MSG_WARN([*** libSDL_mixer not found. Make sure you have the development package of SDL_mixer installed - (www.libsdl.org) - or try to use --with-sdlmixer-prefix option])
fi
fi
dnl Checks for library functions.
dnl Check for rintf and functions like that
AC_MSG_CHECKING(for rintf)
have_rintf=no
AC_TRY_COMPILE([
#include <math.h>
],[
int i; float f = 0.0; i = rintf (f); i++;
],[
have_rintf=yes
])
AC_MSG_RESULT($have_rintf)
if test x$have_rintf = xyes; then
AC_DEFINE(HAVE_RINTF, [1], [if rintf is working here])
fi
dnl Checks for library functions.
dnl Check for rintf and functions like that
AC_MSG_CHECKING(for rint)
have_rint=no
AC_TRY_COMPILE([
#include <math.h>
],[
int i; double f = 0.0; i = rint (f); i++;
],[
have_rint=yes
])
AC_MSG_RESULT($have_rint)
if test x$have_rint = xyes; then
AC_DEFINE(HAVE_RINT, [1], [if rint is working here])
fi
dnl Check for powf and functions like that
AC_MSG_CHECKING(for powf)
have_powf=no
AC_TRY_COMPILE([
#include <math.h>
],[
float i; float f = 2.0; float j = 2.0; i = powf (f,j); i = i + 1.0;
],[
have_powf=yes
])
AC_MSG_RESULT($have_powf)
if test x$have_powf = xyes; then
AC_DEFINE(HAVE_POWF, [1], [if powf is working here])
fi
dnl Check for sqrtf and functions like that
AC_MSG_CHECKING(for sqrtf)
have_sqrtf=no
AC_TRY_COMPILE([
#include <math.h>
],[
float i; float f = 2.0; i = sqrtf (f); i = i + 1.0;
],[
have_sqrtf=yes
])
AC_MSG_RESULT($have_sqrtf)
if test x$have_sqrtf = xyes; then
AC_DEFINE(HAVE_SQRTF, [1], [if sqrtf is working here])
fi
dnl Check for floorf and functions like that
AC_MSG_CHECKING(for floorf)
have_floorf=no
AC_TRY_COMPILE([
#include <math.h>
],[
int i = 0; float f = 1.0; i = i + floorf (f);
],[
have_floorf=yes
])
AC_MSG_RESULT($have_floorf)
if test x$have_floorf = xyes; then
AC_DEFINE(HAVE_FLOORF, [1], [if floorf is working here])
fi
dnl Checks for Additional stuffs.
dnl Debug ************************************
AC_ARG_ENABLE(debug, [ --disable-debug Disable Debuging ])
if test x$enable_debug = xno ; then
CFLAGS="$CFLAGS"
else
CFLAGS="$CFLAGS -ggdb -O0"
LDFLAGS="$LDFLAGS -ggdb"
AC_MSG_WARN(Enable Debuging)
fi
dnl All Warning are Errors ************************
AC_ARG_ENABLE(werror, [ --disable-werror Disable Warning as Error Treatment ])
if test x$enable_werror = xno ; then
CFLAGS="$CFLAGS -Wall"
AC_MSG_WARN(Disable Warning as Error Treatment)
else
CFLAGS="$CFLAGS -Wall -Werror"
fi
dnl Set PACKAGE SOURCE DIR in config.h.
packagesrcdir=`cd $srcdir && pwd`
dnl Set PACKAGE PREFIX
if test "x${prefix}" = "xNONE"; then
packageprefix=${ac_default_prefix}
else
packageprefix=${prefix}
fi
dnl Set PACKAGE DATA & DOC DIR
packagedatadir=share/games/${PACKAGE}
packagedocdir=share/doc/${PACKAGE}
dnl Set PACKAGE DIRS in config.h.
packagepixmapsdir=${packagedatadir}/pixmaps
packagehelpdir=${packagedatadir}/help
packagemenudir=${packagedatadir}
dnl Subst PACKAGE_DATA_DIR.
NO_PREFIX_PACKAGE_DATA_DIR="${packagedatadir}"
AC_SUBST(NO_PREFIX_PACKAGE_DATA_DIR)
PACKAGE_DATA_DIR="${packageprefix}/${packagedatadir}"
AC_SUBST(PACKAGE_DATA_DIR)
dnl Subst PACKAGE_DOC_DIR.
NO_PREFIX_PACKAGE_DOC_DIR="${packagedocdir}"
AC_SUBST(NO_PREFIX_PACKAGE_DOC_DIR)
PACKAGE_DOC_DIR="${packageprefix}/${packagedocdir}"
AC_SUBST(PACKAGE_DOC_DIR)
dnl Subst PACKAGE_PIXMAPS_DIR.
NO_PREFIX_PACKAGE_PIXMAPS_DIR="${packagepixmapsdir}"
AC_SUBST(NO_PREFIX_PACKAGE_PIXMAPS_DIR)
PACKAGE_PIXMAPS_DIR="${packageprefix}/${packagepixmapsdir}"
AC_SUBST(PACKAGE_PIXMAPS_DIR)
dnl Subst PACKAGE_HELP_DIR.
NO_PREFIX_PACKAGE_HELP_DIR="${packagehelpdir}"
AC_SUBST(NO_PREFIX_PACKAGE_HELP_DIR)
PACKAGE_HELP_DIR="${packageprefix}/${packagehelpdir}"
AC_SUBST(PACKAGE_HELP_DIR)
dnl Subst PACKAGE_MENU_DIR.
NO_PREFIX_PACKAGE_MENU_DIR="${packagemenudir}"
AC_SUBST(NO_PREFIX_PACKAGE_MENU_DIR)
PACKAGE_MENU_DIR="${packageprefix}/${packagemenudir}"
AC_SUBST(PACKAGE_MENU_DIR)
AM_CONDITIONAL(MINGW32, test x$MINGW32 = xyes)
AC_DEFINE(PACKAGE_DATA_DIR, "${packageprefix}/${packagedatadir}", [no comment])
AC_DEFINE(PACKAGE_DOC_DIR, "${packageprefix}/${packagedocdir}", [no comment])
AC_DEFINE(PACKAGE_PIXMAPS_DIR, "${packageprefix}/${packagepixmapsdir}", [no comment])
AC_DEFINE(PACKAGE_HELP_DIR, "${packageprefix}/${packagehelpdir}", [no comment])
AC_DEFINE(PACKAGE_MENU_DIR, "${packageprefix}/${packagemenudir}", [no comment])
AC_DEFINE(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [no comment])
AC_OUTPUT([
Makefile
src/Makefile
include/Makefile
data/Makefile
data/pixmaps/Makefile
data/player/Makefile
data/gfx/Makefile
data/maps/Makefile
data/music/Makefile
data/tileset/Makefile
data/tileset/cemetery/Makefile
data/tileset/cucumber/Makefile
data/tileset/default/Makefile
data/tileset/hell/Makefile
data/tileset/radioactive/Makefile
data/tileset/supermario/Makefile
data/tileset/uccia_garbage/Makefile
data/tileset/classic/Makefile
data/tileset/farm/Makefile
data/tileset/jungle/Makefile
data/tileset/modern/Makefile
data/tileset/sheep/Makefile
data/tileset/tricked/Makefile
data/tileset/zbb_frog/Makefile
])

@ -0,0 +1,101 @@
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta - will be overwritten
dnl If you don't want it to overwrite it,
dnl Please disable it in the Anjuta project configuration
AC_INIT(configure.in)
AM_INIT_AUTOMAKE(bomberclone, 0.9)
AM_CONFIG_HEADER(config.h)
AC_ISC_POSIX
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
dnl Checks for programs.
dnl Checks for libraries.
dnl Check for SDL
AM_PATH_SDL(1.1.0,
:,
AC_MSG_ERROR(SDL not found. Make sure sdl-config is in your PATH, or specify with --with-sdl-prefix)
)
CFLAGS="$SDL_CFLAGS $CFLAGS"
LIBS="$SDL_LIBS $LIBS"
dnl Checks for header files.
dnl Checks for typedefs, structures, and compiler characteristics.
case "$target" in
*-*-cygwin* | *-*-mingw32*)
CFLAGS="$CFLAGS"
LIBS="$LIBS -liberty -lwsock32"
;;
esac
CFLAGS="$CFLAGS -Wall"
dnl Checks for library functions.
dnl Checks for Additional stuffs.
dnl Set PACKAGE SOURCE DIR in config.h.
packagesrcdir=`cd $srcdir && pwd`
dnl Set PACKAGE PREFIX
if test "x${prefix}" = "xNONE"; then
packageprefix=${ac_default_prefix}
else
packageprefix=${prefix}
fi
dnl Set PACKAGE DATA & DOC DIR
packagedatadir=share/${PACKAGE}
packagedocdir=doc/${PACKAGE}
dnl Set PACKAGE DIRS in config.h.
packagepixmapsdir=${packagedatadir}/pixmaps
packagehelpdir=${packagedatadir}/help
packagemenudir=${packagedatadir}
dnl Subst PACKAGE_DATA_DIR.
NO_PREFIX_PACKAGE_DATA_DIR="${packagedatadir}"
AC_SUBST(NO_PREFIX_PACKAGE_DATA_DIR)
PACKAGE_DATA_DIR="${packageprefix}/${packagedatadir}"
AC_SUBST(PACKAGE_DATA_DIR)
dnl Subst PACKAGE_DOC_DIR.
NO_PREFIX_PACKAGE_DOC_DIR="${packagedocdir}"
AC_SUBST(NO_PREFIX_PACKAGE_DOC_DIR)
PACKAGE_DOC_DIR="${packageprefix}/${packagedocdir}"
AC_SUBST(PACKAGE_DOC_DIR)
dnl Subst PACKAGE_PIXMAPS_DIR.
NO_PREFIX_PACKAGE_PIXMAPS_DIR="${packagepixmapsdir}"
AC_SUBST(NO_PREFIX_PACKAGE_PIXMAPS_DIR)
PACKAGE_PIXMAPS_DIR="${packageprefix}/${packagepixmapsdir}"
AC_SUBST(PACKAGE_PIXMAPS_DIR)
dnl Subst PACKAGE_HELP_DIR.
NO_PREFIX_PACKAGE_HELP_DIR="${packagehelpdir}"
AC_SUBST(NO_PREFIX_PACKAGE_HELP_DIR)
PACKAGE_HELP_DIR="${packageprefix}/${packagehelpdir}"
AC_SUBST(PACKAGE_HELP_DIR)
dnl Subst PACKAGE_MENU_DIR.
NO_PREFIX_PACKAGE_MENU_DIR="${packagemenudir}"
AC_SUBST(NO_PREFIX_PACKAGE_MENU_DIR)
PACKAGE_MENU_DIR="${packageprefix}/${packagemenudir}"
AC_SUBST(PACKAGE_MENU_DIR)
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${packageprefix}/${packagedatadir}")
AC_DEFINE_UNQUOTED(PACKAGE_DOC_DIR, "${packageprefix}/${packagedocdir}")
AC_DEFINE_UNQUOTED(PACKAGE_PIXMAPS_DIR, "${packageprefix}/${packagepixmapsdir}")
AC_DEFINE_UNQUOTED(PACKAGE_HELP_DIR, "${packageprefix}/${packagehelpdir}")
AC_DEFINE_UNQUOTED(PACKAGE_MENU_DIR, "${packageprefix}/${packagemenudir}")
AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}")
AC_OUTPUT([
Makefile
src/Makefile
])

@ -1,3 +0,0 @@
Makefile
Makefile.in

@ -1,32 +0,0 @@
SUBDIRS = pixmaps player maps gfx music tileset
#
# install: install-recursive
# @if test ! -d player; then \
# echo ""; \
# echo ""; \
# echo "****************************************"; \
# echo "* Please download the Data Package, *"; \
# echo "* so you can complete the installation *"; \
# echo "* URL: http://www.bomberclone.de *"; \
# echo "****************************************"; \
# echo ""; \
# echo ""; \
# exit 1; \
# fi;
# @if test ! -d ${DESTDIR}; then \
# mkdir -p ${DESTDIR}; \
# fi;
# @if test ! -d ${DESTDIR}@PACKAGE_DATA_DIR@; then \
# mkdir -p ${DESTDIR}@PACKAGE_DATA_DIR@; \
# fi;
# cp -rf player ${DESTDIR}@PACKAGE_DATA_DIR@
# cp -rf maps ${DESTDIR}@PACKAGE_DATA_DIR@
# cp -rf gfx ${DESTDIR}@PACKAGE_DATA_DIR@
# cp -rf tileset ${DESTDIR}@PACKAGE_DATA_DIR@
# cp -rf music ${DESTDIR}@PACKAGE_DATA_DIR@
# uninstall: uninstall-recursive
# rm -rf ${DESTDIR}@PACKAGE_DATA_DIR@
EXTRA_DIST =

@ -1,3 +0,0 @@
Makefile
Makefile.in

@ -1,54 +0,0 @@
bomberclone_gfxdir = $(prefix)/@NO_PREFIX_PACKAGE_DATA_DIR@/gfx
bomberclone_gfx_DATA = \
menu0.png \
menu7.png \
menubutton1_2.png \
menuentry1_0.png \
menulist0_4.png \
menulist1_2.png \
menuselect.png \
font0.png \
menu1.png \
menu8.png \
menubutton2_0.png \
menuentry1_1.png \
menulist0_5.png \
menulist1_3.png \
font1.png \
menu2.png \
menubutton0_0.png \
menubutton2_1.png \
menuentry1_2.png \
menulist0_6.png \
menulist1_4.png \
font2.png \
menu3.png \
menubutton0_1.png \
menubutton2_2.png \
menulist0_0.png \
menulist0_7.png \
menulist1_5.png \
logo1.png \
menu4.png \
menubutton0_2.png \
menuentry0_0.png \
menulist0_1.png \
menulist0_8.png \
menulist1_6.png \
logo.png \
menu5.png \
menubutton1_0.png \
menuentry0_1.png \
menulist0_2.png \
menulist1_0.png \
menulist1_7.png \
menu6.png \
menubutton1_1.png \
menuentry0_2.png \
menulist0_3.png \
menulist1_1.png \
menulist1_8.png
EXTRA_DIST = $(bomberclone_gfx_DATA)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 537 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 501 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

@ -1,3 +0,0 @@
Makefile
Makefile.in

@ -1,15 +0,0 @@
bomberclone_mapsdir = $(prefix)/@NO_PREFIX_PACKAGE_DATA_DIR@/maps
bomberclone_maps_DATA = \
first.map \
firstmap.map \
fourth.map \
kitutou1.map \
kitutou2.map \
second.map \
smalfull.map \
smal.map \
third.map
EXTRA_DIST = $(bomberclone_maps_DATA)

@ -1,15 +0,0 @@
###################
#@@@ @@@@@@@@@ @@@#
#@#@#@# #@#@#@#@#@#
#@@@ @@@@@@ @@@@@@#
#@#@#@#@#@#@#@# #@#
# @@@@@@ @@@@@@@@@#
#@#@# #@#@#@# #@#@#
#@@@@@@@ @@@@@@@@@#
#@# #@#@#@#@#@#@#@#
#@@@@@@ @@@@@@@@@@#
#@#@#@#@#@#@#@#@# #
#@@ @@@@@@@ @@@@@@#
#@#@#@#@#@# #@#@#@#
#@@@@@ @@@@@@@@@@@#
###################

@ -1,22 +0,0 @@
%
% $Id: firstmap.map,v 1.1 2003/05/04 18:50:36 ob1kenewb Exp $
% First Map created by ob1kenewb
% for testing purpose
%
#########################
# @@@@@ #
# @@@@@ #
# @@@@@ #
# @@@@@ #
# @@@@@ #
# @@@@@ #
# @@@@@ #
# @@@@@ #
# @@@@@ #
# @@@@@ #
# @@@@@ #
# @@@@@ #
# @@@@@ #
# @@@@@ #
# @@@@@ #
#########################

@ -1,13 +0,0 @@
#################
#@@@@@@@@@@@@@@@#
#@#@#@#@#@#@#@#@#
#@@@@@@@@@@@@@@@#
#@#@#@#@#@#@#@#@#
#@@@@@@@@@@@@@@@#
#@#@#@#@#@#@#@#@#
#@@@@@@@@@@@@@@@#
#@#@#@#@#@#@#@#@#
#@@@@@@@@@@@@@@@#
#@#@#@#@#@#@#@#@#
#@@@@@@@@@@@@@@@#
#################

@ -1,20 +0,0 @@
% Map created by kitutou (04/05/2003)
% for testing purpose
%
#########################
#@@ @@@@@ @@#
#@@ @@@@@ @@#
# @@@@@ #
# @@@@@ #
# @@@@@ #
#@@@@@@@@@@@@@@@@@@@@@@@#
#@@@@@@@@@@ @@@@@@@@@@#
#@@@@@@@@@@ @@@@@@@@@@#
#@@@@@@@@@@ @@@@@@@@@@#
#@@@@@@@@@@@@@@@@@@@@@@@#
# @@@@@ #
# @@@@@ #
# @@@@@ #
#@@ @@@@@ @@#
#@@ @@@@@ @@#
#########################

@ -1,27 +0,0 @@
% Map created by kitutou (04/05/2003)
% for testing purpose
%
########################
# #
# #
# # # #
# #### #### #
# # # #
# ###@@@@### #
# ### #@@@@# ### #
# # # #@@@@# # # #
# # ####@@@@#### # #
# ## @@@@@@@@@@@@ ## #
# @@@@@ @@@@@ #
# @@@@@ @@@@@ #
# ## @@@@@@@@@@@@ ## #
# # ####@@@@#### # #
# # # #@@@@# # # #
# ### #@@@@# ### #
# ###@@@@### #
# # # #
# #### #### #
# # # #
# #
# #
########################

@ -1,13 +0,0 @@
#################
# #
# # # # # # # # #
# #
# # # # # # # # #
# #
# # # # # # # # #
# #
# # # # # # # # #
# #
# # # # # # # # #
# #
#################

@ -1,22 +0,0 @@
% Some Informations about the map
% and who made the map
%
###########
#@@@@@@@@@#
#@#@#@#@#@#
#@@@@@@@@@#
#@#@###@#@#
#@@@###@@@#
#@#@###@#@#
#@@@@@@@@@#
#@#@#@#@#@#
#@@@@@@@@@#
###########
bombs=5
fire=5
shoes=5
mixed=5
death=10
sp_trigger=2
sp_row=2
sp_push=2

@ -1,15 +0,0 @@
%
% $Id$
% First Map created by stpohle
% for testing purpose
%
###########
#@@@@#@@@@#
#@#@@@@@#@#
#@#######@#
#@#@@@@#@@#
#@@@@#@@@@#
#@#######@#
#@#@@@@@#@#
#@@@@#@@@@#
###########

@ -1,15 +0,0 @@
###################
# @ @ @ @ @ @ @ @ #
#@#@#@#@#@#@#@#@#@#
# @ @ @ @ @ @ @ @ #
#@#@#@#@#@#@#@#@#@#
# @ @ @ @ @ @ @ @ #
#@#@#@#@#@#@#@#@#@#
# @ @ @ @ @ @ @ @ #
#@#@#@#@#@#@#@#@#@#
# @ @ @ @ @ @ @ @ #
#@#@#@#@#@#@#@#@#@#
# @ @ @ @ @ @ @ @ #
#@#@#@#@#@#@#@#@#@#
# @ @ @ @ @ @ @ @ #
###################

@ -1,3 +0,0 @@
Makefile
Makefile.in

@ -1,12 +0,0 @@
bomberclone_musicdir = $(prefix)/@NO_PREFIX_PACKAGE_DATA_DIR@/music
bomberclone_music_DATA = \
cerror-bobmberclone.xm \
cerror-bomberclone_numero_2.xm \
cinderella_clown.mod \
mario_is_a_weenie.xm \
slice_me_nice.xm \
zb-tnt.xm
EXTRA_DIST = $(bomberclone_music_DATA)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1,3 +0,0 @@
Makefile
Makefile.in

@ -1,13 +0,0 @@
## Process this file with automake to produce Makefile.in
## Created by Anjuta - will be overwritten
## If you don't want it to overwrite it,
## Please disable it in the Anjuta project configuration
bomberclone_pixmapsdir = $(prefix)/@NO_PREFIX_PACKAGE_PIXMAPS_DIR@
bomberclone_pixmaps_DATA = \
bomberclone.png \
bomberclone.ico
EXTRA_DIST = $(bomberclone_pixmaps_DATA)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

@ -1,3 +0,0 @@
Makefile
Makefile.in

@ -1,18 +0,0 @@
bomberclone_playerdir = $(prefix)/@NO_PREFIX_PACKAGE_DATA_DIR@/player
bomberclone_player_DATA = \
dead0.png \
ghost.png \
playersick.png \
respawn.png \
player0.png \
player1.png \
player2.png \
player3.png \
player4.png \
player5.png \
player6.png \
player7.png
EXTRA_DIST = $(bomberclone_player_DATA)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 510 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save