Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable