~ubuntu-branches/ubuntu/gutsy/irssi/gutsy-backports

« back to all changes in this revision

Viewing changes to glib-2.0.m4

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2007-11-19 10:49:04 UTC
  • mfrom: (6.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20071119104904-kzu9r9h7cq8as4ri
Tags: 0.8.12-2ubuntu1~gutsy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
      esac
32
32
  done
33
33
 
34
 
  AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
 
34
  PKG_PROG_PKG_CONFIG([0.7])
35
35
 
36
36
  no_glib=""
37
37
 
38
 
  if test x$PKG_CONFIG != xno ; then
39
 
    if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
40
 
      :
41
 
    else
42
 
      echo *** pkg-config too old; version 0.7 or better required.
43
 
      no_glib=yes
44
 
      PKG_CONFIG=no
45
 
    fi
46
 
  else
 
38
  if test "x$PKG_CONFIG" = x ; then
47
39
    no_glib=yes
 
40
    PKG_CONFIG=no
48
41
  fi
49
42
 
50
43
  min_glib_version=ifelse([$1], ,2.0.0,$1)