Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable *