Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable *