Diff of /configure.ac [0799e4] .. [d6e37a] Maximize Restore

  Switch to unified view

a/configure.ac b/configure.ac
...
...
53
  esac
53
  esac
54
fi
54
fi
55
changequote([,])dnl
55
changequote([,])dnl
56
56
57
57
58
GIMP_REQUIRED_VERSION=2.2.0
58
GIMP_REQUIRED_VERSION=2.0.0
59
59
60
PKG_CHECK_MODULES(GIMP,
60
PKG_CHECK_MODULES(GIMP,
61
  gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION)
61
  gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION)
62
62
63
AC_SUBST(GIMP_CFLAGS)
63
AC_SUBST(GIMP_CFLAGS)
64
AC_SUBST(GIMP_LIBS)
64
AC_SUBST(GIMP_LIBS)
65
65
66
GIMP_LIBDIR=`$PKG_CONFIG --variable=gimplibdir gimp-2.0`
66
GIMP_LIBDIR=`$PKG_CONFIG --variable=gimplibdir gimp-2.0`
67
AC_SUBST(GIMP_LIBDIR)
67
AC_SUBST(GIMP_LIBDIR)
68
69
if `$PKG_CONFIG gimp-2.0 --max-version=2.0.6`; then
70
  AC_DEFINE_UNQUOTED(GIMP_2_0, 1, ["defined if GIMP version is less than or equal to 2.0.6"])
71
fi
68
72
69
dnl i18n stuff
73
dnl i18n stuff
70
74
71
GETTEXT_PACKAGE=PanoPlugin
75
GETTEXT_PACKAGE=PanoPlugin
72
AC_SUBST(GETTEXT_PACKAGE)
76
AC_SUBST(GETTEXT_PACKAGE)
...
...
175
    AC_MSG_ERROR([** Couldn't find docbook.xsl in $STYLEBASE/xhtml]))
179
    AC_MSG_ERROR([** Couldn't find docbook.xsl in $STYLEBASE/xhtml]))
176
fi
180
fi
177
fi
181
fi
178
182
179
AC_SUBST(STYLEBASE)
183
AC_SUBST(STYLEBASE)
180
181
AC_MSG_CHECKING([if GTK+ is version 2.7.0 or newer])
182
if $PKG_CONFIG --atleast-version=2.7.0 gtk+-2.0; then
183
  have_gtk_2_7=yes
184
else
185
  have_gtk_2_7=no
186
fi
187
AC_MSG_RESULT($have_gtk_2_7)
188
189
if test "x$have_gtk_2_7" != "xyes"; then
190
  CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
191
fi
192
193
AC_MSG_CHECKING([if GIMP is version 2.3.0 or newer])
194
if $PKG_CONFIG --atleast-version=2.3.0 gimp-2.0; then
195
  have_gimp_2_3=yes
196
else
197
  have_gimp_2_3=no
198
fi
199
AC_MSG_RESULT($have_gimp_2_3)
200
201
if test "x$have_gimp_2_3" != "xyes"; then
202
  CPPFLAGS="$CPPFLAGS -DGIMP_DISABLE_DEPRECATED"
203
fi
204
184
205
AC_CONFIG_FILES([
185
AC_CONFIG_FILES([
206
Makefile
186
Makefile
207
src/Makefile
187
src/Makefile
208
po/Makefile.in
188
po/Makefile.in