Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 110 - (show annotations)
Fri Mar 6 13:06:08 2009 UTC (15 years, 2 months ago) by harbaum
File size: 136868 byte(s)
Initial autoconf integration
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 # gthread-2.0 gpsbt
3279
3280 pkg_failed=no
3281 { echo "$as_me:$LINENO: checking for hildon" >&5
3282 echo $ECHO_N "checking for hildon... $ECHO_C" >&6; }
3283
3284 if test -n "$PKG_CONFIG"; then
3285 if test -n "$hildon_CFLAGS"; then
3286 pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"
3287 else
3288 if test -n "$PKG_CONFIG" && \
3289 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
3290 ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
3291 ac_status=$?
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); }; then
3294 pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
3295 else
3296 pkg_failed=yes
3297 fi
3298 fi
3299 else
3300 pkg_failed=untried
3301 fi
3302 if test -n "$PKG_CONFIG"; then
3303 if test -n "$hildon_LIBS"; then
3304 pkg_cv_hildon_LIBS="$hildon_LIBS"
3305 else
3306 if test -n "$PKG_CONFIG" && \
3307 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
3308 ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
3309 ac_status=$?
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }; then
3312 pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
3313 else
3314 pkg_failed=yes
3315 fi
3316 fi
3317 else
3318 pkg_failed=untried
3319 fi
3320
3321
3322
3323 if test $pkg_failed = yes; then
3324
3325 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3326 _pkg_short_errors_supported=yes
3327 else
3328 _pkg_short_errors_supported=no
3329 fi
3330 if test $_pkg_short_errors_supported = yes; then
3331 hildon_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1"`
3332 else
3333 hildon_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1"`
3334 fi
3335 # Put the nasty error message in config.log where it belongs
3336 echo "$hildon_PKG_ERRORS" >&5
3337
3338 { echo "$as_me:$LINENO: result: no" >&5
3339 echo "${ECHO_T}no" >&6; }
3340 { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
3341 echo "$as_me: error: hildon-1 missing" >&2;}
3342 { (exit 1); exit 1; }; }
3343 elif test $pkg_failed = untried; then
3344 { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
3345 echo "$as_me: error: hildon-1 missing" >&2;}
3346 { (exit 1); exit 1; }; }
3347 else
3348 hildon_CFLAGS=$pkg_cv_hildon_CFLAGS
3349 hildon_LIBS=$pkg_cv_hildon_LIBS
3350 { echo "$as_me:$LINENO: result: yes" >&5
3351 echo "${ECHO_T}yes" >&6; }
3352 :
3353 fi
3354 CFLAGS="$CFLAGS -DUSE_hildon $hildon_CFLAGS"
3355 LIBS="$LIBS $hildon_LIBS"
3356
3357
3358 pkg_failed=no
3359 { echo "$as_me:$LINENO: checking for osso" >&5
3360 echo $ECHO_N "checking for osso... $ECHO_C" >&6; }
3361
3362 if test -n "$PKG_CONFIG"; then
3363 if test -n "$osso_CFLAGS"; then
3364 pkg_cv_osso_CFLAGS="$osso_CFLAGS"
3365 else
3366 if test -n "$PKG_CONFIG" && \
3367 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
3368 ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
3369 ac_status=$?
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }; then
3372 pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`
3373 else
3374 pkg_failed=yes
3375 fi
3376 fi
3377 else
3378 pkg_failed=untried
3379 fi
3380 if test -n "$PKG_CONFIG"; then
3381 if test -n "$osso_LIBS"; then
3382 pkg_cv_osso_LIBS="$osso_LIBS"
3383 else
3384 if test -n "$PKG_CONFIG" && \
3385 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
3386 ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
3387 ac_status=$?
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); }; then
3390 pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`
3391 else
3392 pkg_failed=yes
3393 fi
3394 fi
3395 else
3396 pkg_failed=untried
3397 fi
3398
3399
3400
3401 if test $pkg_failed = yes; then
3402
3403 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3404 _pkg_short_errors_supported=yes
3405 else
3406 _pkg_short_errors_supported=no
3407 fi
3408 if test $_pkg_short_errors_supported = yes; then
3409 osso_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libosso"`
3410 else
3411 osso_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libosso"`
3412 fi
3413 # Put the nasty error message in config.log where it belongs
3414 echo "$osso_PKG_ERRORS" >&5
3415
3416 { echo "$as_me:$LINENO: result: no" >&5
3417 echo "${ECHO_T}no" >&6; }
3418 { { echo "$as_me:$LINENO: error: libosso missing" >&5
3419 echo "$as_me: error: libosso missing" >&2;}
3420 { (exit 1); exit 1; }; }
3421 elif test $pkg_failed = untried; then
3422 { { echo "$as_me:$LINENO: error: libosso missing" >&5
3423 echo "$as_me: error: libosso missing" >&2;}
3424 { (exit 1); exit 1; }; }
3425 else
3426 osso_CFLAGS=$pkg_cv_osso_CFLAGS
3427 osso_LIBS=$pkg_cv_osso_LIBS
3428 { echo "$as_me:$LINENO: result: yes" >&5
3429 echo "${ECHO_T}yes" >&6; }
3430 :
3431 fi
3432 CFLAGS="$CFLAGS $osso_CFLAGS"
3433 LIBS="$LIBS $osso_LIBS"
3434
3435
3436 pkg_failed=no
3437 { echo "$as_me:$LINENO: checking for hildon_fm_2" >&5
3438 echo $ECHO_N "checking for hildon_fm_2... $ECHO_C" >&6; }
3439
3440 if test -n "$PKG_CONFIG"; then
3441 if test -n "$hildon_fm_2_CFLAGS"; then
3442 pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"
3443 else
3444 if test -n "$PKG_CONFIG" && \
3445 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
3446 ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
3447 ac_status=$?
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); }; then
3450 pkg_cv_hildon_fm_2_CFLAGS=`$PKG_CONFIG --cflags "hildon-fm-2" 2>/dev/null`
3451 else
3452 pkg_failed=yes
3453 fi
3454 fi
3455 else
3456 pkg_failed=untried
3457 fi
3458 if test -n "$PKG_CONFIG"; then
3459 if test -n "$hildon_fm_2_LIBS"; then
3460 pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"
3461 else
3462 if test -n "$PKG_CONFIG" && \
3463 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
3464 ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
3465 ac_status=$?
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); }; then
3468 pkg_cv_hildon_fm_2_LIBS=`$PKG_CONFIG --libs "hildon-fm-2" 2>/dev/null`
3469 else
3470 pkg_failed=yes
3471 fi
3472 fi
3473 else
3474 pkg_failed=untried
3475 fi
3476
3477
3478
3479 if test $pkg_failed = yes; then
3480
3481 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3482 _pkg_short_errors_supported=yes
3483 else
3484 _pkg_short_errors_supported=no
3485 fi
3486 if test $_pkg_short_errors_supported = yes; then
3487 hildon_fm_2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-fm-2"`
3488 else
3489 hildon_fm_2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-fm-2"`
3490 fi
3491 # Put the nasty error message in config.log where it belongs
3492 echo "$hildon_fm_2_PKG_ERRORS" >&5
3493
3494 { echo "$as_me:$LINENO: result: no" >&5
3495 echo "${ECHO_T}no" >&6; }
3496 { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
3497 echo "$as_me: error: hildon-fm-2 missing" >&2;}
3498 { (exit 1); exit 1; }; }
3499 elif test $pkg_failed = untried; then
3500 { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
3501 echo "$as_me: error: hildon-fm-2 missing" >&2;}
3502 { (exit 1); exit 1; }; }
3503 else
3504 hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS
3505 hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS
3506 { echo "$as_me:$LINENO: result: yes" >&5
3507 echo "${ECHO_T}yes" >&6; }
3508 :
3509 fi
3510 CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"
3511 LIBS="$LIBS $hildon_fm_2_LIBS"
3512
3513
3514 pkg_failed=no
3515 { echo "$as_me:$LINENO: checking for gpsbt" >&5
3516 echo $ECHO_N "checking for gpsbt... $ECHO_C" >&6; }
3517
3518 if test -n "$PKG_CONFIG"; then
3519 if test -n "$gpsbt_CFLAGS"; then
3520 pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"
3521 else
3522 if test -n "$PKG_CONFIG" && \
3523 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
3524 ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
3525 ac_status=$?
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); }; then
3528 pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`
3529 else
3530 pkg_failed=yes
3531 fi
3532 fi
3533 else
3534 pkg_failed=untried
3535 fi
3536 if test -n "$PKG_CONFIG"; then
3537 if test -n "$gpsbt_LIBS"; then
3538 pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"
3539 else
3540 if test -n "$PKG_CONFIG" && \
3541 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
3542 ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
3543 ac_status=$?
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); }; then
3546 pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`
3547 else
3548 pkg_failed=yes
3549 fi
3550 fi
3551 else
3552 pkg_failed=untried
3553 fi
3554
3555
3556
3557 if test $pkg_failed = yes; then
3558
3559 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3560 _pkg_short_errors_supported=yes
3561 else
3562 _pkg_short_errors_supported=no
3563 fi
3564 if test $_pkg_short_errors_supported = yes; then
3565 gpsbt_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gpsbt"`
3566 else
3567 gpsbt_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gpsbt"`
3568 fi
3569 # Put the nasty error message in config.log where it belongs
3570 echo "$gpsbt_PKG_ERRORS" >&5
3571
3572 { echo "$as_me:$LINENO: result: no" >&5
3573 echo "${ECHO_T}no" >&6; }
3574 { { echo "$as_me:$LINENO: error: gpsbt missing" >&5
3575 echo "$as_me: error: gpsbt missing" >&2;}
3576 { (exit 1); exit 1; }; }
3577 elif test $pkg_failed = untried; then
3578 { { echo "$as_me:$LINENO: error: gpsbt missing" >&5
3579 echo "$as_me: error: gpsbt missing" >&2;}
3580 { (exit 1); exit 1; }; }
3581 else
3582 gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS
3583 gpsbt_LIBS=$pkg_cv_gpsbt_LIBS
3584 { echo "$as_me:$LINENO: result: yes" >&5
3585 echo "${ECHO_T}yes" >&6; }
3586 :
3587 fi
3588 CFLAGS="$CFLAGS $gpsbt_CFLAGS"
3589 LIBS="$LIBS $gpsbt_LIBS"
3590
3591 # maemo uses dbus for ipc with maemo mapper
3592 EXTRA_OBJS="dbus.o"
3593
3594
3595 INSTALL_PLATTFORM="install-maemo"
3596
3597
3598
3599 else
3600
3601 { echo "$as_me:$LINENO: result: no" >&5
3602 echo "${ECHO_T}no" >&6; }
3603
3604 # check for gtk+-2.0
3605
3606 pkg_failed=no
3607 { echo "$as_me:$LINENO: checking for gtk" >&5
3608 echo $ECHO_N "checking for gtk... $ECHO_C" >&6; }
3609
3610 if test -n "$PKG_CONFIG"; then
3611 if test -n "$gtk_CFLAGS"; then
3612 pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
3613 else
3614 if test -n "$PKG_CONFIG" && \
3615 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
3616 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
3617 ac_status=$?
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; then
3620 pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
3621 else
3622 pkg_failed=yes
3623 fi
3624 fi
3625 else
3626 pkg_failed=untried
3627 fi
3628 if test -n "$PKG_CONFIG"; then
3629 if test -n "$gtk_LIBS"; then
3630 pkg_cv_gtk_LIBS="$gtk_LIBS"
3631 else
3632 if test -n "$PKG_CONFIG" && \
3633 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
3634 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
3635 ac_status=$?
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); }; then
3638 pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
3639 else
3640 pkg_failed=yes
3641 fi
3642 fi
3643 else
3644 pkg_failed=untried
3645 fi
3646
3647
3648
3649 if test $pkg_failed = yes; then
3650
3651 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3652 _pkg_short_errors_supported=yes
3653 else
3654 _pkg_short_errors_supported=no
3655 fi
3656 if test $_pkg_short_errors_supported = yes; then
3657 gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
3658 else
3659 gtk_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
3660 fi
3661 # Put the nasty error message in config.log where it belongs
3662 echo "$gtk_PKG_ERRORS" >&5
3663
3664 { echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6; }
3666 { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
3667 echo "$as_me: error: gtk+-2.0 missing!" >&2;}
3668 { (exit 1); exit 1; }; }
3669 elif test $pkg_failed = untried; then
3670 { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
3671 echo "$as_me: error: gtk+-2.0 missing!" >&2;}
3672 { (exit 1); exit 1; }; }
3673 else
3674 gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
3675 gtk_LIBS=$pkg_cv_gtk_LIBS
3676 { echo "$as_me:$LINENO: result: yes" >&5
3677 echo "${ECHO_T}yes" >&6; }
3678 :
3679 fi
3680 CFLAGS="$CFLAGS $gtk_CFLAGS"
3681 LIBS="$LIBS $gtk_LIBS"
3682
3683 # non-maemo device use gnome to call the web browser
3684
3685 pkg_failed=no
3686 { echo "$as_me:$LINENO: checking for gnome2" >&5
3687 echo $ECHO_N "checking for gnome2... $ECHO_C" >&6; }
3688
3689 if test -n "$PKG_CONFIG"; then
3690 if test -n "$gnome2_CFLAGS"; then
3691 pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"
3692 else
3693 if test -n "$PKG_CONFIG" && \
3694 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5
3695 ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
3696 ac_status=$?
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); }; then
3699 pkg_cv_gnome2_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0" 2>/dev/null`
3700 else
3701 pkg_failed=yes
3702 fi
3703 fi
3704 else
3705 pkg_failed=untried
3706 fi
3707 if test -n "$PKG_CONFIG"; then
3708 if test -n "$gnome2_LIBS"; then
3709 pkg_cv_gnome2_LIBS="$gnome2_LIBS"
3710 else
3711 if test -n "$PKG_CONFIG" && \
3712 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5
3713 ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
3714 ac_status=$?
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); }; then
3717 pkg_cv_gnome2_LIBS=`$PKG_CONFIG --libs "libgnome-2.0" 2>/dev/null`
3718 else
3719 pkg_failed=yes
3720 fi
3721 fi
3722 else
3723 pkg_failed=untried
3724 fi
3725
3726
3727
3728 if test $pkg_failed = yes; then
3729
3730 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3731 _pkg_short_errors_supported=yes
3732 else
3733 _pkg_short_errors_supported=no
3734 fi
3735 if test $_pkg_short_errors_supported = yes; then
3736 gnome2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnome-2.0"`
3737 else
3738 gnome2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnome-2.0"`
3739 fi
3740 # Put the nasty error message in config.log where it belongs
3741 echo "$gnome2_PKG_ERRORS" >&5
3742
3743 { echo "$as_me:$LINENO: result: no" >&5
3744 echo "${ECHO_T}no" >&6; }
3745 { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
3746 echo "$as_me: error: libgnome-2.0 missing" >&2;}
3747 { (exit 1); exit 1; }; }
3748 elif test $pkg_failed = untried; then
3749 { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
3750 echo "$as_me: error: libgnome-2.0 missing" >&2;}
3751 { (exit 1); exit 1; }; }
3752 else
3753 gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS
3754 gnome2_LIBS=$pkg_cv_gnome2_LIBS
3755 { echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6; }
3757 :
3758 fi
3759 CFLAGS="$CFLAGS $gnome2_CFLAGS"
3760 LIBS="$LIBS $gnome2_LIBS"
3761
3762 INSTALL_PLATTFORM="install-debian"
3763
3764
3765 fi
3766
3767
3768 ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile"
3769
3770
3771 cat >confcache <<\_ACEOF
3772 # This file is a shell script that caches the results of configure
3773 # tests run on this system so they can be shared between configure
3774 # scripts and configure runs, see configure's option --config-cache.
3775 # It is not useful on other systems. If it contains results you don't
3776 # want to keep, you may remove or edit it.
3777 #
3778 # config.status only pays attention to the cache file if you give it
3779 # the --recheck option to rerun configure.
3780 #
3781 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3782 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3783 # following values.
3784
3785 _ACEOF
3786
3787 # The following way of writing the cache mishandles newlines in values,
3788 # but we know of no workaround that is simple, portable, and efficient.
3789 # So, we kill variables containing newlines.
3790 # Ultrix sh set writes to stderr and can't be redirected directly,
3791 # and sets the high bit in the cache file unless we assign to the vars.
3792 (
3793 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3794 eval ac_val=\$$ac_var
3795 case $ac_val in #(
3796 *${as_nl}*)
3797 case $ac_var in #(
3798 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3799 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3800 esac
3801 case $ac_var in #(
3802 _ | IFS | as_nl) ;; #(
3803 *) $as_unset $ac_var ;;
3804 esac ;;
3805 esac
3806 done
3807
3808 (set) 2>&1 |
3809 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3810 *${as_nl}ac_space=\ *)
3811 # `set' does not quote correctly, so add quotes (double-quote
3812 # substitution turns \\\\ into \\, and sed turns \\ into \).
3813 sed -n \
3814 "s/'/'\\\\''/g;
3815 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3816 ;; #(
3817 *)
3818 # `set' quotes correctly as required by POSIX, so do not add quotes.
3819 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3820 ;;
3821 esac |
3822 sort
3823 ) |
3824 sed '
3825 /^ac_cv_env_/b end
3826 t clear
3827 :clear
3828 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3829 t end
3830 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3831 :end' >>confcache
3832 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3833 if test -w "$cache_file"; then
3834 test "x$cache_file" != "x/dev/null" &&
3835 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3836 echo "$as_me: updating cache $cache_file" >&6;}
3837 cat confcache >$cache_file
3838 else
3839 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3840 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3841 fi
3842 fi
3843 rm -f confcache
3844
3845 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3846 # Let make expand exec_prefix.
3847 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3848
3849 # Transform confdefs.h into DEFS.
3850 # Protect against shell expansion while executing Makefile rules.
3851 # Protect against Makefile macro expansion.
3852 #
3853 # If the first sed substitution is executed (which looks for macros that
3854 # take arguments), then branch to the quote section. Otherwise,
3855 # look for a macro that doesn't take arguments.
3856 ac_script='
3857 t clear
3858 :clear
3859 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3860 t quote
3861 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3862 t quote
3863 b any
3864 :quote
3865 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3866 s/\[/\\&/g
3867 s/\]/\\&/g
3868 s/\$/$$/g
3869 H
3870 :any
3871 ${
3872 g
3873 s/^\n//
3874 s/\n/ /g
3875 p
3876 }
3877 '
3878 DEFS=`sed -n "$ac_script" confdefs.h`
3879
3880
3881 ac_libobjs=
3882 ac_ltlibobjs=
3883 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3884 # 1. Remove the extension, and $U if already installed.
3885 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3886 ac_i=`echo "$ac_i" | sed "$ac_script"`
3887 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3888 # will be set to the directory where LIBOBJS objects are built.
3889 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3890 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3891 done
3892 LIBOBJS=$ac_libobjs
3893
3894 LTLIBOBJS=$ac_ltlibobjs
3895
3896
3897
3898 : ${CONFIG_STATUS=./config.status}
3899 ac_clean_files_save=$ac_clean_files
3900 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3901 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3902 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3903 cat >$CONFIG_STATUS <<_ACEOF
3904 #! $SHELL
3905 # Generated by $as_me.
3906 # Run this file to recreate the current configuration.
3907 # Compiler output produced by configure, useful for debugging
3908 # configure, is in config.log if it exists.
3909
3910 debug=false
3911 ac_cs_recheck=false
3912 ac_cs_silent=false
3913 SHELL=\${CONFIG_SHELL-$SHELL}
3914 _ACEOF
3915
3916 cat >>$CONFIG_STATUS <<\_ACEOF
3917 ## --------------------- ##
3918 ## M4sh Initialization. ##
3919 ## --------------------- ##
3920
3921 # Be more Bourne compatible
3922 DUALCASE=1; export DUALCASE # for MKS sh
3923 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3924 emulate sh
3925 NULLCMD=:
3926 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3927 # is contrary to our usage. Disable this feature.
3928 alias -g '${1+"$@"}'='"$@"'
3929 setopt NO_GLOB_SUBST
3930 else
3931 case `(set -o) 2>/dev/null` in
3932 *posix*) set -o posix ;;
3933 esac
3934
3935 fi
3936
3937
3938
3939
3940 # PATH needs CR
3941 # Avoid depending upon Character Ranges.
3942 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3943 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3944 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3945 as_cr_digits='0123456789'
3946 as_cr_alnum=$as_cr_Letters$as_cr_digits
3947
3948 # The user is always right.
3949 if test "${PATH_SEPARATOR+set}" != set; then
3950 echo "#! /bin/sh" >conf$$.sh
3951 echo "exit 0" >>conf$$.sh
3952 chmod +x conf$$.sh
3953 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3954 PATH_SEPARATOR=';'
3955 else
3956 PATH_SEPARATOR=:
3957 fi
3958 rm -f conf$$.sh
3959 fi
3960
3961 # Support unset when possible.
3962 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3963 as_unset=unset
3964 else
3965 as_unset=false
3966 fi
3967
3968
3969 # IFS
3970 # We need space, tab and new line, in precisely that order. Quoting is
3971 # there to prevent editors from complaining about space-tab.
3972 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3973 # splitting by setting IFS to empty value.)
3974 as_nl='
3975 '
3976 IFS=" "" $as_nl"
3977
3978 # Find who we are. Look in the path if we contain no directory separator.
3979 case $0 in
3980 *[\\/]* ) as_myself=$0 ;;
3981 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 for as_dir in $PATH
3983 do
3984 IFS=$as_save_IFS
3985 test -z "$as_dir" && as_dir=.
3986 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3987 done
3988 IFS=$as_save_IFS
3989
3990 ;;
3991 esac
3992 # We did not find ourselves, most probably we were run as `sh COMMAND'
3993 # in which case we are not to be found in the path.
3994 if test "x$as_myself" = x; then
3995 as_myself=$0
3996 fi
3997 if test ! -f "$as_myself"; then
3998 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3999 { (exit 1); exit 1; }
4000 fi
4001
4002 # Work around bugs in pre-3.0 UWIN ksh.
4003 for as_var in ENV MAIL MAILPATH
4004 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4005 done
4006 PS1='$ '
4007 PS2='> '
4008 PS4='+ '
4009
4010 # NLS nuisances.
4011 for as_var in \
4012 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4013 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4014 LC_TELEPHONE LC_TIME
4015 do
4016 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4017 eval $as_var=C; export $as_var
4018 else
4019 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4020 fi
4021 done
4022
4023 # Required to use basename.
4024 if expr a : '\(a\)' >/dev/null 2>&1 &&
4025 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4026 as_expr=expr
4027 else
4028 as_expr=false
4029 fi
4030
4031 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4032 as_basename=basename
4033 else
4034 as_basename=false
4035 fi
4036
4037
4038 # Name of the executable.
4039 as_me=`$as_basename -- "$0" ||
4040 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4041 X"$0" : 'X\(//\)$' \| \
4042 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4043 echo X/"$0" |
4044 sed '/^.*\/\([^/][^/]*\)\/*$/{
4045 s//\1/
4046 q
4047 }
4048 /^X\/\(\/\/\)$/{
4049 s//\1/
4050 q
4051 }
4052 /^X\/\(\/\).*/{
4053 s//\1/
4054 q
4055 }
4056 s/.*/./; q'`
4057
4058 # CDPATH.
4059 $as_unset CDPATH
4060
4061
4062
4063 as_lineno_1=$LINENO
4064 as_lineno_2=$LINENO
4065 test "x$as_lineno_1" != "x$as_lineno_2" &&
4066 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4067
4068 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4069 # uniformly replaced by the line number. The first 'sed' inserts a
4070 # line-number line after each line using $LINENO; the second 'sed'
4071 # does the real work. The second script uses 'N' to pair each
4072 # line-number line with the line containing $LINENO, and appends
4073 # trailing '-' during substitution so that $LINENO is not a special
4074 # case at line end.
4075 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4076 # scripts with optimization help from Paolo Bonzini. Blame Lee
4077 # E. McMahon (1931-1989) for sed's syntax. :-)
4078 sed -n '
4079 p
4080 /[$]LINENO/=
4081 ' <$as_myself |
4082 sed '
4083 s/[$]LINENO.*/&-/
4084 t lineno
4085 b
4086 :lineno
4087 N
4088 :loop
4089 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4090 t loop
4091 s/-\n.*//
4092 ' >$as_me.lineno &&
4093 chmod +x "$as_me.lineno" ||
4094 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4095 { (exit 1); exit 1; }; }
4096
4097 # Don't try to exec as it changes $[0], causing all sort of problems
4098 # (the dirname of $[0] is not the place where we might find the
4099 # original and so on. Autoconf is especially sensitive to this).
4100 . "./$as_me.lineno"
4101 # Exit status is that of the last command.
4102 exit
4103 }
4104
4105
4106 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4107 as_dirname=dirname
4108 else
4109 as_dirname=false
4110 fi
4111
4112 ECHO_C= ECHO_N= ECHO_T=
4113 case `echo -n x` in
4114 -n*)
4115 case `echo 'x\c'` in
4116 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4117 *) ECHO_C='\c';;
4118 esac;;
4119 *)
4120 ECHO_N='-n';;
4121 esac
4122
4123 if expr a : '\(a\)' >/dev/null 2>&1 &&
4124 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4125 as_expr=expr
4126 else
4127 as_expr=false
4128 fi
4129
4130 rm -f conf$$ conf$$.exe conf$$.file
4131 if test -d conf$$.dir; then
4132 rm -f conf$$.dir/conf$$.file
4133 else
4134 rm -f conf$$.dir
4135 mkdir conf$$.dir
4136 fi
4137 echo >conf$$.file
4138 if ln -s conf$$.file conf$$ 2>/dev/null; then
4139 as_ln_s='ln -s'
4140 # ... but there are two gotchas:
4141 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4142 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4143 # In both cases, we have to default to `cp -p'.
4144 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4145 as_ln_s='cp -p'
4146 elif ln conf$$.file conf$$ 2>/dev/null; then
4147 as_ln_s=ln
4148 else
4149 as_ln_s='cp -p'
4150 fi
4151 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4152 rmdir conf$$.dir 2>/dev/null
4153
4154 if mkdir -p . 2>/dev/null; then
4155 as_mkdir_p=:
4156 else
4157 test -d ./-p && rmdir ./-p
4158 as_mkdir_p=false
4159 fi
4160
4161 if test -x / >/dev/null 2>&1; then
4162 as_test_x='test -x'
4163 else
4164 if ls -dL / >/dev/null 2>&1; then
4165 as_ls_L_option=L
4166 else
4167 as_ls_L_option=
4168 fi
4169 as_test_x='
4170 eval sh -c '\''
4171 if test -d "$1"; then
4172 test -d "$1/.";
4173 else
4174 case $1 in
4175 -*)set "./$1";;
4176 esac;
4177 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4178 ???[sx]*):;;*)false;;esac;fi
4179 '\'' sh
4180 '
4181 fi
4182 as_executable_p=$as_test_x
4183
4184 # Sed expression to map a string onto a valid CPP name.
4185 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4186
4187 # Sed expression to map a string onto a valid variable name.
4188 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4189
4190
4191 exec 6>&1
4192
4193 # Save the log message, to keep $[0] and so on meaningful, and to
4194 # report actual input values of CONFIG_FILES etc. instead of their
4195 # values after options handling.
4196 ac_log="
4197 This file was extended by OSM2Go $as_me 0.8.13, which was
4198 generated by GNU Autoconf 2.61. Invocation command line was
4199
4200 CONFIG_FILES = $CONFIG_FILES
4201 CONFIG_HEADERS = $CONFIG_HEADERS
4202 CONFIG_LINKS = $CONFIG_LINKS
4203 CONFIG_COMMANDS = $CONFIG_COMMANDS
4204 $ $0 $@
4205
4206 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4207 "
4208
4209 _ACEOF
4210
4211 cat >>$CONFIG_STATUS <<_ACEOF
4212 # Files that config.status was made for.
4213 config_files="$ac_config_files"
4214
4215 _ACEOF
4216
4217 cat >>$CONFIG_STATUS <<\_ACEOF
4218 ac_cs_usage="\
4219 \`$as_me' instantiates files from templates according to the
4220 current configuration.
4221
4222 Usage: $0 [OPTIONS] [FILE]...
4223
4224 -h, --help print this help, then exit
4225 -V, --version print version number and configuration settings, then exit
4226 -q, --quiet do not print progress messages
4227 -d, --debug don't remove temporary files
4228 --recheck update $as_me by reconfiguring in the same conditions
4229 --file=FILE[:TEMPLATE]
4230 instantiate the configuration file FILE
4231
4232 Configuration files:
4233 $config_files
4234
4235 Report bugs to <bug-autoconf@gnu.org>."
4236
4237 _ACEOF
4238 cat >>$CONFIG_STATUS <<_ACEOF
4239 ac_cs_version="\\
4240 OSM2Go config.status 0.8.13
4241 configured by $0, generated by GNU Autoconf 2.61,
4242 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4243
4244 Copyright (C) 2006 Free Software Foundation, Inc.
4245 This config.status script is free software; the Free Software Foundation
4246 gives unlimited permission to copy, distribute and modify it."
4247
4248 ac_pwd='$ac_pwd'
4249 srcdir='$srcdir'
4250 INSTALL='$INSTALL'
4251 _ACEOF
4252
4253 cat >>$CONFIG_STATUS <<\_ACEOF
4254 # If no file are specified by the user, then we need to provide default
4255 # value. By we need to know if files were specified by the user.
4256 ac_need_defaults=:
4257 while test $# != 0
4258 do
4259 case $1 in
4260 --*=*)
4261 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4262 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4263 ac_shift=:
4264 ;;
4265 *)
4266 ac_option=$1
4267 ac_optarg=$2
4268 ac_shift=shift
4269 ;;
4270 esac
4271
4272 case $ac_option in
4273 # Handling of the options.
4274 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4275 ac_cs_recheck=: ;;
4276 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4277 echo "$ac_cs_version"; exit ;;
4278 --debug | --debu | --deb | --de | --d | -d )
4279 debug=: ;;
4280 --file | --fil | --fi | --f )
4281 $ac_shift
4282 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4283 ac_need_defaults=false;;
4284 --he | --h | --help | --hel | -h )
4285 echo "$ac_cs_usage"; exit ;;
4286 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4287 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4288 ac_cs_silent=: ;;
4289
4290 # This is an error.
4291 -*) { echo "$as_me: error: unrecognized option: $1
4292 Try \`$0 --help' for more information." >&2
4293 { (exit 1); exit 1; }; } ;;
4294
4295 *) ac_config_targets="$ac_config_targets $1"
4296 ac_need_defaults=false ;;
4297
4298 esac
4299 shift
4300 done
4301
4302 ac_configure_extra_args=
4303
4304 if $ac_cs_silent; then
4305 exec 6>/dev/null
4306 ac_configure_extra_args="$ac_configure_extra_args --silent"
4307 fi
4308
4309 _ACEOF
4310 cat >>$CONFIG_STATUS <<_ACEOF
4311 if \$ac_cs_recheck; then
4312 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4313 CONFIG_SHELL=$SHELL
4314 export CONFIG_SHELL
4315 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4316 fi
4317
4318 _ACEOF
4319 cat >>$CONFIG_STATUS <<\_ACEOF
4320 exec 5>>config.log
4321 {
4322 echo
4323 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4324 ## Running $as_me. ##
4325 _ASBOX
4326 echo "$ac_log"
4327 } >&5
4328
4329 _ACEOF
4330 cat >>$CONFIG_STATUS <<_ACEOF
4331 _ACEOF
4332
4333 cat >>$CONFIG_STATUS <<\_ACEOF
4334
4335 # Handling of arguments.
4336 for ac_config_target in $ac_config_targets
4337 do
4338 case $ac_config_target in
4339 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4340 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4341 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
4342
4343 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4344 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4345 { (exit 1); exit 1; }; };;
4346 esac
4347 done
4348
4349
4350 # If the user did not use the arguments to specify the items to instantiate,
4351 # then the envvar interface is used. Set only those that are not.
4352 # We use the long form for the default assignment because of an extremely
4353 # bizarre bug on SunOS 4.1.3.
4354 if $ac_need_defaults; then
4355 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4356 fi
4357
4358 # Have a temporary directory for convenience. Make it in the build tree
4359 # simply because there is no reason against having it here, and in addition,
4360 # creating and moving files from /tmp can sometimes cause problems.
4361 # Hook for its removal unless debugging.
4362 # Note that there is a small window in which the directory will not be cleaned:
4363 # after its creation but before its name has been assigned to `$tmp'.
4364 $debug ||
4365 {
4366 tmp=
4367 trap 'exit_status=$?
4368 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4369 ' 0
4370 trap '{ (exit 1); exit 1; }' 1 2 13 15
4371 }
4372 # Create a (secure) tmp directory for tmp files.
4373
4374 {
4375 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4376 test -n "$tmp" && test -d "$tmp"
4377 } ||
4378 {
4379 tmp=./conf$$-$RANDOM
4380 (umask 077 && mkdir "$tmp")
4381 } ||
4382 {
4383 echo "$me: cannot create a temporary directory in ." >&2
4384 { (exit 1); exit 1; }
4385 }
4386
4387 #
4388 # Set up the sed scripts for CONFIG_FILES section.
4389 #
4390
4391 # No need to generate the scripts if there are no CONFIG_FILES.
4392 # This happens for instance when ./config.status config.h
4393 if test -n "$CONFIG_FILES"; then
4394
4395 _ACEOF
4396
4397
4398
4399 ac_delim='%!_!# '
4400 for ac_last_try in false false false false false :; do
4401 cat >conf$$subs.sed <<_ACEOF
4402 SHELL!$SHELL$ac_delim
4403 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4404 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4405 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4406 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4407 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4408 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4409 exec_prefix!$exec_prefix$ac_delim
4410 prefix!$prefix$ac_delim
4411 program_transform_name!$program_transform_name$ac_delim
4412 bindir!$bindir$ac_delim
4413 sbindir!$sbindir$ac_delim
4414 libexecdir!$libexecdir$ac_delim
4415 datarootdir!$datarootdir$ac_delim
4416 datadir!$datadir$ac_delim
4417 sysconfdir!$sysconfdir$ac_delim
4418 sharedstatedir!$sharedstatedir$ac_delim
4419 localstatedir!$localstatedir$ac_delim
4420 includedir!$includedir$ac_delim
4421 oldincludedir!$oldincludedir$ac_delim
4422 docdir!$docdir$ac_delim
4423 infodir!$infodir$ac_delim
4424 htmldir!$htmldir$ac_delim
4425 dvidir!$dvidir$ac_delim
4426 pdfdir!$pdfdir$ac_delim
4427 psdir!$psdir$ac_delim
4428 libdir!$libdir$ac_delim
4429 localedir!$localedir$ac_delim
4430 mandir!$mandir$ac_delim
4431 DEFS!$DEFS$ac_delim
4432 ECHO_C!$ECHO_C$ac_delim
4433 ECHO_N!$ECHO_N$ac_delim
4434 ECHO_T!$ECHO_T$ac_delim
4435 LIBS!$LIBS$ac_delim
4436 build_alias!$build_alias$ac_delim
4437 host_alias!$host_alias$ac_delim
4438 target_alias!$target_alias$ac_delim
4439 PACKAGE!$PACKAGE$ac_delim
4440 CC!$CC$ac_delim
4441 CFLAGS!$CFLAGS$ac_delim
4442 LDFLAGS!$LDFLAGS$ac_delim
4443 CPPFLAGS!$CPPFLAGS$ac_delim
4444 ac_ct_CC!$ac_ct_CC$ac_delim
4445 EXEEXT!$EXEEXT$ac_delim
4446 OBJEXT!$OBJEXT$ac_delim
4447 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4448 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4449 INSTALL_DATA!$INSTALL_DATA$ac_delim
4450 LN_S!$LN_S$ac_delim
4451 SET_MAKE!$SET_MAKE$ac_delim
4452 PKG_CONFIG!$PKG_CONFIG$ac_delim
4453 libcurl_CFLAGS!$libcurl_CFLAGS$ac_delim
4454 libcurl_LIBS!$libcurl_LIBS$ac_delim
4455 goocanvas_CFLAGS!$goocanvas_CFLAGS$ac_delim
4456 goocanvas_LIBS!$goocanvas_LIBS$ac_delim
4457 gnome_vfs_module_CFLAGS!$gnome_vfs_module_CFLAGS$ac_delim
4458 gnome_vfs_module_LIBS!$gnome_vfs_module_LIBS$ac_delim
4459 libxml2_CFLAGS!$libxml2_CFLAGS$ac_delim
4460 libxml2_LIBS!$libxml2_LIBS$ac_delim
4461 hildon_CFLAGS!$hildon_CFLAGS$ac_delim
4462 hildon_LIBS!$hildon_LIBS$ac_delim
4463 osso_CFLAGS!$osso_CFLAGS$ac_delim
4464 osso_LIBS!$osso_LIBS$ac_delim
4465 hildon_fm_2_CFLAGS!$hildon_fm_2_CFLAGS$ac_delim
4466 hildon_fm_2_LIBS!$hildon_fm_2_LIBS$ac_delim
4467 gpsbt_CFLAGS!$gpsbt_CFLAGS$ac_delim
4468 gpsbt_LIBS!$gpsbt_LIBS$ac_delim
4469 EXTRA_OBJS!$EXTRA_OBJS$ac_delim
4470 INSTALL_PLATTFORM!$INSTALL_PLATTFORM$ac_delim
4471 gtk_CFLAGS!$gtk_CFLAGS$ac_delim
4472 gtk_LIBS!$gtk_LIBS$ac_delim
4473 gnome2_CFLAGS!$gnome2_CFLAGS$ac_delim
4474 gnome2_LIBS!$gnome2_LIBS$ac_delim
4475 LIBOBJS!$LIBOBJS$ac_delim
4476 LTLIBOBJS!$LTLIBOBJS$ac_delim
4477 _ACEOF
4478
4479 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 75; then
4480 break
4481 elif $ac_last_try; then
4482 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4483 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4484 { (exit 1); exit 1; }; }
4485 else
4486 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4487 fi
4488 done
4489
4490 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4491 if test -n "$ac_eof"; then
4492 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4493 ac_eof=`expr $ac_eof + 1`
4494 fi
4495
4496 cat >>$CONFIG_STATUS <<_ACEOF
4497 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4498 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4499 _ACEOF
4500 sed '
4501 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4502 s/^/s,@/; s/!/@,|#_!!_#|/
4503 :n
4504 t n
4505 s/'"$ac_delim"'$/,g/; t
4506 s/$/\\/; p
4507 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4508 ' >>$CONFIG_STATUS <conf$$subs.sed
4509 rm -f conf$$subs.sed
4510 cat >>$CONFIG_STATUS <<_ACEOF
4511 :end
4512 s/|#_!!_#|//g
4513 CEOF$ac_eof
4514 _ACEOF
4515
4516
4517 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4518 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4519 # trailing colons and then remove the whole line if VPATH becomes empty
4520 # (actually we leave an empty line to preserve line numbers).
4521 if test "x$srcdir" = x.; then
4522 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4523 s/:*\$(srcdir):*/:/
4524 s/:*\${srcdir}:*/:/
4525 s/:*@srcdir@:*/:/
4526 s/^\([^=]*=[ ]*\):*/\1/
4527 s/:*$//
4528 s/^[^=]*=[ ]*$//
4529 }'
4530 fi
4531
4532 cat >>$CONFIG_STATUS <<\_ACEOF
4533 fi # test -n "$CONFIG_FILES"
4534
4535
4536 for ac_tag in :F $CONFIG_FILES
4537 do
4538 case $ac_tag in
4539 :[FHLC]) ac_mode=$ac_tag; continue;;
4540 esac
4541 case $ac_mode$ac_tag in
4542 :[FHL]*:*);;
4543 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4544 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4545 { (exit 1); exit 1; }; };;
4546 :[FH]-) ac_tag=-:-;;
4547 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4548 esac
4549 ac_save_IFS=$IFS
4550 IFS=:
4551 set x $ac_tag
4552 IFS=$ac_save_IFS
4553 shift
4554 ac_file=$1
4555 shift
4556
4557 case $ac_mode in
4558 :L) ac_source=$1;;
4559 :[FH])
4560 ac_file_inputs=
4561 for ac_f
4562 do
4563 case $ac_f in
4564 -) ac_f="$tmp/stdin";;
4565 *) # Look for the file first in the build tree, then in the source tree
4566 # (if the path is not absolute). The absolute path cannot be DOS-style,
4567 # because $ac_f cannot contain `:'.
4568 test -f "$ac_f" ||
4569 case $ac_f in
4570 [\\/$]*) false;;
4571 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4572 esac ||
4573 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4574 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4575 { (exit 1); exit 1; }; };;
4576 esac
4577 ac_file_inputs="$ac_file_inputs $ac_f"
4578 done
4579
4580 # Let's still pretend it is `configure' which instantiates (i.e., don't
4581 # use $as_me), people would be surprised to read:
4582 # /* config.h. Generated by config.status. */
4583 configure_input="Generated from "`IFS=:
4584 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4585 if test x"$ac_file" != x-; then
4586 configure_input="$ac_file. $configure_input"
4587 { echo "$as_me:$LINENO: creating $ac_file" >&5
4588 echo "$as_me: creating $ac_file" >&6;}
4589 fi
4590
4591 case $ac_tag in
4592 *:-:* | *:-) cat >"$tmp/stdin";;
4593 esac
4594 ;;
4595 esac
4596
4597 ac_dir=`$as_dirname -- "$ac_file" ||
4598 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4599 X"$ac_file" : 'X\(//\)[^/]' \| \
4600 X"$ac_file" : 'X\(//\)$' \| \
4601 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4602 echo X"$ac_file" |
4603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4604 s//\1/
4605 q
4606 }
4607 /^X\(\/\/\)[^/].*/{
4608 s//\1/
4609 q
4610 }
4611 /^X\(\/\/\)$/{
4612 s//\1/
4613 q
4614 }
4615 /^X\(\/\).*/{
4616 s//\1/
4617 q
4618 }
4619 s/.*/./; q'`
4620 { as_dir="$ac_dir"
4621 case $as_dir in #(
4622 -*) as_dir=./$as_dir;;
4623 esac
4624 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4625 as_dirs=
4626 while :; do
4627 case $as_dir in #(
4628 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4629 *) as_qdir=$as_dir;;
4630 esac
4631 as_dirs="'$as_qdir' $as_dirs"
4632 as_dir=`$as_dirname -- "$as_dir" ||
4633 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4634 X"$as_dir" : 'X\(//\)[^/]' \| \
4635 X"$as_dir" : 'X\(//\)$' \| \
4636 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4637 echo X"$as_dir" |
4638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4639 s//\1/
4640 q
4641 }
4642 /^X\(\/\/\)[^/].*/{
4643 s//\1/
4644 q
4645 }
4646 /^X\(\/\/\)$/{
4647 s//\1/
4648 q
4649 }
4650 /^X\(\/\).*/{
4651 s//\1/
4652 q
4653 }
4654 s/.*/./; q'`
4655 test -d "$as_dir" && break
4656 done
4657 test -z "$as_dirs" || eval "mkdir $as_dirs"
4658 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4659 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4660 { (exit 1); exit 1; }; }; }
4661 ac_builddir=.
4662
4663 case "$ac_dir" in
4664 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4665 *)
4666 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4667 # A ".." for each directory in $ac_dir_suffix.
4668 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4669 case $ac_top_builddir_sub in
4670 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4671 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4672 esac ;;
4673 esac
4674 ac_abs_top_builddir=$ac_pwd
4675 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4676 # for backward compatibility:
4677 ac_top_builddir=$ac_top_build_prefix
4678
4679 case $srcdir in
4680 .) # We are building in place.
4681 ac_srcdir=.
4682 ac_top_srcdir=$ac_top_builddir_sub
4683 ac_abs_top_srcdir=$ac_pwd ;;
4684 [\\/]* | ?:[\\/]* ) # Absolute name.
4685 ac_srcdir=$srcdir$ac_dir_suffix;
4686 ac_top_srcdir=$srcdir
4687 ac_abs_top_srcdir=$srcdir ;;
4688 *) # Relative name.
4689 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4690 ac_top_srcdir=$ac_top_build_prefix$srcdir
4691 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4692 esac
4693 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4694
4695
4696 case $ac_mode in
4697 :F)
4698 #
4699 # CONFIG_FILE
4700 #
4701
4702 case $INSTALL in
4703 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4704 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4705 esac
4706 _ACEOF
4707
4708 cat >>$CONFIG_STATUS <<\_ACEOF
4709 # If the template does not know about datarootdir, expand it.
4710 # FIXME: This hack should be removed a few years after 2.60.
4711 ac_datarootdir_hack=; ac_datarootdir_seen=
4712
4713 case `sed -n '/datarootdir/ {
4714 p
4715 q
4716 }
4717 /@datadir@/p
4718 /@docdir@/p
4719 /@infodir@/p
4720 /@localedir@/p
4721 /@mandir@/p
4722 ' $ac_file_inputs` in
4723 *datarootdir*) ac_datarootdir_seen=yes;;
4724 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4725 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4726 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4727 _ACEOF
4728 cat >>$CONFIG_STATUS <<_ACEOF
4729 ac_datarootdir_hack='
4730 s&@datadir@&$datadir&g
4731 s&@docdir@&$docdir&g
4732 s&@infodir@&$infodir&g
4733 s&@localedir@&$localedir&g
4734 s&@mandir@&$mandir&g
4735 s&\\\${datarootdir}&$datarootdir&g' ;;
4736 esac
4737 _ACEOF
4738
4739 # Neutralize VPATH when `$srcdir' = `.'.
4740 # Shell code in configure.ac might set extrasub.
4741 # FIXME: do we really want to maintain this feature?
4742 cat >>$CONFIG_STATUS <<_ACEOF
4743 sed "$ac_vpsub
4744 $extrasub
4745 _ACEOF
4746 cat >>$CONFIG_STATUS <<\_ACEOF
4747 :t
4748 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4749 s&@configure_input@&$configure_input&;t t
4750 s&@top_builddir@&$ac_top_builddir_sub&;t t
4751 s&@srcdir@&$ac_srcdir&;t t
4752 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4753 s&@top_srcdir@&$ac_top_srcdir&;t t
4754 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4755 s&@builddir@&$ac_builddir&;t t
4756 s&@abs_builddir@&$ac_abs_builddir&;t t
4757 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4758 s&@INSTALL@&$ac_INSTALL&;t t
4759 $ac_datarootdir_hack
4760 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4761
4762 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4763 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4764 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4765 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4766 which seems to be undefined. Please make sure it is defined." >&5
4767 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4768 which seems to be undefined. Please make sure it is defined." >&2;}
4769
4770 rm -f "$tmp/stdin"
4771 case $ac_file in
4772 -) cat "$tmp/out"; rm -f "$tmp/out";;
4773 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4774 esac
4775 ;;
4776
4777
4778
4779 esac
4780
4781 done # for ac_tag
4782
4783
4784 { (exit 0); exit 0; }
4785 _ACEOF
4786 chmod +x $CONFIG_STATUS
4787 ac_clean_files=$ac_clean_files_save
4788
4789
4790 # configure is writing to config.log, and then calls config.status.
4791 # config.status does its own redirection, appending to config.log.
4792 # Unfortunately, on DOS this fails, as config.log is still kept open
4793 # by configure, so config.status won't be able to write to it; its
4794 # output is simply discarded. So we exec the FD to /dev/null,
4795 # effectively closing config.log, so it can be properly (re)opened and
4796 # appended to by config.status. When coming back to configure, we
4797 # need to make the FD available again.
4798 if test "$no_create" != yes; then
4799 ac_cs_success=:
4800 ac_config_status_args=
4801 test "$silent" = yes &&
4802 ac_config_status_args="$ac_config_status_args --quiet"
4803 exec 5>/dev/null
4804 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4805 exec 5>>config.log
4806 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4807 # would make configure fail if this is the last instruction.
4808 $ac_cs_success || { (exit 1); exit 1; }
4809 fi
4810

Properties

Name Value
svn:executable *