mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
Rename --with-libcryptopp to --with-cryptopp
This commit is contained in:
parent
182038c743
commit
651e84ff85
16
configure.ac
16
configure.ac
|
@ -56,18 +56,18 @@ AM_CONDITIONAL([HAVE_SSE2], [test x"$flag_sse2" = x"true"])
|
||||||
KVZ_CFLAGS="-Wall -Wtype-limits -Wvla -I$srcdir/src -I$srcdir/src/extras -ftree-vectorize -fvisibility=hidden"
|
KVZ_CFLAGS="-Wall -Wtype-limits -Wvla -I$srcdir/src -I$srcdir/src/extras -ftree-vectorize -fvisibility=hidden"
|
||||||
CFLAGS="$KVZ_CFLAGS $CFLAGS"
|
CFLAGS="$KVZ_CFLAGS $CFLAGS"
|
||||||
|
|
||||||
AC_ARG_WITH([libcryptopp],
|
AC_ARG_WITH([cryptopp],
|
||||||
AS_HELP_STRING([--with-cryptopp],
|
AS_HELP_STRING([--with-cryptopp],
|
||||||
[Build with libcryptopp Enables selective encryption.]))
|
[Build with cryptopp Enables selective encryption.]))
|
||||||
AS_IF([test "x$with_libcryptopp" = "xyes"], [
|
AS_IF([test "x$with_cryptopp" = "xyes"], [
|
||||||
PKG_CHECK_MODULES([libcryptopp], [cryptopp],
|
PKG_CHECK_MODULES([cryptopp], [cryptopp],
|
||||||
AC_DEFINE([KVZ_SEL_ENCRYPTION], [1], [With libcryptopp]),
|
AC_DEFINE([KVZ_SEL_ENCRYPTION], [1], [With cryptopp]),
|
||||||
AC_MSG_ERROR([libcryptopp not found with pkg-config])
|
AC_MSG_ERROR([cryptopp not found with pkg-config])
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $libcryptopp_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $cryptopp_CFLAGS"
|
||||||
LIBS="$LIBS $libcryptopp_LIBS"
|
LIBS="$LIBS $cryptopp_LIBS"
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="-DKVZ_DLL_EXPORTS $CPPFLAGS"
|
CPPFLAGS="-DKVZ_DLL_EXPORTS $CPPFLAGS"
|
||||||
|
|
Loading…
Reference in a new issue