1 |
#! /bin/sh |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated by GNU Autoconf 2.63 for GPXView 0.8.4. |
# Generated by GNU Autoconf 2.63 for GPXView 0.8.14. |
4 |
# |
# |
5 |
# Report bugs to <till@harbaum.org>. |
# Report bugs to <till@harbaum.org>. |
6 |
# |
# |
596 |
# Identity of this package. |
# Identity of this package. |
597 |
PACKAGE_NAME='GPXView' |
PACKAGE_NAME='GPXView' |
598 |
PACKAGE_TARNAME='gpxview' |
PACKAGE_TARNAME='gpxview' |
599 |
PACKAGE_VERSION='0.8.4' |
PACKAGE_VERSION='0.8.14' |
600 |
PACKAGE_STRING='GPXView 0.8.4' |
PACKAGE_STRING='GPXView 0.8.14' |
601 |
PACKAGE_BUGREPORT='till@harbaum.org' |
PACKAGE_BUGREPORT='till@harbaum.org' |
602 |
|
|
603 |
ac_unique_file="src/main.c" |
ac_unique_file="src/main.c" |
604 |
ac_subst_vars='LTLIBOBJS |
ac_subst_vars='LTLIBOBJS |
605 |
LIBOBJS |
LIBOBJS |
606 |
INSTALL_PLATTFORM |
INSTALL_PLATTFORM |
607 |
|
ICON |
608 |
EXTRA_OBJS |
EXTRA_OBJS |
609 |
gnome2_LIBS |
gnome2_LIBS |
610 |
gnome2_CFLAGS |
gnome2_CFLAGS |
611 |
gtk_LIBS |
gtk_LIBS |
612 |
gtk_CFLAGS |
gtk_CFLAGS |
613 |
|
MAEMO_VERSION_MAJOR |
614 |
liblocation_LIBS |
liblocation_LIBS |
615 |
liblocation_CFLAGS |
liblocation_CFLAGS |
616 |
gpsbt_LIBS |
gpsbt_LIBS |
633 |
libsoup22_CFLAGS |
libsoup22_CFLAGS |
634 |
libsoup24_LIBS |
libsoup24_LIBS |
635 |
libsoup24_CFLAGS |
libsoup24_CFLAGS |
636 |
|
libcurl_LIBS |
637 |
|
libcurl_CFLAGS |
638 |
libxml2_LIBS |
libxml2_LIBS |
639 |
libxml2_CFLAGS |
libxml2_CFLAGS |
640 |
gnome_vfs_module_LIBS |
gnome_vfs_module_LIBS |
707 |
gnome_vfs_module_LIBS |
gnome_vfs_module_LIBS |
708 |
libxml2_CFLAGS |
libxml2_CFLAGS |
709 |
libxml2_LIBS |
libxml2_LIBS |
710 |
|
libcurl_CFLAGS |
711 |
|
libcurl_LIBS |
712 |
libsoup24_CFLAGS |
libsoup24_CFLAGS |
713 |
libsoup24_LIBS |
libsoup24_LIBS |
714 |
libsoup22_CFLAGS |
libsoup22_CFLAGS |
1287 |
# Omit some internal or obsolete options to make the list less imposing. |
# Omit some internal or obsolete options to make the list less imposing. |
1288 |
# This message is too long to be a string in the A/UX 3.1 sh. |
# This message is too long to be a string in the A/UX 3.1 sh. |
1289 |
cat <<_ACEOF |
cat <<_ACEOF |
1290 |
\`configure' configures GPXView 0.8.4 to adapt to many kinds of systems. |
\`configure' configures GPXView 0.8.14 to adapt to many kinds of systems. |
1291 |
|
|
1292 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
1293 |
|
|
1348 |
|
|
1349 |
if test -n "$ac_init_help"; then |
if test -n "$ac_init_help"; then |
1350 |
case $ac_init_help in |
case $ac_init_help in |
1351 |
short | recursive ) echo "Configuration of GPXView 0.8.4:";; |
short | recursive ) echo "Configuration of GPXView 0.8.14:";; |
1352 |
esac |
esac |
1353 |
cat <<\_ACEOF |
cat <<\_ACEOF |
1354 |
|
|
1369 |
C compiler flags for libxml2, overriding pkg-config |
C compiler flags for libxml2, overriding pkg-config |
1370 |
libxml2_LIBS |
libxml2_LIBS |
1371 |
linker flags for libxml2, overriding pkg-config |
linker flags for libxml2, overriding pkg-config |
1372 |
|
libcurl_CFLAGS |
1373 |
|
C compiler flags for libcurl, overriding pkg-config |
1374 |
|
libcurl_LIBS |
1375 |
|
linker flags for libcurl, overriding pkg-config |
1376 |
libsoup24_CFLAGS |
libsoup24_CFLAGS |
1377 |
C compiler flags for libsoup24, overriding pkg-config |
C compiler flags for libsoup24, overriding pkg-config |
1378 |
libsoup24_LIBS |
libsoup24_LIBS |
1485 |
test -n "$ac_init_help" && exit $ac_status |
test -n "$ac_init_help" && exit $ac_status |
1486 |
if $ac_init_version; then |
if $ac_init_version; then |
1487 |
cat <<\_ACEOF |
cat <<\_ACEOF |
1488 |
GPXView configure 0.8.4 |
GPXView configure 0.8.14 |
1489 |
generated by GNU Autoconf 2.63 |
generated by GNU Autoconf 2.63 |
1490 |
|
|
1491 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1499 |
This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
1500 |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
1501 |
|
|
1502 |
It was created by GPXView $as_me 0.8.4, which was |
It was created by GPXView $as_me 0.8.14, which was |
1503 |
generated by GNU Autoconf 2.63. Invocation command line was |
generated by GNU Autoconf 2.63. Invocation command line was |
1504 |
|
|
1505 |
$ $0 $@ |
$ $0 $@ |
3268 |
fi |
fi |
3269 |
CFLAGS="$CFLAGS $libxml2_CFLAGS" |
CFLAGS="$CFLAGS $libxml2_CFLAGS" |
3270 |
LIBS="$LIBS $libxml2_LIBS" |
LIBS="$LIBS $libxml2_LIBS" |
3271 |
|
|
3272 |
|
# check for libcurl |
3273 |
|
|
3274 |
|
pkg_failed=no |
3275 |
|
{ $as_echo "$as_me:$LINENO: checking for libcurl" >&5 |
3276 |
|
$as_echo_n "checking for libcurl... " >&6; } |
3277 |
|
|
3278 |
|
if test -n "$PKG_CONFIG"; then |
3279 |
|
if test -n "$libcurl_CFLAGS"; then |
3280 |
|
pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS" |
3281 |
|
else |
3282 |
|
if test -n "$PKG_CONFIG" && \ |
3283 |
|
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5 |
3284 |
|
($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
3285 |
|
ac_status=$? |
3286 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3287 |
|
(exit $ac_status); }; then |
3288 |
|
pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null` |
3289 |
|
else |
3290 |
|
pkg_failed=yes |
3291 |
|
fi |
3292 |
|
fi |
3293 |
|
else |
3294 |
|
pkg_failed=untried |
3295 |
|
fi |
3296 |
|
if test -n "$PKG_CONFIG"; then |
3297 |
|
if test -n "$libcurl_LIBS"; then |
3298 |
|
pkg_cv_libcurl_LIBS="$libcurl_LIBS" |
3299 |
|
else |
3300 |
|
if test -n "$PKG_CONFIG" && \ |
3301 |
|
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5 |
3302 |
|
($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
3303 |
|
ac_status=$? |
3304 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3305 |
|
(exit $ac_status); }; then |
3306 |
|
pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null` |
3307 |
|
else |
3308 |
|
pkg_failed=yes |
3309 |
|
fi |
3310 |
|
fi |
3311 |
|
else |
3312 |
|
pkg_failed=untried |
3313 |
|
fi |
3314 |
|
|
3315 |
|
|
3316 |
|
|
3317 |
|
if test $pkg_failed = yes; then |
3318 |
|
|
3319 |
|
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
3320 |
|
_pkg_short_errors_supported=yes |
3321 |
|
else |
3322 |
|
_pkg_short_errors_supported=no |
3323 |
|
fi |
3324 |
|
if test $_pkg_short_errors_supported = yes; then |
3325 |
|
libcurl_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl"` |
3326 |
|
else |
3327 |
|
libcurl_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl"` |
3328 |
|
fi |
3329 |
|
# Put the nasty error message in config.log where it belongs |
3330 |
|
echo "$libcurl_PKG_ERRORS" >&5 |
3331 |
|
|
3332 |
|
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3333 |
|
$as_echo "no" >&6; } |
3334 |
|
{ { $as_echo "$as_me:$LINENO: error: libcurl missing" >&5 |
3335 |
|
$as_echo "$as_me: error: libcurl missing" >&2;} |
3336 |
|
{ (exit 1); exit 1; }; } |
3337 |
|
elif test $pkg_failed = untried; then |
3338 |
|
{ { $as_echo "$as_me:$LINENO: error: libcurl missing" >&5 |
3339 |
|
$as_echo "$as_me: error: libcurl missing" >&2;} |
3340 |
|
{ (exit 1); exit 1; }; } |
3341 |
|
else |
3342 |
|
libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS |
3343 |
|
libcurl_LIBS=$pkg_cv_libcurl_LIBS |
3344 |
|
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
3345 |
|
$as_echo "yes" >&6; } |
3346 |
|
: |
3347 |
|
fi |
3348 |
|
CFLAGS="$CFLAGS $libcurl_CFLAGS" |
3349 |
|
LIBS="$LIBS $libcurl_LIBS" |
3350 |
|
|
3351 |
# check for libsoup |
# check for libsoup |
3352 |
|
|
3353 |
pkg_failed=no |
pkg_failed=no |
3487 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
3488 |
$as_echo "yes" >&6; } |
$as_echo "yes" >&6; } |
3489 |
|
|
3490 |
EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o" |
EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o" |
3491 |
CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP" |
CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP" |
3492 |
LIBS="$LIBS $libsoup22_LIBS" |
LIBS="$LIBS $libsoup22_LIBS" |
3493 |
|
|
3571 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
3572 |
$as_echo "yes" >&6; } |
$as_echo "yes" >&6; } |
3573 |
|
|
3574 |
EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o" |
EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o" |
3575 |
CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP" |
CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP" |
3576 |
LIBS="$LIBS $libsoup22_LIBS" |
LIBS="$LIBS $libsoup22_LIBS" |
3577 |
|
|
3583 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
3584 |
$as_echo "yes" >&6; } |
$as_echo "yes" >&6; } |
3585 |
|
|
3586 |
EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o" |
EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o" |
3587 |
CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP" |
CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP" |
3588 |
LIBS="$LIBS $libsoup24_LIBS" |
LIBS="$LIBS $libsoup24_LIBS" |
3589 |
|
|
4524 |
MAJOR=`echo $VERSION | cut -b1 -` |
MAJOR=`echo $VERSION | cut -b1 -` |
4525 |
CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR" |
CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR" |
4526 |
|
|
4527 |
|
MAEMO_VERSION_MAJOR=$MAJOR |
4528 |
|
|
4529 |
|
|
4530 |
else |
else |
4531 |
|
|
4532 |
{ { $as_echo "$as_me:$LINENO: error: maemo-version not found" >&5 |
{ { $as_echo "$as_me:$LINENO: error: maemo-version not found" >&5 |
4535 |
|
|
4536 |
fi |
fi |
4537 |
|
|
4538 |
|
INSTALL_PLATTFORM="install-maemo" |
4539 |
|
|
4540 |
|
# fremantle uses icons of 48x48 pixels for the app installer, |
4541 |
|
# older versions used 26x26 |
4542 |
|
if [ "$MAJOR" == "5" ]; then |
4543 |
|
ICONNAME=gpxview.48.png |
4544 |
|
datarootdir=/opt |
4545 |
|
else |
4546 |
|
ICONNAME=gpxview.26.png |
4547 |
|
{ $as_echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5 |
4548 |
|
$as_echo "$as_me: Enabling Maemo Mapper support" >&6;} |
4549 |
|
CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER" |
4550 |
|
EXTRA_OBJS="$EXTRA_OBJS mm_poi.o" |
4551 |
|
fi |
4552 |
|
|
4553 |
# maemo uses dbus for ipc with maemo mapper |
# maemo uses dbus for ipc with maemo mapper |
4554 |
EXTRA_OBJS="$EXTRA_OBJS mm_poi.o dbus.o" |
EXTRA_OBJS="$EXTRA_OBJS dbus.o" |
4555 |
|
|
4556 |
INSTALL_PLATTFORM="install-maemo" |
{ $as_echo "$as_me:$LINENO: Using application installer icon \"$ICONNAME\"" >&5 |
4557 |
|
$as_echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;} |
4558 |
|
|
4559 |
|
# add icon entry to debian/control |
4560 |
|
ICON=" Maemo icon $ICONNAME |
4561 |
|
XB-Maemo-Icon-26: |
4562 |
|
" |
4563 |
|
|
4564 |
|
# generate base64 icon, remove first and last line |
4565 |
|
# and add a space before each line |
4566 |
|
ICON="$ICON`uuencode -m data/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`" |
4567 |
|
|
4568 |
|
|
4569 |
else |
else |
4571 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4572 |
$as_echo "no" >&6; } |
$as_echo "no" >&6; } |
4573 |
|
|
4574 |
|
EXTRA_OBJS="$EXTRA_OBJS bct.o" |
4575 |
|
CFLAGS="$CFLAGS -DBCT" |
4576 |
|
|
4577 |
# check for gtk+-2.0 |
# check for gtk+-2.0 |
4578 |
|
|
4579 |
pkg_failed=no |
pkg_failed=no |
4734 |
|
|
4735 |
INSTALL_PLATTFORM="install-debian" |
INSTALL_PLATTFORM="install-debian" |
4736 |
|
|
4737 |
|
ICON=" No icon" |
4738 |
|
|
4739 |
fi |
fi |
4740 |
|
|
4741 |
|
|
4742 |
|
|
4743 |
ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile" |
|
4744 |
|
ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile debian/control" |
4745 |
|
|
4746 |
|
|
4747 |
cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
5199 |
# report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
5200 |
# values after options handling. |
# values after options handling. |
5201 |
ac_log=" |
ac_log=" |
5202 |
This file was extended by GPXView $as_me 0.8.4, which was |
This file was extended by GPXView $as_me 0.8.14, which was |
5203 |
generated by GNU Autoconf 2.63. Invocation command line was |
generated by GNU Autoconf 2.63. Invocation command line was |
5204 |
|
|
5205 |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
5249 |
_ACEOF |
_ACEOF |
5250 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5251 |
ac_cs_version="\\ |
ac_cs_version="\\ |
5252 |
GPXView config.status 0.8.4 |
GPXView config.status 0.8.14 |
5253 |
configured by $0, generated by GNU Autoconf 2.63, |
configured by $0, generated by GNU Autoconf 2.63, |
5254 |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
5255 |
|
|
5356 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
5357 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
5358 |
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; |
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; |
5359 |
|
"debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;; |
5360 |
|
|
5361 |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
5362 |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |