2 AM_CONFIG_HEADER(config.h)
5 CONFIGURE_IS_BROKEN_ON_PURPOSE()
6 dnl reason: This CVS is not used for GQview development, it was a test setup only.
7 dnl (If CVS goes public, it will be here, though)
9 AM_INIT_AUTOMAKE(gqview, 0.8.1)
18 dnl reasonable guesses for where stuff is installed
19 if test "x$prefix" = "xNONE"; then
25 AM_PATH_GTK(1.2.0,,AC_MSG_ERROR(GTK+ >= 1.2.0 not installed.))
26 AM_PATH_GDK_IMLIB(1.9,,AC_MSG_ERROR(Imlib >= 1.9 not installed.))
29 AC_PATH_PROG(GNOME_CONFIG,gnome-config,no)
30 AM_CONDITIONAL(HAVE_GNOME, test $GNOME_CONFIG != no)
31 if test "$GNOME_CONFIG" = no; then
32 AC_MSG_RESULT(GNOME icon and menu entry will NOT be installed)
34 AC_MSG_RESULT(will install a GNOME icon and menu entry)
35 AC_SUBST(GNOME_DATADIR)
36 GNOME_DATADIR="`$GNOME_CONFIG --datadir`"
39 dnl utility conditional
40 AM_CONDITIONAL(FALSE, test "x" = "y")
42 dnl locale location for po
43 localedir='${prefix}/share/locale'
46 ALL_LINGUAS="de es fr ja pt_BR ru sk tr zh_TW.Big5"