Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable