Mercurial > hg
changeset 1265:18ef697e706d
Update macros/missing/glib-2.0.m4
Sync with Debian libglib2.0-dev (2.12.12-1) file.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Wed, 04 Jul 2007 18:08:35 +0200 |
parents | 6c5c86345e6a |
children | 3bd496b9a9f7 |
files | mcabber/macros/missing/glib-2.0.m4 |
diffstat | 1 files changed, 3 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/macros/missing/glib-2.0.m4 Wed Jul 04 18:04:46 2007 +0200 +++ b/mcabber/macros/missing/glib-2.0.m4 Wed Jul 04 18:08:35 2007 +0200 @@ -31,20 +31,13 @@ esac done - AC_PATH_PROG(PKG_CONFIG, pkg-config, no) + PKG_PROG_PKG_CONFIG([0.7]) no_glib="" - if test x$PKG_CONFIG != xno ; then - if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then - : - else - echo *** pkg-config too old; version 0.7 or better required. - no_glib=yes - PKG_CONFIG=no - fi - else + if test "x$PKG_CONFIG" = x ; then no_glib=yes + PKG_CONFIG=no fi min_glib_version=ifelse([$1], ,2.0.0,$1)