Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable