PKG_CHECK_MODULES test of ./configure now only with --enable-pkg-check-modules
This commit is contained in:
parent
d37ba92a71
commit
3fe40ed4ae
@ -302,11 +302,24 @@ AC_CHECK_HEADER(libisofs/libisofs.h)
|
|||||||
|
|
||||||
# ------- Visible mark in configure : Start of library check
|
# ------- Visible mark in configure : Start of library check
|
||||||
|
|
||||||
dnl Check for proper library versions
|
# Check for proper library versions if this is desired.
|
||||||
|
# (It fails too often on too many systems.)
|
||||||
|
AC_ARG_ENABLE(pkg-check-modules,
|
||||||
|
[ --enable-pkg-check-modules Enable pkg-config check for libburn and libisofs , default=no],
|
||||||
|
, enable_pkg_check_modules=no)
|
||||||
|
if test x$enable_pkg_check_modules = xyes; then
|
||||||
|
|
||||||
|
dnl if PKG_CHECK_MODULES is to be used after this if-block,
|
||||||
|
dnl then it might be necessary to perform PKG_PROG_PKG_CONFIG before the block.
|
||||||
|
|
||||||
LIBBURN_REQUIRED=1.1.4
|
LIBBURN_REQUIRED=1.1.4
|
||||||
LIBISOFS_REQUIRED=1.1.5
|
LIBISOFS_REQUIRED=1.1.5
|
||||||
PKG_CHECK_MODULES(LIBBURN, libburn-1 >= $LIBBURN_REQUIRED)
|
PKG_CHECK_MODULES(LIBBURN, libburn-1 >= $LIBBURN_REQUIRED)
|
||||||
PKG_CHECK_MODULES(LIBISOFS, libisofs-1 >= $LIBISOFS_REQUIRED)
|
PKG_CHECK_MODULES(LIBISOFS, libisofs-1 >= $LIBISOFS_REQUIRED)
|
||||||
|
else
|
||||||
|
echo "checking for LIBBURN... skipped, no --enable-pkg-check-modules"
|
||||||
|
echo "checking for LIBISOFS... skipped, no --enable-pkg-check-modules"
|
||||||
|
fi
|
||||||
|
|
||||||
# ------- Visible mark in configure : End of library check
|
# ------- Visible mark in configure : End of library check
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user