Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable *