Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable *