Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable *