Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable *