Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable