Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable *