# HG changeset patch # User truelight # Date 2007-02-16 10:08:38 # Node ID 172ee15a26d555809b3ed8b9d8d4e15b1b9780b6 # Parent 54bfa72c2fff4002986fe219dabfae42731829ee (svn r8758) -Fix r8757: wrong variable to check libtimidity on if it is found or not diff --git a/config.lib b/config.lib --- a/config.lib +++ b/config.lib @@ -782,7 +782,7 @@ make_cflags_and_ldflags() { CFLAGS="$CFLAGS -DWIN32_ENABLE_DIRECTMUSIC_SUPPORT" fi - if [ "$with_libtimidity" != "0" ]; then + if [ -n "$libtimidity" ]; then if [ "$enable_static" != "0" ]; then LIBS="$LIBS $libtimidity" else diff --git a/configure b/configure --- a/configure +++ b/configure @@ -82,7 +82,7 @@ SRCS="`< $ROOT_DIR/source.list tr '\r' ' if ($0 == "WINCE" && "'$os'" != "WINCE") { next; } if ($0 == "MSVC" && "'$os'" != "MSVC") { next; } if ($0 == "DIRECTMUSIC" && "'$with_direct_music'" == "0") { next; } - if ($0 == "LIBTIMIDITY" && "'$with_libtimidity'" == "0") { next; } + if ($0 == "LIBTIMIDITY" && "'$libtimidity'" == "" ) { next; } skip += 1;