2 AM_CONFIG_HEADER(config.h)
4 AM_INIT_AUTOMAKE(gqview, 0.8.1)
13 dnl reasonable guesses for where stuff is installed
14 if test "x$prefix" = "xNONE"; then
20 AM_PATH_GTK(1.2.0,,AC_MSG_ERROR(GTK+ >= 1.2.0 not installed.))
21 AM_PATH_GDK_IMLIB(1.9,,AC_MSG_ERROR(Imlib >= 1.9 not installed.))
24 AC_PATH_PROG(GNOME_CONFIG,gnome-config,no)
25 AM_CONDITIONAL(HAVE_GNOME, test $GNOME_CONFIG != no)
26 if test "$GNOME_CONFIG" = no; then
27 AC_MSG_RESULT(GNOME icon and menu entry will NOT be installed)
29 AC_MSG_RESULT(will install a GNOME icon and menu entry)
30 AC_SUBST(GNOME_DATADIR)
31 GNOME_DATADIR="`$GNOME_CONFIG --datadir`"
34 dnl utility conditional
35 AM_CONDITIONAL(FALSE, test "x" = "y")
37 dnl locale location for po
38 localedir='${prefix}/share/locale'
41 ALL_LINGUAS="de es fr ja pt_BR ru sk tr zh_TW.Big5"