search for: pkg_check_modul

Displaying 20 results from an estimated 238 matches for "pkg_check_modul".

Did you mean: pkg_check_modules
2014 Jun 13
4
[libldm 1/3] relax uuid, zlib version requirements
--- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 469ea96..0e7e2ea 100644 --- a/configure.ac +++ b/configure.ac @@ -85,14 +85,14 @@ PKG_CHECK_MODULES([GIO_UNIX], [gio-unix-2.0 >= 2.32.0], ] ) -PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.5], +PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2], [ AC_SUBST([ZLIB_CFLAGS]) AC_SUBST([ZLIB_LIBS]) ] ) -PKG_CHECK_MODULES([UUID], [uuid >= 2.21.0], +PKG_CHECK_MODULES([U...
2016 Jul 28
1
[PATCH] build: improve Gtk check
Check the presence of Gtk properly depending on the value of --with-gtk: if a specific version is chosen, then let PKG_CHECK_MODULES fail if that version if not found, otherwise fallback from gtk3 to gtk2 to no gtk. Also move few common AC_SUBST in a single place. --- m4/guestfs_misc_libraries.m4 | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/m4/guestfs_misc_libraries.m4 b/m4...
2015 Jan 19
1
[PATCH] build: check for single libsystemd before libsystemd-journal
...ystemd, and if not found try again with the libsystemd-journal as used before. --- configure.ac | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 1784264..7f8743b 100644 --- a/configure.ac +++ b/configure.ac @@ -1015,12 +1015,19 @@ PKG_CHECK_MODULES([HIVEX], [hivex],[ AM_CONDITIONAL([HAVE_HIVEX],[test "x$HIVEX_LIBS" != "x"]) dnl systemd journal library (optional) -PKG_CHECK_MODULES([SD_JOURNAL], [libsystemd-journal >= 196],[ +PKG_CHECK_MODULES([SD_JOURNAL], [libsystemd],[ AC_SUBST([SD_JOURNAL_CFLAGS]) AC_...
2016 Mar 08
1
[PATCH v3] configure: handle older version of ncurses
.../m4/guestfs_libraries.m4 index c5a4a01..e751db1 100644 --- a/m4/guestfs_libraries.m4 +++ b/m4/guestfs_libraries.m4 @@ -113,7 +113,14 @@ struct sockaddr_un myaddr; dnl tgetent, tputs and UP [sic] are all required. They come from the lower dnl tinfo library, but might be part of ncurses directly. PKG_CHECK_MODULES([LIBTINFO], [tinfo], [], [ - PKG_CHECK_MODULES([LIBTINFO], [ncurses]) + PKG_CHECK_MODULES([LIBTINFO], [ncurses], [], [ + AC_CHECK_PROGS([NCURSES_CONFIG], [ncurses6-config ncurses5-config], [no]) + if test "x$NCURSES_CONFIG" == "xno"; then + AC_MS...
2010 Apr 19
1
[PATCH matahari] Replaces the existing HAL code for ProcessorAgent with udev.
...AC_PROG_CC AC_PROG_CPP -AC_CHECK_HEADERS([arpa/inet.h netinet/in.h sys/ioctl.h sys/socket.h unistd.h]) +AC_CHECK_HEADERS([arpa/inet.h netinet/in.h sys/ioctl.h sys/socket.h unistd.h libudev.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL @@ -19,6 +19,7 @@ PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.2.12) PKG_CHECK_MODULES(HAL, hal >= 0.5.12) PKG_CHECK_MODULES(LIBVIRT, libvirt >= 0.6.2) PKG_CHECK_MODULES(PCRE, libpcre >= 7.8) +PKG_CHECK_MODULES(UDEV, libudev >= 145) # Checks for library functions. AC_CHECK_FUNCS([gethostname inet_ntoa socket]) diff --g...
2019 Jan 21
18
[PATCH xf86-video-nouveau 00/17] autotools configuration cleanups
Series of cleanups to autotools build config files to utilize the available xorg-server macros, defaults and more closely match other modern Xorg drivers. Notable improvements: - gitignore fully covers potential build artifacts - Simplify logic given stated minimum required version of xorg-server 1.8 - Remove use of deprecated, outdated or no longer required macros - Utilize xorg macros where
2013 May 16
3
[PATCH] Use pkg-config for Python
...h=`$PYTHON -c "import distutils.sysconfig; \ - print (distutils.sysconfig.get_python_inc ());"` - PYTHON_INCLUDEDIR=$python_path - fi - AC_MSG_RESULT([$PYTHON_INCLUDEDIR]) + # Debian: python-2.7.pc, python-3.2.pc + PKG_CHECK_MODULES([PYTHON], [python-"$PYTHON_VERSION"],[ + AC_SUBST([PYTHON_CFLAGS]) + AC_SUBST([PYTHON_LIBS]) + AC_SUBST([PYTHON_VERSION]) + AC_DEFINE([HAVE_PYTHON],[1],[Python library found at compile time]) + ],[ + PKG_CHECK_MODULES([PYTHON...
2018 Feb 13
1
[PATCH] build: mandate Jansson >= 2.7
...ed>. diff --git a/m4/guestfs-libraries.m4 b/m4/guestfs-libraries.m4 index 67a0b7148..6d5f3e3c1 100644 --- a/m4/guestfs-libraries.m4 +++ b/m4/guestfs-libraries.m4 @@ -285,7 +285,7 @@ AC_CHECK_FUNCS([xmlBufferDetach]) LIBS="$old_LIBS" dnl Check for Jansson JSON library (required). -PKG_CHECK_MODULES([JANSSON], [jansson]) +PKG_CHECK_MODULES([JANSSON], [jansson >= 2.7]) dnl Check for C++ (optional, we just use this to test the header works). AC_PROG_CXX -- 2.14.3
2013 Jun 13
1
[PATCH] Link against libdrm
...d, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 6f7f870..b54b8cd 100644 --- a/configure.ac +++ b/configure.ac @@ -80,6 +80,7 @@ XORG_DRIVER_CHECK_EXT(DPMSExtension, xextproto) XORG_DRIVER_CHECK_EXT(DRI2, [dri2proto >= 2.6]) # Checks for pkg-config packages +PKG_CHECK_MODULES(LIBDRM, [libdrm >= 2.4.17]) PKG_CHECK_MODULES(LIBDRM_NOUVEAU, [libdrm_nouveau >= 2.4.25]) AC_SUBST(LIBDRM_NOUVEAU_CFLAGS) AC_SUBST(LIBDRM_NOUVEAU_LIBS) diff --git a/src/Makefile.am b/src/Makefile.am index f54e135..5836ead 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -23,10 +23,1...
2013 Feb 16
8
Bugfix + dri1 cleanup patches
Had those patches living in my local tree for a while now. Here is a respin on top of latest master Patch 1: regression fix, preventing the ddx from loading if kernel module is not loaded Patches 2-5: Completely nuke dri1, make dri2 hard dependency Patches 6-7: Assist people with first-time build of nouveau Git complains about whitespace errors in patch 7, which for the sake of me I cannot
2019 Nov 17
3
How to build virt-v2v after the project was separated
Looks like virt-v2v cannot be built now, since it requires non-existing version of libguestfs-devel. Based on (no README or any instructions in virt-v2v) http://libguestfs.org/guestfs-building.1.html I tried this: git clean -dxf ./autogen.sh And it fails with: --- Checking for libraries used by virt-v2v --- checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version
2013 Jul 31
2
Fw: infosec e4
...me --with-statepath=/var/run/nut --with-altpidpath=/var/run/nut --with-drvpath=/lib/nut --with-pidpath=/var/run/$name --with-user=$name ?with-group=$name --without-ssl There was an error : ./configure: line 7079: syntax error near unexpected token `CPPUNIT,' ./configure: line 7079: `PKG_CHECK_MODULES(CPPUNIT, cppunit, have_cppunit=yes, have_cppunit=no)' I put in commentary the line PKG_CHECK_MODULES(CPPUNIT, cppunit, have_cppunit=yes, have_cppunit=no) then # make # make installI took the driver voltronic_ser then from my workstation put it in the server, change the ups.conf and...
2009 Feb 28
2
having trouble building on Mac OS X 10.5
I'm getting this error trying to build speex on MacOS X 10.5.6: ./configure: line 21256: syntax error near unexpected token `FFT,' ./configure: line 21256: ` PKG_CHECK_MODULES(FFT, fftw3f)' Thanks for any tips. Details ... I'd like to use speex with ffmpeg but when I run ffmpegs configure with: --enable-libspeex I get: ERROR: libspeex not found Soo ... I installed libogg in /usr/local wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.g...
2019 Jul 17
3
[nbdkit PATCH 0/2] Another libnbd API bump
...ess macro, so you can't easily compile for 0.1.7 and 0.1.8 at the same time), so I'm leaning more towards doing nothing until libnbd 0.1.8 is released and then squashing these together (as that shouldn't be much longer). If short-term compilation is needed without these patches, change PKG_CHECK_MODULES to request [libnbd = 0.1.6] instead of >= (to gracefully fall back to non-libnbd compilation if you don't have libnbd 0.1.6 around). Eric Blake (2): nbd: Another libnbd API bump nbd: Another libnbd API bump configure.ac | 4 ++-- plugins/nbd/nbd.c | 31 ++++++++++++++++--------...
2016 Mar 01
0
[PATCH 1/3] configure: handle older version of ncurses
.../m4/guestfs_libraries.m4 index c5a4a01..0aadae0 100644 --- a/m4/guestfs_libraries.m4 +++ b/m4/guestfs_libraries.m4 @@ -113,7 +113,11 @@ struct sockaddr_un myaddr; dnl tgetent, tputs and UP [sic] are all required. They come from the lower dnl tinfo library, but might be part of ncurses directly. PKG_CHECK_MODULES([LIBTINFO], [tinfo], [], [ - PKG_CHECK_MODULES([LIBTINFO], [ncurses]) + PKG_CHECK_MODULES([LIBTINFO], [ncurses], [], [ + AC_CHECK_PROG([NCURSES6_CONFIG], [ncurses6-config], [ncurses6-config], [no]) + LIBTINFO_CFLAGS=`$NCURSES6_CONFIG --cflags` + LIBTINFO_LIBS=`$NCURSES6...
2016 Mar 08
0
[PATCH v2 1/3] configure: handle older version of ncurses
.../m4/guestfs_libraries.m4 index c5a4a01..defd394 100644 --- a/m4/guestfs_libraries.m4 +++ b/m4/guestfs_libraries.m4 @@ -113,7 +113,17 @@ struct sockaddr_un myaddr; dnl tgetent, tputs and UP [sic] are all required. They come from the lower dnl tinfo library, but might be part of ncurses directly. PKG_CHECK_MODULES([LIBTINFO], [tinfo], [], [ - PKG_CHECK_MODULES([LIBTINFO], [ncurses]) + PKG_CHECK_MODULES([LIBTINFO], [ncurses], [], [ + AC_CHECK_PROG([NCURSES_CONFIG], [ncurses6-config], [ncurses6-config], [no]) + if test "x$NCURSES_CONFIG" == "xno"; then + AC_...
2018 Jan 23
1
[PATCH] customize: Use libxcrypt if available to provide crypt(3).
...library. -old_LIBS="$LIBS" -AC_SEARCH_LIBS([crypt],[crypt]) -LIBS="$old_LIBS" -if test "$ac_cv_search_crypt" = "-lcrypt" ; then - LIBCRYPT_LIBS="-lcrypt" -fi -AC_SUBST([LIBCRYPT_LIBS]) +dnl glibc 2.27 removes crypt(3) and suggests using libxcrypt. +PKG_CHECK_MODULES([LIBCRYPT], [libxcrypt], [ + AC_SUBST([LIBCRYPT_CFLAGS]) + AC_SUBST([LIBCRYPT_LIBS]) +],[ + dnl Check if crypt() is provided by another library. + old_LIBS="$LIBS" + AC_SEARCH_LIBS([crypt],[crypt]) + LIBS="$old_LIBS" + if test "$ac_cv_search_crypt&quo...
2003 Jun 23
1
can't compile on redhat 9
hi, while the current cvs compile on redhat 8.0 on redhat 9 gives the following error: ---------------------------- checking whether va_lists can be copied by value... yes ./configure: line 14217: syntax error near unexpected token `SSL,' ./configure: line 14217: ` PKG_CHECK_MODULES(SSL, openssl)' error: Bad exit status from /var/tmp/rpm-tmp.84419 (%build) ---------------------------- any tip what can be the reason? thanks. yours. -- Levente "Si vis pacem para bellum!"
2008 May 03
2
Cross compiling Linux -> windows has broken
...d_create, pthread_lib="-lpthread", :) HAVE_OGG=no -dnl first check through pkg-config -dnl check for pkg-config itself so we don't try the m4 macro without pkg-config -AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes) -if test "x$HAVE_PKG_CONFIG" = "xyes" -then - PKG_CHECK_MODULES(OGG, ogg >= 1.0, HAVE_OGG=yes, HAVE_OGG=no) -fi +PKG_CHECK_MODULES(OGG, ogg >= 1.0, HAVE_OGG=yes, HAVE_OGG=no) if test "x$HAVE_OGG" = "xno" then dnl fall back to the old school test ------8<------8<------8<------8<------8<------8<------8<------8...
2013 Aug 01
0
infosec e4
.../run/$name > --with-user=$name ?with-group=$name --without-ssl If these are the same parameters as are used to build the .deb, then that should owrk. > There was an error : > ./configure: line 7079: syntax error near unexpected token `CPPUNIT,' > ./configure: line 7079: `PKG_CHECK_MODULES(CPPUNIT, cppunit, > have_cppunit=yes, have_cppunit=no)' Do you have pkg-config installed? > I put in commentary the line PKG_CHECK_MODULES(CPPUNIT, cppunit, have_cppunit=yes, have_cppunit=no) then > # make > # make install > I took the driver voltronic_ser then f...