mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-15 22:48:09 +02:00
* pkg.m4: Correct quoting brackets to correctly split t...
Author: keybuk Date: 2004-07-06 17:31:17 GMT * pkg.m4: Correct quoting brackets to correctly split the words.
This commit is contained in:
parent
92170d7ef4
commit
edfd0d3f77
2 changed files with 10 additions and 6 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2004-07-06 Scott James Remnant <scott@netsplit.com>
|
||||
|
||||
* pkg.m4: Correct quoting brackets to correctly split the words.
|
||||
|
||||
2004-06-08 Scott James Remnant <scott@netsplit.com>
|
||||
|
||||
* README: Change gnome.org reference to freedesktop.org
|
||||
|
|
|
|||
12
pkg.m4
12
pkg.m4
|
|
@ -64,14 +64,14 @@ fi[]dnl
|
|||
# --------------------------------------------------------------
|
||||
AC_DEFUN([PKG_CHECK_MODULES],
|
||||
[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
|
||||
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_CACHE_CHECK([for $1[]_CFLAGS], [pkg_cv_[]$1[]_CFLAGS],
|
||||
[_PKG_CONFIG([$1[]_CFLAGS], [cflags], [[$2]])])
|
||||
AC_CACHE_CHECK([for $1[]_LIBS], [pkg_cv_[]$1[]_LIBS],
|
||||
[_PKG_CONFIG([$1[]_LIBS], [libs], [[$2]])])
|
||||
AC_CACHE_CHECK([for $1][_CFLAGS], [pkg_cv_][$1][_CFLAGS],
|
||||
[_PKG_CONFIG([$1][_CFLAGS], [cflags], [[$2]])])
|
||||
AC_CACHE_CHECK([for $1][_LIBS], [pkg_cv_][$1][_LIBS],
|
||||
[_PKG_CONFIG([$1][_LIBS], [libs], [[$2]])])
|
||||
|
||||
if test $pkg_failed = yes; then
|
||||
$1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue