mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-02-04 04:50:32 +01:00
Look at XXX_CFLAGS and XXX_LIBS again
2005-09-21 Tollef Fog Heen <tfheen@err.no> * pkg.m4: Apply patch from Roberto Huelga to look at XXX_CFLAGS and XXX_LIBS which got lost somewhere.
This commit is contained in:
parent
d074ab9973
commit
3fd0e37e65
2 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2005-09-21 Tollef Fog Heen <tfheen@err.no>
|
||||
|
||||
* pkg.m4: Apply patch from Roberto Huelga to look at XXX_CFLAGS
|
||||
and XXX_LIBS which got lost somewhere.
|
||||
|
||||
2005-08-27 Tollef Fog Heen <tfheen@err.no>
|
||||
|
||||
* Makefile.am (AM_CFLAGS): Add default CFLAGS
|
||||
|
|
|
|||
4
pkg.m4
4
pkg.m4
|
|
@ -67,9 +67,13 @@ fi])
|
|||
# ---------------------------------------------
|
||||
m4_define([_PKG_CONFIG],
|
||||
[if test -n "$PKG_CONFIG"; then
|
||||
if test -n "$$1"; then
|
||||
pkg_cv_[]$1="$$1"
|
||||
else
|
||||
PKG_CHECK_EXISTS([$3],
|
||||
[pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
|
||||
[pkg_failed=yes])
|
||||
fi
|
||||
else
|
||||
pkg_failed=untried
|
||||
fi[]dnl
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue