ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/aclocal.m4
Revision: 1.11
Committed: Mon Jan 2 17:16:42 2023 UTC (16 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 dnl maybe import pkg.m4 and use PKG_CHECK_MODULES in place of this macro
2 AC_DEFUN([RXVT_CHECK_MODULES],
3 [
4 AC_MSG_CHECKING([for $2 (using pkg-config)])
5 if test $PKG_CONFIG != no && $PKG_CONFIG --exists $2; then
6 $1[]_CFLAGS="`$PKG_CONFIG --cflags $2`"
7 $1[]_LIBS="`$PKG_CONFIG --libs $2`"
8
9 AC_MSG_RESULT(ok)
10 $3
11 else
12 AC_MSG_RESULT(no)
13 $4
14 fi
15 ])