@@ -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
Status change: