diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-05-08 11:42:24 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-05-08 11:42:24 +0200 |
commit | 07f8225311f85de5754bb594bf6ee945425dafcc (patch) | |
tree | a2f7d7daedc033e9a32b0a4fb08a29949016741d /aclocal.m4 | |
parent | 532a25e60429f12cb92ef1056f1454815d135322 (diff) | |
download | systemtap-steved-07f8225311f85de5754bb594bf6ee945425dafcc.tar.gz systemtap-steved-07f8225311f85de5754bb594bf6ee945425dafcc.tar.xz systemtap-steved-07f8225311f85de5754bb594bf6ee945425dafcc.zip |
Check whether certutil as provided by nss-tools is installed.
* configure.ac: Add check for certuril, don't build nss stap server when
not found.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.
* doc/SystemTap_Tapset_Reference/Makefile.in: Likewise.
* grapher/Makefile.in: Likewise.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 22 |
1 files changed, 10 insertions, 12 deletions
@@ -87,16 +87,14 @@ fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- 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 +[if test -n "$$1"; then + pkg_cv_[]$1="$$1" + elif test -n "$PKG_CONFIG"; then + PKG_CHECK_EXISTS([$3], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], + [pkg_failed=yes]) + else + pkg_failed=untried fi[]dnl ])# _PKG_CONFIG @@ -140,9 +138,9 @@ See the pkg-config man page for more details.]) if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` else - $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |