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
b19b0c51
Commit
b19b0c51
authored
Jun 07, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the libgcrypt variables substitution
parent
37ff7ca1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
30 deletions
+8
-30
configure.ac
configure.ac
+8
-30
No files found.
configure.ac
View file @
b19b0c51
...
@@ -5300,33 +5300,10 @@ dnl libgcrypt
...
@@ -5300,33 +5300,10 @@ dnl libgcrypt
dnl
dnl
AC_ARG_ENABLE(libgcrypt,
AC_ARG_ENABLE(libgcrypt,
[ --enable-libgcrypt libgcrypts support (default enabled)])
[ --enable-libgcrypt libgcrypts support (default enabled)])
AS_IF([test "${enable_libgcrypt}" != "no"], [
GCRYPT_PATH="${PATH}"
AC_ARG_WITH(libgcrypt-config-path,
[ --with-libgcrypt-config-path=PATH libgcrypt-config path (default search in \$PATH)],
[ if test "${with_libgcrypt_config_path}" != "no"
then
GCRYPT_PATH="${with_libgcrypt_config_path}:${PATH}"
fi ])
if test "${enable_libgcrypt}" != "no"
then
dnl Workaround for cross-compiling since AM_PATH_LIBGRYPT doesn't dectect
dnl it and looks for libgcrypt headers in the wrong place.
if test "${host_cpu}" = "${build_cpu}"
then
AM_PATH_LIBGCRYPT([1:1.1.94], [have_libgcrypt="yes"], [have_libgcrypt="no"])
AM_PATH_LIBGCRYPT([1:1.1.94], [have_libgcrypt="yes"], [have_libgcrypt="no"])
else
AC_CHECK_HEADERS(gcrypt.h,have_libgcrypt="yes",have_libgcrypt="no")
fi
fi
AM_CONDITIONAL([HAVE_LIBGCRYPT], [test "${have_libgcrypt}" = "yes"])
AS_IF([test "${have_libgcrypt}" = "yes"],[
# look for libgcrypt-config
AC_PATH_PROG(GCRYPT_CONFIG, "libgcrypt-config", no, ${GCRYPT_PATH})
GCRYPT_CFLAGS=`${GCRYPT_CONFIG} --cflags`
GCRYPT_LIBS=`${GCRYPT_CONFIG} --libs`
])
])
AM_CONDITIONAL([HAVE_LIBGCRYPT], [test "${have_libgcrypt}" = "yes"])
dnl
dnl
dnl TLS/SSL
dnl TLS/SSL
...
@@ -5343,9 +5320,10 @@ AS_IF([test "${enable_gnutls}" != "no"], [
...
@@ -5343,9 +5320,10 @@ AS_IF([test "${enable_gnutls}" != "no"], [
VLC_ADD_LIBS([gnutls], [-lz])
VLC_ADD_LIBS([gnutls], [-lz])
VLC_ADD_LIBS([gnutls], [${LTLIBINTL}])
VLC_ADD_LIBS([gnutls], [${LTLIBINTL}])
])
])
dnl The GnuTLS plugin invokes gcry_control directly.
AS_IF([test "${have_libgcrypt}" = "yes"],[
AS_IF([test "${have_libgcrypt}" = "yes"],[
VLC_ADD_LIBS([gnutls],
${GCRYPT_LIBS}
)
VLC_ADD_LIBS([gnutls],
[${LIBGCRYPT_LIBS}]
)
VLC_ADD_CFLAGS([gnutls],
${GCRYPT_CFLAGS}
)
VLC_ADD_CFLAGS([gnutls],
[${LIBGCRYPT_CFLAGS}]
)
])
])
VLC_ADD_LIBS([gnutls], [$GNUTLS_LIBS])
VLC_ADD_LIBS([gnutls], [$GNUTLS_LIBS])
], [
], [
...
@@ -5366,8 +5344,8 @@ then
...
@@ -5366,8 +5344,8 @@ then
then
then
AC_MSG_ERROR([libgcrypt is required for update checking system])
AC_MSG_ERROR([libgcrypt is required for update checking system])
fi
fi
VLC_ADD_LIBS([libvlc],
${GCRYPT_LIBS}
)
VLC_ADD_LIBS([libvlc],
[${LIBGCRYPT_LIBS}]
)
VLC_ADD_CFLAGS([libvlc],
${GCRYPT_CFLAGS}
)
VLC_ADD_CFLAGS([libvlc],
[${LIBGCRYPT_CFLAGS}]
)
AC_DEFINE([UPDATE_CHECK], 1, [Define if you want to use the VLC update mechanism])
AC_DEFINE([UPDATE_CHECK], 1, [Define if you want to use the VLC update mechanism])
fi
fi
...
...
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