mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 11:42:31 +01:00
added support for building on fedora 13
This commit is contained in:
parent
1c4a5489b7
commit
10202792a3
@ -79,7 +79,7 @@ for i in $(GLEST_DIRS) {
|
|||||||
|
|
||||||
Application glest.bin : $(GLEST_SOURCES) ;
|
Application glest.bin : $(GLEST_SOURCES) ;
|
||||||
LinkWith glest.bin : glestlib strefloplib ;
|
LinkWith glest.bin : glestlib strefloplib ;
|
||||||
ExternalLibs glest.bin : SDL GL GLU XERCES VORBIS VORBISFILE OGG OPENAL LUA JPEG PNG CURL ;
|
ExternalLibs glest.bin : SDL GL GLU XERCES VORBIS VORBISFILE OGG OPENAL LUA JPEG PNG CURL X11 ;
|
||||||
IncludeDir glest.bin : ../shared_lib/include/$(LIB_INCLUDE_DIRS) $(GLEST_DIRS) ;
|
IncludeDir glest.bin : ../shared_lib/include/$(LIB_INCLUDE_DIRS) $(GLEST_DIRS) ;
|
||||||
|
|
||||||
#### Editor ####
|
#### Editor ####
|
||||||
@ -112,7 +112,7 @@ if $(WX_AVAILABLE) = "yes" {
|
|||||||
|
|
||||||
Application glest_g3dviewer : $(GLEST_VIEWER_SOURCES) ../glest_game/graphics/unit_particle_type.cpp ;
|
Application glest_g3dviewer : $(GLEST_VIEWER_SOURCES) ../glest_game/graphics/unit_particle_type.cpp ;
|
||||||
LinkWith glest_g3dviewer : glestlib strefloplib ;
|
LinkWith glest_g3dviewer : glestlib strefloplib ;
|
||||||
ExternalLibs glest_g3dviewer : SDL GL GLU XERCES VORBIS VORBISFILE OGG OPENAL LUA JPEG PNG CURL WX ;
|
ExternalLibs glest_g3dviewer : SDL GL GLU XERCES VORBIS VORBISFILE OGG OPENAL LUA JPEG PNG CURL WX X11 ;
|
||||||
IncludeDir glest_g3dviewer : ../shared_lib/include/$(LIB_INCLUDE_DIRS) $(GLEST_VIEWER_DIRS) ../glest_game/graphics ../glest_game/global ../glest_game/sound ../glest_game/game ;
|
IncludeDir glest_g3dviewer : ../shared_lib/include/$(LIB_INCLUDE_DIRS) $(GLEST_VIEWER_DIRS) ../glest_game/graphics ../glest_game/global ../glest_game/sound ../glest_game/game ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -138,6 +138,14 @@ NP_FINDLIB([CURL], [LibCurl], [LibCurl],
|
|||||||
[AC_MSG_ERROR([Please intall libcurl])],
|
[AC_MSG_ERROR([Please intall libcurl])],
|
||||||
[], [])
|
[], [])
|
||||||
|
|
||||||
|
NP_FINDLIB([X11], [LibX11], [LibX11],
|
||||||
|
NP_LANG_PROGRAM([],
|
||||||
|
[]),
|
||||||
|
[], [-lX11],
|
||||||
|
[],
|
||||||
|
[AC_MSG_ERROR([Please intall libX11])],
|
||||||
|
[], [])
|
||||||
|
|
||||||
CHECK_LUA([], [AC_MSG_ERROR([Please install lua 5.1])])
|
CHECK_LUA([], [AC_MSG_ERROR([Please install lua 5.1])])
|
||||||
|
|
||||||
AX_CHECK_GL
|
AX_CHECK_GL
|
||||||
|
@ -14,7 +14,7 @@ fi
|
|||||||
if [ -f /etc/fedora-release ]; then
|
if [ -f /etc/fedora-release ]; then
|
||||||
echo "=====> Using build deps for fedora 13..."
|
echo "=====> Using build deps for fedora 13..."
|
||||||
|
|
||||||
sudo yum install SDL-devel xerces-c-devel mesa-libGL-devel mesa-libGLU-devel libvorbis-devel wxBase wxGTK-devel lua-devel libjpeg-devel libpng-devel libcurl-devel openal-soft-devel
|
sudo yum install SDL-devel xerces-c-devel mesa-libGL-devel mesa-libGLU-devel libvorbis-devel wxBase wxGTK-devel lua-devel libjpeg-devel libpng-devel libcurl-devel openal-soft-devel libX11-devel
|
||||||
|
|
||||||
elif [ "`uname -r`" = $ubuntu804_32 ]; then
|
elif [ "`uname -r`" = $ubuntu804_32 ]; then
|
||||||
echo "=====> Using build deps for old Ubuntu 8.04..."
|
echo "=====> Using build deps for old Ubuntu 8.04..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user