Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable *