ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/aclocal.m4
Revision: 1.9
Committed: Fri Jul 23 19:18:51 2021 UTC (2 years, 10 months ago) by sf-exg
Branch: MAIN
CVS Tags: rxvt-unicode-rel-9_29, rxvt-unicode-rel-9_30
Changes since 1.8: +0 -2 lines
Log Message:
Unbundle libptytty

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)
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 ])