Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable