Clarifying build error messages (patch by coldz, thanks).

This commit is contained in:
lotodore
2009-02-10 23:21:04 +00:00
parent 48b55975cb
commit 82b758e5a7
2 changed files with 13 additions and 3 deletions
+7 -2
View File
@@ -325,6 +325,11 @@ unix : !mac {
BOOST_IOSTREAMS = boost_iostreams boost_iostreams-mt
#
# searching in $PREFIX/lib and $PREFIX/lib64
# to override the default '/usr' pass PREFIX
# variable to qmake.
#
for(dir, LIB_DIRS){
exists($$dir){
for(lib, BOOST_THREAD){
@@ -349,11 +354,11 @@ unix : !mac {
}
BOOST_LIBS = $$BOOST_THREAD $$BOOST_FS $$BOOST_IOSTREAMS
!count(BOOST_LIBS, 3){
error("libboost (version >= 1.34.1) --> http://www.boost.org/")
error("Unable to find boost libraries in PREFIX=$${PREFIX}")
}
if($$system(sdl-config --version)){
error("libSDL_mixer, libSDL --> http://www.libsdl.org/")
error("sdl-config not found in PATH - libSDL_mixer, libSDL are required!")
}
UNAME = $$system(uname -s)
+6 -1
View File
@@ -169,6 +169,11 @@ unix : !mac {
BOOST_PROGRAM_OPTIONS = boost_program_options boost_program_options-mt
BOOST_IOSTREAMS = boost_iostreams boost_iostreams-mt
#
# searching in $PREFIX/lib and $PREFIX/lib64
# to override the default '/usr' pass PREFIX
# variable to qmake.
#
for(dir, LIB_DIRS){
exists($$dir){
for(lib, BOOST_THREAD){
@@ -199,7 +204,7 @@ unix : !mac {
}
BOOST_LIBS = $$BOOST_THREAD $$BOOST_FS $$BOOST_PROGRAM_OPTIONS $$BOOST_IOSTREAMS
!count(BOOST_LIBS, 4){
error( libboost (version >= 1.34.1) --> http://www.boost.org/")
error("Unable to find boost libraries in PREFIX=$${PREFIX}")
}
UNAME = $$system(uname -s)