annotate configure.in @ 8:e0d0593d519e

Sync to GQview 1.5.9 release. ######## DO NOT BASE ENHANCEMENTS OR TRANSLATION UPDATES ON CODE IN THIS CVS! This CVS is never up to date with current development and is provided solely for reference purposes, please use the latest official release package when making any changes or translation updates. ########
author gqview
date Sat, 26 Feb 2005 00:07:07 +0000
parents 990fcf466906
children 6d50eaba8e4b
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)
8
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
2 AC_CONFIG_HEADER(config.h)
7
990fcf466906 really break configure
gqview
parents: 5
diff changeset
3
8
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
4 AM_INIT_AUTOMAKE(gqview, 1.5.9)
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
5
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
6 AM_MAINTAINER_MODE
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
7
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
8 AC_ISC_POSIX
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
9 AC_PROG_CC
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
10 AC_STDC_HEADERS
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
11 AC_ARG_PROGRAM
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
12
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
13 dnl reasonable guesses for where stuff is installed
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
14 if test "x$prefix" = "xNONE"; then
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
15 prefix="/usr/local"
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
16 else
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
17 prefix=$prefix
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
18 fi
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
19
8
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
20 AM_PATH_GTK_2_0(2.4.0,,AC_MSG_ERROR(GTK+ >= 2.4.0 not installed.))
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
21
8
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
22 AC_DEFINE_UNQUOTED(GQVIEW_HELPDIR, "$prefix/share/doc/gqview-$VERSION", [Location of documetation files])
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
23 AC_DEFINE_UNQUOTED(GQVIEW_HTMLDIR, "$prefix/share/doc/gqview-$VERSION/html", [Location of html documentation])
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
24
8
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
25 dnl checks for functions
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
26 AC_CHECK_FUNCS(strverscmp)
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
27
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
28 dnl locale location for po
8
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
29 localedir='${datadir}/locale'
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
30 AC_SUBST(localedir)
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
31
8
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
32 ALL_LINGUAS="ar bg cs da de es et fi fr hu id it ja nl no pl pt_BR ro ru sk sl sv th tr uk vi zh_CN.GB2312 zh_TW"
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
33 GETTEXT_PACKAGE=$PACKAGE
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
34 AC_SUBST(GETTEXT_PACKAGE)
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
35 AM_GLIB_GNU_GETTEXT
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
36
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
37 AC_SUBST(CFLAGS)
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
38 AC_SUBST(CPPFLAGS)
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
39 AC_SUBST(LDFLAGS)
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
40
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
41 AC_OUTPUT([
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
42 Makefile
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
43 src/Makefile
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
44 src/icons/Makefile
8
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
45 po/Makefile.in
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
46 doc/Makefile
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
47 gqview.spec
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
48 ])
8
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
49