Seite 2 von 2

Re: Kleiner Einsteigerguide, Teil 0: Das Setup

Verfasst: Sa 1. Jun 2013, 13:20
von fff
die Datei acinclude.m4 definiert drei Makros (AM_PATH_SDL, MY_EXPAND_DIR und AC_UNP_CHECK_TYPE). In configure.in wird AM_PATH_SDL benutzt, die anderen beiden nicht.

Re: Kleiner Einsteigerguide, Teil 0: Das Setup

Verfasst: So 2. Jun 2013, 14:47
von fff
Aus der Datei config.h (mit Ubuntu):

Code: Alles auswählen

#define GAME_DATADIR "/usr/local/share/games/asc"

Re: Kleiner Einsteigerguide, Teil 0: Das Setup

Verfasst: So 2. Jun 2013, 17:52
von fff
Die Ordner dos, test und tester sind in SUBDIRS in source/Makefile.am nicht drin.

Re: Kleiner Einsteigerguide, Teil 0: Das Setup

Verfasst: Sa 22. Jun 2013, 10:50
von fff
autoreconf sagt: configure.in:5: error: 'AM_CONFIG_HEADER': this macro is obsolete. You should use the 'AC_CONFIG_HEADERS' macro instead.

Re: Kleiner Einsteigerguide, Teil 0: Das Setup

Verfasst: Sa 22. Jun 2013, 14:50
von fff
Hilfsprogramme von automake: config.guess, config.sub, depcomp, install-sh, missing, (mkinstalldirs (nicht mehr nötig))

Re: Kleiner Einsteigerguide, Teil 0: Das Setup

Verfasst: Sa 22. Jun 2013, 22:02
von fff
Aus der Datei configure.in: "AC_CONFIG_SUBDIRS(src/physfs)"
gibt kein Verzeichnis src/physfs.

Re: Kleiner Einsteigerguide, Teil 0: Das Setup

Verfasst: Sa 29. Jun 2013, 09:04
von fff
lua_open() gibt es in Lua 5.2 nicht mehr.
--
libtoolize erzeugt ltmain.sh und fünf Dateien im Ordner m4.

Re: Kleiner Einsteigerguide, Teil 0: Das Setup

Verfasst: So 21. Jul 2013, 10:33
von fff
Die gcc Optionen -D_GNU_SOURCE und -D_REENTRANT definieren diese Macros mit dem Wert 1 und sind für glibc. Das Erste macht alles aus glibc verfügbar (ISO C, POSIX, GNU, ...), das zweite ist für die Verwendung von reentrant Versionen verschiedener Funktionen.

Re: Kleiner Einsteigerguide, Teil 0: Das Setup

Verfasst: Sa 27. Jul 2013, 19:22
von fff
Mit -lpthreads linken holt Pthreads dazu, eine Bibliothek zur Verwaltung von (POSIX) Threads (neue Standard-Funktionen in C++11).
--
noinst_LTLIBRARIES = x.la im Makefile.am sind "libtool convenience libraries".

Overview of the included libraries (source/libs/readme.txt):
bzlib
used by: windows only

getopt:
used by: windows only

loki-0.1.6
used by: windows
unix only if configure can't find loki installed on the system

paragui
used by: windows
unix
This is a heavily patched and updated version of Paragui, which is neither
compatible with the last relaese nor with the current CVS head of paragui

rand
used by: windows
unix
Just a random number generator, pinched from glibc

revel
used by: windows
unix, if configure can find xvid installed on the system
without xvid, the whole video functionality is disabled
website: http://revel.sourceforge.net/

sdlmm
used by: windows
unix
This contains a few bugfixes and minor enhancements compared to the latest
release sdlmm 0.1.8
website: http://sdlmm.sourceforge.net/
Using sdlmm 0.1.8 is not an option!

sdl_sound
used by: windows
unix only if configure can't find sdl_sound installed on the system
This is a stripped down version of sdl_sound which only has ogg vorbis support.
Several Linux distros don't provide sdl_sound, probably because of licensing issues
regarding its MP3 support. To allow ASC to output sound on those distros too, we
provide this sdl_sound version which doesn't have MP3 support

triangul
used by: windows
unix