archrelease: copy trunk to extra-x86_64
[arch-packages.git] / gdome2 / trunk / 03no_glib_1.patch
blob2e809d36c24c0228d9461363563ec5db8acf7bb1
1 From: <hesso@pool.math.tu-berlin.de>
2 Subject: Comment out the paragraph for glib-1
3 It is no longer needed and AM_PATH_GLIB is not available unless we
4 also depend on the old glib.
6 --- gdome2-0.8.1+debian.orig/configure.in
7 +++ gdome2-0.8.1+debian/configure.in
8 @@ -63,18 +63,18 @@
9 GLIB_1=yes
12 -if test "x$GLIB_1" = "xyes"
13 -then
14 - PKG_CHECK_MODULES(GLIB, glib)
15 - GLIB_REQUIRED="glib"
16 - GLIB_MIN_VERSION=1.2.10
17 - AM_PATH_GLIB($GLIB_MIN_VERSION,,AC_MSG_ERROR(Could not find GLIB (see config.log for details).))
18 -else
19 +#if test "x$GLIB_1" = "xyes"
20 +#then
21 +# PKG_CHECK_MODULES(GLIB, glib)
22 +# GLIB_REQUIRED="glib"
23 +# GLIB_MIN_VERSION=1.2.10
24 +# AM_PATH_GLIB($GLIB_MIN_VERSION,,AC_MSG_ERROR(Could not find GLIB (see config.log for details).))
25 +#else
26 PKG_CHECK_MODULES(GLIB, glib-2.0)
27 GLIB_REQUIRED="glib-2.0"
28 GLIB_MIN_VERSION=2.2.0
29 AM_PATH_GLIB_2_0($GLIB_MIN_VERSION,,AC_MSG_ERROR(Could not find GLIB (see config.log for details).))
30 -fi
31 +#fi
32 AC_SUBST(GLIB_MIN_VERSION)
33 AC_SUBST(GLIB_LIBS)
34 AC_SUBST(GLIB_REQUIRED)