Contents of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable