]> git.sesse.net Git - mlt/blob - src/modules/linsys/configure
Fix compile error on Windows.
[mlt] / src / modules / linsys / configure
1 #!/bin/sh
2
3 if [ "$help" = "1" ]
4 then
5         cat << EOF
6 Linsys options:
7
8   --linsys-with-jpeg      - Enable the option to export JPEGs (disabled by default)
9
10 EOF
11
12 else
13         if [ "$targetos" = "Darwin" ] || [ "$targetos" = "MinGW" ]
14         then
15                 echo "- does not build on OS X or Windows: disabling"
16                 touch ../disable-linsys
17                 exit 0
18         fi
19
20         touch config.mak
21
22         for i in "$@"
23         do
24                 case $i in
25                         --linsys-with-jpeg )    echo "WITH_JPEG=1" > config.mak ;;
26                 esac
27         done
28
29         exit 0
30 fi
31