Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable