Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
33173810
Commit
33173810
authored
Nov 04, 2004
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for libgnutls
parent
dc437b8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
configure.ac
configure.ac
+48
-0
No files found.
configure.ac
View file @
33173810
...
...
@@ -1208,6 +1208,15 @@ then
AC_DEFINE(ENABLE_VLM, 1, Define if you want the VideoLAN manager support)
fi
dnl
dnl TLS/SSL
dnl
AC_ARG_ENABLE(tls,
[ --enable-tls TLS/SSL support (default disabled)])
AS_IF([test "${enable_tls}" == "yes"],
AC_DEFINE(ENABLE_TLS, 1, Define if you want the TLS/SSL support))
dnl
dnl Input plugins
dnl
...
...
@@ -3813,6 +3822,45 @@ AM_CONDITIONAL(ENABLE_CORBA, test "$enablecorba" = "true")
AC_ARG_WITH(,[Misc options:])
dnl
dnl GnuTLS-based TLS/SSL support
dnl
AC_ARG_WITH(libgnutls-prefix,
[ --with-libgnutls-prefix=PFX Set prefix where libgnutls is installed],
libgnutls_config_prefix="$withval", libgnutls_config_prefix="")
AS_IF([test x$libgnutls_config_prefix != x],
AS_IF([test x${LIBGNUTLS_CONFIG+set} != xset],
LIBGNUTLS_CONFIG=$libgnutls_config_prefix/bin/libgnutls-config
)
)
if test "x$enable_tls" == "xyes"; then
AC_PATH_PROG(LIBGNUTLS_CONFIG, libgnutls-config, no)
no_libgnutls=""
AC_MSG_CHECKING(for libgnutls - version >= 1.0.0)
AS_IF([test "$LIBGNUTLS_CONFIG" = "no"],
no_libgnutls=yes
,
LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
)
AS_IF([test "x$no_libgnutls" = x],
AC_MSG_RESULT(yes)
VLC_ADD_CFLAGS([vlc], [$LIBGNUTLS_CFLAGS])
VLC_ADD_LDFLAGS([vlc], [$LIBGNUTLS_LIBS])
AC_DEFINE(HAVE_GNUTLS, 1, Define to 1 if you have libgnutls)
,
AC_MSG_RESULT(no)
LIBGNUTLS_CFLAGS=""
LIBGNUTLS_LIBS=""
AC_MSG_ERROR(TLS/SSL support cannot be compiled)
)
fi
dnl
dnl Endianness check, AC_C_BIGENDIAN doesn't work if we are cross-compiling
dnl
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment