Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable