Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable *