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.10. |
# Generated by GNU Autoconf 2.63 for GPXView 0.9.2. |
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.10' |
PACKAGE_VERSION='0.9.2' |
600 |
PACKAGE_STRING='GPXView 0.8.10' |
PACKAGE_STRING='GPXView 0.9.2' |
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 |
|
# Factoring default headers for most tests. |
605 |
|
ac_includes_default="\ |
606 |
|
#include <stdio.h> |
607 |
|
#ifdef HAVE_SYS_TYPES_H |
608 |
|
# include <sys/types.h> |
609 |
|
#endif |
610 |
|
#ifdef HAVE_SYS_STAT_H |
611 |
|
# include <sys/stat.h> |
612 |
|
#endif |
613 |
|
#ifdef STDC_HEADERS |
614 |
|
# include <stdlib.h> |
615 |
|
# include <stddef.h> |
616 |
|
#else |
617 |
|
# ifdef HAVE_STDLIB_H |
618 |
|
# include <stdlib.h> |
619 |
|
# endif |
620 |
|
#endif |
621 |
|
#ifdef HAVE_STRING_H |
622 |
|
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
623 |
|
# include <memory.h> |
624 |
|
# endif |
625 |
|
# include <string.h> |
626 |
|
#endif |
627 |
|
#ifdef HAVE_STRINGS_H |
628 |
|
# include <strings.h> |
629 |
|
#endif |
630 |
|
#ifdef HAVE_INTTYPES_H |
631 |
|
# include <inttypes.h> |
632 |
|
#endif |
633 |
|
#ifdef HAVE_STDINT_H |
634 |
|
# include <stdint.h> |
635 |
|
#endif |
636 |
|
#ifdef HAVE_UNISTD_H |
637 |
|
# include <unistd.h> |
638 |
|
#endif" |
639 |
|
|
640 |
ac_subst_vars='LTLIBOBJS |
ac_subst_vars='LTLIBOBJS |
641 |
LIBOBJS |
LIBOBJS |
642 |
INSTALL_PLATTFORM |
INSTALL_PLATTFORM |
646 |
gnome2_CFLAGS |
gnome2_CFLAGS |
647 |
gtk_LIBS |
gtk_LIBS |
648 |
gtk_CFLAGS |
gtk_CFLAGS |
649 |
|
EGREP |
650 |
|
GREP |
651 |
|
CPP |
652 |
|
MAEMO_VERSION_MAJOR |
653 |
liblocation_LIBS |
liblocation_LIBS |
654 |
liblocation_CFLAGS |
liblocation_CFLAGS |
655 |
gpsbt_LIBS |
gpsbt_LIBS |
672 |
libsoup22_CFLAGS |
libsoup22_CFLAGS |
673 |
libsoup24_LIBS |
libsoup24_LIBS |
674 |
libsoup24_CFLAGS |
libsoup24_CFLAGS |
675 |
|
libcurl_LIBS |
676 |
|
libcurl_CFLAGS |
677 |
libxml2_LIBS |
libxml2_LIBS |
678 |
libxml2_CFLAGS |
libxml2_CFLAGS |
679 |
gnome_vfs_module_LIBS |
gnome_vfs_module_LIBS |
746 |
gnome_vfs_module_LIBS |
gnome_vfs_module_LIBS |
747 |
libxml2_CFLAGS |
libxml2_CFLAGS |
748 |
libxml2_LIBS |
libxml2_LIBS |
749 |
|
libcurl_CFLAGS |
750 |
|
libcurl_LIBS |
751 |
libsoup24_CFLAGS |
libsoup24_CFLAGS |
752 |
libsoup24_LIBS |
libsoup24_LIBS |
753 |
libsoup22_CFLAGS |
libsoup22_CFLAGS |
770 |
gpsbt_LIBS |
gpsbt_LIBS |
771 |
liblocation_CFLAGS |
liblocation_CFLAGS |
772 |
liblocation_LIBS |
liblocation_LIBS |
773 |
|
CPP |
774 |
gtk_CFLAGS |
gtk_CFLAGS |
775 |
gtk_LIBS |
gtk_LIBS |
776 |
gnome2_CFLAGS |
gnome2_CFLAGS |
1327 |
# Omit some internal or obsolete options to make the list less imposing. |
# Omit some internal or obsolete options to make the list less imposing. |
1328 |
# 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. |
1329 |
cat <<_ACEOF |
cat <<_ACEOF |
1330 |
\`configure' configures GPXView 0.8.10 to adapt to many kinds of systems. |
\`configure' configures GPXView 0.9.2 to adapt to many kinds of systems. |
1331 |
|
|
1332 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
1333 |
|
|
1388 |
|
|
1389 |
if test -n "$ac_init_help"; then |
if test -n "$ac_init_help"; then |
1390 |
case $ac_init_help in |
case $ac_init_help in |
1391 |
short | recursive ) echo "Configuration of GPXView 0.8.10:";; |
short | recursive ) echo "Configuration of GPXView 0.9.2:";; |
1392 |
esac |
esac |
1393 |
cat <<\_ACEOF |
cat <<\_ACEOF |
1394 |
|
|
1409 |
C compiler flags for libxml2, overriding pkg-config |
C compiler flags for libxml2, overriding pkg-config |
1410 |
libxml2_LIBS |
libxml2_LIBS |
1411 |
linker flags for libxml2, overriding pkg-config |
linker flags for libxml2, overriding pkg-config |
1412 |
|
libcurl_CFLAGS |
1413 |
|
C compiler flags for libcurl, overriding pkg-config |
1414 |
|
libcurl_LIBS |
1415 |
|
linker flags for libcurl, overriding pkg-config |
1416 |
libsoup24_CFLAGS |
libsoup24_CFLAGS |
1417 |
C compiler flags for libsoup24, overriding pkg-config |
C compiler flags for libsoup24, overriding pkg-config |
1418 |
libsoup24_LIBS |
libsoup24_LIBS |
1453 |
C compiler flags for liblocation, overriding pkg-config |
C compiler flags for liblocation, overriding pkg-config |
1454 |
liblocation_LIBS |
liblocation_LIBS |
1455 |
linker flags for liblocation, overriding pkg-config |
linker flags for liblocation, overriding pkg-config |
1456 |
|
CPP C preprocessor |
1457 |
gtk_CFLAGS C compiler flags for gtk, overriding pkg-config |
gtk_CFLAGS C compiler flags for gtk, overriding pkg-config |
1458 |
gtk_LIBS linker flags for gtk, overriding pkg-config |
gtk_LIBS linker flags for gtk, overriding pkg-config |
1459 |
gnome2_CFLAGS |
gnome2_CFLAGS |
1526 |
test -n "$ac_init_help" && exit $ac_status |
test -n "$ac_init_help" && exit $ac_status |
1527 |
if $ac_init_version; then |
if $ac_init_version; then |
1528 |
cat <<\_ACEOF |
cat <<\_ACEOF |
1529 |
GPXView configure 0.8.10 |
GPXView configure 0.9.2 |
1530 |
generated by GNU Autoconf 2.63 |
generated by GNU Autoconf 2.63 |
1531 |
|
|
1532 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1540 |
This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
1541 |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
1542 |
|
|
1543 |
It was created by GPXView $as_me 0.8.10, which was |
It was created by GPXView $as_me 0.9.2, which was |
1544 |
generated by GNU Autoconf 2.63. Invocation command line was |
generated by GNU Autoconf 2.63. Invocation command line was |
1545 |
|
|
1546 |
$ $0 $@ |
$ $0 $@ |
3309 |
fi |
fi |
3310 |
CFLAGS="$CFLAGS $libxml2_CFLAGS" |
CFLAGS="$CFLAGS $libxml2_CFLAGS" |
3311 |
LIBS="$LIBS $libxml2_LIBS" |
LIBS="$LIBS $libxml2_LIBS" |
3312 |
|
|
3313 |
|
# check for libcurl |
3314 |
|
|
3315 |
|
pkg_failed=no |
3316 |
|
{ $as_echo "$as_me:$LINENO: checking for libcurl" >&5 |
3317 |
|
$as_echo_n "checking for libcurl... " >&6; } |
3318 |
|
|
3319 |
|
if test -n "$PKG_CONFIG"; then |
3320 |
|
if test -n "$libcurl_CFLAGS"; then |
3321 |
|
pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS" |
3322 |
|
else |
3323 |
|
if test -n "$PKG_CONFIG" && \ |
3324 |
|
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5 |
3325 |
|
($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
3326 |
|
ac_status=$? |
3327 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3328 |
|
(exit $ac_status); }; then |
3329 |
|
pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null` |
3330 |
|
else |
3331 |
|
pkg_failed=yes |
3332 |
|
fi |
3333 |
|
fi |
3334 |
|
else |
3335 |
|
pkg_failed=untried |
3336 |
|
fi |
3337 |
|
if test -n "$PKG_CONFIG"; then |
3338 |
|
if test -n "$libcurl_LIBS"; then |
3339 |
|
pkg_cv_libcurl_LIBS="$libcurl_LIBS" |
3340 |
|
else |
3341 |
|
if test -n "$PKG_CONFIG" && \ |
3342 |
|
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5 |
3343 |
|
($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
3344 |
|
ac_status=$? |
3345 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3346 |
|
(exit $ac_status); }; then |
3347 |
|
pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null` |
3348 |
|
else |
3349 |
|
pkg_failed=yes |
3350 |
|
fi |
3351 |
|
fi |
3352 |
|
else |
3353 |
|
pkg_failed=untried |
3354 |
|
fi |
3355 |
|
|
3356 |
|
|
3357 |
|
|
3358 |
|
if test $pkg_failed = yes; then |
3359 |
|
|
3360 |
|
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
3361 |
|
_pkg_short_errors_supported=yes |
3362 |
|
else |
3363 |
|
_pkg_short_errors_supported=no |
3364 |
|
fi |
3365 |
|
if test $_pkg_short_errors_supported = yes; then |
3366 |
|
libcurl_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl"` |
3367 |
|
else |
3368 |
|
libcurl_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl"` |
3369 |
|
fi |
3370 |
|
# Put the nasty error message in config.log where it belongs |
3371 |
|
echo "$libcurl_PKG_ERRORS" >&5 |
3372 |
|
|
3373 |
|
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3374 |
|
$as_echo "no" >&6; } |
3375 |
|
{ { $as_echo "$as_me:$LINENO: error: libcurl missing" >&5 |
3376 |
|
$as_echo "$as_me: error: libcurl missing" >&2;} |
3377 |
|
{ (exit 1); exit 1; }; } |
3378 |
|
elif test $pkg_failed = untried; then |
3379 |
|
{ { $as_echo "$as_me:$LINENO: error: libcurl missing" >&5 |
3380 |
|
$as_echo "$as_me: error: libcurl missing" >&2;} |
3381 |
|
{ (exit 1); exit 1; }; } |
3382 |
|
else |
3383 |
|
libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS |
3384 |
|
libcurl_LIBS=$pkg_cv_libcurl_LIBS |
3385 |
|
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
3386 |
|
$as_echo "yes" >&6; } |
3387 |
|
: |
3388 |
|
fi |
3389 |
|
CFLAGS="$CFLAGS $libcurl_CFLAGS" |
3390 |
|
LIBS="$LIBS $libcurl_LIBS" |
3391 |
|
|
3392 |
# check for libsoup |
# check for libsoup |
3393 |
|
|
3394 |
pkg_failed=no |
pkg_failed=no |
3869 |
# check for maemo |
# check for maemo |
3870 |
{ $as_echo "$as_me:$LINENO: checking for Maemo" >&5 |
{ $as_echo "$as_me:$LINENO: checking for Maemo" >&5 |
3871 |
$as_echo_n "checking for Maemo... " >&6; } |
$as_echo_n "checking for Maemo... " >&6; } |
3872 |
if test -n "$PKG_CONFIG" && \ |
|
3873 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5 |
ac_ext=c |
3874 |
($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5 |
ac_cpp='$CPP $CPPFLAGS' |
3875 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3876 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3877 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3878 |
|
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3879 |
|
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
3880 |
|
# On Suns, sometimes $CPP names a directory. |
3881 |
|
if test -n "$CPP" && test -d "$CPP"; then |
3882 |
|
CPP= |
3883 |
|
fi |
3884 |
|
if test -z "$CPP"; then |
3885 |
|
if test "${ac_cv_prog_CPP+set}" = set; then |
3886 |
|
$as_echo_n "(cached) " >&6 |
3887 |
|
else |
3888 |
|
# Double quotes because CPP needs to be expanded |
3889 |
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3890 |
|
do |
3891 |
|
ac_preproc_ok=false |
3892 |
|
for ac_c_preproc_warn_flag in '' yes |
3893 |
|
do |
3894 |
|
# Use a header file that comes with gcc, so configuring glibc |
3895 |
|
# with a fresh cross-compiler works. |
3896 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3897 |
|
# <limits.h> exists even on freestanding compilers. |
3898 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
3899 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
3900 |
|
cat >conftest.$ac_ext <<_ACEOF |
3901 |
|
/* confdefs.h. */ |
3902 |
|
_ACEOF |
3903 |
|
cat confdefs.h >>conftest.$ac_ext |
3904 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3905 |
|
/* end confdefs.h. */ |
3906 |
|
#ifdef __STDC__ |
3907 |
|
# include <limits.h> |
3908 |
|
#else |
3909 |
|
# include <assert.h> |
3910 |
|
#endif |
3911 |
|
Syntax error |
3912 |
|
_ACEOF |
3913 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
3914 |
|
case "(($ac_try" in |
3915 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3916 |
|
*) ac_try_echo=$ac_try;; |
3917 |
|
esac |
3918 |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3919 |
|
$as_echo "$ac_try_echo") >&5 |
3920 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3921 |
ac_status=$? |
ac_status=$? |
3922 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3923 |
|
rm -f conftest.er1 |
3924 |
|
cat conftest.err >&5 |
3925 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3926 |
(exit $ac_status); }; then |
(exit $ac_status); } >/dev/null && { |
3927 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3928 |
MAEMO="yes" |
test ! -s conftest.err |
3929 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
}; then |
3930 |
$as_echo "yes" >&6; } |
: |
3931 |
|
else |
3932 |
|
$as_echo "$as_me: failed program was:" >&5 |
3933 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3934 |
|
|
3935 |
|
# Broken: fails on valid input. |
3936 |
|
continue |
3937 |
|
fi |
3938 |
|
|
3939 |
pkg_failed=no |
rm -f conftest.err conftest.$ac_ext |
|
{ $as_echo "$as_me:$LINENO: checking for hildon" >&5 |
|
|
$as_echo_n "checking for hildon... " >&6; } |
|
3940 |
|
|
3941 |
if test -n "$PKG_CONFIG"; then |
# OK, works on sane cases. Now check whether nonexistent headers |
3942 |
if test -n "$hildon_CFLAGS"; then |
# can be detected and how. |
3943 |
pkg_cv_hildon_CFLAGS="$hildon_CFLAGS" |
cat >conftest.$ac_ext <<_ACEOF |
3944 |
else |
/* confdefs.h. */ |
3945 |
if test -n "$PKG_CONFIG" && \ |
_ACEOF |
3946 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5 |
cat confdefs.h >>conftest.$ac_ext |
3947 |
($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5 |
cat >>conftest.$ac_ext <<_ACEOF |
3948 |
|
/* end confdefs.h. */ |
3949 |
|
#include <ac_nonexistent.h> |
3950 |
|
_ACEOF |
3951 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
3952 |
|
case "(($ac_try" in |
3953 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3954 |
|
*) ac_try_echo=$ac_try;; |
3955 |
|
esac |
3956 |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3957 |
|
$as_echo "$ac_try_echo") >&5 |
3958 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3959 |
ac_status=$? |
ac_status=$? |
3960 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3961 |
|
rm -f conftest.er1 |
3962 |
|
cat conftest.err >&5 |
3963 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3964 |
(exit $ac_status); }; then |
(exit $ac_status); } >/dev/null && { |
3965 |
pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null` |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3966 |
|
test ! -s conftest.err |
3967 |
|
}; then |
3968 |
|
# Broken: success on invalid input. |
3969 |
|
continue |
3970 |
else |
else |
3971 |
pkg_failed=yes |
$as_echo "$as_me: failed program was:" >&5 |
3972 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3973 |
|
|
3974 |
|
# Passes both tests. |
3975 |
|
ac_preproc_ok=: |
3976 |
|
break |
3977 |
fi |
fi |
3978 |
fi |
|
3979 |
|
rm -f conftest.err conftest.$ac_ext |
3980 |
|
|
3981 |
|
done |
3982 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3983 |
|
rm -f conftest.err conftest.$ac_ext |
3984 |
|
if $ac_preproc_ok; then |
3985 |
|
break |
3986 |
|
fi |
3987 |
|
|
3988 |
|
done |
3989 |
|
ac_cv_prog_CPP=$CPP |
3990 |
|
|
3991 |
|
fi |
3992 |
|
CPP=$ac_cv_prog_CPP |
3993 |
else |
else |
3994 |
pkg_failed=untried |
ac_cv_prog_CPP=$CPP |
3995 |
fi |
fi |
3996 |
if test -n "$PKG_CONFIG"; then |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
3997 |
if test -n "$hildon_LIBS"; then |
$as_echo "$CPP" >&6; } |
3998 |
pkg_cv_hildon_LIBS="$hildon_LIBS" |
ac_preproc_ok=false |
3999 |
else |
for ac_c_preproc_warn_flag in '' yes |
4000 |
if test -n "$PKG_CONFIG" && \ |
do |
4001 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5 |
# Use a header file that comes with gcc, so configuring glibc |
4002 |
($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5 |
# with a fresh cross-compiler works. |
4003 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4004 |
|
# <limits.h> exists even on freestanding compilers. |
4005 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4006 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4007 |
|
cat >conftest.$ac_ext <<_ACEOF |
4008 |
|
/* confdefs.h. */ |
4009 |
|
_ACEOF |
4010 |
|
cat confdefs.h >>conftest.$ac_ext |
4011 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4012 |
|
/* end confdefs.h. */ |
4013 |
|
#ifdef __STDC__ |
4014 |
|
# include <limits.h> |
4015 |
|
#else |
4016 |
|
# include <assert.h> |
4017 |
|
#endif |
4018 |
|
Syntax error |
4019 |
|
_ACEOF |
4020 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
4021 |
|
case "(($ac_try" in |
4022 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4023 |
|
*) ac_try_echo=$ac_try;; |
4024 |
|
esac |
4025 |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4026 |
|
$as_echo "$ac_try_echo") >&5 |
4027 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4028 |
ac_status=$? |
ac_status=$? |
4029 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4030 |
|
rm -f conftest.er1 |
4031 |
|
cat conftest.err >&5 |
4032 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4033 |
(exit $ac_status); }; then |
(exit $ac_status); } >/dev/null && { |
4034 |
pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null` |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
4035 |
else |
test ! -s conftest.err |
4036 |
pkg_failed=yes |
}; then |
4037 |
fi |
: |
|
fi |
|
4038 |
else |
else |
4039 |
pkg_failed=untried |
$as_echo "$as_me: failed program was:" >&5 |
4040 |
fi |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
4041 |
|
|
4042 |
|
# Broken: fails on valid input. |
4043 |
|
continue |
4044 |
|
fi |
4045 |
|
|
4046 |
if test $pkg_failed = yes; then |
rm -f conftest.err conftest.$ac_ext |
4047 |
|
|
4048 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
# OK, works on sane cases. Now check whether nonexistent headers |
4049 |
_pkg_short_errors_supported=yes |
# can be detected and how. |
4050 |
|
cat >conftest.$ac_ext <<_ACEOF |
4051 |
|
/* confdefs.h. */ |
4052 |
|
_ACEOF |
4053 |
|
cat confdefs.h >>conftest.$ac_ext |
4054 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4055 |
|
/* end confdefs.h. */ |
4056 |
|
#include <ac_nonexistent.h> |
4057 |
|
_ACEOF |
4058 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
4059 |
|
case "(($ac_try" in |
4060 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4061 |
|
*) ac_try_echo=$ac_try;; |
4062 |
|
esac |
4063 |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4064 |
|
$as_echo "$ac_try_echo") >&5 |
4065 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4066 |
|
ac_status=$? |
4067 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4068 |
|
rm -f conftest.er1 |
4069 |
|
cat conftest.err >&5 |
4070 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4071 |
|
(exit $ac_status); } >/dev/null && { |
4072 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
4073 |
|
test ! -s conftest.err |
4074 |
|
}; then |
4075 |
|
# Broken: success on invalid input. |
4076 |
|
continue |
4077 |
else |
else |
4078 |
_pkg_short_errors_supported=no |
$as_echo "$as_me: failed program was:" >&5 |
4079 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4080 |
|
|
4081 |
|
# Passes both tests. |
4082 |
|
ac_preproc_ok=: |
4083 |
|
break |
4084 |
fi |
fi |
|
if test $_pkg_short_errors_supported = yes; then |
|
|
hildon_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1"` |
|
|
else |
|
|
hildon_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1"` |
|
|
fi |
|
|
# Put the nasty error message in config.log where it belongs |
|
|
echo "$hildon_PKG_ERRORS" >&5 |
|
4085 |
|
|
4086 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
rm -f conftest.err conftest.$ac_ext |
4087 |
$as_echo "no" >&6; } |
|
4088 |
{ { $as_echo "$as_me:$LINENO: error: hildon-1 missing" >&5 |
done |
4089 |
$as_echo "$as_me: error: hildon-1 missing" >&2;} |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4090 |
{ (exit 1); exit 1; }; } |
rm -f conftest.err conftest.$ac_ext |
4091 |
elif test $pkg_failed = untried; then |
if $ac_preproc_ok; then |
4092 |
{ { $as_echo "$as_me:$LINENO: error: hildon-1 missing" >&5 |
: |
|
$as_echo "$as_me: error: hildon-1 missing" >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
4093 |
else |
else |
4094 |
hildon_CFLAGS=$pkg_cv_hildon_CFLAGS |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
4095 |
hildon_LIBS=$pkg_cv_hildon_LIBS |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4096 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
4097 |
$as_echo "yes" >&6; } |
See \`config.log' for more details." >&5 |
4098 |
: |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
4099 |
|
See \`config.log' for more details." >&2;} |
4100 |
|
{ (exit 1); exit 1; }; }; } |
4101 |
fi |
fi |
|
CFLAGS="$CFLAGS -DUSE_MAEMO $hildon_CFLAGS" |
|
|
LIBS="$LIBS $hildon_LIBS" |
|
4102 |
|
|
4103 |
|
ac_ext=c |
4104 |
|
ac_cpp='$CPP $CPPFLAGS' |
4105 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4106 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4107 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4108 |
|
|
|
pkg_failed=no |
|
|
{ $as_echo "$as_me:$LINENO: checking for osso" >&5 |
|
|
$as_echo_n "checking for osso... " >&6; } |
|
4109 |
|
|
4110 |
if test -n "$PKG_CONFIG"; then |
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
4111 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4112 |
|
if test "${ac_cv_path_GREP+set}" = set; then |
4113 |
|
$as_echo_n "(cached) " >&6 |
4114 |
|
else |
4115 |
|
if test -z "$GREP"; then |
4116 |
|
ac_path_GREP_found=false |
4117 |
|
# Loop through the user's path and test for each of PROGNAME-LIST |
4118 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4119 |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4120 |
|
do |
4121 |
|
IFS=$as_save_IFS |
4122 |
|
test -z "$as_dir" && as_dir=. |
4123 |
|
for ac_prog in grep ggrep; do |
4124 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4125 |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4126 |
|
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4127 |
|
# Check for GNU ac_path_GREP and select it if it is found. |
4128 |
|
# Check for GNU $ac_path_GREP |
4129 |
|
case `"$ac_path_GREP" --version 2>&1` in |
4130 |
|
*GNU*) |
4131 |
|
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
4132 |
|
*) |
4133 |
|
ac_count=0 |
4134 |
|
$as_echo_n 0123456789 >"conftest.in" |
4135 |
|
while : |
4136 |
|
do |
4137 |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
4138 |
|
mv "conftest.tmp" "conftest.in" |
4139 |
|
cp "conftest.in" "conftest.nl" |
4140 |
|
$as_echo 'GREP' >> "conftest.nl" |
4141 |
|
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4142 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4143 |
|
ac_count=`expr $ac_count + 1` |
4144 |
|
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
4145 |
|
# Best one so far, save it but keep looking for a better one |
4146 |
|
ac_cv_path_GREP="$ac_path_GREP" |
4147 |
|
ac_path_GREP_max=$ac_count |
4148 |
|
fi |
4149 |
|
# 10*(2^10) chars as input seems more than enough |
4150 |
|
test $ac_count -gt 10 && break |
4151 |
|
done |
4152 |
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4153 |
|
esac |
4154 |
|
|
4155 |
|
$ac_path_GREP_found && break 3 |
4156 |
|
done |
4157 |
|
done |
4158 |
|
done |
4159 |
|
IFS=$as_save_IFS |
4160 |
|
if test -z "$ac_cv_path_GREP"; then |
4161 |
|
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
4162 |
|
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
4163 |
|
{ (exit 1); exit 1; }; } |
4164 |
|
fi |
4165 |
|
else |
4166 |
|
ac_cv_path_GREP=$GREP |
4167 |
|
fi |
4168 |
|
|
4169 |
|
fi |
4170 |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
4171 |
|
$as_echo "$ac_cv_path_GREP" >&6; } |
4172 |
|
GREP="$ac_cv_path_GREP" |
4173 |
|
|
4174 |
|
|
4175 |
|
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
4176 |
|
$as_echo_n "checking for egrep... " >&6; } |
4177 |
|
if test "${ac_cv_path_EGREP+set}" = set; then |
4178 |
|
$as_echo_n "(cached) " >&6 |
4179 |
|
else |
4180 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4181 |
|
then ac_cv_path_EGREP="$GREP -E" |
4182 |
|
else |
4183 |
|
if test -z "$EGREP"; then |
4184 |
|
ac_path_EGREP_found=false |
4185 |
|
# Loop through the user's path and test for each of PROGNAME-LIST |
4186 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4187 |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4188 |
|
do |
4189 |
|
IFS=$as_save_IFS |
4190 |
|
test -z "$as_dir" && as_dir=. |
4191 |
|
for ac_prog in egrep; do |
4192 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4193 |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4194 |
|
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4195 |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
4196 |
|
# Check for GNU $ac_path_EGREP |
4197 |
|
case `"$ac_path_EGREP" --version 2>&1` in |
4198 |
|
*GNU*) |
4199 |
|
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
4200 |
|
*) |
4201 |
|
ac_count=0 |
4202 |
|
$as_echo_n 0123456789 >"conftest.in" |
4203 |
|
while : |
4204 |
|
do |
4205 |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
4206 |
|
mv "conftest.tmp" "conftest.in" |
4207 |
|
cp "conftest.in" "conftest.nl" |
4208 |
|
$as_echo 'EGREP' >> "conftest.nl" |
4209 |
|
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4210 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4211 |
|
ac_count=`expr $ac_count + 1` |
4212 |
|
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4213 |
|
# Best one so far, save it but keep looking for a better one |
4214 |
|
ac_cv_path_EGREP="$ac_path_EGREP" |
4215 |
|
ac_path_EGREP_max=$ac_count |
4216 |
|
fi |
4217 |
|
# 10*(2^10) chars as input seems more than enough |
4218 |
|
test $ac_count -gt 10 && break |
4219 |
|
done |
4220 |
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4221 |
|
esac |
4222 |
|
|
4223 |
|
$ac_path_EGREP_found && break 3 |
4224 |
|
done |
4225 |
|
done |
4226 |
|
done |
4227 |
|
IFS=$as_save_IFS |
4228 |
|
if test -z "$ac_cv_path_EGREP"; then |
4229 |
|
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
4230 |
|
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
4231 |
|
{ (exit 1); exit 1; }; } |
4232 |
|
fi |
4233 |
|
else |
4234 |
|
ac_cv_path_EGREP=$EGREP |
4235 |
|
fi |
4236 |
|
|
4237 |
|
fi |
4238 |
|
fi |
4239 |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
4240 |
|
$as_echo "$ac_cv_path_EGREP" >&6; } |
4241 |
|
EGREP="$ac_cv_path_EGREP" |
4242 |
|
|
4243 |
|
|
4244 |
|
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4245 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
4246 |
|
if test "${ac_cv_header_stdc+set}" = set; then |
4247 |
|
$as_echo_n "(cached) " >&6 |
4248 |
|
else |
4249 |
|
cat >conftest.$ac_ext <<_ACEOF |
4250 |
|
/* confdefs.h. */ |
4251 |
|
_ACEOF |
4252 |
|
cat confdefs.h >>conftest.$ac_ext |
4253 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4254 |
|
/* end confdefs.h. */ |
4255 |
|
#include <stdlib.h> |
4256 |
|
#include <stdarg.h> |
4257 |
|
#include <string.h> |
4258 |
|
#include <float.h> |
4259 |
|
|
4260 |
|
int |
4261 |
|
main () |
4262 |
|
{ |
4263 |
|
|
4264 |
|
; |
4265 |
|
return 0; |
4266 |
|
} |
4267 |
|
_ACEOF |
4268 |
|
rm -f conftest.$ac_objext |
4269 |
|
if { (ac_try="$ac_compile" |
4270 |
|
case "(($ac_try" in |
4271 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4272 |
|
*) ac_try_echo=$ac_try;; |
4273 |
|
esac |
4274 |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4275 |
|
$as_echo "$ac_try_echo") >&5 |
4276 |
|
(eval "$ac_compile") 2>conftest.er1 |
4277 |
|
ac_status=$? |
4278 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4279 |
|
rm -f conftest.er1 |
4280 |
|
cat conftest.err >&5 |
4281 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4282 |
|
(exit $ac_status); } && { |
4283 |
|
test -z "$ac_c_werror_flag" || |
4284 |
|
test ! -s conftest.err |
4285 |
|
} && test -s conftest.$ac_objext; then |
4286 |
|
ac_cv_header_stdc=yes |
4287 |
|
else |
4288 |
|
$as_echo "$as_me: failed program was:" >&5 |
4289 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4290 |
|
|
4291 |
|
ac_cv_header_stdc=no |
4292 |
|
fi |
4293 |
|
|
4294 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4295 |
|
|
4296 |
|
if test $ac_cv_header_stdc = yes; then |
4297 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4298 |
|
cat >conftest.$ac_ext <<_ACEOF |
4299 |
|
/* confdefs.h. */ |
4300 |
|
_ACEOF |
4301 |
|
cat confdefs.h >>conftest.$ac_ext |
4302 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4303 |
|
/* end confdefs.h. */ |
4304 |
|
#include <string.h> |
4305 |
|
|
4306 |
|
_ACEOF |
4307 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4308 |
|
$EGREP "memchr" >/dev/null 2>&1; then |
4309 |
|
: |
4310 |
|
else |
4311 |
|
ac_cv_header_stdc=no |
4312 |
|
fi |
4313 |
|
rm -f conftest* |
4314 |
|
|
4315 |
|
fi |
4316 |
|
|
4317 |
|
if test $ac_cv_header_stdc = yes; then |
4318 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4319 |
|
cat >conftest.$ac_ext <<_ACEOF |
4320 |
|
/* confdefs.h. */ |
4321 |
|
_ACEOF |
4322 |
|
cat confdefs.h >>conftest.$ac_ext |
4323 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4324 |
|
/* end confdefs.h. */ |
4325 |
|
#include <stdlib.h> |
4326 |
|
|
4327 |
|
_ACEOF |
4328 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4329 |
|
$EGREP "free" >/dev/null 2>&1; then |
4330 |
|
: |
4331 |
|
else |
4332 |
|
ac_cv_header_stdc=no |
4333 |
|
fi |
4334 |
|
rm -f conftest* |
4335 |
|
|
4336 |
|
fi |
4337 |
|
|
4338 |
|
if test $ac_cv_header_stdc = yes; then |
4339 |
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4340 |
|
if test "$cross_compiling" = yes; then |
4341 |
|
: |
4342 |
|
else |
4343 |
|
cat >conftest.$ac_ext <<_ACEOF |
4344 |
|
/* confdefs.h. */ |
4345 |
|
_ACEOF |
4346 |
|
cat confdefs.h >>conftest.$ac_ext |
4347 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4348 |
|
/* end confdefs.h. */ |
4349 |
|
#include <ctype.h> |
4350 |
|
#include <stdlib.h> |
4351 |
|
#if ((' ' & 0x0FF) == 0x020) |
4352 |
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4353 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4354 |
|
#else |
4355 |
|
# define ISLOWER(c) \ |
4356 |
|
(('a' <= (c) && (c) <= 'i') \ |
4357 |
|
|| ('j' <= (c) && (c) <= 'r') \ |
4358 |
|
|| ('s' <= (c) && (c) <= 'z')) |
4359 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4360 |
|
#endif |
4361 |
|
|
4362 |
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
4363 |
|
int |
4364 |
|
main () |
4365 |
|
{ |
4366 |
|
int i; |
4367 |
|
for (i = 0; i < 256; i++) |
4368 |
|
if (XOR (islower (i), ISLOWER (i)) |
4369 |
|
|| toupper (i) != TOUPPER (i)) |
4370 |
|
return 2; |
4371 |
|
return 0; |
4372 |
|
} |
4373 |
|
_ACEOF |
4374 |
|
rm -f conftest$ac_exeext |
4375 |
|
if { (ac_try="$ac_link" |
4376 |
|
case "(($ac_try" in |
4377 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4378 |
|
*) ac_try_echo=$ac_try;; |
4379 |
|
esac |
4380 |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4381 |
|
$as_echo "$ac_try_echo") >&5 |
4382 |
|
(eval "$ac_link") 2>&5 |
4383 |
|
ac_status=$? |
4384 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4385 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4386 |
|
{ (case "(($ac_try" in |
4387 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4388 |
|
*) ac_try_echo=$ac_try;; |
4389 |
|
esac |
4390 |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4391 |
|
$as_echo "$ac_try_echo") >&5 |
4392 |
|
(eval "$ac_try") 2>&5 |
4393 |
|
ac_status=$? |
4394 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4395 |
|
(exit $ac_status); }; }; then |
4396 |
|
: |
4397 |
|
else |
4398 |
|
$as_echo "$as_me: program exited with status $ac_status" >&5 |
4399 |
|
$as_echo "$as_me: failed program was:" >&5 |
4400 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4401 |
|
|
4402 |
|
( exit $ac_status ) |
4403 |
|
ac_cv_header_stdc=no |
4404 |
|
fi |
4405 |
|
rm -rf conftest.dSYM |
4406 |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4407 |
|
fi |
4408 |
|
|
4409 |
|
|
4410 |
|
fi |
4411 |
|
fi |
4412 |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
4413 |
|
$as_echo "$ac_cv_header_stdc" >&6; } |
4414 |
|
if test $ac_cv_header_stdc = yes; then |
4415 |
|
|
4416 |
|
cat >>confdefs.h <<\_ACEOF |
4417 |
|
#define STDC_HEADERS 1 |
4418 |
|
_ACEOF |
4419 |
|
|
4420 |
|
fi |
4421 |
|
|
4422 |
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
4423 |
|
|
4424 |
|
|
4425 |
|
|
4426 |
|
|
4427 |
|
|
4428 |
|
|
4429 |
|
|
4430 |
|
|
4431 |
|
|
4432 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4433 |
|
inttypes.h stdint.h unistd.h |
4434 |
|
do |
4435 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4436 |
|
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4437 |
|
$as_echo_n "checking for $ac_header... " >&6; } |
4438 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4439 |
|
$as_echo_n "(cached) " >&6 |
4440 |
|
else |
4441 |
|
cat >conftest.$ac_ext <<_ACEOF |
4442 |
|
/* confdefs.h. */ |
4443 |
|
_ACEOF |
4444 |
|
cat confdefs.h >>conftest.$ac_ext |
4445 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4446 |
|
/* end confdefs.h. */ |
4447 |
|
$ac_includes_default |
4448 |
|
|
4449 |
|
#include <$ac_header> |
4450 |
|
_ACEOF |
4451 |
|
rm -f conftest.$ac_objext |
4452 |
|
if { (ac_try="$ac_compile" |
4453 |
|
case "(($ac_try" in |
4454 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4455 |
|
*) ac_try_echo=$ac_try;; |
4456 |
|
esac |
4457 |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4458 |
|
$as_echo "$ac_try_echo") >&5 |
4459 |
|
(eval "$ac_compile") 2>conftest.er1 |
4460 |
|
ac_status=$? |
4461 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4462 |
|
rm -f conftest.er1 |
4463 |
|
cat conftest.err >&5 |
4464 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4465 |
|
(exit $ac_status); } && { |
4466 |
|
test -z "$ac_c_werror_flag" || |
4467 |
|
test ! -s conftest.err |
4468 |
|
} && test -s conftest.$ac_objext; then |
4469 |
|
eval "$as_ac_Header=yes" |
4470 |
|
else |
4471 |
|
$as_echo "$as_me: failed program was:" >&5 |
4472 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4473 |
|
|
4474 |
|
eval "$as_ac_Header=no" |
4475 |
|
fi |
4476 |
|
|
4477 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4478 |
|
fi |
4479 |
|
ac_res=`eval 'as_val=${'$as_ac_Header'} |
4480 |
|
$as_echo "$as_val"'` |
4481 |
|
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
4482 |
|
$as_echo "$ac_res" >&6; } |
4483 |
|
as_val=`eval 'as_val=${'$as_ac_Header'} |
4484 |
|
$as_echo "$as_val"'` |
4485 |
|
if test "x$as_val" = x""yes; then |
4486 |
|
cat >>confdefs.h <<_ACEOF |
4487 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4488 |
|
_ACEOF |
4489 |
|
|
4490 |
|
fi |
4491 |
|
|
4492 |
|
done |
4493 |
|
|
4494 |
|
|
4495 |
|
if test -n "$PKG_CONFIG" && \ |
4496 |
|
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5 |
4497 |
|
($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5 |
4498 |
|
ac_status=$? |
4499 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4500 |
|
(exit $ac_status); }; then |
4501 |
|
|
4502 |
|
MAEMO="yes" |
4503 |
|
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
4504 |
|
$as_echo "yes" >&6; } |
4505 |
|
|
4506 |
|
|
4507 |
|
pkg_failed=no |
4508 |
|
{ $as_echo "$as_me:$LINENO: checking for hildon" >&5 |
4509 |
|
$as_echo_n "checking for hildon... " >&6; } |
4510 |
|
|
4511 |
|
if test -n "$PKG_CONFIG"; then |
4512 |
|
if test -n "$hildon_CFLAGS"; then |
4513 |
|
pkg_cv_hildon_CFLAGS="$hildon_CFLAGS" |
4514 |
|
else |
4515 |
|
if test -n "$PKG_CONFIG" && \ |
4516 |
|
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5 |
4517 |
|
($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5 |
4518 |
|
ac_status=$? |
4519 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4520 |
|
(exit $ac_status); }; then |
4521 |
|
pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null` |
4522 |
|
else |
4523 |
|
pkg_failed=yes |
4524 |
|
fi |
4525 |
|
fi |
4526 |
|
else |
4527 |
|
pkg_failed=untried |
4528 |
|
fi |
4529 |
|
if test -n "$PKG_CONFIG"; then |
4530 |
|
if test -n "$hildon_LIBS"; then |
4531 |
|
pkg_cv_hildon_LIBS="$hildon_LIBS" |
4532 |
|
else |
4533 |
|
if test -n "$PKG_CONFIG" && \ |
4534 |
|
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5 |
4535 |
|
($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5 |
4536 |
|
ac_status=$? |
4537 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4538 |
|
(exit $ac_status); }; then |
4539 |
|
pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null` |
4540 |
|
else |
4541 |
|
pkg_failed=yes |
4542 |
|
fi |
4543 |
|
fi |
4544 |
|
else |
4545 |
|
pkg_failed=untried |
4546 |
|
fi |
4547 |
|
|
4548 |
|
|
4549 |
|
|
4550 |
|
if test $pkg_failed = yes; then |
4551 |
|
|
4552 |
|
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
4553 |
|
_pkg_short_errors_supported=yes |
4554 |
|
else |
4555 |
|
_pkg_short_errors_supported=no |
4556 |
|
fi |
4557 |
|
if test $_pkg_short_errors_supported = yes; then |
4558 |
|
hildon_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1"` |
4559 |
|
else |
4560 |
|
hildon_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1"` |
4561 |
|
fi |
4562 |
|
# Put the nasty error message in config.log where it belongs |
4563 |
|
echo "$hildon_PKG_ERRORS" >&5 |
4564 |
|
|
4565 |
|
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4566 |
|
$as_echo "no" >&6; } |
4567 |
|
{ { $as_echo "$as_me:$LINENO: error: hildon-1 missing" >&5 |
4568 |
|
$as_echo "$as_me: error: hildon-1 missing" >&2;} |
4569 |
|
{ (exit 1); exit 1; }; } |
4570 |
|
elif test $pkg_failed = untried; then |
4571 |
|
{ { $as_echo "$as_me:$LINENO: error: hildon-1 missing" >&5 |
4572 |
|
$as_echo "$as_me: error: hildon-1 missing" >&2;} |
4573 |
|
{ (exit 1); exit 1; }; } |
4574 |
|
else |
4575 |
|
hildon_CFLAGS=$pkg_cv_hildon_CFLAGS |
4576 |
|
hildon_LIBS=$pkg_cv_hildon_LIBS |
4577 |
|
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
4578 |
|
$as_echo "yes" >&6; } |
4579 |
|
: |
4580 |
|
fi |
4581 |
|
CFLAGS="$CFLAGS -DUSE_MAEMO $hildon_CFLAGS" |
4582 |
|
LIBS="$LIBS $hildon_LIBS" |
4583 |
|
|
4584 |
|
|
4585 |
|
pkg_failed=no |
4586 |
|
{ $as_echo "$as_me:$LINENO: checking for osso" >&5 |
4587 |
|
$as_echo_n "checking for osso... " >&6; } |
4588 |
|
|
4589 |
|
if test -n "$PKG_CONFIG"; then |
4590 |
if test -n "$osso_CFLAGS"; then |
if test -n "$osso_CFLAGS"; then |
4591 |
pkg_cv_osso_CFLAGS="$osso_CFLAGS" |
pkg_cv_osso_CFLAGS="$osso_CFLAGS" |
4592 |
else |
else |
5188 |
MAJOR=`echo $VERSION | cut -b1 -` |
MAJOR=`echo $VERSION | cut -b1 -` |
5189 |
CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR" |
CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR" |
5190 |
|
|
5191 |
|
MAEMO_VERSION_MAJOR=$MAJOR |
5192 |
|
|
5193 |
|
|
5194 |
else |
else |
5195 |
|
|
5196 |
{ { $as_echo "$as_me:$LINENO: error: maemo-version not found" >&5 |
{ { $as_echo "$as_me:$LINENO: error: maemo-version not found" >&5 |
5204 |
# fremantle uses icons of 48x48 pixels for the app installer, |
# fremantle uses icons of 48x48 pixels for the app installer, |
5205 |
# older versions used 26x26 |
# older versions used 26x26 |
5206 |
if [ "$MAJOR" == "5" ]; then |
if [ "$MAJOR" == "5" ]; then |
5207 |
ICONNAME=gpxview.48.png |
ICONNAME=48x48/gpxview.png |
5208 |
|
datarootdir=/opt |
5209 |
|
|
5210 |
|
# check for libespeak (broken in diablo, hence doing it here) |
5211 |
|
|
5212 |
|
for ac_header in espeak/speak_lib.h |
5213 |
|
do |
5214 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5215 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5216 |
|
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5217 |
|
$as_echo_n "checking for $ac_header... " >&6; } |
5218 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5219 |
|
$as_echo_n "(cached) " >&6 |
5220 |
|
fi |
5221 |
|
ac_res=`eval 'as_val=${'$as_ac_Header'} |
5222 |
|
$as_echo "$as_val"'` |
5223 |
|
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
5224 |
|
$as_echo "$ac_res" >&6; } |
5225 |
|
else |
5226 |
|
# Is the header compilable? |
5227 |
|
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5228 |
|
$as_echo_n "checking $ac_header usability... " >&6; } |
5229 |
|
cat >conftest.$ac_ext <<_ACEOF |
5230 |
|
/* confdefs.h. */ |
5231 |
|
_ACEOF |
5232 |
|
cat confdefs.h >>conftest.$ac_ext |
5233 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5234 |
|
/* end confdefs.h. */ |
5235 |
|
$ac_includes_default |
5236 |
|
#include <$ac_header> |
5237 |
|
_ACEOF |
5238 |
|
rm -f conftest.$ac_objext |
5239 |
|
if { (ac_try="$ac_compile" |
5240 |
|
case "(($ac_try" in |
5241 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5242 |
|
*) ac_try_echo=$ac_try;; |
5243 |
|
esac |
5244 |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5245 |
|
$as_echo "$ac_try_echo") >&5 |
5246 |
|
(eval "$ac_compile") 2>conftest.er1 |
5247 |
|
ac_status=$? |
5248 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5249 |
|
rm -f conftest.er1 |
5250 |
|
cat conftest.err >&5 |
5251 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5252 |
|
(exit $ac_status); } && { |
5253 |
|
test -z "$ac_c_werror_flag" || |
5254 |
|
test ! -s conftest.err |
5255 |
|
} && test -s conftest.$ac_objext; then |
5256 |
|
ac_header_compiler=yes |
5257 |
|
else |
5258 |
|
$as_echo "$as_me: failed program was:" >&5 |
5259 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5260 |
|
|
5261 |
|
ac_header_compiler=no |
5262 |
|
fi |
5263 |
|
|
5264 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5265 |
|
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5266 |
|
$as_echo "$ac_header_compiler" >&6; } |
5267 |
|
|
5268 |
|
# Is the header present? |
5269 |
|
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5270 |
|
$as_echo_n "checking $ac_header presence... " >&6; } |
5271 |
|
cat >conftest.$ac_ext <<_ACEOF |
5272 |
|
/* confdefs.h. */ |
5273 |
|
_ACEOF |
5274 |
|
cat confdefs.h >>conftest.$ac_ext |
5275 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5276 |
|
/* end confdefs.h. */ |
5277 |
|
#include <$ac_header> |
5278 |
|
_ACEOF |
5279 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
5280 |
|
case "(($ac_try" in |
5281 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5282 |
|
*) ac_try_echo=$ac_try;; |
5283 |
|
esac |
5284 |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5285 |
|
$as_echo "$ac_try_echo") >&5 |
5286 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5287 |
|
ac_status=$? |
5288 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5289 |
|
rm -f conftest.er1 |
5290 |
|
cat conftest.err >&5 |
5291 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5292 |
|
(exit $ac_status); } >/dev/null && { |
5293 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
5294 |
|
test ! -s conftest.err |
5295 |
|
}; then |
5296 |
|
ac_header_preproc=yes |
5297 |
|
else |
5298 |
|
$as_echo "$as_me: failed program was:" >&5 |
5299 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5300 |
|
|
5301 |
|
ac_header_preproc=no |
5302 |
|
fi |
5303 |
|
|
5304 |
|
rm -f conftest.err conftest.$ac_ext |
5305 |
|
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5306 |
|
$as_echo "$ac_header_preproc" >&6; } |
5307 |
|
|
5308 |
|
# So? What about this header? |
5309 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5310 |
|
yes:no: ) |
5311 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5312 |
|
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5313 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5314 |
|
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5315 |
|
ac_header_preproc=yes |
5316 |
|
;; |
5317 |
|
no:yes:* ) |
5318 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5319 |
|
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5320 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5321 |
|
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5322 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5323 |
|
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5324 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5325 |
|
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5326 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5327 |
|
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5328 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5329 |
|
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5330 |
|
( cat <<\_ASBOX |
5331 |
|
## ------------------------------- ## |
5332 |
|
## Report this to till@harbaum.org ## |
5333 |
|
## ------------------------------- ## |
5334 |
|
_ASBOX |
5335 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
5336 |
|
;; |
5337 |
|
esac |
5338 |
|
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5339 |
|
$as_echo_n "checking for $ac_header... " >&6; } |
5340 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5341 |
|
$as_echo_n "(cached) " >&6 |
5342 |
|
else |
5343 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
5344 |
|
fi |
5345 |
|
ac_res=`eval 'as_val=${'$as_ac_Header'} |
5346 |
|
$as_echo "$as_val"'` |
5347 |
|
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
5348 |
|
$as_echo "$ac_res" >&6; } |
5349 |
|
|
5350 |
|
fi |
5351 |
|
as_val=`eval 'as_val=${'$as_ac_Header'} |
5352 |
|
$as_echo "$as_val"'` |
5353 |
|
if test "x$as_val" = x""yes; then |
5354 |
|
cat >>confdefs.h <<_ACEOF |
5355 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5356 |
|
_ACEOF |
5357 |
|
|
5358 |
|
CFLAGS="$CFLAGS -DESPEAK" |
5359 |
|
LIBS="$LIBS -lespeak" |
5360 |
|
|
5361 |
|
fi |
5362 |
|
|
5363 |
|
done |
5364 |
|
|
5365 |
else |
else |
5366 |
ICONNAME=gpxview.26.png |
ICONNAME=26x26/gpxview.png |
5367 |
{ $as_echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5 |
{ $as_echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5 |
5368 |
$as_echo "$as_me: Enabling Maemo Mapper support" >&6;} |
$as_echo "$as_me: Enabling Maemo Mapper support" >&6;} |
|
CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER" |
|
|
EXTRA_OBJS="$EXTRA_OBJS mm_poi.o" |
|
5369 |
fi |
fi |
5370 |
|
|
5371 |
|
CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER" |
5372 |
|
EXTRA_OBJS="$EXTRA_OBJS mm_poi.o" |
5373 |
|
|
5374 |
# maemo uses dbus for ipc with maemo mapper |
# maemo uses dbus for ipc with maemo mapper |
5375 |
EXTRA_OBJS="$EXTRA_OBJS dbus.o" |
EXTRA_OBJS="$EXTRA_OBJS dbus.o" |
5376 |
|
|
5384 |
|
|
5385 |
# generate base64 icon, remove first and last line |
# generate base64 icon, remove first and last line |
5386 |
# and add a space before each line |
# and add a space before each line |
5387 |
ICON="$ICON`uuencode -m data/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`" |
ICON="$ICON`uuencode -m data/icons/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`" |
5388 |
|
|
5389 |
|
|
5390 |
else |
else |
5393 |
$as_echo "no" >&6; } |
$as_echo "no" >&6; } |
5394 |
|
|
5395 |
EXTRA_OBJS="$EXTRA_OBJS bct.o" |
EXTRA_OBJS="$EXTRA_OBJS bct.o" |
5396 |
|
CFLAGS="$CFLAGS -DBCT" |
5397 |
|
|
5398 |
# check for gtk+-2.0 |
# check for gtk+-2.0 |
5399 |
|
|
5553 |
CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE" |
CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE" |
5554 |
LIBS="$LIBS $gnome2_LIBS" |
LIBS="$LIBS $gnome2_LIBS" |
5555 |
|
|
5556 |
|
# check for libespeak |
5557 |
|
|
5558 |
|
for ac_header in espeak/speak_lib.h |
5559 |
|
do |
5560 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5561 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5562 |
|
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5563 |
|
$as_echo_n "checking for $ac_header... " >&6; } |
5564 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5565 |
|
$as_echo_n "(cached) " >&6 |
5566 |
|
fi |
5567 |
|
ac_res=`eval 'as_val=${'$as_ac_Header'} |
5568 |
|
$as_echo "$as_val"'` |
5569 |
|
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
5570 |
|
$as_echo "$ac_res" >&6; } |
5571 |
|
else |
5572 |
|
# Is the header compilable? |
5573 |
|
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5574 |
|
$as_echo_n "checking $ac_header usability... " >&6; } |
5575 |
|
cat >conftest.$ac_ext <<_ACEOF |
5576 |
|
/* confdefs.h. */ |
5577 |
|
_ACEOF |
5578 |
|
cat confdefs.h >>conftest.$ac_ext |
5579 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5580 |
|
/* end confdefs.h. */ |
5581 |
|
$ac_includes_default |
5582 |
|
#include <$ac_header> |
5583 |
|
_ACEOF |
5584 |
|
rm -f conftest.$ac_objext |
5585 |
|
if { (ac_try="$ac_compile" |
5586 |
|
case "(($ac_try" in |
5587 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5588 |
|
*) ac_try_echo=$ac_try;; |
5589 |
|
esac |
5590 |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5591 |
|
$as_echo "$ac_try_echo") >&5 |
5592 |
|
(eval "$ac_compile") 2>conftest.er1 |
5593 |
|
ac_status=$? |
5594 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5595 |
|
rm -f conftest.er1 |
5596 |
|
cat conftest.err >&5 |
5597 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5598 |
|
(exit $ac_status); } && { |
5599 |
|
test -z "$ac_c_werror_flag" || |
5600 |
|
test ! -s conftest.err |
5601 |
|
} && test -s conftest.$ac_objext; then |
5602 |
|
ac_header_compiler=yes |
5603 |
|
else |
5604 |
|
$as_echo "$as_me: failed program was:" >&5 |
5605 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5606 |
|
|
5607 |
|
ac_header_compiler=no |
5608 |
|
fi |
5609 |
|
|
5610 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5611 |
|
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5612 |
|
$as_echo "$ac_header_compiler" >&6; } |
5613 |
|
|
5614 |
|
# Is the header present? |
5615 |
|
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5616 |
|
$as_echo_n "checking $ac_header presence... " >&6; } |
5617 |
|
cat >conftest.$ac_ext <<_ACEOF |
5618 |
|
/* confdefs.h. */ |
5619 |
|
_ACEOF |
5620 |
|
cat confdefs.h >>conftest.$ac_ext |
5621 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5622 |
|
/* end confdefs.h. */ |
5623 |
|
#include <$ac_header> |
5624 |
|
_ACEOF |
5625 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
5626 |
|
case "(($ac_try" in |
5627 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5628 |
|
*) ac_try_echo=$ac_try;; |
5629 |
|
esac |
5630 |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5631 |
|
$as_echo "$ac_try_echo") >&5 |
5632 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5633 |
|
ac_status=$? |
5634 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5635 |
|
rm -f conftest.er1 |
5636 |
|
cat conftest.err >&5 |
5637 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5638 |
|
(exit $ac_status); } >/dev/null && { |
5639 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
5640 |
|
test ! -s conftest.err |
5641 |
|
}; then |
5642 |
|
ac_header_preproc=yes |
5643 |
|
else |
5644 |
|
$as_echo "$as_me: failed program was:" >&5 |
5645 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5646 |
|
|
5647 |
|
ac_header_preproc=no |
5648 |
|
fi |
5649 |
|
|
5650 |
|
rm -f conftest.err conftest.$ac_ext |
5651 |
|
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5652 |
|
$as_echo "$ac_header_preproc" >&6; } |
5653 |
|
|
5654 |
|
# So? What about this header? |
5655 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5656 |
|
yes:no: ) |
5657 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5658 |
|
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5659 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5660 |
|
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5661 |
|
ac_header_preproc=yes |
5662 |
|
;; |
5663 |
|
no:yes:* ) |
5664 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5665 |
|
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5666 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5667 |
|
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5668 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5669 |
|
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5670 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5671 |
|
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5672 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5673 |
|
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5674 |
|
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5675 |
|
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5676 |
|
( cat <<\_ASBOX |
5677 |
|
## ------------------------------- ## |
5678 |
|
## Report this to till@harbaum.org ## |
5679 |
|
## ------------------------------- ## |
5680 |
|
_ASBOX |
5681 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
5682 |
|
;; |
5683 |
|
esac |
5684 |
|
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5685 |
|
$as_echo_n "checking for $ac_header... " >&6; } |
5686 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5687 |
|
$as_echo_n "(cached) " >&6 |
5688 |
|
else |
5689 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
5690 |
|
fi |
5691 |
|
ac_res=`eval 'as_val=${'$as_ac_Header'} |
5692 |
|
$as_echo "$as_val"'` |
5693 |
|
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
5694 |
|
$as_echo "$ac_res" >&6; } |
5695 |
|
|
5696 |
|
fi |
5697 |
|
as_val=`eval 'as_val=${'$as_ac_Header'} |
5698 |
|
$as_echo "$as_val"'` |
5699 |
|
if test "x$as_val" = x""yes; then |
5700 |
|
cat >>confdefs.h <<_ACEOF |
5701 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5702 |
|
_ACEOF |
5703 |
|
|
5704 |
|
CFLAGS="$CFLAGS -DESPEAK" |
5705 |
|
LIBS="$LIBS -lespeak" |
5706 |
|
|
5707 |
|
fi |
5708 |
|
|
5709 |
|
done |
5710 |
|
|
5711 |
|
|
5712 |
INSTALL_PLATTFORM="install-debian" |
INSTALL_PLATTFORM="install-debian" |
5713 |
|
|
5714 |
ICON=" No icon" |
ICON=" No icon" |
6176 |
# report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
6177 |
# values after options handling. |
# values after options handling. |
6178 |
ac_log=" |
ac_log=" |
6179 |
This file was extended by GPXView $as_me 0.8.10, which was |
This file was extended by GPXView $as_me 0.9.2, which was |
6180 |
generated by GNU Autoconf 2.63. Invocation command line was |
generated by GNU Autoconf 2.63. Invocation command line was |
6181 |
|
|
6182 |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
6226 |
_ACEOF |
_ACEOF |
6227 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6228 |
ac_cs_version="\\ |
ac_cs_version="\\ |
6229 |
GPXView config.status 0.8.10 |
GPXView config.status 0.9.2 |
6230 |
configured by $0, generated by GNU Autoconf 2.63, |
configured by $0, generated by GNU Autoconf 2.63, |
6231 |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
6232 |
|
|