diff options
author | Nikoli <nikoli@gmx.us> | 2013-11-28 21:15:11 +0400 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-11-29 23:08:33 +0100 |
commit | 18345400c022ad644ff5dafe1383110c47e7d533 (patch) | |
tree | 7055f483ad6f9730d334f33d4205a30f22bad863 /old-configure | |
parent | 597b8a355002306486c5d4a19890bb403b5d3ded (diff) | |
download | mpv-18345400c022ad644ff5dafe1383110c47e7d533.tar.bz2 mpv-18345400c022ad644ff5dafe1383110c47e7d533.tar.xz |
build: add options for enabling and disabling any libquvi versions
Makes packaging a bit simpler.
Diffstat (limited to 'old-configure')
-rwxr-xr-x | old-configure | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/old-configure b/old-configure index d5592be408..8decf53458 100755 --- a/old-configure +++ b/old-configure @@ -1626,11 +1626,6 @@ if test "$_libquvi4" = auto ; then _libquvi4=yes fi fi -if test "$_libquvi4" = yes; then - def_libquvi4="#define HAVE_LIBQUVI4 1" -else - def_libquvi4="#define HAVE_LIBQUVI4 0" -fi echores "$_libquvi4" echocheck "libquvi 0.9.x support" @@ -1644,12 +1639,13 @@ if test "$_libquvi9" = auto ; then _libquvi9=yes fi fi -if test "$_libquvi9" = yes; then - def_libquvi9="#define HAVE_LIBQUVI9 1" +echores "$_libquvi9" + +if test "$_libquvi9" = yes || test "$_libquvi4" = yes; then + def_libquvi9="#define HAVE_LIBQUVI 1" else - def_libquvi9="#define HAVE_LIBQUVI9 0" + def_libquvi9="#define HAVE_LIBQUVI 0" fi -echores "$_libquvi9" ######### # VIDEO # |