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.61 for GPXView 0.9.0. |
# Generated by GNU Autoconf 2.61 for GPXView 0.9.2. |
4 |
# |
# |
5 |
# Report bugs to <till@harbaum.org>. |
# Report bugs to <till@harbaum.org>. |
6 |
# |
# |
574 |
# Identity of this package. |
# Identity of this package. |
575 |
PACKAGE_NAME='GPXView' |
PACKAGE_NAME='GPXView' |
576 |
PACKAGE_TARNAME='gpxview' |
PACKAGE_TARNAME='gpxview' |
577 |
PACKAGE_VERSION='0.9.0' |
PACKAGE_VERSION='0.9.2' |
578 |
PACKAGE_STRING='GPXView 0.9.0' |
PACKAGE_STRING='GPXView 0.9.2' |
579 |
PACKAGE_BUGREPORT='till@harbaum.org' |
PACKAGE_BUGREPORT='till@harbaum.org' |
580 |
|
|
581 |
ac_unique_file="src/main.c" |
ac_unique_file="src/main.c" |
582 |
|
# Factoring default headers for most tests. |
583 |
|
ac_includes_default="\ |
584 |
|
#include <stdio.h> |
585 |
|
#ifdef HAVE_SYS_TYPES_H |
586 |
|
# include <sys/types.h> |
587 |
|
#endif |
588 |
|
#ifdef HAVE_SYS_STAT_H |
589 |
|
# include <sys/stat.h> |
590 |
|
#endif |
591 |
|
#ifdef STDC_HEADERS |
592 |
|
# include <stdlib.h> |
593 |
|
# include <stddef.h> |
594 |
|
#else |
595 |
|
# ifdef HAVE_STDLIB_H |
596 |
|
# include <stdlib.h> |
597 |
|
# endif |
598 |
|
#endif |
599 |
|
#ifdef HAVE_STRING_H |
600 |
|
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
601 |
|
# include <memory.h> |
602 |
|
# endif |
603 |
|
# include <string.h> |
604 |
|
#endif |
605 |
|
#ifdef HAVE_STRINGS_H |
606 |
|
# include <strings.h> |
607 |
|
#endif |
608 |
|
#ifdef HAVE_INTTYPES_H |
609 |
|
# include <inttypes.h> |
610 |
|
#endif |
611 |
|
#ifdef HAVE_STDINT_H |
612 |
|
# include <stdint.h> |
613 |
|
#endif |
614 |
|
#ifdef HAVE_UNISTD_H |
615 |
|
# include <unistd.h> |
616 |
|
#endif" |
617 |
|
|
618 |
ac_subst_vars='SHELL |
ac_subst_vars='SHELL |
619 |
PATH_SEPARATOR |
PATH_SEPARATOR |
620 |
PACKAGE_NAME |
PACKAGE_NAME |
672 |
libxml2_LIBS |
libxml2_LIBS |
673 |
libcurl_CFLAGS |
libcurl_CFLAGS |
674 |
libcurl_LIBS |
libcurl_LIBS |
675 |
|
CPP |
676 |
|
GREP |
677 |
|
EGREP |
678 |
libsoup24_CFLAGS |
libsoup24_CFLAGS |
679 |
libsoup24_LIBS |
libsoup24_LIBS |
680 |
libsoup22_CFLAGS |
libsoup22_CFLAGS |
723 |
libxml2_LIBS |
libxml2_LIBS |
724 |
libcurl_CFLAGS |
libcurl_CFLAGS |
725 |
libcurl_LIBS |
libcurl_LIBS |
726 |
|
CPP |
727 |
libsoup24_CFLAGS |
libsoup24_CFLAGS |
728 |
libsoup24_LIBS |
libsoup24_LIBS |
729 |
libsoup22_CFLAGS |
libsoup22_CFLAGS |
1252 |
# Omit some internal or obsolete options to make the list less imposing. |
# Omit some internal or obsolete options to make the list less imposing. |
1253 |
# 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. |
1254 |
cat <<_ACEOF |
cat <<_ACEOF |
1255 |
\`configure' configures GPXView 0.9.0 to adapt to many kinds of systems. |
\`configure' configures GPXView 0.9.2 to adapt to many kinds of systems. |
1256 |
|
|
1257 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
1258 |
|
|
1313 |
|
|
1314 |
if test -n "$ac_init_help"; then |
if test -n "$ac_init_help"; then |
1315 |
case $ac_init_help in |
case $ac_init_help in |
1316 |
short | recursive ) echo "Configuration of GPXView 0.9.0:";; |
short | recursive ) echo "Configuration of GPXView 0.9.2:";; |
1317 |
esac |
esac |
1318 |
cat <<\_ACEOF |
cat <<\_ACEOF |
1319 |
|
|
1338 |
C compiler flags for libcurl, overriding pkg-config |
C compiler flags for libcurl, overriding pkg-config |
1339 |
libcurl_LIBS |
libcurl_LIBS |
1340 |
linker flags for libcurl, overriding pkg-config |
linker flags for libcurl, overriding pkg-config |
1341 |
|
CPP C preprocessor |
1342 |
libsoup24_CFLAGS |
libsoup24_CFLAGS |
1343 |
C compiler flags for libsoup24, overriding pkg-config |
C compiler flags for libsoup24, overriding pkg-config |
1344 |
libsoup24_LIBS |
libsoup24_LIBS |
1449 |
test -n "$ac_init_help" && exit $ac_status |
test -n "$ac_init_help" && exit $ac_status |
1450 |
if $ac_init_version; then |
if $ac_init_version; then |
1451 |
cat <<\_ACEOF |
cat <<\_ACEOF |
1452 |
GPXView configure 0.9.0 |
GPXView configure 0.9.2 |
1453 |
generated by GNU Autoconf 2.61 |
generated by GNU Autoconf 2.61 |
1454 |
|
|
1455 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1463 |
This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
1464 |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
1465 |
|
|
1466 |
It was created by GPXView $as_me 0.9.0, which was |
It was created by GPXView $as_me 0.9.2, which was |
1467 |
generated by GNU Autoconf 2.61. Invocation command line was |
generated by GNU Autoconf 2.61. Invocation command line was |
1468 |
|
|
1469 |
$ $0 $@ |
$ $0 $@ |
3273 |
CFLAGS="$CFLAGS $libcurl_CFLAGS" |
CFLAGS="$CFLAGS $libcurl_CFLAGS" |
3274 |
LIBS="$LIBS $libcurl_LIBS" |
LIBS="$LIBS $libcurl_LIBS" |
3275 |
|
|
3276 |
|
# check for libespeak (consider moving this to maemo5) |
3277 |
|
|
3278 |
|
ac_ext=c |
3279 |
|
ac_cpp='$CPP $CPPFLAGS' |
3280 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3281 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3282 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3283 |
|
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3284 |
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
3285 |
|
# On Suns, sometimes $CPP names a directory. |
3286 |
|
if test -n "$CPP" && test -d "$CPP"; then |
3287 |
|
CPP= |
3288 |
|
fi |
3289 |
|
if test -z "$CPP"; then |
3290 |
|
if test "${ac_cv_prog_CPP+set}" = set; then |
3291 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3292 |
|
else |
3293 |
|
# Double quotes because CPP needs to be expanded |
3294 |
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3295 |
|
do |
3296 |
|
ac_preproc_ok=false |
3297 |
|
for ac_c_preproc_warn_flag in '' yes |
3298 |
|
do |
3299 |
|
# Use a header file that comes with gcc, so configuring glibc |
3300 |
|
# with a fresh cross-compiler works. |
3301 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3302 |
|
# <limits.h> exists even on freestanding compilers. |
3303 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
3304 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
3305 |
|
cat >conftest.$ac_ext <<_ACEOF |
3306 |
|
/* confdefs.h. */ |
3307 |
|
_ACEOF |
3308 |
|
cat confdefs.h >>conftest.$ac_ext |
3309 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3310 |
|
/* end confdefs.h. */ |
3311 |
|
#ifdef __STDC__ |
3312 |
|
# include <limits.h> |
3313 |
|
#else |
3314 |
|
# include <assert.h> |
3315 |
|
#endif |
3316 |
|
Syntax error |
3317 |
|
_ACEOF |
3318 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
3319 |
|
case "(($ac_try" in |
3320 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3321 |
|
*) ac_try_echo=$ac_try;; |
3322 |
|
esac |
3323 |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3324 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3325 |
|
ac_status=$? |
3326 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3327 |
|
rm -f conftest.er1 |
3328 |
|
cat conftest.err >&5 |
3329 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3330 |
|
(exit $ac_status); } >/dev/null && { |
3331 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3332 |
|
test ! -s conftest.err |
3333 |
|
}; then |
3334 |
|
: |
3335 |
|
else |
3336 |
|
echo "$as_me: failed program was:" >&5 |
3337 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3338 |
|
|
3339 |
|
# Broken: fails on valid input. |
3340 |
|
continue |
3341 |
|
fi |
3342 |
|
|
3343 |
|
rm -f conftest.err conftest.$ac_ext |
3344 |
|
|
3345 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
3346 |
|
# can be detected and how. |
3347 |
|
cat >conftest.$ac_ext <<_ACEOF |
3348 |
|
/* confdefs.h. */ |
3349 |
|
_ACEOF |
3350 |
|
cat confdefs.h >>conftest.$ac_ext |
3351 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3352 |
|
/* end confdefs.h. */ |
3353 |
|
#include <ac_nonexistent.h> |
3354 |
|
_ACEOF |
3355 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
3356 |
|
case "(($ac_try" in |
3357 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3358 |
|
*) ac_try_echo=$ac_try;; |
3359 |
|
esac |
3360 |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3361 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3362 |
|
ac_status=$? |
3363 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3364 |
|
rm -f conftest.er1 |
3365 |
|
cat conftest.err >&5 |
3366 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3367 |
|
(exit $ac_status); } >/dev/null && { |
3368 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3369 |
|
test ! -s conftest.err |
3370 |
|
}; then |
3371 |
|
# Broken: success on invalid input. |
3372 |
|
continue |
3373 |
|
else |
3374 |
|
echo "$as_me: failed program was:" >&5 |
3375 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3376 |
|
|
3377 |
|
# Passes both tests. |
3378 |
|
ac_preproc_ok=: |
3379 |
|
break |
3380 |
|
fi |
3381 |
|
|
3382 |
|
rm -f conftest.err conftest.$ac_ext |
3383 |
|
|
3384 |
|
done |
3385 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3386 |
|
rm -f conftest.err conftest.$ac_ext |
3387 |
|
if $ac_preproc_ok; then |
3388 |
|
break |
3389 |
|
fi |
3390 |
|
|
3391 |
|
done |
3392 |
|
ac_cv_prog_CPP=$CPP |
3393 |
|
|
3394 |
|
fi |
3395 |
|
CPP=$ac_cv_prog_CPP |
3396 |
|
else |
3397 |
|
ac_cv_prog_CPP=$CPP |
3398 |
|
fi |
3399 |
|
{ echo "$as_me:$LINENO: result: $CPP" >&5 |
3400 |
|
echo "${ECHO_T}$CPP" >&6; } |
3401 |
|
ac_preproc_ok=false |
3402 |
|
for ac_c_preproc_warn_flag in '' yes |
3403 |
|
do |
3404 |
|
# Use a header file that comes with gcc, so configuring glibc |
3405 |
|
# with a fresh cross-compiler works. |
3406 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3407 |
|
# <limits.h> exists even on freestanding compilers. |
3408 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
3409 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
3410 |
|
cat >conftest.$ac_ext <<_ACEOF |
3411 |
|
/* confdefs.h. */ |
3412 |
|
_ACEOF |
3413 |
|
cat confdefs.h >>conftest.$ac_ext |
3414 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3415 |
|
/* end confdefs.h. */ |
3416 |
|
#ifdef __STDC__ |
3417 |
|
# include <limits.h> |
3418 |
|
#else |
3419 |
|
# include <assert.h> |
3420 |
|
#endif |
3421 |
|
Syntax error |
3422 |
|
_ACEOF |
3423 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
3424 |
|
case "(($ac_try" in |
3425 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3426 |
|
*) ac_try_echo=$ac_try;; |
3427 |
|
esac |
3428 |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3429 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3430 |
|
ac_status=$? |
3431 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3432 |
|
rm -f conftest.er1 |
3433 |
|
cat conftest.err >&5 |
3434 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3435 |
|
(exit $ac_status); } >/dev/null && { |
3436 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3437 |
|
test ! -s conftest.err |
3438 |
|
}; then |
3439 |
|
: |
3440 |
|
else |
3441 |
|
echo "$as_me: failed program was:" >&5 |
3442 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3443 |
|
|
3444 |
|
# Broken: fails on valid input. |
3445 |
|
continue |
3446 |
|
fi |
3447 |
|
|
3448 |
|
rm -f conftest.err conftest.$ac_ext |
3449 |
|
|
3450 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
3451 |
|
# can be detected and how. |
3452 |
|
cat >conftest.$ac_ext <<_ACEOF |
3453 |
|
/* confdefs.h. */ |
3454 |
|
_ACEOF |
3455 |
|
cat confdefs.h >>conftest.$ac_ext |
3456 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3457 |
|
/* end confdefs.h. */ |
3458 |
|
#include <ac_nonexistent.h> |
3459 |
|
_ACEOF |
3460 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
3461 |
|
case "(($ac_try" in |
3462 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3463 |
|
*) ac_try_echo=$ac_try;; |
3464 |
|
esac |
3465 |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3466 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3467 |
|
ac_status=$? |
3468 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3469 |
|
rm -f conftest.er1 |
3470 |
|
cat conftest.err >&5 |
3471 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3472 |
|
(exit $ac_status); } >/dev/null && { |
3473 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3474 |
|
test ! -s conftest.err |
3475 |
|
}; then |
3476 |
|
# Broken: success on invalid input. |
3477 |
|
continue |
3478 |
|
else |
3479 |
|
echo "$as_me: failed program was:" >&5 |
3480 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3481 |
|
|
3482 |
|
# Passes both tests. |
3483 |
|
ac_preproc_ok=: |
3484 |
|
break |
3485 |
|
fi |
3486 |
|
|
3487 |
|
rm -f conftest.err conftest.$ac_ext |
3488 |
|
|
3489 |
|
done |
3490 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3491 |
|
rm -f conftest.err conftest.$ac_ext |
3492 |
|
if $ac_preproc_ok; then |
3493 |
|
: |
3494 |
|
else |
3495 |
|
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
3496 |
|
See \`config.log' for more details." >&5 |
3497 |
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
3498 |
|
See \`config.log' for more details." >&2;} |
3499 |
|
{ (exit 1); exit 1; }; } |
3500 |
|
fi |
3501 |
|
|
3502 |
|
ac_ext=c |
3503 |
|
ac_cpp='$CPP $CPPFLAGS' |
3504 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3505 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3506 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3507 |
|
|
3508 |
|
|
3509 |
|
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
3510 |
|
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
3511 |
|
if test "${ac_cv_path_GREP+set}" = set; then |
3512 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3513 |
|
else |
3514 |
|
# Extract the first word of "grep ggrep" to use in msg output |
3515 |
|
if test -z "$GREP"; then |
3516 |
|
set dummy grep ggrep; ac_prog_name=$2 |
3517 |
|
if test "${ac_cv_path_GREP+set}" = set; then |
3518 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3519 |
|
else |
3520 |
|
ac_path_GREP_found=false |
3521 |
|
# Loop through the user's path and test for each of PROGNAME-LIST |
3522 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3523 |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3524 |
|
do |
3525 |
|
IFS=$as_save_IFS |
3526 |
|
test -z "$as_dir" && as_dir=. |
3527 |
|
for ac_prog in grep ggrep; do |
3528 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3529 |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
3530 |
|
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
3531 |
|
# Check for GNU ac_path_GREP and select it if it is found. |
3532 |
|
# Check for GNU $ac_path_GREP |
3533 |
|
case `"$ac_path_GREP" --version 2>&1` in |
3534 |
|
*GNU*) |
3535 |
|
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3536 |
|
*) |
3537 |
|
ac_count=0 |
3538 |
|
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
3539 |
|
while : |
3540 |
|
do |
3541 |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
3542 |
|
mv "conftest.tmp" "conftest.in" |
3543 |
|
cp "conftest.in" "conftest.nl" |
3544 |
|
echo 'GREP' >> "conftest.nl" |
3545 |
|
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3546 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3547 |
|
ac_count=`expr $ac_count + 1` |
3548 |
|
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3549 |
|
# Best one so far, save it but keep looking for a better one |
3550 |
|
ac_cv_path_GREP="$ac_path_GREP" |
3551 |
|
ac_path_GREP_max=$ac_count |
3552 |
|
fi |
3553 |
|
# 10*(2^10) chars as input seems more than enough |
3554 |
|
test $ac_count -gt 10 && break |
3555 |
|
done |
3556 |
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3557 |
|
esac |
3558 |
|
|
3559 |
|
|
3560 |
|
$ac_path_GREP_found && break 3 |
3561 |
|
done |
3562 |
|
done |
3563 |
|
|
3564 |
|
done |
3565 |
|
IFS=$as_save_IFS |
3566 |
|
|
3567 |
|
|
3568 |
|
fi |
3569 |
|
|
3570 |
|
GREP="$ac_cv_path_GREP" |
3571 |
|
if test -z "$GREP"; then |
3572 |
|
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
3573 |
|
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
3574 |
|
{ (exit 1); exit 1; }; } |
3575 |
|
fi |
3576 |
|
|
3577 |
|
else |
3578 |
|
ac_cv_path_GREP=$GREP |
3579 |
|
fi |
3580 |
|
|
3581 |
|
|
3582 |
|
fi |
3583 |
|
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
3584 |
|
echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
3585 |
|
GREP="$ac_cv_path_GREP" |
3586 |
|
|
3587 |
|
|
3588 |
|
{ echo "$as_me:$LINENO: checking for egrep" >&5 |
3589 |
|
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
3590 |
|
if test "${ac_cv_path_EGREP+set}" = set; then |
3591 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3592 |
|
else |
3593 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3594 |
|
then ac_cv_path_EGREP="$GREP -E" |
3595 |
|
else |
3596 |
|
# Extract the first word of "egrep" to use in msg output |
3597 |
|
if test -z "$EGREP"; then |
3598 |
|
set dummy egrep; ac_prog_name=$2 |
3599 |
|
if test "${ac_cv_path_EGREP+set}" = set; then |
3600 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3601 |
|
else |
3602 |
|
ac_path_EGREP_found=false |
3603 |
|
# Loop through the user's path and test for each of PROGNAME-LIST |
3604 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3605 |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3606 |
|
do |
3607 |
|
IFS=$as_save_IFS |
3608 |
|
test -z "$as_dir" && as_dir=. |
3609 |
|
for ac_prog in egrep; do |
3610 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3611 |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3612 |
|
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
3613 |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
3614 |
|
# Check for GNU $ac_path_EGREP |
3615 |
|
case `"$ac_path_EGREP" --version 2>&1` in |
3616 |
|
*GNU*) |
3617 |
|
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3618 |
|
*) |
3619 |
|
ac_count=0 |
3620 |
|
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
3621 |
|
while : |
3622 |
|
do |
3623 |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
3624 |
|
mv "conftest.tmp" "conftest.in" |
3625 |
|
cp "conftest.in" "conftest.nl" |
3626 |
|
echo 'EGREP' >> "conftest.nl" |
3627 |
|
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3628 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3629 |
|
ac_count=`expr $ac_count + 1` |
3630 |
|
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
3631 |
|
# Best one so far, save it but keep looking for a better one |
3632 |
|
ac_cv_path_EGREP="$ac_path_EGREP" |
3633 |
|
ac_path_EGREP_max=$ac_count |
3634 |
|
fi |
3635 |
|
# 10*(2^10) chars as input seems more than enough |
3636 |
|
test $ac_count -gt 10 && break |
3637 |
|
done |
3638 |
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3639 |
|
esac |
3640 |
|
|
3641 |
|
|
3642 |
|
$ac_path_EGREP_found && break 3 |
3643 |
|
done |
3644 |
|
done |
3645 |
|
|
3646 |
|
done |
3647 |
|
IFS=$as_save_IFS |
3648 |
|
|
3649 |
|
|
3650 |
|
fi |
3651 |
|
|
3652 |
|
EGREP="$ac_cv_path_EGREP" |
3653 |
|
if test -z "$EGREP"; then |
3654 |
|
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
3655 |
|
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
3656 |
|
{ (exit 1); exit 1; }; } |
3657 |
|
fi |
3658 |
|
|
3659 |
|
else |
3660 |
|
ac_cv_path_EGREP=$EGREP |
3661 |
|
fi |
3662 |
|
|
3663 |
|
|
3664 |
|
fi |
3665 |
|
fi |
3666 |
|
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
3667 |
|
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
3668 |
|
EGREP="$ac_cv_path_EGREP" |
3669 |
|
|
3670 |
|
|
3671 |
|
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3672 |
|
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
3673 |
|
if test "${ac_cv_header_stdc+set}" = set; then |
3674 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3675 |
|
else |
3676 |
|
cat >conftest.$ac_ext <<_ACEOF |
3677 |
|
/* confdefs.h. */ |
3678 |
|
_ACEOF |
3679 |
|
cat confdefs.h >>conftest.$ac_ext |
3680 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3681 |
|
/* end confdefs.h. */ |
3682 |
|
#include <stdlib.h> |
3683 |
|
#include <stdarg.h> |
3684 |
|
#include <string.h> |
3685 |
|
#include <float.h> |
3686 |
|
|
3687 |
|
int |
3688 |
|
main () |
3689 |
|
{ |
3690 |
|
|
3691 |
|
; |
3692 |
|
return 0; |
3693 |
|
} |
3694 |
|
_ACEOF |
3695 |
|
rm -f conftest.$ac_objext |
3696 |
|
if { (ac_try="$ac_compile" |
3697 |
|
case "(($ac_try" in |
3698 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3699 |
|
*) ac_try_echo=$ac_try;; |
3700 |
|
esac |
3701 |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3702 |
|
(eval "$ac_compile") 2>conftest.er1 |
3703 |
|
ac_status=$? |
3704 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3705 |
|
rm -f conftest.er1 |
3706 |
|
cat conftest.err >&5 |
3707 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3708 |
|
(exit $ac_status); } && { |
3709 |
|
test -z "$ac_c_werror_flag" || |
3710 |
|
test ! -s conftest.err |
3711 |
|
} && test -s conftest.$ac_objext; then |
3712 |
|
ac_cv_header_stdc=yes |
3713 |
|
else |
3714 |
|
echo "$as_me: failed program was:" >&5 |
3715 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3716 |
|
|
3717 |
|
ac_cv_header_stdc=no |
3718 |
|
fi |
3719 |
|
|
3720 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3721 |
|
|
3722 |
|
if test $ac_cv_header_stdc = yes; then |
3723 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3724 |
|
cat >conftest.$ac_ext <<_ACEOF |
3725 |
|
/* confdefs.h. */ |
3726 |
|
_ACEOF |
3727 |
|
cat confdefs.h >>conftest.$ac_ext |
3728 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3729 |
|
/* end confdefs.h. */ |
3730 |
|
#include <string.h> |
3731 |
|
|
3732 |
|
_ACEOF |
3733 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3734 |
|
$EGREP "memchr" >/dev/null 2>&1; then |
3735 |
|
: |
3736 |
|
else |
3737 |
|
ac_cv_header_stdc=no |
3738 |
|
fi |
3739 |
|
rm -f conftest* |
3740 |
|
|
3741 |
|
fi |
3742 |
|
|
3743 |
|
if test $ac_cv_header_stdc = yes; then |
3744 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3745 |
|
cat >conftest.$ac_ext <<_ACEOF |
3746 |
|
/* confdefs.h. */ |
3747 |
|
_ACEOF |
3748 |
|
cat confdefs.h >>conftest.$ac_ext |
3749 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3750 |
|
/* end confdefs.h. */ |
3751 |
|
#include <stdlib.h> |
3752 |
|
|
3753 |
|
_ACEOF |
3754 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3755 |
|
$EGREP "free" >/dev/null 2>&1; then |
3756 |
|
: |
3757 |
|
else |
3758 |
|
ac_cv_header_stdc=no |
3759 |
|
fi |
3760 |
|
rm -f conftest* |
3761 |
|
|
3762 |
|
fi |
3763 |
|
|
3764 |
|
if test $ac_cv_header_stdc = yes; then |
3765 |
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3766 |
|
if test "$cross_compiling" = yes; then |
3767 |
|
: |
3768 |
|
else |
3769 |
|
cat >conftest.$ac_ext <<_ACEOF |
3770 |
|
/* confdefs.h. */ |
3771 |
|
_ACEOF |
3772 |
|
cat confdefs.h >>conftest.$ac_ext |
3773 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3774 |
|
/* end confdefs.h. */ |
3775 |
|
#include <ctype.h> |
3776 |
|
#include <stdlib.h> |
3777 |
|
#if ((' ' & 0x0FF) == 0x020) |
3778 |
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3779 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3780 |
|
#else |
3781 |
|
# define ISLOWER(c) \ |
3782 |
|
(('a' <= (c) && (c) <= 'i') \ |
3783 |
|
|| ('j' <= (c) && (c) <= 'r') \ |
3784 |
|
|| ('s' <= (c) && (c) <= 'z')) |
3785 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
3786 |
|
#endif |
3787 |
|
|
3788 |
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3789 |
|
int |
3790 |
|
main () |
3791 |
|
{ |
3792 |
|
int i; |
3793 |
|
for (i = 0; i < 256; i++) |
3794 |
|
if (XOR (islower (i), ISLOWER (i)) |
3795 |
|
|| toupper (i) != TOUPPER (i)) |
3796 |
|
return 2; |
3797 |
|
return 0; |
3798 |
|
} |
3799 |
|
_ACEOF |
3800 |
|
rm -f conftest$ac_exeext |
3801 |
|
if { (ac_try="$ac_link" |
3802 |
|
case "(($ac_try" in |
3803 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3804 |
|
*) ac_try_echo=$ac_try;; |
3805 |
|
esac |
3806 |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3807 |
|
(eval "$ac_link") 2>&5 |
3808 |
|
ac_status=$? |
3809 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3810 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3811 |
|
{ (case "(($ac_try" in |
3812 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3813 |
|
*) ac_try_echo=$ac_try;; |
3814 |
|
esac |
3815 |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3816 |
|
(eval "$ac_try") 2>&5 |
3817 |
|
ac_status=$? |
3818 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3819 |
|
(exit $ac_status); }; }; then |
3820 |
|
: |
3821 |
|
else |
3822 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
3823 |
|
echo "$as_me: failed program was:" >&5 |
3824 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3825 |
|
|
3826 |
|
( exit $ac_status ) |
3827 |
|
ac_cv_header_stdc=no |
3828 |
|
fi |
3829 |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3830 |
|
fi |
3831 |
|
|
3832 |
|
|
3833 |
|
fi |
3834 |
|
fi |
3835 |
|
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
3836 |
|
echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
3837 |
|
if test $ac_cv_header_stdc = yes; then |
3838 |
|
|
3839 |
|
cat >>confdefs.h <<\_ACEOF |
3840 |
|
#define STDC_HEADERS 1 |
3841 |
|
_ACEOF |
3842 |
|
|
3843 |
|
fi |
3844 |
|
|
3845 |
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
3846 |
|
|
3847 |
|
|
3848 |
|
|
3849 |
|
|
3850 |
|
|
3851 |
|
|
3852 |
|
|
3853 |
|
|
3854 |
|
|
3855 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
3856 |
|
inttypes.h stdint.h unistd.h |
3857 |
|
do |
3858 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3859 |
|
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3860 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
3861 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
3862 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3863 |
|
else |
3864 |
|
cat >conftest.$ac_ext <<_ACEOF |
3865 |
|
/* confdefs.h. */ |
3866 |
|
_ACEOF |
3867 |
|
cat confdefs.h >>conftest.$ac_ext |
3868 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3869 |
|
/* end confdefs.h. */ |
3870 |
|
$ac_includes_default |
3871 |
|
|
3872 |
|
#include <$ac_header> |
3873 |
|
_ACEOF |
3874 |
|
rm -f conftest.$ac_objext |
3875 |
|
if { (ac_try="$ac_compile" |
3876 |
|
case "(($ac_try" in |
3877 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3878 |
|
*) ac_try_echo=$ac_try;; |
3879 |
|
esac |
3880 |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3881 |
|
(eval "$ac_compile") 2>conftest.er1 |
3882 |
|
ac_status=$? |
3883 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3884 |
|
rm -f conftest.er1 |
3885 |
|
cat conftest.err >&5 |
3886 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3887 |
|
(exit $ac_status); } && { |
3888 |
|
test -z "$ac_c_werror_flag" || |
3889 |
|
test ! -s conftest.err |
3890 |
|
} && test -s conftest.$ac_objext; then |
3891 |
|
eval "$as_ac_Header=yes" |
3892 |
|
else |
3893 |
|
echo "$as_me: failed program was:" >&5 |
3894 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3895 |
|
|
3896 |
|
eval "$as_ac_Header=no" |
3897 |
|
fi |
3898 |
|
|
3899 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3900 |
|
fi |
3901 |
|
ac_res=`eval echo '${'$as_ac_Header'}'` |
3902 |
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
3903 |
|
echo "${ECHO_T}$ac_res" >&6; } |
3904 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
3905 |
|
cat >>confdefs.h <<_ACEOF |
3906 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3907 |
|
_ACEOF |
3908 |
|
|
3909 |
|
fi |
3910 |
|
|
3911 |
|
done |
3912 |
|
|
3913 |
|
|
3914 |
|
|
3915 |
|
for ac_header in espeak/speak_lib.h |
3916 |
|
do |
3917 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3918 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
3919 |
|
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3920 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
3921 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
3922 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3923 |
|
fi |
3924 |
|
ac_res=`eval echo '${'$as_ac_Header'}'` |
3925 |
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
3926 |
|
echo "${ECHO_T}$ac_res" >&6; } |
3927 |
|
else |
3928 |
|
# Is the header compilable? |
3929 |
|
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
3930 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
3931 |
|
cat >conftest.$ac_ext <<_ACEOF |
3932 |
|
/* confdefs.h. */ |
3933 |
|
_ACEOF |
3934 |
|
cat confdefs.h >>conftest.$ac_ext |
3935 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3936 |
|
/* end confdefs.h. */ |
3937 |
|
$ac_includes_default |
3938 |
|
#include <$ac_header> |
3939 |
|
_ACEOF |
3940 |
|
rm -f conftest.$ac_objext |
3941 |
|
if { (ac_try="$ac_compile" |
3942 |
|
case "(($ac_try" in |
3943 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3944 |
|
*) ac_try_echo=$ac_try;; |
3945 |
|
esac |
3946 |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3947 |
|
(eval "$ac_compile") 2>conftest.er1 |
3948 |
|
ac_status=$? |
3949 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3950 |
|
rm -f conftest.er1 |
3951 |
|
cat conftest.err >&5 |
3952 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3953 |
|
(exit $ac_status); } && { |
3954 |
|
test -z "$ac_c_werror_flag" || |
3955 |
|
test ! -s conftest.err |
3956 |
|
} && test -s conftest.$ac_objext; then |
3957 |
|
ac_header_compiler=yes |
3958 |
|
else |
3959 |
|
echo "$as_me: failed program was:" >&5 |
3960 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3961 |
|
|
3962 |
|
ac_header_compiler=no |
3963 |
|
fi |
3964 |
|
|
3965 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3966 |
|
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
3967 |
|
echo "${ECHO_T}$ac_header_compiler" >&6; } |
3968 |
|
|
3969 |
|
# Is the header present? |
3970 |
|
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
3971 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
3972 |
|
cat >conftest.$ac_ext <<_ACEOF |
3973 |
|
/* confdefs.h. */ |
3974 |
|
_ACEOF |
3975 |
|
cat confdefs.h >>conftest.$ac_ext |
3976 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3977 |
|
/* end confdefs.h. */ |
3978 |
|
#include <$ac_header> |
3979 |
|
_ACEOF |
3980 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
3981 |
|
case "(($ac_try" in |
3982 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3983 |
|
*) ac_try_echo=$ac_try;; |
3984 |
|
esac |
3985 |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3986 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3987 |
|
ac_status=$? |
3988 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3989 |
|
rm -f conftest.er1 |
3990 |
|
cat conftest.err >&5 |
3991 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3992 |
|
(exit $ac_status); } >/dev/null && { |
3993 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3994 |
|
test ! -s conftest.err |
3995 |
|
}; then |
3996 |
|
ac_header_preproc=yes |
3997 |
|
else |
3998 |
|
echo "$as_me: failed program was:" >&5 |
3999 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4000 |
|
|
4001 |
|
ac_header_preproc=no |
4002 |
|
fi |
4003 |
|
|
4004 |
|
rm -f conftest.err conftest.$ac_ext |
4005 |
|
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
4006 |
|
echo "${ECHO_T}$ac_header_preproc" >&6; } |
4007 |
|
|
4008 |
|
# So? What about this header? |
4009 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
4010 |
|
yes:no: ) |
4011 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4012 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4013 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
4014 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
4015 |
|
ac_header_preproc=yes |
4016 |
|
;; |
4017 |
|
no:yes:* ) |
4018 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
4019 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
4020 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4021 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
4022 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
4023 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
4024 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
4025 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
4026 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4027 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4028 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
4029 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
4030 |
|
( cat <<\_ASBOX |
4031 |
|
## ------------------------------- ## |
4032 |
|
## Report this to till@harbaum.org ## |
4033 |
|
## ------------------------------- ## |
4034 |
|
_ASBOX |
4035 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
4036 |
|
;; |
4037 |
|
esac |
4038 |
|
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4039 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
4040 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4041 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4042 |
|
else |
4043 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
4044 |
|
fi |
4045 |
|
ac_res=`eval echo '${'$as_ac_Header'}'` |
4046 |
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
4047 |
|
echo "${ECHO_T}$ac_res" >&6; } |
4048 |
|
|
4049 |
|
fi |
4050 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4051 |
|
cat >>confdefs.h <<_ACEOF |
4052 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4053 |
|
_ACEOF |
4054 |
|
|
4055 |
|
CFLAGS="$CFLAGS -DESPEAK" |
4056 |
|
LIBS="$LIBS -lespeak" |
4057 |
|
|
4058 |
|
fi |
4059 |
|
|
4060 |
|
done |
4061 |
|
|
4062 |
|
|
4063 |
# check for libsoup |
# check for libsoup |
4064 |
|
|
4065 |
pkg_failed=no |
pkg_failed=no |
5248 |
# fremantle uses icons of 48x48 pixels for the app installer, |
# fremantle uses icons of 48x48 pixels for the app installer, |
5249 |
# older versions used 26x26 |
# older versions used 26x26 |
5250 |
if [ "$MAJOR" == "5" ]; then |
if [ "$MAJOR" == "5" ]; then |
5251 |
ICONNAME=gpxview.48.png |
ICONNAME=48x48/gpxview.png |
5252 |
datarootdir=/opt |
datarootdir=/opt |
5253 |
else |
else |
5254 |
ICONNAME=gpxview.26.png |
ICONNAME=26x26/gpxview.png |
5255 |
{ echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5 |
{ echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5 |
5256 |
echo "$as_me: Enabling Maemo Mapper support" >&6;} |
echo "$as_me: Enabling Maemo Mapper support" >&6;} |
|
CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER" |
|
|
EXTRA_OBJS="$EXTRA_OBJS mm_poi.o" |
|
5257 |
fi |
fi |
5258 |
|
|
5259 |
|
CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER" |
5260 |
|
EXTRA_OBJS="$EXTRA_OBJS mm_poi.o" |
5261 |
|
|
5262 |
# maemo uses dbus for ipc with maemo mapper |
# maemo uses dbus for ipc with maemo mapper |
5263 |
EXTRA_OBJS="$EXTRA_OBJS dbus.o" |
EXTRA_OBJS="$EXTRA_OBJS dbus.o" |
5264 |
|
|
5272 |
|
|
5273 |
# generate base64 icon, remove first and last line |
# generate base64 icon, remove first and last line |
5274 |
# and add a space before each line |
# and add a space before each line |
5275 |
ICON="$ICON`uuencode -m data/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`" |
ICON="$ICON`uuencode -m data/icons/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`" |
5276 |
|
|
5277 |
|
|
5278 |
else |
else |
5879 |
# report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
5880 |
# values after options handling. |
# values after options handling. |
5881 |
ac_log=" |
ac_log=" |
5882 |
This file was extended by GPXView $as_me 0.9.0, which was |
This file was extended by GPXView $as_me 0.9.2, which was |
5883 |
generated by GNU Autoconf 2.61. Invocation command line was |
generated by GNU Autoconf 2.61. Invocation command line was |
5884 |
|
|
5885 |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
5922 |
_ACEOF |
_ACEOF |
5923 |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
5924 |
ac_cs_version="\\ |
ac_cs_version="\\ |
5925 |
GPXView config.status 0.9.0 |
GPXView config.status 0.9.2 |
5926 |
configured by $0, generated by GNU Autoconf 2.61, |
configured by $0, generated by GNU Autoconf 2.61, |
5927 |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
5928 |
|
|
6142 |
libxml2_LIBS!$libxml2_LIBS$ac_delim |
libxml2_LIBS!$libxml2_LIBS$ac_delim |
6143 |
libcurl_CFLAGS!$libcurl_CFLAGS$ac_delim |
libcurl_CFLAGS!$libcurl_CFLAGS$ac_delim |
6144 |
libcurl_LIBS!$libcurl_LIBS$ac_delim |
libcurl_LIBS!$libcurl_LIBS$ac_delim |
6145 |
|
CPP!$CPP$ac_delim |
6146 |
|
GREP!$GREP$ac_delim |
6147 |
|
EGREP!$EGREP$ac_delim |
6148 |
libsoup24_CFLAGS!$libsoup24_CFLAGS$ac_delim |
libsoup24_CFLAGS!$libsoup24_CFLAGS$ac_delim |
6149 |
libsoup24_LIBS!$libsoup24_LIBS$ac_delim |
libsoup24_LIBS!$libsoup24_LIBS$ac_delim |
6150 |
libsoup22_CFLAGS!$libsoup22_CFLAGS$ac_delim |
libsoup22_CFLAGS!$libsoup22_CFLAGS$ac_delim |
6179 |
LTLIBOBJS!$LTLIBOBJS$ac_delim |
LTLIBOBJS!$LTLIBOBJS$ac_delim |
6180 |
_ACEOF |
_ACEOF |
6181 |
|
|
6182 |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 89; then |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then |
6183 |
break |
break |
6184 |
elif $ac_last_try; then |
elif $ac_last_try; then |
6185 |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |