GUAC-236: Add libswscale to build.
This commit is contained in:
parent
f9f08627ff
commit
96b3dd4e7c
24
configure.ac
24
configure.ac
@ -165,7 +165,6 @@ fi
|
|||||||
|
|
||||||
AM_CONDITIONAL([ENABLE_AVCODEC], [test "x${have_libavcodec}" = "xyes"])
|
AM_CONDITIONAL([ENABLE_AVCODEC], [test "x${have_libavcodec}" = "xyes"])
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# libavutil
|
# libavutil
|
||||||
#
|
#
|
||||||
@ -185,6 +184,25 @@ fi
|
|||||||
|
|
||||||
AM_CONDITIONAL([ENABLE_AVUTIL], [test "x${have_libavutil}" = "xyes"])
|
AM_CONDITIONAL([ENABLE_AVUTIL], [test "x${have_libavutil}" = "xyes"])
|
||||||
|
|
||||||
|
#
|
||||||
|
# libswscale
|
||||||
|
#
|
||||||
|
|
||||||
|
have_libswscale=disabled
|
||||||
|
AC_ARG_WITH([libswscale],
|
||||||
|
[AS_HELP_STRING([--with-libswscale],
|
||||||
|
[use libswscale when encoding video @<:@default=check@:>@])],
|
||||||
|
[],
|
||||||
|
[with_libswscale=check])
|
||||||
|
|
||||||
|
if test "x$with_libswscale" != "xno"
|
||||||
|
then
|
||||||
|
have_libswscale=yes
|
||||||
|
PKG_CHECK_MODULES([SWSCALE], [libswscale],, [have_libswscale=no]);
|
||||||
|
fi
|
||||||
|
|
||||||
|
AM_CONDITIONAL([ENABLE_SWSCALE], [test "x${have_libswscale}" = "xyes"])
|
||||||
|
|
||||||
#
|
#
|
||||||
# libssl
|
# libssl
|
||||||
#
|
#
|
||||||
@ -1029,7 +1047,8 @@ AC_ARG_ENABLE([guacenc],
|
|||||||
|
|
||||||
AM_CONDITIONAL([ENABLE_GUACENC], [test "x${enable_guacenc}" = "xyes" \
|
AM_CONDITIONAL([ENABLE_GUACENC], [test "x${enable_guacenc}" = "xyes" \
|
||||||
-a "x${have_libavcodec}" = "xyes" \
|
-a "x${have_libavcodec}" = "xyes" \
|
||||||
-a "x${have_libavutil}" = "xyes"])
|
-a "x${have_libavutil}" = "xyes" \
|
||||||
|
-a "x${have_libswscale}" = "xyes"])
|
||||||
|
|
||||||
#
|
#
|
||||||
# Output Makefiles
|
# Output Makefiles
|
||||||
@ -1088,6 +1107,7 @@ $PACKAGE_NAME version $PACKAGE_VERSION
|
|||||||
libavutil ........... ${have_libavutil}
|
libavutil ........... ${have_libavutil}
|
||||||
libssh2 ............. ${have_libssh2}
|
libssh2 ............. ${have_libssh2}
|
||||||
libssl .............. ${have_ssl}
|
libssl .............. ${have_ssl}
|
||||||
|
libswscale .......... ${have_libswscale}
|
||||||
libtelnet ........... ${have_libtelnet}
|
libtelnet ........... ${have_libtelnet}
|
||||||
libVNCServer ........ ${have_libvncserver}
|
libVNCServer ........ ${have_libvncserver}
|
||||||
libvorbis ........... ${have_vorbis}
|
libvorbis ........... ${have_vorbis}
|
||||||
|
@ -78,7 +78,8 @@ guacenc_CFLAGS = \
|
|||||||
-Werror -Wall -pedantic \
|
-Werror -Wall -pedantic \
|
||||||
@AVCODEC_CFLAGS@ \
|
@AVCODEC_CFLAGS@ \
|
||||||
@AVUTIL_CFLAGS@ \
|
@AVUTIL_CFLAGS@ \
|
||||||
@LIBGUAC_INCLUDE@
|
@LIBGUAC_INCLUDE@ \
|
||||||
|
@SWSCALE_CFLAGS@
|
||||||
|
|
||||||
guacenc_LDADD = \
|
guacenc_LDADD = \
|
||||||
@LIBGUAC_LTLIB@
|
@LIBGUAC_LTLIB@
|
||||||
@ -88,5 +89,6 @@ guacenc_LDFLAGS = \
|
|||||||
@AVUTIL_LIBS@ \
|
@AVUTIL_LIBS@ \
|
||||||
@CAIRO_LIBS@ \
|
@CAIRO_LIBS@ \
|
||||||
@JPEG_LIBS@ \
|
@JPEG_LIBS@ \
|
||||||
|
@SWSCALE_LIBS@ \
|
||||||
@WEBP_LIBS@
|
@WEBP_LIBS@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user