]> git.street.me.uk Git - andy/viking.git/blame - configure.ac
Improve potential statusbar message of a selected trackpoint.
[andy/viking.git] / configure.ac
CommitLineData
9903c388
EB
1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
e817bcf6 4AC_PREREQ(2.64)
b1f2d51f 5AC_INIT(viking, 1.5, , viking, http://viking.sf.net/)
5b65af92 6AM_INIT_AUTOMAKE([dist-bzip2 dist-zip subdir-objects])
9903c388 7dnl AC_CONFIG_SRCDIR([src/main.c])
8fe95819 8AC_CONFIG_HEADERS([src/config.h])
e5c58469 9GTK_DOC_CHECK(1.0)
9903c388 10
d605e023 11AC_PROG_CC
dbebd375 12AC_PROG_CC_STDC
9903c388 13# Checks for programs.
9903c388 14AC_PROG_MAKE_SET
b6e6dfbd 15AC_PROG_RANLIB
8f661d80 16AC_PATH_PROG(GLIB_MKENUMS, glib-mkenums)
9903c388 17
a5daec1c
GB
18# I18N
19GETTEXT_PACKAGE=viking
20AC_SUBST(GETTEXT_PACKAGE)
21AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Gettext package name])
22
23AM_GLIB_DEFINE_LOCALEDIR(LOCALEDIR)
24
316407e2
GB
25AM_GNU_GETTEXT_VERSION([0.17])
26AM_GNU_GETTEXT([external])
27
d44b1562 28IT_PROG_INTLTOOL([0.35.0])
a5daec1c
GB
29
30AC_SUBST([CONFIG_STATUS_DEPENDENCIES],['$(top_srcdir)/po/LINGUAS'])
31
32dnl This will cause the automake generated makefiles to pass the
33dnl correct flags to aclocal.
34ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
35AC_SUBST(ACLOCAL_AMFLAGS)
36
9903c388
EB
37# Checks for header files.
38AC_HEADER_STDC
db7fa5f6 39AC_CHECK_HEADERS([malloc.h stdlib.h string.h sys/param.h sys/types.h unistd.h math.h utime.h X11/Xlib.h])
9903c388
EB
40
41# Checks for typedefs, structures, and compiler characteristics.
42AC_C_CONST
43AC_TYPE_MODE_T
44
fa3eb9d6 45# Checks for library functions or symbols
9903c388
EB
46AC_FUNC_STAT
47AC_FUNC_STRTOD
db7fa5f6 48AC_CHECK_FUNCS([floor memset mkdtemp pow realpath sqrt strcasecmp strchr strdup strncasecmp strtol strtoul])
fabfa349
JB
49AC_CHECK_LIB(m, tan)
50AC_CHECK_LIB(z, inflate)
fa3eb9d6 51AC_CHECK_LIB(X11, XSetErrorHandler)
9903c388 52
d07deb3f
RN
53# ATM not running automake under Windows
54#AC_CHECK_PROG(USE_WINDOWS, cmd.exe, yes, no)
55#AM_CONDITIONAL([WINDOWS], [test x$USE_WINDOWS = xyes])
56# So pass in as an option instead
57# This is only to perform slightly different build steps
58# (the code uses standard WINDOWS defines for any specific different behaviour)
59AC_ARG_ENABLE(windows, AC_HELP_STRING([--enable-windows],
60 [Perform specific Windows build steps (default is no)]),
61 [ac_cv_enable_windows=$enableval],
62 [ac_cv_enable_windows=no])
63AC_CACHE_CHECK([whether to enable Windows build steps],
64 [ac_cv_enable_windows], [ac_cv_enable_windows=no])
65AM_CONDITIONAL([WINDOWS], [test x$ac_cv_enable_windows = xyes])
66
dad55b79 67# Expat
fa1b5a5f
GB
68AM_WITH_EXPAT
69
3292ba8b 70# Curl
f901dcdf 71LIBCURL_CHECK_CONFIG([yes],[],[],[AC_MSG_ERROR([libcurl is needed but not found])])
3292ba8b 72
bf0922c7 73# gdk-pixbuf-csource
fa1b5a5f 74AC_CHECK_PROG([GDK_PIXBUF_CSOURCE],gdk-pixbuf-csource,[yes])
4dc7f2cc 75if test "x$GDK_PIXBUF_CSOURCE" != "xyes"
fa1b5a5f
GB
76then
77 AC_MSG_ERROR([gdk-pixbuf-csource is needed but not found])
78fi
79
bf0922c7
GB
80dnl ------------------
81dnl | Pkgconfig checks |---------------------------------------
82dnl ------------------
83
84PKG_CHECK_MODULES(PACKAGE, [
e817bcf6 85 glib-2.0 >= 2.26
bf0922c7 86 gthread-2.0 >= 2.2
90ba111c 87 gtk+-2.0 >= 2.16
314084b8 88 gio-2.0 >= 2.12
bf0922c7
GB
89])
90
91AC_SUBST(PACKAGE_CFLAGS)
92AC_SUBST(PACKAGE_LIBS)
93
f8b8a0b5
GB
94dnl -------------
95dnl | User Manual |---------------------------------------
96dnl -------------
97GNOME_DOC_INIT
dad55b79 98
bca29d33
GB
99dnl ---------------------------------------------------------------------------
100dnl - Use deprecated options (default enabled for devs, disabled in releases)
101dnl ---------------------------------------------------------------------------
102
79452f0e
GB
103AC_ARG_ENABLE(deprecations,
104 [AC_HELP_STRING([--enable-deprecations],
bca29d33
GB
105 [warn about deprecated usages [default=no]])],
106 [ac_cv_enable_deprecations=$enableval],
107 [ac_cv_enable_deprecations=no])
108AC_CACHE_CHECK([whether to enable deprecated features],
109 [ac_cv_enable_deprecations], [ac_cv_enable_deprecations=no])
79452f0e 110
bca29d33 111if test "x$ac_cv_enable_deprecations" = "xyes"; then
79452f0e 112 DISABLE_DEPRECATED_CFLAGS="\
bca29d33
GB
113-DG_DISABLE_SINGLE_INCLUDES \
114-DGSEAL_ENABLE \
79452f0e
GB
115-DG_DISABLE_DEPRECATED \
116-DGDK_DISABLE_DEPRECATED \
bca29d33
GB
117-DGDK_PIXBUF_DISABLE_DEPRECATED \
118-DGTK_DISABLE_SINGLE_INCLUDES \
119-DGTK_DISABLE_DEPRECATED"
120 CPPFLAGS="$CPPFLAGS $DISABLE_DEPRECATED_CFLAGS"
79452f0e 121fi
dad55b79 122
734652bf 123# Options
9f58c4b4
GB
124AC_ARG_ENABLE(bing, AC_HELP_STRING([--enable-bing],
125 [enable Bing stuff (default is enable)]),
126 [ac_cv_enable_bing=$enableval],
127 [ac_cv_enable_bing=yes])
128AC_CACHE_CHECK([whether to enable Bing stuff],
129 [ac_cv_enable_bing], [ac_cv_enable_bing=yes])
130case $ac_cv_enable_bing in
131 yes)
132 AC_DEFINE(VIK_CONFIG_BING, [], [BING STUFF])
133 ;;
134esac
135AM_CONDITIONAL([BING], [test x$ac_cv_enable_bing = xyes])
136
cdcaf41c 137AC_ARG_ENABLE(google, AC_HELP_STRING([--enable-google],
55340efa 138 [enable Google stuff (default is enable)]),
cdcaf41c
QT
139 [ac_cv_enable_google=$enableval],
140 [ac_cv_enable_google=yes])
141AC_CACHE_CHECK([whether to enable Google stuff],
142 [ac_cv_enable_google], [ac_cv_enable_google=yes])
143case $ac_cv_enable_google in
144 yes)
145 AC_DEFINE(VIK_CONFIG_GOOGLE, [], [GOOGLE STUFF])
146 ;;
147esac
148AM_CONDITIONAL([GOOGLE], [test x$ac_cv_enable_google = xyes])
149
150AC_ARG_ENABLE(terraserver, AC_HELP_STRING([--enable-terraserver],
2a8ecaba 151 [enable Terraserver stuff (default is disabled as the tileserver is no longer available)]),
cdcaf41c 152 [ac_cv_enable_terraserver=$enableval],
2a8ecaba 153 [ac_cv_enable_terraserver=no])
cdcaf41c
QT
154AC_CACHE_CHECK([whether to enable Terraserver stuff],
155 [ac_cv_enable_terraserver], [ac_cv_enable_terraserver=yes])
156case $ac_cv_enable_terraserver in
157 yes)
158 AC_DEFINE(VIK_CONFIG_TERRASERVER, [], [TERRASERVER STUFF])
159 ;;
160esac
161AM_CONDITIONAL([TERRASERVER], [test x$ac_cv_enable_terraserver = xyes])
162
163AC_ARG_ENABLE(expedia, AC_HELP_STRING([--enable-expedia],
06f31fd5 164 [enable Expedia stuff (default is disable)]),
cdcaf41c 165 [ac_cv_enable_expedia=$enableval],
06f31fd5 166 [ac_cv_enable_expedia=no])
cdcaf41c
QT
167AC_CACHE_CHECK([whether to enable Expedia stuff],
168 [ac_cv_enable_expedia], [ac_cv_enable_expedia=yes])
169case $ac_cv_enable_expedia in
170 yes)
171 AC_DEFINE(VIK_CONFIG_EXPEDIA, [], [EXPEDIA STUFF])
172 ;;
173esac
174AM_CONDITIONAL([EXPEDIA], [test x$ac_cv_enable_expedia = xyes])
175
ca9eb04a
GB
176# OpenStreetMap http://www.openstreetmap.org/
177AC_ARG_ENABLE(openstreetmap, AC_HELP_STRING([--enable-openstreetmap],
178 [enable OpenStreetMap stuff (default is enable)]),
179 [ac_cv_enable_openstreetmap=$enableval],
180 [ac_cv_enable_openstreetmap=yes])
181AC_CACHE_CHECK([whether to enable OpenStreetMap stuff],
182 [ac_cv_enable_openstreetmap], [ac_cv_enable_openstreetmap=yes])
183case $ac_cv_enable_openstreetmap in
184 yes)
185 AC_DEFINE(VIK_CONFIG_OPENSTREETMAP, [], [OPENSTREETMAP STUFF])
186 ;;
187esac
188AM_CONDITIONAL([OPENSTREETMAP], [test x$ac_cv_enable_openstreetmap = xyes])
189
96c3f0d5
GB
190# BlueMarble
191AC_ARG_ENABLE(bluemarble, AC_HELP_STRING([--enable-bluemarble],
192 [enable BlueMarble stuff (default is enable)]),
193 [ac_cv_enable_bluemarble=$enableval],
194 [ac_cv_enable_bluemarble=yes])
195AC_CACHE_CHECK([whether to enable BlueMarble stuff],
196 [ac_cv_enable_bluemarble], [ac_cv_enable_bluemarble=yes])
197case $ac_cv_enable_bluemarble in
198 yes)
199 AC_DEFINE(VIK_CONFIG_BLUEMARBLE, [], [BLUEMARBLE STUFF])
200 ;;
201esac
202AM_CONDITIONAL([BLUEMARBLE], [test x$ac_cv_enable_bluemarble = xyes])
203
da03b29d
GB
204# GeoNames http://www.geonames.org/
205AC_ARG_ENABLE(geonames, AC_HELP_STRING([--enable-geonames],
206 [enable Geonames stuff (default is enable)]),
207 [ac_cv_enable_geonames=$enableval],
208 [ac_cv_enable_geonames=yes])
209AC_CACHE_CHECK([whether to enable Geonames stuff],
210 [ac_cv_enable_geonames], [ac_cv_enable_geonames=yes])
211case $ac_cv_enable_geonames in
212 yes)
213 AC_DEFINE(VIK_CONFIG_GEONAMES, [], [GEONAMES STUFF])
214 ;;
215esac
216AM_CONDITIONAL([GEONAMES], [test x$ac_cv_enable_geonames = xyes])
217
1ef9e637 218AC_ARG_ENABLE(geocaches, AC_HELP_STRING([--enable-geocaches],
a0d39f7e 219 [enable Geocaches Acquire (default is disable).]),
1ef9e637
QT
220 [ac_cv_enable_geocaches=$enableval],
221 [ac_cv_enable_geocaches=no])
222AC_CACHE_CHECK([whether to enable Geocaches Acquire],
223 [ac_cv_enable_geocaches], [ac_cv_enable_geocaches=yes])
224case $ac_cv_enable_geocaches in
225 yes)
226 AC_DEFINE(VIK_CONFIG_GEOCACHES, [], [GEOCACHES STUFF])
227 ;;
228esac
229AM_CONDITIONAL([GEOCACHES], [test x$ac_cv_enable_geocaches = xyes])
230
72bbd562
RN
231# Geotagging
232AC_ARG_WITH(libexif, AC_HELP_STRING([--with-libexif], [Force usage of libexif instead of libgexiv2]))
f75d0233
RN
233AC_ARG_ENABLE(geotag, AC_HELP_STRING([--enable-geotag],
234 [enable Geotag Support (default is enable).]),
235 [ac_cv_enable_geotag=$enableval],
236 [ac_cv_enable_geotag=yes])
237AC_CACHE_CHECK([whether to enable Geotag Support],
238 [ac_cv_enable_geotag], [ac_cv_enable_geotag=yes])
239case $ac_cv_enable_geotag in
240 yes)
72bbd562
RN
241 AS_IF([test x$with_libexif = xyes],
242 AC_CHECK_HEADER([libexif/exif-data.h],[],AC_MSG_ERROR([exif-data.h is needed but not found - you will need to install package 'libexif-dev' or similar]))
243 AC_CHECK_LIB(exif,exif_loader_new,, AC_MSG_ERROR([libexif is not found but it has been forcibly required])),
244 # gexiv2.h relies on glib so a simple compile check fails.
245 #AC_CHECK_HEADER([gexiv2/gexiv2.h],,AC_MSG_ERROR([Error msg...]))
246 AC_CHECK_LIB(gexiv2,gexiv2_metadata_new,, AC_MSG_ERROR([libgexiv2 is needed but not found - you will need to install package 'libgexiv2-dev' or similar. The feature can be disabled with --disable-geotag]))
247 )
f75d0233
RN
248 AC_DEFINE(VIK_CONFIG_GEOTAG, [], [GEOTAG STUFF])
249 ;;
250esac
251AM_CONDITIONAL([GEOTAG], [test x$ac_cv_enable_geotag = xyes])
72bbd562
RN
252AM_CONDITIONAL([GEXIV2], [test x$ac_cv_lib_gexiv2_gexiv2_metadata_new = xyes] )
253# Tested with gexiv2 0.10.2, but probably would work with older versions; may be all of them...
254#AM_COND_IF([GEXIV2], [PKG_CHECK_MODULES([GEXIV2], [gexiv2 >= 0.6.1])])
255AM_CONDITIONAL([LIBEXIF], [test x$ac_cv_lib_exif_exif_loader_new = xyes] )
f75d0233 256
8c721f83
EB
257AC_ARG_ENABLE(dem24k, AC_HELP_STRING([--enable-dem24k],
258 [enable USGS 24k DEM (default is disable) download source. Requires dem24k.pl script in path.]),
259 [ac_cv_enable_dem24k=$enableval],
260 [ac_cv_enable_dem24k=no])
261AC_CACHE_CHECK([whether to enable USGS DEM 24k download source],
262 [ac_cv_enable_dem24k], [ac_cv_enable_dem24k=yes])
263case $ac_cv_enable_dem24k in
264 yes)
265 AC_DEFINE(VIK_CONFIG_DEM24K, [], [DEM24K STUFF])
266 ;;
267esac
268AM_CONDITIONAL([DEM24K], [test x$ac_cv_enable_dem24k = xyes])
269
001a86db
QT
270# Realtime GPS tracking
271AC_ARG_ENABLE(realtime-gps-tracking, AC_HELP_STRING([--enable-realtime-gps-tracking],
272 [enable realtime GPS tracking (default is enable)]),
273 [ac_cv_enable_realtimegpstracking=$enableval],
274 [ac_cv_enable_realtimegpstracking=yes])
275AC_CACHE_CHECK([whether to enable Realtime GPS Tracking stuff],
276 [ac_cv_enable_realtimegpstracking], [ac_cv_enable_realtimegpstracking=yes])
277case $ac_cv_enable_realtimegpstracking in
278 yes)
975e9067 279 AC_CHECK_LIB(gps,gps_close,,AC_MSG_ERROR([libgps is needed for Realtime GPS Tracking feature[,] but not found. The feature can be disable with --disable-realtime-gps-tracking]))
8956d2ef 280 AC_DEFINE(VIK_CONFIG_REALTIME_GPS_TRACKING, [], [REALTIME GPS TRACKING STUFF])
001a86db
QT
281 ;;
282esac
283AM_CONDITIONAL([REALTIME_GPS_TRACKING], [test x$ac_cv_enable_realtimegpstracking = xyes])
284
a3697549
RN
285# BZIP2
286AC_ARG_ENABLE(bz2, AC_HELP_STRING([--enable-bzip2],
287 [enable bzip2 Support (default is enable).]),
288 [ac_cv_enable_bzip2=$enableval],
289 [ac_cv_enable_bzip2=yes])
290AC_CACHE_CHECK([whether to enable bzip2 Support],
291 [ac_cv_enable_bzip2], [ac_cv_enable_bzip2=yes])
292case $ac_cv_enable_bzip2 in
293 yes)
294 AC_CHECK_HEADERS([bzlib.h],[],[AC_MSG_ERROR([bzlib.h is needed but not found - you will need to install package 'libbz2-dev' or similar. The feature can be disabled with --disable-bzip2])])
295 AC_CHECK_LIB(bz2, BZ2_bzBuffToBuffDecompress, [], [AC_MSG_ERROR([libbz2 is needed but not found.])])
296 ;;
297esac
298AM_CONDITIONAL([BZIP2], [test x$ac_cv_enable_bzip2 = xyes])
299
300# FILE MAGIC
301AC_ARG_ENABLE(magic, AC_HELP_STRING([--enable-magic],
302 [enable File Magic support via libmagic (default is enable).]),
303 [ac_cv_enable_magic=$enableval],
304 [ac_cv_enable_magic=yes])
305AC_CACHE_CHECK([whether to enable Magic Support],
306 [ac_cv_enable_magic], [ac_cv_enable_magic=yes])
307case $ac_cv_enable_magic in
308 yes)
309 AC_CHECK_HEADERS([magic.h],[],[AC_MSG_ERROR([magic.h is needed but not found - you will need to install package 'libmagic-dev' or similar. The feature can be disabled with --disable-magic])])
310 AC_CHECK_LIB(magic, magic_open, [], [AC_MSG_ERROR([libmagic is needed but not found.])])
311 ;;
312esac
313AM_CONDITIONAL([MAGIC], [test x$ac_cv_enable_magic = xyes])
314
0fb11294
RN
315# SQL for MBTiles
316AC_ARG_ENABLE(mbtiles, AC_HELP_STRING([--enable-mbtiles],
317 [enable MBTiles support via libsqlite3 (default is enable).]),
318 [ac_cv_enable_mbtiles=$enableval],
319 [ac_cv_enable_mbtiles=yes])
320AC_CACHE_CHECK([whether to enable MBTiles Support],
321 [ac_cv_enable_mbtiles], [ac_cv_enable_mbtiles=yes])
322case $ac_cv_enable_mbtiles in
323 yes)
9324e651 324 AC_CHECK_HEADERS([sqlite3.h],[],[AC_MSG_ERROR([sqlite3.h is needed but not found - you will need to install package 'libsqlite3-dev' or similar. The feature can be disabled with --disable-mbtiles])])
0fb11294
RN
325 AC_CHECK_LIB(sqlite3, sqlite3_open, [], [AC_MSG_ERROR([libsqlite3 is needed but not found.])])
326 ;;
327esac
328AM_CONDITIONAL([SQLITE], [test x$ac_cv_enable_mbtiles = xyes])
329
a3697549
RN
330###
331
ba4a5e11
GB
332AC_ARG_WITH(search,
333 [AC_HELP_STRING([--with-search],
334 [specify google or geonames for searching (default is google)])],
335 [case "x$withval" in
336 "xgoogle")
337 VIK_CONFIG_SEARCH=VIK_CONFIG_SEARCH_GOOGLE
338 ;;
339 "xgeonames")
340 VIK_CONFIG_SEARCH=VIK_CONFIG_SEARCH_GEONAMES
341 ;;
342 *)
343 AC_MSG_ERROR([Please, set a value for search method])
344 esac],
345 [VIK_CONFIG_SEARCH=VIK_CONFIG_SEARCH_GOOGLE])
346AC_DEFINE_UNQUOTED(VIK_CONFIG_SEARCH_GOOGLE, 1,
347 [Id. for searching via GOOGLE])
348AC_DEFINE_UNQUOTED(VIK_CONFIG_SEARCH_GEONAMES, 2,
349 [Id. for searching via GEONAMES])
350AC_DEFINE_UNQUOTED(VIK_CONFIG_SEARCH, ${VIK_CONFIG_SEARCH},
351 [Method for the search])
352
353
1bc9b120
GB
354AC_ARG_WITH(mapcache,
355 [AC_HELP_STRING([--with-mapcache],
e6e277a8 356 [specify the size of the map cache in MB (default is 128)])],
1bc9b120
GB
357 [if test "x$withval" = "xno"; then
358 VIK_CONFIG_MAPCACHE_SIZE=0;
359 elif test "x$withval" = "xyes"; then
e6e277a8 360 AC_MSG_ERROR([Please, set a value for size of the map cache in MB])
1bc9b120
GB
361 else
362 VIK_CONFIG_MAPCACHE_SIZE=${withval}
363 fi],
e6e277a8 364 [VIK_CONFIG_MAPCACHE_SIZE=128])
1bc9b120
GB
365AC_DEFINE_UNQUOTED(VIK_CONFIG_MAPCACHE_SIZE, ${VIK_CONFIG_MAPCACHE_SIZE},
366 [Size of the map cache])
367
5e108809
GB
368
369AC_ARG_WITH(tileage,
370 [AC_HELP_STRING([--with-tileage],
7965485d 371 [specify the age of a tile before checking it (default is 7 days)])],
5e108809
GB
372 [if test "x$withval" = "xno"; then
373 VIK_CONFIG_DEFAULT_TILE_AGE=0;
374 elif test "x$withval" = "xyes"; then
375 AC_MSG_ERROR([Please, set a value for age of tiles])
376 else
377 VIK_CONFIG_DEFAULT_TILE_AGE=${withval}
378 fi],
7965485d 379 [VIK_CONFIG_DEFAULT_TILE_AGE=604800])
5e108809 380AC_DEFINE_UNQUOTED(VIK_CONFIG_DEFAULT_TILE_AGE, ${VIK_CONFIG_DEFAULT_TILE_AGE},
8276d332 381 [Age of tiles before checking it (in seconds)])
aea7a8a3 382AC_DEFINE(HAVE_VIKING, 1, [Enable Viking specifics in otherwise reusable code])
5e108809 383
e5140ce8
GB
384dnl man pages processing
385DB2MAN_XSL=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
386AC_SUBST(DB2MAN_XSL)
387AC_PATH_PROG(XP,xsltproc)
eb6a42c9 388AM_CONDITIONAL([HAVE_XSLTPROC],[test "x$XP" != "x"])
e5140ce8
GB
389AM_CONDITIONAL([GEN_MANPAGES],[test "x$XP" != "x" && test -r "$DB2MAN_XSL"])
390
a5daec1c
GB
391dnl This will cause the automake generated makefiles to pass the
392dnl correct flags to aclocal.
393ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
394AC_SUBST(ACLOCAL_AMFLAGS)
395
a07e9f61 396AM_CONDITIONAL([VIKING_DOC], test x${enable_gtk_doc} = xyes)
8e11c259 397
734652bf 398# Configuration
a07e9f61
RN
399AC_CONFIG_FILES([
400 Makefile
401 src/Makefile
402 src/icons/Makefile
403 po/Makefile.in
404 data/Makefile
69e5d475 405 tools/Makefile
763f5c56 406 test/Makefile
d7603eb2 407 help/Makefile
763f5c56
RN
408 win32/Makefile
409 win32/installer/Makefile
410 win32/installer/pixmaps/Makefile
411 win32/installer/translations/Makefile])
a07e9f61
RN
412AM_COND_IF([VIKING_DOC],
413 [AC_CONFIG_FILES([
a07e9f61
RN
414 doc/Makefile
415 doc/reference/Makefile
416 doc/examples/Makefile])])
417
af2740eb
QT
418AC_OUTPUT([
419 viking.spec
420 ])
001a86db
QT
421
422dnl Output the configuration summary
423echo ""
424echo "==========================================="
e817bcf6 425echo "$PACKAGE $PACKAGE_URL $VERSION"
001a86db 426echo "-------------------------------------------"
9f58c4b4 427echo "Bing Maps : $ac_cv_enable_bing"
55340efa 428echo "Google : $ac_cv_enable_google"
001a86db 429echo "Terraserver Maps : $ac_cv_enable_terraserver"
c21cf491 430echo "Expedia Maps : $ac_cv_enable_expedia"
001a86db 431echo "Open Street Map : $ac_cv_enable_openstreetmap"
f7d8a3c2 432echo "BlueMarble : $ac_cv_enable_bluemarble"
da03b29d 433echo "Geonames : $ac_cv_enable_geonames"
de63aedb 434echo "Geocaches Acquire : $ac_cv_enable_geocaches"
72bbd562 435echo "Geotag Support : $ac_cv_enable_geotag (libgexiv2=$ac_cv_lib_gexiv2_gexiv2_metadata_new libexif=$ac_cv_lib_exif_exif_loader_new)"
001a86db
QT
436echo "USGS 24k DEM : $ac_cv_enable_dem24k"
437echo "Realtime GPS Tracking : $ac_cv_enable_realtimegpstracking"
a3697549
RN
438echo "bzip2 Support : $ac_cv_enable_bzip2"
439echo "File Magic Support : $ac_cv_enable_magic"
0fb11294 440echo "MBTiles Support (SQLite3) : $ac_cv_enable_mbtiles"
001a86db 441echo "Size of map cache (in memory) : ${VIK_CONFIG_MAPCACHE_SIZE}"
5e108809 442echo "Age of tiles (in seconds) : ${VIK_CONFIG_DEFAULT_TILE_AGE}"
a07e9f61 443echo "Documentation (+HTML) : ${enable_gtk_doc} (HTML: ${enable_gtk_doc_html})"
001a86db
QT
444echo "-------------------------------------------"
445echo ""
446echo "Configure finished, type 'make' to build."