~ubuntu-branches/ubuntu/oneiric/irssi/oneiric

« back to all changes in this revision

Viewing changes to glib-2.0.m4

  • Committer: Bazaar Package Importer
  • Author(s): Christian Bjälevik
  • Date: 2007-04-28 02:52:01 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070428025201-2c4swxnpn4wr7fpg
Tags: 0.8.11-0ubuntu1
* New upstream release:
  - http://www.irssi.org/news/ChangeLog
* debian/{control,compat}:
  - Bump Standards.
* debian/patches/00list:
  - Disable 05upgrade-check-binary.patch, applied upstream.
  - Disable 08doublefree.patch, applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject or 
6
6
dnl gthread is specified in MODULES, pass to pkg-config
7
7
dnl
8
 
AC_DEFUN(AM_PATH_GLIB_2_0,
 
8
AC_DEFUN([AM_PATH_GLIB_2_0],
9
9
[dnl 
10
10
dnl Get the cflags and libraries from pkg-config
11
11
dnl
19
19
         gmodule) 
20
20
             pkg_config_args="$pkg_config_args gmodule-2.0"
21
21
         ;;
 
22
         gmodule-no-export) 
 
23
             pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
 
24
         ;;
22
25
         gobject) 
23
26
             pkg_config_args="$pkg_config_args gobject-2.0"
24
27
         ;;
173
176
        :
174
177
       else
175
178
          echo "*** Could not run GLIB test program, checking why..."
 
179
          ac_save_CFLAGS="$CFLAGS"
 
180
          ac_save_LIBS="$LIBS"
176
181
          CFLAGS="$CFLAGS $GLIB_CFLAGS"
177
182
          LIBS="$LIBS $GLIB_LIBS"
178
183
          AC_TRY_LINK([
189
194
          echo "*** If you have an old version installed, it is best to remove it, although"
190
195
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
191
196
        [ echo "*** The test program failed to compile or link. See the file config.log for the"
192
 
          echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
193
 
          echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
194
 
          echo "*** may want to edit the pkg-config script: $PKG_CONFIG" ])
 
197
          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."])
195
198
          CFLAGS="$ac_save_CFLAGS"
196
199
          LIBS="$ac_save_LIBS"
197
200
       fi