Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable