From: Arch Librarian Date: Thu, 14 Jul 2005 13:06:03 +0000 (+0000) Subject: * pkg.m4: Correct quoting brackets to correctly split t... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edfd0d3f777b051f112b080c068f0a23221f7219;p=pkg-config * 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. --- diff --git a/ChangeLog b/ChangeLog index 0d389eb..6e753fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-07-06 Scott James Remnant + + * pkg.m4: Correct quoting brackets to correctly split the words. + 2004-06-08 Scott James Remnant * README: Change gnome.org reference to freedesktop.org diff --git a/pkg.m4 b/pkg.m4 index 557deb4..b04c64b 100644 --- a/pkg.m4 +++ b/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"`