Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable