2 AC_CONFIG_HEADER(config.h)
4 AM_INIT_AUTOMAKE(gqview, 1.5.9)
13 dnl reasonable guesses for where stuff is installed
14 if test "x$prefix" = "xNONE"; then
20 AM_PATH_GTK_2_0(2.4.0,,AC_MSG_ERROR(GTK+ >= 2.4.0 not installed.))
22 AC_DEFINE_UNQUOTED(GQVIEW_HELPDIR, "$prefix/share/doc/gqview-$VERSION", [Location of documetation files])
23 AC_DEFINE_UNQUOTED(GQVIEW_HTMLDIR, "$prefix/share/doc/gqview-$VERSION/html", [Location of html documentation])
25 dnl checks for functions
26 AC_CHECK_FUNCS(strverscmp)
28 dnl locale location for po
29 localedir='${datadir}/locale'
32 ALL_LINGUAS="ar bg cs da de es et fi fr hu id it ja nl no pl pt_BR ro ru sk sl sv th tr uk vi zh_CN.GB2312 zh_TW"
33 GETTEXT_PACKAGE=$PACKAGE
34 AC_SUBST(GETTEXT_PACKAGE)