annotate configure.in @ 7:990fcf466906

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