Broke the configure script on purpose,
[geeqie.git] / configure.in
1 AC_INIT(src/main.c)
2 AM_CONFIG_HEADER(config.h)
3
4 dnl note to CVS users:
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)
8
9 AM_INIT_AUTOMAKE(gqview, 0.8.1)
10
11 AM_MAINTAINER_MODE
12
13 AC_ISC_POSIX
14 AC_PROG_CC
15 AC_STDC_HEADERS
16 AC_ARG_PROGRAM
17
18 dnl reasonable guesses for where stuff is installed
19 if test "x$prefix" = "xNONE"; then
20   prefix="/usr/local"
21 else
22   prefix=$prefix
23 fi
24
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.))
27
28 dnl CHECK_GNOME
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)
33   else
34     AC_MSG_RESULT(will install a GNOME icon and menu entry)
35     AC_SUBST(GNOME_DATADIR)
36     GNOME_DATADIR="`$GNOME_CONFIG --datadir`"
37   fi
38
39 dnl utility conditional
40 AM_CONDITIONAL(FALSE, test "x" = "y")
41
42 dnl locale location for po
43 localedir='${prefix}/share/locale'
44 AC_SUBST(localedir)
45
46 ALL_LINGUAS="de es fr ja pt_BR ru sk tr zh_TW.Big5"
47 AM_GNU_GETTEXT
48
49 AC_SUBST(CFLAGS)
50 AC_SUBST(CPPFLAGS)
51 AC_SUBST(LDFLAGS)
52
53 AC_OUTPUT([
54 Makefile
55 gqview.spec
56 intl/Makefile
57 po/Makefile.in
58 src/Makefile
59 src/icons/Makefile
60 ])