Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable