Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
audiowmark
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
audiowmark
Commits
256fe93d
Commit
256fe93d
authored
Dec 28, 2024
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUILD: try using pkg-config first to find libgcrypt (see also #72).
Signed-off-by:
Stefan Westerfeld
<
stefan@space.twc.de
>
parent
f227995d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
configure.ac
configure.ac
+18
-3
No files found.
configure.ac
View file @
256fe93d
...
...
@@ -73,13 +73,28 @@ AC_DEFUN([AC_FFTW_CHECK],
AC_DEFINE_UNQUOTED(SPECTMORPH_HAVE_FFTW, $SPECTMORPH_HAVE_FFTW, [Whether libfftw3 is available])
])
dnl libgcrypt
AC_DEFUN([AC_LIBGCRYPT_REQUIREMENTS],
[
dnl newer libgcrypt versions provide a pkg-config file
PKG_CHECK_MODULES(LIBGCRYPT, [libgcrypt], [have_libgcrypt=yes], [have_libgcrypt=no])
dnl older libgcrypt versions provide libgcrypt-config
if test "x$have_libgcrypt" != "xyes"; then
AM_PATH_LIBGCRYPT([], [have_libgcrypt=yes])
fi
dnl fail if neither pkg-config file nor libgcrypt-config was found
if test "x$have_libgcrypt" != "xyes"; then
AC_MSG_ERROR([You need to install libgcrypt to build this package.])
fi
])
AC_SNDFILE_REQUIREMENTS
AC_LIBMPG123_REQUIREMENTS
AC_ZITA_REQUIREMENTS
AC_FFTW_CHECK
AM_PATH_LIBGCRYPT([], [], [
AC_MSG_ERROR([You need to install libgcrypt to build this package.])
])
AC_LIBGCRYPT_REQUIREMENTS
dnl -------------------- ffmpeg is optional ----------------------------
AC_ARG_WITH([ffmpeg], [AS_HELP_STRING([--with-ffmpeg], [build against ffmpeg libraries])], [], [with_ffmpeg=no])
...
...
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