Displaying 16 results from an estimated 16 matches for "pkg_prog_pkg_config".
[PATCH] Use pkg-config (if available) to detect libogg. Fall back to old method if pkg-config fails.
2009 Oct 25
0
[PATCH] Use pkg-config (if available) to detect libogg. Fall back to old method if pkg-config fails.
...C_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
AM_MAINTAINER_MODE
@@ -112,7 +113,16 @@ AC_MSG_RESULT($has_visibility)
AC_CHECK_HEADERS(sys/soundcard.h sys/audioio.h)
-XIPH_PATH_OGG([src="src"], [src=""])
+# Test for availablitly of pkg-config.
+PKG_PROG_PKG_CONFIG
+
+if test -n "$PKG_CONFIG"; then
+ PKG_CHECK_MOD_VERSION(OGG, ogg >= 1.1.3, ac_cv_ogg=yes, ac_cv_ogg=no)
+ src=src
+ fi
+if test x$ac_cv_ogg != xyes; then
+ XIPH_PATH_OGG([src="src"], [src=""])
+ fi
AC_SUBST(src)
AC_CHECK_LIB(m, sin)
@@ -287,7 +297,7 @@ AC_DEFI...
2020 Feb 05
0
Icecast-dev Digest, Vol 154, Issue 2
...all.
Is there a reason for this ? The icecast documentation mentions: Packages are built with openSSL enabled.
Question 2:
I tried to compile the latest version from github https://git.xiph.org/?p=icecast-server.git. But this breaks on /autogen.sh with m4 errors like:
configure.ac:209: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/with_pkg.m4:34: PKG_WITH_MODULES is expanded from...
m4/with_pkg.m4:64: PKG_HAVE_WITH_MODULES is expanded from...
configure.ac:209: the top level
configure.ac:20: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimat...
2014 Aug 07
3
[PATCH 0/2] rng-tools: add udev rule for virtio-rng
Hello,
I didn't find a mailing list for rng-tools, so CC'ing the kernel lists
and the last few committers.
The first patch in this series adds a udev rule to start rngd for
guests that have a virtio-rng device available.
The second patch attempts to add autoconf magic to install the udev
rule in the system dirs. However, installing as non-root will
obviously fail. Prefixes are also
2014 Aug 07
3
[PATCH 0/2] rng-tools: add udev rule for virtio-rng
Hello,
I didn't find a mailing list for rng-tools, so CC'ing the kernel lists
and the last few committers.
The first patch in this series adds a udev rule to start rngd for
guests that have a virtio-rng device available.
The second patch attempts to add autoconf magic to install the udev
rule in the system dirs. However, installing as non-root will
obviously fail. Prefixes are also
[PATCH] Use pkg-config (if available) to detect libogg. Fall back to old method if pkg-config fails.
2009 Oct 25
1
[PATCH] Use pkg-config (if available) to detect libogg. Fall back to old method if pkg-config fails.
...REFIX, MODULES, [ACTION-IF-FOUND],
+# [ACTION-IF-NOT-FOUND])
+#
+# This is a very slight modification to the macro PKG_CHECK_MODULES that
+# is in the original pkg.m4 file. It prints the versions in the checking
+# message (erikd at mega-nerd.com).
+
+AC_DEFUN([PKG_CHECK_MOD_VERSION],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
+
+pkg_failed=no
+AC_MSG_CHECKING([for $2 ])
+
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
+
+m4_def...
2019 Jan 22
2
[PATCH] gobject: Add Vala binding support
...uot;x$2" = "x"], [
+ vapigen_pkg_name=vapigen
+ ], [
+ vapigen_pkg_name=vapigen-$2
+ ])
+ AS_IF([test "x$1" = "x"], [
+ vapigen_pkg="$vapigen_pkg_name"
+ ], [
+ vapigen_pkg="$vapigen_pkg_name >= $1"
+ ])
+
+ PKG_PROG_PKG_CONFIG
+
+ PKG_CHECK_EXISTS([$vapigen_pkg], [
+ AS_IF([test "$enable_vala" = "auto"], [
+ enable_vala=yes
+ ])
+ ], [
+ AS_CASE([$enable_vala], [yes], [
+ AC_MSG_ERROR([$vapigen_pkg not found])
+ ], [auto], [
+ enable_vala=no
+...
2019 Jan 22
1
[PATCH] gobject: Add Vala binding support
...uot;x$2" = "x"], [
+ vapigen_pkg_name=vapigen
+ ], [
+ vapigen_pkg_name=vapigen-$2
+ ])
+ AS_IF([test "x$1" = "x"], [
+ vapigen_pkg="$vapigen_pkg_name"
+ ], [
+ vapigen_pkg="$vapigen_pkg_name >= $1"
+ ])
+
+ PKG_PROG_PKG_CONFIG
+
+ PKG_CHECK_EXISTS([$vapigen_pkg], [
+ AS_IF([test "$enable_vala" = "auto"], [
+ enable_vala=yes
+ ])
+ ], [
+ AS_CASE([$enable_vala], [yes], [
+ AC_MSG_ERROR([$vapigen_pkg not found])
+ ], [auto], [
+ enable_vala=no
+...
2019 Jan 22
2
Re: [PATCH] gobject: Add Vala binding support
...uot;x$2" = "x"], [
+ vapigen_pkg_name=vapigen
+ ], [
+ vapigen_pkg_name=vapigen-$2
+ ])
+ AS_IF([test "x$1" = "x"], [
+ vapigen_pkg="$vapigen_pkg_name"
+ ], [
+ vapigen_pkg="$vapigen_pkg_name >= $1"
+ ])
+
+ PKG_PROG_PKG_CONFIG
+
+ PKG_CHECK_EXISTS([$vapigen_pkg], [
+ AS_IF([test "$enable_vala" = "auto"], [
+ enable_vala=yes
+ ])
+ ], [
+ AS_CASE([$enable_vala], [yes], [
+ AC_MSG_ERROR([$vapigen_pkg not found])
+ ], [auto], [
+ enable_vala=no
+...
2019 Jan 22
1
Re: [PATCH] gobject: Add Vala binding support
...uot;x$2" = "x"], [
+ vapigen_pkg_name=vapigen
+ ], [
+ vapigen_pkg_name=vapigen-$2
+ ])
+ AS_IF([test "x$1" = "x"], [
+ vapigen_pkg="$vapigen_pkg_name"
+ ], [
+ vapigen_pkg="$vapigen_pkg_name >= $1"
+ ])
+
+ PKG_PROG_PKG_CONFIG
+
+ PKG_CHECK_EXISTS([$vapigen_pkg], [
+ AS_IF([test "$enable_vala" = "auto"], [
+ enable_vala=yes
+ ])
+ ], [
+ AS_CASE([$enable_vala], [yes], [
+ AC_MSG_ERROR([$vapigen_pkg not found])
+ ], [auto], [
+ enable_vala=no
+...
2012 Jul 24
11
[PATCH 01/12] configure: Add -nographic command line option to qemu.
Without this option, configure will fail when there is no display.
Signed-off-by: Masami HIRATA <msmhrt at gmail.com>
---
configure.ac | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index de8a064..61d6f69 100644
--- a/configure.ac
+++ b/configure.ac
@@ -593,16 +593,16 @@ working.
AC_MSG_FAILURE([$QEMU version must be >=
2017 Jul 07
3
[PATCH v3 0/3] gobject: Remove gtk-doc.
Another test, the same as before.
2017 Jul 07
3
[PATCH v4 0/3] gobject: Remove gtk-doc (RHBZ#1465665).
Best of .. 4?
2017 Jul 07
3
[PATCH v5 0/3] gobject: Remove gtk-doc (RHBZ#1465665).
After enabling procmail debugging ...
2017 Jul 07
3
[PATCH v2 0/3] Remove gtk-doc.
This is a repost so I can test my procmail script / automatic
testing framework. The patch series is identical to v1.
Rich.
2017 Jun 29
3
[PATCH 0/3] gobject: Remove gtk-doc and replace with guestfs-gobject(3) manual page.
Patch 1 cleans up the gobject tests.
Patches 2 and 3 remote gtk-doc, which is slow and useless, and replace
it with a simple manual page.
https://bugzilla.redhat.com/show_bug.cgi?id=1465665
Rich.
2017 Jul 07
4
[PATCH v6 0/3] gobject: Remove gtk-doc (RHBZ#1465665).
Hopefully this time ...