Changeset - r14285:fee64f01e2dd
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-01-17 16:39:58
rubidium@openttd.org
(svn r18847) -Fix [FS#3541] (r18769): configure didn't properly detect libtimidity anymore (hannibal218bc)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -2357,25 +2357,25 @@ detect_library() {
 
	log 1 "checking $2... found"
 
}
 

	
 
detect_zlib() {
 
	detect_library "$with_zlib" "zlib" "libz.a" "" "zlib.h"
 
}
 

	
 
detect_lzo2() {
 
	detect_library "$with_lzo2" "lzo2" "liblzo2.a" "lzo/" "lzo1x.h"
 
}
 

	
 
detect_libtimidity() {
 
	detect_library "$with_libtimidity" "libtimidity" "" "libtimidity.a" "timidity.h"
 
	detect_library "$with_libtimidity" "libtimidity" "libtimidity.a" "" "timidity.h"
 
}
 

	
 
detect_png() {
 
	# 0 means no, 1 is auto-detect, 2 is force
 
	if [ "$with_png" = "0" ]; then
 
		log 1 "checking libpng... disabled"
 

	
 
		png_config=""
 
		return 0
 
	fi
 

	
 
	if [ "$with_zlib" = "0" ] || [ -z "$zlib" ]; then
0 comments (0 inline, 0 general)