annotate configure.in @ 1614:f6c8b76d41ca

Add .desktop files to restore lossless jpeg rotation via editors.
author zas_
date Tue, 26 May 2009 19:41:22 +0000
parents 6bfe8fc7a403
children c0f6a98c9204
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
1 dnl Process this file with autoconf to produce a configure script. -*- Autoconf
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
2 -*-
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
3
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
4 dnl This file is a part of Geeqie project (http://geeqie.sourceforge.net/).
1284
8b89e3ff286b Add year 2009 to copyright info everywhere.
zas_
parents: 1272
diff changeset
5 dnl Copyright (C) 2008 - 2009 The Geeqie Team
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
6 dnl
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
7 dnl This program is free software; you can redistribute it and/or modify
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
8 dnl it under the terms of the GNU General Public License as published by
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
9 dnl the Free Software Foundation; either version 2 of the License, or
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
10 dnl (at your option) any later version.
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
11 dnl
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
12 dnl This program is distributed in the hope that it will be useful,
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
13 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
14 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
15 dnl GNU General Public License for more details.
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
16
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
17 AC_PREREQ(2.57)
1594
3fbec0e63e6b updated version string to beta1
nadvornik
parents: 1454
diff changeset
18 AC_INIT(geeqie, 1.0beta1, geeqie-devel@lists.sourceforge.net)
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
19
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
20 # Check for rightly dirs
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
21 AC_CONFIG_SRCDIR([src/main.c])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
22
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
23 AC_CONFIG_AUX_DIR(auxdir)
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
24 AM_INIT_AUTOMAKE
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
25
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
26 AC_CONFIG_HEADER([config.h])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
27
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
28 # Only for developers
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
29 AM_MAINTAINER_MODE
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
30
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
31 AC_ARG_ENABLE(developer, [
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
32 Development options:
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
33 AC_HELP_STRING([--enable-developer], [turn on developers mode [default=no]])],
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
34 [
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
35 __IS_DEVELOPER=yes
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
36 ],
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
37 [
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
38 if test "x${enable_developer}" != "xyes"
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
39 then
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
40 __IS_DEVELOPER=no
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
41 else
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
42 __IS_DEVELOPER=yes
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
43 fi
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
44 ])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
45
1454
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents: 1386
diff changeset
46 DX_HTML_FEATURE(ON)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents: 1386
diff changeset
47 DX_CHM_FEATURE(OFF)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents: 1386
diff changeset
48 DX_CHI_FEATURE(OFF)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents: 1386
diff changeset
49 DX_MAN_FEATURE(OFF)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents: 1386
diff changeset
50 DX_RTF_FEATURE(OFF)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents: 1386
diff changeset
51 DX_XML_FEATURE(OFF)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents: 1386
diff changeset
52 DX_PDF_FEATURE(OFF)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents: 1386
diff changeset
53 DX_PS_FEATURE(OFF)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents: 1386
diff changeset
54
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents: 1386
diff changeset
55 DX_INIT_DOXYGEN($PACKAGE_NAME, doxygen.conf, doc/doxygen)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents: 1386
diff changeset
56
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
57 # Debug support
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
58 # ----------------------------------------------------------------------
7
990fcf466906 really break configure
gqview
parents: 5
diff changeset
59
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
60 dnl Debugging option
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
61 dnl FIXME: official release convert default to 'no'
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
62 dnl
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
63
925
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
64 AC_ARG_ENABLE([debug-flags], [
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
65 Development options:
925
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
66 AC_HELP_STRING([--enable-debug-flags], [use compiler flags for debugging [default=no]])], [],
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
67 [
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
68 if test "x${enable_developer}" != "xyes"
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
69 then
925
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
70 enable_debug_flags="no"
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
71 else
925
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
72 enable_debug_flags="yes"
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
73 fi
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
74 ])
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
75
925
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
76 AC_ARG_ENABLE([debug-log], [
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
77 Development options:
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
78 AC_HELP_STRING([--enable-debug-log], [enable debugging messages [default=yes]])], [], [enable_debug_log="yes"])
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
79
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
80 if test "x${enable_debug_flags}" != "xno"
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
81 then
746
9cf7d61a2e7f Add -Wstrict-prototypes to gcc options only in developer mode
zas_
parents: 692
diff changeset
82 if test "x${enable_developer}" == "xyes"
9cf7d61a2e7f Add -Wstrict-prototypes to gcc options only in developer mode
zas_
parents: 692
diff changeset
83 then
1262
d66f57063cc3 Move -Wall before -Wno-* options for them to have any effect.
zas_
parents: 1261
diff changeset
84 CXXFLAGS="${CXXFLAGS} -Wall"
d66f57063cc3 Move -Wall before -Wno-* options for them to have any effect.
zas_
parents: 1261
diff changeset
85 CFLAGS="${CFLAGS} -Wstrict-prototypes -Wall"
746
9cf7d61a2e7f Add -Wstrict-prototypes to gcc options only in developer mode
zas_
parents: 692
diff changeset
86 fi
1386
4da6d326919c Add debug versions of path_to_utf8() and path_from_utf8() which allows to report the caller file and line, this is enabled with --enable-debug-flags (and developer mode too).
zas_
parents: 1284
diff changeset
87 __COMMONFLAGS="-g -O0 -Wextra -Wunused-value -Wunused-variable -Wunused-function -Wunused-label -Wcomment -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wstrict-aliasing -Wno-unused-parameter -Wformat -Wformat-security -DGQ_DEBUG_PATH_UTF8=1"
1262
d66f57063cc3 Move -Wall before -Wno-* options for them to have any effect.
zas_
parents: 1261
diff changeset
88 CXXFLAGS="${CXXFLAGS} ${__COMMONFLAGS}"
d66f57063cc3 Move -Wall before -Wno-* options for them to have any effect.
zas_
parents: 1261
diff changeset
89 CFLAGS="${CFLAGS} ${__COMMONFLAGS} -Wimplicit-int -Werror-implicit-function-declaration"
925
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
90 __IS_DEBUG_FLAGS=yes
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
91 else
925
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
92 __IS_DEBUG_FLAGS=no
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
93 fi
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
94
925
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
95 if test "x${enable_debug_log}" != "xno"
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
96 then
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
97 AC_DEFINE(DEBUG,1,[Defined if Geeqie is compiled with debugging messages support])
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
98 __IS_DEBUG_LOG=yes
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
99 else
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
100 __IS_DEBUG_LOG=no
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
101 fi
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
102
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
103 AM_CONDITIONAL(DEBUG, test x$enable_debug_flags = xyes)
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
104
690
a9ba46e466d2 depreceated -> deprecated
zas_
parents: 689
diff changeset
105 AC_ARG_ENABLE(deprecated, [
a9ba46e466d2 depreceated -> deprecated
zas_
parents: 689
diff changeset
106 AC_HELP_STRING([--enable-deprecated], [turn off checking of deprecated functions [default=yes]])], [],
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
107 [
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
108 if test "x${enable_developer}" != "xyes"
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
109 then
690
a9ba46e466d2 depreceated -> deprecated
zas_
parents: 689
diff changeset
110 enable_deprecated="no"
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
111 else
690
a9ba46e466d2 depreceated -> deprecated
zas_
parents: 689
diff changeset
112 enable_deprecated="yes"
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
113 fi
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
114 ])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
115
690
a9ba46e466d2 depreceated -> deprecated
zas_
parents: 689
diff changeset
116 if test "x${enable_deprecated}" != "xno"
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
117 then
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
118 CXXFLAGS="${CXXFLAGS} -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGDK_PIXBUF_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1"
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
119 CFLAGS="${CFLAGS} -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGDK_PIXBUF_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1"
746
9cf7d61a2e7f Add -Wstrict-prototypes to gcc options only in developer mode
zas_
parents: 692
diff changeset
120 __IS_DEPRECATED=yes
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
121 else
746
9cf7d61a2e7f Add -Wstrict-prototypes to gcc options only in developer mode
zas_
parents: 692
diff changeset
122 __IS_DEPRECATED=no
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
123 fi
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
124
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
125
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
126 AC_ISC_POSIX
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
127 AC_PROG_CC
177
0ca3b4c8ffae started exiv2 integration
nadvornik
parents: 124
diff changeset
128 AC_PROG_CXX
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
129 AC_STDC_HEADERS
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
130 AC_ARG_PROGRAM
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
131
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
132 dnl checks for functions
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
133 AC_CHECK_FUNCS(strverscmp access fsync fflush)
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
134
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
135
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
136 # Check target architecture
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
137
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
138 # Check for Win32
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
139 AC_MSG_CHECKING([for some Win32 platform])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
140 case "$target_os" in
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
141 mingw* | cygwin*)
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
142 platform_win32=yes
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
143 AC_DEFINE(PLATFORM_WIN32, 1, [Build on win32 OS])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
144 ;;
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
145 *)
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
146 platform_win32=no
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
147 ;;
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
148 esac
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
149 AC_MSG_RESULT([$platform_win32])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
150 AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes")
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
151
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
152 AC_MSG_CHECKING([for native Win32])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
153 case "$target_os" in
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
154 mingw*)
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
155 os_win32=yes
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
156 AC_DEFINE(OS_WIN32, 1, [Build on native win32 OS])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
157 os_unix=no
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
158 PATHSEP=';'
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
159 ;;
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
160 *)
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
161 os_win32=no
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
162 os_unix=yes
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
163 PATHSEP=':'
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
164 ;;
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
165 esac
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
166 AC_MSG_RESULT([$os_win32])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
167 AC_SUBST(PATHSEP)
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
168 AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes")
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
169 AM_CONDITIONAL(OS_UNIX, test "$os_unix" = "yes")
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
170
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
171 if test "$os_win32" = "yes"; then
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
172 AC_CHECK_PROG(ms_librarian, lib.exe, yes, no)
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
173 AC_CHECK_TOOL(WINDRES, windres, :)
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
174 else
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
175 WINDRES=":"
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
176 fi
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
177
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
178 AM_CONDITIONAL(MS_LIB_AVAILABLE, test x$ms_librarian = xyes)
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
179 AM_CONDITIONAL(HAVE_WINDRES, test "x$WINDRES" != "x:")
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
180 AC_SUBST(WINDRES)
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
181
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
182 dnl reasonable guesses for where stuff is installed
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
183 if test "x$prefix" = "xNONE"; then
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
184 prefix="/usr/local"
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
185 else
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
186 prefix=$prefix
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
187 fi
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
188
1015
2cdcf67e9300 run image loader in separate thread
nadvornik
parents: 1012
diff changeset
189 AM_PATH_GLIB_2_0(2.4.0,,AC_MSG_ERROR(GLIB >= 2.4.0 not installed.))
8
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
190 AM_PATH_GTK_2_0(2.4.0,,AC_MSG_ERROR(GTK+ >= 2.4.0 not installed.))
1015
2cdcf67e9300 run image loader in separate thread
nadvornik
parents: 1012
diff changeset
191
1256
253a6e086a8e fixed gthread detection
nadvornik
parents: 1250
diff changeset
192 threads="auto"
1015
2cdcf67e9300 run image loader in separate thread
nadvornik
parents: 1012
diff changeset
193 AC_ARG_ENABLE([threads],
1256
253a6e086a8e fixed gthread detection
nadvornik
parents: 1250
diff changeset
194 AC_HELP_STRING([--disable-threads], [disable thread support]), [threads="${enableval}"])
253a6e086a8e fixed gthread detection
nadvornik
parents: 1250
diff changeset
195
253a6e086a8e fixed gthread detection
nadvornik
parents: 1250
diff changeset
196 have_gthread="no"
253a6e086a8e fixed gthread detection
nadvornik
parents: 1250
diff changeset
197 if test "x${threads}" != "xno" ; then
1015
2cdcf67e9300 run image loader in separate thread
nadvornik
parents: 1012
diff changeset
198 PKG_CHECK_MODULES(GTHREAD, [gthread-2.0], have_gthread="yes", [AC_MSG_WARN("No thread support in glib")])
2cdcf67e9300 run image loader in separate thread
nadvornik
parents: 1012
diff changeset
199 fi
2cdcf67e9300 run image loader in separate thread
nadvornik
parents: 1012
diff changeset
200
2cdcf67e9300 run image loader in separate thread
nadvornik
parents: 1012
diff changeset
201 if test "x$have_gthread" != "xno"; then
2cdcf67e9300 run image loader in separate thread
nadvornik
parents: 1012
diff changeset
202 AC_DEFINE(HAVE_GTHREAD, 1, Define if you have gthread library)
2cdcf67e9300 run image loader in separate thread
nadvornik
parents: 1012
diff changeset
203 GLIB_CFLAGS="$GTHREAD_CFLAGS"
2cdcf67e9300 run image loader in separate thread
nadvornik
parents: 1012
diff changeset
204 GLIB_LIBS="$GTHREAD_LIBS"
2cdcf67e9300 run image loader in separate thread
nadvornik
parents: 1012
diff changeset
205 fi
2cdcf67e9300 run image loader in separate thread
nadvornik
parents: 1012
diff changeset
206
2cdcf67e9300 run image loader in separate thread
nadvornik
parents: 1012
diff changeset
207
308
6cb3c072be3f ui_icons.h and icons_inline.h depend on gdk-pixbuf-csource,
zas_
parents: 305
diff changeset
208 AC_PATH_PROGS(GDK_PIXBUF_CSOURCE, "gdk-pixbuf-csource")
1012
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents: 939
diff changeset
209 AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
210
484
35991929975d fixed instalation of doc files
nadvornik
parents: 465
diff changeset
211 AC_ARG_WITH(readmedir, [ --with-readmedir=DIR install path for readme files],
35991929975d fixed instalation of doc files
nadvornik
parents: 465
diff changeset
212 readmedir=$withval, readmedir="$prefix/share/doc/geeqie-$VERSION")
35991929975d fixed instalation of doc files
nadvornik
parents: 465
diff changeset
213 AC_ARG_WITH(htmldir, [ --with-htmldir=DIR install path for html files],
35991929975d fixed instalation of doc files
nadvornik
parents: 465
diff changeset
214 htmldir=$withval, htmldir="$readmedir/html")
35991929975d fixed instalation of doc files
nadvornik
parents: 465
diff changeset
215
35991929975d fixed instalation of doc files
nadvornik
parents: 465
diff changeset
216 AC_DEFINE_UNQUOTED(GQ_HELPDIR, "$readmedir", [Location of documentation files])
35991929975d fixed instalation of doc files
nadvornik
parents: 465
diff changeset
217 AC_DEFINE_UNQUOTED(GQ_HTMLDIR, "$htmldir", [Location of html documentation])
35991929975d fixed instalation of doc files
nadvornik
parents: 465
diff changeset
218
35991929975d fixed instalation of doc files
nadvornik
parents: 465
diff changeset
219 AC_SUBST(readmedir)
35991929975d fixed instalation of doc files
nadvornik
parents: 465
diff changeset
220 AC_SUBST(htmldir)
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
221
1272
e0e12512cde2 read external editors from .desktop files
nadvornik
parents: 1270
diff changeset
222 eval "eval appdir=${datadir}/${PACKAGE}"
e0e12512cde2 read external editors from .desktop files
nadvornik
parents: 1270
diff changeset
223 AC_DEFINE_UNQUOTED([GQ_APP_DIR], "$appdir", [Location of application data])
e0e12512cde2 read external editors from .desktop files
nadvornik
parents: 1270
diff changeset
224
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
225 # LIRC support
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
226 # ----------------------------------------------------------------------
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
227
528
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
228 dnl Check for LIRC client support
750
5329797d8ff1 Fix display of libpthread detection.
zas_
parents: 746
diff changeset
229 AC_MSG_CHECKING(if LIRC support is enabled)
5329797d8ff1 Fix display of libpthread detection.
zas_
parents: 746
diff changeset
230 lirc=no
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
231 AC_ARG_ENABLE([lirc],
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
232 AC_HELP_STRING([--disable-lirc], [disable lirc support (auto)]),
528
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
233 [
750
5329797d8ff1 Fix display of libpthread detection.
zas_
parents: 746
diff changeset
234 if test "x${enableval}" = "xyes" -a "x$GCC" = "xyes"; then
528
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
235 AC_MSG_RESULT(yes)
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
236 lirc=yes
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
237 else
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
238 AC_MSG_RESULT(no)
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
239 lirc=no
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
240 fi], AC_MSG_RESULT(no))
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
241
528
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
242
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
243 AC_ARG_WITH(lirc-prefix,
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
244 [ --with-lirc-prefix=PATH Prefix where LIRC is installed],
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
245 [
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
246 for dir in `echo "$withval" | tr : ' '`; do
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
247 if test -d $dir/lib; then CXXFLAGS="$CXXFLAGS -L$dir/lib"; fi
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
248 if test -d $dir/include; then CXXFLAGS="$CXXFLAGS -I$dir/include"; fi
528
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
249 done
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
250 ])
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
251
798
5055b5b0d75d Display Lirc state in config log.
zas_
parents: 750
diff changeset
252 HAVE_LIRC=no
750
5329797d8ff1 Fix display of libpthread detection.
zas_
parents: 746
diff changeset
253 if test "x${lirc}" != "xno" ; then
528
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
254 AC_CHECK_HEADER(lirc/lirc_client.h,
798
5055b5b0d75d Display Lirc state in config log.
zas_
parents: 750
diff changeset
255 [AC_CHECK_LIB(lirc_client,lirc_init,[HAVE_LIRC=yes;LIBS=-llirc_client $LIBS;AC_DEFINE([HAVE_LIRC],[],[Define to 1 if LIRC must be used])],,)],)
528
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
256 fi
798
5055b5b0d75d Display Lirc state in config log.
zas_
parents: 750
diff changeset
257 AM_CONDITIONAL(HAVE_LIRC, [test "x$HAVE_LIRC" = xyes])
528
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 487
diff changeset
258
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
259
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
260 # LCMS support
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
261 # ----------------------------------------------------------------------
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
262
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
263 AC_ARG_ENABLE([lcms],
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
264 AC_HELP_STRING([--disable-lcms], [disable lcms support]),
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
265 [liblcms=$enableval], [liblcms=auto])
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 99
diff changeset
266
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
267 if test "x${liblcms}" != "xno"; then
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
268 PKG_CHECK_MODULES(LCMS, [lcms >= 1.14],
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
269 [
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
270 HAVE_LCMS=yes
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
271 AC_DEFINE(HAVE_LCMS, 1, [define to enable use of color profiles with lcms])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
272 ],
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
273 [
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
274 HAVE_LCMS=no
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
275 AC_MSG_WARN([$LCMS_PKG_ERRORS])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
276 ])
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 99
diff changeset
277 else
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
278 HAVE_LCMS=disabled
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 99
diff changeset
279 fi
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
280
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
281 AM_CONDITIONAL(HAVE_LCMS, [test "x$HAVE_LCMS" = xyes])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
282 AC_SUBST(LCMS_CFLAGS)
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 99
diff changeset
283 AC_SUBST(LCMS_LIBS)
192
d324b284e183 configure --without-exiv2
nadvornik
parents: 177
diff changeset
284
d324b284e183 configure --without-exiv2
nadvornik
parents: 177
diff changeset
285
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
286 # Exiv2 support
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
287 # ----------------------------------------------------------------------
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
288
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
289 AC_ARG_ENABLE([exiv2],
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
290 AC_HELP_STRING([--disable-exiv2], [disable exiv2 support]),
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
291 [libexiv2=$enableval], [libexiv2=auto])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
292
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
293 if test "x${libexiv2}" != "xno"; then
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
294 PKG_CHECK_MODULES(EXIV2, [exiv2 >= 0.11],
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
295 [
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
296 HAVE_EXIV2=yes
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
297 AC_DEFINE(HAVE_EXIV2, 1, [define to enable exiv2 support])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
298 ],
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
299 [
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
300 HAVE_EXIV2=no
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
301 AC_MSG_WARN([$EXIV2_PKG_ERRORS])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
302 ])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
303 else
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
304 HAVE_EXIV2=disabled
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
305 fi
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
306
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
307 AM_CONDITIONAL(HAVE_EXIV2, [test "x$HAVE_EXIV2" = xyes])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
308 AC_SUBST(EXIV2_CFLAGS)
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
309 AC_SUBST(EXIV2_LIBS)
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
310
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
311
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
312 # Gettext support
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
313 # ----------------------------------------------------------------------
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
314
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
315 dnl Set of available languages
1270
13e96406760b switched to po/LINGUAS, see http://live.gnome.org/GnomeGoals/PoLinguas
nadvornik
parents: 1262
diff changeset
316 ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
13e96406760b switched to po/LINGUAS, see http://live.gnome.org/GnomeGoals/PoLinguas
nadvornik
parents: 1262
diff changeset
317 AC_SUBST([CONFIG_STATUS_DEPENDENCIES],['$(top_srcdir)/po/LINGUAS'])
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
318
8
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
319 GETTEXT_PACKAGE=$PACKAGE
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
320 AC_SUBST(GETTEXT_PACKAGE)
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
321 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["${GETTEXT_PACKAGE}"],[Name of gettext file])
8
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
322 AM_GLIB_GNU_GETTEXT
283
e213fb025621 GQVIEW_* -> GQ_*
zas_
parents: 276
diff changeset
323 AM_GLIB_DEFINE_LOCALEDIR(GQ_LOCALEDIR)
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
324
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
325 AC_SUBST(CFLAGS)
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
326 AC_SUBST(CXXFLAGS)
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
327 AC_SUBST(CPPFLAGS)
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
328 AC_SUBST(LDFLAGS)
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
329
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
330
1602
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
331 # Libchamplain support - used for GPS map facility - experimental
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
332 # ----------------------------------------------------------------------
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
333
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
334 AC_ARG_ENABLE([gps],
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
335 AC_HELP_STRING([--enable-gps], [enable GPS map support - experimental]),
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
336 [libgps=$enableval], [libgps=auto])
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
337
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
338 if test "x${libgps}" == "xyes"; then
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
339 PKG_CHECK_MODULES(LIBCHAMPLAIN, [champlain-0.3 >= 0.3],
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
340 [
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
341 HAVE_LIBCHAMPLAIN=yes
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
342 AC_DEFINE(HAVE_LIBCHAMPLAIN, 1, [define to enable use of GPS maps])
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
343 ],
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
344 [
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
345 HAVE_LIBCHAMPLAIN=no
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
346 AC_MSG_WARN([$LIBCHAMPLAIN_PKG_ERRORS])
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
347 ])
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
348 else
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
349 HAVE_LIBCHAMPLAIN=disabled
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
350 fi
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
351
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
352 if test "x${libgps}" == "xyes"; then
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
353 PKG_CHECK_MODULES(LIBCHAMPLAIN_GTK, [champlain-gtk-0.3 >= 0.3],
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
354 [
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
355 HAVE_LIBCHAMPLAIN_GTK=yes
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
356 AC_DEFINE(HAVE_LIBCHAMPLAIN_GTK, 1, [define to enable use of GPS maps])
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
357 ],
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
358 [
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
359 HAVE_LIBCHAMPLAIN_GTK=no
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
360 AC_MSG_WARN([$LIBCHAMPLAIN_GTK_PKG_ERRORS])
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
361 ])
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
362 else
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
363 HAVE_LIBCHAMPLAIN_GTK=disabled
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
364 fi
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
365
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
366 AM_CONDITIONAL(HAVE_LIBCHAMPLAIN_GTK, [test "x$HAVE_LIBCHAMPLAIN_GTK" = xyes])
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
367 AC_SUBST(LIBCHAMPLAIN_GTK_CFLAGS)
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
368 AC_SUBST(LIBCHAMPLAIN_GTK_LIBS)
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
369
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
370 AH_TOP([
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
371 /** @file config.h
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
372 * autogenerated definition by autoheader.
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
373 * @author Bruclik
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
374 */
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
375
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
376 /*
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
377 * This file is a part of Geeqie project (http://geeqie.sourceforge.net/).
1284
8b89e3ff286b Add year 2009 to copyright info everywhere.
zas_
parents: 1272
diff changeset
378 * Copyright (C) 2008 - 2009 The Geeqie Team
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
379 *
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
380 * This program is free software; you can redistribute it and/or modify
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
381 * it under the terms of the GNU General Public License as published by
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
382 * the Free Software Foundation; either version 2 of the License, or
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
383 * (at your option) any later version.
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
384 *
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
385 * This program is distributed in the hope that it will be useful,
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
386 * but WITHOUT ANY WARRANTY; without even the implied warranty of
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
387 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
388 * GNU General Public License for more details.
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
389 */
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
390
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
391 #ifndef _INCLUDE_CONFIG_H
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
392 #define _INCLUDE_CONFIG_H
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
393 ])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
394
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
395 AH_BOTTOM([#endif])
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
396
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
397 dnl Write the output
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
398 dnl
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
399
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
400 AC_CONFIG_FILES([
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
401 Makefile
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
402 src/Makefile
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
403 src/icons/Makefile
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
404 src/icons/svg/Makefile
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
405 po/Makefile.in
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
406 doc/Makefile
1272
e0e12512cde2 read external editors from .desktop files
nadvornik
parents: 1270
diff changeset
407 plugins/Makefile
e0e12512cde2 read external editors from .desktop files
nadvornik
parents: 1270
diff changeset
408 plugins/symlink/Makefile
1614
f6c8b76d41ca Add .desktop files to restore lossless jpeg rotation via editors.
zas_
parents: 1602
diff changeset
409 plugins/rotate/Makefile
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
410 geeqie.spec
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
411 ])
8
e0d0593d519e Sync to GQview 1.5.9 release.
gqview
parents: 7
diff changeset
412
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
413 AC_OUTPUT
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
414 dnl Print the results
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
415 dnl
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
416
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
417 cat > config.report << END
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
418
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
419 Config results:
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
420 -=-=-=-=-=-=-=-=-
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
421
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
422 Package:
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
423 Name: $PACKAGE_NAME
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
424 Version: $PACKAGE_VERSION
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
425 Patch version: $GQ_PATCH_VERSION
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
426 Date: $GQ_PATCH_DATE
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
427
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
428 Architecture:
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
429 UNIX: $os_unix
689
972ecb45181c Typo fixes.
zas_
parents: 686
diff changeset
430 Win32: $platform_win32 (native: $os_win32)
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
431
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
432 Flags:
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
433 Geeqie: $GQ_CFLAGS
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
434 DEFS: $DEFS
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
435 CPPFLAGS: $__CPPFLAGS
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
436 CFLAGS: $CFLAGS
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
437 CXXFLAGS: $CXXFLAGS
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
438 Gtk: $GTK_CFLAGS
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
439 Glib: $GLIB_CFLAGS
1015
2cdcf67e9300 run image loader in separate thread
nadvornik
parents: 1012
diff changeset
440 Thread: $GTHREAD_LIBS
1602
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
441 Others: $LCMS_LIBS $EXIV2_LIBS $LIBCHAMPLAIN_LIBS $LIBCHAMPLAIN_GTK_LIBS
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
442
798
5055b5b0d75d Display Lirc state in config log.
zas_
parents: 750
diff changeset
443 Localization:
5055b5b0d75d Display Lirc state in config log.
zas_
parents: 750
diff changeset
444 NLS support: $USE_NLS
5055b5b0d75d Display Lirc state in config log.
zas_
parents: 750
diff changeset
445 LINGUAS: $LINGUAS
5055b5b0d75d Display Lirc state in config log.
zas_
parents: 750
diff changeset
446
5055b5b0d75d Display Lirc state in config log.
zas_
parents: 750
diff changeset
447 Settings:
5055b5b0d75d Display Lirc state in config log.
zas_
parents: 750
diff changeset
448 Developer: $__IS_DEVELOPER
925
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
449 Debug flags: $__IS_DEBUG_FLAGS
373c370887bb separated debugging log and debug CFLAGS
nadvornik
parents: 798
diff changeset
450 Debug log: $__IS_DEBUG_LOG
798
5055b5b0d75d Display Lirc state in config log.
zas_
parents: 750
diff changeset
451 Deprecated: $__IS_DEPRECATED
5055b5b0d75d Display Lirc state in config log.
zas_
parents: 750
diff changeset
452
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
453 Support:
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
454 LCMS: $HAVE_LCMS
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
455 Exiv2: $HAVE_EXIV2
798
5055b5b0d75d Display Lirc state in config log.
zas_
parents: 750
diff changeset
456 Lirc: $HAVE_LIRC
1602
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
457 Libchamplain: $HAVE_LIBCHAMPLAIN
6bfe8fc7a403 added GPS map support - patch by Colin Clark
nadvornik
parents: 1594
diff changeset
458 Libchamplain-gtk: $HAVE_LIBCHAMPLAIN_GTK
686
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
459
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
460 Documentation:
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
461 Doxygen: $DOXYGEN
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
462 Formats: $doxy_formats_report
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
463 END
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
464
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
465 cat config.report
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
466 cat <<EOF
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
467
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
468 Now you can type "make" to build Geeqie
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
469 (or you take blue pill and the story ends :)
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
470
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
471 EOF
c0dda0ffb931 configure.in was rewritten:
bruclik
parents: 528
diff changeset
472