Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable