]> git.sesse.net Git - mlt/blobdiff - src/modules/vid.stab/configure
Fix configure script
[mlt] / src / modules / vid.stab / configure
old mode 100644 (file)
new mode 100755 (executable)
index 2929d07..e501888
@@ -5,16 +5,17 @@ then
        if ! $(pkg-config vidstab)
        then
                echo "- vid.stab not found: disabling"
-               touch ../disable-vidstab
+               touch ../disable-vid.stab
                exit 0
        fi
        
        minver="0.98"
        modver=$(pkg-config --modversion vidstab)
-       if [ 0 == $(expr $modver \>= $minver) ]
+       pkg-config --exists "vidstab >= $minver"
+       if [ $? -ne 0 ]
        then
                echo "- vid.stab $modver found, but $minver or newer is required: disabling"
-               touch ../disable-opencv
+               touch ../disable-vid.stab
                exit 0
        fi
 
@@ -29,3 +30,4 @@ then
        esac
        exit 0
 fi
+