really break configure
[geeqie.git] / configure.in
1 AC_INIT(src/main.c)
2 AM_CONFIG_HEADER(config.h)
3
4 AM_INIT_AUTOMAKE(gqview, 0.8.1)
5
6 dnl note to CVS users:
7 CONFIGURE_IS_BROKEN_ON_PURPOSE( blah blah break me)
8 dnl reason: This CVS is not used for GQview development, it was a test setup only.
9 dnl         (If CVS goes public, it will be here, though)
10
11
12 AM_MAINTAINER_MODE
13
14 AC_ISC_POSIX
15 AC_PROG_CC
16 AC_STDC_HEADERS
17 AC_ARG_PROGRAM
18
19 dnl reasonable guesses for where stuff is installed
20 if test "x$prefix" = "xNONE"; then
21   prefix="/usr/local"
22 else
23   prefix=$prefix
24 fi
25
26 AM_PATH_GTK(1.2.0,,AC_MSG_ERROR(GTK+ >= 1.2.0 not installed.))
27 AM_PATH_GDK_IMLIB(1.9,,AC_MSG_ERROR(Imlib >= 1.9 not installed.))
28
29 dnl CHECK_GNOME
30   AC_PATH_PROG(GNOME_CONFIG,gnome-config,no)
31   AM_CONDITIONAL(HAVE_GNOME, test $GNOME_CONFIG != no)
32   if test "$GNOME_CONFIG" = no; then
33     AC_MSG_RESULT(GNOME icon and menu entry will NOT be installed)
34   else
35     AC_MSG_RESULT(will install a GNOME icon and menu entry)
36     AC_SUBST(GNOME_DATADIR)
37     GNOME_DATADIR="`$GNOME_CONFIG --datadir`"
38   fi
39
40 dnl utility conditional
41 AM_CONDITIONAL(FALSE, test "x" = "y")
42
43 dnl locale location for po
44 localedir='${prefix}/share/locale'
45 AC_SUBST(localedir)
46
47 ALL_LINGUAS="de es fr ja pt_BR ru sk tr zh_TW.Big5"
48 AM_GNU_GETTEXT
49
50 AC_SUBST(CFLAGS)
51 AC_SUBST(CPPFLAGS)
52 AC_SUBST(LDFLAGS)
53
54 AC_OUTPUT([
55 Makefile
56 gqview.spec
57 intl/Makefile
58 po/Makefile.in
59 src/Makefile
60 src/icons/Makefile
61 ])