X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fconfigure;h=557b3da8881c60070fd1d25279156715a960fe69;hb=3e2991e189a71045210d8c97458c452d6c2f02da;hp=54c6c798b70fbb7af301962a49c3f449a361a82c;hpb=894fa2d9a38414cd94f5ce7bec0815bb6f23237c;p=melted diff --git a/mlt++/configure b/mlt++/configure index 54c6c79..557b3da 100755 --- a/mlt++/configure +++ b/mlt++/configure @@ -4,8 +4,8 @@ path=`which mlt-config 2>/dev/null` [ $? != 0 ] && echo "MLT not installed - aborting" && exit 1 # Determine default prefix -prefix=`dirname $path` -prefix=`dirname $prefix` +prefix=`mlt-config --prefix` +[ "$prefix" = "" ] && echo "Can't locate MLT's prefix - please reconfigure MLT." && exit 1 # Allow override from command line [ "$1" != "" ] && prefix="${1#--prefix=}"