Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 282 - (show annotations)
Wed May 26 19:21:47 2010 UTC (13 years, 11 months ago) by harbaum
File size: 195328 byte(s)
New gps integration
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for GPXView 0.9.4.
4 #
5 # Report bugs to <till@harbaum.org>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
60 fi
61
62
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
70 IFS=" "" $as_nl"
71
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
77 do
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
83
84 ;;
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
90 fi
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
109 do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 fi
115 done
116
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
123 fi
124
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
129 fi
130
131
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\/\)$/{
143 s//\1/
144 q
145 }
146 /^X\/\(\/\).*/{
147 s//\1/
148 q
149 }
150 s/.*/./; q'`
151
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
161 fi
162
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
166 }
167 as_func_success () {
168 as_func_return 0
169 }
170 as_func_failure () {
171 as_func_return 1
172 }
173 as_func_ret_success () {
174 return 0
175 }
176 as_func_ret_failure () {
177 return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182 :
183 else
184 exitcode=1
185 echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194 :
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207 else
208 exitcode=1
209 echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220 :
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
229 /*)
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280 (exit $1)
281 }
282 as_func_success () {
283 as_func_return 0
284 }
285 as_func_failure () {
286 as_func_return 1
287 }
288 as_func_ret_success () {
289 return 0
290 }
291 as_func_ret_failure () {
292 return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297 :
298 else
299 exitcode=1
300 echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309 :
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322 else
323 exitcode=1
324 echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337 break
338 fi
339
340 fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369 (exit \$1)
370 }
371 as_func_success () {
372 as_func_return 0
373 }
374 as_func_failure () {
375 as_func_return 1
376 }
377 as_func_ret_success () {
378 return 0
379 }
380 as_func_ret_failure () {
381 return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386 :
387 else
388 exitcode=1
389 echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398 :
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411 else
412 exitcode=1
413 echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421 }
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
441 p
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
447 b
448 :lineno
449 N
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
458
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
465 }
466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
472 fi
473
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
481 *)
482 ECHO_N='-n';;
483 esac
484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
490 fi
491
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
512 fi
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
515
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
521 fi
522
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
530 fi
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
542 '
543 fi
544 as_executable_p=$as_test_x
545
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554 exec 7<&0 </dev/null 6>&1
555
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561 #
562 # Initializations.
563 #
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573
574 # Identity of this package.
575 PACKAGE_NAME='GPXView'
576 PACKAGE_TARNAME='gpxview'
577 PACKAGE_VERSION='0.9.4'
578 PACKAGE_STRING='GPXView 0.9.4'
579 PACKAGE_BUGREPORT='till@harbaum.org'
580
581 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
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 PACKAGE
656 CC
657 CFLAGS
658 LDFLAGS
659 CPPFLAGS
660 ac_ct_CC
661 EXEEXT
662 OBJEXT
663 INSTALL_PROGRAM
664 INSTALL_SCRIPT
665 INSTALL_DATA
666 LN_S
667 SET_MAKE
668 PKG_CONFIG
669 gnome_vfs_module_CFLAGS
670 gnome_vfs_module_LIBS
671 libxml2_CFLAGS
672 libxml2_LIBS
673 libcurl_CFLAGS
674 libcurl_LIBS
675 libsoup24_CFLAGS
676 libsoup24_LIBS
677 libsoup22_CFLAGS
678 libsoup22_LIBS
679 libgtkhtml3_14_CFLAGS
680 libgtkhtml3_14_LIBS
681 libgtkhtml3_8_CFLAGS
682 libgtkhtml3_8_LIBS
683 hildon_CFLAGS
684 hildon_LIBS
685 osso_CFLAGS
686 osso_LIBS
687 hildon_fm_2_CFLAGS
688 hildon_fm_2_LIBS
689 sqlite3_CFLAGS
690 sqlite3_LIBS
691 hildon_help_CFLAGS
692 hildon_help_LIBS
693 gpsbt_CFLAGS
694 gpsbt_LIBS
695 liblocation_CFLAGS
696 liblocation_LIBS
697 MAEMO_VERSION_MAJOR
698 CPP
699 GREP
700 EGREP
701 gtk_CFLAGS
702 gtk_LIBS
703 gnome2_CFLAGS
704 gnome2_LIBS
705 gps_CFLAGS
706 gps_LIBS
707 EXTRA_OBJS
708 ICON
709 INSTALL_PLATTFORM
710 LIBOBJS
711 LTLIBOBJS'
712 ac_subst_files=''
713 ac_precious_vars='build_alias
714 host_alias
715 target_alias
716 CC
717 CFLAGS
718 LDFLAGS
719 LIBS
720 CPPFLAGS
721 PKG_CONFIG
722 gnome_vfs_module_CFLAGS
723 gnome_vfs_module_LIBS
724 libxml2_CFLAGS
725 libxml2_LIBS
726 libcurl_CFLAGS
727 libcurl_LIBS
728 libsoup24_CFLAGS
729 libsoup24_LIBS
730 libsoup22_CFLAGS
731 libsoup22_LIBS
732 libgtkhtml3_14_CFLAGS
733 libgtkhtml3_14_LIBS
734 libgtkhtml3_8_CFLAGS
735 libgtkhtml3_8_LIBS
736 hildon_CFLAGS
737 hildon_LIBS
738 osso_CFLAGS
739 osso_LIBS
740 hildon_fm_2_CFLAGS
741 hildon_fm_2_LIBS
742 sqlite3_CFLAGS
743 sqlite3_LIBS
744 hildon_help_CFLAGS
745 hildon_help_LIBS
746 gpsbt_CFLAGS
747 gpsbt_LIBS
748 liblocation_CFLAGS
749 liblocation_LIBS
750 CPP
751 gtk_CFLAGS
752 gtk_LIBS
753 gnome2_CFLAGS
754 gnome2_LIBS
755 gps_CFLAGS
756 gps_LIBS'
757
758
759 # Initialize some variables set by options.
760 ac_init_help=
761 ac_init_version=false
762 # The variables have the same names as the options, with
763 # dashes changed to underlines.
764 cache_file=/dev/null
765 exec_prefix=NONE
766 no_create=
767 no_recursion=
768 prefix=NONE
769 program_prefix=NONE
770 program_suffix=NONE
771 program_transform_name=s,x,x,
772 silent=
773 site=
774 srcdir=
775 verbose=
776 x_includes=NONE
777 x_libraries=NONE
778
779 # Installation directory options.
780 # These are left unexpanded so users can "make install exec_prefix=/foo"
781 # and all the variables that are supposed to be based on exec_prefix
782 # by default will actually change.
783 # Use braces instead of parens because sh, perl, etc. also accept them.
784 # (The list follows the same order as the GNU Coding Standards.)
785 bindir='${exec_prefix}/bin'
786 sbindir='${exec_prefix}/sbin'
787 libexecdir='${exec_prefix}/libexec'
788 datarootdir='${prefix}/share'
789 datadir='${datarootdir}'
790 sysconfdir='${prefix}/etc'
791 sharedstatedir='${prefix}/com'
792 localstatedir='${prefix}/var'
793 includedir='${prefix}/include'
794 oldincludedir='/usr/include'
795 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
796 infodir='${datarootdir}/info'
797 htmldir='${docdir}'
798 dvidir='${docdir}'
799 pdfdir='${docdir}'
800 psdir='${docdir}'
801 libdir='${exec_prefix}/lib'
802 localedir='${datarootdir}/locale'
803 mandir='${datarootdir}/man'
804
805 ac_prev=
806 ac_dashdash=
807 for ac_option
808 do
809 # If the previous option needs an argument, assign it.
810 if test -n "$ac_prev"; then
811 eval $ac_prev=\$ac_option
812 ac_prev=
813 continue
814 fi
815
816 case $ac_option in
817 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818 *) ac_optarg=yes ;;
819 esac
820
821 # Accept the important Cygnus configure options, so we can diagnose typos.
822
823 case $ac_dashdash$ac_option in
824 --)
825 ac_dashdash=yes ;;
826
827 -bindir | --bindir | --bindi | --bind | --bin | --bi)
828 ac_prev=bindir ;;
829 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
830 bindir=$ac_optarg ;;
831
832 -build | --build | --buil | --bui | --bu)
833 ac_prev=build_alias ;;
834 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
835 build_alias=$ac_optarg ;;
836
837 -cache-file | --cache-file | --cache-fil | --cache-fi \
838 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
839 ac_prev=cache_file ;;
840 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
841 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
842 cache_file=$ac_optarg ;;
843
844 --config-cache | -C)
845 cache_file=config.cache ;;
846
847 -datadir | --datadir | --datadi | --datad)
848 ac_prev=datadir ;;
849 -datadir=* | --datadir=* | --datadi=* | --datad=*)
850 datadir=$ac_optarg ;;
851
852 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
853 | --dataroo | --dataro | --datar)
854 ac_prev=datarootdir ;;
855 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
856 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
857 datarootdir=$ac_optarg ;;
858
859 -disable-* | --disable-*)
860 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861 # Reject names that are not valid shell variable names.
862 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
863 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
864 { (exit 1); exit 1; }; }
865 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
866 eval enable_$ac_feature=no ;;
867
868 -docdir | --docdir | --docdi | --doc | --do)
869 ac_prev=docdir ;;
870 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
871 docdir=$ac_optarg ;;
872
873 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
874 ac_prev=dvidir ;;
875 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
876 dvidir=$ac_optarg ;;
877
878 -enable-* | --enable-*)
879 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880 # Reject names that are not valid shell variable names.
881 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
882 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
883 { (exit 1); exit 1; }; }
884 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
885 eval enable_$ac_feature=\$ac_optarg ;;
886
887 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
888 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
889 | --exec | --exe | --ex)
890 ac_prev=exec_prefix ;;
891 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
892 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
893 | --exec=* | --exe=* | --ex=*)
894 exec_prefix=$ac_optarg ;;
895
896 -gas | --gas | --ga | --g)
897 # Obsolete; use --with-gas.
898 with_gas=yes ;;
899
900 -help | --help | --hel | --he | -h)
901 ac_init_help=long ;;
902 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
903 ac_init_help=recursive ;;
904 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
905 ac_init_help=short ;;
906
907 -host | --host | --hos | --ho)
908 ac_prev=host_alias ;;
909 -host=* | --host=* | --hos=* | --ho=*)
910 host_alias=$ac_optarg ;;
911
912 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
913 ac_prev=htmldir ;;
914 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
915 | --ht=*)
916 htmldir=$ac_optarg ;;
917
918 -includedir | --includedir | --includedi | --included | --include \
919 | --includ | --inclu | --incl | --inc)
920 ac_prev=includedir ;;
921 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
922 | --includ=* | --inclu=* | --incl=* | --inc=*)
923 includedir=$ac_optarg ;;
924
925 -infodir | --infodir | --infodi | --infod | --info | --inf)
926 ac_prev=infodir ;;
927 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
928 infodir=$ac_optarg ;;
929
930 -libdir | --libdir | --libdi | --libd)
931 ac_prev=libdir ;;
932 -libdir=* | --libdir=* | --libdi=* | --libd=*)
933 libdir=$ac_optarg ;;
934
935 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
936 | --libexe | --libex | --libe)
937 ac_prev=libexecdir ;;
938 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
939 | --libexe=* | --libex=* | --libe=*)
940 libexecdir=$ac_optarg ;;
941
942 -localedir | --localedir | --localedi | --localed | --locale)
943 ac_prev=localedir ;;
944 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
945 localedir=$ac_optarg ;;
946
947 -localstatedir | --localstatedir | --localstatedi | --localstated \
948 | --localstate | --localstat | --localsta | --localst | --locals)
949 ac_prev=localstatedir ;;
950 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
951 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
952 localstatedir=$ac_optarg ;;
953
954 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
955 ac_prev=mandir ;;
956 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
957 mandir=$ac_optarg ;;
958
959 -nfp | --nfp | --nf)
960 # Obsolete; use --without-fp.
961 with_fp=no ;;
962
963 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
964 | --no-cr | --no-c | -n)
965 no_create=yes ;;
966
967 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
968 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
969 no_recursion=yes ;;
970
971 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
972 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
973 | --oldin | --oldi | --old | --ol | --o)
974 ac_prev=oldincludedir ;;
975 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
976 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
977 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
978 oldincludedir=$ac_optarg ;;
979
980 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
981 ac_prev=prefix ;;
982 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
983 prefix=$ac_optarg ;;
984
985 -program-prefix | --program-prefix | --program-prefi | --program-pref \
986 | --program-pre | --program-pr | --program-p)
987 ac_prev=program_prefix ;;
988 -program-prefix=* | --program-prefix=* | --program-prefi=* \
989 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
990 program_prefix=$ac_optarg ;;
991
992 -program-suffix | --program-suffix | --program-suffi | --program-suff \
993 | --program-suf | --program-su | --program-s)
994 ac_prev=program_suffix ;;
995 -program-suffix=* | --program-suffix=* | --program-suffi=* \
996 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
997 program_suffix=$ac_optarg ;;
998
999 -program-transform-name | --program-transform-name \
1000 | --program-transform-nam | --program-transform-na \
1001 | --program-transform-n | --program-transform- \
1002 | --program-transform | --program-transfor \
1003 | --program-transfo | --program-transf \
1004 | --program-trans | --program-tran \
1005 | --progr-tra | --program-tr | --program-t)
1006 ac_prev=program_transform_name ;;
1007 -program-transform-name=* | --program-transform-name=* \
1008 | --program-transform-nam=* | --program-transform-na=* \
1009 | --program-transform-n=* | --program-transform-=* \
1010 | --program-transform=* | --program-transfor=* \
1011 | --program-transfo=* | --program-transf=* \
1012 | --program-trans=* | --program-tran=* \
1013 | --progr-tra=* | --program-tr=* | --program-t=*)
1014 program_transform_name=$ac_optarg ;;
1015
1016 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1017 ac_prev=pdfdir ;;
1018 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1019 pdfdir=$ac_optarg ;;
1020
1021 -psdir | --psdir | --psdi | --psd | --ps)
1022 ac_prev=psdir ;;
1023 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1024 psdir=$ac_optarg ;;
1025
1026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1027 | -silent | --silent | --silen | --sile | --sil)
1028 silent=yes ;;
1029
1030 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1031 ac_prev=sbindir ;;
1032 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1033 | --sbi=* | --sb=*)
1034 sbindir=$ac_optarg ;;
1035
1036 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1037 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1038 | --sharedst | --shareds | --shared | --share | --shar \
1039 | --sha | --sh)
1040 ac_prev=sharedstatedir ;;
1041 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1042 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1043 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1044 | --sha=* | --sh=*)
1045 sharedstatedir=$ac_optarg ;;
1046
1047 -site | --site | --sit)
1048 ac_prev=site ;;
1049 -site=* | --site=* | --sit=*)
1050 site=$ac_optarg ;;
1051
1052 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1053 ac_prev=srcdir ;;
1054 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1055 srcdir=$ac_optarg ;;
1056
1057 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1058 | --syscon | --sysco | --sysc | --sys | --sy)
1059 ac_prev=sysconfdir ;;
1060 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1061 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1062 sysconfdir=$ac_optarg ;;
1063
1064 -target | --target | --targe | --targ | --tar | --ta | --t)
1065 ac_prev=target_alias ;;
1066 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1067 target_alias=$ac_optarg ;;
1068
1069 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1070 verbose=yes ;;
1071
1072 -version | --version | --versio | --versi | --vers | -V)
1073 ac_init_version=: ;;
1074
1075 -with-* | --with-*)
1076 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1079 { echo "$as_me: error: invalid package name: $ac_package" >&2
1080 { (exit 1); exit 1; }; }
1081 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1082 eval with_$ac_package=\$ac_optarg ;;
1083
1084 -without-* | --without-*)
1085 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1088 { echo "$as_me: error: invalid package name: $ac_package" >&2
1089 { (exit 1); exit 1; }; }
1090 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1091 eval with_$ac_package=no ;;
1092
1093 --x)
1094 # Obsolete; use --with-x.
1095 with_x=yes ;;
1096
1097 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1098 | --x-incl | --x-inc | --x-in | --x-i)
1099 ac_prev=x_includes ;;
1100 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1101 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1102 x_includes=$ac_optarg ;;
1103
1104 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1105 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1106 ac_prev=x_libraries ;;
1107 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1108 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1109 x_libraries=$ac_optarg ;;
1110
1111 -*) { echo "$as_me: error: unrecognized option: $ac_option
1112 Try \`$0 --help' for more information." >&2
1113 { (exit 1); exit 1; }; }
1114 ;;
1115
1116 *=*)
1117 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1120 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1121 { (exit 1); exit 1; }; }
1122 eval $ac_envvar=\$ac_optarg
1123 export $ac_envvar ;;
1124
1125 *)
1126 # FIXME: should be removed in autoconf 3.0.
1127 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1128 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1129 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1130 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1131 ;;
1132
1133 esac
1134 done
1135
1136 if test -n "$ac_prev"; then
1137 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1138 { echo "$as_me: error: missing argument to $ac_option" >&2
1139 { (exit 1); exit 1; }; }
1140 fi
1141
1142 # Be sure to have absolute directory names.
1143 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1144 datadir sysconfdir sharedstatedir localstatedir includedir \
1145 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1146 libdir localedir mandir
1147 do
1148 eval ac_val=\$$ac_var
1149 case $ac_val in
1150 [\\/$]* | ?:[\\/]* ) continue;;
1151 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1152 esac
1153 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1154 { (exit 1); exit 1; }; }
1155 done
1156
1157 # There might be people who depend on the old broken behavior: `$host'
1158 # used to hold the argument of --host etc.
1159 # FIXME: To remove some day.
1160 build=$build_alias
1161 host=$host_alias
1162 target=$target_alias
1163
1164 # FIXME: To remove some day.
1165 if test "x$host_alias" != x; then
1166 if test "x$build_alias" = x; then
1167 cross_compiling=maybe
1168 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1169 If a cross compiler is detected then cross compile mode will be used." >&2
1170 elif test "x$build_alias" != "x$host_alias"; then
1171 cross_compiling=yes
1172 fi
1173 fi
1174
1175 ac_tool_prefix=
1176 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1177
1178 test "$silent" = yes && exec 6>/dev/null
1179
1180
1181 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1182 ac_ls_di=`ls -di .` &&
1183 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1184 { echo "$as_me: error: Working directory cannot be determined" >&2
1185 { (exit 1); exit 1; }; }
1186 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1187 { echo "$as_me: error: pwd does not report name of working directory" >&2
1188 { (exit 1); exit 1; }; }
1189
1190
1191 # Find the source files, if location was not specified.
1192 if test -z "$srcdir"; then
1193 ac_srcdir_defaulted=yes
1194 # Try the directory containing this script, then the parent directory.
1195 ac_confdir=`$as_dirname -- "$0" ||
1196 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1197 X"$0" : 'X\(//\)[^/]' \| \
1198 X"$0" : 'X\(//\)$' \| \
1199 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1200 echo X"$0" |
1201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1202 s//\1/
1203 q
1204 }
1205 /^X\(\/\/\)[^/].*/{
1206 s//\1/
1207 q
1208 }
1209 /^X\(\/\/\)$/{
1210 s//\1/
1211 q
1212 }
1213 /^X\(\/\).*/{
1214 s//\1/
1215 q
1216 }
1217 s/.*/./; q'`
1218 srcdir=$ac_confdir
1219 if test ! -r "$srcdir/$ac_unique_file"; then
1220 srcdir=..
1221 fi
1222 else
1223 ac_srcdir_defaulted=no
1224 fi
1225 if test ! -r "$srcdir/$ac_unique_file"; then
1226 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1227 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1228 { (exit 1); exit 1; }; }
1229 fi
1230 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1231 ac_abs_confdir=`(
1232 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1233 { (exit 1); exit 1; }; }
1234 pwd)`
1235 # When building in place, set srcdir=.
1236 if test "$ac_abs_confdir" = "$ac_pwd"; then
1237 srcdir=.
1238 fi
1239 # Remove unnecessary trailing slashes from srcdir.
1240 # Double slashes in file names in object file debugging info
1241 # mess up M-x gdb in Emacs.
1242 case $srcdir in
1243 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1244 esac
1245 for ac_var in $ac_precious_vars; do
1246 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1247 eval ac_env_${ac_var}_value=\$${ac_var}
1248 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1249 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1250 done
1251
1252 #
1253 # Report the --help message.
1254 #
1255 if test "$ac_init_help" = "long"; then
1256 # Omit some internal or obsolete options to make the list less imposing.
1257 # This message is too long to be a string in the A/UX 3.1 sh.
1258 cat <<_ACEOF
1259 \`configure' configures GPXView 0.9.4 to adapt to many kinds of systems.
1260
1261 Usage: $0 [OPTION]... [VAR=VALUE]...
1262
1263 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1264 VAR=VALUE. See below for descriptions of some of the useful variables.
1265
1266 Defaults for the options are specified in brackets.
1267
1268 Configuration:
1269 -h, --help display this help and exit
1270 --help=short display options specific to this package
1271 --help=recursive display the short help of all the included packages
1272 -V, --version display version information and exit
1273 -q, --quiet, --silent do not print \`checking...' messages
1274 --cache-file=FILE cache test results in FILE [disabled]
1275 -C, --config-cache alias for \`--cache-file=config.cache'
1276 -n, --no-create do not create output files
1277 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1278
1279 Installation directories:
1280 --prefix=PREFIX install architecture-independent files in PREFIX
1281 [$ac_default_prefix]
1282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1283 [PREFIX]
1284
1285 By default, \`make install' will install all the files in
1286 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1287 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1288 for instance \`--prefix=\$HOME'.
1289
1290 For better control, use the options below.
1291
1292 Fine tuning of the installation directories:
1293 --bindir=DIR user executables [EPREFIX/bin]
1294 --sbindir=DIR system admin executables [EPREFIX/sbin]
1295 --libexecdir=DIR program executables [EPREFIX/libexec]
1296 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1297 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1298 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1299 --libdir=DIR object code libraries [EPREFIX/lib]
1300 --includedir=DIR C header files [PREFIX/include]
1301 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1304 --infodir=DIR info documentation [DATAROOTDIR/info]
1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1306 --mandir=DIR man documentation [DATAROOTDIR/man]
1307 --docdir=DIR documentation root [DATAROOTDIR/doc/gpxview]
1308 --htmldir=DIR html documentation [DOCDIR]
1309 --dvidir=DIR dvi documentation [DOCDIR]
1310 --pdfdir=DIR pdf documentation [DOCDIR]
1311 --psdir=DIR ps documentation [DOCDIR]
1312 _ACEOF
1313
1314 cat <<\_ACEOF
1315 _ACEOF
1316 fi
1317
1318 if test -n "$ac_init_help"; then
1319 case $ac_init_help in
1320 short | recursive ) echo "Configuration of GPXView 0.9.4:";;
1321 esac
1322 cat <<\_ACEOF
1323
1324 Some influential environment variables:
1325 CC C compiler command
1326 CFLAGS C compiler flags
1327 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1328 nonstandard directory <lib dir>
1329 LIBS libraries to pass to the linker, e.g. -l<library>
1330 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1331 you have headers in a nonstandard directory <include dir>
1332 PKG_CONFIG path to pkg-config utility
1333 gnome_vfs_module_CFLAGS
1334 C compiler flags for gnome_vfs_module, overriding pkg-config
1335 gnome_vfs_module_LIBS
1336 linker flags for gnome_vfs_module, overriding pkg-config
1337 libxml2_CFLAGS
1338 C compiler flags for libxml2, overriding pkg-config
1339 libxml2_LIBS
1340 linker flags for libxml2, overriding pkg-config
1341 libcurl_CFLAGS
1342 C compiler flags for libcurl, overriding pkg-config
1343 libcurl_LIBS
1344 linker flags for libcurl, overriding pkg-config
1345 libsoup24_CFLAGS
1346 C compiler flags for libsoup24, overriding pkg-config
1347 libsoup24_LIBS
1348 linker flags for libsoup24, overriding pkg-config
1349 libsoup22_CFLAGS
1350 C compiler flags for libsoup22, overriding pkg-config
1351 libsoup22_LIBS
1352 linker flags for libsoup22, overriding pkg-config
1353 libgtkhtml3_14_CFLAGS
1354 C compiler flags for libgtkhtml3_14, overriding pkg-config
1355 libgtkhtml3_14_LIBS
1356 linker flags for libgtkhtml3_14, overriding pkg-config
1357 libgtkhtml3_8_CFLAGS
1358 C compiler flags for libgtkhtml3_8, overriding pkg-config
1359 libgtkhtml3_8_LIBS
1360 linker flags for libgtkhtml3_8, overriding pkg-config
1361 hildon_CFLAGS
1362 C compiler flags for hildon, overriding pkg-config
1363 hildon_LIBS linker flags for hildon, overriding pkg-config
1364 osso_CFLAGS C compiler flags for osso, overriding pkg-config
1365 osso_LIBS linker flags for osso, overriding pkg-config
1366 hildon_fm_2_CFLAGS
1367 C compiler flags for hildon_fm_2, overriding pkg-config
1368 hildon_fm_2_LIBS
1369 linker flags for hildon_fm_2, overriding pkg-config
1370 sqlite3_CFLAGS
1371 C compiler flags for sqlite3, overriding pkg-config
1372 sqlite3_LIBS
1373 linker flags for sqlite3, overriding pkg-config
1374 hildon_help_CFLAGS
1375 C compiler flags for hildon_help, overriding pkg-config
1376 hildon_help_LIBS
1377 linker flags for hildon_help, overriding pkg-config
1378 gpsbt_CFLAGS
1379 C compiler flags for gpsbt, overriding pkg-config
1380 gpsbt_LIBS linker flags for gpsbt, overriding pkg-config
1381 liblocation_CFLAGS
1382 C compiler flags for liblocation, overriding pkg-config
1383 liblocation_LIBS
1384 linker flags for liblocation, overriding pkg-config
1385 CPP C preprocessor
1386 gtk_CFLAGS C compiler flags for gtk, overriding pkg-config
1387 gtk_LIBS linker flags for gtk, overriding pkg-config
1388 gnome2_CFLAGS
1389 C compiler flags for gnome2, overriding pkg-config
1390 gnome2_LIBS linker flags for gnome2, overriding pkg-config
1391 gps_CFLAGS C compiler flags for gps, overriding pkg-config
1392 gps_LIBS linker flags for gps, overriding pkg-config
1393
1394 Use these variables to override the choices made by `configure' or to help
1395 it to find libraries and programs with nonstandard names/locations.
1396
1397 Report bugs to <till@harbaum.org>.
1398 _ACEOF
1399 ac_status=$?
1400 fi
1401
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" || continue
1406 ac_builddir=.
1407
1408 case "$ac_dir" in
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410 *)
1411 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417 esac ;;
1418 esac
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1423
1424 case $srcdir in
1425 .) # We are building in place.
1426 ac_srcdir=.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1433 *) # Relative name.
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1437 esac
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1439
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1446 echo &&
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1448 else
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450 fi || ac_status=$?
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1452 done
1453 fi
1454
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1457 cat <<\_ACEOF
1458 GPXView configure 0.9.4
1459 generated by GNU Autoconf 2.61
1460
1461 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1463 This configure script is free software; the Free Software Foundation
1464 gives unlimited permission to copy, distribute and modify it.
1465 _ACEOF
1466 exit
1467 fi
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1471
1472 It was created by GPXView $as_me 0.9.4, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1474
1475 $ $0 $@
1476
1477 _ACEOF
1478 exec 5>>config.log
1479 {
1480 cat <<_ASUNAME
1481 ## --------- ##
1482 ## Platform. ##
1483 ## --------- ##
1484
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1490
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1493
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1501
1502 _ASUNAME
1503
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1506 do
1507 IFS=$as_save_IFS
1508 test -z "$as_dir" && as_dir=.
1509 echo "PATH: $as_dir"
1510 done
1511 IFS=$as_save_IFS
1512
1513 } >&5
1514
1515 cat >&5 <<_ACEOF
1516
1517
1518 ## ----------- ##
1519 ## Core tests. ##
1520 ## ----------- ##
1521
1522 _ACEOF
1523
1524
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1530 ac_configure_args=
1531 ac_configure_args0=
1532 ac_configure_args1=
1533 ac_must_keep_next=false
1534 for ac_pass in 1 2
1535 do
1536 for ac_arg
1537 do
1538 case $ac_arg in
1539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541 | -silent | --silent | --silen | --sile | --sil)
1542 continue ;;
1543 *\'*)
1544 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 esac
1546 case $ac_pass in
1547 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1548 2)
1549 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true; then
1551 ac_must_keep_next=false # Got value, back to normal.
1552 else
1553 case $ac_arg in
1554 *=* | --config-cache | -C | -disable-* | --disable-* \
1555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557 | -with-* | --with-* | -without-* | --without-* | --x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 esac
1561 ;;
1562 -* ) ac_must_keep_next=true ;;
1563 esac
1564 fi
1565 ac_configure_args="$ac_configure_args '$ac_arg'"
1566 ;;
1567 esac
1568 done
1569 done
1570 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1571 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1572
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1580 {
1581 echo
1582
1583 cat <<\_ASBOX
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1587 _ASBOX
1588 echo
1589 # The following way of writing the cache mishandles newlines in values,
1590 (
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1593 case $ac_val in #(
1594 *${as_nl}*)
1595 case $ac_var in #(
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598 esac
1599 case $ac_var in #(
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1602 esac ;;
1603 esac
1604 done
1605 (set) 2>&1 |
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1608 sed -n \
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611 ;; #(
1612 *)
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1614 ;;
1615 esac |
1616 sort
1617 )
1618 echo
1619
1620 cat <<\_ASBOX
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1624 _ASBOX
1625 echo
1626 for ac_var in $ac_subst_vars
1627 do
1628 eval ac_val=\$$ac_var
1629 case $ac_val in
1630 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 esac
1632 echo "$ac_var='\''$ac_val'\''"
1633 done | sort
1634 echo
1635
1636 if test -n "$ac_subst_files"; then
1637 cat <<\_ASBOX
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1641 _ASBOX
1642 echo
1643 for ac_var in $ac_subst_files
1644 do
1645 eval ac_val=\$$ac_var
1646 case $ac_val in
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 esac
1649 echo "$ac_var='\''$ac_val'\''"
1650 done | sort
1651 echo
1652 fi
1653
1654 if test -s confdefs.h; then
1655 cat <<\_ASBOX
1656 ## ----------- ##
1657 ## confdefs.h. ##
1658 ## ----------- ##
1659 _ASBOX
1660 echo
1661 cat confdefs.h
1662 echo
1663 fi
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1667 } >&5
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 exit $exit_status
1671 ' 0
1672 for ac_signal in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1674 done
1675 ac_signal=0
1676
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest* confdefs.h
1679
1680 # Predefined preprocessor variables.
1681
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1684 _ACEOF
1685
1686
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1689 _ACEOF
1690
1691
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1694 _ACEOF
1695
1696
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1699 _ACEOF
1700
1701
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1704 _ACEOF
1705
1706
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x "$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE; then
1712 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1713 else
1714 set x "$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1716 fi
1717 shift
1718 for ac_site_file
1719 do
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1724 . "$ac_site_file"
1725 fi
1726 done
1727
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1734 case $cache_file in
1735 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1736 *) . "./$cache_file";;
1737 esac
1738 fi
1739 else
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1742 >$cache_file
1743 fi
1744
1745 # Check that the precious variables saved in the cache have kept the same
1746 # value.
1747 ac_cache_corrupted=false
1748 for ac_var in $ac_precious_vars; do
1749 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1750 eval ac_new_set=\$ac_env_${ac_var}_set
1751 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1752 eval ac_new_val=\$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1754 set,)
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1758 ,set)
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted=: ;;
1762 ,);;
1763 *)
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted=:
1772 fi;;
1773 esac
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1776 case $ac_new_val in
1777 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg=$ac_var=$ac_new_val ;;
1779 esac
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1783 esac
1784 fi
1785 done
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1792 fi
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818 ac_ext=c
1819 ac_cpp='$CPP $CPPFLAGS'
1820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1823
1824
1825
1826 # AC_CONFIG_HEADER([src/config.h])
1827
1828 PACKAGE="gpxview"
1829
1830
1831 # Checks for programs.
1832 ac_ext=c
1833 ac_cpp='$CPP $CPPFLAGS'
1834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1837 if test -n "$ac_tool_prefix"; then
1838 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1839 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1842 if test "${ac_cv_prog_CC+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 else
1845 if test -n "$CC"; then
1846 ac_cv_prog_CC="$CC" # Let the user override the test.
1847 else
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849 for as_dir in $PATH
1850 do
1851 IFS=$as_save_IFS
1852 test -z "$as_dir" && as_dir=.
1853 for ac_exec_ext in '' $ac_executable_extensions; do
1854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1855 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1857 break 2
1858 fi
1859 done
1860 done
1861 IFS=$as_save_IFS
1862
1863 fi
1864 fi
1865 CC=$ac_cv_prog_CC
1866 if test -n "$CC"; then
1867 { echo "$as_me:$LINENO: result: $CC" >&5
1868 echo "${ECHO_T}$CC" >&6; }
1869 else
1870 { echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6; }
1872 fi
1873
1874
1875 fi
1876 if test -z "$ac_cv_prog_CC"; then
1877 ac_ct_CC=$CC
1878 # Extract the first word of "gcc", so it can be a program name with args.
1879 set dummy gcc; ac_word=$2
1880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1884 else
1885 if test -n "$ac_ct_CC"; then
1886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1887 else
1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889 for as_dir in $PATH
1890 do
1891 IFS=$as_save_IFS
1892 test -z "$as_dir" && as_dir=.
1893 for ac_exec_ext in '' $ac_executable_extensions; do
1894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1895 ac_cv_prog_ac_ct_CC="gcc"
1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 break 2
1898 fi
1899 done
1900 done
1901 IFS=$as_save_IFS
1902
1903 fi
1904 fi
1905 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1906 if test -n "$ac_ct_CC"; then
1907 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1908 echo "${ECHO_T}$ac_ct_CC" >&6; }
1909 else
1910 { echo "$as_me:$LINENO: result: no" >&5
1911 echo "${ECHO_T}no" >&6; }
1912 fi
1913
1914 if test "x$ac_ct_CC" = x; then
1915 CC=""
1916 else
1917 case $cross_compiling:$ac_tool_warned in
1918 yes:)
1919 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1920 whose name does not start with the host triplet. If you think this
1921 configuration is useful to you, please write to autoconf@gnu.org." >&5
1922 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1923 whose name does not start with the host triplet. If you think this
1924 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1925 ac_tool_warned=yes ;;
1926 esac
1927 CC=$ac_ct_CC
1928 fi
1929 else
1930 CC="$ac_cv_prog_CC"
1931 fi
1932
1933 if test -z "$CC"; then
1934 if test -n "$ac_tool_prefix"; then
1935 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1936 set dummy ${ac_tool_prefix}cc; ac_word=$2
1937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1939 if test "${ac_cv_prog_CC+set}" = set; then
1940 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 else
1942 if test -n "$CC"; then
1943 ac_cv_prog_CC="$CC" # Let the user override the test.
1944 else
1945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1946 for as_dir in $PATH
1947 do
1948 IFS=$as_save_IFS
1949 test -z "$as_dir" && as_dir=.
1950 for ac_exec_ext in '' $ac_executable_extensions; do
1951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1952 ac_cv_prog_CC="${ac_tool_prefix}cc"
1953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1954 break 2
1955 fi
1956 done
1957 done
1958 IFS=$as_save_IFS
1959
1960 fi
1961 fi
1962 CC=$ac_cv_prog_CC
1963 if test -n "$CC"; then
1964 { echo "$as_me:$LINENO: result: $CC" >&5
1965 echo "${ECHO_T}$CC" >&6; }
1966 else
1967 { echo "$as_me:$LINENO: result: no" >&5
1968 echo "${ECHO_T}no" >&6; }
1969 fi
1970
1971
1972 fi
1973 fi
1974 if test -z "$CC"; then
1975 # Extract the first word of "cc", so it can be a program name with args.
1976 set dummy cc; ac_word=$2
1977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1979 if test "${ac_cv_prog_CC+set}" = set; then
1980 echo $ECHO_N "(cached) $ECHO_C" >&6
1981 else
1982 if test -n "$CC"; then
1983 ac_cv_prog_CC="$CC" # Let the user override the test.
1984 else
1985 ac_prog_rejected=no
1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987 for as_dir in $PATH
1988 do
1989 IFS=$as_save_IFS
1990 test -z "$as_dir" && as_dir=.
1991 for ac_exec_ext in '' $ac_executable_extensions; do
1992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1993 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1994 ac_prog_rejected=yes
1995 continue
1996 fi
1997 ac_cv_prog_CC="cc"
1998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1999 break 2
2000 fi
2001 done
2002 done
2003 IFS=$as_save_IFS
2004
2005 if test $ac_prog_rejected = yes; then
2006 # We found a bogon in the path, so make sure we never use it.
2007 set dummy $ac_cv_prog_CC
2008 shift
2009 if test $# != 0; then
2010 # We chose a different compiler from the bogus one.
2011 # However, it has the same basename, so the bogon will be chosen
2012 # first if we set CC to just the basename; use the full file name.
2013 shift
2014 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2015 fi
2016 fi
2017 fi
2018 fi
2019 CC=$ac_cv_prog_CC
2020 if test -n "$CC"; then
2021 { echo "$as_me:$LINENO: result: $CC" >&5
2022 echo "${ECHO_T}$CC" >&6; }
2023 else
2024 { echo "$as_me:$LINENO: result: no" >&5
2025 echo "${ECHO_T}no" >&6; }
2026 fi
2027
2028
2029 fi
2030 if test -z "$CC"; then
2031 if test -n "$ac_tool_prefix"; then
2032 for ac_prog in cl.exe
2033 do
2034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2038 if test "${ac_cv_prog_CC+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2040 else
2041 if test -n "$CC"; then
2042 ac_cv_prog_CC="$CC" # Let the user override the test.
2043 else
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045 for as_dir in $PATH
2046 do
2047 IFS=$as_save_IFS
2048 test -z "$as_dir" && as_dir=.
2049 for ac_exec_ext in '' $ac_executable_extensions; do
2050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2051 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2053 break 2
2054 fi
2055 done
2056 done
2057 IFS=$as_save_IFS
2058
2059 fi
2060 fi
2061 CC=$ac_cv_prog_CC
2062 if test -n "$CC"; then
2063 { echo "$as_me:$LINENO: result: $CC" >&5
2064 echo "${ECHO_T}$CC" >&6; }
2065 else
2066 { echo "$as_me:$LINENO: result: no" >&5
2067 echo "${ECHO_T}no" >&6; }
2068 fi
2069
2070
2071 test -n "$CC" && break
2072 done
2073 fi
2074 if test -z "$CC"; then
2075 ac_ct_CC=$CC
2076 for ac_prog in cl.exe
2077 do
2078 # Extract the first word of "$ac_prog", so it can be a program name with args.
2079 set dummy $ac_prog; ac_word=$2
2080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2082 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 else
2085 if test -n "$ac_ct_CC"; then
2086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2087 else
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089 for as_dir in $PATH
2090 do
2091 IFS=$as_save_IFS
2092 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2095 ac_cv_prog_ac_ct_CC="$ac_prog"
2096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 break 2
2098 fi
2099 done
2100 done
2101 IFS=$as_save_IFS
2102
2103 fi
2104 fi
2105 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2106 if test -n "$ac_ct_CC"; then
2107 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2108 echo "${ECHO_T}$ac_ct_CC" >&6; }
2109 else
2110 { echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6; }
2112 fi
2113
2114
2115 test -n "$ac_ct_CC" && break
2116 done
2117
2118 if test "x$ac_ct_CC" = x; then
2119 CC=""
2120 else
2121 case $cross_compiling:$ac_tool_warned in
2122 yes:)
2123 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2124 whose name does not start with the host triplet. If you think this
2125 configuration is useful to you, please write to autoconf@gnu.org." >&5
2126 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2127 whose name does not start with the host triplet. If you think this
2128 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2129 ac_tool_warned=yes ;;
2130 esac
2131 CC=$ac_ct_CC
2132 fi
2133 fi
2134
2135 fi
2136
2137
2138 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2139 See \`config.log' for more details." >&5
2140 echo "$as_me: error: no acceptable C compiler found in \$PATH
2141 See \`config.log' for more details." >&2;}
2142 { (exit 1); exit 1; }; }
2143
2144 # Provide some information about the compiler.
2145 echo "$as_me:$LINENO: checking for C compiler version" >&5
2146 ac_compiler=`set X $ac_compile; echo $2`
2147 { (ac_try="$ac_compiler --version >&5"
2148 case "(($ac_try" in
2149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2150 *) ac_try_echo=$ac_try;;
2151 esac
2152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2153 (eval "$ac_compiler --version >&5") 2>&5
2154 ac_status=$?
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }
2157 { (ac_try="$ac_compiler -v >&5"
2158 case "(($ac_try" in
2159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2160 *) ac_try_echo=$ac_try;;
2161 esac
2162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2163 (eval "$ac_compiler -v >&5") 2>&5
2164 ac_status=$?
2165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166 (exit $ac_status); }
2167 { (ac_try="$ac_compiler -V >&5"
2168 case "(($ac_try" in
2169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2170 *) ac_try_echo=$ac_try;;
2171 esac
2172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2173 (eval "$ac_compiler -V >&5") 2>&5
2174 ac_status=$?
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); }
2177
2178 cat >conftest.$ac_ext <<_ACEOF
2179 /* confdefs.h. */
2180 _ACEOF
2181 cat confdefs.h >>conftest.$ac_ext
2182 cat >>conftest.$ac_ext <<_ACEOF
2183 /* end confdefs.h. */
2184
2185 int
2186 main ()
2187 {
2188
2189 ;
2190 return 0;
2191 }
2192 _ACEOF
2193 ac_clean_files_save=$ac_clean_files
2194 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2195 # Try to create an executable without -o first, disregard a.out.
2196 # It will help us diagnose broken compilers, and finding out an intuition
2197 # of exeext.
2198 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2199 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2200 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2201 #
2202 # List of possible output files, starting from the most likely.
2203 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2204 # only as a last resort. b.out is created by i960 compilers.
2205 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2206 #
2207 # The IRIX 6 linker writes into existing files which may not be
2208 # executable, retaining their permissions. Remove them first so a
2209 # subsequent execution test works.
2210 ac_rmfiles=
2211 for ac_file in $ac_files
2212 do
2213 case $ac_file in
2214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2215 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2216 esac
2217 done
2218 rm -f $ac_rmfiles
2219
2220 if { (ac_try="$ac_link_default"
2221 case "(($ac_try" in
2222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2223 *) ac_try_echo=$ac_try;;
2224 esac
2225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2226 (eval "$ac_link_default") 2>&5
2227 ac_status=$?
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); }; then
2230 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2231 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2232 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2233 # so that the user can short-circuit this test for compilers unknown to
2234 # Autoconf.
2235 for ac_file in $ac_files ''
2236 do
2237 test -f "$ac_file" || continue
2238 case $ac_file in
2239 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2240 ;;
2241 [ab].out )
2242 # We found the default executable, but exeext='' is most
2243 # certainly right.
2244 break;;
2245 *.* )
2246 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2247 then :; else
2248 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2249 fi
2250 # We set ac_cv_exeext here because the later test for it is not
2251 # safe: cross compilers may not add the suffix if given an `-o'
2252 # argument, so we may need to know it at that point already.
2253 # Even if this section looks crufty: it has the advantage of
2254 # actually working.
2255 break;;
2256 * )
2257 break;;
2258 esac
2259 done
2260 test "$ac_cv_exeext" = no && ac_cv_exeext=
2261
2262 else
2263 ac_file=''
2264 fi
2265
2266 { echo "$as_me:$LINENO: result: $ac_file" >&5
2267 echo "${ECHO_T}$ac_file" >&6; }
2268 if test -z "$ac_file"; then
2269 echo "$as_me: failed program was:" >&5
2270 sed 's/^/| /' conftest.$ac_ext >&5
2271
2272 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2273 See \`config.log' for more details." >&5
2274 echo "$as_me: error: C compiler cannot create executables
2275 See \`config.log' for more details." >&2;}
2276 { (exit 77); exit 77; }; }
2277 fi
2278
2279 ac_exeext=$ac_cv_exeext
2280
2281 # Check that the compiler produces executables we can run. If not, either
2282 # the compiler is broken, or we cross compile.
2283 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2284 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2285 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2286 # If not cross compiling, check that we can run a simple program.
2287 if test "$cross_compiling" != yes; then
2288 if { ac_try='./$ac_file'
2289 { (case "(($ac_try" in
2290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2291 *) ac_try_echo=$ac_try;;
2292 esac
2293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2294 (eval "$ac_try") 2>&5
2295 ac_status=$?
2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297 (exit $ac_status); }; }; then
2298 cross_compiling=no
2299 else
2300 if test "$cross_compiling" = maybe; then
2301 cross_compiling=yes
2302 else
2303 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2304 If you meant to cross compile, use \`--host'.
2305 See \`config.log' for more details." >&5
2306 echo "$as_me: error: cannot run C compiled programs.
2307 If you meant to cross compile, use \`--host'.
2308 See \`config.log' for more details." >&2;}
2309 { (exit 1); exit 1; }; }
2310 fi
2311 fi
2312 fi
2313 { echo "$as_me:$LINENO: result: yes" >&5
2314 echo "${ECHO_T}yes" >&6; }
2315
2316 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2317 ac_clean_files=$ac_clean_files_save
2318 # Check that the compiler produces executables we can run. If not, either
2319 # the compiler is broken, or we cross compile.
2320 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2321 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2322 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2323 echo "${ECHO_T}$cross_compiling" >&6; }
2324
2325 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2326 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2327 if { (ac_try="$ac_link"
2328 case "(($ac_try" in
2329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2330 *) ac_try_echo=$ac_try;;
2331 esac
2332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2333 (eval "$ac_link") 2>&5
2334 ac_status=$?
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }; then
2337 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2338 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2339 # work properly (i.e., refer to `conftest.exe'), while it won't with
2340 # `rm'.
2341 for ac_file in conftest.exe conftest conftest.*; do
2342 test -f "$ac_file" || continue
2343 case $ac_file in
2344 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2345 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2346 break;;
2347 * ) break;;
2348 esac
2349 done
2350 else
2351 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2352 See \`config.log' for more details." >&5
2353 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2354 See \`config.log' for more details." >&2;}
2355 { (exit 1); exit 1; }; }
2356 fi
2357
2358 rm -f conftest$ac_cv_exeext
2359 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2360 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2361
2362 rm -f conftest.$ac_ext
2363 EXEEXT=$ac_cv_exeext
2364 ac_exeext=$EXEEXT
2365 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2366 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2367 if test "${ac_cv_objext+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 else
2370 cat >conftest.$ac_ext <<_ACEOF
2371 /* confdefs.h. */
2372 _ACEOF
2373 cat confdefs.h >>conftest.$ac_ext
2374 cat >>conftest.$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2376
2377 int
2378 main ()
2379 {
2380
2381 ;
2382 return 0;
2383 }
2384 _ACEOF
2385 rm -f conftest.o conftest.obj
2386 if { (ac_try="$ac_compile"
2387 case "(($ac_try" in
2388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2389 *) ac_try_echo=$ac_try;;
2390 esac
2391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2392 (eval "$ac_compile") 2>&5
2393 ac_status=$?
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; then
2396 for ac_file in conftest.o conftest.obj conftest.*; do
2397 test -f "$ac_file" || continue;
2398 case $ac_file in
2399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2400 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2401 break;;
2402 esac
2403 done
2404 else
2405 echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.$ac_ext >&5
2407
2408 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2409 See \`config.log' for more details." >&5
2410 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2411 See \`config.log' for more details." >&2;}
2412 { (exit 1); exit 1; }; }
2413 fi
2414
2415 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2416 fi
2417 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2418 echo "${ECHO_T}$ac_cv_objext" >&6; }
2419 OBJEXT=$ac_cv_objext
2420 ac_objext=$OBJEXT
2421 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2422 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2423 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2425 else
2426 cat >conftest.$ac_ext <<_ACEOF
2427 /* confdefs.h. */
2428 _ACEOF
2429 cat confdefs.h >>conftest.$ac_ext
2430 cat >>conftest.$ac_ext <<_ACEOF
2431 /* end confdefs.h. */
2432
2433 int
2434 main ()
2435 {
2436 #ifndef __GNUC__
2437 choke me
2438 #endif
2439
2440 ;
2441 return 0;
2442 }
2443 _ACEOF
2444 rm -f conftest.$ac_objext
2445 if { (ac_try="$ac_compile"
2446 case "(($ac_try" in
2447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2448 *) ac_try_echo=$ac_try;;
2449 esac
2450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2451 (eval "$ac_compile") 2>conftest.er1
2452 ac_status=$?
2453 grep -v '^ *+' conftest.er1 >conftest.err
2454 rm -f conftest.er1
2455 cat conftest.err >&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); } && {
2458 test -z "$ac_c_werror_flag" ||
2459 test ! -s conftest.err
2460 } && test -s conftest.$ac_objext; then
2461 ac_compiler_gnu=yes
2462 else
2463 echo "$as_me: failed program was:" >&5
2464 sed 's/^/| /' conftest.$ac_ext >&5
2465
2466 ac_compiler_gnu=no
2467 fi
2468
2469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2471
2472 fi
2473 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2474 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2475 GCC=`test $ac_compiler_gnu = yes && echo yes`
2476 ac_test_CFLAGS=${CFLAGS+set}
2477 ac_save_CFLAGS=$CFLAGS
2478 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2479 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2480 if test "${ac_cv_prog_cc_g+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 else
2483 ac_save_c_werror_flag=$ac_c_werror_flag
2484 ac_c_werror_flag=yes
2485 ac_cv_prog_cc_g=no
2486 CFLAGS="-g"
2487 cat >conftest.$ac_ext <<_ACEOF
2488 /* confdefs.h. */
2489 _ACEOF
2490 cat confdefs.h >>conftest.$ac_ext
2491 cat >>conftest.$ac_ext <<_ACEOF
2492 /* end confdefs.h. */
2493
2494 int
2495 main ()
2496 {
2497
2498 ;
2499 return 0;
2500 }
2501 _ACEOF
2502 rm -f conftest.$ac_objext
2503 if { (ac_try="$ac_compile"
2504 case "(($ac_try" in
2505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2506 *) ac_try_echo=$ac_try;;
2507 esac
2508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2509 (eval "$ac_compile") 2>conftest.er1
2510 ac_status=$?
2511 grep -v '^ *+' conftest.er1 >conftest.err
2512 rm -f conftest.er1
2513 cat conftest.err >&5
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); } && {
2516 test -z "$ac_c_werror_flag" ||
2517 test ! -s conftest.err
2518 } && test -s conftest.$ac_objext; then
2519 ac_cv_prog_cc_g=yes
2520 else
2521 echo "$as_me: failed program was:" >&5
2522 sed 's/^/| /' conftest.$ac_ext >&5
2523
2524 CFLAGS=""
2525 cat >conftest.$ac_ext <<_ACEOF
2526 /* confdefs.h. */
2527 _ACEOF
2528 cat confdefs.h >>conftest.$ac_ext
2529 cat >>conftest.$ac_ext <<_ACEOF
2530 /* end confdefs.h. */
2531
2532 int
2533 main ()
2534 {
2535
2536 ;
2537 return 0;
2538 }
2539 _ACEOF
2540 rm -f conftest.$ac_objext
2541 if { (ac_try="$ac_compile"
2542 case "(($ac_try" in
2543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2544 *) ac_try_echo=$ac_try;;
2545 esac
2546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2547 (eval "$ac_compile") 2>conftest.er1
2548 ac_status=$?
2549 grep -v '^ *+' conftest.er1 >conftest.err
2550 rm -f conftest.er1
2551 cat conftest.err >&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); } && {
2554 test -z "$ac_c_werror_flag" ||
2555 test ! -s conftest.err
2556 } && test -s conftest.$ac_objext; then
2557 :
2558 else
2559 echo "$as_me: failed program was:" >&5
2560 sed 's/^/| /' conftest.$ac_ext >&5
2561
2562 ac_c_werror_flag=$ac_save_c_werror_flag
2563 CFLAGS="-g"
2564 cat >conftest.$ac_ext <<_ACEOF
2565 /* confdefs.h. */
2566 _ACEOF
2567 cat confdefs.h >>conftest.$ac_ext
2568 cat >>conftest.$ac_ext <<_ACEOF
2569 /* end confdefs.h. */
2570
2571 int
2572 main ()
2573 {
2574
2575 ;
2576 return 0;
2577 }
2578 _ACEOF
2579 rm -f conftest.$ac_objext
2580 if { (ac_try="$ac_compile"
2581 case "(($ac_try" in
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2584 esac
2585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2586 (eval "$ac_compile") 2>conftest.er1
2587 ac_status=$?
2588 grep -v '^ *+' conftest.er1 >conftest.err
2589 rm -f conftest.er1
2590 cat conftest.err >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); } && {
2593 test -z "$ac_c_werror_flag" ||
2594 test ! -s conftest.err
2595 } && test -s conftest.$ac_objext; then
2596 ac_cv_prog_cc_g=yes
2597 else
2598 echo "$as_me: failed program was:" >&5
2599 sed 's/^/| /' conftest.$ac_ext >&5
2600
2601
2602 fi
2603
2604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2605 fi
2606
2607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608 fi
2609
2610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2611 ac_c_werror_flag=$ac_save_c_werror_flag
2612 fi
2613 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2614 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2615 if test "$ac_test_CFLAGS" = set; then
2616 CFLAGS=$ac_save_CFLAGS
2617 elif test $ac_cv_prog_cc_g = yes; then
2618 if test "$GCC" = yes; then
2619 CFLAGS="-g -O2"
2620 else
2621 CFLAGS="-g"
2622 fi
2623 else
2624 if test "$GCC" = yes; then
2625 CFLAGS="-O2"
2626 else
2627 CFLAGS=
2628 fi
2629 fi
2630 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2631 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2632 if test "${ac_cv_prog_cc_c89+set}" = set; then
2633 echo $ECHO_N "(cached) $ECHO_C" >&6
2634 else
2635 ac_cv_prog_cc_c89=no
2636 ac_save_CC=$CC
2637 cat >conftest.$ac_ext <<_ACEOF
2638 /* confdefs.h. */
2639 _ACEOF
2640 cat confdefs.h >>conftest.$ac_ext
2641 cat >>conftest.$ac_ext <<_ACEOF
2642 /* end confdefs.h. */
2643 #include <stdarg.h>
2644 #include <stdio.h>
2645 #include <sys/types.h>
2646 #include <sys/stat.h>
2647 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2648 struct buf { int x; };
2649 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2650 static char *e (p, i)
2651 char **p;
2652 int i;
2653 {
2654 return p[i];
2655 }
2656 static char *f (char * (*g) (char **, int), char **p, ...)
2657 {
2658 char *s;
2659 va_list v;
2660 va_start (v,p);
2661 s = g (p, va_arg (v,int));
2662 va_end (v);
2663 return s;
2664 }
2665
2666 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2667 function prototypes and stuff, but not '\xHH' hex character constants.
2668 These don't provoke an error unfortunately, instead are silently treated
2669 as 'x'. The following induces an error, until -std is added to get
2670 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2671 array size at least. It's necessary to write '\x00'==0 to get something
2672 that's true only with -std. */
2673 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2674
2675 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2676 inside strings and character constants. */
2677 #define FOO(x) 'x'
2678 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2679
2680 int test (int i, double x);
2681 struct s1 {int (*f) (int a);};
2682 struct s2 {int (*f) (double a);};
2683 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2684 int argc;
2685 char **argv;
2686 int
2687 main ()
2688 {
2689 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2690 ;
2691 return 0;
2692 }
2693 _ACEOF
2694 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2695 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2696 do
2697 CC="$ac_save_CC $ac_arg"
2698 rm -f conftest.$ac_objext
2699 if { (ac_try="$ac_compile"
2700 case "(($ac_try" in
2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702 *) ac_try_echo=$ac_try;;
2703 esac
2704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2705 (eval "$ac_compile") 2>conftest.er1
2706 ac_status=$?
2707 grep -v '^ *+' conftest.er1 >conftest.err
2708 rm -f conftest.er1
2709 cat conftest.err >&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); } && {
2712 test -z "$ac_c_werror_flag" ||
2713 test ! -s conftest.err
2714 } && test -s conftest.$ac_objext; then
2715 ac_cv_prog_cc_c89=$ac_arg
2716 else
2717 echo "$as_me: failed program was:" >&5
2718 sed 's/^/| /' conftest.$ac_ext >&5
2719
2720
2721 fi
2722
2723 rm -f core conftest.err conftest.$ac_objext
2724 test "x$ac_cv_prog_cc_c89" != "xno" && break
2725 done
2726 rm -f conftest.$ac_ext
2727 CC=$ac_save_CC
2728
2729 fi
2730 # AC_CACHE_VAL
2731 case "x$ac_cv_prog_cc_c89" in
2732 x)
2733 { echo "$as_me:$LINENO: result: none needed" >&5
2734 echo "${ECHO_T}none needed" >&6; } ;;
2735 xno)
2736 { echo "$as_me:$LINENO: result: unsupported" >&5
2737 echo "${ECHO_T}unsupported" >&6; } ;;
2738 *)
2739 CC="$CC $ac_cv_prog_cc_c89"
2740 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2741 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2742 esac
2743
2744
2745 ac_ext=c
2746 ac_cpp='$CPP $CPPFLAGS'
2747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2750
2751 ac_aux_dir=
2752 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2753 if test -f "$ac_dir/install-sh"; then
2754 ac_aux_dir=$ac_dir
2755 ac_install_sh="$ac_aux_dir/install-sh -c"
2756 break
2757 elif test -f "$ac_dir/install.sh"; then
2758 ac_aux_dir=$ac_dir
2759 ac_install_sh="$ac_aux_dir/install.sh -c"
2760 break
2761 elif test -f "$ac_dir/shtool"; then
2762 ac_aux_dir=$ac_dir
2763 ac_install_sh="$ac_aux_dir/shtool install -c"
2764 break
2765 fi
2766 done
2767 if test -z "$ac_aux_dir"; then
2768 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2769 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2770 { (exit 1); exit 1; }; }
2771 fi
2772
2773 # These three variables are undocumented and unsupported,
2774 # and are intended to be withdrawn in a future Autoconf release.
2775 # They can cause serious problems if a builder's source tree is in a directory
2776 # whose full name contains unusual characters.
2777 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2778 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2779 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2780
2781
2782 # Find a good install program. We prefer a C program (faster),
2783 # so one script is as good as another. But avoid the broken or
2784 # incompatible versions:
2785 # SysV /etc/install, /usr/sbin/install
2786 # SunOS /usr/etc/install
2787 # IRIX /sbin/install
2788 # AIX /bin/install
2789 # AmigaOS /C/install, which installs bootblocks on floppy discs
2790 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2791 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2792 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2793 # OS/2's system install, which has a completely different semantic
2794 # ./install, which can be erroneously created by make from ./install.sh.
2795 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2796 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2797 if test -z "$INSTALL"; then
2798 if test "${ac_cv_path_install+set}" = set; then
2799 echo $ECHO_N "(cached) $ECHO_C" >&6
2800 else
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 for as_dir in $PATH
2803 do
2804 IFS=$as_save_IFS
2805 test -z "$as_dir" && as_dir=.
2806 # Account for people who put trailing slashes in PATH elements.
2807 case $as_dir/ in
2808 ./ | .// | /cC/* | \
2809 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2810 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2811 /usr/ucb/* ) ;;
2812 *)
2813 # OSF1 and SCO ODT 3.0 have their own names for install.
2814 # Don't use installbsd from OSF since it installs stuff as root
2815 # by default.
2816 for ac_prog in ginstall scoinst install; do
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2819 if test $ac_prog = install &&
2820 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2821 # AIX install. It has an incompatible calling convention.
2822 :
2823 elif test $ac_prog = install &&
2824 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2825 # program-specific install script used by HP pwplus--don't use.
2826 :
2827 else
2828 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2829 break 3
2830 fi
2831 fi
2832 done
2833 done
2834 ;;
2835 esac
2836 done
2837 IFS=$as_save_IFS
2838
2839
2840 fi
2841 if test "${ac_cv_path_install+set}" = set; then
2842 INSTALL=$ac_cv_path_install
2843 else
2844 # As a last resort, use the slow shell script. Don't cache a
2845 # value for INSTALL within a source directory, because that will
2846 # break other packages using the cache if that directory is
2847 # removed, or if the value is a relative name.
2848 INSTALL=$ac_install_sh
2849 fi
2850 fi
2851 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2852 echo "${ECHO_T}$INSTALL" >&6; }
2853
2854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2855 # It thinks the first close brace ends the variable substitution.
2856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2857
2858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2859
2860 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2861
2862 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2863 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2864 LN_S=$as_ln_s
2865 if test "$LN_S" = "ln -s"; then
2866 { echo "$as_me:$LINENO: result: yes" >&5
2867 echo "${ECHO_T}yes" >&6; }
2868 else
2869 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2870 echo "${ECHO_T}no, using $LN_S" >&6; }
2871 fi
2872
2873 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2874 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2875 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2876 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2877 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 else
2879 cat >conftest.make <<\_ACEOF
2880 SHELL = /bin/sh
2881 all:
2882 @echo '@@@%%%=$(MAKE)=@@@%%%'
2883 _ACEOF
2884 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2885 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2886 *@@@%%%=?*=@@@%%%*)
2887 eval ac_cv_prog_make_${ac_make}_set=yes;;
2888 *)
2889 eval ac_cv_prog_make_${ac_make}_set=no;;
2890 esac
2891 rm -f conftest.make
2892 fi
2893 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2894 { echo "$as_me:$LINENO: result: yes" >&5
2895 echo "${ECHO_T}yes" >&6; }
2896 SET_MAKE=
2897 else
2898 { echo "$as_me:$LINENO: result: no" >&5
2899 echo "${ECHO_T}no" >&6; }
2900 SET_MAKE="MAKE=${MAKE-make}"
2901 fi
2902
2903
2904 # Checks for libraries.
2905
2906 # Checks for header files.
2907 #AC_HEADER_STDC
2908 #AC_CHECK_HEADERS([libintl.h locale.h stdlib.h string.h sys/time.h unistd.h])
2909
2910 # Checks for typedefs, structures, and compiler characteristics.
2911 #AC_C_CONST
2912 #AC_C_INLINE
2913 #AC_TYPE_SIZE_T
2914 #AC_HEADER_TIME
2915 #AC_STRUCT_TM
2916 #AC_HEADER_STDBOOL
2917
2918 # Checks for library functions.
2919 #AC_FUNC_MALLOC
2920 #AC_FUNC_MKTIME
2921 #AC_FUNC_STRFTIME
2922 #AC_FUNC_STRTOD
2923 #AC_CHECK_FUNCS([gettimeofday localtime_r memset pow setlocale sqrt strcasecmp strchr strcspn strdup strerror strrchr strstr strtoul tzset])
2924
2925 # check for gnome-vfs-module-2.0
2926
2927
2928 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2929 if test -n "$ac_tool_prefix"; then
2930 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2931 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2932 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2934 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2935 echo $ECHO_N "(cached) $ECHO_C" >&6
2936 else
2937 case $PKG_CONFIG in
2938 [\\/]* | ?:[\\/]*)
2939 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2940 ;;
2941 *)
2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 for as_dir in $PATH
2944 do
2945 IFS=$as_save_IFS
2946 test -z "$as_dir" && as_dir=.
2947 for ac_exec_ext in '' $ac_executable_extensions; do
2948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2949 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2951 break 2
2952 fi
2953 done
2954 done
2955 IFS=$as_save_IFS
2956
2957 ;;
2958 esac
2959 fi
2960 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2961 if test -n "$PKG_CONFIG"; then
2962 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2963 echo "${ECHO_T}$PKG_CONFIG" >&6; }
2964 else
2965 { echo "$as_me:$LINENO: result: no" >&5
2966 echo "${ECHO_T}no" >&6; }
2967 fi
2968
2969
2970 fi
2971 if test -z "$ac_cv_path_PKG_CONFIG"; then
2972 ac_pt_PKG_CONFIG=$PKG_CONFIG
2973 # Extract the first word of "pkg-config", so it can be a program name with args.
2974 set dummy pkg-config; ac_word=$2
2975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2977 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2978 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 else
2980 case $ac_pt_PKG_CONFIG in
2981 [\\/]* | ?:[\\/]*)
2982 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2983 ;;
2984 *)
2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986 for as_dir in $PATH
2987 do
2988 IFS=$as_save_IFS
2989 test -z "$as_dir" && as_dir=.
2990 for ac_exec_ext in '' $ac_executable_extensions; do
2991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2992 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2994 break 2
2995 fi
2996 done
2997 done
2998 IFS=$as_save_IFS
2999
3000 ;;
3001 esac
3002 fi
3003 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3004 if test -n "$ac_pt_PKG_CONFIG"; then
3005 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3006 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3007 else
3008 { echo "$as_me:$LINENO: result: no" >&5
3009 echo "${ECHO_T}no" >&6; }
3010 fi
3011
3012 if test "x$ac_pt_PKG_CONFIG" = x; then
3013 PKG_CONFIG=""
3014 else
3015 case $cross_compiling:$ac_tool_warned in
3016 yes:)
3017 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3018 whose name does not start with the host triplet. If you think this
3019 configuration is useful to you, please write to autoconf@gnu.org." >&5
3020 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3021 whose name does not start with the host triplet. If you think this
3022 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3023 ac_tool_warned=yes ;;
3024 esac
3025 PKG_CONFIG=$ac_pt_PKG_CONFIG
3026 fi
3027 else
3028 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3029 fi
3030
3031 fi
3032 if test -n "$PKG_CONFIG"; then
3033 _pkg_min_version=0.9.0
3034 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3035 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3036 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3037 { echo "$as_me:$LINENO: result: yes" >&5
3038 echo "${ECHO_T}yes" >&6; }
3039 else
3040 { echo "$as_me:$LINENO: result: no" >&5
3041 echo "${ECHO_T}no" >&6; }
3042 PKG_CONFIG=""
3043 fi
3044
3045 fi
3046
3047 pkg_failed=no
3048 { echo "$as_me:$LINENO: checking for gnome_vfs_module" >&5
3049 echo $ECHO_N "checking for gnome_vfs_module... $ECHO_C" >&6; }
3050
3051 if test -n "$PKG_CONFIG"; then
3052 if test -n "$gnome_vfs_module_CFLAGS"; then
3053 pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"
3054 else
3055 if test -n "$PKG_CONFIG" && \
3056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5
3057 ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3058 ac_status=$?
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); }; then
3061 pkg_cv_gnome_vfs_module_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-module-2.0" 2>/dev/null`
3062 else
3063 pkg_failed=yes
3064 fi
3065 fi
3066 else
3067 pkg_failed=untried
3068 fi
3069 if test -n "$PKG_CONFIG"; then
3070 if test -n "$gnome_vfs_module_LIBS"; then
3071 pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"
3072 else
3073 if test -n "$PKG_CONFIG" && \
3074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5
3075 ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3076 ac_status=$?
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); }; then
3079 pkg_cv_gnome_vfs_module_LIBS=`$PKG_CONFIG --libs "gnome-vfs-module-2.0" 2>/dev/null`
3080 else
3081 pkg_failed=yes
3082 fi
3083 fi
3084 else
3085 pkg_failed=untried
3086 fi
3087
3088
3089
3090 if test $pkg_failed = yes; then
3091
3092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3093 _pkg_short_errors_supported=yes
3094 else
3095 _pkg_short_errors_supported=no
3096 fi
3097 if test $_pkg_short_errors_supported = yes; then
3098 gnome_vfs_module_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-module-2.0"`
3099 else
3100 gnome_vfs_module_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-module-2.0"`
3101 fi
3102 # Put the nasty error message in config.log where it belongs
3103 echo "$gnome_vfs_module_PKG_ERRORS" >&5
3104
3105 { echo "$as_me:$LINENO: result: no" >&5
3106 echo "${ECHO_T}no" >&6; }
3107 { { echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5
3108 echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}
3109 { (exit 1); exit 1; }; }
3110 elif test $pkg_failed = untried; then
3111 { { echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5
3112 echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}
3113 { (exit 1); exit 1; }; }
3114 else
3115 gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS
3116 gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS
3117 { echo "$as_me:$LINENO: result: yes" >&5
3118 echo "${ECHO_T}yes" >&6; }
3119 :
3120 fi
3121 CFLAGS="$CFLAGS $gnome_vfs_module_CFLAGS"
3122 LIBS="$LIBS $gnome_vfs_module_LIBS"
3123
3124 # check for libxml-2.0
3125
3126 pkg_failed=no
3127 { echo "$as_me:$LINENO: checking for libxml2" >&5
3128 echo $ECHO_N "checking for libxml2... $ECHO_C" >&6; }
3129
3130 if test -n "$PKG_CONFIG"; then
3131 if test -n "$libxml2_CFLAGS"; then
3132 pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"
3133 else
3134 if test -n "$PKG_CONFIG" && \
3135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
3136 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3137 ac_status=$?
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }; then
3140 pkg_cv_libxml2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
3141 else
3142 pkg_failed=yes
3143 fi
3144 fi
3145 else
3146 pkg_failed=untried
3147 fi
3148 if test -n "$PKG_CONFIG"; then
3149 if test -n "$libxml2_LIBS"; then
3150 pkg_cv_libxml2_LIBS="$libxml2_LIBS"
3151 else
3152 if test -n "$PKG_CONFIG" && \
3153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
3154 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3155 ac_status=$?
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; then
3158 pkg_cv_libxml2_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
3159 else
3160 pkg_failed=yes
3161 fi
3162 fi
3163 else
3164 pkg_failed=untried
3165 fi
3166
3167
3168
3169 if test $pkg_failed = yes; then
3170
3171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3172 _pkg_short_errors_supported=yes
3173 else
3174 _pkg_short_errors_supported=no
3175 fi
3176 if test $_pkg_short_errors_supported = yes; then
3177 libxml2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml-2.0"`
3178 else
3179 libxml2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0"`
3180 fi
3181 # Put the nasty error message in config.log where it belongs
3182 echo "$libxml2_PKG_ERRORS" >&5
3183
3184 { echo "$as_me:$LINENO: result: no" >&5
3185 echo "${ECHO_T}no" >&6; }
3186 { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5
3187 echo "$as_me: error: libxml-2.0 missing" >&2;}
3188 { (exit 1); exit 1; }; }
3189 elif test $pkg_failed = untried; then
3190 { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5
3191 echo "$as_me: error: libxml-2.0 missing" >&2;}
3192 { (exit 1); exit 1; }; }
3193 else
3194 libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS
3195 libxml2_LIBS=$pkg_cv_libxml2_LIBS
3196 { echo "$as_me:$LINENO: result: yes" >&5
3197 echo "${ECHO_T}yes" >&6; }
3198 :
3199 fi
3200 CFLAGS="$CFLAGS $libxml2_CFLAGS"
3201 LIBS="$LIBS $libxml2_LIBS"
3202
3203 # check for libcurl
3204
3205 pkg_failed=no
3206 { echo "$as_me:$LINENO: checking for libcurl" >&5
3207 echo $ECHO_N "checking for libcurl... $ECHO_C" >&6; }
3208
3209 if test -n "$PKG_CONFIG"; then
3210 if test -n "$libcurl_CFLAGS"; then
3211 pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
3212 else
3213 if test -n "$PKG_CONFIG" && \
3214 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
3215 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3216 ac_status=$?
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); }; then
3219 pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
3220 else
3221 pkg_failed=yes
3222 fi
3223 fi
3224 else
3225 pkg_failed=untried
3226 fi
3227 if test -n "$PKG_CONFIG"; then
3228 if test -n "$libcurl_LIBS"; then
3229 pkg_cv_libcurl_LIBS="$libcurl_LIBS"
3230 else
3231 if test -n "$PKG_CONFIG" && \
3232 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
3233 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3234 ac_status=$?
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); }; then
3237 pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
3238 else
3239 pkg_failed=yes
3240 fi
3241 fi
3242 else
3243 pkg_failed=untried
3244 fi
3245
3246
3247
3248 if test $pkg_failed = yes; then
3249
3250 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3251 _pkg_short_errors_supported=yes
3252 else
3253 _pkg_short_errors_supported=no
3254 fi
3255 if test $_pkg_short_errors_supported = yes; then
3256 libcurl_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl"`
3257 else
3258 libcurl_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl"`
3259 fi
3260 # Put the nasty error message in config.log where it belongs
3261 echo "$libcurl_PKG_ERRORS" >&5
3262
3263 { echo "$as_me:$LINENO: result: no" >&5
3264 echo "${ECHO_T}no" >&6; }
3265 { { echo "$as_me:$LINENO: error: libcurl missing" >&5
3266 echo "$as_me: error: libcurl missing" >&2;}
3267 { (exit 1); exit 1; }; }
3268 elif test $pkg_failed = untried; then
3269 { { echo "$as_me:$LINENO: error: libcurl missing" >&5
3270 echo "$as_me: error: libcurl missing" >&2;}
3271 { (exit 1); exit 1; }; }
3272 else
3273 libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
3274 libcurl_LIBS=$pkg_cv_libcurl_LIBS
3275 { echo "$as_me:$LINENO: result: yes" >&5
3276 echo "${ECHO_T}yes" >&6; }
3277 :
3278 fi
3279 CFLAGS="$CFLAGS $libcurl_CFLAGS"
3280 LIBS="$LIBS $libcurl_LIBS"
3281
3282 # check for libsoup
3283
3284 pkg_failed=no
3285 { echo "$as_me:$LINENO: checking for libsoup24" >&5
3286 echo $ECHO_N "checking for libsoup24... $ECHO_C" >&6; }
3287
3288 if test -n "$PKG_CONFIG"; then
3289 if test -n "$libsoup24_CFLAGS"; then
3290 pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"
3291 else
3292 if test -n "$PKG_CONFIG" && \
3293 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
3294 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3295 ac_status=$?
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); }; then
3298 pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
3299 else
3300 pkg_failed=yes
3301 fi
3302 fi
3303 else
3304 pkg_failed=untried
3305 fi
3306 if test -n "$PKG_CONFIG"; then
3307 if test -n "$libsoup24_LIBS"; then
3308 pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"
3309 else
3310 if test -n "$PKG_CONFIG" && \
3311 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
3312 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3313 ac_status=$?
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); }; then
3316 pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
3317 else
3318 pkg_failed=yes
3319 fi
3320 fi
3321 else
3322 pkg_failed=untried
3323 fi
3324
3325
3326
3327 if test $pkg_failed = yes; then
3328
3329 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3330 _pkg_short_errors_supported=yes
3331 else
3332 _pkg_short_errors_supported=no
3333 fi
3334 if test $_pkg_short_errors_supported = yes; then
3335 libsoup24_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`
3336 else
3337 libsoup24_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`
3338 fi
3339 # Put the nasty error message in config.log where it belongs
3340 echo "$libsoup24_PKG_ERRORS" >&5
3341
3342 { echo "$as_me:$LINENO: result: no" >&5
3343 echo "${ECHO_T}no" >&6; }
3344
3345
3346 pkg_failed=no
3347 { echo "$as_me:$LINENO: checking for libsoup22" >&5
3348 echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }
3349
3350 if test -n "$PKG_CONFIG"; then
3351 if test -n "$libsoup22_CFLAGS"; then
3352 pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3353 else
3354 if test -n "$PKG_CONFIG" && \
3355 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3356 ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3357 ac_status=$?
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); }; then
3360 pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
3361 else
3362 pkg_failed=yes
3363 fi
3364 fi
3365 else
3366 pkg_failed=untried
3367 fi
3368 if test -n "$PKG_CONFIG"; then
3369 if test -n "$libsoup22_LIBS"; then
3370 pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3371 else
3372 if test -n "$PKG_CONFIG" && \
3373 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3374 ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3375 ac_status=$?
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); }; then
3378 pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
3379 else
3380 pkg_failed=yes
3381 fi
3382 fi
3383 else
3384 pkg_failed=untried
3385 fi
3386
3387
3388
3389 if test $pkg_failed = yes; then
3390
3391 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3392 _pkg_short_errors_supported=yes
3393 else
3394 _pkg_short_errors_supported=no
3395 fi
3396 if test $_pkg_short_errors_supported = yes; then
3397 libsoup22_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.2"`
3398 else
3399 libsoup22_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.2"`
3400 fi
3401 # Put the nasty error message in config.log where it belongs
3402 echo "$libsoup22_PKG_ERRORS" >&5
3403
3404 { echo "$as_me:$LINENO: result: no" >&5
3405 echo "${ECHO_T}no" >&6; }
3406
3407 { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3408 echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3409
3410 elif test $pkg_failed = untried; then
3411
3412 { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3413 echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3414
3415 else
3416 libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3417 libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3418 { echo "$as_me:$LINENO: result: yes" >&5
3419 echo "${ECHO_T}yes" >&6; }
3420
3421 EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3422 CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
3423 LIBS="$LIBS $libsoup22_LIBS"
3424
3425 fi
3426
3427 elif test $pkg_failed = untried; then
3428
3429
3430 pkg_failed=no
3431 { echo "$as_me:$LINENO: checking for libsoup22" >&5
3432 echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }
3433
3434 if test -n "$PKG_CONFIG"; then
3435 if test -n "$libsoup22_CFLAGS"; then
3436 pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3437 else
3438 if test -n "$PKG_CONFIG" && \
3439 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3440 ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3441 ac_status=$?
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); }; then
3444 pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
3445 else
3446 pkg_failed=yes
3447 fi
3448 fi
3449 else
3450 pkg_failed=untried
3451 fi
3452 if test -n "$PKG_CONFIG"; then
3453 if test -n "$libsoup22_LIBS"; then
3454 pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3455 else
3456 if test -n "$PKG_CONFIG" && \
3457 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3458 ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3459 ac_status=$?
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); }; then
3462 pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
3463 else
3464 pkg_failed=yes
3465 fi
3466 fi
3467 else
3468 pkg_failed=untried
3469 fi
3470
3471
3472
3473 if test $pkg_failed = yes; then
3474
3475 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3476 _pkg_short_errors_supported=yes
3477 else
3478 _pkg_short_errors_supported=no
3479 fi
3480 if test $_pkg_short_errors_supported = yes; then
3481 libsoup22_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.2"`
3482 else
3483 libsoup22_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.2"`
3484 fi
3485 # Put the nasty error message in config.log where it belongs
3486 echo "$libsoup22_PKG_ERRORS" >&5
3487
3488 { echo "$as_me:$LINENO: result: no" >&5
3489 echo "${ECHO_T}no" >&6; }
3490
3491 { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3492 echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3493
3494 elif test $pkg_failed = untried; then
3495
3496 { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3497 echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3498
3499 else
3500 libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3501 libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3502 { echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6; }
3504
3505 EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3506 CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
3507 LIBS="$LIBS $libsoup22_LIBS"
3508
3509 fi
3510
3511 else
3512 libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS
3513 libsoup24_LIBS=$pkg_cv_libsoup24_LIBS
3514 { echo "$as_me:$LINENO: result: yes" >&5
3515 echo "${ECHO_T}yes" >&6; }
3516
3517 EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3518 CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"
3519 LIBS="$LIBS $libsoup24_LIBS"
3520
3521 fi
3522
3523 # check for gtkhtml-3.14
3524
3525 pkg_failed=no
3526 { echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5
3527 echo $ECHO_N "checking for libgtkhtml3_14... $ECHO_C" >&6; }
3528
3529 if test -n "$PKG_CONFIG"; then
3530 if test -n "$libgtkhtml3_14_CFLAGS"; then
3531 pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"
3532 else
3533 if test -n "$PKG_CONFIG" && \
3534 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5
3535 ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3536 ac_status=$?
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); }; then
3539 pkg_cv_libgtkhtml3_14_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null`
3540 else
3541 pkg_failed=yes
3542 fi
3543 fi
3544 else
3545 pkg_failed=untried
3546 fi
3547 if test -n "$PKG_CONFIG"; then
3548 if test -n "$libgtkhtml3_14_LIBS"; then
3549 pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"
3550 else
3551 if test -n "$PKG_CONFIG" && \
3552 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5
3553 ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3554 ac_status=$?
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); }; then
3557 pkg_cv_libgtkhtml3_14_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null`
3558 else
3559 pkg_failed=yes
3560 fi
3561 fi
3562 else
3563 pkg_failed=untried
3564 fi
3565
3566
3567
3568 if test $pkg_failed = yes; then
3569
3570 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3571 _pkg_short_errors_supported=yes
3572 else
3573 _pkg_short_errors_supported=no
3574 fi
3575 if test $_pkg_short_errors_supported = yes; then
3576 libgtkhtml3_14_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.14"`
3577 else
3578 libgtkhtml3_14_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.14"`
3579 fi
3580 # Put the nasty error message in config.log where it belongs
3581 echo "$libgtkhtml3_14_PKG_ERRORS" >&5
3582
3583 { echo "$as_me:$LINENO: result: no" >&5
3584 echo "${ECHO_T}no" >&6; }
3585
3586 # ok, we can also live with 3.8
3587
3588 pkg_failed=no
3589 { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
3590 echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }
3591
3592 if test -n "$PKG_CONFIG"; then
3593 if test -n "$libgtkhtml3_8_CFLAGS"; then
3594 pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3595 else
3596 if test -n "$PKG_CONFIG" && \
3597 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3598 ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3599 ac_status=$?
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); }; then
3602 pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
3603 else
3604 pkg_failed=yes
3605 fi
3606 fi
3607 else
3608 pkg_failed=untried
3609 fi
3610 if test -n "$PKG_CONFIG"; then
3611 if test -n "$libgtkhtml3_8_LIBS"; then
3612 pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3613 else
3614 if test -n "$PKG_CONFIG" && \
3615 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3616 ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3617 ac_status=$?
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; then
3620 pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
3621 else
3622 pkg_failed=yes
3623 fi
3624 fi
3625 else
3626 pkg_failed=untried
3627 fi
3628
3629
3630
3631 if test $pkg_failed = yes; then
3632
3633 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3634 _pkg_short_errors_supported=yes
3635 else
3636 _pkg_short_errors_supported=no
3637 fi
3638 if test $_pkg_short_errors_supported = yes; then
3639 libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3640 else
3641 libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3642 fi
3643 # Put the nasty error message in config.log where it belongs
3644 echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3645
3646 { echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6; }
3648 { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3649 echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3650 { (exit 1); exit 1; }; }
3651 elif test $pkg_failed = untried; then
3652 { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3653 echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3654 { (exit 1); exit 1; }; }
3655 else
3656 libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3657 libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3658 { echo "$as_me:$LINENO: result: yes" >&5
3659 echo "${ECHO_T}yes" >&6; }
3660
3661 CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3662 LIBS="$LIBS $libgtkhtml3_8_LIBS"
3663
3664 fi
3665
3666 elif test $pkg_failed = untried; then
3667
3668 # ok, we can also live with 3.8
3669
3670 pkg_failed=no
3671 { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
3672 echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }
3673
3674 if test -n "$PKG_CONFIG"; then
3675 if test -n "$libgtkhtml3_8_CFLAGS"; then
3676 pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3677 else
3678 if test -n "$PKG_CONFIG" && \
3679 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3680 ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3681 ac_status=$?
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); }; then
3684 pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
3685 else
3686 pkg_failed=yes
3687 fi
3688 fi
3689 else
3690 pkg_failed=untried
3691 fi
3692 if test -n "$PKG_CONFIG"; then
3693 if test -n "$libgtkhtml3_8_LIBS"; then
3694 pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3695 else
3696 if test -n "$PKG_CONFIG" && \
3697 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3698 ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3699 ac_status=$?
3700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701 (exit $ac_status); }; then
3702 pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
3703 else
3704 pkg_failed=yes
3705 fi
3706 fi
3707 else
3708 pkg_failed=untried
3709 fi
3710
3711
3712
3713 if test $pkg_failed = yes; then
3714
3715 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3716 _pkg_short_errors_supported=yes
3717 else
3718 _pkg_short_errors_supported=no
3719 fi
3720 if test $_pkg_short_errors_supported = yes; then
3721 libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3722 else
3723 libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3724 fi
3725 # Put the nasty error message in config.log where it belongs
3726 echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3727
3728 { echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6; }
3730 { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3731 echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3732 { (exit 1); exit 1; }; }
3733 elif test $pkg_failed = untried; then
3734 { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3735 echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3736 { (exit 1); exit 1; }; }
3737 else
3738 libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3739 libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3740 { echo "$as_me:$LINENO: result: yes" >&5
3741 echo "${ECHO_T}yes" >&6; }
3742
3743 CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3744 LIBS="$LIBS $libgtkhtml3_8_LIBS"
3745
3746 fi
3747
3748 else
3749 libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS
3750 libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS
3751 { echo "$as_me:$LINENO: result: yes" >&5
3752 echo "${ECHO_T}yes" >&6; }
3753
3754 CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"
3755 LIBS="$LIBS $libgtkhtml3_14_LIBS"
3756
3757 fi
3758
3759 # check for maemo
3760 { echo "$as_me:$LINENO: checking for Maemo" >&5
3761 echo $ECHO_N "checking for Maemo... $ECHO_C" >&6; }
3762
3763 ac_ext=c
3764 ac_cpp='$CPP $CPPFLAGS'
3765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3768 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3769 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3770 # On Suns, sometimes $CPP names a directory.
3771 if test -n "$CPP" && test -d "$CPP"; then
3772 CPP=
3773 fi
3774 if test -z "$CPP"; then
3775 if test "${ac_cv_prog_CPP+set}" = set; then
3776 echo $ECHO_N "(cached) $ECHO_C" >&6
3777 else
3778 # Double quotes because CPP needs to be expanded
3779 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3780 do
3781 ac_preproc_ok=false
3782 for ac_c_preproc_warn_flag in '' yes
3783 do
3784 # Use a header file that comes with gcc, so configuring glibc
3785 # with a fresh cross-compiler works.
3786 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3787 # <limits.h> exists even on freestanding compilers.
3788 # On the NeXT, cc -E runs the code through the compiler's parser,
3789 # not just through cpp. "Syntax error" is here to catch this case.
3790 cat >conftest.$ac_ext <<_ACEOF
3791 /* confdefs.h. */
3792 _ACEOF
3793 cat confdefs.h >>conftest.$ac_ext
3794 cat >>conftest.$ac_ext <<_ACEOF
3795 /* end confdefs.h. */
3796 #ifdef __STDC__
3797 # include <limits.h>
3798 #else
3799 # include <assert.h>
3800 #endif
3801 Syntax error
3802 _ACEOF
3803 if { (ac_try="$ac_cpp conftest.$ac_ext"
3804 case "(($ac_try" in
3805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806 *) ac_try_echo=$ac_try;;
3807 esac
3808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3810 ac_status=$?
3811 grep -v '^ *+' conftest.er1 >conftest.err
3812 rm -f conftest.er1
3813 cat conftest.err >&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); } >/dev/null && {
3816 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3817 test ! -s conftest.err
3818 }; then
3819 :
3820 else
3821 echo "$as_me: failed program was:" >&5
3822 sed 's/^/| /' conftest.$ac_ext >&5
3823
3824 # Broken: fails on valid input.
3825 continue
3826 fi
3827
3828 rm -f conftest.err conftest.$ac_ext
3829
3830 # OK, works on sane cases. Now check whether nonexistent headers
3831 # can be detected and how.
3832 cat >conftest.$ac_ext <<_ACEOF
3833 /* confdefs.h. */
3834 _ACEOF
3835 cat confdefs.h >>conftest.$ac_ext
3836 cat >>conftest.$ac_ext <<_ACEOF
3837 /* end confdefs.h. */
3838 #include <ac_nonexistent.h>
3839 _ACEOF
3840 if { (ac_try="$ac_cpp conftest.$ac_ext"
3841 case "(($ac_try" in
3842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3843 *) ac_try_echo=$ac_try;;
3844 esac
3845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3846 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3847 ac_status=$?
3848 grep -v '^ *+' conftest.er1 >conftest.err
3849 rm -f conftest.er1
3850 cat conftest.err >&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); } >/dev/null && {
3853 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3854 test ! -s conftest.err
3855 }; then
3856 # Broken: success on invalid input.
3857 continue
3858 else
3859 echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3861
3862 # Passes both tests.
3863 ac_preproc_ok=:
3864 break
3865 fi
3866
3867 rm -f conftest.err conftest.$ac_ext
3868
3869 done
3870 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3871 rm -f conftest.err conftest.$ac_ext
3872 if $ac_preproc_ok; then
3873 break
3874 fi
3875
3876 done
3877 ac_cv_prog_CPP=$CPP
3878
3879 fi
3880 CPP=$ac_cv_prog_CPP
3881 else
3882 ac_cv_prog_CPP=$CPP
3883 fi
3884 { echo "$as_me:$LINENO: result: $CPP" >&5
3885 echo "${ECHO_T}$CPP" >&6; }
3886 ac_preproc_ok=false
3887 for ac_c_preproc_warn_flag in '' yes
3888 do
3889 # Use a header file that comes with gcc, so configuring glibc
3890 # with a fresh cross-compiler works.
3891 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3892 # <limits.h> exists even on freestanding compilers.
3893 # On the NeXT, cc -E runs the code through the compiler's parser,
3894 # not just through cpp. "Syntax error" is here to catch this case.
3895 cat >conftest.$ac_ext <<_ACEOF
3896 /* confdefs.h. */
3897 _ACEOF
3898 cat confdefs.h >>conftest.$ac_ext
3899 cat >>conftest.$ac_ext <<_ACEOF
3900 /* end confdefs.h. */
3901 #ifdef __STDC__
3902 # include <limits.h>
3903 #else
3904 # include <assert.h>
3905 #endif
3906 Syntax error
3907 _ACEOF
3908 if { (ac_try="$ac_cpp conftest.$ac_ext"
3909 case "(($ac_try" in
3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911 *) ac_try_echo=$ac_try;;
3912 esac
3913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3915 ac_status=$?
3916 grep -v '^ *+' conftest.er1 >conftest.err
3917 rm -f conftest.er1
3918 cat conftest.err >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); } >/dev/null && {
3921 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3922 test ! -s conftest.err
3923 }; then
3924 :
3925 else
3926 echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.$ac_ext >&5
3928
3929 # Broken: fails on valid input.
3930 continue
3931 fi
3932
3933 rm -f conftest.err conftest.$ac_ext
3934
3935 # OK, works on sane cases. Now check whether nonexistent headers
3936 # can be detected and how.
3937 cat >conftest.$ac_ext <<_ACEOF
3938 /* confdefs.h. */
3939 _ACEOF
3940 cat confdefs.h >>conftest.$ac_ext
3941 cat >>conftest.$ac_ext <<_ACEOF
3942 /* end confdefs.h. */
3943 #include <ac_nonexistent.h>
3944 _ACEOF
3945 if { (ac_try="$ac_cpp conftest.$ac_ext"
3946 case "(($ac_try" in
3947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948 *) ac_try_echo=$ac_try;;
3949 esac
3950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3952 ac_status=$?
3953 grep -v '^ *+' conftest.er1 >conftest.err
3954 rm -f conftest.er1
3955 cat conftest.err >&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); } >/dev/null && {
3958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3959 test ! -s conftest.err
3960 }; then
3961 # Broken: success on invalid input.
3962 continue
3963 else
3964 echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.$ac_ext >&5
3966
3967 # Passes both tests.
3968 ac_preproc_ok=:
3969 break
3970 fi
3971
3972 rm -f conftest.err conftest.$ac_ext
3973
3974 done
3975 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3976 rm -f conftest.err conftest.$ac_ext
3977 if $ac_preproc_ok; then
3978 :
3979 else
3980 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3981 See \`config.log' for more details." >&5
3982 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3983 See \`config.log' for more details." >&2;}
3984 { (exit 1); exit 1; }; }
3985 fi
3986
3987 ac_ext=c
3988 ac_cpp='$CPP $CPPFLAGS'
3989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3992
3993
3994 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3995 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3996 if test "${ac_cv_path_GREP+set}" = set; then
3997 echo $ECHO_N "(cached) $ECHO_C" >&6
3998 else
3999 # Extract the first word of "grep ggrep" to use in msg output
4000 if test -z "$GREP"; then
4001 set dummy grep ggrep; ac_prog_name=$2
4002 if test "${ac_cv_path_GREP+set}" = set; then
4003 echo $ECHO_N "(cached) $ECHO_C" >&6
4004 else
4005 ac_path_GREP_found=false
4006 # Loop through the user's path and test for each of PROGNAME-LIST
4007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4008 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4009 do
4010 IFS=$as_save_IFS
4011 test -z "$as_dir" && as_dir=.
4012 for ac_prog in grep ggrep; do
4013 for ac_exec_ext in '' $ac_executable_extensions; do
4014 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4015 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4016 # Check for GNU ac_path_GREP and select it if it is found.
4017 # Check for GNU $ac_path_GREP
4018 case `"$ac_path_GREP" --version 2>&1` in
4019 *GNU*)
4020 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4021 *)
4022 ac_count=0
4023 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4024 while :
4025 do
4026 cat "conftest.in" "conftest.in" >"conftest.tmp"
4027 mv "conftest.tmp" "conftest.in"
4028 cp "conftest.in" "conftest.nl"
4029 echo 'GREP' >> "conftest.nl"
4030 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4031 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4032 ac_count=`expr $ac_count + 1`
4033 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4034 # Best one so far, save it but keep looking for a better one
4035 ac_cv_path_GREP="$ac_path_GREP"
4036 ac_path_GREP_max=$ac_count
4037 fi
4038 # 10*(2^10) chars as input seems more than enough
4039 test $ac_count -gt 10 && break
4040 done
4041 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4042 esac
4043
4044
4045 $ac_path_GREP_found && break 3
4046 done
4047 done
4048
4049 done
4050 IFS=$as_save_IFS
4051
4052
4053 fi
4054
4055 GREP="$ac_cv_path_GREP"
4056 if test -z "$GREP"; then
4057 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4058 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4059 { (exit 1); exit 1; }; }
4060 fi
4061
4062 else
4063 ac_cv_path_GREP=$GREP
4064 fi
4065
4066
4067 fi
4068 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4069 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4070 GREP="$ac_cv_path_GREP"
4071
4072
4073 { echo "$as_me:$LINENO: checking for egrep" >&5
4074 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4075 if test "${ac_cv_path_EGREP+set}" = set; then
4076 echo $ECHO_N "(cached) $ECHO_C" >&6
4077 else
4078 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4079 then ac_cv_path_EGREP="$GREP -E"
4080 else
4081 # Extract the first word of "egrep" to use in msg output
4082 if test -z "$EGREP"; then
4083 set dummy egrep; ac_prog_name=$2
4084 if test "${ac_cv_path_EGREP+set}" = set; then
4085 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 else
4087 ac_path_EGREP_found=false
4088 # Loop through the user's path and test for each of PROGNAME-LIST
4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4091 do
4092 IFS=$as_save_IFS
4093 test -z "$as_dir" && as_dir=.
4094 for ac_prog in egrep; do
4095 for ac_exec_ext in '' $ac_executable_extensions; do
4096 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4097 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4098 # Check for GNU ac_path_EGREP and select it if it is found.
4099 # Check for GNU $ac_path_EGREP
4100 case `"$ac_path_EGREP" --version 2>&1` in
4101 *GNU*)
4102 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4103 *)
4104 ac_count=0
4105 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4106 while :
4107 do
4108 cat "conftest.in" "conftest.in" >"conftest.tmp"
4109 mv "conftest.tmp" "conftest.in"
4110 cp "conftest.in" "conftest.nl"
4111 echo 'EGREP' >> "conftest.nl"
4112 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4113 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4114 ac_count=`expr $ac_count + 1`
4115 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4116 # Best one so far, save it but keep looking for a better one
4117 ac_cv_path_EGREP="$ac_path_EGREP"
4118 ac_path_EGREP_max=$ac_count
4119 fi
4120 # 10*(2^10) chars as input seems more than enough
4121 test $ac_count -gt 10 && break
4122 done
4123 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4124 esac
4125
4126
4127 $ac_path_EGREP_found && break 3
4128 done
4129 done
4130
4131 done
4132 IFS=$as_save_IFS
4133
4134
4135 fi
4136
4137 EGREP="$ac_cv_path_EGREP"
4138 if test -z "$EGREP"; then
4139 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4140 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4141 { (exit 1); exit 1; }; }
4142 fi
4143
4144 else
4145 ac_cv_path_EGREP=$EGREP
4146 fi
4147
4148
4149 fi
4150 fi
4151 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4152 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4153 EGREP="$ac_cv_path_EGREP"
4154
4155
4156 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4157 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4158 if test "${ac_cv_header_stdc+set}" = set; then
4159 echo $ECHO_N "(cached) $ECHO_C" >&6
4160 else
4161 cat >conftest.$ac_ext <<_ACEOF
4162 /* confdefs.h. */
4163 _ACEOF
4164 cat confdefs.h >>conftest.$ac_ext
4165 cat >>conftest.$ac_ext <<_ACEOF
4166 /* end confdefs.h. */
4167 #include <stdlib.h>
4168 #include <stdarg.h>
4169 #include <string.h>
4170 #include <float.h>
4171
4172 int
4173 main ()
4174 {
4175
4176 ;
4177 return 0;
4178 }
4179 _ACEOF
4180 rm -f conftest.$ac_objext
4181 if { (ac_try="$ac_compile"
4182 case "(($ac_try" in
4183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184 *) ac_try_echo=$ac_try;;
4185 esac
4186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4187 (eval "$ac_compile") 2>conftest.er1
4188 ac_status=$?
4189 grep -v '^ *+' conftest.er1 >conftest.err
4190 rm -f conftest.er1
4191 cat conftest.err >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); } && {
4194 test -z "$ac_c_werror_flag" ||
4195 test ! -s conftest.err
4196 } && test -s conftest.$ac_objext; then
4197 ac_cv_header_stdc=yes
4198 else
4199 echo "$as_me: failed program was:" >&5
4200 sed 's/^/| /' conftest.$ac_ext >&5
4201
4202 ac_cv_header_stdc=no
4203 fi
4204
4205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4206
4207 if test $ac_cv_header_stdc = yes; then
4208 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4209 cat >conftest.$ac_ext <<_ACEOF
4210 /* confdefs.h. */
4211 _ACEOF
4212 cat confdefs.h >>conftest.$ac_ext
4213 cat >>conftest.$ac_ext <<_ACEOF
4214 /* end confdefs.h. */
4215 #include <string.h>
4216
4217 _ACEOF
4218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4219 $EGREP "memchr" >/dev/null 2>&1; then
4220 :
4221 else
4222 ac_cv_header_stdc=no
4223 fi
4224 rm -f conftest*
4225
4226 fi
4227
4228 if test $ac_cv_header_stdc = yes; then
4229 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4230 cat >conftest.$ac_ext <<_ACEOF
4231 /* confdefs.h. */
4232 _ACEOF
4233 cat confdefs.h >>conftest.$ac_ext
4234 cat >>conftest.$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4236 #include <stdlib.h>
4237
4238 _ACEOF
4239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4240 $EGREP "free" >/dev/null 2>&1; then
4241 :
4242 else
4243 ac_cv_header_stdc=no
4244 fi
4245 rm -f conftest*
4246
4247 fi
4248
4249 if test $ac_cv_header_stdc = yes; then
4250 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4251 if test "$cross_compiling" = yes; then
4252 :
4253 else
4254 cat >conftest.$ac_ext <<_ACEOF
4255 /* confdefs.h. */
4256 _ACEOF
4257 cat confdefs.h >>conftest.$ac_ext
4258 cat >>conftest.$ac_ext <<_ACEOF
4259 /* end confdefs.h. */
4260 #include <ctype.h>
4261 #include <stdlib.h>
4262 #if ((' ' & 0x0FF) == 0x020)
4263 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4264 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4265 #else
4266 # define ISLOWER(c) \
4267 (('a' <= (c) && (c) <= 'i') \
4268 || ('j' <= (c) && (c) <= 'r') \
4269 || ('s' <= (c) && (c) <= 'z'))
4270 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4271 #endif
4272
4273 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4274 int
4275 main ()
4276 {
4277 int i;
4278 for (i = 0; i < 256; i++)
4279 if (XOR (islower (i), ISLOWER (i))
4280 || toupper (i) != TOUPPER (i))
4281 return 2;
4282 return 0;
4283 }
4284 _ACEOF
4285 rm -f conftest$ac_exeext
4286 if { (ac_try="$ac_link"
4287 case "(($ac_try" in
4288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289 *) ac_try_echo=$ac_try;;
4290 esac
4291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4292 (eval "$ac_link") 2>&5
4293 ac_status=$?
4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4296 { (case "(($ac_try" in
4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4299 esac
4300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4301 (eval "$ac_try") 2>&5
4302 ac_status=$?
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); }; }; then
4305 :
4306 else
4307 echo "$as_me: program exited with status $ac_status" >&5
4308 echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.$ac_ext >&5
4310
4311 ( exit $ac_status )
4312 ac_cv_header_stdc=no
4313 fi
4314 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4315 fi
4316
4317
4318 fi
4319 fi
4320 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4321 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4322 if test $ac_cv_header_stdc = yes; then
4323
4324 cat >>confdefs.h <<\_ACEOF
4325 #define STDC_HEADERS 1
4326 _ACEOF
4327
4328 fi
4329
4330 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4341 inttypes.h stdint.h unistd.h
4342 do
4343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4344 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4347 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 else
4349 cat >conftest.$ac_ext <<_ACEOF
4350 /* confdefs.h. */
4351 _ACEOF
4352 cat confdefs.h >>conftest.$ac_ext
4353 cat >>conftest.$ac_ext <<_ACEOF
4354 /* end confdefs.h. */
4355 $ac_includes_default
4356
4357 #include <$ac_header>
4358 _ACEOF
4359 rm -f conftest.$ac_objext
4360 if { (ac_try="$ac_compile"
4361 case "(($ac_try" in
4362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4363 *) ac_try_echo=$ac_try;;
4364 esac
4365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4366 (eval "$ac_compile") 2>conftest.er1
4367 ac_status=$?
4368 grep -v '^ *+' conftest.er1 >conftest.err
4369 rm -f conftest.er1
4370 cat conftest.err >&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } && {
4373 test -z "$ac_c_werror_flag" ||
4374 test ! -s conftest.err
4375 } && test -s conftest.$ac_objext; then
4376 eval "$as_ac_Header=yes"
4377 else
4378 echo "$as_me: failed program was:" >&5
4379 sed 's/^/| /' conftest.$ac_ext >&5
4380
4381 eval "$as_ac_Header=no"
4382 fi
4383
4384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4385 fi
4386 ac_res=`eval echo '${'$as_ac_Header'}'`
4387 { echo "$as_me:$LINENO: result: $ac_res" >&5
4388 echo "${ECHO_T}$ac_res" >&6; }
4389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4390 cat >>confdefs.h <<_ACEOF
4391 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4392 _ACEOF
4393
4394 fi
4395
4396 done
4397
4398
4399 if test -n "$PKG_CONFIG" && \
4400 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5
4401 ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
4402 ac_status=$?
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); }; then
4405
4406 MAEMO="yes"
4407 { echo "$as_me:$LINENO: result: yes" >&5
4408 echo "${ECHO_T}yes" >&6; }
4409
4410
4411 pkg_failed=no
4412 { echo "$as_me:$LINENO: checking for hildon" >&5
4413 echo $ECHO_N "checking for hildon... $ECHO_C" >&6; }
4414
4415 if test -n "$PKG_CONFIG"; then
4416 if test -n "$hildon_CFLAGS"; then
4417 pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"
4418 else
4419 if test -n "$PKG_CONFIG" && \
4420 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
4421 ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4422 ac_status=$?
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); }; then
4425 pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
4426 else
4427 pkg_failed=yes
4428 fi
4429 fi
4430 else
4431 pkg_failed=untried
4432 fi
4433 if test -n "$PKG_CONFIG"; then
4434 if test -n "$hildon_LIBS"; then
4435 pkg_cv_hildon_LIBS="$hildon_LIBS"
4436 else
4437 if test -n "$PKG_CONFIG" && \
4438 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
4439 ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4440 ac_status=$?
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; then
4443 pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
4444 else
4445 pkg_failed=yes
4446 fi
4447 fi
4448 else
4449 pkg_failed=untried
4450 fi
4451
4452
4453
4454 if test $pkg_failed = yes; then
4455
4456 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4457 _pkg_short_errors_supported=yes
4458 else
4459 _pkg_short_errors_supported=no
4460 fi
4461 if test $_pkg_short_errors_supported = yes; then
4462 hildon_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1"`
4463 else
4464 hildon_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1"`
4465 fi
4466 # Put the nasty error message in config.log where it belongs
4467 echo "$hildon_PKG_ERRORS" >&5
4468
4469 { echo "$as_me:$LINENO: result: no" >&5
4470 echo "${ECHO_T}no" >&6; }
4471 { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
4472 echo "$as_me: error: hildon-1 missing" >&2;}
4473 { (exit 1); exit 1; }; }
4474 elif test $pkg_failed = untried; then
4475 { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
4476 echo "$as_me: error: hildon-1 missing" >&2;}
4477 { (exit 1); exit 1; }; }
4478 else
4479 hildon_CFLAGS=$pkg_cv_hildon_CFLAGS
4480 hildon_LIBS=$pkg_cv_hildon_LIBS
4481 { echo "$as_me:$LINENO: result: yes" >&5
4482 echo "${ECHO_T}yes" >&6; }
4483 :
4484 fi
4485 CFLAGS="$CFLAGS -DUSE_MAEMO $hildon_CFLAGS"
4486 LIBS="$LIBS $hildon_LIBS"
4487
4488
4489 pkg_failed=no
4490 { echo "$as_me:$LINENO: checking for osso" >&5
4491 echo $ECHO_N "checking for osso... $ECHO_C" >&6; }
4492
4493 if test -n "$PKG_CONFIG"; then
4494 if test -n "$osso_CFLAGS"; then
4495 pkg_cv_osso_CFLAGS="$osso_CFLAGS"
4496 else
4497 if test -n "$PKG_CONFIG" && \
4498 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
4499 ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4500 ac_status=$?
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); }; then
4503 pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`
4504 else
4505 pkg_failed=yes
4506 fi
4507 fi
4508 else
4509 pkg_failed=untried
4510 fi
4511 if test -n "$PKG_CONFIG"; then
4512 if test -n "$osso_LIBS"; then
4513 pkg_cv_osso_LIBS="$osso_LIBS"
4514 else
4515 if test -n "$PKG_CONFIG" && \
4516 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
4517 ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4518 ac_status=$?
4519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); }; then
4521 pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`
4522 else
4523 pkg_failed=yes
4524 fi
4525 fi
4526 else
4527 pkg_failed=untried
4528 fi
4529
4530
4531
4532 if test $pkg_failed = yes; then
4533
4534 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4535 _pkg_short_errors_supported=yes
4536 else
4537 _pkg_short_errors_supported=no
4538 fi
4539 if test $_pkg_short_errors_supported = yes; then
4540 osso_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libosso"`
4541 else
4542 osso_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libosso"`
4543 fi
4544 # Put the nasty error message in config.log where it belongs
4545 echo "$osso_PKG_ERRORS" >&5
4546
4547 { echo "$as_me:$LINENO: result: no" >&5
4548 echo "${ECHO_T}no" >&6; }
4549 { { echo "$as_me:$LINENO: error: libosso missing" >&5
4550 echo "$as_me: error: libosso missing" >&2;}
4551 { (exit 1); exit 1; }; }
4552 elif test $pkg_failed = untried; then
4553 { { echo "$as_me:$LINENO: error: libosso missing" >&5
4554 echo "$as_me: error: libosso missing" >&2;}
4555 { (exit 1); exit 1; }; }
4556 else
4557 osso_CFLAGS=$pkg_cv_osso_CFLAGS
4558 osso_LIBS=$pkg_cv_osso_LIBS
4559 { echo "$as_me:$LINENO: result: yes" >&5
4560 echo "${ECHO_T}yes" >&6; }
4561 :
4562 fi
4563 CFLAGS="$CFLAGS $osso_CFLAGS"
4564 LIBS="$LIBS $osso_LIBS"
4565
4566
4567 pkg_failed=no
4568 { echo "$as_me:$LINENO: checking for hildon_fm_2" >&5
4569 echo $ECHO_N "checking for hildon_fm_2... $ECHO_C" >&6; }
4570
4571 if test -n "$PKG_CONFIG"; then
4572 if test -n "$hildon_fm_2_CFLAGS"; then
4573 pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"
4574 else
4575 if test -n "$PKG_CONFIG" && \
4576 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
4577 ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4578 ac_status=$?
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); }; then
4581 pkg_cv_hildon_fm_2_CFLAGS=`$PKG_CONFIG --cflags "hildon-fm-2" 2>/dev/null`
4582 else
4583 pkg_failed=yes
4584 fi
4585 fi
4586 else
4587 pkg_failed=untried
4588 fi
4589 if test -n "$PKG_CONFIG"; then
4590 if test -n "$hildon_fm_2_LIBS"; then
4591 pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"
4592 else
4593 if test -n "$PKG_CONFIG" && \
4594 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
4595 ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4596 ac_status=$?
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); }; then
4599 pkg_cv_hildon_fm_2_LIBS=`$PKG_CONFIG --libs "hildon-fm-2" 2>/dev/null`
4600 else
4601 pkg_failed=yes
4602 fi
4603 fi
4604 else
4605 pkg_failed=untried
4606 fi
4607
4608
4609
4610 if test $pkg_failed = yes; then
4611
4612 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4613 _pkg_short_errors_supported=yes
4614 else
4615 _pkg_short_errors_supported=no
4616 fi
4617 if test $_pkg_short_errors_supported = yes; then
4618 hildon_fm_2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-fm-2"`
4619 else
4620 hildon_fm_2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-fm-2"`
4621 fi
4622 # Put the nasty error message in config.log where it belongs
4623 echo "$hildon_fm_2_PKG_ERRORS" >&5
4624
4625 { echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6; }
4627 { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
4628 echo "$as_me: error: hildon-fm-2 missing" >&2;}
4629 { (exit 1); exit 1; }; }
4630 elif test $pkg_failed = untried; then
4631 { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
4632 echo "$as_me: error: hildon-fm-2 missing" >&2;}
4633 { (exit 1); exit 1; }; }
4634 else
4635 hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS
4636 hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS
4637 { echo "$as_me:$LINENO: result: yes" >&5
4638 echo "${ECHO_T}yes" >&6; }
4639 :
4640 fi
4641 CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"
4642 LIBS="$LIBS $hildon_fm_2_LIBS"
4643
4644 # check for sqlite3 for maemo mapper interface
4645
4646 pkg_failed=no
4647 { echo "$as_me:$LINENO: checking for sqlite3" >&5
4648 echo $ECHO_N "checking for sqlite3... $ECHO_C" >&6; }
4649
4650 if test -n "$PKG_CONFIG"; then
4651 if test -n "$sqlite3_CFLAGS"; then
4652 pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"
4653 else
4654 if test -n "$PKG_CONFIG" && \
4655 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
4656 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4657 ac_status=$?
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; then
4660 pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
4661 else
4662 pkg_failed=yes
4663 fi
4664 fi
4665 else
4666 pkg_failed=untried
4667 fi
4668 if test -n "$PKG_CONFIG"; then
4669 if test -n "$sqlite3_LIBS"; then
4670 pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"
4671 else
4672 if test -n "$PKG_CONFIG" && \
4673 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
4674 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4675 ac_status=$?
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); }; then
4678 pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
4679 else
4680 pkg_failed=yes
4681 fi
4682 fi
4683 else
4684 pkg_failed=untried
4685 fi
4686
4687
4688
4689 if test $pkg_failed = yes; then
4690
4691 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4692 _pkg_short_errors_supported=yes
4693 else
4694 _pkg_short_errors_supported=no
4695 fi
4696 if test $_pkg_short_errors_supported = yes; then
4697 sqlite3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3"`
4698 else
4699 sqlite3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3"`
4700 fi
4701 # Put the nasty error message in config.log where it belongs
4702 echo "$sqlite3_PKG_ERRORS" >&5
4703
4704 { echo "$as_me:$LINENO: result: no" >&5
4705 echo "${ECHO_T}no" >&6; }
4706 { { echo "$as_me:$LINENO: error: sqlite3 missing" >&5
4707 echo "$as_me: error: sqlite3 missing" >&2;}
4708 { (exit 1); exit 1; }; }
4709 elif test $pkg_failed = untried; then
4710 { { echo "$as_me:$LINENO: error: sqlite3 missing" >&5
4711 echo "$as_me: error: sqlite3 missing" >&2;}
4712 { (exit 1); exit 1; }; }
4713 else
4714 sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS
4715 sqlite3_LIBS=$pkg_cv_sqlite3_LIBS
4716 { echo "$as_me:$LINENO: result: yes" >&5
4717 echo "${ECHO_T}yes" >&6; }
4718 :
4719 fi
4720 CFLAGS="$CFLAGS $sqlite3_CFLAGS"
4721 LIBS="$LIBS $sqlite3_LIBS"
4722
4723 # check for hildon-help
4724
4725 pkg_failed=no
4726 { echo "$as_me:$LINENO: checking for hildon_help" >&5
4727 echo $ECHO_N "checking for hildon_help... $ECHO_C" >&6; }
4728
4729 if test -n "$PKG_CONFIG"; then
4730 if test -n "$hildon_help_CFLAGS"; then
4731 pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"
4732 else
4733 if test -n "$PKG_CONFIG" && \
4734 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5
4735 ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4736 ac_status=$?
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); }; then
4739 pkg_cv_hildon_help_CFLAGS=`$PKG_CONFIG --cflags "hildon-help" 2>/dev/null`
4740 else
4741 pkg_failed=yes
4742 fi
4743 fi
4744 else
4745 pkg_failed=untried
4746 fi
4747 if test -n "$PKG_CONFIG"; then
4748 if test -n "$hildon_help_LIBS"; then
4749 pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"
4750 else
4751 if test -n "$PKG_CONFIG" && \
4752 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5
4753 ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4754 ac_status=$?
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }; then
4757 pkg_cv_hildon_help_LIBS=`$PKG_CONFIG --libs "hildon-help" 2>/dev/null`
4758 else
4759 pkg_failed=yes
4760 fi
4761 fi
4762 else
4763 pkg_failed=untried
4764 fi
4765
4766
4767
4768 if test $pkg_failed = yes; then
4769
4770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4771 _pkg_short_errors_supported=yes
4772 else
4773 _pkg_short_errors_supported=no
4774 fi
4775 if test $_pkg_short_errors_supported = yes; then
4776 hildon_help_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-help"`
4777 else
4778 hildon_help_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-help"`
4779 fi
4780 # Put the nasty error message in config.log where it belongs
4781 echo "$hildon_help_PKG_ERRORS" >&5
4782
4783 { echo "$as_me:$LINENO: result: no" >&5
4784 echo "${ECHO_T}no" >&6; }
4785
4786 { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5
4787 echo "$as_me: WARNING: hildon-help missing" >&6;}
4788
4789 elif test $pkg_failed = untried; then
4790
4791 { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5
4792 echo "$as_me: WARNING: hildon-help missing" >&6;}
4793
4794 else
4795 hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS
4796 hildon_help_LIBS=$pkg_cv_hildon_help_LIBS
4797 { echo "$as_me:$LINENO: result: yes" >&5
4798 echo "${ECHO_T}yes" >&6; }
4799
4800 CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"
4801 LIBS="$LIBS $hildon_help_LIBS"
4802
4803 fi
4804
4805 # prefer gpsbt over liblocation as we got complaints regarding liblocation
4806 # stability
4807 if test -n "$PKG_CONFIG" && \
4808 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4809 ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4810 ac_status=$?
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; then
4813
4814
4815 pkg_failed=no
4816 { echo "$as_me:$LINENO: checking for gpsbt" >&5
4817 echo $ECHO_N "checking for gpsbt... $ECHO_C" >&6; }
4818
4819 if test -n "$PKG_CONFIG"; then
4820 if test -n "$gpsbt_CFLAGS"; then
4821 pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"
4822 else
4823 if test -n "$PKG_CONFIG" && \
4824 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4825 ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4826 ac_status=$?
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }; then
4829 pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`
4830 else
4831 pkg_failed=yes
4832 fi
4833 fi
4834 else
4835 pkg_failed=untried
4836 fi
4837 if test -n "$PKG_CONFIG"; then
4838 if test -n "$gpsbt_LIBS"; then
4839 pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"
4840 else
4841 if test -n "$PKG_CONFIG" && \
4842 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4843 ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4844 ac_status=$?
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); }; then
4847 pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`
4848 else
4849 pkg_failed=yes
4850 fi
4851 fi
4852 else
4853 pkg_failed=untried
4854 fi
4855
4856
4857
4858 if test $pkg_failed = yes; then
4859
4860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4861 _pkg_short_errors_supported=yes
4862 else
4863 _pkg_short_errors_supported=no
4864 fi
4865 if test $_pkg_short_errors_supported = yes; then
4866 gpsbt_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gpsbt"`
4867 else
4868 gpsbt_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gpsbt"`
4869 fi
4870 # Put the nasty error message in config.log where it belongs
4871 echo "$gpsbt_PKG_ERRORS" >&5
4872
4873 { { echo "$as_me:$LINENO: error: Package requirements (gpsbt) were not met:
4874
4875 $gpsbt_PKG_ERRORS
4876
4877 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4878 installed software in a non-standard prefix.
4879
4880 Alternatively, you may set the environment variables gpsbt_CFLAGS
4881 and gpsbt_LIBS to avoid the need to call pkg-config.
4882 See the pkg-config man page for more details.
4883 " >&5
4884 echo "$as_me: error: Package requirements (gpsbt) were not met:
4885
4886 $gpsbt_PKG_ERRORS
4887
4888 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4889 installed software in a non-standard prefix.
4890
4891 Alternatively, you may set the environment variables gpsbt_CFLAGS
4892 and gpsbt_LIBS to avoid the need to call pkg-config.
4893 See the pkg-config man page for more details.
4894 " >&2;}
4895 { (exit 1); exit 1; }; }
4896 elif test $pkg_failed = untried; then
4897 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4898 is in your PATH or set the PKG_CONFIG environment variable to the full
4899 path to pkg-config.
4900
4901 Alternatively, you may set the environment variables gpsbt_CFLAGS
4902 and gpsbt_LIBS to avoid the need to call pkg-config.
4903 See the pkg-config man page for more details.
4904
4905 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4906 See \`config.log' for more details." >&5
4907 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4908 is in your PATH or set the PKG_CONFIG environment variable to the full
4909 path to pkg-config.
4910
4911 Alternatively, you may set the environment variables gpsbt_CFLAGS
4912 and gpsbt_LIBS to avoid the need to call pkg-config.
4913 See the pkg-config man page for more details.
4914
4915 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4916 See \`config.log' for more details." >&2;}
4917 { (exit 1); exit 1; }; }
4918 else
4919 gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS
4920 gpsbt_LIBS=$pkg_cv_gpsbt_LIBS
4921 { echo "$as_me:$LINENO: result: yes" >&5
4922 echo "${ECHO_T}yes" >&6; }
4923 :
4924 fi
4925 CFLAGS="$CFLAGS -DENABLE_GPSBT $gpsbt_CFLAGS"
4926 LIBS="$LIBS $gpsbt_LIBS"
4927
4928 else
4929
4930 { echo "$as_me:$LINENO: gpsbt not found, trying liblocation" >&5
4931 echo "$as_me: gpsbt not found, trying liblocation" >&6;}
4932
4933 if test -n "$PKG_CONFIG" && \
4934 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4935 ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4936 ac_status=$?
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); }; then
4939
4940
4941 pkg_failed=no
4942 { echo "$as_me:$LINENO: checking for liblocation" >&5
4943 echo $ECHO_N "checking for liblocation... $ECHO_C" >&6; }
4944
4945 if test -n "$PKG_CONFIG"; then
4946 if test -n "$liblocation_CFLAGS"; then
4947 pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"
4948 else
4949 if test -n "$PKG_CONFIG" && \
4950 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4951 ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4952 ac_status=$?
4953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); }; then
4955 pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`
4956 else
4957 pkg_failed=yes
4958 fi
4959 fi
4960 else
4961 pkg_failed=untried
4962 fi
4963 if test -n "$PKG_CONFIG"; then
4964 if test -n "$liblocation_LIBS"; then
4965 pkg_cv_liblocation_LIBS="$liblocation_LIBS"
4966 else
4967 if test -n "$PKG_CONFIG" && \
4968 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4969 ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4970 ac_status=$?
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); }; then
4973 pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`
4974 else
4975 pkg_failed=yes
4976 fi
4977 fi
4978 else
4979 pkg_failed=untried
4980 fi
4981
4982
4983
4984 if test $pkg_failed = yes; then
4985
4986 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4987 _pkg_short_errors_supported=yes
4988 else
4989 _pkg_short_errors_supported=no
4990 fi
4991 if test $_pkg_short_errors_supported = yes; then
4992 liblocation_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "liblocation"`
4993 else
4994 liblocation_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "liblocation"`
4995 fi
4996 # Put the nasty error message in config.log where it belongs
4997 echo "$liblocation_PKG_ERRORS" >&5
4998
4999 { { echo "$as_me:$LINENO: error: Package requirements (liblocation) were not met:
5000
5001 $liblocation_PKG_ERRORS
5002
5003 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5004 installed software in a non-standard prefix.
5005
5006 Alternatively, you may set the environment variables liblocation_CFLAGS
5007 and liblocation_LIBS to avoid the need to call pkg-config.
5008 See the pkg-config man page for more details.
5009 " >&5
5010 echo "$as_me: error: Package requirements (liblocation) were not met:
5011
5012 $liblocation_PKG_ERRORS
5013
5014 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5015 installed software in a non-standard prefix.
5016
5017 Alternatively, you may set the environment variables liblocation_CFLAGS
5018 and liblocation_LIBS to avoid the need to call pkg-config.
5019 See the pkg-config man page for more details.
5020 " >&2;}
5021 { (exit 1); exit 1; }; }
5022 elif test $pkg_failed = untried; then
5023 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5024 is in your PATH or set the PKG_CONFIG environment variable to the full
5025 path to pkg-config.
5026
5027 Alternatively, you may set the environment variables liblocation_CFLAGS
5028 and liblocation_LIBS to avoid the need to call pkg-config.
5029 See the pkg-config man page for more details.
5030
5031 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5032 See \`config.log' for more details." >&5
5033 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5034 is in your PATH or set the PKG_CONFIG environment variable to the full
5035 path to pkg-config.
5036
5037 Alternatively, you may set the environment variables liblocation_CFLAGS
5038 and liblocation_LIBS to avoid the need to call pkg-config.
5039 See the pkg-config man page for more details.
5040
5041 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5042 See \`config.log' for more details." >&2;}
5043 { (exit 1); exit 1; }; }
5044 else
5045 liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS
5046 liblocation_LIBS=$pkg_cv_liblocation_LIBS
5047 { echo "$as_me:$LINENO: result: yes" >&5
5048 echo "${ECHO_T}yes" >&6; }
5049 :
5050 fi
5051 CFLAGS="$CFLAGS -DENABLE_LIBLOCATION $liblocation_CFLAGS"
5052 LIBS="$LIBS $liblocation_LIBS"
5053
5054 else
5055
5056 { echo "$as_me:$LINENO: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&5
5057 echo "$as_me: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&6;}
5058
5059 fi
5060
5061 fi
5062
5063 if test -n "$PKG_CONFIG" && \
5064 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tablet-browser-interface\"") >&5
5065 ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5
5066 ac_status=$?
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); }; then
5069
5070 CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"
5071
5072 else
5073 { echo "$as_me:$LINENO: WARNING: No tablet-browser-interface found, disabling microb interface!" >&5
5074 echo "$as_me: WARNING: No tablet-browser-interface found, disabling microb interface!" >&6;}
5075 fi
5076
5077 if test -n "$PKG_CONFIG" && \
5078 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5
5079 ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
5080 ac_status=$?
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); }; then
5083
5084 VERSION=`pkg-config --modversion maemo-version`
5085 { echo "$as_me:$LINENO: Configuring for Maemo $VERSION" >&5
5086 echo "$as_me: Configuring for Maemo $VERSION" >&6;}
5087 CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""
5088 MAJOR=`echo $VERSION | cut -b1 -`
5089 CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"
5090
5091 MAEMO_VERSION_MAJOR=$MAJOR
5092
5093
5094 else
5095
5096 { { echo "$as_me:$LINENO: error: maemo-version not found" >&5
5097 echo "$as_me: error: maemo-version not found" >&2;}
5098 { (exit 1); exit 1; }; }
5099
5100 fi
5101
5102 INSTALL_PLATTFORM="install-maemo"
5103
5104 # fremantle uses icons of 48x48 pixels for the app installer,
5105 # older versions used 26x26
5106 if [ "$MAJOR" == "5" ]; then
5107 ICONNAME=48x48/gpxview.png
5108 datarootdir=/opt
5109
5110 # check for libespeak (broken in diablo, hence doing it here)
5111
5112 for ac_header in espeak/speak_lib.h
5113 do
5114 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5116 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5118 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5119 echo $ECHO_N "(cached) $ECHO_C" >&6
5120 fi
5121 ac_res=`eval echo '${'$as_ac_Header'}'`
5122 { echo "$as_me:$LINENO: result: $ac_res" >&5
5123 echo "${ECHO_T}$ac_res" >&6; }
5124 else
5125 # Is the header compilable?
5126 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5128 cat >conftest.$ac_ext <<_ACEOF
5129 /* confdefs.h. */
5130 _ACEOF
5131 cat confdefs.h >>conftest.$ac_ext
5132 cat >>conftest.$ac_ext <<_ACEOF
5133 /* end confdefs.h. */
5134 $ac_includes_default
5135 #include <$ac_header>
5136 _ACEOF
5137 rm -f conftest.$ac_objext
5138 if { (ac_try="$ac_compile"
5139 case "(($ac_try" in
5140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5141 *) ac_try_echo=$ac_try;;
5142 esac
5143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5144 (eval "$ac_compile") 2>conftest.er1
5145 ac_status=$?
5146 grep -v '^ *+' conftest.er1 >conftest.err
5147 rm -f conftest.er1
5148 cat conftest.err >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); } && {
5151 test -z "$ac_c_werror_flag" ||
5152 test ! -s conftest.err
5153 } && test -s conftest.$ac_objext; then
5154 ac_header_compiler=yes
5155 else
5156 echo "$as_me: failed program was:" >&5
5157 sed 's/^/| /' conftest.$ac_ext >&5
5158
5159 ac_header_compiler=no
5160 fi
5161
5162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5163 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5164 echo "${ECHO_T}$ac_header_compiler" >&6; }
5165
5166 # Is the header present?
5167 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5168 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5169 cat >conftest.$ac_ext <<_ACEOF
5170 /* confdefs.h. */
5171 _ACEOF
5172 cat confdefs.h >>conftest.$ac_ext
5173 cat >>conftest.$ac_ext <<_ACEOF
5174 /* end confdefs.h. */
5175 #include <$ac_header>
5176 _ACEOF
5177 if { (ac_try="$ac_cpp conftest.$ac_ext"
5178 case "(($ac_try" in
5179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5180 *) ac_try_echo=$ac_try;;
5181 esac
5182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5183 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5184 ac_status=$?
5185 grep -v '^ *+' conftest.er1 >conftest.err
5186 rm -f conftest.er1
5187 cat conftest.err >&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); } >/dev/null && {
5190 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5191 test ! -s conftest.err
5192 }; then
5193 ac_header_preproc=yes
5194 else
5195 echo "$as_me: failed program was:" >&5
5196 sed 's/^/| /' conftest.$ac_ext >&5
5197
5198 ac_header_preproc=no
5199 fi
5200
5201 rm -f conftest.err conftest.$ac_ext
5202 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5203 echo "${ECHO_T}$ac_header_preproc" >&6; }
5204
5205 # So? What about this header?
5206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5207 yes:no: )
5208 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5209 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5211 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5212 ac_header_preproc=yes
5213 ;;
5214 no:yes:* )
5215 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5216 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5217 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5218 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5219 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5220 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5221 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5222 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5224 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5225 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5226 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5227 ( cat <<\_ASBOX
5228 ## ------------------------------- ##
5229 ## Report this to till@harbaum.org ##
5230 ## ------------------------------- ##
5231 _ASBOX
5232 ) | sed "s/^/$as_me: WARNING: /" >&2
5233 ;;
5234 esac
5235 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5238 echo $ECHO_N "(cached) $ECHO_C" >&6
5239 else
5240 eval "$as_ac_Header=\$ac_header_preproc"
5241 fi
5242 ac_res=`eval echo '${'$as_ac_Header'}'`
5243 { echo "$as_me:$LINENO: result: $ac_res" >&5
5244 echo "${ECHO_T}$ac_res" >&6; }
5245
5246 fi
5247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5248 cat >>confdefs.h <<_ACEOF
5249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5250 _ACEOF
5251
5252 CFLAGS="$CFLAGS -DESPEAK"
5253 LIBS="$LIBS -lespeak"
5254
5255 fi
5256
5257 done
5258
5259 else
5260 ICONNAME=26x26/gpxview.png
5261 { echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5
5262 echo "$as_me: Enabling Maemo Mapper support" >&6;}
5263 fi
5264
5265 CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER"
5266 EXTRA_OBJS="$EXTRA_OBJS mm_poi.o"
5267
5268 # maemo uses dbus for ipc with maemo mapper
5269 EXTRA_OBJS="$EXTRA_OBJS dbus.o"
5270
5271 { echo "$as_me:$LINENO: Using application installer icon \"$ICONNAME\"" >&5
5272 echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}
5273
5274 # add icon entry to debian/control
5275 ICON=" Maemo icon $ICONNAME
5276 XB-Maemo-Icon-26:
5277 "
5278
5279 # generate base64 icon, remove first and last line
5280 # and add a space before each line
5281 ICON="$ICON`uuencode -m data/icons/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`"
5282
5283
5284 else
5285
5286 { echo "$as_me:$LINENO: result: no" >&5
5287 echo "${ECHO_T}no" >&6; }
5288
5289 EXTRA_OBJS="$EXTRA_OBJS bct.o"
5290 CFLAGS="$CFLAGS -DBCT"
5291
5292 # check for gtk+-2.0
5293
5294 pkg_failed=no
5295 { echo "$as_me:$LINENO: checking for gtk" >&5
5296 echo $ECHO_N "checking for gtk... $ECHO_C" >&6; }
5297
5298 if test -n "$PKG_CONFIG"; then
5299 if test -n "$gtk_CFLAGS"; then
5300 pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
5301 else
5302 if test -n "$PKG_CONFIG" && \
5303 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
5304 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5305 ac_status=$?
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); }; then
5308 pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
5309 else
5310 pkg_failed=yes
5311 fi
5312 fi
5313 else
5314 pkg_failed=untried
5315 fi
5316 if test -n "$PKG_CONFIG"; then
5317 if test -n "$gtk_LIBS"; then
5318 pkg_cv_gtk_LIBS="$gtk_LIBS"
5319 else
5320 if test -n "$PKG_CONFIG" && \
5321 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
5322 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5323 ac_status=$?
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); }; then
5326 pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
5327 else
5328 pkg_failed=yes
5329 fi
5330 fi
5331 else
5332 pkg_failed=untried
5333 fi
5334
5335
5336
5337 if test $pkg_failed = yes; then
5338
5339 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5340 _pkg_short_errors_supported=yes
5341 else
5342 _pkg_short_errors_supported=no
5343 fi
5344 if test $_pkg_short_errors_supported = yes; then
5345 gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
5346 else
5347 gtk_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
5348 fi
5349 # Put the nasty error message in config.log where it belongs
5350 echo "$gtk_PKG_ERRORS" >&5
5351
5352 { echo "$as_me:$LINENO: result: no" >&5
5353 echo "${ECHO_T}no" >&6; }
5354 { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
5355 echo "$as_me: error: gtk+-2.0 missing!" >&2;}
5356 { (exit 1); exit 1; }; }
5357 elif test $pkg_failed = untried; then
5358 { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
5359 echo "$as_me: error: gtk+-2.0 missing!" >&2;}
5360 { (exit 1); exit 1; }; }
5361 else
5362 gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
5363 gtk_LIBS=$pkg_cv_gtk_LIBS
5364 { echo "$as_me:$LINENO: result: yes" >&5
5365 echo "${ECHO_T}yes" >&6; }
5366 :
5367 fi
5368 CFLAGS="$CFLAGS $gtk_CFLAGS"
5369 LIBS="$LIBS $gtk_LIBS"
5370
5371 # non-maemo device use gnome to call the web browser
5372
5373 pkg_failed=no
5374 { echo "$as_me:$LINENO: checking for gnome2" >&5
5375 echo $ECHO_N "checking for gnome2... $ECHO_C" >&6; }
5376
5377 if test -n "$PKG_CONFIG"; then
5378 if test -n "$gnome2_CFLAGS"; then
5379 pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"
5380 else
5381 if test -n "$PKG_CONFIG" && \
5382 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5
5383 ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5384 ac_status=$?
5385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386 (exit $ac_status); }; then
5387 pkg_cv_gnome2_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0" 2>/dev/null`
5388 else
5389 pkg_failed=yes
5390 fi
5391 fi
5392 else
5393 pkg_failed=untried
5394 fi
5395 if test -n "$PKG_CONFIG"; then
5396 if test -n "$gnome2_LIBS"; then
5397 pkg_cv_gnome2_LIBS="$gnome2_LIBS"
5398 else
5399 if test -n "$PKG_CONFIG" && \
5400 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5
5401 ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5402 ac_status=$?
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); }; then
5405 pkg_cv_gnome2_LIBS=`$PKG_CONFIG --libs "libgnome-2.0" 2>/dev/null`
5406 else
5407 pkg_failed=yes
5408 fi
5409 fi
5410 else
5411 pkg_failed=untried
5412 fi
5413
5414
5415
5416 if test $pkg_failed = yes; then
5417
5418 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5419 _pkg_short_errors_supported=yes
5420 else
5421 _pkg_short_errors_supported=no
5422 fi
5423 if test $_pkg_short_errors_supported = yes; then
5424 gnome2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnome-2.0"`
5425 else
5426 gnome2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnome-2.0"`
5427 fi
5428 # Put the nasty error message in config.log where it belongs
5429 echo "$gnome2_PKG_ERRORS" >&5
5430
5431 { echo "$as_me:$LINENO: result: no" >&5
5432 echo "${ECHO_T}no" >&6; }
5433 { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
5434 echo "$as_me: error: libgnome-2.0 missing" >&2;}
5435 { (exit 1); exit 1; }; }
5436 elif test $pkg_failed = untried; then
5437 { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
5438 echo "$as_me: error: libgnome-2.0 missing" >&2;}
5439 { (exit 1); exit 1; }; }
5440 else
5441 gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS
5442 gnome2_LIBS=$pkg_cv_gnome2_LIBS
5443 { echo "$as_me:$LINENO: result: yes" >&5
5444 echo "${ECHO_T}yes" >&6; }
5445 :
5446 fi
5447 CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"
5448 LIBS="$LIBS $gnome2_LIBS"
5449
5450 # check for libespeak
5451
5452 for ac_header in espeak/speak_lib.h
5453 do
5454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5456 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5458 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5459 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 fi
5461 ac_res=`eval echo '${'$as_ac_Header'}'`
5462 { echo "$as_me:$LINENO: result: $ac_res" >&5
5463 echo "${ECHO_T}$ac_res" >&6; }
5464 else
5465 # Is the header compilable?
5466 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5468 cat >conftest.$ac_ext <<_ACEOF
5469 /* confdefs.h. */
5470 _ACEOF
5471 cat confdefs.h >>conftest.$ac_ext
5472 cat >>conftest.$ac_ext <<_ACEOF
5473 /* end confdefs.h. */
5474 $ac_includes_default
5475 #include <$ac_header>
5476 _ACEOF
5477 rm -f conftest.$ac_objext
5478 if { (ac_try="$ac_compile"
5479 case "(($ac_try" in
5480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5481 *) ac_try_echo=$ac_try;;
5482 esac
5483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5484 (eval "$ac_compile") 2>conftest.er1
5485 ac_status=$?
5486 grep -v '^ *+' conftest.er1 >conftest.err
5487 rm -f conftest.er1
5488 cat conftest.err >&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); } && {
5491 test -z "$ac_c_werror_flag" ||
5492 test ! -s conftest.err
5493 } && test -s conftest.$ac_objext; then
5494 ac_header_compiler=yes
5495 else
5496 echo "$as_me: failed program was:" >&5
5497 sed 's/^/| /' conftest.$ac_ext >&5
5498
5499 ac_header_compiler=no
5500 fi
5501
5502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5503 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5504 echo "${ECHO_T}$ac_header_compiler" >&6; }
5505
5506 # Is the header present?
5507 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5508 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5509 cat >conftest.$ac_ext <<_ACEOF
5510 /* confdefs.h. */
5511 _ACEOF
5512 cat confdefs.h >>conftest.$ac_ext
5513 cat >>conftest.$ac_ext <<_ACEOF
5514 /* end confdefs.h. */
5515 #include <$ac_header>
5516 _ACEOF
5517 if { (ac_try="$ac_cpp conftest.$ac_ext"
5518 case "(($ac_try" in
5519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5520 *) ac_try_echo=$ac_try;;
5521 esac
5522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5523 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5524 ac_status=$?
5525 grep -v '^ *+' conftest.er1 >conftest.err
5526 rm -f conftest.er1
5527 cat conftest.err >&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); } >/dev/null && {
5530 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5531 test ! -s conftest.err
5532 }; then
5533 ac_header_preproc=yes
5534 else
5535 echo "$as_me: failed program was:" >&5
5536 sed 's/^/| /' conftest.$ac_ext >&5
5537
5538 ac_header_preproc=no
5539 fi
5540
5541 rm -f conftest.err conftest.$ac_ext
5542 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5543 echo "${ECHO_T}$ac_header_preproc" >&6; }
5544
5545 # So? What about this header?
5546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5547 yes:no: )
5548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5552 ac_header_preproc=yes
5553 ;;
5554 no:yes:* )
5555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5567 ( cat <<\_ASBOX
5568 ## ------------------------------- ##
5569 ## Report this to till@harbaum.org ##
5570 ## ------------------------------- ##
5571 _ASBOX
5572 ) | sed "s/^/$as_me: WARNING: /" >&2
5573 ;;
5574 esac
5575 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5578 echo $ECHO_N "(cached) $ECHO_C" >&6
5579 else
5580 eval "$as_ac_Header=\$ac_header_preproc"
5581 fi
5582 ac_res=`eval echo '${'$as_ac_Header'}'`
5583 { echo "$as_me:$LINENO: result: $ac_res" >&5
5584 echo "${ECHO_T}$ac_res" >&6; }
5585
5586 fi
5587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5588 cat >>confdefs.h <<_ACEOF
5589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5590 _ACEOF
5591
5592 CFLAGS="$CFLAGS -DESPEAK"
5593 LIBS="$LIBS -lespeak"
5594
5595 fi
5596
5597 done
5598
5599
5600 # check for libgps
5601
5602 pkg_failed=no
5603 { echo "$as_me:$LINENO: checking for gps" >&5
5604 echo $ECHO_N "checking for gps... $ECHO_C" >&6; }
5605
5606 if test -n "$PKG_CONFIG"; then
5607 if test -n "$gps_CFLAGS"; then
5608 pkg_cv_gps_CFLAGS="$gps_CFLAGS"
5609 else
5610 if test -n "$PKG_CONFIG" && \
5611 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgps\"") >&5
5612 ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
5613 ac_status=$?
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); }; then
5616 pkg_cv_gps_CFLAGS=`$PKG_CONFIG --cflags "libgps" 2>/dev/null`
5617 else
5618 pkg_failed=yes
5619 fi
5620 fi
5621 else
5622 pkg_failed=untried
5623 fi
5624 if test -n "$PKG_CONFIG"; then
5625 if test -n "$gps_LIBS"; then
5626 pkg_cv_gps_LIBS="$gps_LIBS"
5627 else
5628 if test -n "$PKG_CONFIG" && \
5629 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgps\"") >&5
5630 ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
5631 ac_status=$?
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); }; then
5634 pkg_cv_gps_LIBS=`$PKG_CONFIG --libs "libgps" 2>/dev/null`
5635 else
5636 pkg_failed=yes
5637 fi
5638 fi
5639 else
5640 pkg_failed=untried
5641 fi
5642
5643
5644
5645 if test $pkg_failed = yes; then
5646
5647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5648 _pkg_short_errors_supported=yes
5649 else
5650 _pkg_short_errors_supported=no
5651 fi
5652 if test $_pkg_short_errors_supported = yes; then
5653 gps_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgps"`
5654 else
5655 gps_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgps"`
5656 fi
5657 # Put the nasty error message in config.log where it belongs
5658 echo "$gps_PKG_ERRORS" >&5
5659
5660 { echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6; }
5662 { echo "$as_me:$LINENO: No libgps found, using direct GPSD" >&5
5663 echo "$as_me: No libgps found, using direct GPSD" >&6;}
5664 elif test $pkg_failed = untried; then
5665 { echo "$as_me:$LINENO: No libgps found, using direct GPSD" >&5
5666 echo "$as_me: No libgps found, using direct GPSD" >&6;}
5667 else
5668 gps_CFLAGS=$pkg_cv_gps_CFLAGS
5669 gps_LIBS=$pkg_cv_gps_LIBS
5670 { echo "$as_me:$LINENO: result: yes" >&5
5671 echo "${ECHO_T}yes" >&6; }
5672
5673 CFLAGS="$CFLAGS $gps_CFLAGS -DUSE_LIBGPS"
5674 LIBS="$LIBS $gps_LIBS"
5675
5676 fi
5677
5678 INSTALL_PLATTFORM="install-debian"
5679
5680 ICON=" No icon"
5681
5682 fi
5683
5684
5685
5686
5687 ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile debian/control"
5688
5689
5690 cat >confcache <<\_ACEOF
5691 # This file is a shell script that caches the results of configure
5692 # tests run on this system so they can be shared between configure
5693 # scripts and configure runs, see configure's option --config-cache.
5694 # It is not useful on other systems. If it contains results you don't
5695 # want to keep, you may remove or edit it.
5696 #
5697 # config.status only pays attention to the cache file if you give it
5698 # the --recheck option to rerun configure.
5699 #
5700 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5701 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5702 # following values.
5703
5704 _ACEOF
5705
5706 # The following way of writing the cache mishandles newlines in values,
5707 # but we know of no workaround that is simple, portable, and efficient.
5708 # So, we kill variables containing newlines.
5709 # Ultrix sh set writes to stderr and can't be redirected directly,
5710 # and sets the high bit in the cache file unless we assign to the vars.
5711 (
5712 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5713 eval ac_val=\$$ac_var
5714 case $ac_val in #(
5715 *${as_nl}*)
5716 case $ac_var in #(
5717 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5718 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5719 esac
5720 case $ac_var in #(
5721 _ | IFS | as_nl) ;; #(
5722 *) $as_unset $ac_var ;;
5723 esac ;;
5724 esac
5725 done
5726
5727 (set) 2>&1 |
5728 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5729 *${as_nl}ac_space=\ *)
5730 # `set' does not quote correctly, so add quotes (double-quote
5731 # substitution turns \\\\ into \\, and sed turns \\ into \).
5732 sed -n \
5733 "s/'/'\\\\''/g;
5734 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5735 ;; #(
5736 *)
5737 # `set' quotes correctly as required by POSIX, so do not add quotes.
5738 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5739 ;;
5740 esac |
5741 sort
5742 ) |
5743 sed '
5744 /^ac_cv_env_/b end
5745 t clear
5746 :clear
5747 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5748 t end
5749 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5750 :end' >>confcache
5751 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5752 if test -w "$cache_file"; then
5753 test "x$cache_file" != "x/dev/null" &&
5754 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5755 echo "$as_me: updating cache $cache_file" >&6;}
5756 cat confcache >$cache_file
5757 else
5758 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5759 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5760 fi
5761 fi
5762 rm -f confcache
5763
5764 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5765 # Let make expand exec_prefix.
5766 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5767
5768 # Transform confdefs.h into DEFS.
5769 # Protect against shell expansion while executing Makefile rules.
5770 # Protect against Makefile macro expansion.
5771 #
5772 # If the first sed substitution is executed (which looks for macros that
5773 # take arguments), then branch to the quote section. Otherwise,
5774 # look for a macro that doesn't take arguments.
5775 ac_script='
5776 t clear
5777 :clear
5778 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5779 t quote
5780 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5781 t quote
5782 b any
5783 :quote
5784 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5785 s/\[/\\&/g
5786 s/\]/\\&/g
5787 s/\$/$$/g
5788 H
5789 :any
5790 ${
5791 g
5792 s/^\n//
5793 s/\n/ /g
5794 p
5795 }
5796 '
5797 DEFS=`sed -n "$ac_script" confdefs.h`
5798
5799
5800 ac_libobjs=
5801 ac_ltlibobjs=
5802 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5803 # 1. Remove the extension, and $U if already installed.
5804 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5805 ac_i=`echo "$ac_i" | sed "$ac_script"`
5806 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5807 # will be set to the directory where LIBOBJS objects are built.
5808 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5809 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5810 done
5811 LIBOBJS=$ac_libobjs
5812
5813 LTLIBOBJS=$ac_ltlibobjs
5814
5815
5816
5817 : ${CONFIG_STATUS=./config.status}
5818 ac_clean_files_save=$ac_clean_files
5819 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5820 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5821 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5822 cat >$CONFIG_STATUS <<_ACEOF
5823 #! $SHELL
5824 # Generated by $as_me.
5825 # Run this file to recreate the current configuration.
5826 # Compiler output produced by configure, useful for debugging
5827 # configure, is in config.log if it exists.
5828
5829 debug=false
5830 ac_cs_recheck=false
5831 ac_cs_silent=false
5832 SHELL=\${CONFIG_SHELL-$SHELL}
5833 _ACEOF
5834
5835 cat >>$CONFIG_STATUS <<\_ACEOF
5836 ## --------------------- ##
5837 ## M4sh Initialization. ##
5838 ## --------------------- ##
5839
5840 # Be more Bourne compatible
5841 DUALCASE=1; export DUALCASE # for MKS sh
5842 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5843 emulate sh
5844 NULLCMD=:
5845 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5846 # is contrary to our usage. Disable this feature.
5847 alias -g '${1+"$@"}'='"$@"'
5848 setopt NO_GLOB_SUBST
5849 else
5850 case `(set -o) 2>/dev/null` in
5851 *posix*) set -o posix ;;
5852 esac
5853
5854 fi
5855
5856
5857
5858
5859 # PATH needs CR
5860 # Avoid depending upon Character Ranges.
5861 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5862 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5863 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5864 as_cr_digits='0123456789'
5865 as_cr_alnum=$as_cr_Letters$as_cr_digits
5866
5867 # The user is always right.
5868 if test "${PATH_SEPARATOR+set}" != set; then
5869 echo "#! /bin/sh" >conf$$.sh
5870 echo "exit 0" >>conf$$.sh
5871 chmod +x conf$$.sh
5872 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5873 PATH_SEPARATOR=';'
5874 else
5875 PATH_SEPARATOR=:
5876 fi
5877 rm -f conf$$.sh
5878 fi
5879
5880 # Support unset when possible.
5881 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5882 as_unset=unset
5883 else
5884 as_unset=false
5885 fi
5886
5887
5888 # IFS
5889 # We need space, tab and new line, in precisely that order. Quoting is
5890 # there to prevent editors from complaining about space-tab.
5891 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5892 # splitting by setting IFS to empty value.)
5893 as_nl='
5894 '
5895 IFS=" "" $as_nl"
5896
5897 # Find who we are. Look in the path if we contain no directory separator.
5898 case $0 in
5899 *[\\/]* ) as_myself=$0 ;;
5900 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in $PATH
5902 do
5903 IFS=$as_save_IFS
5904 test -z "$as_dir" && as_dir=.
5905 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5906 done
5907 IFS=$as_save_IFS
5908
5909 ;;
5910 esac
5911 # We did not find ourselves, most probably we were run as `sh COMMAND'
5912 # in which case we are not to be found in the path.
5913 if test "x$as_myself" = x; then
5914 as_myself=$0
5915 fi
5916 if test ! -f "$as_myself"; then
5917 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5918 { (exit 1); exit 1; }
5919 fi
5920
5921 # Work around bugs in pre-3.0 UWIN ksh.
5922 for as_var in ENV MAIL MAILPATH
5923 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5924 done
5925 PS1='$ '
5926 PS2='> '
5927 PS4='+ '
5928
5929 # NLS nuisances.
5930 for as_var in \
5931 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5932 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5933 LC_TELEPHONE LC_TIME
5934 do
5935 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5936 eval $as_var=C; export $as_var
5937 else
5938 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5939 fi
5940 done
5941
5942 # Required to use basename.
5943 if expr a : '\(a\)' >/dev/null 2>&1 &&
5944 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5945 as_expr=expr
5946 else
5947 as_expr=false
5948 fi
5949
5950 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5951 as_basename=basename
5952 else
5953 as_basename=false
5954 fi
5955
5956
5957 # Name of the executable.
5958 as_me=`$as_basename -- "$0" ||
5959 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5960 X"$0" : 'X\(//\)$' \| \
5961 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5962 echo X/"$0" |
5963 sed '/^.*\/\([^/][^/]*\)\/*$/{
5964 s//\1/
5965 q
5966 }
5967 /^X\/\(\/\/\)$/{
5968 s//\1/
5969 q
5970 }
5971 /^X\/\(\/\).*/{
5972 s//\1/
5973 q
5974 }
5975 s/.*/./; q'`
5976
5977 # CDPATH.
5978 $as_unset CDPATH
5979
5980
5981
5982 as_lineno_1=$LINENO
5983 as_lineno_2=$LINENO
5984 test "x$as_lineno_1" != "x$as_lineno_2" &&
5985 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5986
5987 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5988 # uniformly replaced by the line number. The first 'sed' inserts a
5989 # line-number line after each line using $LINENO; the second 'sed'
5990 # does the real work. The second script uses 'N' to pair each
5991 # line-number line with the line containing $LINENO, and appends
5992 # trailing '-' during substitution so that $LINENO is not a special
5993 # case at line end.
5994 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5995 # scripts with optimization help from Paolo Bonzini. Blame Lee
5996 # E. McMahon (1931-1989) for sed's syntax. :-)
5997 sed -n '
5998 p
5999 /[$]LINENO/=
6000 ' <$as_myself |
6001 sed '
6002 s/[$]LINENO.*/&-/
6003 t lineno
6004 b
6005 :lineno
6006 N
6007 :loop
6008 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6009 t loop
6010 s/-\n.*//
6011 ' >$as_me.lineno &&
6012 chmod +x "$as_me.lineno" ||
6013 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6014 { (exit 1); exit 1; }; }
6015
6016 # Don't try to exec as it changes $[0], causing all sort of problems
6017 # (the dirname of $[0] is not the place where we might find the
6018 # original and so on. Autoconf is especially sensitive to this).
6019 . "./$as_me.lineno"
6020 # Exit status is that of the last command.
6021 exit
6022 }
6023
6024
6025 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6026 as_dirname=dirname
6027 else
6028 as_dirname=false
6029 fi
6030
6031 ECHO_C= ECHO_N= ECHO_T=
6032 case `echo -n x` in
6033 -n*)
6034 case `echo 'x\c'` in
6035 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6036 *) ECHO_C='\c';;
6037 esac;;
6038 *)
6039 ECHO_N='-n';;
6040 esac
6041
6042 if expr a : '\(a\)' >/dev/null 2>&1 &&
6043 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6044 as_expr=expr
6045 else
6046 as_expr=false
6047 fi
6048
6049 rm -f conf$$ conf$$.exe conf$$.file
6050 if test -d conf$$.dir; then
6051 rm -f conf$$.dir/conf$$.file
6052 else
6053 rm -f conf$$.dir
6054 mkdir conf$$.dir
6055 fi
6056 echo >conf$$.file
6057 if ln -s conf$$.file conf$$ 2>/dev/null; then
6058 as_ln_s='ln -s'
6059 # ... but there are two gotchas:
6060 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6061 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6062 # In both cases, we have to default to `cp -p'.
6063 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6064 as_ln_s='cp -p'
6065 elif ln conf$$.file conf$$ 2>/dev/null; then
6066 as_ln_s=ln
6067 else
6068 as_ln_s='cp -p'
6069 fi
6070 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6071 rmdir conf$$.dir 2>/dev/null
6072
6073 if mkdir -p . 2>/dev/null; then
6074 as_mkdir_p=:
6075 else
6076 test -d ./-p && rmdir ./-p
6077 as_mkdir_p=false
6078 fi
6079
6080 if test -x / >/dev/null 2>&1; then
6081 as_test_x='test -x'
6082 else
6083 if ls -dL / >/dev/null 2>&1; then
6084 as_ls_L_option=L
6085 else
6086 as_ls_L_option=
6087 fi
6088 as_test_x='
6089 eval sh -c '\''
6090 if test -d "$1"; then
6091 test -d "$1/.";
6092 else
6093 case $1 in
6094 -*)set "./$1";;
6095 esac;
6096 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6097 ???[sx]*):;;*)false;;esac;fi
6098 '\'' sh
6099 '
6100 fi
6101 as_executable_p=$as_test_x
6102
6103 # Sed expression to map a string onto a valid CPP name.
6104 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6105
6106 # Sed expression to map a string onto a valid variable name.
6107 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6108
6109
6110 exec 6>&1
6111
6112 # Save the log message, to keep $[0] and so on meaningful, and to
6113 # report actual input values of CONFIG_FILES etc. instead of their
6114 # values after options handling.
6115 ac_log="
6116 This file was extended by GPXView $as_me 0.9.4, which was
6117 generated by GNU Autoconf 2.61. Invocation command line was
6118
6119 CONFIG_FILES = $CONFIG_FILES
6120 CONFIG_HEADERS = $CONFIG_HEADERS
6121 CONFIG_LINKS = $CONFIG_LINKS
6122 CONFIG_COMMANDS = $CONFIG_COMMANDS
6123 $ $0 $@
6124
6125 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6126 "
6127
6128 _ACEOF
6129
6130 cat >>$CONFIG_STATUS <<_ACEOF
6131 # Files that config.status was made for.
6132 config_files="$ac_config_files"
6133
6134 _ACEOF
6135
6136 cat >>$CONFIG_STATUS <<\_ACEOF
6137 ac_cs_usage="\
6138 \`$as_me' instantiates files from templates according to the
6139 current configuration.
6140
6141 Usage: $0 [OPTIONS] [FILE]...
6142
6143 -h, --help print this help, then exit
6144 -V, --version print version number and configuration settings, then exit
6145 -q, --quiet do not print progress messages
6146 -d, --debug don't remove temporary files
6147 --recheck update $as_me by reconfiguring in the same conditions
6148 --file=FILE[:TEMPLATE]
6149 instantiate the configuration file FILE
6150
6151 Configuration files:
6152 $config_files
6153
6154 Report bugs to <bug-autoconf@gnu.org>."
6155
6156 _ACEOF
6157 cat >>$CONFIG_STATUS <<_ACEOF
6158 ac_cs_version="\\
6159 GPXView config.status 0.9.4
6160 configured by $0, generated by GNU Autoconf 2.61,
6161 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6162
6163 Copyright (C) 2006 Free Software Foundation, Inc.
6164 This config.status script is free software; the Free Software Foundation
6165 gives unlimited permission to copy, distribute and modify it."
6166
6167 ac_pwd='$ac_pwd'
6168 srcdir='$srcdir'
6169 INSTALL='$INSTALL'
6170 _ACEOF
6171
6172 cat >>$CONFIG_STATUS <<\_ACEOF
6173 # If no file are specified by the user, then we need to provide default
6174 # value. By we need to know if files were specified by the user.
6175 ac_need_defaults=:
6176 while test $# != 0
6177 do
6178 case $1 in
6179 --*=*)
6180 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6181 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6182 ac_shift=:
6183 ;;
6184 *)
6185 ac_option=$1
6186 ac_optarg=$2
6187 ac_shift=shift
6188 ;;
6189 esac
6190
6191 case $ac_option in
6192 # Handling of the options.
6193 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6194 ac_cs_recheck=: ;;
6195 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6196 echo "$ac_cs_version"; exit ;;
6197 --debug | --debu | --deb | --de | --d | -d )
6198 debug=: ;;
6199 --file | --fil | --fi | --f )
6200 $ac_shift
6201 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6202 ac_need_defaults=false;;
6203 --he | --h | --help | --hel | -h )
6204 echo "$ac_cs_usage"; exit ;;
6205 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6206 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6207 ac_cs_silent=: ;;
6208
6209 # This is an error.
6210 -*) { echo "$as_me: error: unrecognized option: $1
6211 Try \`$0 --help' for more information." >&2
6212 { (exit 1); exit 1; }; } ;;
6213
6214 *) ac_config_targets="$ac_config_targets $1"
6215 ac_need_defaults=false ;;
6216
6217 esac
6218 shift
6219 done
6220
6221 ac_configure_extra_args=
6222
6223 if $ac_cs_silent; then
6224 exec 6>/dev/null
6225 ac_configure_extra_args="$ac_configure_extra_args --silent"
6226 fi
6227
6228 _ACEOF
6229 cat >>$CONFIG_STATUS <<_ACEOF
6230 if \$ac_cs_recheck; then
6231 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6232 CONFIG_SHELL=$SHELL
6233 export CONFIG_SHELL
6234 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6235 fi
6236
6237 _ACEOF
6238 cat >>$CONFIG_STATUS <<\_ACEOF
6239 exec 5>>config.log
6240 {
6241 echo
6242 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6243 ## Running $as_me. ##
6244 _ASBOX
6245 echo "$ac_log"
6246 } >&5
6247
6248 _ACEOF
6249 cat >>$CONFIG_STATUS <<_ACEOF
6250 _ACEOF
6251
6252 cat >>$CONFIG_STATUS <<\_ACEOF
6253
6254 # Handling of arguments.
6255 for ac_config_target in $ac_config_targets
6256 do
6257 case $ac_config_target in
6258 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6259 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6260 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
6261 "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;
6262
6263 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6264 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6265 { (exit 1); exit 1; }; };;
6266 esac
6267 done
6268
6269
6270 # If the user did not use the arguments to specify the items to instantiate,
6271 # then the envvar interface is used. Set only those that are not.
6272 # We use the long form for the default assignment because of an extremely
6273 # bizarre bug on SunOS 4.1.3.
6274 if $ac_need_defaults; then
6275 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6276 fi
6277
6278 # Have a temporary directory for convenience. Make it in the build tree
6279 # simply because there is no reason against having it here, and in addition,
6280 # creating and moving files from /tmp can sometimes cause problems.
6281 # Hook for its removal unless debugging.
6282 # Note that there is a small window in which the directory will not be cleaned:
6283 # after its creation but before its name has been assigned to `$tmp'.
6284 $debug ||
6285 {
6286 tmp=
6287 trap 'exit_status=$?
6288 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6289 ' 0
6290 trap '{ (exit 1); exit 1; }' 1 2 13 15
6291 }
6292 # Create a (secure) tmp directory for tmp files.
6293
6294 {
6295 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6296 test -n "$tmp" && test -d "$tmp"
6297 } ||
6298 {
6299 tmp=./conf$$-$RANDOM
6300 (umask 077 && mkdir "$tmp")
6301 } ||
6302 {
6303 echo "$me: cannot create a temporary directory in ." >&2
6304 { (exit 1); exit 1; }
6305 }
6306
6307 #
6308 # Set up the sed scripts for CONFIG_FILES section.
6309 #
6310
6311 # No need to generate the scripts if there are no CONFIG_FILES.
6312 # This happens for instance when ./config.status config.h
6313 if test -n "$CONFIG_FILES"; then
6314
6315 _ACEOF
6316
6317
6318
6319 ac_delim='%!_!# '
6320 for ac_last_try in false false false false false :; do
6321 cat >conf$$subs.sed <<_ACEOF
6322 SHELL!$SHELL$ac_delim
6323 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6324 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6325 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6326 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6327 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6328 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6329 exec_prefix!$exec_prefix$ac_delim
6330 prefix!$prefix$ac_delim
6331 program_transform_name!$program_transform_name$ac_delim
6332 bindir!$bindir$ac_delim
6333 sbindir!$sbindir$ac_delim
6334 libexecdir!$libexecdir$ac_delim
6335 datarootdir!$datarootdir$ac_delim
6336 datadir!$datadir$ac_delim
6337 sysconfdir!$sysconfdir$ac_delim
6338 sharedstatedir!$sharedstatedir$ac_delim
6339 localstatedir!$localstatedir$ac_delim
6340 includedir!$includedir$ac_delim
6341 oldincludedir!$oldincludedir$ac_delim
6342 docdir!$docdir$ac_delim
6343 infodir!$infodir$ac_delim
6344 htmldir!$htmldir$ac_delim
6345 dvidir!$dvidir$ac_delim
6346 pdfdir!$pdfdir$ac_delim
6347 psdir!$psdir$ac_delim
6348 libdir!$libdir$ac_delim
6349 localedir!$localedir$ac_delim
6350 mandir!$mandir$ac_delim
6351 DEFS!$DEFS$ac_delim
6352 ECHO_C!$ECHO_C$ac_delim
6353 ECHO_N!$ECHO_N$ac_delim
6354 ECHO_T!$ECHO_T$ac_delim
6355 LIBS!$LIBS$ac_delim
6356 build_alias!$build_alias$ac_delim
6357 host_alias!$host_alias$ac_delim
6358 target_alias!$target_alias$ac_delim
6359 PACKAGE!$PACKAGE$ac_delim
6360 CC!$CC$ac_delim
6361 CFLAGS!$CFLAGS$ac_delim
6362 LDFLAGS!$LDFLAGS$ac_delim
6363 CPPFLAGS!$CPPFLAGS$ac_delim
6364 ac_ct_CC!$ac_ct_CC$ac_delim
6365 EXEEXT!$EXEEXT$ac_delim
6366 OBJEXT!$OBJEXT$ac_delim
6367 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6368 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6369 INSTALL_DATA!$INSTALL_DATA$ac_delim
6370 LN_S!$LN_S$ac_delim
6371 SET_MAKE!$SET_MAKE$ac_delim
6372 PKG_CONFIG!$PKG_CONFIG$ac_delim
6373 gnome_vfs_module_CFLAGS!$gnome_vfs_module_CFLAGS$ac_delim
6374 gnome_vfs_module_LIBS!$gnome_vfs_module_LIBS$ac_delim
6375 libxml2_CFLAGS!$libxml2_CFLAGS$ac_delim
6376 libxml2_LIBS!$libxml2_LIBS$ac_delim
6377 libcurl_CFLAGS!$libcurl_CFLAGS$ac_delim
6378 libcurl_LIBS!$libcurl_LIBS$ac_delim
6379 libsoup24_CFLAGS!$libsoup24_CFLAGS$ac_delim
6380 libsoup24_LIBS!$libsoup24_LIBS$ac_delim
6381 libsoup22_CFLAGS!$libsoup22_CFLAGS$ac_delim
6382 libsoup22_LIBS!$libsoup22_LIBS$ac_delim
6383 libgtkhtml3_14_CFLAGS!$libgtkhtml3_14_CFLAGS$ac_delim
6384 libgtkhtml3_14_LIBS!$libgtkhtml3_14_LIBS$ac_delim
6385 libgtkhtml3_8_CFLAGS!$libgtkhtml3_8_CFLAGS$ac_delim
6386 libgtkhtml3_8_LIBS!$libgtkhtml3_8_LIBS$ac_delim
6387 hildon_CFLAGS!$hildon_CFLAGS$ac_delim
6388 hildon_LIBS!$hildon_LIBS$ac_delim
6389 osso_CFLAGS!$osso_CFLAGS$ac_delim
6390 osso_LIBS!$osso_LIBS$ac_delim
6391 hildon_fm_2_CFLAGS!$hildon_fm_2_CFLAGS$ac_delim
6392 hildon_fm_2_LIBS!$hildon_fm_2_LIBS$ac_delim
6393 sqlite3_CFLAGS!$sqlite3_CFLAGS$ac_delim
6394 sqlite3_LIBS!$sqlite3_LIBS$ac_delim
6395 hildon_help_CFLAGS!$hildon_help_CFLAGS$ac_delim
6396 hildon_help_LIBS!$hildon_help_LIBS$ac_delim
6397 gpsbt_CFLAGS!$gpsbt_CFLAGS$ac_delim
6398 gpsbt_LIBS!$gpsbt_LIBS$ac_delim
6399 liblocation_CFLAGS!$liblocation_CFLAGS$ac_delim
6400 liblocation_LIBS!$liblocation_LIBS$ac_delim
6401 MAEMO_VERSION_MAJOR!$MAEMO_VERSION_MAJOR$ac_delim
6402 CPP!$CPP$ac_delim
6403 GREP!$GREP$ac_delim
6404 EGREP!$EGREP$ac_delim
6405 gtk_CFLAGS!$gtk_CFLAGS$ac_delim
6406 gtk_LIBS!$gtk_LIBS$ac_delim
6407 gnome2_CFLAGS!$gnome2_CFLAGS$ac_delim
6408 gnome2_LIBS!$gnome2_LIBS$ac_delim
6409 gps_CFLAGS!$gps_CFLAGS$ac_delim
6410 gps_LIBS!$gps_LIBS$ac_delim
6411 EXTRA_OBJS!$EXTRA_OBJS$ac_delim
6412 ICON!$ICON$ac_delim
6413 INSTALL_PLATTFORM!$INSTALL_PLATTFORM$ac_delim
6414 LIBOBJS!$LIBOBJS$ac_delim
6415 LTLIBOBJS!$LTLIBOBJS$ac_delim
6416 _ACEOF
6417
6418 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 94; then
6419 break
6420 elif $ac_last_try; then
6421 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6422 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6423 { (exit 1); exit 1; }; }
6424 else
6425 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6426 fi
6427 done
6428
6429 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6430 if test -n "$ac_eof"; then
6431 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6432 ac_eof=`expr $ac_eof + 1`
6433 fi
6434
6435 cat >>$CONFIG_STATUS <<_ACEOF
6436 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6437 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6438 _ACEOF
6439 sed '
6440 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6441 s/^/s,@/; s/!/@,|#_!!_#|/
6442 :n
6443 t n
6444 s/'"$ac_delim"'$/,g/; t
6445 s/$/\\/; p
6446 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6447 ' >>$CONFIG_STATUS <conf$$subs.sed
6448 rm -f conf$$subs.sed
6449 cat >>$CONFIG_STATUS <<_ACEOF
6450 :end
6451 s/|#_!!_#|//g
6452 CEOF$ac_eof
6453 _ACEOF
6454
6455
6456 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6457 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6458 # trailing colons and then remove the whole line if VPATH becomes empty
6459 # (actually we leave an empty line to preserve line numbers).
6460 if test "x$srcdir" = x.; then
6461 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6462 s/:*\$(srcdir):*/:/
6463 s/:*\${srcdir}:*/:/
6464 s/:*@srcdir@:*/:/
6465 s/^\([^=]*=[ ]*\):*/\1/
6466 s/:*$//
6467 s/^[^=]*=[ ]*$//
6468 }'
6469 fi
6470
6471 cat >>$CONFIG_STATUS <<\_ACEOF
6472 fi # test -n "$CONFIG_FILES"
6473
6474
6475 for ac_tag in :F $CONFIG_FILES
6476 do
6477 case $ac_tag in
6478 :[FHLC]) ac_mode=$ac_tag; continue;;
6479 esac
6480 case $ac_mode$ac_tag in
6481 :[FHL]*:*);;
6482 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6483 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6484 { (exit 1); exit 1; }; };;
6485 :[FH]-) ac_tag=-:-;;
6486 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6487 esac
6488 ac_save_IFS=$IFS
6489 IFS=:
6490 set x $ac_tag
6491 IFS=$ac_save_IFS
6492 shift
6493 ac_file=$1
6494 shift
6495
6496 case $ac_mode in
6497 :L) ac_source=$1;;
6498 :[FH])
6499 ac_file_inputs=
6500 for ac_f
6501 do
6502 case $ac_f in
6503 -) ac_f="$tmp/stdin";;
6504 *) # Look for the file first in the build tree, then in the source tree
6505 # (if the path is not absolute). The absolute path cannot be DOS-style,
6506 # because $ac_f cannot contain `:'.
6507 test -f "$ac_f" ||
6508 case $ac_f in
6509 [\\/$]*) false;;
6510 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6511 esac ||
6512 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6513 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6514 { (exit 1); exit 1; }; };;
6515 esac
6516 ac_file_inputs="$ac_file_inputs $ac_f"
6517 done
6518
6519 # Let's still pretend it is `configure' which instantiates (i.e., don't
6520 # use $as_me), people would be surprised to read:
6521 # /* config.h. Generated by config.status. */
6522 configure_input="Generated from "`IFS=:
6523 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6524 if test x"$ac_file" != x-; then
6525 configure_input="$ac_file. $configure_input"
6526 { echo "$as_me:$LINENO: creating $ac_file" >&5
6527 echo "$as_me: creating $ac_file" >&6;}
6528 fi
6529
6530 case $ac_tag in
6531 *:-:* | *:-) cat >"$tmp/stdin";;
6532 esac
6533 ;;
6534 esac
6535
6536 ac_dir=`$as_dirname -- "$ac_file" ||
6537 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6538 X"$ac_file" : 'X\(//\)[^/]' \| \
6539 X"$ac_file" : 'X\(//\)$' \| \
6540 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6541 echo X"$ac_file" |
6542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6543 s//\1/
6544 q
6545 }
6546 /^X\(\/\/\)[^/].*/{
6547 s//\1/
6548 q
6549 }
6550 /^X\(\/\/\)$/{
6551 s//\1/
6552 q
6553 }
6554 /^X\(\/\).*/{
6555 s//\1/
6556 q
6557 }
6558 s/.*/./; q'`
6559 { as_dir="$ac_dir"
6560 case $as_dir in #(
6561 -*) as_dir=./$as_dir;;
6562 esac
6563 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6564 as_dirs=
6565 while :; do
6566 case $as_dir in #(
6567 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6568 *) as_qdir=$as_dir;;
6569 esac
6570 as_dirs="'$as_qdir' $as_dirs"
6571 as_dir=`$as_dirname -- "$as_dir" ||
6572 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6573 X"$as_dir" : 'X\(//\)[^/]' \| \
6574 X"$as_dir" : 'X\(//\)$' \| \
6575 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6576 echo X"$as_dir" |
6577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6578 s//\1/
6579 q
6580 }
6581 /^X\(\/\/\)[^/].*/{
6582 s//\1/
6583 q
6584 }
6585 /^X\(\/\/\)$/{
6586 s//\1/
6587 q
6588 }
6589 /^X\(\/\).*/{
6590 s//\1/
6591 q
6592 }
6593 s/.*/./; q'`
6594 test -d "$as_dir" && break
6595 done
6596 test -z "$as_dirs" || eval "mkdir $as_dirs"
6597 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6598 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6599 { (exit 1); exit 1; }; }; }
6600 ac_builddir=.
6601
6602 case "$ac_dir" in
6603 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6604 *)
6605 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6606 # A ".." for each directory in $ac_dir_suffix.
6607 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6608 case $ac_top_builddir_sub in
6609 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6610 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6611 esac ;;
6612 esac
6613 ac_abs_top_builddir=$ac_pwd
6614 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6615 # for backward compatibility:
6616 ac_top_builddir=$ac_top_build_prefix
6617
6618 case $srcdir in
6619 .) # We are building in place.
6620 ac_srcdir=.
6621 ac_top_srcdir=$ac_top_builddir_sub
6622 ac_abs_top_srcdir=$ac_pwd ;;
6623 [\\/]* | ?:[\\/]* ) # Absolute name.
6624 ac_srcdir=$srcdir$ac_dir_suffix;
6625 ac_top_srcdir=$srcdir
6626 ac_abs_top_srcdir=$srcdir ;;
6627 *) # Relative name.
6628 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6629 ac_top_srcdir=$ac_top_build_prefix$srcdir
6630 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6631 esac
6632 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6633
6634
6635 case $ac_mode in
6636 :F)
6637 #
6638 # CONFIG_FILE
6639 #
6640
6641 case $INSTALL in
6642 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6643 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6644 esac
6645 _ACEOF
6646
6647 cat >>$CONFIG_STATUS <<\_ACEOF
6648 # If the template does not know about datarootdir, expand it.
6649 # FIXME: This hack should be removed a few years after 2.60.
6650 ac_datarootdir_hack=; ac_datarootdir_seen=
6651
6652 case `sed -n '/datarootdir/ {
6653 p
6654 q
6655 }
6656 /@datadir@/p
6657 /@docdir@/p
6658 /@infodir@/p
6659 /@localedir@/p
6660 /@mandir@/p
6661 ' $ac_file_inputs` in
6662 *datarootdir*) ac_datarootdir_seen=yes;;
6663 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6664 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6665 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6666 _ACEOF
6667 cat >>$CONFIG_STATUS <<_ACEOF
6668 ac_datarootdir_hack='
6669 s&@datadir@&$datadir&g
6670 s&@docdir@&$docdir&g
6671 s&@infodir@&$infodir&g
6672 s&@localedir@&$localedir&g
6673 s&@mandir@&$mandir&g
6674 s&\\\${datarootdir}&$datarootdir&g' ;;
6675 esac
6676 _ACEOF
6677
6678 # Neutralize VPATH when `$srcdir' = `.'.
6679 # Shell code in configure.ac might set extrasub.
6680 # FIXME: do we really want to maintain this feature?
6681 cat >>$CONFIG_STATUS <<_ACEOF
6682 sed "$ac_vpsub
6683 $extrasub
6684 _ACEOF
6685 cat >>$CONFIG_STATUS <<\_ACEOF
6686 :t
6687 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6688 s&@configure_input@&$configure_input&;t t
6689 s&@top_builddir@&$ac_top_builddir_sub&;t t
6690 s&@srcdir@&$ac_srcdir&;t t
6691 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6692 s&@top_srcdir@&$ac_top_srcdir&;t t
6693 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6694 s&@builddir@&$ac_builddir&;t t
6695 s&@abs_builddir@&$ac_abs_builddir&;t t
6696 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6697 s&@INSTALL@&$ac_INSTALL&;t t
6698 $ac_datarootdir_hack
6699 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6700
6701 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6702 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6703 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6704 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6705 which seems to be undefined. Please make sure it is defined." >&5
6706 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6707 which seems to be undefined. Please make sure it is defined." >&2;}
6708
6709 rm -f "$tmp/stdin"
6710 case $ac_file in
6711 -) cat "$tmp/out"; rm -f "$tmp/out";;
6712 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6713 esac
6714 ;;
6715
6716
6717
6718 esac
6719
6720 done # for ac_tag
6721
6722
6723 { (exit 0); exit 0; }
6724 _ACEOF
6725 chmod +x $CONFIG_STATUS
6726 ac_clean_files=$ac_clean_files_save
6727
6728
6729 # configure is writing to config.log, and then calls config.status.
6730 # config.status does its own redirection, appending to config.log.
6731 # Unfortunately, on DOS this fails, as config.log is still kept open
6732 # by configure, so config.status won't be able to write to it; its
6733 # output is simply discarded. So we exec the FD to /dev/null,
6734 # effectively closing config.log, so it can be properly (re)opened and
6735 # appended to by config.status. When coming back to configure, we
6736 # need to make the FD available again.
6737 if test "$no_create" != yes; then
6738 ac_cs_success=:
6739 ac_config_status_args=
6740 test "$silent" = yes &&
6741 ac_config_status_args="$ac_config_status_args --quiet"
6742 exec 5>/dev/null
6743 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6744 exec 5>>config.log
6745 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6746 # would make configure fail if this is the last instruction.
6747 $ac_cs_success || { (exit 1); exit 1; }
6748 fi
6749

Properties

Name Value
svn:executable