diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-06 14:02:57 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-06 14:02:57 -0500 |
commit | effa31d902975a70f5856ee03b951f5b26054447 (patch) | |
tree | 8587eabd02e623878f63edae1d129fb7b7f1fb4d /configure.in.in | |
parent | 18d94a8600bff14a21c3d47542f8febb1276591b (diff) | |
download | k9copy-effa31d902975a70f5856ee03b951f5b26054447.tar.gz k9copy-effa31d902975a70f5856ee03b951f5b26054447.zip |
Fix crash when img_convert unavailable
Diffstat (limited to 'configure.in.in')
-rwxr-xr-x | configure.in.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in index c9a3329..1bf34d1 100755 --- a/configure.in.in +++ b/configure.in.in @@ -73,3 +73,8 @@ CXXFLAGS="$cxx_flags_safe" CFLAGS="$cflags_safe" AC_LANG_RESTORE +have_swscale=no +AC_CHECK_HEADER([libswscale/swscale.h], \ +[AC_DEFINE(HAVE_SWSCALE, 1, [swscale support]) have_swscale=yes], \ +[AC_DEFINE(NO_SWSCALE, 1, [No swscale support])]) + |