Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable *