Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 47 - (show annotations)
Thu Aug 6 20:23:12 2009 UTC (14 years, 8 months ago) by harbaum
File size: 160773 byte(s)
Bearing fix and demo.gpx extended, version to 0.8.1
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for GPXView 0.8.1.
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.8.1'
578 PACKAGE_STRING='GPXView 0.8.1'
579 PACKAGE_BUGREPORT='till@harbaum.org'
580
581 ac_unique_file="src/main.c"
582 ac_subst_vars='SHELL
583 PATH_SEPARATOR
584 PACKAGE_NAME
585 PACKAGE_TARNAME
586 PACKAGE_VERSION
587 PACKAGE_STRING
588 PACKAGE_BUGREPORT
589 exec_prefix
590 prefix
591 program_transform_name
592 bindir
593 sbindir
594 libexecdir
595 datarootdir
596 datadir
597 sysconfdir
598 sharedstatedir
599 localstatedir
600 includedir
601 oldincludedir
602 docdir
603 infodir
604 htmldir
605 dvidir
606 pdfdir
607 psdir
608 libdir
609 localedir
610 mandir
611 DEFS
612 ECHO_C
613 ECHO_N
614 ECHO_T
615 LIBS
616 build_alias
617 host_alias
618 target_alias
619 PACKAGE
620 CC
621 CFLAGS
622 LDFLAGS
623 CPPFLAGS
624 ac_ct_CC
625 EXEEXT
626 OBJEXT
627 INSTALL_PROGRAM
628 INSTALL_SCRIPT
629 INSTALL_DATA
630 LN_S
631 SET_MAKE
632 PKG_CONFIG
633 gnome_vfs_module_CFLAGS
634 gnome_vfs_module_LIBS
635 libxml2_CFLAGS
636 libxml2_LIBS
637 libsoup24_CFLAGS
638 libsoup24_LIBS
639 libsoup22_CFLAGS
640 libsoup22_LIBS
641 libgtkhtml3_14_CFLAGS
642 libgtkhtml3_14_LIBS
643 libgtkhtml3_8_CFLAGS
644 libgtkhtml3_8_LIBS
645 hildon_CFLAGS
646 hildon_LIBS
647 osso_CFLAGS
648 osso_LIBS
649 hildon_fm_2_CFLAGS
650 hildon_fm_2_LIBS
651 sqlite3_CFLAGS
652 sqlite3_LIBS
653 hildon_help_CFLAGS
654 hildon_help_LIBS
655 gpsbt_CFLAGS
656 gpsbt_LIBS
657 liblocation_CFLAGS
658 liblocation_LIBS
659 gtk_CFLAGS
660 gtk_LIBS
661 gnome2_CFLAGS
662 gnome2_LIBS
663 EXTRA_OBJS
664 INSTALL_PLATTFORM
665 LIBOBJS
666 LTLIBOBJS'
667 ac_subst_files=''
668 ac_precious_vars='build_alias
669 host_alias
670 target_alias
671 CC
672 CFLAGS
673 LDFLAGS
674 LIBS
675 CPPFLAGS
676 PKG_CONFIG
677 gnome_vfs_module_CFLAGS
678 gnome_vfs_module_LIBS
679 libxml2_CFLAGS
680 libxml2_LIBS
681 libsoup24_CFLAGS
682 libsoup24_LIBS
683 libsoup22_CFLAGS
684 libsoup22_LIBS
685 libgtkhtml3_14_CFLAGS
686 libgtkhtml3_14_LIBS
687 libgtkhtml3_8_CFLAGS
688 libgtkhtml3_8_LIBS
689 hildon_CFLAGS
690 hildon_LIBS
691 osso_CFLAGS
692 osso_LIBS
693 hildon_fm_2_CFLAGS
694 hildon_fm_2_LIBS
695 sqlite3_CFLAGS
696 sqlite3_LIBS
697 hildon_help_CFLAGS
698 hildon_help_LIBS
699 gpsbt_CFLAGS
700 gpsbt_LIBS
701 liblocation_CFLAGS
702 liblocation_LIBS
703 gtk_CFLAGS
704 gtk_LIBS
705 gnome2_CFLAGS
706 gnome2_LIBS'
707
708
709 # Initialize some variables set by options.
710 ac_init_help=
711 ac_init_version=false
712 # The variables have the same names as the options, with
713 # dashes changed to underlines.
714 cache_file=/dev/null
715 exec_prefix=NONE
716 no_create=
717 no_recursion=
718 prefix=NONE
719 program_prefix=NONE
720 program_suffix=NONE
721 program_transform_name=s,x,x,
722 silent=
723 site=
724 srcdir=
725 verbose=
726 x_includes=NONE
727 x_libraries=NONE
728
729 # Installation directory options.
730 # These are left unexpanded so users can "make install exec_prefix=/foo"
731 # and all the variables that are supposed to be based on exec_prefix
732 # by default will actually change.
733 # Use braces instead of parens because sh, perl, etc. also accept them.
734 # (The list follows the same order as the GNU Coding Standards.)
735 bindir='${exec_prefix}/bin'
736 sbindir='${exec_prefix}/sbin'
737 libexecdir='${exec_prefix}/libexec'
738 datarootdir='${prefix}/share'
739 datadir='${datarootdir}'
740 sysconfdir='${prefix}/etc'
741 sharedstatedir='${prefix}/com'
742 localstatedir='${prefix}/var'
743 includedir='${prefix}/include'
744 oldincludedir='/usr/include'
745 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
746 infodir='${datarootdir}/info'
747 htmldir='${docdir}'
748 dvidir='${docdir}'
749 pdfdir='${docdir}'
750 psdir='${docdir}'
751 libdir='${exec_prefix}/lib'
752 localedir='${datarootdir}/locale'
753 mandir='${datarootdir}/man'
754
755 ac_prev=
756 ac_dashdash=
757 for ac_option
758 do
759 # If the previous option needs an argument, assign it.
760 if test -n "$ac_prev"; then
761 eval $ac_prev=\$ac_option
762 ac_prev=
763 continue
764 fi
765
766 case $ac_option in
767 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
768 *) ac_optarg=yes ;;
769 esac
770
771 # Accept the important Cygnus configure options, so we can diagnose typos.
772
773 case $ac_dashdash$ac_option in
774 --)
775 ac_dashdash=yes ;;
776
777 -bindir | --bindir | --bindi | --bind | --bin | --bi)
778 ac_prev=bindir ;;
779 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
780 bindir=$ac_optarg ;;
781
782 -build | --build | --buil | --bui | --bu)
783 ac_prev=build_alias ;;
784 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
785 build_alias=$ac_optarg ;;
786
787 -cache-file | --cache-file | --cache-fil | --cache-fi \
788 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
789 ac_prev=cache_file ;;
790 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
791 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
792 cache_file=$ac_optarg ;;
793
794 --config-cache | -C)
795 cache_file=config.cache ;;
796
797 -datadir | --datadir | --datadi | --datad)
798 ac_prev=datadir ;;
799 -datadir=* | --datadir=* | --datadi=* | --datad=*)
800 datadir=$ac_optarg ;;
801
802 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
803 | --dataroo | --dataro | --datar)
804 ac_prev=datarootdir ;;
805 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
806 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
807 datarootdir=$ac_optarg ;;
808
809 -disable-* | --disable-*)
810 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
811 # Reject names that are not valid shell variable names.
812 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
813 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
814 { (exit 1); exit 1; }; }
815 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
816 eval enable_$ac_feature=no ;;
817
818 -docdir | --docdir | --docdi | --doc | --do)
819 ac_prev=docdir ;;
820 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
821 docdir=$ac_optarg ;;
822
823 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
824 ac_prev=dvidir ;;
825 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
826 dvidir=$ac_optarg ;;
827
828 -enable-* | --enable-*)
829 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
832 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
833 { (exit 1); exit 1; }; }
834 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
835 eval enable_$ac_feature=\$ac_optarg ;;
836
837 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
838 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
839 | --exec | --exe | --ex)
840 ac_prev=exec_prefix ;;
841 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
842 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
843 | --exec=* | --exe=* | --ex=*)
844 exec_prefix=$ac_optarg ;;
845
846 -gas | --gas | --ga | --g)
847 # Obsolete; use --with-gas.
848 with_gas=yes ;;
849
850 -help | --help | --hel | --he | -h)
851 ac_init_help=long ;;
852 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
853 ac_init_help=recursive ;;
854 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
855 ac_init_help=short ;;
856
857 -host | --host | --hos | --ho)
858 ac_prev=host_alias ;;
859 -host=* | --host=* | --hos=* | --ho=*)
860 host_alias=$ac_optarg ;;
861
862 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
863 ac_prev=htmldir ;;
864 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
865 | --ht=*)
866 htmldir=$ac_optarg ;;
867
868 -includedir | --includedir | --includedi | --included | --include \
869 | --includ | --inclu | --incl | --inc)
870 ac_prev=includedir ;;
871 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
872 | --includ=* | --inclu=* | --incl=* | --inc=*)
873 includedir=$ac_optarg ;;
874
875 -infodir | --infodir | --infodi | --infod | --info | --inf)
876 ac_prev=infodir ;;
877 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
878 infodir=$ac_optarg ;;
879
880 -libdir | --libdir | --libdi | --libd)
881 ac_prev=libdir ;;
882 -libdir=* | --libdir=* | --libdi=* | --libd=*)
883 libdir=$ac_optarg ;;
884
885 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
886 | --libexe | --libex | --libe)
887 ac_prev=libexecdir ;;
888 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
889 | --libexe=* | --libex=* | --libe=*)
890 libexecdir=$ac_optarg ;;
891
892 -localedir | --localedir | --localedi | --localed | --locale)
893 ac_prev=localedir ;;
894 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
895 localedir=$ac_optarg ;;
896
897 -localstatedir | --localstatedir | --localstatedi | --localstated \
898 | --localstate | --localstat | --localsta | --localst | --locals)
899 ac_prev=localstatedir ;;
900 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
901 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
902 localstatedir=$ac_optarg ;;
903
904 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
905 ac_prev=mandir ;;
906 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
907 mandir=$ac_optarg ;;
908
909 -nfp | --nfp | --nf)
910 # Obsolete; use --without-fp.
911 with_fp=no ;;
912
913 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
914 | --no-cr | --no-c | -n)
915 no_create=yes ;;
916
917 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
918 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
919 no_recursion=yes ;;
920
921 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
922 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
923 | --oldin | --oldi | --old | --ol | --o)
924 ac_prev=oldincludedir ;;
925 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
926 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
927 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
928 oldincludedir=$ac_optarg ;;
929
930 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
931 ac_prev=prefix ;;
932 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
933 prefix=$ac_optarg ;;
934
935 -program-prefix | --program-prefix | --program-prefi | --program-pref \
936 | --program-pre | --program-pr | --program-p)
937 ac_prev=program_prefix ;;
938 -program-prefix=* | --program-prefix=* | --program-prefi=* \
939 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
940 program_prefix=$ac_optarg ;;
941
942 -program-suffix | --program-suffix | --program-suffi | --program-suff \
943 | --program-suf | --program-su | --program-s)
944 ac_prev=program_suffix ;;
945 -program-suffix=* | --program-suffix=* | --program-suffi=* \
946 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
947 program_suffix=$ac_optarg ;;
948
949 -program-transform-name | --program-transform-name \
950 | --program-transform-nam | --program-transform-na \
951 | --program-transform-n | --program-transform- \
952 | --program-transform | --program-transfor \
953 | --program-transfo | --program-transf \
954 | --program-trans | --program-tran \
955 | --progr-tra | --program-tr | --program-t)
956 ac_prev=program_transform_name ;;
957 -program-transform-name=* | --program-transform-name=* \
958 | --program-transform-nam=* | --program-transform-na=* \
959 | --program-transform-n=* | --program-transform-=* \
960 | --program-transform=* | --program-transfor=* \
961 | --program-transfo=* | --program-transf=* \
962 | --program-trans=* | --program-tran=* \
963 | --progr-tra=* | --program-tr=* | --program-t=*)
964 program_transform_name=$ac_optarg ;;
965
966 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
967 ac_prev=pdfdir ;;
968 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
969 pdfdir=$ac_optarg ;;
970
971 -psdir | --psdir | --psdi | --psd | --ps)
972 ac_prev=psdir ;;
973 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
974 psdir=$ac_optarg ;;
975
976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
977 | -silent | --silent | --silen | --sile | --sil)
978 silent=yes ;;
979
980 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
981 ac_prev=sbindir ;;
982 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
983 | --sbi=* | --sb=*)
984 sbindir=$ac_optarg ;;
985
986 -sharedstatedir | --sharedstatedir | --sharedstatedi \
987 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
988 | --sharedst | --shareds | --shared | --share | --shar \
989 | --sha | --sh)
990 ac_prev=sharedstatedir ;;
991 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
992 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
993 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
994 | --sha=* | --sh=*)
995 sharedstatedir=$ac_optarg ;;
996
997 -site | --site | --sit)
998 ac_prev=site ;;
999 -site=* | --site=* | --sit=*)
1000 site=$ac_optarg ;;
1001
1002 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1003 ac_prev=srcdir ;;
1004 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1005 srcdir=$ac_optarg ;;
1006
1007 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1008 | --syscon | --sysco | --sysc | --sys | --sy)
1009 ac_prev=sysconfdir ;;
1010 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1011 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1012 sysconfdir=$ac_optarg ;;
1013
1014 -target | --target | --targe | --targ | --tar | --ta | --t)
1015 ac_prev=target_alias ;;
1016 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1017 target_alias=$ac_optarg ;;
1018
1019 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1020 verbose=yes ;;
1021
1022 -version | --version | --versio | --versi | --vers | -V)
1023 ac_init_version=: ;;
1024
1025 -with-* | --with-*)
1026 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1029 { echo "$as_me: error: invalid package name: $ac_package" >&2
1030 { (exit 1); exit 1; }; }
1031 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1032 eval with_$ac_package=\$ac_optarg ;;
1033
1034 -without-* | --without-*)
1035 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1038 { echo "$as_me: error: invalid package name: $ac_package" >&2
1039 { (exit 1); exit 1; }; }
1040 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1041 eval with_$ac_package=no ;;
1042
1043 --x)
1044 # Obsolete; use --with-x.
1045 with_x=yes ;;
1046
1047 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1048 | --x-incl | --x-inc | --x-in | --x-i)
1049 ac_prev=x_includes ;;
1050 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1051 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1052 x_includes=$ac_optarg ;;
1053
1054 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1055 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1056 ac_prev=x_libraries ;;
1057 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1058 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1059 x_libraries=$ac_optarg ;;
1060
1061 -*) { echo "$as_me: error: unrecognized option: $ac_option
1062 Try \`$0 --help' for more information." >&2
1063 { (exit 1); exit 1; }; }
1064 ;;
1065
1066 *=*)
1067 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1068 # Reject names that are not valid shell variable names.
1069 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1070 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1071 { (exit 1); exit 1; }; }
1072 eval $ac_envvar=\$ac_optarg
1073 export $ac_envvar ;;
1074
1075 *)
1076 # FIXME: should be removed in autoconf 3.0.
1077 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1078 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1079 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1080 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1081 ;;
1082
1083 esac
1084 done
1085
1086 if test -n "$ac_prev"; then
1087 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1088 { echo "$as_me: error: missing argument to $ac_option" >&2
1089 { (exit 1); exit 1; }; }
1090 fi
1091
1092 # Be sure to have absolute directory names.
1093 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1094 datadir sysconfdir sharedstatedir localstatedir includedir \
1095 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1096 libdir localedir mandir
1097 do
1098 eval ac_val=\$$ac_var
1099 case $ac_val in
1100 [\\/$]* | ?:[\\/]* ) continue;;
1101 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1102 esac
1103 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1104 { (exit 1); exit 1; }; }
1105 done
1106
1107 # There might be people who depend on the old broken behavior: `$host'
1108 # used to hold the argument of --host etc.
1109 # FIXME: To remove some day.
1110 build=$build_alias
1111 host=$host_alias
1112 target=$target_alias
1113
1114 # FIXME: To remove some day.
1115 if test "x$host_alias" != x; then
1116 if test "x$build_alias" = x; then
1117 cross_compiling=maybe
1118 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1119 If a cross compiler is detected then cross compile mode will be used." >&2
1120 elif test "x$build_alias" != "x$host_alias"; then
1121 cross_compiling=yes
1122 fi
1123 fi
1124
1125 ac_tool_prefix=
1126 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1127
1128 test "$silent" = yes && exec 6>/dev/null
1129
1130
1131 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1132 ac_ls_di=`ls -di .` &&
1133 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1134 { echo "$as_me: error: Working directory cannot be determined" >&2
1135 { (exit 1); exit 1; }; }
1136 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1137 { echo "$as_me: error: pwd does not report name of working directory" >&2
1138 { (exit 1); exit 1; }; }
1139
1140
1141 # Find the source files, if location was not specified.
1142 if test -z "$srcdir"; then
1143 ac_srcdir_defaulted=yes
1144 # Try the directory containing this script, then the parent directory.
1145 ac_confdir=`$as_dirname -- "$0" ||
1146 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1147 X"$0" : 'X\(//\)[^/]' \| \
1148 X"$0" : 'X\(//\)$' \| \
1149 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1150 echo X"$0" |
1151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1152 s//\1/
1153 q
1154 }
1155 /^X\(\/\/\)[^/].*/{
1156 s//\1/
1157 q
1158 }
1159 /^X\(\/\/\)$/{
1160 s//\1/
1161 q
1162 }
1163 /^X\(\/\).*/{
1164 s//\1/
1165 q
1166 }
1167 s/.*/./; q'`
1168 srcdir=$ac_confdir
1169 if test ! -r "$srcdir/$ac_unique_file"; then
1170 srcdir=..
1171 fi
1172 else
1173 ac_srcdir_defaulted=no
1174 fi
1175 if test ! -r "$srcdir/$ac_unique_file"; then
1176 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1177 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1178 { (exit 1); exit 1; }; }
1179 fi
1180 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1181 ac_abs_confdir=`(
1182 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1183 { (exit 1); exit 1; }; }
1184 pwd)`
1185 # When building in place, set srcdir=.
1186 if test "$ac_abs_confdir" = "$ac_pwd"; then
1187 srcdir=.
1188 fi
1189 # Remove unnecessary trailing slashes from srcdir.
1190 # Double slashes in file names in object file debugging info
1191 # mess up M-x gdb in Emacs.
1192 case $srcdir in
1193 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1194 esac
1195 for ac_var in $ac_precious_vars; do
1196 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1197 eval ac_env_${ac_var}_value=\$${ac_var}
1198 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1199 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1200 done
1201
1202 #
1203 # Report the --help message.
1204 #
1205 if test "$ac_init_help" = "long"; then
1206 # Omit some internal or obsolete options to make the list less imposing.
1207 # This message is too long to be a string in the A/UX 3.1 sh.
1208 cat <<_ACEOF
1209 \`configure' configures GPXView 0.8.1 to adapt to many kinds of systems.
1210
1211 Usage: $0 [OPTION]... [VAR=VALUE]...
1212
1213 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1214 VAR=VALUE. See below for descriptions of some of the useful variables.
1215
1216 Defaults for the options are specified in brackets.
1217
1218 Configuration:
1219 -h, --help display this help and exit
1220 --help=short display options specific to this package
1221 --help=recursive display the short help of all the included packages
1222 -V, --version display version information and exit
1223 -q, --quiet, --silent do not print \`checking...' messages
1224 --cache-file=FILE cache test results in FILE [disabled]
1225 -C, --config-cache alias for \`--cache-file=config.cache'
1226 -n, --no-create do not create output files
1227 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1228
1229 Installation directories:
1230 --prefix=PREFIX install architecture-independent files in PREFIX
1231 [$ac_default_prefix]
1232 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1233 [PREFIX]
1234
1235 By default, \`make install' will install all the files in
1236 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1237 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1238 for instance \`--prefix=\$HOME'.
1239
1240 For better control, use the options below.
1241
1242 Fine tuning of the installation directories:
1243 --bindir=DIR user executables [EPREFIX/bin]
1244 --sbindir=DIR system admin executables [EPREFIX/sbin]
1245 --libexecdir=DIR program executables [EPREFIX/libexec]
1246 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1247 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1248 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1249 --libdir=DIR object code libraries [EPREFIX/lib]
1250 --includedir=DIR C header files [PREFIX/include]
1251 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1252 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1253 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1254 --infodir=DIR info documentation [DATAROOTDIR/info]
1255 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1256 --mandir=DIR man documentation [DATAROOTDIR/man]
1257 --docdir=DIR documentation root [DATAROOTDIR/doc/gpxview]
1258 --htmldir=DIR html documentation [DOCDIR]
1259 --dvidir=DIR dvi documentation [DOCDIR]
1260 --pdfdir=DIR pdf documentation [DOCDIR]
1261 --psdir=DIR ps documentation [DOCDIR]
1262 _ACEOF
1263
1264 cat <<\_ACEOF
1265 _ACEOF
1266 fi
1267
1268 if test -n "$ac_init_help"; then
1269 case $ac_init_help in
1270 short | recursive ) echo "Configuration of GPXView 0.8.1:";;
1271 esac
1272 cat <<\_ACEOF
1273
1274 Some influential environment variables:
1275 CC C compiler command
1276 CFLAGS C compiler flags
1277 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1278 nonstandard directory <lib dir>
1279 LIBS libraries to pass to the linker, e.g. -l<library>
1280 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1281 you have headers in a nonstandard directory <include dir>
1282 PKG_CONFIG path to pkg-config utility
1283 gnome_vfs_module_CFLAGS
1284 C compiler flags for gnome_vfs_module, overriding pkg-config
1285 gnome_vfs_module_LIBS
1286 linker flags for gnome_vfs_module, overriding pkg-config
1287 libxml2_CFLAGS
1288 C compiler flags for libxml2, overriding pkg-config
1289 libxml2_LIBS
1290 linker flags for libxml2, overriding pkg-config
1291 libsoup24_CFLAGS
1292 C compiler flags for libsoup24, overriding pkg-config
1293 libsoup24_LIBS
1294 linker flags for libsoup24, overriding pkg-config
1295 libsoup22_CFLAGS
1296 C compiler flags for libsoup22, overriding pkg-config
1297 libsoup22_LIBS
1298 linker flags for libsoup22, overriding pkg-config
1299 libgtkhtml3_14_CFLAGS
1300 C compiler flags for libgtkhtml3_14, overriding pkg-config
1301 libgtkhtml3_14_LIBS
1302 linker flags for libgtkhtml3_14, overriding pkg-config
1303 libgtkhtml3_8_CFLAGS
1304 C compiler flags for libgtkhtml3_8, overriding pkg-config
1305 libgtkhtml3_8_LIBS
1306 linker flags for libgtkhtml3_8, overriding pkg-config
1307 hildon_CFLAGS
1308 C compiler flags for hildon, overriding pkg-config
1309 hildon_LIBS linker flags for hildon, overriding pkg-config
1310 osso_CFLAGS C compiler flags for osso, overriding pkg-config
1311 osso_LIBS linker flags for osso, overriding pkg-config
1312 hildon_fm_2_CFLAGS
1313 C compiler flags for hildon_fm_2, overriding pkg-config
1314 hildon_fm_2_LIBS
1315 linker flags for hildon_fm_2, overriding pkg-config
1316 sqlite3_CFLAGS
1317 C compiler flags for sqlite3, overriding pkg-config
1318 sqlite3_LIBS
1319 linker flags for sqlite3, overriding pkg-config
1320 hildon_help_CFLAGS
1321 C compiler flags for hildon_help, overriding pkg-config
1322 hildon_help_LIBS
1323 linker flags for hildon_help, overriding pkg-config
1324 gpsbt_CFLAGS
1325 C compiler flags for gpsbt, overriding pkg-config
1326 gpsbt_LIBS linker flags for gpsbt, overriding pkg-config
1327 liblocation_CFLAGS
1328 C compiler flags for liblocation, overriding pkg-config
1329 liblocation_LIBS
1330 linker flags for liblocation, overriding pkg-config
1331 gtk_CFLAGS C compiler flags for gtk, overriding pkg-config
1332 gtk_LIBS linker flags for gtk, overriding pkg-config
1333 gnome2_CFLAGS
1334 C compiler flags for gnome2, overriding pkg-config
1335 gnome2_LIBS linker flags for gnome2, overriding pkg-config
1336
1337 Use these variables to override the choices made by `configure' or to help
1338 it to find libraries and programs with nonstandard names/locations.
1339
1340 Report bugs to <till@harbaum.org>.
1341 _ACEOF
1342 ac_status=$?
1343 fi
1344
1345 if test "$ac_init_help" = "recursive"; then
1346 # If there are subdirs, report their specific --help.
1347 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1348 test -d "$ac_dir" || continue
1349 ac_builddir=.
1350
1351 case "$ac_dir" in
1352 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1353 *)
1354 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1355 # A ".." for each directory in $ac_dir_suffix.
1356 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1357 case $ac_top_builddir_sub in
1358 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1360 esac ;;
1361 esac
1362 ac_abs_top_builddir=$ac_pwd
1363 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1364 # for backward compatibility:
1365 ac_top_builddir=$ac_top_build_prefix
1366
1367 case $srcdir in
1368 .) # We are building in place.
1369 ac_srcdir=.
1370 ac_top_srcdir=$ac_top_builddir_sub
1371 ac_abs_top_srcdir=$ac_pwd ;;
1372 [\\/]* | ?:[\\/]* ) # Absolute name.
1373 ac_srcdir=$srcdir$ac_dir_suffix;
1374 ac_top_srcdir=$srcdir
1375 ac_abs_top_srcdir=$srcdir ;;
1376 *) # Relative name.
1377 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1378 ac_top_srcdir=$ac_top_build_prefix$srcdir
1379 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1380 esac
1381 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1382
1383 cd "$ac_dir" || { ac_status=$?; continue; }
1384 # Check for guested configure.
1385 if test -f "$ac_srcdir/configure.gnu"; then
1386 echo &&
1387 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1388 elif test -f "$ac_srcdir/configure"; then
1389 echo &&
1390 $SHELL "$ac_srcdir/configure" --help=recursive
1391 else
1392 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1393 fi || ac_status=$?
1394 cd "$ac_pwd" || { ac_status=$?; break; }
1395 done
1396 fi
1397
1398 test -n "$ac_init_help" && exit $ac_status
1399 if $ac_init_version; then
1400 cat <<\_ACEOF
1401 GPXView configure 0.8.1
1402 generated by GNU Autoconf 2.61
1403
1404 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1405 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1406 This configure script is free software; the Free Software Foundation
1407 gives unlimited permission to copy, distribute and modify it.
1408 _ACEOF
1409 exit
1410 fi
1411 cat >config.log <<_ACEOF
1412 This file contains any messages produced by compilers while
1413 running configure, to aid debugging if configure makes a mistake.
1414
1415 It was created by GPXView $as_me 0.8.1, which was
1416 generated by GNU Autoconf 2.61. Invocation command line was
1417
1418 $ $0 $@
1419
1420 _ACEOF
1421 exec 5>>config.log
1422 {
1423 cat <<_ASUNAME
1424 ## --------- ##
1425 ## Platform. ##
1426 ## --------- ##
1427
1428 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1429 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1430 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1431 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1432 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1433
1434 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1435 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1436
1437 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1438 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1439 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1440 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1441 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1442 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1443 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1444
1445 _ASUNAME
1446
1447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1448 for as_dir in $PATH
1449 do
1450 IFS=$as_save_IFS
1451 test -z "$as_dir" && as_dir=.
1452 echo "PATH: $as_dir"
1453 done
1454 IFS=$as_save_IFS
1455
1456 } >&5
1457
1458 cat >&5 <<_ACEOF
1459
1460
1461 ## ----------- ##
1462 ## Core tests. ##
1463 ## ----------- ##
1464
1465 _ACEOF
1466
1467
1468 # Keep a trace of the command line.
1469 # Strip out --no-create and --no-recursion so they do not pile up.
1470 # Strip out --silent because we don't want to record it for future runs.
1471 # Also quote any args containing shell meta-characters.
1472 # Make two passes to allow for proper duplicate-argument suppression.
1473 ac_configure_args=
1474 ac_configure_args0=
1475 ac_configure_args1=
1476 ac_must_keep_next=false
1477 for ac_pass in 1 2
1478 do
1479 for ac_arg
1480 do
1481 case $ac_arg in
1482 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1483 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1484 | -silent | --silent | --silen | --sile | --sil)
1485 continue ;;
1486 *\'*)
1487 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1488 esac
1489 case $ac_pass in
1490 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1491 2)
1492 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1493 if test $ac_must_keep_next = true; then
1494 ac_must_keep_next=false # Got value, back to normal.
1495 else
1496 case $ac_arg in
1497 *=* | --config-cache | -C | -disable-* | --disable-* \
1498 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1499 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1500 | -with-* | --with-* | -without-* | --without-* | --x)
1501 case "$ac_configure_args0 " in
1502 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1503 esac
1504 ;;
1505 -* ) ac_must_keep_next=true ;;
1506 esac
1507 fi
1508 ac_configure_args="$ac_configure_args '$ac_arg'"
1509 ;;
1510 esac
1511 done
1512 done
1513 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1514 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1515
1516 # When interrupted or exit'd, cleanup temporary files, and complete
1517 # config.log. We remove comments because anyway the quotes in there
1518 # would cause problems or look ugly.
1519 # WARNING: Use '\'' to represent an apostrophe within the trap.
1520 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1521 trap 'exit_status=$?
1522 # Save into config.log some information that might help in debugging.
1523 {
1524 echo
1525
1526 cat <<\_ASBOX
1527 ## ---------------- ##
1528 ## Cache variables. ##
1529 ## ---------------- ##
1530 _ASBOX
1531 echo
1532 # The following way of writing the cache mishandles newlines in values,
1533 (
1534 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1535 eval ac_val=\$$ac_var
1536 case $ac_val in #(
1537 *${as_nl}*)
1538 case $ac_var in #(
1539 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1540 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1541 esac
1542 case $ac_var in #(
1543 _ | IFS | as_nl) ;; #(
1544 *) $as_unset $ac_var ;;
1545 esac ;;
1546 esac
1547 done
1548 (set) 2>&1 |
1549 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1550 *${as_nl}ac_space=\ *)
1551 sed -n \
1552 "s/'\''/'\''\\\\'\'''\''/g;
1553 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1554 ;; #(
1555 *)
1556 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1557 ;;
1558 esac |
1559 sort
1560 )
1561 echo
1562
1563 cat <<\_ASBOX
1564 ## ----------------- ##
1565 ## Output variables. ##
1566 ## ----------------- ##
1567 _ASBOX
1568 echo
1569 for ac_var in $ac_subst_vars
1570 do
1571 eval ac_val=\$$ac_var
1572 case $ac_val in
1573 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1574 esac
1575 echo "$ac_var='\''$ac_val'\''"
1576 done | sort
1577 echo
1578
1579 if test -n "$ac_subst_files"; then
1580 cat <<\_ASBOX
1581 ## ------------------- ##
1582 ## File substitutions. ##
1583 ## ------------------- ##
1584 _ASBOX
1585 echo
1586 for ac_var in $ac_subst_files
1587 do
1588 eval ac_val=\$$ac_var
1589 case $ac_val in
1590 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1591 esac
1592 echo "$ac_var='\''$ac_val'\''"
1593 done | sort
1594 echo
1595 fi
1596
1597 if test -s confdefs.h; then
1598 cat <<\_ASBOX
1599 ## ----------- ##
1600 ## confdefs.h. ##
1601 ## ----------- ##
1602 _ASBOX
1603 echo
1604 cat confdefs.h
1605 echo
1606 fi
1607 test "$ac_signal" != 0 &&
1608 echo "$as_me: caught signal $ac_signal"
1609 echo "$as_me: exit $exit_status"
1610 } >&5
1611 rm -f core *.core core.conftest.* &&
1612 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1613 exit $exit_status
1614 ' 0
1615 for ac_signal in 1 2 13 15; do
1616 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1617 done
1618 ac_signal=0
1619
1620 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1621 rm -f -r conftest* confdefs.h
1622
1623 # Predefined preprocessor variables.
1624
1625 cat >>confdefs.h <<_ACEOF
1626 #define PACKAGE_NAME "$PACKAGE_NAME"
1627 _ACEOF
1628
1629
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1632 _ACEOF
1633
1634
1635 cat >>confdefs.h <<_ACEOF
1636 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1637 _ACEOF
1638
1639
1640 cat >>confdefs.h <<_ACEOF
1641 #define PACKAGE_STRING "$PACKAGE_STRING"
1642 _ACEOF
1643
1644
1645 cat >>confdefs.h <<_ACEOF
1646 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1647 _ACEOF
1648
1649
1650 # Let the site file select an alternate cache file if it wants to.
1651 # Prefer explicitly selected file to automatically selected ones.
1652 if test -n "$CONFIG_SITE"; then
1653 set x "$CONFIG_SITE"
1654 elif test "x$prefix" != xNONE; then
1655 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1656 else
1657 set x "$ac_default_prefix/share/config.site" \
1658 "$ac_default_prefix/etc/config.site"
1659 fi
1660 shift
1661 for ac_site_file
1662 do
1663 if test -r "$ac_site_file"; then
1664 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1665 echo "$as_me: loading site script $ac_site_file" >&6;}
1666 sed 's/^/| /' "$ac_site_file" >&5
1667 . "$ac_site_file"
1668 fi
1669 done
1670
1671 if test -r "$cache_file"; then
1672 # Some versions of bash will fail to source /dev/null (special
1673 # files actually), so we avoid doing that.
1674 if test -f "$cache_file"; then
1675 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1676 echo "$as_me: loading cache $cache_file" >&6;}
1677 case $cache_file in
1678 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1679 *) . "./$cache_file";;
1680 esac
1681 fi
1682 else
1683 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1684 echo "$as_me: creating cache $cache_file" >&6;}
1685 >$cache_file
1686 fi
1687
1688 # Check that the precious variables saved in the cache have kept the same
1689 # value.
1690 ac_cache_corrupted=false
1691 for ac_var in $ac_precious_vars; do
1692 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1693 eval ac_new_set=\$ac_env_${ac_var}_set
1694 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1695 eval ac_new_val=\$ac_env_${ac_var}_value
1696 case $ac_old_set,$ac_new_set in
1697 set,)
1698 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1699 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1700 ac_cache_corrupted=: ;;
1701 ,set)
1702 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1703 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1704 ac_cache_corrupted=: ;;
1705 ,);;
1706 *)
1707 if test "x$ac_old_val" != "x$ac_new_val"; then
1708 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1709 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1710 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1711 echo "$as_me: former value: $ac_old_val" >&2;}
1712 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1713 echo "$as_me: current value: $ac_new_val" >&2;}
1714 ac_cache_corrupted=:
1715 fi;;
1716 esac
1717 # Pass precious variables to config.status.
1718 if test "$ac_new_set" = set; then
1719 case $ac_new_val in
1720 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1721 *) ac_arg=$ac_var=$ac_new_val ;;
1722 esac
1723 case " $ac_configure_args " in
1724 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1725 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1726 esac
1727 fi
1728 done
1729 if $ac_cache_corrupted; then
1730 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1731 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1732 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1733 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1734 { (exit 1); exit 1; }; }
1735 fi
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761 ac_ext=c
1762 ac_cpp='$CPP $CPPFLAGS'
1763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1766
1767
1768
1769 # AC_CONFIG_HEADER([src/config.h])
1770
1771 PACKAGE="gpxview"
1772
1773
1774 # Checks for programs.
1775 ac_ext=c
1776 ac_cpp='$CPP $CPPFLAGS'
1777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1780 if test -n "$ac_tool_prefix"; then
1781 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1782 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1785 if test "${ac_cv_prog_CC+set}" = set; then
1786 echo $ECHO_N "(cached) $ECHO_C" >&6
1787 else
1788 if test -n "$CC"; then
1789 ac_cv_prog_CC="$CC" # Let the user override the test.
1790 else
1791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1792 for as_dir in $PATH
1793 do
1794 IFS=$as_save_IFS
1795 test -z "$as_dir" && as_dir=.
1796 for ac_exec_ext in '' $ac_executable_extensions; do
1797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1798 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1800 break 2
1801 fi
1802 done
1803 done
1804 IFS=$as_save_IFS
1805
1806 fi
1807 fi
1808 CC=$ac_cv_prog_CC
1809 if test -n "$CC"; then
1810 { echo "$as_me:$LINENO: result: $CC" >&5
1811 echo "${ECHO_T}$CC" >&6; }
1812 else
1813 { echo "$as_me:$LINENO: result: no" >&5
1814 echo "${ECHO_T}no" >&6; }
1815 fi
1816
1817
1818 fi
1819 if test -z "$ac_cv_prog_CC"; then
1820 ac_ct_CC=$CC
1821 # Extract the first word of "gcc", so it can be a program name with args.
1822 set dummy gcc; ac_word=$2
1823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1825 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1826 echo $ECHO_N "(cached) $ECHO_C" >&6
1827 else
1828 if test -n "$ac_ct_CC"; then
1829 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1830 else
1831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1832 for as_dir in $PATH
1833 do
1834 IFS=$as_save_IFS
1835 test -z "$as_dir" && as_dir=.
1836 for ac_exec_ext in '' $ac_executable_extensions; do
1837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1838 ac_cv_prog_ac_ct_CC="gcc"
1839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1840 break 2
1841 fi
1842 done
1843 done
1844 IFS=$as_save_IFS
1845
1846 fi
1847 fi
1848 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1849 if test -n "$ac_ct_CC"; then
1850 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1851 echo "${ECHO_T}$ac_ct_CC" >&6; }
1852 else
1853 { echo "$as_me:$LINENO: result: no" >&5
1854 echo "${ECHO_T}no" >&6; }
1855 fi
1856
1857 if test "x$ac_ct_CC" = x; then
1858 CC=""
1859 else
1860 case $cross_compiling:$ac_tool_warned in
1861 yes:)
1862 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1863 whose name does not start with the host triplet. If you think this
1864 configuration is useful to you, please write to autoconf@gnu.org." >&5
1865 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1866 whose name does not start with the host triplet. If you think this
1867 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1868 ac_tool_warned=yes ;;
1869 esac
1870 CC=$ac_ct_CC
1871 fi
1872 else
1873 CC="$ac_cv_prog_CC"
1874 fi
1875
1876 if test -z "$CC"; then
1877 if test -n "$ac_tool_prefix"; then
1878 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1879 set dummy ${ac_tool_prefix}cc; 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_CC+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1884 else
1885 if test -n "$CC"; then
1886 ac_cv_prog_CC="$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_CC="${ac_tool_prefix}cc"
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 CC=$ac_cv_prog_CC
1906 if test -n "$CC"; then
1907 { echo "$as_me:$LINENO: result: $CC" >&5
1908 echo "${ECHO_T}$CC" >&6; }
1909 else
1910 { echo "$as_me:$LINENO: result: no" >&5
1911 echo "${ECHO_T}no" >&6; }
1912 fi
1913
1914
1915 fi
1916 fi
1917 if test -z "$CC"; then
1918 # Extract the first word of "cc", so it can be a program name with args.
1919 set dummy cc; ac_word=$2
1920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1922 if test "${ac_cv_prog_CC+set}" = set; then
1923 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 else
1925 if test -n "$CC"; then
1926 ac_cv_prog_CC="$CC" # Let the user override the test.
1927 else
1928 ac_prog_rejected=no
1929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1930 for as_dir in $PATH
1931 do
1932 IFS=$as_save_IFS
1933 test -z "$as_dir" && as_dir=.
1934 for ac_exec_ext in '' $ac_executable_extensions; do
1935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1936 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1937 ac_prog_rejected=yes
1938 continue
1939 fi
1940 ac_cv_prog_CC="cc"
1941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1942 break 2
1943 fi
1944 done
1945 done
1946 IFS=$as_save_IFS
1947
1948 if test $ac_prog_rejected = yes; then
1949 # We found a bogon in the path, so make sure we never use it.
1950 set dummy $ac_cv_prog_CC
1951 shift
1952 if test $# != 0; then
1953 # We chose a different compiler from the bogus one.
1954 # However, it has the same basename, so the bogon will be chosen
1955 # first if we set CC to just the basename; use the full file name.
1956 shift
1957 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1958 fi
1959 fi
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 if test -z "$CC"; then
1974 if test -n "$ac_tool_prefix"; then
1975 for ac_prog in cl.exe
1976 do
1977 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1978 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1981 if test "${ac_cv_prog_CC+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 else
1984 if test -n "$CC"; then
1985 ac_cv_prog_CC="$CC" # Let the user override the test.
1986 else
1987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1988 for as_dir in $PATH
1989 do
1990 IFS=$as_save_IFS
1991 test -z "$as_dir" && as_dir=.
1992 for ac_exec_ext in '' $ac_executable_extensions; do
1993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1994 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 break 2
1997 fi
1998 done
1999 done
2000 IFS=$as_save_IFS
2001
2002 fi
2003 fi
2004 CC=$ac_cv_prog_CC
2005 if test -n "$CC"; then
2006 { echo "$as_me:$LINENO: result: $CC" >&5
2007 echo "${ECHO_T}$CC" >&6; }
2008 else
2009 { echo "$as_me:$LINENO: result: no" >&5
2010 echo "${ECHO_T}no" >&6; }
2011 fi
2012
2013
2014 test -n "$CC" && break
2015 done
2016 fi
2017 if test -z "$CC"; then
2018 ac_ct_CC=$CC
2019 for ac_prog in cl.exe
2020 do
2021 # Extract the first word of "$ac_prog", so it can be a program name with args.
2022 set dummy $ac_prog; ac_word=$2
2023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2025 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 else
2028 if test -n "$ac_ct_CC"; then
2029 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2030 else
2031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 for as_dir in $PATH
2033 do
2034 IFS=$as_save_IFS
2035 test -z "$as_dir" && as_dir=.
2036 for ac_exec_ext in '' $ac_executable_extensions; do
2037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2038 ac_cv_prog_ac_ct_CC="$ac_prog"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 break 2
2041 fi
2042 done
2043 done
2044 IFS=$as_save_IFS
2045
2046 fi
2047 fi
2048 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2049 if test -n "$ac_ct_CC"; then
2050 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2051 echo "${ECHO_T}$ac_ct_CC" >&6; }
2052 else
2053 { echo "$as_me:$LINENO: result: no" >&5
2054 echo "${ECHO_T}no" >&6; }
2055 fi
2056
2057
2058 test -n "$ac_ct_CC" && break
2059 done
2060
2061 if test "x$ac_ct_CC" = x; then
2062 CC=""
2063 else
2064 case $cross_compiling:$ac_tool_warned in
2065 yes:)
2066 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2067 whose name does not start with the host triplet. If you think this
2068 configuration is useful to you, please write to autoconf@gnu.org." >&5
2069 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2070 whose name does not start with the host triplet. If you think this
2071 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2072 ac_tool_warned=yes ;;
2073 esac
2074 CC=$ac_ct_CC
2075 fi
2076 fi
2077
2078 fi
2079
2080
2081 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2082 See \`config.log' for more details." >&5
2083 echo "$as_me: error: no acceptable C compiler found in \$PATH
2084 See \`config.log' for more details." >&2;}
2085 { (exit 1); exit 1; }; }
2086
2087 # Provide some information about the compiler.
2088 echo "$as_me:$LINENO: checking for C compiler version" >&5
2089 ac_compiler=`set X $ac_compile; echo $2`
2090 { (ac_try="$ac_compiler --version >&5"
2091 case "(($ac_try" in
2092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2093 *) ac_try_echo=$ac_try;;
2094 esac
2095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2096 (eval "$ac_compiler --version >&5") 2>&5
2097 ac_status=$?
2098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099 (exit $ac_status); }
2100 { (ac_try="$ac_compiler -v >&5"
2101 case "(($ac_try" in
2102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2103 *) ac_try_echo=$ac_try;;
2104 esac
2105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2106 (eval "$ac_compiler -v >&5") 2>&5
2107 ac_status=$?
2108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109 (exit $ac_status); }
2110 { (ac_try="$ac_compiler -V >&5"
2111 case "(($ac_try" in
2112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2113 *) ac_try_echo=$ac_try;;
2114 esac
2115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2116 (eval "$ac_compiler -V >&5") 2>&5
2117 ac_status=$?
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }
2120
2121 cat >conftest.$ac_ext <<_ACEOF
2122 /* confdefs.h. */
2123 _ACEOF
2124 cat confdefs.h >>conftest.$ac_ext
2125 cat >>conftest.$ac_ext <<_ACEOF
2126 /* end confdefs.h. */
2127
2128 int
2129 main ()
2130 {
2131
2132 ;
2133 return 0;
2134 }
2135 _ACEOF
2136 ac_clean_files_save=$ac_clean_files
2137 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2138 # Try to create an executable without -o first, disregard a.out.
2139 # It will help us diagnose broken compilers, and finding out an intuition
2140 # of exeext.
2141 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2142 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2143 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2144 #
2145 # List of possible output files, starting from the most likely.
2146 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2147 # only as a last resort. b.out is created by i960 compilers.
2148 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2149 #
2150 # The IRIX 6 linker writes into existing files which may not be
2151 # executable, retaining their permissions. Remove them first so a
2152 # subsequent execution test works.
2153 ac_rmfiles=
2154 for ac_file in $ac_files
2155 do
2156 case $ac_file in
2157 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2158 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2159 esac
2160 done
2161 rm -f $ac_rmfiles
2162
2163 if { (ac_try="$ac_link_default"
2164 case "(($ac_try" in
2165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2166 *) ac_try_echo=$ac_try;;
2167 esac
2168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2169 (eval "$ac_link_default") 2>&5
2170 ac_status=$?
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); }; then
2173 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2174 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2175 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2176 # so that the user can short-circuit this test for compilers unknown to
2177 # Autoconf.
2178 for ac_file in $ac_files ''
2179 do
2180 test -f "$ac_file" || continue
2181 case $ac_file in
2182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2183 ;;
2184 [ab].out )
2185 # We found the default executable, but exeext='' is most
2186 # certainly right.
2187 break;;
2188 *.* )
2189 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2190 then :; else
2191 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2192 fi
2193 # We set ac_cv_exeext here because the later test for it is not
2194 # safe: cross compilers may not add the suffix if given an `-o'
2195 # argument, so we may need to know it at that point already.
2196 # Even if this section looks crufty: it has the advantage of
2197 # actually working.
2198 break;;
2199 * )
2200 break;;
2201 esac
2202 done
2203 test "$ac_cv_exeext" = no && ac_cv_exeext=
2204
2205 else
2206 ac_file=''
2207 fi
2208
2209 { echo "$as_me:$LINENO: result: $ac_file" >&5
2210 echo "${ECHO_T}$ac_file" >&6; }
2211 if test -z "$ac_file"; then
2212 echo "$as_me: failed program was:" >&5
2213 sed 's/^/| /' conftest.$ac_ext >&5
2214
2215 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2216 See \`config.log' for more details." >&5
2217 echo "$as_me: error: C compiler cannot create executables
2218 See \`config.log' for more details." >&2;}
2219 { (exit 77); exit 77; }; }
2220 fi
2221
2222 ac_exeext=$ac_cv_exeext
2223
2224 # Check that the compiler produces executables we can run. If not, either
2225 # the compiler is broken, or we cross compile.
2226 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2227 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2228 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2229 # If not cross compiling, check that we can run a simple program.
2230 if test "$cross_compiling" != yes; then
2231 if { ac_try='./$ac_file'
2232 { (case "(($ac_try" in
2233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2234 *) ac_try_echo=$ac_try;;
2235 esac
2236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2237 (eval "$ac_try") 2>&5
2238 ac_status=$?
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); }; }; then
2241 cross_compiling=no
2242 else
2243 if test "$cross_compiling" = maybe; then
2244 cross_compiling=yes
2245 else
2246 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2247 If you meant to cross compile, use \`--host'.
2248 See \`config.log' for more details." >&5
2249 echo "$as_me: error: cannot run C compiled programs.
2250 If you meant to cross compile, use \`--host'.
2251 See \`config.log' for more details." >&2;}
2252 { (exit 1); exit 1; }; }
2253 fi
2254 fi
2255 fi
2256 { echo "$as_me:$LINENO: result: yes" >&5
2257 echo "${ECHO_T}yes" >&6; }
2258
2259 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2260 ac_clean_files=$ac_clean_files_save
2261 # Check that the compiler produces executables we can run. If not, either
2262 # the compiler is broken, or we cross compile.
2263 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2264 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2265 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2266 echo "${ECHO_T}$cross_compiling" >&6; }
2267
2268 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2269 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2270 if { (ac_try="$ac_link"
2271 case "(($ac_try" in
2272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2273 *) ac_try_echo=$ac_try;;
2274 esac
2275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2276 (eval "$ac_link") 2>&5
2277 ac_status=$?
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; then
2280 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2281 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2282 # work properly (i.e., refer to `conftest.exe'), while it won't with
2283 # `rm'.
2284 for ac_file in conftest.exe conftest conftest.*; do
2285 test -f "$ac_file" || continue
2286 case $ac_file in
2287 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2288 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2289 break;;
2290 * ) break;;
2291 esac
2292 done
2293 else
2294 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2295 See \`config.log' for more details." >&5
2296 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2297 See \`config.log' for more details." >&2;}
2298 { (exit 1); exit 1; }; }
2299 fi
2300
2301 rm -f conftest$ac_cv_exeext
2302 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2303 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2304
2305 rm -f conftest.$ac_ext
2306 EXEEXT=$ac_cv_exeext
2307 ac_exeext=$EXEEXT
2308 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2309 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2310 if test "${ac_cv_objext+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 else
2313 cat >conftest.$ac_ext <<_ACEOF
2314 /* confdefs.h. */
2315 _ACEOF
2316 cat confdefs.h >>conftest.$ac_ext
2317 cat >>conftest.$ac_ext <<_ACEOF
2318 /* end confdefs.h. */
2319
2320 int
2321 main ()
2322 {
2323
2324 ;
2325 return 0;
2326 }
2327 _ACEOF
2328 rm -f conftest.o conftest.obj
2329 if { (ac_try="$ac_compile"
2330 case "(($ac_try" in
2331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2332 *) ac_try_echo=$ac_try;;
2333 esac
2334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2335 (eval "$ac_compile") 2>&5
2336 ac_status=$?
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }; then
2339 for ac_file in conftest.o conftest.obj conftest.*; do
2340 test -f "$ac_file" || continue;
2341 case $ac_file in
2342 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2343 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2344 break;;
2345 esac
2346 done
2347 else
2348 echo "$as_me: failed program was:" >&5
2349 sed 's/^/| /' conftest.$ac_ext >&5
2350
2351 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2352 See \`config.log' for more details." >&5
2353 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2354 See \`config.log' for more details." >&2;}
2355 { (exit 1); exit 1; }; }
2356 fi
2357
2358 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2359 fi
2360 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2361 echo "${ECHO_T}$ac_cv_objext" >&6; }
2362 OBJEXT=$ac_cv_objext
2363 ac_objext=$OBJEXT
2364 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2365 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2366 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2368 else
2369 cat >conftest.$ac_ext <<_ACEOF
2370 /* confdefs.h. */
2371 _ACEOF
2372 cat confdefs.h >>conftest.$ac_ext
2373 cat >>conftest.$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2375
2376 int
2377 main ()
2378 {
2379 #ifndef __GNUC__
2380 choke me
2381 #endif
2382
2383 ;
2384 return 0;
2385 }
2386 _ACEOF
2387 rm -f conftest.$ac_objext
2388 if { (ac_try="$ac_compile"
2389 case "(($ac_try" in
2390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2391 *) ac_try_echo=$ac_try;;
2392 esac
2393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2394 (eval "$ac_compile") 2>conftest.er1
2395 ac_status=$?
2396 grep -v '^ *+' conftest.er1 >conftest.err
2397 rm -f conftest.er1
2398 cat conftest.err >&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); } && {
2401 test -z "$ac_c_werror_flag" ||
2402 test ! -s conftest.err
2403 } && test -s conftest.$ac_objext; then
2404 ac_compiler_gnu=yes
2405 else
2406 echo "$as_me: failed program was:" >&5
2407 sed 's/^/| /' conftest.$ac_ext >&5
2408
2409 ac_compiler_gnu=no
2410 fi
2411
2412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2413 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2414
2415 fi
2416 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2417 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2418 GCC=`test $ac_compiler_gnu = yes && echo yes`
2419 ac_test_CFLAGS=${CFLAGS+set}
2420 ac_save_CFLAGS=$CFLAGS
2421 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2422 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2423 if test "${ac_cv_prog_cc_g+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2425 else
2426 ac_save_c_werror_flag=$ac_c_werror_flag
2427 ac_c_werror_flag=yes
2428 ac_cv_prog_cc_g=no
2429 CFLAGS="-g"
2430 cat >conftest.$ac_ext <<_ACEOF
2431 /* confdefs.h. */
2432 _ACEOF
2433 cat confdefs.h >>conftest.$ac_ext
2434 cat >>conftest.$ac_ext <<_ACEOF
2435 /* end confdefs.h. */
2436
2437 int
2438 main ()
2439 {
2440
2441 ;
2442 return 0;
2443 }
2444 _ACEOF
2445 rm -f conftest.$ac_objext
2446 if { (ac_try="$ac_compile"
2447 case "(($ac_try" in
2448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2449 *) ac_try_echo=$ac_try;;
2450 esac
2451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2452 (eval "$ac_compile") 2>conftest.er1
2453 ac_status=$?
2454 grep -v '^ *+' conftest.er1 >conftest.err
2455 rm -f conftest.er1
2456 cat conftest.err >&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); } && {
2459 test -z "$ac_c_werror_flag" ||
2460 test ! -s conftest.err
2461 } && test -s conftest.$ac_objext; then
2462 ac_cv_prog_cc_g=yes
2463 else
2464 echo "$as_me: failed program was:" >&5
2465 sed 's/^/| /' conftest.$ac_ext >&5
2466
2467 CFLAGS=""
2468 cat >conftest.$ac_ext <<_ACEOF
2469 /* confdefs.h. */
2470 _ACEOF
2471 cat confdefs.h >>conftest.$ac_ext
2472 cat >>conftest.$ac_ext <<_ACEOF
2473 /* end confdefs.h. */
2474
2475 int
2476 main ()
2477 {
2478
2479 ;
2480 return 0;
2481 }
2482 _ACEOF
2483 rm -f conftest.$ac_objext
2484 if { (ac_try="$ac_compile"
2485 case "(($ac_try" in
2486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2487 *) ac_try_echo=$ac_try;;
2488 esac
2489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2490 (eval "$ac_compile") 2>conftest.er1
2491 ac_status=$?
2492 grep -v '^ *+' conftest.er1 >conftest.err
2493 rm -f conftest.er1
2494 cat conftest.err >&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); } && {
2497 test -z "$ac_c_werror_flag" ||
2498 test ! -s conftest.err
2499 } && test -s conftest.$ac_objext; then
2500 :
2501 else
2502 echo "$as_me: failed program was:" >&5
2503 sed 's/^/| /' conftest.$ac_ext >&5
2504
2505 ac_c_werror_flag=$ac_save_c_werror_flag
2506 CFLAGS="-g"
2507 cat >conftest.$ac_ext <<_ACEOF
2508 /* confdefs.h. */
2509 _ACEOF
2510 cat confdefs.h >>conftest.$ac_ext
2511 cat >>conftest.$ac_ext <<_ACEOF
2512 /* end confdefs.h. */
2513
2514 int
2515 main ()
2516 {
2517
2518 ;
2519 return 0;
2520 }
2521 _ACEOF
2522 rm -f conftest.$ac_objext
2523 if { (ac_try="$ac_compile"
2524 case "(($ac_try" in
2525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2527 esac
2528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2529 (eval "$ac_compile") 2>conftest.er1
2530 ac_status=$?
2531 grep -v '^ *+' conftest.er1 >conftest.err
2532 rm -f conftest.er1
2533 cat conftest.err >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); } && {
2536 test -z "$ac_c_werror_flag" ||
2537 test ! -s conftest.err
2538 } && test -s conftest.$ac_objext; then
2539 ac_cv_prog_cc_g=yes
2540 else
2541 echo "$as_me: failed program was:" >&5
2542 sed 's/^/| /' conftest.$ac_ext >&5
2543
2544
2545 fi
2546
2547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2548 fi
2549
2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2551 fi
2552
2553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2554 ac_c_werror_flag=$ac_save_c_werror_flag
2555 fi
2556 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2557 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2558 if test "$ac_test_CFLAGS" = set; then
2559 CFLAGS=$ac_save_CFLAGS
2560 elif test $ac_cv_prog_cc_g = yes; then
2561 if test "$GCC" = yes; then
2562 CFLAGS="-g -O2"
2563 else
2564 CFLAGS="-g"
2565 fi
2566 else
2567 if test "$GCC" = yes; then
2568 CFLAGS="-O2"
2569 else
2570 CFLAGS=
2571 fi
2572 fi
2573 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2574 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2575 if test "${ac_cv_prog_cc_c89+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 else
2578 ac_cv_prog_cc_c89=no
2579 ac_save_CC=$CC
2580 cat >conftest.$ac_ext <<_ACEOF
2581 /* confdefs.h. */
2582 _ACEOF
2583 cat confdefs.h >>conftest.$ac_ext
2584 cat >>conftest.$ac_ext <<_ACEOF
2585 /* end confdefs.h. */
2586 #include <stdarg.h>
2587 #include <stdio.h>
2588 #include <sys/types.h>
2589 #include <sys/stat.h>
2590 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2591 struct buf { int x; };
2592 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2593 static char *e (p, i)
2594 char **p;
2595 int i;
2596 {
2597 return p[i];
2598 }
2599 static char *f (char * (*g) (char **, int), char **p, ...)
2600 {
2601 char *s;
2602 va_list v;
2603 va_start (v,p);
2604 s = g (p, va_arg (v,int));
2605 va_end (v);
2606 return s;
2607 }
2608
2609 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2610 function prototypes and stuff, but not '\xHH' hex character constants.
2611 These don't provoke an error unfortunately, instead are silently treated
2612 as 'x'. The following induces an error, until -std is added to get
2613 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2614 array size at least. It's necessary to write '\x00'==0 to get something
2615 that's true only with -std. */
2616 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2617
2618 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2619 inside strings and character constants. */
2620 #define FOO(x) 'x'
2621 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2622
2623 int test (int i, double x);
2624 struct s1 {int (*f) (int a);};
2625 struct s2 {int (*f) (double a);};
2626 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2627 int argc;
2628 char **argv;
2629 int
2630 main ()
2631 {
2632 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2633 ;
2634 return 0;
2635 }
2636 _ACEOF
2637 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2638 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2639 do
2640 CC="$ac_save_CC $ac_arg"
2641 rm -f conftest.$ac_objext
2642 if { (ac_try="$ac_compile"
2643 case "(($ac_try" in
2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645 *) ac_try_echo=$ac_try;;
2646 esac
2647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2648 (eval "$ac_compile") 2>conftest.er1
2649 ac_status=$?
2650 grep -v '^ *+' conftest.er1 >conftest.err
2651 rm -f conftest.er1
2652 cat conftest.err >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); } && {
2655 test -z "$ac_c_werror_flag" ||
2656 test ! -s conftest.err
2657 } && test -s conftest.$ac_objext; then
2658 ac_cv_prog_cc_c89=$ac_arg
2659 else
2660 echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.$ac_ext >&5
2662
2663
2664 fi
2665
2666 rm -f core conftest.err conftest.$ac_objext
2667 test "x$ac_cv_prog_cc_c89" != "xno" && break
2668 done
2669 rm -f conftest.$ac_ext
2670 CC=$ac_save_CC
2671
2672 fi
2673 # AC_CACHE_VAL
2674 case "x$ac_cv_prog_cc_c89" in
2675 x)
2676 { echo "$as_me:$LINENO: result: none needed" >&5
2677 echo "${ECHO_T}none needed" >&6; } ;;
2678 xno)
2679 { echo "$as_me:$LINENO: result: unsupported" >&5
2680 echo "${ECHO_T}unsupported" >&6; } ;;
2681 *)
2682 CC="$CC $ac_cv_prog_cc_c89"
2683 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2684 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2685 esac
2686
2687
2688 ac_ext=c
2689 ac_cpp='$CPP $CPPFLAGS'
2690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2693
2694 ac_aux_dir=
2695 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2696 if test -f "$ac_dir/install-sh"; then
2697 ac_aux_dir=$ac_dir
2698 ac_install_sh="$ac_aux_dir/install-sh -c"
2699 break
2700 elif test -f "$ac_dir/install.sh"; then
2701 ac_aux_dir=$ac_dir
2702 ac_install_sh="$ac_aux_dir/install.sh -c"
2703 break
2704 elif test -f "$ac_dir/shtool"; then
2705 ac_aux_dir=$ac_dir
2706 ac_install_sh="$ac_aux_dir/shtool install -c"
2707 break
2708 fi
2709 done
2710 if test -z "$ac_aux_dir"; then
2711 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2712 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2713 { (exit 1); exit 1; }; }
2714 fi
2715
2716 # These three variables are undocumented and unsupported,
2717 # and are intended to be withdrawn in a future Autoconf release.
2718 # They can cause serious problems if a builder's source tree is in a directory
2719 # whose full name contains unusual characters.
2720 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2721 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2722 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2723
2724
2725 # Find a good install program. We prefer a C program (faster),
2726 # so one script is as good as another. But avoid the broken or
2727 # incompatible versions:
2728 # SysV /etc/install, /usr/sbin/install
2729 # SunOS /usr/etc/install
2730 # IRIX /sbin/install
2731 # AIX /bin/install
2732 # AmigaOS /C/install, which installs bootblocks on floppy discs
2733 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2734 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2735 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2736 # OS/2's system install, which has a completely different semantic
2737 # ./install, which can be erroneously created by make from ./install.sh.
2738 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2739 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2740 if test -z "$INSTALL"; then
2741 if test "${ac_cv_path_install+set}" = set; then
2742 echo $ECHO_N "(cached) $ECHO_C" >&6
2743 else
2744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2745 for as_dir in $PATH
2746 do
2747 IFS=$as_save_IFS
2748 test -z "$as_dir" && as_dir=.
2749 # Account for people who put trailing slashes in PATH elements.
2750 case $as_dir/ in
2751 ./ | .// | /cC/* | \
2752 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2753 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2754 /usr/ucb/* ) ;;
2755 *)
2756 # OSF1 and SCO ODT 3.0 have their own names for install.
2757 # Don't use installbsd from OSF since it installs stuff as root
2758 # by default.
2759 for ac_prog in ginstall scoinst install; do
2760 for ac_exec_ext in '' $ac_executable_extensions; do
2761 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2762 if test $ac_prog = install &&
2763 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2764 # AIX install. It has an incompatible calling convention.
2765 :
2766 elif test $ac_prog = install &&
2767 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2768 # program-specific install script used by HP pwplus--don't use.
2769 :
2770 else
2771 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2772 break 3
2773 fi
2774 fi
2775 done
2776 done
2777 ;;
2778 esac
2779 done
2780 IFS=$as_save_IFS
2781
2782
2783 fi
2784 if test "${ac_cv_path_install+set}" = set; then
2785 INSTALL=$ac_cv_path_install
2786 else
2787 # As a last resort, use the slow shell script. Don't cache a
2788 # value for INSTALL within a source directory, because that will
2789 # break other packages using the cache if that directory is
2790 # removed, or if the value is a relative name.
2791 INSTALL=$ac_install_sh
2792 fi
2793 fi
2794 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2795 echo "${ECHO_T}$INSTALL" >&6; }
2796
2797 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2798 # It thinks the first close brace ends the variable substitution.
2799 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2800
2801 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2802
2803 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2804
2805 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2806 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2807 LN_S=$as_ln_s
2808 if test "$LN_S" = "ln -s"; then
2809 { echo "$as_me:$LINENO: result: yes" >&5
2810 echo "${ECHO_T}yes" >&6; }
2811 else
2812 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2813 echo "${ECHO_T}no, using $LN_S" >&6; }
2814 fi
2815
2816 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2817 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2818 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2819 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2820 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 else
2822 cat >conftest.make <<\_ACEOF
2823 SHELL = /bin/sh
2824 all:
2825 @echo '@@@%%%=$(MAKE)=@@@%%%'
2826 _ACEOF
2827 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2828 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2829 *@@@%%%=?*=@@@%%%*)
2830 eval ac_cv_prog_make_${ac_make}_set=yes;;
2831 *)
2832 eval ac_cv_prog_make_${ac_make}_set=no;;
2833 esac
2834 rm -f conftest.make
2835 fi
2836 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2837 { echo "$as_me:$LINENO: result: yes" >&5
2838 echo "${ECHO_T}yes" >&6; }
2839 SET_MAKE=
2840 else
2841 { echo "$as_me:$LINENO: result: no" >&5
2842 echo "${ECHO_T}no" >&6; }
2843 SET_MAKE="MAKE=${MAKE-make}"
2844 fi
2845
2846
2847 # Checks for libraries.
2848
2849 # Checks for header files.
2850 #AC_HEADER_STDC
2851 #AC_CHECK_HEADERS([libintl.h locale.h stdlib.h string.h sys/time.h unistd.h])
2852
2853 # Checks for typedefs, structures, and compiler characteristics.
2854 #AC_C_CONST
2855 #AC_C_INLINE
2856 #AC_TYPE_SIZE_T
2857 #AC_HEADER_TIME
2858 #AC_STRUCT_TM
2859 #AC_HEADER_STDBOOL
2860
2861 # Checks for library functions.
2862 #AC_FUNC_MALLOC
2863 #AC_FUNC_MKTIME
2864 #AC_FUNC_STRFTIME
2865 #AC_FUNC_STRTOD
2866 #AC_CHECK_FUNCS([gettimeofday localtime_r memset pow setlocale sqrt strcasecmp strchr strcspn strdup strerror strrchr strstr strtoul tzset])
2867
2868 # check for gnome-vfs-module-2.0
2869
2870
2871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2872 if test -n "$ac_tool_prefix"; then
2873 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2874 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2877 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
2879 else
2880 case $PKG_CONFIG in
2881 [\\/]* | ?:[\\/]*)
2882 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2883 ;;
2884 *)
2885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2886 for as_dir in $PATH
2887 do
2888 IFS=$as_save_IFS
2889 test -z "$as_dir" && as_dir=.
2890 for ac_exec_ext in '' $ac_executable_extensions; do
2891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2892 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2894 break 2
2895 fi
2896 done
2897 done
2898 IFS=$as_save_IFS
2899
2900 ;;
2901 esac
2902 fi
2903 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2904 if test -n "$PKG_CONFIG"; then
2905 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2906 echo "${ECHO_T}$PKG_CONFIG" >&6; }
2907 else
2908 { echo "$as_me:$LINENO: result: no" >&5
2909 echo "${ECHO_T}no" >&6; }
2910 fi
2911
2912
2913 fi
2914 if test -z "$ac_cv_path_PKG_CONFIG"; then
2915 ac_pt_PKG_CONFIG=$PKG_CONFIG
2916 # Extract the first word of "pkg-config", so it can be a program name with args.
2917 set dummy pkg-config; ac_word=$2
2918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2920 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2922 else
2923 case $ac_pt_PKG_CONFIG in
2924 [\\/]* | ?:[\\/]*)
2925 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2926 ;;
2927 *)
2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929 for as_dir in $PATH
2930 do
2931 IFS=$as_save_IFS
2932 test -z "$as_dir" && as_dir=.
2933 for ac_exec_ext in '' $ac_executable_extensions; do
2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 break 2
2938 fi
2939 done
2940 done
2941 IFS=$as_save_IFS
2942
2943 ;;
2944 esac
2945 fi
2946 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2947 if test -n "$ac_pt_PKG_CONFIG"; then
2948 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2949 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
2950 else
2951 { echo "$as_me:$LINENO: result: no" >&5
2952 echo "${ECHO_T}no" >&6; }
2953 fi
2954
2955 if test "x$ac_pt_PKG_CONFIG" = x; then
2956 PKG_CONFIG=""
2957 else
2958 case $cross_compiling:$ac_tool_warned in
2959 yes:)
2960 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2961 whose name does not start with the host triplet. If you think this
2962 configuration is useful to you, please write to autoconf@gnu.org." >&5
2963 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2964 whose name does not start with the host triplet. If you think this
2965 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2966 ac_tool_warned=yes ;;
2967 esac
2968 PKG_CONFIG=$ac_pt_PKG_CONFIG
2969 fi
2970 else
2971 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2972 fi
2973
2974 fi
2975 if test -n "$PKG_CONFIG"; then
2976 _pkg_min_version=0.9.0
2977 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2978 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
2979 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2980 { echo "$as_me:$LINENO: result: yes" >&5
2981 echo "${ECHO_T}yes" >&6; }
2982 else
2983 { echo "$as_me:$LINENO: result: no" >&5
2984 echo "${ECHO_T}no" >&6; }
2985 PKG_CONFIG=""
2986 fi
2987
2988 fi
2989
2990 pkg_failed=no
2991 { echo "$as_me:$LINENO: checking for gnome_vfs_module" >&5
2992 echo $ECHO_N "checking for gnome_vfs_module... $ECHO_C" >&6; }
2993
2994 if test -n "$PKG_CONFIG"; then
2995 if test -n "$gnome_vfs_module_CFLAGS"; then
2996 pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"
2997 else
2998 if test -n "$PKG_CONFIG" && \
2999 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5
3000 ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3001 ac_status=$?
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); }; then
3004 pkg_cv_gnome_vfs_module_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-module-2.0" 2>/dev/null`
3005 else
3006 pkg_failed=yes
3007 fi
3008 fi
3009 else
3010 pkg_failed=untried
3011 fi
3012 if test -n "$PKG_CONFIG"; then
3013 if test -n "$gnome_vfs_module_LIBS"; then
3014 pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"
3015 else
3016 if test -n "$PKG_CONFIG" && \
3017 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5
3018 ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3019 ac_status=$?
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }; then
3022 pkg_cv_gnome_vfs_module_LIBS=`$PKG_CONFIG --libs "gnome-vfs-module-2.0" 2>/dev/null`
3023 else
3024 pkg_failed=yes
3025 fi
3026 fi
3027 else
3028 pkg_failed=untried
3029 fi
3030
3031
3032
3033 if test $pkg_failed = yes; then
3034
3035 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3036 _pkg_short_errors_supported=yes
3037 else
3038 _pkg_short_errors_supported=no
3039 fi
3040 if test $_pkg_short_errors_supported = yes; then
3041 gnome_vfs_module_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-module-2.0"`
3042 else
3043 gnome_vfs_module_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-module-2.0"`
3044 fi
3045 # Put the nasty error message in config.log where it belongs
3046 echo "$gnome_vfs_module_PKG_ERRORS" >&5
3047
3048 { echo "$as_me:$LINENO: result: no" >&5
3049 echo "${ECHO_T}no" >&6; }
3050 { { echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5
3051 echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}
3052 { (exit 1); exit 1; }; }
3053 elif test $pkg_failed = untried; then
3054 { { echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5
3055 echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}
3056 { (exit 1); exit 1; }; }
3057 else
3058 gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS
3059 gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS
3060 { echo "$as_me:$LINENO: result: yes" >&5
3061 echo "${ECHO_T}yes" >&6; }
3062 :
3063 fi
3064 CFLAGS="$CFLAGS $gnome_vfs_module_CFLAGS"
3065 LIBS="$LIBS $gnome_vfs_module_LIBS"
3066
3067 # check for libxml-2.0
3068
3069 pkg_failed=no
3070 { echo "$as_me:$LINENO: checking for libxml2" >&5
3071 echo $ECHO_N "checking for libxml2... $ECHO_C" >&6; }
3072
3073 if test -n "$PKG_CONFIG"; then
3074 if test -n "$libxml2_CFLAGS"; then
3075 pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"
3076 else
3077 if test -n "$PKG_CONFIG" && \
3078 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
3079 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3080 ac_status=$?
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }; then
3083 pkg_cv_libxml2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
3084 else
3085 pkg_failed=yes
3086 fi
3087 fi
3088 else
3089 pkg_failed=untried
3090 fi
3091 if test -n "$PKG_CONFIG"; then
3092 if test -n "$libxml2_LIBS"; then
3093 pkg_cv_libxml2_LIBS="$libxml2_LIBS"
3094 else
3095 if test -n "$PKG_CONFIG" && \
3096 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
3097 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3098 ac_status=$?
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; then
3101 pkg_cv_libxml2_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
3102 else
3103 pkg_failed=yes
3104 fi
3105 fi
3106 else
3107 pkg_failed=untried
3108 fi
3109
3110
3111
3112 if test $pkg_failed = yes; then
3113
3114 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3115 _pkg_short_errors_supported=yes
3116 else
3117 _pkg_short_errors_supported=no
3118 fi
3119 if test $_pkg_short_errors_supported = yes; then
3120 libxml2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml-2.0"`
3121 else
3122 libxml2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0"`
3123 fi
3124 # Put the nasty error message in config.log where it belongs
3125 echo "$libxml2_PKG_ERRORS" >&5
3126
3127 { echo "$as_me:$LINENO: result: no" >&5
3128 echo "${ECHO_T}no" >&6; }
3129 { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5
3130 echo "$as_me: error: libxml-2.0 missing" >&2;}
3131 { (exit 1); exit 1; }; }
3132 elif test $pkg_failed = untried; then
3133 { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5
3134 echo "$as_me: error: libxml-2.0 missing" >&2;}
3135 { (exit 1); exit 1; }; }
3136 else
3137 libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS
3138 libxml2_LIBS=$pkg_cv_libxml2_LIBS
3139 { echo "$as_me:$LINENO: result: yes" >&5
3140 echo "${ECHO_T}yes" >&6; }
3141 :
3142 fi
3143 CFLAGS="$CFLAGS $libxml2_CFLAGS"
3144 LIBS="$LIBS $libxml2_LIBS"
3145 # check for libsoup
3146
3147 pkg_failed=no
3148 { echo "$as_me:$LINENO: checking for libsoup24" >&5
3149 echo $ECHO_N "checking for libsoup24... $ECHO_C" >&6; }
3150
3151 if test -n "$PKG_CONFIG"; then
3152 if test -n "$libsoup24_CFLAGS"; then
3153 pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"
3154 else
3155 if test -n "$PKG_CONFIG" && \
3156 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
3157 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3158 ac_status=$?
3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160 (exit $ac_status); }; then
3161 pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
3162 else
3163 pkg_failed=yes
3164 fi
3165 fi
3166 else
3167 pkg_failed=untried
3168 fi
3169 if test -n "$PKG_CONFIG"; then
3170 if test -n "$libsoup24_LIBS"; then
3171 pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"
3172 else
3173 if test -n "$PKG_CONFIG" && \
3174 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
3175 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3176 ac_status=$?
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }; then
3179 pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
3180 else
3181 pkg_failed=yes
3182 fi
3183 fi
3184 else
3185 pkg_failed=untried
3186 fi
3187
3188
3189
3190 if test $pkg_failed = yes; then
3191
3192 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3193 _pkg_short_errors_supported=yes
3194 else
3195 _pkg_short_errors_supported=no
3196 fi
3197 if test $_pkg_short_errors_supported = yes; then
3198 libsoup24_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`
3199 else
3200 libsoup24_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`
3201 fi
3202 # Put the nasty error message in config.log where it belongs
3203 echo "$libsoup24_PKG_ERRORS" >&5
3204
3205 { echo "$as_me:$LINENO: result: no" >&5
3206 echo "${ECHO_T}no" >&6; }
3207
3208
3209 pkg_failed=no
3210 { echo "$as_me:$LINENO: checking for libsoup22" >&5
3211 echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }
3212
3213 if test -n "$PKG_CONFIG"; then
3214 if test -n "$libsoup22_CFLAGS"; then
3215 pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3216 else
3217 if test -n "$PKG_CONFIG" && \
3218 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3219 ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3220 ac_status=$?
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); }; then
3223 pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
3224 else
3225 pkg_failed=yes
3226 fi
3227 fi
3228 else
3229 pkg_failed=untried
3230 fi
3231 if test -n "$PKG_CONFIG"; then
3232 if test -n "$libsoup22_LIBS"; then
3233 pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3234 else
3235 if test -n "$PKG_CONFIG" && \
3236 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3237 ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3238 ac_status=$?
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); }; then
3241 pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
3242 else
3243 pkg_failed=yes
3244 fi
3245 fi
3246 else
3247 pkg_failed=untried
3248 fi
3249
3250
3251
3252 if test $pkg_failed = yes; then
3253
3254 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3255 _pkg_short_errors_supported=yes
3256 else
3257 _pkg_short_errors_supported=no
3258 fi
3259 if test $_pkg_short_errors_supported = yes; then
3260 libsoup22_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.2"`
3261 else
3262 libsoup22_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.2"`
3263 fi
3264 # Put the nasty error message in config.log where it belongs
3265 echo "$libsoup22_PKG_ERRORS" >&5
3266
3267 { echo "$as_me:$LINENO: result: no" >&5
3268 echo "${ECHO_T}no" >&6; }
3269
3270 { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3271 echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3272
3273 elif test $pkg_failed = untried; then
3274
3275 { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3276 echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3277
3278 else
3279 libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3280 libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3281 { echo "$as_me:$LINENO: result: yes" >&5
3282 echo "${ECHO_T}yes" >&6; }
3283
3284 EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o"
3285 CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
3286 LIBS="$LIBS $libsoup22_LIBS"
3287
3288 fi
3289
3290 elif test $pkg_failed = untried; then
3291
3292
3293 pkg_failed=no
3294 { echo "$as_me:$LINENO: checking for libsoup22" >&5
3295 echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }
3296
3297 if test -n "$PKG_CONFIG"; then
3298 if test -n "$libsoup22_CFLAGS"; then
3299 pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3300 else
3301 if test -n "$PKG_CONFIG" && \
3302 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3303 ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3304 ac_status=$?
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); }; then
3307 pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
3308 else
3309 pkg_failed=yes
3310 fi
3311 fi
3312 else
3313 pkg_failed=untried
3314 fi
3315 if test -n "$PKG_CONFIG"; then
3316 if test -n "$libsoup22_LIBS"; then
3317 pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3318 else
3319 if test -n "$PKG_CONFIG" && \
3320 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3321 ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3322 ac_status=$?
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; then
3325 pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
3326 else
3327 pkg_failed=yes
3328 fi
3329 fi
3330 else
3331 pkg_failed=untried
3332 fi
3333
3334
3335
3336 if test $pkg_failed = yes; then
3337
3338 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3339 _pkg_short_errors_supported=yes
3340 else
3341 _pkg_short_errors_supported=no
3342 fi
3343 if test $_pkg_short_errors_supported = yes; then
3344 libsoup22_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.2"`
3345 else
3346 libsoup22_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.2"`
3347 fi
3348 # Put the nasty error message in config.log where it belongs
3349 echo "$libsoup22_PKG_ERRORS" >&5
3350
3351 { echo "$as_me:$LINENO: result: no" >&5
3352 echo "${ECHO_T}no" >&6; }
3353
3354 { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3355 echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3356
3357 elif test $pkg_failed = untried; then
3358
3359 { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3360 echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3361
3362 else
3363 libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3364 libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3365 { echo "$as_me:$LINENO: result: yes" >&5
3366 echo "${ECHO_T}yes" >&6; }
3367
3368 EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o"
3369 CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
3370 LIBS="$LIBS $libsoup22_LIBS"
3371
3372 fi
3373
3374 else
3375 libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS
3376 libsoup24_LIBS=$pkg_cv_libsoup24_LIBS
3377 { echo "$as_me:$LINENO: result: yes" >&5
3378 echo "${ECHO_T}yes" >&6; }
3379
3380 EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o"
3381 CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"
3382 LIBS="$LIBS $libsoup24_LIBS"
3383
3384 fi
3385
3386 # check for gtkhtml-3.14
3387
3388 pkg_failed=no
3389 { echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5
3390 echo $ECHO_N "checking for libgtkhtml3_14... $ECHO_C" >&6; }
3391
3392 if test -n "$PKG_CONFIG"; then
3393 if test -n "$libgtkhtml3_14_CFLAGS"; then
3394 pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"
3395 else
3396 if test -n "$PKG_CONFIG" && \
3397 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5
3398 ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3399 ac_status=$?
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); }; then
3402 pkg_cv_libgtkhtml3_14_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null`
3403 else
3404 pkg_failed=yes
3405 fi
3406 fi
3407 else
3408 pkg_failed=untried
3409 fi
3410 if test -n "$PKG_CONFIG"; then
3411 if test -n "$libgtkhtml3_14_LIBS"; then
3412 pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"
3413 else
3414 if test -n "$PKG_CONFIG" && \
3415 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5
3416 ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3417 ac_status=$?
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); }; then
3420 pkg_cv_libgtkhtml3_14_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null`
3421 else
3422 pkg_failed=yes
3423 fi
3424 fi
3425 else
3426 pkg_failed=untried
3427 fi
3428
3429
3430
3431 if test $pkg_failed = yes; then
3432
3433 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3434 _pkg_short_errors_supported=yes
3435 else
3436 _pkg_short_errors_supported=no
3437 fi
3438 if test $_pkg_short_errors_supported = yes; then
3439 libgtkhtml3_14_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.14"`
3440 else
3441 libgtkhtml3_14_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.14"`
3442 fi
3443 # Put the nasty error message in config.log where it belongs
3444 echo "$libgtkhtml3_14_PKG_ERRORS" >&5
3445
3446 { echo "$as_me:$LINENO: result: no" >&5
3447 echo "${ECHO_T}no" >&6; }
3448
3449 # ok, we can also live with 3.8
3450
3451 pkg_failed=no
3452 { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
3453 echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }
3454
3455 if test -n "$PKG_CONFIG"; then
3456 if test -n "$libgtkhtml3_8_CFLAGS"; then
3457 pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3458 else
3459 if test -n "$PKG_CONFIG" && \
3460 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3461 ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3462 ac_status=$?
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); }; then
3465 pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
3466 else
3467 pkg_failed=yes
3468 fi
3469 fi
3470 else
3471 pkg_failed=untried
3472 fi
3473 if test -n "$PKG_CONFIG"; then
3474 if test -n "$libgtkhtml3_8_LIBS"; then
3475 pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3476 else
3477 if test -n "$PKG_CONFIG" && \
3478 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3479 ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3480 ac_status=$?
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); }; then
3483 pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
3484 else
3485 pkg_failed=yes
3486 fi
3487 fi
3488 else
3489 pkg_failed=untried
3490 fi
3491
3492
3493
3494 if test $pkg_failed = yes; then
3495
3496 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3497 _pkg_short_errors_supported=yes
3498 else
3499 _pkg_short_errors_supported=no
3500 fi
3501 if test $_pkg_short_errors_supported = yes; then
3502 libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3503 else
3504 libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3505 fi
3506 # Put the nasty error message in config.log where it belongs
3507 echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3508
3509 { echo "$as_me:$LINENO: result: no" >&5
3510 echo "${ECHO_T}no" >&6; }
3511 { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3512 echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3513 { (exit 1); exit 1; }; }
3514 elif test $pkg_failed = untried; then
3515 { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3516 echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3517 { (exit 1); exit 1; }; }
3518 else
3519 libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3520 libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3521 { echo "$as_me:$LINENO: result: yes" >&5
3522 echo "${ECHO_T}yes" >&6; }
3523
3524 CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3525 LIBS="$LIBS $libgtkhtml3_8_LIBS"
3526
3527 fi
3528
3529 elif test $pkg_failed = untried; then
3530
3531 # ok, we can also live with 3.8
3532
3533 pkg_failed=no
3534 { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
3535 echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }
3536
3537 if test -n "$PKG_CONFIG"; then
3538 if test -n "$libgtkhtml3_8_CFLAGS"; then
3539 pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3540 else
3541 if test -n "$PKG_CONFIG" && \
3542 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3543 ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3544 ac_status=$?
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); }; then
3547 pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
3548 else
3549 pkg_failed=yes
3550 fi
3551 fi
3552 else
3553 pkg_failed=untried
3554 fi
3555 if test -n "$PKG_CONFIG"; then
3556 if test -n "$libgtkhtml3_8_LIBS"; then
3557 pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3558 else
3559 if test -n "$PKG_CONFIG" && \
3560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3561 ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3562 ac_status=$?
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); }; then
3565 pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
3566 else
3567 pkg_failed=yes
3568 fi
3569 fi
3570 else
3571 pkg_failed=untried
3572 fi
3573
3574
3575
3576 if test $pkg_failed = yes; then
3577
3578 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3579 _pkg_short_errors_supported=yes
3580 else
3581 _pkg_short_errors_supported=no
3582 fi
3583 if test $_pkg_short_errors_supported = yes; then
3584 libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3585 else
3586 libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3587 fi
3588 # Put the nasty error message in config.log where it belongs
3589 echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3590
3591 { echo "$as_me:$LINENO: result: no" >&5
3592 echo "${ECHO_T}no" >&6; }
3593 { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3594 echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3595 { (exit 1); exit 1; }; }
3596 elif test $pkg_failed = untried; then
3597 { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3598 echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3599 { (exit 1); exit 1; }; }
3600 else
3601 libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3602 libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3603 { echo "$as_me:$LINENO: result: yes" >&5
3604 echo "${ECHO_T}yes" >&6; }
3605
3606 CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3607 LIBS="$LIBS $libgtkhtml3_8_LIBS"
3608
3609 fi
3610
3611 else
3612 libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS
3613 libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS
3614 { echo "$as_me:$LINENO: result: yes" >&5
3615 echo "${ECHO_T}yes" >&6; }
3616
3617 CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"
3618 LIBS="$LIBS $libgtkhtml3_14_LIBS"
3619
3620 fi
3621
3622 # check for maemo
3623 { echo "$as_me:$LINENO: checking for Maemo" >&5
3624 echo $ECHO_N "checking for Maemo... $ECHO_C" >&6; }
3625 if test -n "$PKG_CONFIG" && \
3626 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5
3627 ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
3628 ac_status=$?
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); }; then
3631
3632 MAEMO="yes"
3633 { echo "$as_me:$LINENO: result: yes" >&5
3634 echo "${ECHO_T}yes" >&6; }
3635
3636
3637 pkg_failed=no
3638 { echo "$as_me:$LINENO: checking for hildon" >&5
3639 echo $ECHO_N "checking for hildon... $ECHO_C" >&6; }
3640
3641 if test -n "$PKG_CONFIG"; then
3642 if test -n "$hildon_CFLAGS"; then
3643 pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"
3644 else
3645 if test -n "$PKG_CONFIG" && \
3646 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
3647 ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
3648 ac_status=$?
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); }; then
3651 pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
3652 else
3653 pkg_failed=yes
3654 fi
3655 fi
3656 else
3657 pkg_failed=untried
3658 fi
3659 if test -n "$PKG_CONFIG"; then
3660 if test -n "$hildon_LIBS"; then
3661 pkg_cv_hildon_LIBS="$hildon_LIBS"
3662 else
3663 if test -n "$PKG_CONFIG" && \
3664 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
3665 ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
3666 ac_status=$?
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); }; then
3669 pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
3670 else
3671 pkg_failed=yes
3672 fi
3673 fi
3674 else
3675 pkg_failed=untried
3676 fi
3677
3678
3679
3680 if test $pkg_failed = yes; then
3681
3682 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3683 _pkg_short_errors_supported=yes
3684 else
3685 _pkg_short_errors_supported=no
3686 fi
3687 if test $_pkg_short_errors_supported = yes; then
3688 hildon_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1"`
3689 else
3690 hildon_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1"`
3691 fi
3692 # Put the nasty error message in config.log where it belongs
3693 echo "$hildon_PKG_ERRORS" >&5
3694
3695 { echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6; }
3697 { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
3698 echo "$as_me: error: hildon-1 missing" >&2;}
3699 { (exit 1); exit 1; }; }
3700 elif test $pkg_failed = untried; then
3701 { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
3702 echo "$as_me: error: hildon-1 missing" >&2;}
3703 { (exit 1); exit 1; }; }
3704 else
3705 hildon_CFLAGS=$pkg_cv_hildon_CFLAGS
3706 hildon_LIBS=$pkg_cv_hildon_LIBS
3707 { echo "$as_me:$LINENO: result: yes" >&5
3708 echo "${ECHO_T}yes" >&6; }
3709 :
3710 fi
3711 CFLAGS="$CFLAGS -DUSE_MAEMO $hildon_CFLAGS"
3712 LIBS="$LIBS $hildon_LIBS"
3713
3714
3715 pkg_failed=no
3716 { echo "$as_me:$LINENO: checking for osso" >&5
3717 echo $ECHO_N "checking for osso... $ECHO_C" >&6; }
3718
3719 if test -n "$PKG_CONFIG"; then
3720 if test -n "$osso_CFLAGS"; then
3721 pkg_cv_osso_CFLAGS="$osso_CFLAGS"
3722 else
3723 if test -n "$PKG_CONFIG" && \
3724 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
3725 ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
3726 ac_status=$?
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; then
3729 pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`
3730 else
3731 pkg_failed=yes
3732 fi
3733 fi
3734 else
3735 pkg_failed=untried
3736 fi
3737 if test -n "$PKG_CONFIG"; then
3738 if test -n "$osso_LIBS"; then
3739 pkg_cv_osso_LIBS="$osso_LIBS"
3740 else
3741 if test -n "$PKG_CONFIG" && \
3742 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
3743 ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
3744 ac_status=$?
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); }; then
3747 pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`
3748 else
3749 pkg_failed=yes
3750 fi
3751 fi
3752 else
3753 pkg_failed=untried
3754 fi
3755
3756
3757
3758 if test $pkg_failed = yes; then
3759
3760 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3761 _pkg_short_errors_supported=yes
3762 else
3763 _pkg_short_errors_supported=no
3764 fi
3765 if test $_pkg_short_errors_supported = yes; then
3766 osso_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libosso"`
3767 else
3768 osso_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libosso"`
3769 fi
3770 # Put the nasty error message in config.log where it belongs
3771 echo "$osso_PKG_ERRORS" >&5
3772
3773 { echo "$as_me:$LINENO: result: no" >&5
3774 echo "${ECHO_T}no" >&6; }
3775 { { echo "$as_me:$LINENO: error: libosso missing" >&5
3776 echo "$as_me: error: libosso missing" >&2;}
3777 { (exit 1); exit 1; }; }
3778 elif test $pkg_failed = untried; then
3779 { { echo "$as_me:$LINENO: error: libosso missing" >&5
3780 echo "$as_me: error: libosso missing" >&2;}
3781 { (exit 1); exit 1; }; }
3782 else
3783 osso_CFLAGS=$pkg_cv_osso_CFLAGS
3784 osso_LIBS=$pkg_cv_osso_LIBS
3785 { echo "$as_me:$LINENO: result: yes" >&5
3786 echo "${ECHO_T}yes" >&6; }
3787 :
3788 fi
3789 CFLAGS="$CFLAGS $osso_CFLAGS"
3790 LIBS="$LIBS $osso_LIBS"
3791
3792
3793 pkg_failed=no
3794 { echo "$as_me:$LINENO: checking for hildon_fm_2" >&5
3795 echo $ECHO_N "checking for hildon_fm_2... $ECHO_C" >&6; }
3796
3797 if test -n "$PKG_CONFIG"; then
3798 if test -n "$hildon_fm_2_CFLAGS"; then
3799 pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"
3800 else
3801 if test -n "$PKG_CONFIG" && \
3802 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
3803 ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
3804 ac_status=$?
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); }; then
3807 pkg_cv_hildon_fm_2_CFLAGS=`$PKG_CONFIG --cflags "hildon-fm-2" 2>/dev/null`
3808 else
3809 pkg_failed=yes
3810 fi
3811 fi
3812 else
3813 pkg_failed=untried
3814 fi
3815 if test -n "$PKG_CONFIG"; then
3816 if test -n "$hildon_fm_2_LIBS"; then
3817 pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"
3818 else
3819 if test -n "$PKG_CONFIG" && \
3820 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
3821 ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
3822 ac_status=$?
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); }; then
3825 pkg_cv_hildon_fm_2_LIBS=`$PKG_CONFIG --libs "hildon-fm-2" 2>/dev/null`
3826 else
3827 pkg_failed=yes
3828 fi
3829 fi
3830 else
3831 pkg_failed=untried
3832 fi
3833
3834
3835
3836 if test $pkg_failed = yes; then
3837
3838 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3839 _pkg_short_errors_supported=yes
3840 else
3841 _pkg_short_errors_supported=no
3842 fi
3843 if test $_pkg_short_errors_supported = yes; then
3844 hildon_fm_2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-fm-2"`
3845 else
3846 hildon_fm_2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-fm-2"`
3847 fi
3848 # Put the nasty error message in config.log where it belongs
3849 echo "$hildon_fm_2_PKG_ERRORS" >&5
3850
3851 { echo "$as_me:$LINENO: result: no" >&5
3852 echo "${ECHO_T}no" >&6; }
3853 { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
3854 echo "$as_me: error: hildon-fm-2 missing" >&2;}
3855 { (exit 1); exit 1; }; }
3856 elif test $pkg_failed = untried; then
3857 { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
3858 echo "$as_me: error: hildon-fm-2 missing" >&2;}
3859 { (exit 1); exit 1; }; }
3860 else
3861 hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS
3862 hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS
3863 { echo "$as_me:$LINENO: result: yes" >&5
3864 echo "${ECHO_T}yes" >&6; }
3865 :
3866 fi
3867 CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"
3868 LIBS="$LIBS $hildon_fm_2_LIBS"
3869
3870 # check for sqlite3 for maemo mapper interface
3871
3872 pkg_failed=no
3873 { echo "$as_me:$LINENO: checking for sqlite3" >&5
3874 echo $ECHO_N "checking for sqlite3... $ECHO_C" >&6; }
3875
3876 if test -n "$PKG_CONFIG"; then
3877 if test -n "$sqlite3_CFLAGS"; then
3878 pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"
3879 else
3880 if test -n "$PKG_CONFIG" && \
3881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
3882 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
3883 ac_status=$?
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); }; then
3886 pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
3887 else
3888 pkg_failed=yes
3889 fi
3890 fi
3891 else
3892 pkg_failed=untried
3893 fi
3894 if test -n "$PKG_CONFIG"; then
3895 if test -n "$sqlite3_LIBS"; then
3896 pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"
3897 else
3898 if test -n "$PKG_CONFIG" && \
3899 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
3900 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
3901 ac_status=$?
3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); }; then
3904 pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
3905 else
3906 pkg_failed=yes
3907 fi
3908 fi
3909 else
3910 pkg_failed=untried
3911 fi
3912
3913
3914
3915 if test $pkg_failed = yes; then
3916
3917 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3918 _pkg_short_errors_supported=yes
3919 else
3920 _pkg_short_errors_supported=no
3921 fi
3922 if test $_pkg_short_errors_supported = yes; then
3923 sqlite3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3"`
3924 else
3925 sqlite3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3"`
3926 fi
3927 # Put the nasty error message in config.log where it belongs
3928 echo "$sqlite3_PKG_ERRORS" >&5
3929
3930 { echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6; }
3932 { { echo "$as_me:$LINENO: error: sqlite3 missing" >&5
3933 echo "$as_me: error: sqlite3 missing" >&2;}
3934 { (exit 1); exit 1; }; }
3935 elif test $pkg_failed = untried; then
3936 { { echo "$as_me:$LINENO: error: sqlite3 missing" >&5
3937 echo "$as_me: error: sqlite3 missing" >&2;}
3938 { (exit 1); exit 1; }; }
3939 else
3940 sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS
3941 sqlite3_LIBS=$pkg_cv_sqlite3_LIBS
3942 { echo "$as_me:$LINENO: result: yes" >&5
3943 echo "${ECHO_T}yes" >&6; }
3944 :
3945 fi
3946 CFLAGS="$CFLAGS $sqlite3_CFLAGS"
3947 LIBS="$LIBS $sqlite3_LIBS"
3948
3949 # check for hildon-help
3950
3951 pkg_failed=no
3952 { echo "$as_me:$LINENO: checking for hildon_help" >&5
3953 echo $ECHO_N "checking for hildon_help... $ECHO_C" >&6; }
3954
3955 if test -n "$PKG_CONFIG"; then
3956 if test -n "$hildon_help_CFLAGS"; then
3957 pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"
3958 else
3959 if test -n "$PKG_CONFIG" && \
3960 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5
3961 ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
3962 ac_status=$?
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); }; then
3965 pkg_cv_hildon_help_CFLAGS=`$PKG_CONFIG --cflags "hildon-help" 2>/dev/null`
3966 else
3967 pkg_failed=yes
3968 fi
3969 fi
3970 else
3971 pkg_failed=untried
3972 fi
3973 if test -n "$PKG_CONFIG"; then
3974 if test -n "$hildon_help_LIBS"; then
3975 pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"
3976 else
3977 if test -n "$PKG_CONFIG" && \
3978 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5
3979 ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
3980 ac_status=$?
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); }; then
3983 pkg_cv_hildon_help_LIBS=`$PKG_CONFIG --libs "hildon-help" 2>/dev/null`
3984 else
3985 pkg_failed=yes
3986 fi
3987 fi
3988 else
3989 pkg_failed=untried
3990 fi
3991
3992
3993
3994 if test $pkg_failed = yes; then
3995
3996 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3997 _pkg_short_errors_supported=yes
3998 else
3999 _pkg_short_errors_supported=no
4000 fi
4001 if test $_pkg_short_errors_supported = yes; then
4002 hildon_help_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-help"`
4003 else
4004 hildon_help_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-help"`
4005 fi
4006 # Put the nasty error message in config.log where it belongs
4007 echo "$hildon_help_PKG_ERRORS" >&5
4008
4009 { echo "$as_me:$LINENO: result: no" >&5
4010 echo "${ECHO_T}no" >&6; }
4011
4012 { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5
4013 echo "$as_me: WARNING: hildon-help missing" >&6;}
4014
4015 elif test $pkg_failed = untried; then
4016
4017 { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5
4018 echo "$as_me: WARNING: hildon-help missing" >&6;}
4019
4020 else
4021 hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS
4022 hildon_help_LIBS=$pkg_cv_hildon_help_LIBS
4023 { echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6; }
4025
4026 CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"
4027 LIBS="$LIBS $hildon_help_LIBS"
4028
4029 fi
4030
4031 # prefer gpsbt over liblocation as we got complaints regarding liblocation
4032 # stability
4033 if test -n "$PKG_CONFIG" && \
4034 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4035 ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4036 ac_status=$?
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; then
4039
4040
4041 pkg_failed=no
4042 { echo "$as_me:$LINENO: checking for gpsbt" >&5
4043 echo $ECHO_N "checking for gpsbt... $ECHO_C" >&6; }
4044
4045 if test -n "$PKG_CONFIG"; then
4046 if test -n "$gpsbt_CFLAGS"; then
4047 pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"
4048 else
4049 if test -n "$PKG_CONFIG" && \
4050 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4051 ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4052 ac_status=$?
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); }; then
4055 pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`
4056 else
4057 pkg_failed=yes
4058 fi
4059 fi
4060 else
4061 pkg_failed=untried
4062 fi
4063 if test -n "$PKG_CONFIG"; then
4064 if test -n "$gpsbt_LIBS"; then
4065 pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"
4066 else
4067 if test -n "$PKG_CONFIG" && \
4068 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4069 ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4070 ac_status=$?
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); }; then
4073 pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`
4074 else
4075 pkg_failed=yes
4076 fi
4077 fi
4078 else
4079 pkg_failed=untried
4080 fi
4081
4082
4083
4084 if test $pkg_failed = yes; then
4085
4086 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4087 _pkg_short_errors_supported=yes
4088 else
4089 _pkg_short_errors_supported=no
4090 fi
4091 if test $_pkg_short_errors_supported = yes; then
4092 gpsbt_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gpsbt"`
4093 else
4094 gpsbt_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gpsbt"`
4095 fi
4096 # Put the nasty error message in config.log where it belongs
4097 echo "$gpsbt_PKG_ERRORS" >&5
4098
4099 { { echo "$as_me:$LINENO: error: Package requirements (gpsbt) were not met:
4100
4101 $gpsbt_PKG_ERRORS
4102
4103 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4104 installed software in a non-standard prefix.
4105
4106 Alternatively, you may set the environment variables gpsbt_CFLAGS
4107 and gpsbt_LIBS to avoid the need to call pkg-config.
4108 See the pkg-config man page for more details.
4109 " >&5
4110 echo "$as_me: error: Package requirements (gpsbt) were not met:
4111
4112 $gpsbt_PKG_ERRORS
4113
4114 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4115 installed software in a non-standard prefix.
4116
4117 Alternatively, you may set the environment variables gpsbt_CFLAGS
4118 and gpsbt_LIBS to avoid the need to call pkg-config.
4119 See the pkg-config man page for more details.
4120 " >&2;}
4121 { (exit 1); exit 1; }; }
4122 elif test $pkg_failed = untried; then
4123 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4124 is in your PATH or set the PKG_CONFIG environment variable to the full
4125 path to pkg-config.
4126
4127 Alternatively, you may set the environment variables gpsbt_CFLAGS
4128 and gpsbt_LIBS to avoid the need to call pkg-config.
4129 See the pkg-config man page for more details.
4130
4131 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4132 See \`config.log' for more details." >&5
4133 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4134 is in your PATH or set the PKG_CONFIG environment variable to the full
4135 path to pkg-config.
4136
4137 Alternatively, you may set the environment variables gpsbt_CFLAGS
4138 and gpsbt_LIBS to avoid the need to call pkg-config.
4139 See the pkg-config man page for more details.
4140
4141 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4142 See \`config.log' for more details." >&2;}
4143 { (exit 1); exit 1; }; }
4144 else
4145 gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS
4146 gpsbt_LIBS=$pkg_cv_gpsbt_LIBS
4147 { echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6; }
4149 :
4150 fi
4151 CFLAGS="$CFLAGS -DENABLE_GPSBT $gpsbt_CFLAGS"
4152 LIBS="$LIBS $gpsbt_LIBS"
4153
4154 else
4155
4156 { echo "$as_me:$LINENO: gpsbt not found, trying liblocation" >&5
4157 echo "$as_me: gpsbt not found, trying liblocation" >&6;}
4158
4159 if test -n "$PKG_CONFIG" && \
4160 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4161 ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4162 ac_status=$?
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); }; then
4165
4166
4167 pkg_failed=no
4168 { echo "$as_me:$LINENO: checking for liblocation" >&5
4169 echo $ECHO_N "checking for liblocation... $ECHO_C" >&6; }
4170
4171 if test -n "$PKG_CONFIG"; then
4172 if test -n "$liblocation_CFLAGS"; then
4173 pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"
4174 else
4175 if test -n "$PKG_CONFIG" && \
4176 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4177 ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4178 ac_status=$?
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); }; then
4181 pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`
4182 else
4183 pkg_failed=yes
4184 fi
4185 fi
4186 else
4187 pkg_failed=untried
4188 fi
4189 if test -n "$PKG_CONFIG"; then
4190 if test -n "$liblocation_LIBS"; then
4191 pkg_cv_liblocation_LIBS="$liblocation_LIBS"
4192 else
4193 if test -n "$PKG_CONFIG" && \
4194 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4195 ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4196 ac_status=$?
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); }; then
4199 pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`
4200 else
4201 pkg_failed=yes
4202 fi
4203 fi
4204 else
4205 pkg_failed=untried
4206 fi
4207
4208
4209
4210 if test $pkg_failed = yes; then
4211
4212 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4213 _pkg_short_errors_supported=yes
4214 else
4215 _pkg_short_errors_supported=no
4216 fi
4217 if test $_pkg_short_errors_supported = yes; then
4218 liblocation_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "liblocation"`
4219 else
4220 liblocation_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "liblocation"`
4221 fi
4222 # Put the nasty error message in config.log where it belongs
4223 echo "$liblocation_PKG_ERRORS" >&5
4224
4225 { { echo "$as_me:$LINENO: error: Package requirements (liblocation) were not met:
4226
4227 $liblocation_PKG_ERRORS
4228
4229 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4230 installed software in a non-standard prefix.
4231
4232 Alternatively, you may set the environment variables liblocation_CFLAGS
4233 and liblocation_LIBS to avoid the need to call pkg-config.
4234 See the pkg-config man page for more details.
4235 " >&5
4236 echo "$as_me: error: Package requirements (liblocation) were not met:
4237
4238 $liblocation_PKG_ERRORS
4239
4240 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4241 installed software in a non-standard prefix.
4242
4243 Alternatively, you may set the environment variables liblocation_CFLAGS
4244 and liblocation_LIBS to avoid the need to call pkg-config.
4245 See the pkg-config man page for more details.
4246 " >&2;}
4247 { (exit 1); exit 1; }; }
4248 elif test $pkg_failed = untried; then
4249 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4250 is in your PATH or set the PKG_CONFIG environment variable to the full
4251 path to pkg-config.
4252
4253 Alternatively, you may set the environment variables liblocation_CFLAGS
4254 and liblocation_LIBS to avoid the need to call pkg-config.
4255 See the pkg-config man page for more details.
4256
4257 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4258 See \`config.log' for more details." >&5
4259 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4260 is in your PATH or set the PKG_CONFIG environment variable to the full
4261 path to pkg-config.
4262
4263 Alternatively, you may set the environment variables liblocation_CFLAGS
4264 and liblocation_LIBS to avoid the need to call pkg-config.
4265 See the pkg-config man page for more details.
4266
4267 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4268 See \`config.log' for more details." >&2;}
4269 { (exit 1); exit 1; }; }
4270 else
4271 liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS
4272 liblocation_LIBS=$pkg_cv_liblocation_LIBS
4273 { echo "$as_me:$LINENO: result: yes" >&5
4274 echo "${ECHO_T}yes" >&6; }
4275 :
4276 fi
4277 CFLAGS="$CFLAGS -DENABLE_LIBLOCATION $liblocation_CFLAGS"
4278 LIBS="$LIBS $liblocation_LIBS"
4279
4280 else
4281
4282 { echo "$as_me:$LINENO: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&5
4283 echo "$as_me: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&6;}
4284
4285 fi
4286
4287 fi
4288
4289 if test -n "$PKG_CONFIG" && \
4290 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tablet-browser-interface\"") >&5
4291 ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5
4292 ac_status=$?
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); }; then
4295
4296 CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"
4297
4298 else
4299 { echo "$as_me:$LINENO: WARNING: No tablet-browser-interface found, disabling microb interface!" >&5
4300 echo "$as_me: WARNING: No tablet-browser-interface found, disabling microb interface!" >&6;}
4301 fi
4302
4303 if test -n "$PKG_CONFIG" && \
4304 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5
4305 ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
4306 ac_status=$?
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); }; then
4309
4310 VERSION=`pkg-config --modversion maemo-version`
4311 { echo "$as_me:$LINENO: Configuring for Maemo $VERSION" >&5
4312 echo "$as_me: Configuring for Maemo $VERSION" >&6;}
4313 CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""
4314 MAJOR=`echo $VERSION | cut -b1 -`
4315 CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"
4316
4317 else
4318
4319 { { echo "$as_me:$LINENO: error: maemo-version not found" >&5
4320 echo "$as_me: error: maemo-version not found" >&2;}
4321 { (exit 1); exit 1; }; }
4322
4323 fi
4324
4325 # maemo uses dbus for ipc with maemo mapper
4326 EXTRA_OBJS="$EXTRA_OBJS mm_poi.o dbus.o"
4327
4328 INSTALL_PLATTFORM="install-maemo"
4329
4330
4331 else
4332
4333 { echo "$as_me:$LINENO: result: no" >&5
4334 echo "${ECHO_T}no" >&6; }
4335
4336 # check for gtk+-2.0
4337
4338 pkg_failed=no
4339 { echo "$as_me:$LINENO: checking for gtk" >&5
4340 echo $ECHO_N "checking for gtk... $ECHO_C" >&6; }
4341
4342 if test -n "$PKG_CONFIG"; then
4343 if test -n "$gtk_CFLAGS"; then
4344 pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
4345 else
4346 if test -n "$PKG_CONFIG" && \
4347 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
4348 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
4349 ac_status=$?
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); }; then
4352 pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
4353 else
4354 pkg_failed=yes
4355 fi
4356 fi
4357 else
4358 pkg_failed=untried
4359 fi
4360 if test -n "$PKG_CONFIG"; then
4361 if test -n "$gtk_LIBS"; then
4362 pkg_cv_gtk_LIBS="$gtk_LIBS"
4363 else
4364 if test -n "$PKG_CONFIG" && \
4365 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
4366 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
4367 ac_status=$?
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); }; then
4370 pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
4371 else
4372 pkg_failed=yes
4373 fi
4374 fi
4375 else
4376 pkg_failed=untried
4377 fi
4378
4379
4380
4381 if test $pkg_failed = yes; then
4382
4383 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4384 _pkg_short_errors_supported=yes
4385 else
4386 _pkg_short_errors_supported=no
4387 fi
4388 if test $_pkg_short_errors_supported = yes; then
4389 gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
4390 else
4391 gtk_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
4392 fi
4393 # Put the nasty error message in config.log where it belongs
4394 echo "$gtk_PKG_ERRORS" >&5
4395
4396 { echo "$as_me:$LINENO: result: no" >&5
4397 echo "${ECHO_T}no" >&6; }
4398 { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
4399 echo "$as_me: error: gtk+-2.0 missing!" >&2;}
4400 { (exit 1); exit 1; }; }
4401 elif test $pkg_failed = untried; then
4402 { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
4403 echo "$as_me: error: gtk+-2.0 missing!" >&2;}
4404 { (exit 1); exit 1; }; }
4405 else
4406 gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
4407 gtk_LIBS=$pkg_cv_gtk_LIBS
4408 { echo "$as_me:$LINENO: result: yes" >&5
4409 echo "${ECHO_T}yes" >&6; }
4410 :
4411 fi
4412 CFLAGS="$CFLAGS $gtk_CFLAGS"
4413 LIBS="$LIBS $gtk_LIBS"
4414
4415 # non-maemo device use gnome to call the web browser
4416
4417 pkg_failed=no
4418 { echo "$as_me:$LINENO: checking for gnome2" >&5
4419 echo $ECHO_N "checking for gnome2... $ECHO_C" >&6; }
4420
4421 if test -n "$PKG_CONFIG"; then
4422 if test -n "$gnome2_CFLAGS"; then
4423 pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"
4424 else
4425 if test -n "$PKG_CONFIG" && \
4426 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5
4427 ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
4428 ac_status=$?
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); }; then
4431 pkg_cv_gnome2_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0" 2>/dev/null`
4432 else
4433 pkg_failed=yes
4434 fi
4435 fi
4436 else
4437 pkg_failed=untried
4438 fi
4439 if test -n "$PKG_CONFIG"; then
4440 if test -n "$gnome2_LIBS"; then
4441 pkg_cv_gnome2_LIBS="$gnome2_LIBS"
4442 else
4443 if test -n "$PKG_CONFIG" && \
4444 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5
4445 ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
4446 ac_status=$?
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); }; then
4449 pkg_cv_gnome2_LIBS=`$PKG_CONFIG --libs "libgnome-2.0" 2>/dev/null`
4450 else
4451 pkg_failed=yes
4452 fi
4453 fi
4454 else
4455 pkg_failed=untried
4456 fi
4457
4458
4459
4460 if test $pkg_failed = yes; then
4461
4462 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4463 _pkg_short_errors_supported=yes
4464 else
4465 _pkg_short_errors_supported=no
4466 fi
4467 if test $_pkg_short_errors_supported = yes; then
4468 gnome2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnome-2.0"`
4469 else
4470 gnome2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnome-2.0"`
4471 fi
4472 # Put the nasty error message in config.log where it belongs
4473 echo "$gnome2_PKG_ERRORS" >&5
4474
4475 { echo "$as_me:$LINENO: result: no" >&5
4476 echo "${ECHO_T}no" >&6; }
4477 { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
4478 echo "$as_me: error: libgnome-2.0 missing" >&2;}
4479 { (exit 1); exit 1; }; }
4480 elif test $pkg_failed = untried; then
4481 { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
4482 echo "$as_me: error: libgnome-2.0 missing" >&2;}
4483 { (exit 1); exit 1; }; }
4484 else
4485 gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS
4486 gnome2_LIBS=$pkg_cv_gnome2_LIBS
4487 { echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6; }
4489 :
4490 fi
4491 CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"
4492 LIBS="$LIBS $gnome2_LIBS"
4493
4494 INSTALL_PLATTFORM="install-debian"
4495
4496 fi
4497
4498
4499
4500 ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile"
4501
4502
4503 cat >confcache <<\_ACEOF
4504 # This file is a shell script that caches the results of configure
4505 # tests run on this system so they can be shared between configure
4506 # scripts and configure runs, see configure's option --config-cache.
4507 # It is not useful on other systems. If it contains results you don't
4508 # want to keep, you may remove or edit it.
4509 #
4510 # config.status only pays attention to the cache file if you give it
4511 # the --recheck option to rerun configure.
4512 #
4513 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4514 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4515 # following values.
4516
4517 _ACEOF
4518
4519 # The following way of writing the cache mishandles newlines in values,
4520 # but we know of no workaround that is simple, portable, and efficient.
4521 # So, we kill variables containing newlines.
4522 # Ultrix sh set writes to stderr and can't be redirected directly,
4523 # and sets the high bit in the cache file unless we assign to the vars.
4524 (
4525 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4526 eval ac_val=\$$ac_var
4527 case $ac_val in #(
4528 *${as_nl}*)
4529 case $ac_var in #(
4530 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4531 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4532 esac
4533 case $ac_var in #(
4534 _ | IFS | as_nl) ;; #(
4535 *) $as_unset $ac_var ;;
4536 esac ;;
4537 esac
4538 done
4539
4540 (set) 2>&1 |
4541 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4542 *${as_nl}ac_space=\ *)
4543 # `set' does not quote correctly, so add quotes (double-quote
4544 # substitution turns \\\\ into \\, and sed turns \\ into \).
4545 sed -n \
4546 "s/'/'\\\\''/g;
4547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4548 ;; #(
4549 *)
4550 # `set' quotes correctly as required by POSIX, so do not add quotes.
4551 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4552 ;;
4553 esac |
4554 sort
4555 ) |
4556 sed '
4557 /^ac_cv_env_/b end
4558 t clear
4559 :clear
4560 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4561 t end
4562 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4563 :end' >>confcache
4564 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4565 if test -w "$cache_file"; then
4566 test "x$cache_file" != "x/dev/null" &&
4567 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4568 echo "$as_me: updating cache $cache_file" >&6;}
4569 cat confcache >$cache_file
4570 else
4571 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4572 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4573 fi
4574 fi
4575 rm -f confcache
4576
4577 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4578 # Let make expand exec_prefix.
4579 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4580
4581 # Transform confdefs.h into DEFS.
4582 # Protect against shell expansion while executing Makefile rules.
4583 # Protect against Makefile macro expansion.
4584 #
4585 # If the first sed substitution is executed (which looks for macros that
4586 # take arguments), then branch to the quote section. Otherwise,
4587 # look for a macro that doesn't take arguments.
4588 ac_script='
4589 t clear
4590 :clear
4591 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4592 t quote
4593 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4594 t quote
4595 b any
4596 :quote
4597 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4598 s/\[/\\&/g
4599 s/\]/\\&/g
4600 s/\$/$$/g
4601 H
4602 :any
4603 ${
4604 g
4605 s/^\n//
4606 s/\n/ /g
4607 p
4608 }
4609 '
4610 DEFS=`sed -n "$ac_script" confdefs.h`
4611
4612
4613 ac_libobjs=
4614 ac_ltlibobjs=
4615 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4616 # 1. Remove the extension, and $U if already installed.
4617 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4618 ac_i=`echo "$ac_i" | sed "$ac_script"`
4619 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4620 # will be set to the directory where LIBOBJS objects are built.
4621 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4622 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4623 done
4624 LIBOBJS=$ac_libobjs
4625
4626 LTLIBOBJS=$ac_ltlibobjs
4627
4628
4629
4630 : ${CONFIG_STATUS=./config.status}
4631 ac_clean_files_save=$ac_clean_files
4632 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4633 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4634 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4635 cat >$CONFIG_STATUS <<_ACEOF
4636 #! $SHELL
4637 # Generated by $as_me.
4638 # Run this file to recreate the current configuration.
4639 # Compiler output produced by configure, useful for debugging
4640 # configure, is in config.log if it exists.
4641
4642 debug=false
4643 ac_cs_recheck=false
4644 ac_cs_silent=false
4645 SHELL=\${CONFIG_SHELL-$SHELL}
4646 _ACEOF
4647
4648 cat >>$CONFIG_STATUS <<\_ACEOF
4649 ## --------------------- ##
4650 ## M4sh Initialization. ##
4651 ## --------------------- ##
4652
4653 # Be more Bourne compatible
4654 DUALCASE=1; export DUALCASE # for MKS sh
4655 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4656 emulate sh
4657 NULLCMD=:
4658 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4659 # is contrary to our usage. Disable this feature.
4660 alias -g '${1+"$@"}'='"$@"'
4661 setopt NO_GLOB_SUBST
4662 else
4663 case `(set -o) 2>/dev/null` in
4664 *posix*) set -o posix ;;
4665 esac
4666
4667 fi
4668
4669
4670
4671
4672 # PATH needs CR
4673 # Avoid depending upon Character Ranges.
4674 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4675 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4676 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4677 as_cr_digits='0123456789'
4678 as_cr_alnum=$as_cr_Letters$as_cr_digits
4679
4680 # The user is always right.
4681 if test "${PATH_SEPARATOR+set}" != set; then
4682 echo "#! /bin/sh" >conf$$.sh
4683 echo "exit 0" >>conf$$.sh
4684 chmod +x conf$$.sh
4685 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4686 PATH_SEPARATOR=';'
4687 else
4688 PATH_SEPARATOR=:
4689 fi
4690 rm -f conf$$.sh
4691 fi
4692
4693 # Support unset when possible.
4694 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4695 as_unset=unset
4696 else
4697 as_unset=false
4698 fi
4699
4700
4701 # IFS
4702 # We need space, tab and new line, in precisely that order. Quoting is
4703 # there to prevent editors from complaining about space-tab.
4704 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4705 # splitting by setting IFS to empty value.)
4706 as_nl='
4707 '
4708 IFS=" "" $as_nl"
4709
4710 # Find who we are. Look in the path if we contain no directory separator.
4711 case $0 in
4712 *[\\/]* ) as_myself=$0 ;;
4713 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in $PATH
4715 do
4716 IFS=$as_save_IFS
4717 test -z "$as_dir" && as_dir=.
4718 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4719 done
4720 IFS=$as_save_IFS
4721
4722 ;;
4723 esac
4724 # We did not find ourselves, most probably we were run as `sh COMMAND'
4725 # in which case we are not to be found in the path.
4726 if test "x$as_myself" = x; then
4727 as_myself=$0
4728 fi
4729 if test ! -f "$as_myself"; then
4730 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4731 { (exit 1); exit 1; }
4732 fi
4733
4734 # Work around bugs in pre-3.0 UWIN ksh.
4735 for as_var in ENV MAIL MAILPATH
4736 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4737 done
4738 PS1='$ '
4739 PS2='> '
4740 PS4='+ '
4741
4742 # NLS nuisances.
4743 for as_var in \
4744 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4745 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4746 LC_TELEPHONE LC_TIME
4747 do
4748 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4749 eval $as_var=C; export $as_var
4750 else
4751 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4752 fi
4753 done
4754
4755 # Required to use basename.
4756 if expr a : '\(a\)' >/dev/null 2>&1 &&
4757 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4758 as_expr=expr
4759 else
4760 as_expr=false
4761 fi
4762
4763 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4764 as_basename=basename
4765 else
4766 as_basename=false
4767 fi
4768
4769
4770 # Name of the executable.
4771 as_me=`$as_basename -- "$0" ||
4772 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4773 X"$0" : 'X\(//\)$' \| \
4774 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4775 echo X/"$0" |
4776 sed '/^.*\/\([^/][^/]*\)\/*$/{
4777 s//\1/
4778 q
4779 }
4780 /^X\/\(\/\/\)$/{
4781 s//\1/
4782 q
4783 }
4784 /^X\/\(\/\).*/{
4785 s//\1/
4786 q
4787 }
4788 s/.*/./; q'`
4789
4790 # CDPATH.
4791 $as_unset CDPATH
4792
4793
4794
4795 as_lineno_1=$LINENO
4796 as_lineno_2=$LINENO
4797 test "x$as_lineno_1" != "x$as_lineno_2" &&
4798 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4799
4800 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4801 # uniformly replaced by the line number. The first 'sed' inserts a
4802 # line-number line after each line using $LINENO; the second 'sed'
4803 # does the real work. The second script uses 'N' to pair each
4804 # line-number line with the line containing $LINENO, and appends
4805 # trailing '-' during substitution so that $LINENO is not a special
4806 # case at line end.
4807 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4808 # scripts with optimization help from Paolo Bonzini. Blame Lee
4809 # E. McMahon (1931-1989) for sed's syntax. :-)
4810 sed -n '
4811 p
4812 /[$]LINENO/=
4813 ' <$as_myself |
4814 sed '
4815 s/[$]LINENO.*/&-/
4816 t lineno
4817 b
4818 :lineno
4819 N
4820 :loop
4821 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4822 t loop
4823 s/-\n.*//
4824 ' >$as_me.lineno &&
4825 chmod +x "$as_me.lineno" ||
4826 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4827 { (exit 1); exit 1; }; }
4828
4829 # Don't try to exec as it changes $[0], causing all sort of problems
4830 # (the dirname of $[0] is not the place where we might find the
4831 # original and so on. Autoconf is especially sensitive to this).
4832 . "./$as_me.lineno"
4833 # Exit status is that of the last command.
4834 exit
4835 }
4836
4837
4838 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4839 as_dirname=dirname
4840 else
4841 as_dirname=false
4842 fi
4843
4844 ECHO_C= ECHO_N= ECHO_T=
4845 case `echo -n x` in
4846 -n*)
4847 case `echo 'x\c'` in
4848 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4849 *) ECHO_C='\c';;
4850 esac;;
4851 *)
4852 ECHO_N='-n';;
4853 esac
4854
4855 if expr a : '\(a\)' >/dev/null 2>&1 &&
4856 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4857 as_expr=expr
4858 else
4859 as_expr=false
4860 fi
4861
4862 rm -f conf$$ conf$$.exe conf$$.file
4863 if test -d conf$$.dir; then
4864 rm -f conf$$.dir/conf$$.file
4865 else
4866 rm -f conf$$.dir
4867 mkdir conf$$.dir
4868 fi
4869 echo >conf$$.file
4870 if ln -s conf$$.file conf$$ 2>/dev/null; then
4871 as_ln_s='ln -s'
4872 # ... but there are two gotchas:
4873 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4874 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4875 # In both cases, we have to default to `cp -p'.
4876 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4877 as_ln_s='cp -p'
4878 elif ln conf$$.file conf$$ 2>/dev/null; then
4879 as_ln_s=ln
4880 else
4881 as_ln_s='cp -p'
4882 fi
4883 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4884 rmdir conf$$.dir 2>/dev/null
4885
4886 if mkdir -p . 2>/dev/null; then
4887 as_mkdir_p=:
4888 else
4889 test -d ./-p && rmdir ./-p
4890 as_mkdir_p=false
4891 fi
4892
4893 if test -x / >/dev/null 2>&1; then
4894 as_test_x='test -x'
4895 else
4896 if ls -dL / >/dev/null 2>&1; then
4897 as_ls_L_option=L
4898 else
4899 as_ls_L_option=
4900 fi
4901 as_test_x='
4902 eval sh -c '\''
4903 if test -d "$1"; then
4904 test -d "$1/.";
4905 else
4906 case $1 in
4907 -*)set "./$1";;
4908 esac;
4909 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4910 ???[sx]*):;;*)false;;esac;fi
4911 '\'' sh
4912 '
4913 fi
4914 as_executable_p=$as_test_x
4915
4916 # Sed expression to map a string onto a valid CPP name.
4917 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4918
4919 # Sed expression to map a string onto a valid variable name.
4920 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4921
4922
4923 exec 6>&1
4924
4925 # Save the log message, to keep $[0] and so on meaningful, and to
4926 # report actual input values of CONFIG_FILES etc. instead of their
4927 # values after options handling.
4928 ac_log="
4929 This file was extended by GPXView $as_me 0.8.1, which was
4930 generated by GNU Autoconf 2.61. Invocation command line was
4931
4932 CONFIG_FILES = $CONFIG_FILES
4933 CONFIG_HEADERS = $CONFIG_HEADERS
4934 CONFIG_LINKS = $CONFIG_LINKS
4935 CONFIG_COMMANDS = $CONFIG_COMMANDS
4936 $ $0 $@
4937
4938 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4939 "
4940
4941 _ACEOF
4942
4943 cat >>$CONFIG_STATUS <<_ACEOF
4944 # Files that config.status was made for.
4945 config_files="$ac_config_files"
4946
4947 _ACEOF
4948
4949 cat >>$CONFIG_STATUS <<\_ACEOF
4950 ac_cs_usage="\
4951 \`$as_me' instantiates files from templates according to the
4952 current configuration.
4953
4954 Usage: $0 [OPTIONS] [FILE]...
4955
4956 -h, --help print this help, then exit
4957 -V, --version print version number and configuration settings, then exit
4958 -q, --quiet do not print progress messages
4959 -d, --debug don't remove temporary files
4960 --recheck update $as_me by reconfiguring in the same conditions
4961 --file=FILE[:TEMPLATE]
4962 instantiate the configuration file FILE
4963
4964 Configuration files:
4965 $config_files
4966
4967 Report bugs to <bug-autoconf@gnu.org>."
4968
4969 _ACEOF
4970 cat >>$CONFIG_STATUS <<_ACEOF
4971 ac_cs_version="\\
4972 GPXView config.status 0.8.1
4973 configured by $0, generated by GNU Autoconf 2.61,
4974 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4975
4976 Copyright (C) 2006 Free Software Foundation, Inc.
4977 This config.status script is free software; the Free Software Foundation
4978 gives unlimited permission to copy, distribute and modify it."
4979
4980 ac_pwd='$ac_pwd'
4981 srcdir='$srcdir'
4982 INSTALL='$INSTALL'
4983 _ACEOF
4984
4985 cat >>$CONFIG_STATUS <<\_ACEOF
4986 # If no file are specified by the user, then we need to provide default
4987 # value. By we need to know if files were specified by the user.
4988 ac_need_defaults=:
4989 while test $# != 0
4990 do
4991 case $1 in
4992 --*=*)
4993 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4994 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4995 ac_shift=:
4996 ;;
4997 *)
4998 ac_option=$1
4999 ac_optarg=$2
5000 ac_shift=shift
5001 ;;
5002 esac
5003
5004 case $ac_option in
5005 # Handling of the options.
5006 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5007 ac_cs_recheck=: ;;
5008 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5009 echo "$ac_cs_version"; exit ;;
5010 --debug | --debu | --deb | --de | --d | -d )
5011 debug=: ;;
5012 --file | --fil | --fi | --f )
5013 $ac_shift
5014 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5015 ac_need_defaults=false;;
5016 --he | --h | --help | --hel | -h )
5017 echo "$ac_cs_usage"; exit ;;
5018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5019 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5020 ac_cs_silent=: ;;
5021
5022 # This is an error.
5023 -*) { echo "$as_me: error: unrecognized option: $1
5024 Try \`$0 --help' for more information." >&2
5025 { (exit 1); exit 1; }; } ;;
5026
5027 *) ac_config_targets="$ac_config_targets $1"
5028 ac_need_defaults=false ;;
5029
5030 esac
5031 shift
5032 done
5033
5034 ac_configure_extra_args=
5035
5036 if $ac_cs_silent; then
5037 exec 6>/dev/null
5038 ac_configure_extra_args="$ac_configure_extra_args --silent"
5039 fi
5040
5041 _ACEOF
5042 cat >>$CONFIG_STATUS <<_ACEOF
5043 if \$ac_cs_recheck; then
5044 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5045 CONFIG_SHELL=$SHELL
5046 export CONFIG_SHELL
5047 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5048 fi
5049
5050 _ACEOF
5051 cat >>$CONFIG_STATUS <<\_ACEOF
5052 exec 5>>config.log
5053 {
5054 echo
5055 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5056 ## Running $as_me. ##
5057 _ASBOX
5058 echo "$ac_log"
5059 } >&5
5060
5061 _ACEOF
5062 cat >>$CONFIG_STATUS <<_ACEOF
5063 _ACEOF
5064
5065 cat >>$CONFIG_STATUS <<\_ACEOF
5066
5067 # Handling of arguments.
5068 for ac_config_target in $ac_config_targets
5069 do
5070 case $ac_config_target in
5071 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5072 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5073 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
5074
5075 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5076 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5077 { (exit 1); exit 1; }; };;
5078 esac
5079 done
5080
5081
5082 # If the user did not use the arguments to specify the items to instantiate,
5083 # then the envvar interface is used. Set only those that are not.
5084 # We use the long form for the default assignment because of an extremely
5085 # bizarre bug on SunOS 4.1.3.
5086 if $ac_need_defaults; then
5087 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5088 fi
5089
5090 # Have a temporary directory for convenience. Make it in the build tree
5091 # simply because there is no reason against having it here, and in addition,
5092 # creating and moving files from /tmp can sometimes cause problems.
5093 # Hook for its removal unless debugging.
5094 # Note that there is a small window in which the directory will not be cleaned:
5095 # after its creation but before its name has been assigned to `$tmp'.
5096 $debug ||
5097 {
5098 tmp=
5099 trap 'exit_status=$?
5100 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5101 ' 0
5102 trap '{ (exit 1); exit 1; }' 1 2 13 15
5103 }
5104 # Create a (secure) tmp directory for tmp files.
5105
5106 {
5107 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5108 test -n "$tmp" && test -d "$tmp"
5109 } ||
5110 {
5111 tmp=./conf$$-$RANDOM
5112 (umask 077 && mkdir "$tmp")
5113 } ||
5114 {
5115 echo "$me: cannot create a temporary directory in ." >&2
5116 { (exit 1); exit 1; }
5117 }
5118
5119 #
5120 # Set up the sed scripts for CONFIG_FILES section.
5121 #
5122
5123 # No need to generate the scripts if there are no CONFIG_FILES.
5124 # This happens for instance when ./config.status config.h
5125 if test -n "$CONFIG_FILES"; then
5126
5127 _ACEOF
5128
5129
5130
5131 ac_delim='%!_!# '
5132 for ac_last_try in false false false false false :; do
5133 cat >conf$$subs.sed <<_ACEOF
5134 SHELL!$SHELL$ac_delim
5135 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5136 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5137 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5138 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5139 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5140 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5141 exec_prefix!$exec_prefix$ac_delim
5142 prefix!$prefix$ac_delim
5143 program_transform_name!$program_transform_name$ac_delim
5144 bindir!$bindir$ac_delim
5145 sbindir!$sbindir$ac_delim
5146 libexecdir!$libexecdir$ac_delim
5147 datarootdir!$datarootdir$ac_delim
5148 datadir!$datadir$ac_delim
5149 sysconfdir!$sysconfdir$ac_delim
5150 sharedstatedir!$sharedstatedir$ac_delim
5151 localstatedir!$localstatedir$ac_delim
5152 includedir!$includedir$ac_delim
5153 oldincludedir!$oldincludedir$ac_delim
5154 docdir!$docdir$ac_delim
5155 infodir!$infodir$ac_delim
5156 htmldir!$htmldir$ac_delim
5157 dvidir!$dvidir$ac_delim
5158 pdfdir!$pdfdir$ac_delim
5159 psdir!$psdir$ac_delim
5160 libdir!$libdir$ac_delim
5161 localedir!$localedir$ac_delim
5162 mandir!$mandir$ac_delim
5163 DEFS!$DEFS$ac_delim
5164 ECHO_C!$ECHO_C$ac_delim
5165 ECHO_N!$ECHO_N$ac_delim
5166 ECHO_T!$ECHO_T$ac_delim
5167 LIBS!$LIBS$ac_delim
5168 build_alias!$build_alias$ac_delim
5169 host_alias!$host_alias$ac_delim
5170 target_alias!$target_alias$ac_delim
5171 PACKAGE!$PACKAGE$ac_delim
5172 CC!$CC$ac_delim
5173 CFLAGS!$CFLAGS$ac_delim
5174 LDFLAGS!$LDFLAGS$ac_delim
5175 CPPFLAGS!$CPPFLAGS$ac_delim
5176 ac_ct_CC!$ac_ct_CC$ac_delim
5177 EXEEXT!$EXEEXT$ac_delim
5178 OBJEXT!$OBJEXT$ac_delim
5179 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5180 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5181 INSTALL_DATA!$INSTALL_DATA$ac_delim
5182 LN_S!$LN_S$ac_delim
5183 SET_MAKE!$SET_MAKE$ac_delim
5184 PKG_CONFIG!$PKG_CONFIG$ac_delim
5185 gnome_vfs_module_CFLAGS!$gnome_vfs_module_CFLAGS$ac_delim
5186 gnome_vfs_module_LIBS!$gnome_vfs_module_LIBS$ac_delim
5187 libxml2_CFLAGS!$libxml2_CFLAGS$ac_delim
5188 libxml2_LIBS!$libxml2_LIBS$ac_delim
5189 libsoup24_CFLAGS!$libsoup24_CFLAGS$ac_delim
5190 libsoup24_LIBS!$libsoup24_LIBS$ac_delim
5191 libsoup22_CFLAGS!$libsoup22_CFLAGS$ac_delim
5192 libsoup22_LIBS!$libsoup22_LIBS$ac_delim
5193 libgtkhtml3_14_CFLAGS!$libgtkhtml3_14_CFLAGS$ac_delim
5194 libgtkhtml3_14_LIBS!$libgtkhtml3_14_LIBS$ac_delim
5195 libgtkhtml3_8_CFLAGS!$libgtkhtml3_8_CFLAGS$ac_delim
5196 libgtkhtml3_8_LIBS!$libgtkhtml3_8_LIBS$ac_delim
5197 hildon_CFLAGS!$hildon_CFLAGS$ac_delim
5198 hildon_LIBS!$hildon_LIBS$ac_delim
5199 osso_CFLAGS!$osso_CFLAGS$ac_delim
5200 osso_LIBS!$osso_LIBS$ac_delim
5201 hildon_fm_2_CFLAGS!$hildon_fm_2_CFLAGS$ac_delim
5202 hildon_fm_2_LIBS!$hildon_fm_2_LIBS$ac_delim
5203 sqlite3_CFLAGS!$sqlite3_CFLAGS$ac_delim
5204 sqlite3_LIBS!$sqlite3_LIBS$ac_delim
5205 hildon_help_CFLAGS!$hildon_help_CFLAGS$ac_delim
5206 hildon_help_LIBS!$hildon_help_LIBS$ac_delim
5207 gpsbt_CFLAGS!$gpsbt_CFLAGS$ac_delim
5208 gpsbt_LIBS!$gpsbt_LIBS$ac_delim
5209 liblocation_CFLAGS!$liblocation_CFLAGS$ac_delim
5210 liblocation_LIBS!$liblocation_LIBS$ac_delim
5211 gtk_CFLAGS!$gtk_CFLAGS$ac_delim
5212 gtk_LIBS!$gtk_LIBS$ac_delim
5213 gnome2_CFLAGS!$gnome2_CFLAGS$ac_delim
5214 gnome2_LIBS!$gnome2_LIBS$ac_delim
5215 EXTRA_OBJS!$EXTRA_OBJS$ac_delim
5216 INSTALL_PLATTFORM!$INSTALL_PLATTFORM$ac_delim
5217 LIBOBJS!$LIBOBJS$ac_delim
5218 LTLIBOBJS!$LTLIBOBJS$ac_delim
5219 _ACEOF
5220
5221 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
5222 break
5223 elif $ac_last_try; then
5224 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5225 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5226 { (exit 1); exit 1; }; }
5227 else
5228 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5229 fi
5230 done
5231
5232 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5233 if test -n "$ac_eof"; then
5234 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5235 ac_eof=`expr $ac_eof + 1`
5236 fi
5237
5238 cat >>$CONFIG_STATUS <<_ACEOF
5239 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5240 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5241 _ACEOF
5242 sed '
5243 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5244 s/^/s,@/; s/!/@,|#_!!_#|/
5245 :n
5246 t n
5247 s/'"$ac_delim"'$/,g/; t
5248 s/$/\\/; p
5249 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5250 ' >>$CONFIG_STATUS <conf$$subs.sed
5251 rm -f conf$$subs.sed
5252 cat >>$CONFIG_STATUS <<_ACEOF
5253 :end
5254 s/|#_!!_#|//g
5255 CEOF$ac_eof
5256 _ACEOF
5257
5258
5259 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5260 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5261 # trailing colons and then remove the whole line if VPATH becomes empty
5262 # (actually we leave an empty line to preserve line numbers).
5263 if test "x$srcdir" = x.; then
5264 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5265 s/:*\$(srcdir):*/:/
5266 s/:*\${srcdir}:*/:/
5267 s/:*@srcdir@:*/:/
5268 s/^\([^=]*=[ ]*\):*/\1/
5269 s/:*$//
5270 s/^[^=]*=[ ]*$//
5271 }'
5272 fi
5273
5274 cat >>$CONFIG_STATUS <<\_ACEOF
5275 fi # test -n "$CONFIG_FILES"
5276
5277
5278 for ac_tag in :F $CONFIG_FILES
5279 do
5280 case $ac_tag in
5281 :[FHLC]) ac_mode=$ac_tag; continue;;
5282 esac
5283 case $ac_mode$ac_tag in
5284 :[FHL]*:*);;
5285 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5286 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5287 { (exit 1); exit 1; }; };;
5288 :[FH]-) ac_tag=-:-;;
5289 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5290 esac
5291 ac_save_IFS=$IFS
5292 IFS=:
5293 set x $ac_tag
5294 IFS=$ac_save_IFS
5295 shift
5296 ac_file=$1
5297 shift
5298
5299 case $ac_mode in
5300 :L) ac_source=$1;;
5301 :[FH])
5302 ac_file_inputs=
5303 for ac_f
5304 do
5305 case $ac_f in
5306 -) ac_f="$tmp/stdin";;
5307 *) # Look for the file first in the build tree, then in the source tree
5308 # (if the path is not absolute). The absolute path cannot be DOS-style,
5309 # because $ac_f cannot contain `:'.
5310 test -f "$ac_f" ||
5311 case $ac_f in
5312 [\\/$]*) false;;
5313 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5314 esac ||
5315 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5316 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5317 { (exit 1); exit 1; }; };;
5318 esac
5319 ac_file_inputs="$ac_file_inputs $ac_f"
5320 done
5321
5322 # Let's still pretend it is `configure' which instantiates (i.e., don't
5323 # use $as_me), people would be surprised to read:
5324 # /* config.h. Generated by config.status. */
5325 configure_input="Generated from "`IFS=:
5326 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5327 if test x"$ac_file" != x-; then
5328 configure_input="$ac_file. $configure_input"
5329 { echo "$as_me:$LINENO: creating $ac_file" >&5
5330 echo "$as_me: creating $ac_file" >&6;}
5331 fi
5332
5333 case $ac_tag in
5334 *:-:* | *:-) cat >"$tmp/stdin";;
5335 esac
5336 ;;
5337 esac
5338
5339 ac_dir=`$as_dirname -- "$ac_file" ||
5340 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5341 X"$ac_file" : 'X\(//\)[^/]' \| \
5342 X"$ac_file" : 'X\(//\)$' \| \
5343 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5344 echo X"$ac_file" |
5345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5346 s//\1/
5347 q
5348 }
5349 /^X\(\/\/\)[^/].*/{
5350 s//\1/
5351 q
5352 }
5353 /^X\(\/\/\)$/{
5354 s//\1/
5355 q
5356 }
5357 /^X\(\/\).*/{
5358 s//\1/
5359 q
5360 }
5361 s/.*/./; q'`
5362 { as_dir="$ac_dir"
5363 case $as_dir in #(
5364 -*) as_dir=./$as_dir;;
5365 esac
5366 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5367 as_dirs=
5368 while :; do
5369 case $as_dir in #(
5370 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5371 *) as_qdir=$as_dir;;
5372 esac
5373 as_dirs="'$as_qdir' $as_dirs"
5374 as_dir=`$as_dirname -- "$as_dir" ||
5375 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5376 X"$as_dir" : 'X\(//\)[^/]' \| \
5377 X"$as_dir" : 'X\(//\)$' \| \
5378 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5379 echo X"$as_dir" |
5380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5381 s//\1/
5382 q
5383 }
5384 /^X\(\/\/\)[^/].*/{
5385 s//\1/
5386 q
5387 }
5388 /^X\(\/\/\)$/{
5389 s//\1/
5390 q
5391 }
5392 /^X\(\/\).*/{
5393 s//\1/
5394 q
5395 }
5396 s/.*/./; q'`
5397 test -d "$as_dir" && break
5398 done
5399 test -z "$as_dirs" || eval "mkdir $as_dirs"
5400 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5401 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5402 { (exit 1); exit 1; }; }; }
5403 ac_builddir=.
5404
5405 case "$ac_dir" in
5406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5407 *)
5408 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5409 # A ".." for each directory in $ac_dir_suffix.
5410 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5411 case $ac_top_builddir_sub in
5412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5414 esac ;;
5415 esac
5416 ac_abs_top_builddir=$ac_pwd
5417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5418 # for backward compatibility:
5419 ac_top_builddir=$ac_top_build_prefix
5420
5421 case $srcdir in
5422 .) # We are building in place.
5423 ac_srcdir=.
5424 ac_top_srcdir=$ac_top_builddir_sub
5425 ac_abs_top_srcdir=$ac_pwd ;;
5426 [\\/]* | ?:[\\/]* ) # Absolute name.
5427 ac_srcdir=$srcdir$ac_dir_suffix;
5428 ac_top_srcdir=$srcdir
5429 ac_abs_top_srcdir=$srcdir ;;
5430 *) # Relative name.
5431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5432 ac_top_srcdir=$ac_top_build_prefix$srcdir
5433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5434 esac
5435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5436
5437
5438 case $ac_mode in
5439 :F)
5440 #
5441 # CONFIG_FILE
5442 #
5443
5444 case $INSTALL in
5445 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5446 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5447 esac
5448 _ACEOF
5449
5450 cat >>$CONFIG_STATUS <<\_ACEOF
5451 # If the template does not know about datarootdir, expand it.
5452 # FIXME: This hack should be removed a few years after 2.60.
5453 ac_datarootdir_hack=; ac_datarootdir_seen=
5454
5455 case `sed -n '/datarootdir/ {
5456 p
5457 q
5458 }
5459 /@datadir@/p
5460 /@docdir@/p
5461 /@infodir@/p
5462 /@localedir@/p
5463 /@mandir@/p
5464 ' $ac_file_inputs` in
5465 *datarootdir*) ac_datarootdir_seen=yes;;
5466 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5467 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5468 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5469 _ACEOF
5470 cat >>$CONFIG_STATUS <<_ACEOF
5471 ac_datarootdir_hack='
5472 s&@datadir@&$datadir&g
5473 s&@docdir@&$docdir&g
5474 s&@infodir@&$infodir&g
5475 s&@localedir@&$localedir&g
5476 s&@mandir@&$mandir&g
5477 s&\\\${datarootdir}&$datarootdir&g' ;;
5478 esac
5479 _ACEOF
5480
5481 # Neutralize VPATH when `$srcdir' = `.'.
5482 # Shell code in configure.ac might set extrasub.
5483 # FIXME: do we really want to maintain this feature?
5484 cat >>$CONFIG_STATUS <<_ACEOF
5485 sed "$ac_vpsub
5486 $extrasub
5487 _ACEOF
5488 cat >>$CONFIG_STATUS <<\_ACEOF
5489 :t
5490 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5491 s&@configure_input@&$configure_input&;t t
5492 s&@top_builddir@&$ac_top_builddir_sub&;t t
5493 s&@srcdir@&$ac_srcdir&;t t
5494 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5495 s&@top_srcdir@&$ac_top_srcdir&;t t
5496 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5497 s&@builddir@&$ac_builddir&;t t
5498 s&@abs_builddir@&$ac_abs_builddir&;t t
5499 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5500 s&@INSTALL@&$ac_INSTALL&;t t
5501 $ac_datarootdir_hack
5502 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5503
5504 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5505 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5506 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5507 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5508 which seems to be undefined. Please make sure it is defined." >&5
5509 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5510 which seems to be undefined. Please make sure it is defined." >&2;}
5511
5512 rm -f "$tmp/stdin"
5513 case $ac_file in
5514 -) cat "$tmp/out"; rm -f "$tmp/out";;
5515 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5516 esac
5517 ;;
5518
5519
5520
5521 esac
5522
5523 done # for ac_tag
5524
5525
5526 { (exit 0); exit 0; }
5527 _ACEOF
5528 chmod +x $CONFIG_STATUS
5529 ac_clean_files=$ac_clean_files_save
5530
5531
5532 # configure is writing to config.log, and then calls config.status.
5533 # config.status does its own redirection, appending to config.log.
5534 # Unfortunately, on DOS this fails, as config.log is still kept open
5535 # by configure, so config.status won't be able to write to it; its
5536 # output is simply discarded. So we exec the FD to /dev/null,
5537 # effectively closing config.log, so it can be properly (re)opened and
5538 # appended to by config.status. When coming back to configure, we
5539 # need to make the FD available again.
5540 if test "$no_create" != yes; then
5541 ac_cs_success=:
5542 ac_config_status_args=
5543 test "$silent" = yes &&
5544 ac_config_status_args="$ac_config_status_args --quiet"
5545 exec 5>/dev/null
5546 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5547 exec 5>>config.log
5548 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5549 # would make configure fail if this is the last instruction.
5550 $ac_cs_success || { (exit 1); exit 1; }
5551 fi
5552

Properties

Name Value
svn:executable