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, 2 weeks ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 sf-exg 1.8 dnl maybe import pkg.m4 and use PKG_CHECK_MODULES in place of this macro
2     AC_DEFUN([RXVT_CHECK_MODULES],
3     [
4 root 1.11 AC_MSG_CHECKING([for $2 (using pkg-config)])
5 sf-exg 1.8 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     ])