Diff of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 120 by harbaum, Sat Sep 19 19:19:42 2009 UTC revision 280 by harbaum, Fri May 21 19:28:16 2010 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated by GNU Autoconf 2.63 for GPXView 0.8.10.  # Generated by GNU Autoconf 2.65 for GPXView 0.9.4.
4  #  #
5  # Report bugs to <till@harbaum.org>.  # Report bugs to <till@harbaum.org>.
6  #  #
7    #
8  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9  # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.  # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10    # Inc.
11    #
12    #
13  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
14  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
15  ## --------------------- ##  ## -------------------- ##
16  ## M4sh Initialization.  ##  ## M4sh Initialization. ##
17  ## --------------------- ##  ## -------------------- ##
18    
19  # Be more Bourne compatible  # Be more Bourne compatible
20  DUALCASE=1; export DUALCASE # for MKS sh  DUALCASE=1; export DUALCASE # for MKS sh
21  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22    emulate sh    emulate sh
23    NULLCMD=:    NULLCMD=:
24    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# Line 22  if test -n "${ZSH_VERSION+set}" && (emul Line 26  if test -n "${ZSH_VERSION+set}" && (emul
26    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
27    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
28  else  else
29    case `(set -o) 2>/dev/null` in    case `(set -o) 2>/dev/null` in #(
30    *posix*) set -o posix ;;    *posix*) :
31        set -o posix ;; #(
32      *) :
33         ;;
34  esac  esac
   
35  fi  fi
36    
37    
   
   
 # PATH needs CR  
 # Avoid depending upon Character Ranges.  
 as_cr_letters='abcdefghijklmnopqrstuvwxyz'  
 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'  
 as_cr_Letters=$as_cr_letters$as_cr_LETTERS  
 as_cr_digits='0123456789'  
 as_cr_alnum=$as_cr_Letters$as_cr_digits  
   
38  as_nl='  as_nl='
39  '  '
40  export as_nl  export as_nl
# Line 46  export as_nl Line 42  export as_nl
42  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45  if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then  # Prefer a ksh shell builtin over an external printf program on Solaris,
46    # but without wasting forks for bash or zsh.
47    if test -z "$BASH_VERSION$ZSH_VERSION" \
48        && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49      as_echo='print -r --'
50      as_echo_n='print -rn --'
51    elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52    as_echo='printf %s\n'    as_echo='printf %s\n'
53    as_echo_n='printf %s'    as_echo_n='printf %s'
54  else  else
# Line 57  else Line 59  else
59      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60      as_echo_n_body='eval      as_echo_n_body='eval
61        arg=$1;        arg=$1;
62        case $arg in        case $arg in #(
63        *"$as_nl"*)        *"$as_nl"*)
64          expr "X$arg" : "X\\(.*\\)$as_nl";          expr "X$arg" : "X\\(.*\\)$as_nl";
65          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
# Line 80  if test "${PATH_SEPARATOR+set}" != set; Line 82  if test "${PATH_SEPARATOR+set}" != set;
82    }    }
83  fi  fi
84    
 # Support unset when possible.  
 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then  
   as_unset=unset  
 else  
   as_unset=false  
 fi  
   
85    
86  # IFS  # IFS
87  # We need space, tab and new line, in precisely that order.  Quoting is  # We need space, tab and new line, in precisely that order.  Quoting is
# Line 96  fi Line 91  fi
91  IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
92    
93  # Find who we are.  Look in the path if we contain no directory separator.  # Find who we are.  Look in the path if we contain no directory separator.
94  case $0 in  case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97  for as_dir in $PATH  for as_dir in $PATH
98  do  do
99    IFS=$as_save_IFS    IFS=$as_save_IFS
100    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
101    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102  done    done
103  IFS=$as_save_IFS  IFS=$as_save_IFS
104    
105       ;;       ;;
# Line 116  if test "x$as_myself" = x; then Line 111  if test "x$as_myself" = x; then
111  fi  fi
112  if test ! -f "$as_myself"; then  if test ! -f "$as_myself"; then
113    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114    { (exit 1); exit 1; }    exit 1
115  fi  fi
116    
117  # Work around bugs in pre-3.0 UWIN ksh.  # Unset variables that we do not need and which cause bugs (e.g. in
118  for as_var in ENV MAIL MAILPATH  # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119  do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var  # suppresses any "Segmentation fault" message there.  '((' could
120    # trigger a bug in pdksh 5.2.14.
121    for as_var in BASH_ENV ENV MAIL MAILPATH
122    do eval test x\${$as_var+set} = xset \
123      && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124  done  done
125  PS1='$ '  PS1='$ '
126  PS2='> '  PS2='> '
# Line 133  export LC_ALL Line 132  export LC_ALL
132  LANGUAGE=C  LANGUAGE=C
133  export LANGUAGE  export LANGUAGE
134    
 # Required to use basename.  
 if expr a : '\(a\)' >/dev/null 2>&1 &&  
    test "X`expr 00001 : '.*\(...\)'`" = X001; then  
   as_expr=expr  
 else  
   as_expr=false  
 fi  
   
 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then  
   as_basename=basename  
 else  
   as_basename=false  
 fi  
   
   
 # Name of the executable.  
 as_me=`$as_basename -- "$0" ||  
 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  
          X"$0" : 'X\(//\)$' \| \  
          X"$0" : 'X\(/\)' \| . 2>/dev/null ||  
 $as_echo X/"$0" |  
     sed '/^.*\/\([^/][^/]*\)\/*$/{  
             s//\1/  
             q  
           }  
           /^X\/\(\/\/\)$/{  
             s//\1/  
             q  
           }  
           /^X\/\(\/\).*/{  
             s//\1/  
             q  
           }  
           s/.*/./; q'`  
   
135  # CDPATH.  # CDPATH.
136  $as_unset CDPATH  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   
137    
138  if test "x$CONFIG_SHELL" = x; then  if test "x$CONFIG_SHELL" = x; then
139    if (eval ":") 2>/dev/null; then    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140    as_have_required=yes    emulate sh
141      NULLCMD=:
142      # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143      # is contrary to our usage.  Disable this feature.
144      alias -g '\${1+\"\$@\"}'='\"\$@\"'
145      setopt NO_GLOB_SUBST
146  else  else
147    as_have_required=no    case \`(set -o) 2>/dev/null\` in #(
148      *posix*) :
149        set -o posix ;; #(
150      *) :
151         ;;
152    esac
153  fi  fi
154    "
155    if test $as_have_required = yes &&     (eval ":    as_required="as_fn_return () { (exit \$1); }
156  (as_func_return () {  as_fn_success () { as_fn_return 0; }
157    (exit \$1)  as_fn_failure () { as_fn_return 1; }
158  }  as_fn_ret_success () { return 0; }
159  as_func_success () {  as_fn_ret_failure () { return 1; }
   as_func_return 0  
 }  
 as_func_failure () {  
   as_func_return 1  
 }  
 as_func_ret_success () {  
   return 0  
 }  
 as_func_ret_failure () {  
   return 1  
 }  
160    
161  exitcode=0  exitcode=0
162  if as_func_success; then  as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163    :  as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164  else  as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165    exitcode=1  as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166    echo as_func_success failed.  if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167  fi  
168    else
169  if as_func_failure; then    exitcode=1; echo positional parameters were not saved.
170    exitcode=1  fi
171    echo as_func_failure succeeded.  test x\$exitcode = x0 || exit 1"
172  fi    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173      as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174  if as_func_ret_success; then    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175    :    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176  else  test \$(( 1 + 1 )) = 2 || exit 1"
177    exitcode=1    if (eval "$as_required") 2>/dev/null; then :
178    echo as_func_ret_success failed.    as_have_required=yes
 fi  
   
 if as_func_ret_failure; then  
   exitcode=1  
   echo as_func_ret_failure succeeded.  
 fi  
   
 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then  
   :  
179  else  else
180    exitcode=1    as_have_required=no
   echo positional parameters were not saved.  
181  fi  fi
182      if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183    
 test \$exitcode = 0) || { (exit 1); exit 1; }  
   
 (  
   as_lineno_1=\$LINENO  
   as_lineno_2=\$LINENO  
   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&  
   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }  
 ") 2> /dev/null; then  
   :  
184  else  else
185    as_candidate_shells=    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_found=false
187  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188  do  do
189    IFS=$as_save_IFS    IFS=$as_save_IFS
190    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
191    case $as_dir in    as_found=:
192      case $as_dir in #(
193           /*)           /*)
194             for as_base in sh bash ksh sh5; do             for as_base in sh bash ksh sh5; do
195               as_candidate_shells="$as_candidate_shells $as_dir/$as_base"               # Try only shells that exist, to save several forks.
196                 as_shell=$as_dir/$as_base
197                 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198                        { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199      CONFIG_SHELL=$as_shell as_have_required=yes
200                       if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201      break 2
202    fi
203    fi
204             done;;             done;;
205         esac         esac
206      as_found=false
207  done  done
208    $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209                  { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210      CONFIG_SHELL=$SHELL as_have_required=yes
211    fi; }
212  IFS=$as_save_IFS  IFS=$as_save_IFS
213    
214    
215        for as_shell in $as_candidate_shells $SHELL; do        if test "x$CONFIG_SHELL" != x; then :
216           # Try only shells that exist, to save several forks.    # We cannot yet assume a decent shell, so we have to provide a
217           if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&          # neutralization value for shells without unset; and this also
218                  { ("$as_shell") 2> /dev/null <<\_ASEOF          # works around shells that cannot unset nonexistent variables.
219  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then          BASH_ENV=/dev/null
220    emulate sh          ENV=/dev/null
221    NULLCMD=:          (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which          export CONFIG_SHELL
223    # is contrary to our usage.  Disable this feature.          exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   alias -g '${1+"$@"}'='"$@"'  
   setopt NO_GLOB_SUBST  
 else  
   case `(set -o) 2>/dev/null` in  
   *posix*) set -o posix ;;  
 esac  
   
 fi  
   
   
 :  
 _ASEOF  
 }; then  
   CONFIG_SHELL=$as_shell  
                as_have_required=yes  
                if { "$as_shell" 2> /dev/null <<\_ASEOF  
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  
   emulate sh  
   NULLCMD=:  
   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which  
   # is contrary to our usage.  Disable this feature.  
   alias -g '${1+"$@"}'='"$@"'  
   setopt NO_GLOB_SUBST  
 else  
   case `(set -o) 2>/dev/null` in  
   *posix*) set -o posix ;;  
 esac  
   
 fi  
   
   
 :  
 (as_func_return () {  
   (exit $1)  
 }  
 as_func_success () {  
   as_func_return 0  
 }  
 as_func_failure () {  
   as_func_return 1  
 }  
 as_func_ret_success () {  
   return 0  
 }  
 as_func_ret_failure () {  
   return 1  
 }  
   
 exitcode=0  
 if as_func_success; then  
   :  
 else  
   exitcode=1  
   echo as_func_success failed.  
 fi  
   
 if as_func_failure; then  
   exitcode=1  
   echo as_func_failure succeeded.  
 fi  
   
 if as_func_ret_success; then  
   :  
 else  
   exitcode=1  
   echo as_func_ret_success failed.  
 fi  
   
 if as_func_ret_failure; then  
   exitcode=1  
   echo as_func_ret_failure succeeded.  
224  fi  fi
225    
226  if ( set x; as_func_ret_success y && test x = "$1" ); then      if test x$as_have_required = xno; then :
227    :    $as_echo "$0: This script requires a shell more modern than all"
228  else    $as_echo "$0: the shells that I found on your system."
229    exitcode=1    if test x${ZSH_VERSION+set} = xset ; then
230    echo positional parameters were not saved.      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231        $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232      else
233        $as_echo "$0: Please tell bug-autoconf@gnu.org and till@harbaum.org
234    $0: about your system, including any error possibly output
235    $0: before this message. Then install a modern shell, or
236    $0: manually run the script under such a shell if you do
237    $0: have one."
238      fi
239      exit 1
240  fi  fi
   
 test $exitcode = 0) || { (exit 1); exit 1; }  
   
 (  
   as_lineno_1=$LINENO  
   as_lineno_2=$LINENO  
   test "x$as_lineno_1" != "x$as_lineno_2" &&  
   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }  
   
 _ASEOF  
 }; then  
   break  
241  fi  fi
   
242  fi  fi
243    SHELL=${CONFIG_SHELL-/bin/sh}
244    export SHELL
245    # Unset more variables known to interfere with behavior of common tools.
246    CLICOLOR_FORCE= GREP_OPTIONS=
247    unset CLICOLOR_FORCE GREP_OPTIONS
248    
249        done  ## --------------------- ##
250    ## M4sh Shell Functions. ##
251        if test "x$CONFIG_SHELL" != x; then  ## --------------------- ##
252    for as_var in BASH_ENV ENV  # as_fn_unset VAR
253          do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var  # ---------------
254          done  # Portably unset VAR.
255          export CONFIG_SHELL  as_fn_unset ()
256          exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}  {
257  fi    { eval $1=; unset $1;}
258    }
259    as_unset=as_fn_unset
260    
261    # as_fn_set_status STATUS
262    # -----------------------
263    # Set $? to STATUS, without forking.
264    as_fn_set_status ()
265    {
266      return $1
267    } # as_fn_set_status
268    
269      if test $as_have_required = no; then  # as_fn_exit STATUS
270    echo This script requires a shell more modern than all the  # -----------------
271        echo shells that I found on your system.  Please install a  # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272        echo modern shell, or manually run the script under such a  as_fn_exit ()
273        echo shell if you do have one.  {
274        { (exit 1); exit 1; }    set +e
275  fi    as_fn_set_status $1
276      exit $1
277    } # as_fn_exit
278    
279    # as_fn_mkdir_p
280    # -------------
281    # Create "$as_dir" as a directory, including parents if necessary.
282    as_fn_mkdir_p ()
283    {
284    
285      case $as_dir in #(
286      -*) as_dir=./$as_dir;;
287      esac
288      test -d "$as_dir" || eval $as_mkdir_p || {
289        as_dirs=
290        while :; do
291          case $as_dir in #(
292          *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293          *) as_qdir=$as_dir;;
294          esac
295          as_dirs="'$as_qdir' $as_dirs"
296          as_dir=`$as_dirname -- "$as_dir" ||
297    $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298             X"$as_dir" : 'X\(//\)[^/]' \| \
299             X"$as_dir" : 'X\(//\)$' \| \
300             X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301    $as_echo X"$as_dir" |
302        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303                s//\1/
304                q
305              }
306              /^X\(\/\/\)[^/].*/{
307                s//\1/
308                q
309              }
310              /^X\(\/\/\)$/{
311                s//\1/
312                q
313              }
314              /^X\(\/\).*/{
315                s//\1/
316                q
317              }
318              s/.*/./; q'`
319          test -d "$as_dir" && break
320        done
321        test -z "$as_dirs" || eval "mkdir $as_dirs"
322      } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323    
 fi  
324    
325  fi  } # as_fn_mkdir_p
326    # as_fn_append VAR VALUE
327    # ----------------------
328    # Append the text in VALUE to the end of the definition contained in VAR. Take
329    # advantage of any shell optimizations that allow amortized linear growth over
330    # repeated appends, instead of the typical quadratic growth present in naive
331    # implementations.
332    if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333      eval 'as_fn_append ()
334      {
335        eval $1+=\$2
336      }'
337    else
338      as_fn_append ()
339      {
340        eval $1=\$$1\$2
341      }
342    fi # as_fn_append
343    
344    # as_fn_arith ARG...
345    # ------------------
346    # Perform arithmetic evaluation on the ARGs, and store the result in the
347    # global $as_val. Take advantage of shells that can avoid forks. The arguments
348    # must be portable across $(()) and expr.
349    if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350      eval 'as_fn_arith ()
351      {
352        as_val=$(( $* ))
353      }'
354    else
355      as_fn_arith ()
356      {
357        as_val=`expr "$@" || test $? -eq 1`
358      }
359    fi # as_fn_arith
360    
361    
362  (eval "as_func_return () {  # as_fn_error ERROR [LINENO LOG_FD]
363    (exit \$1)  # ---------------------------------
364  }  # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365  as_func_success () {  # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366    as_func_return 0  # script with status $?, using 1 if that was 0.
367  }  as_fn_error ()
368  as_func_failure () {  {
369    as_func_return 1    as_status=$?; test $as_status -eq 0 && as_status=1
370  }    if test "$3"; then
371  as_func_ret_success () {      as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372    return 0      $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373  }    fi
374  as_func_ret_failure () {    $as_echo "$as_me: error: $1" >&2
375    return 1    as_fn_exit $as_status
376  }  } # as_fn_error
377    
378  exitcode=0  if expr a : '\(a\)' >/dev/null 2>&1 &&
379  if as_func_success; then     test "X`expr 00001 : '.*\(...\)'`" = X001; then
380    :    as_expr=expr
381  else  else
382    exitcode=1    as_expr=false
   echo as_func_success failed.  
 fi  
   
 if as_func_failure; then  
   exitcode=1  
   echo as_func_failure succeeded.  
383  fi  fi
384    
385  if as_func_ret_success; then  if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386    :    as_basename=basename
387  else  else
388    exitcode=1    as_basename=false
   echo as_func_ret_success failed.  
 fi  
   
 if as_func_ret_failure; then  
   exitcode=1  
   echo as_func_ret_failure succeeded.  
389  fi  fi
390    
391  if ( set x; as_func_ret_success y && test x = \"\$1\" ); then  if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392    :    as_dirname=dirname
393  else  else
394    exitcode=1    as_dirname=false
   echo positional parameters were not saved.  
395  fi  fi
396    
397  test \$exitcode = 0") || {  as_me=`$as_basename -- "$0" ||
398    echo No shell found that supports shell functions.  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399    echo Please tell bug-autoconf@gnu.org about your system,           X"$0" : 'X\(//\)$' \| \
400    echo including any error possibly output before this message.           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401    echo This can help us improve future autoconf versions.  $as_echo X/"$0" |
402    echo Configuration will now proceed without shell functions.      sed '/^.*\/\([^/][^/]*\)\/*$/{
403  }              s//\1/
404                q
405              }
406              /^X\/\(\/\/\)$/{
407                s//\1/
408                q
409              }
410              /^X\/\(\/\).*/{
411                s//\1/
412                q
413              }
414              s/.*/./; q'`
415    
416    # Avoid depending upon Character Ranges.
417    as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420    as_cr_digits='0123456789'
421    as_cr_alnum=$as_cr_Letters$as_cr_digits
422    
423    
424    as_lineno_1=$LINENO    as_lineno_1=$LINENO as_lineno_1a=$LINENO
425    as_lineno_2=$LINENO    as_lineno_2=$LINENO as_lineno_2a=$LINENO
426    test "x$as_lineno_1" != "x$as_lineno_2" &&    eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427    test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {    test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428      # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO  
   # uniformly replaced by the line number.  The first 'sed' inserts a  
   # line-number line after each line using $LINENO; the second 'sed'  
   # does the real work.  The second script uses 'N' to pair each  
   # line-number line with the line containing $LINENO, and appends  
   # trailing '-' during substitution so that $LINENO is not a special  
   # case at line end.  
   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the  
   # scripts with optimization help from Paolo Bonzini.  Blame Lee  
   # E. McMahon (1931-1989) for sed's syntax.  :-)  
429    sed -n '    sed -n '
430      p      p
431      /[$]LINENO/=      /[$]LINENO/=
# Line 473  test \$exitcode = 0") || { Line 442  test \$exitcode = 0") || {
442        s/-\n.*//        s/-\n.*//
443      ' >$as_me.lineno &&      ' >$as_me.lineno &&
444    chmod +x "$as_me.lineno" ||    chmod +x "$as_me.lineno" ||
445      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    { (exit 1); exit 1; }; }  
446    
447    # Don't try to exec as it changes $[0], causing all sort of problems    # Don't try to exec as it changes $[0], causing all sort of problems
448    # (the dirname of $[0] is not the place where we might find the    # (the dirname of $[0] is not the place where we might find the
# Line 484  test \$exitcode = 0") || { Line 452  test \$exitcode = 0") || {
452    exit    exit
453  }  }
454    
   
 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then  
   as_dirname=dirname  
 else  
   as_dirname=false  
 fi  
   
455  ECHO_C= ECHO_N= ECHO_T=  ECHO_C= ECHO_N= ECHO_T=
456  case `echo -n x` in  case `echo -n x` in #(((((
457  -n*)  -n*)
458    case `echo 'x\c'` in    case `echo 'xy\c'` in
459    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
460    *)   ECHO_C='\c';;    xy)  ECHO_C='\c';;
461      *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462           ECHO_T=' ';;
463    esac;;    esac;;
464  *)  *)
465    ECHO_N='-n';;    ECHO_N='-n';;
466  esac  esac
 if expr a : '\(a\)' >/dev/null 2>&1 &&  
    test "X`expr 00001 : '.*\(...\)'`" = X001; then  
   as_expr=expr  
 else  
   as_expr=false  
 fi  
467    
468  rm -f conf$$ conf$$.exe conf$$.file  rm -f conf$$ conf$$.exe conf$$.file
469  if test -d conf$$.dir; then  if test -d conf$$.dir; then
# Line 536  rm -f conf$$ conf$$.exe conf$$.dir/conf$ Line 493  rm -f conf$$ conf$$.exe conf$$.dir/conf$
493  rmdir conf$$.dir 2>/dev/null  rmdir conf$$.dir 2>/dev/null
494    
495  if mkdir -p . 2>/dev/null; then  if mkdir -p . 2>/dev/null; then
496    as_mkdir_p=:    as_mkdir_p='mkdir -p "$as_dir"'
497  else  else
498    test -d ./-p && rmdir ./-p    test -d ./-p && rmdir ./-p
499    as_mkdir_p=false    as_mkdir_p=false
# Line 555  else Line 512  else
512        if test -d "$1"; then        if test -d "$1"; then
513          test -d "$1/.";          test -d "$1/.";
514        else        else
515          case $1 in          case $1 in #(
516          -*)set "./$1";;          -*)set "./$1";;
517          esac;          esac;
518          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519          ???[sx]*):;;*)false;;esac;fi          ???[sx]*):;;*)false;;esac;fi
520      '\'' sh      '\'' sh
521    '    '
# Line 572  as_tr_cpp="eval sed 'y%*$as_cr_letters%P Line 529  as_tr_cpp="eval sed 'y%*$as_cr_letters%P
529  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530    
531    
532    test -n "$DJDIR" || exec 7<&0 </dev/null
533  exec 7<&0 </dev/null 6>&1  exec 6>&1
534    
535  # Name of the host.  # Name of the host.
536  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# Line 591  cross_compiling=no Line 548  cross_compiling=no
548  subdirs=  subdirs=
549  MFLAGS=  MFLAGS=
550  MAKEFLAGS=  MAKEFLAGS=
 SHELL=${CONFIG_SHELL-/bin/sh}  
551    
552  # Identity of this package.  # Identity of this package.
553  PACKAGE_NAME='GPXView'  PACKAGE_NAME='GPXView'
554  PACKAGE_TARNAME='gpxview'  PACKAGE_TARNAME='gpxview'
555  PACKAGE_VERSION='0.8.10'  PACKAGE_VERSION='0.9.4'
556  PACKAGE_STRING='GPXView 0.8.10'  PACKAGE_STRING='GPXView 0.9.4'
557  PACKAGE_BUGREPORT='till@harbaum.org'  PACKAGE_BUGREPORT='till@harbaum.org'
558    PACKAGE_URL=''
559    
560  ac_unique_file="src/main.c"  ac_unique_file="src/main.c"
561    # Factoring default headers for most tests.
562    ac_includes_default="\
563    #include <stdio.h>
564    #ifdef HAVE_SYS_TYPES_H
565    # include <sys/types.h>
566    #endif
567    #ifdef HAVE_SYS_STAT_H
568    # include <sys/stat.h>
569    #endif
570    #ifdef STDC_HEADERS
571    # include <stdlib.h>
572    # include <stddef.h>
573    #else
574    # ifdef HAVE_STDLIB_H
575    #  include <stdlib.h>
576    # endif
577    #endif
578    #ifdef HAVE_STRING_H
579    # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
580    #  include <memory.h>
581    # endif
582    # include <string.h>
583    #endif
584    #ifdef HAVE_STRINGS_H
585    # include <strings.h>
586    #endif
587    #ifdef HAVE_INTTYPES_H
588    # include <inttypes.h>
589    #endif
590    #ifdef HAVE_STDINT_H
591    # include <stdint.h>
592    #endif
593    #ifdef HAVE_UNISTD_H
594    # include <unistd.h>
595    #endif"
596    
597  ac_subst_vars='LTLIBOBJS  ac_subst_vars='LTLIBOBJS
598  LIBOBJS  LIBOBJS
599  INSTALL_PLATTFORM  INSTALL_PLATTFORM
# Line 610  gnome2_LIBS Line 603  gnome2_LIBS
603  gnome2_CFLAGS  gnome2_CFLAGS
604  gtk_LIBS  gtk_LIBS
605  gtk_CFLAGS  gtk_CFLAGS
606    EGREP
607    GREP
608    CPP
609    MAEMO_VERSION_MAJOR
610  liblocation_LIBS  liblocation_LIBS
611  liblocation_CFLAGS  liblocation_CFLAGS
612  gpsbt_LIBS  gpsbt_LIBS
# Line 632  libsoup22_LIBS Line 629  libsoup22_LIBS
629  libsoup22_CFLAGS  libsoup22_CFLAGS
630  libsoup24_LIBS  libsoup24_LIBS
631  libsoup24_CFLAGS  libsoup24_CFLAGS
632    libcurl_LIBS
633    libcurl_CFLAGS
634  libxml2_LIBS  libxml2_LIBS
635  libxml2_CFLAGS  libxml2_CFLAGS
636  gnome_vfs_module_LIBS  gnome_vfs_module_LIBS
# Line 680  bindir Line 679  bindir
679  program_transform_name  program_transform_name
680  prefix  prefix
681  exec_prefix  exec_prefix
682    PACKAGE_URL
683  PACKAGE_BUGREPORT  PACKAGE_BUGREPORT
684  PACKAGE_STRING  PACKAGE_STRING
685  PACKAGE_VERSION  PACKAGE_VERSION
# Line 704  gnome_vfs_module_CFLAGS Line 704  gnome_vfs_module_CFLAGS
704  gnome_vfs_module_LIBS  gnome_vfs_module_LIBS
705  libxml2_CFLAGS  libxml2_CFLAGS
706  libxml2_LIBS  libxml2_LIBS
707    libcurl_CFLAGS
708    libcurl_LIBS
709  libsoup24_CFLAGS  libsoup24_CFLAGS
710  libsoup24_LIBS  libsoup24_LIBS
711  libsoup22_CFLAGS  libsoup22_CFLAGS
# Line 726  gpsbt_CFLAGS Line 728  gpsbt_CFLAGS
728  gpsbt_LIBS  gpsbt_LIBS
729  liblocation_CFLAGS  liblocation_CFLAGS
730  liblocation_LIBS  liblocation_LIBS
731    CPP
732  gtk_CFLAGS  gtk_CFLAGS
733  gtk_LIBS  gtk_LIBS
734  gnome2_CFLAGS  gnome2_CFLAGS
# Line 838  do Line 841  do
841      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
842      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
843      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
844        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2        as_fn_error "invalid feature name: $ac_useropt"
    { (exit 1); exit 1; }; }  
845      ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
846      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
847      case $ac_user_opts in      case $ac_user_opts in
# Line 865  do Line 867  do
867      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
868      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
869      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
870        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2        as_fn_error "invalid feature name: $ac_useropt"
    { (exit 1); exit 1; }; }  
871      ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
872      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873      case $ac_user_opts in      case $ac_user_opts in
# Line 1070  do Line 1071  do
1071      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1072      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1073      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2        as_fn_error "invalid package name: $ac_useropt"
    { (exit 1); exit 1; }; }  
1075      ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
1076      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077      case $ac_user_opts in      case $ac_user_opts in
# Line 1087  do Line 1087  do
1087      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1088      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1089      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2        as_fn_error "invalid package name: $ac_useropt"
    { (exit 1); exit 1; }; }  
1091      ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
1092      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093      case $ac_user_opts in      case $ac_user_opts in
# Line 1118  do Line 1117  do
1117    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1118      x_libraries=$ac_optarg ;;      x_libraries=$ac_optarg ;;
1119    
1120    -*) { $as_echo "$as_me: error: unrecognized option: $ac_option    -*) as_fn_error "unrecognized option: \`$ac_option'
1121  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information."
    { (exit 1); exit 1; }; }  
1122      ;;      ;;
1123    
1124    *=*)    *=*)
1125      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1126      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1127      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&      case $ac_envvar in #(
1128        { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2        '' | [0-9]* | *[!_$as_cr_alnum]* )
1129     { (exit 1); exit 1; }; }        as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1130        esac
1131      eval $ac_envvar=\$ac_optarg      eval $ac_envvar=\$ac_optarg
1132      export $ac_envvar ;;      export $ac_envvar ;;
1133    
# Line 1145  done Line 1144  done
1144    
1145  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
1146    ac_option=--`echo $ac_prev | sed 's/_/-/g'`    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1147    { $as_echo "$as_me: error: missing argument to $ac_option" >&2    as_fn_error "missing argument to $ac_option"
    { (exit 1); exit 1; }; }  
1148  fi  fi
1149    
1150  if test -n "$ac_unrecognized_opts"; then  if test -n "$ac_unrecognized_opts"; then
1151    case $enable_option_checking in    case $enable_option_checking in
1152      no) ;;      no) ;;
1153      fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2      fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
    { (exit 1); exit 1; }; } ;;  
1154      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1155    esac    esac
1156  fi  fi
# Line 1176  do Line 1173  do
1173      [\\/$]* | ?:[\\/]* )  continue;;      [\\/$]* | ?:[\\/]* )  continue;;
1174      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1175    esac    esac
1176    { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2    as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
    { (exit 1); exit 1; }; }  
1177  done  done
1178    
1179  # There might be people who depend on the old broken behavior: `$host'  # There might be people who depend on the old broken behavior: `$host'
# Line 1207  test "$silent" = yes && exec 6>/dev/null Line 1203  test "$silent" = yes && exec 6>/dev/null
1203  ac_pwd=`pwd` && test -n "$ac_pwd" &&  ac_pwd=`pwd` && test -n "$ac_pwd" &&
1204  ac_ls_di=`ls -di .` &&  ac_ls_di=`ls -di .` &&
1205  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1206    { $as_echo "$as_me: error: working directory cannot be determined" >&2    as_fn_error "working directory cannot be determined"
    { (exit 1); exit 1; }; }  
1207  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1208    { $as_echo "$as_me: error: pwd does not report name of working directory" >&2    as_fn_error "pwd does not report name of working directory"
    { (exit 1); exit 1; }; }  
1209    
1210    
1211  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
# Line 1250  else Line 1244  else
1244  fi  fi
1245  if test ! -r "$srcdir/$ac_unique_file"; then  if test ! -r "$srcdir/$ac_unique_file"; then
1246    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1247    { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2    as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
    { (exit 1); exit 1; }; }  
1248  fi  fi
1249  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1250  ac_abs_confdir=`(  ac_abs_confdir=`(
1251          cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2          cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
    { (exit 1); exit 1; }; }  
1252          pwd)`          pwd)`
1253  # When building in place, set srcdir=.  # When building in place, set srcdir=.
1254  if test "$ac_abs_confdir" = "$ac_pwd"; then  if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1282  if test "$ac_init_help" = "long"; then Line 1274  if test "$ac_init_help" = "long"; then
1274    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
1275    # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
1276    cat <<_ACEOF    cat <<_ACEOF
1277  \`configure' configures GPXView 0.8.10 to adapt to many kinds of systems.  \`configure' configures GPXView 0.9.4 to adapt to many kinds of systems.
1278    
1279  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
1280    
# Line 1343  fi Line 1335  fi
1335    
1336  if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
1337    case $ac_init_help in    case $ac_init_help in
1338       short | recursive ) echo "Configuration of GPXView 0.8.10:";;       short | recursive ) echo "Configuration of GPXView 0.9.4:";;
1339     esac     esac
1340    cat <<\_ACEOF    cat <<\_ACEOF
1341    
# Line 1353  Some influential environment variables: Line 1345  Some influential environment variables:
1345    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1346                nonstandard directory <lib dir>                nonstandard directory <lib dir>
1347    LIBS        libraries to pass to the linker, e.g. -l<library>    LIBS        libraries to pass to the linker, e.g. -l<library>
1348    CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1349                you have headers in a nonstandard directory <include dir>                you have headers in a nonstandard directory <include dir>
1350    PKG_CONFIG  path to pkg-config utility    PKG_CONFIG  path to pkg-config utility
1351    gnome_vfs_module_CFLAGS    gnome_vfs_module_CFLAGS
# Line 1364  Some influential environment variables: Line 1356  Some influential environment variables:
1356                C compiler flags for libxml2, overriding pkg-config                C compiler flags for libxml2, overriding pkg-config
1357    libxml2_LIBS    libxml2_LIBS
1358                linker flags for libxml2, overriding pkg-config                linker flags for libxml2, overriding pkg-config
1359      libcurl_CFLAGS
1360                  C compiler flags for libcurl, overriding pkg-config
1361      libcurl_LIBS
1362                  linker flags for libcurl, overriding pkg-config
1363    libsoup24_CFLAGS    libsoup24_CFLAGS
1364                C compiler flags for libsoup24, overriding pkg-config                C compiler flags for libsoup24, overriding pkg-config
1365    libsoup24_LIBS    libsoup24_LIBS
# Line 1404  Some influential environment variables: Line 1400  Some influential environment variables:
1400                C compiler flags for liblocation, overriding pkg-config                C compiler flags for liblocation, overriding pkg-config
1401    liblocation_LIBS    liblocation_LIBS
1402                linker flags for liblocation, overriding pkg-config                linker flags for liblocation, overriding pkg-config
1403      CPP         C preprocessor
1404    gtk_CFLAGS  C compiler flags for gtk, overriding pkg-config    gtk_CFLAGS  C compiler flags for gtk, overriding pkg-config
1405    gtk_LIBS    linker flags for gtk, overriding pkg-config    gtk_LIBS    linker flags for gtk, overriding pkg-config
1406    gnome2_CFLAGS    gnome2_CFLAGS
# Line 1437  case "$ac_dir" in Line 1434  case "$ac_dir" in
1434    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1435    esac ;;    esac ;;
1436  esac  esac
1437  ac_abs_top_builddir=$ac_pwd  ac_abs_top_builddir=$ac_pwd
1438  ac_abs_builddir=$ac_pwd$ac_dir_suffix  ac_abs_builddir=$ac_pwd$ac_dir_suffix
1439  # for backward compatibility:  # for backward compatibility:
1440  ac_top_builddir=$ac_top_build_prefix  ac_top_builddir=$ac_top_build_prefix
1441    
1442    case $srcdir in
1443      .)  # We are building in place.
1444        ac_srcdir=.
1445        ac_top_srcdir=$ac_top_builddir_sub
1446        ac_abs_top_srcdir=$ac_pwd ;;
1447      [\\/]* | ?:[\\/]* )  # Absolute name.
1448        ac_srcdir=$srcdir$ac_dir_suffix;
1449        ac_top_srcdir=$srcdir
1450        ac_abs_top_srcdir=$srcdir ;;
1451      *) # Relative name.
1452        ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1453        ac_top_srcdir=$ac_top_build_prefix$srcdir
1454        ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1455    esac
1456    ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1457    
1458        cd "$ac_dir" || { ac_status=$?; continue; }
1459        # Check for guested configure.
1460        if test -f "$ac_srcdir/configure.gnu"; then
1461          echo &&
1462          $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1463        elif test -f "$ac_srcdir/configure"; then
1464          echo &&
1465          $SHELL "$ac_srcdir/configure" --help=recursive
1466        else
1467          $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1468        fi || ac_status=$?
1469        cd "$ac_pwd" || { ac_status=$?; break; }
1470      done
1471    fi
1472    
1473    test -n "$ac_init_help" && exit $ac_status
1474    if $ac_init_version; then
1475      cat <<\_ACEOF
1476    GPXView configure 0.9.4
1477    generated by GNU Autoconf 2.65
1478    
1479    Copyright (C) 2009 Free Software Foundation, Inc.
1480    This configure script is free software; the Free Software Foundation
1481    gives unlimited permission to copy, distribute and modify it.
1482    _ACEOF
1483      exit
1484    fi
1485    
1486    ## ------------------------ ##
1487    ## Autoconf initialization. ##
1488    ## ------------------------ ##
1489    
1490    # ac_fn_c_try_compile LINENO
1491    # --------------------------
1492    # Try to compile conftest.$ac_ext, and return whether this succeeded.
1493    ac_fn_c_try_compile ()
1494    {
1495      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1496      rm -f conftest.$ac_objext
1497      if { { ac_try="$ac_compile"
1498    case "(($ac_try" in
1499      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1500      *) ac_try_echo=$ac_try;;
1501    esac
1502    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1503    $as_echo "$ac_try_echo"; } >&5
1504      (eval "$ac_compile") 2>conftest.err
1505      ac_status=$?
1506      if test -s conftest.err; then
1507        grep -v '^ *+' conftest.err >conftest.er1
1508        cat conftest.er1 >&5
1509        mv -f conftest.er1 conftest.err
1510      fi
1511      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1512      test $ac_status = 0; } && {
1513             test -z "$ac_c_werror_flag" ||
1514             test ! -s conftest.err
1515           } && test -s conftest.$ac_objext; then :
1516      ac_retval=0
1517    else
1518      $as_echo "$as_me: failed program was:" >&5
1519    sed 's/^/| /' conftest.$ac_ext >&5
1520    
1521            ac_retval=1
1522    fi
1523      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1524      as_fn_set_status $ac_retval
1525    
1526    } # ac_fn_c_try_compile
1527    
1528    # ac_fn_c_try_cpp LINENO
1529    # ----------------------
1530    # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1531    ac_fn_c_try_cpp ()
1532    {
1533      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534      if { { ac_try="$ac_cpp conftest.$ac_ext"
1535    case "(($ac_try" in
1536      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537      *) ac_try_echo=$ac_try;;
1538    esac
1539    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540    $as_echo "$ac_try_echo"; } >&5
1541      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1542      ac_status=$?
1543      if test -s conftest.err; then
1544        grep -v '^ *+' conftest.err >conftest.er1
1545        cat conftest.er1 >&5
1546        mv -f conftest.er1 conftest.err
1547      fi
1548      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549      test $ac_status = 0; } >/dev/null && {
1550             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1551             test ! -s conftest.err
1552           }; then :
1553      ac_retval=0
1554    else
1555      $as_echo "$as_me: failed program was:" >&5
1556    sed 's/^/| /' conftest.$ac_ext >&5
1557    
1558        ac_retval=1
1559    fi
1560      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561      as_fn_set_status $ac_retval
1562    
1563    } # ac_fn_c_try_cpp
1564    
1565    # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1566    # -------------------------------------------------------
1567    # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1568    # the include files in INCLUDES and setting the cache variable VAR
1569    # accordingly.
1570    ac_fn_c_check_header_mongrel ()
1571    {
1572      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573      if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1574      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1575    $as_echo_n "checking for $2... " >&6; }
1576    if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1577      $as_echo_n "(cached) " >&6
1578    fi
1579    eval ac_res=\$$3
1580                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1581    $as_echo "$ac_res" >&6; }
1582    else
1583      # Is the header compilable?
1584    { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1585    $as_echo_n "checking $2 usability... " >&6; }
1586    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1587    /* end confdefs.h.  */
1588    $4
1589    #include <$2>
1590    _ACEOF
1591    if ac_fn_c_try_compile "$LINENO"; then :
1592      ac_header_compiler=yes
1593    else
1594      ac_header_compiler=no
1595    fi
1596    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1597    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1598    $as_echo "$ac_header_compiler" >&6; }
1599    
1600    # Is the header present?
1601    { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1602    $as_echo_n "checking $2 presence... " >&6; }
1603    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1604    /* end confdefs.h.  */
1605    #include <$2>
1606    _ACEOF
1607    if ac_fn_c_try_cpp "$LINENO"; then :
1608      ac_header_preproc=yes
1609    else
1610      ac_header_preproc=no
1611    fi
1612    rm -f conftest.err conftest.$ac_ext
1613    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1614    $as_echo "$ac_header_preproc" >&6; }
1615    
1616    # So?  What about this header?
1617    case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1618      yes:no: )
1619        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1620    $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1621        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1622    $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1623        ;;
1624      no:yes:* )
1625        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1626    $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1627        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1628    $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1629        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1630    $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1631        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1632    $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1633        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1634    $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1635    ( cat <<\_ASBOX
1636    ## ------------------------------- ##
1637    ## Report this to till@harbaum.org ##
1638    ## ------------------------------- ##
1639    _ASBOX
1640         ) | sed "s/^/$as_me: WARNING:     /" >&2
1641        ;;
1642    esac
1643      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1644    $as_echo_n "checking for $2... " >&6; }
1645    if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1646      $as_echo_n "(cached) " >&6
1647    else
1648      eval "$3=\$ac_header_compiler"
1649    fi
1650    eval ac_res=\$$3
1651                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1652    $as_echo "$ac_res" >&6; }
1653    fi
1654      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1655    
1656  case $srcdir in  } # ac_fn_c_check_header_mongrel
1657    .)  # We are building in place.  
1658      ac_srcdir=.  # ac_fn_c_try_run LINENO
1659      ac_top_srcdir=$ac_top_builddir_sub  # ----------------------
1660      ac_abs_top_srcdir=$ac_pwd ;;  # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1661    [\\/]* | ?:[\\/]* )  # Absolute name.  # that executables *can* be run.
1662      ac_srcdir=$srcdir$ac_dir_suffix;  ac_fn_c_try_run ()
1663      ac_top_srcdir=$srcdir  {
1664      ac_abs_top_srcdir=$srcdir ;;    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665    *) # Relative name.    if { { ac_try="$ac_link"
1666      ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix  case "(($ac_try" in
1667      ac_top_srcdir=$ac_top_build_prefix$srcdir    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668      ac_abs_top_srcdir=$ac_pwd/$srcdir ;;    *) ac_try_echo=$ac_try;;
1669  esac  esac
1670  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671    $as_echo "$ac_try_echo"; } >&5
1672      (eval "$ac_link") 2>&5
1673      ac_status=$?
1674      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675      test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1676      { { case "(($ac_try" in
1677      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678      *) ac_try_echo=$ac_try;;
1679    esac
1680    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681    $as_echo "$ac_try_echo"; } >&5
1682      (eval "$ac_try") 2>&5
1683      ac_status=$?
1684      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685      test $ac_status = 0; }; }; then :
1686      ac_retval=0
1687    else
1688      $as_echo "$as_me: program exited with status $ac_status" >&5
1689           $as_echo "$as_me: failed program was:" >&5
1690    sed 's/^/| /' conftest.$ac_ext >&5
1691    
1692      cd "$ac_dir" || { ac_status=$?; continue; }         ac_retval=$ac_status
     # Check for guested configure.  
     if test -f "$ac_srcdir/configure.gnu"; then  
       echo &&  
       $SHELL "$ac_srcdir/configure.gnu" --help=recursive  
     elif test -f "$ac_srcdir/configure"; then  
       echo &&  
       $SHELL "$ac_srcdir/configure" --help=recursive  
     else  
       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2  
     fi || ac_status=$?  
     cd "$ac_pwd" || { ac_status=$?; break; }  
   done  
1693  fi  fi
1694      rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695  test -n "$ac_init_help" && exit $ac_status    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696  if $ac_init_version; then    as_fn_set_status $ac_retval
1697    cat <<\_ACEOF  
1698  GPXView configure 0.8.10  } # ac_fn_c_try_run
1699  generated by GNU Autoconf 2.63  
1700    # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1701  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # -------------------------------------------------------
1702  2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.  # Tests whether HEADER exists and can be compiled using the include files in
1703  This configure script is free software; the Free Software Foundation  # INCLUDES, setting the cache variable VAR accordingly.
1704  gives unlimited permission to copy, distribute and modify it.  ac_fn_c_check_header_compile ()
1705    {
1706      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708    $as_echo_n "checking for $2... " >&6; }
1709    if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1710      $as_echo_n "(cached) " >&6
1711    else
1712      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713    /* end confdefs.h.  */
1714    $4
1715    #include <$2>
1716  _ACEOF  _ACEOF
1717    exit  if ac_fn_c_try_compile "$LINENO"; then :
1718      eval "$3=yes"
1719    else
1720      eval "$3=no"
1721    fi
1722    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1723  fi  fi
1724    eval ac_res=\$$3
1725                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1726    $as_echo "$ac_res" >&6; }
1727      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728    
1729    } # ac_fn_c_check_header_compile
1730  cat >config.log <<_ACEOF  cat >config.log <<_ACEOF
1731  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
1732  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1733    
1734  It was created by GPXView $as_me 0.8.10, which was  It was created by GPXView $as_me 0.9.4, which was
1735  generated by GNU Autoconf 2.63.  Invocation command line was  generated by GNU Autoconf 2.65.  Invocation command line was
1736    
1737    $ $0 $@    $ $0 $@
1738    
# Line 1527  for as_dir in $PATH Line 1768  for as_dir in $PATH
1768  do  do
1769    IFS=$as_save_IFS    IFS=$as_save_IFS
1770    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1771    $as_echo "PATH: $as_dir"      $as_echo "PATH: $as_dir"
1772  done    done
1773  IFS=$as_save_IFS  IFS=$as_save_IFS
1774    
1775  } >&5  } >&5
# Line 1565  do Line 1806  do
1806        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1807      esac      esac
1808      case $ac_pass in      case $ac_pass in
1809      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;      1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1810      2)      2)
1811        ac_configure_args1="$ac_configure_args1 '$ac_arg'"        as_fn_append ac_configure_args1 " '$ac_arg'"
1812        if test $ac_must_keep_next = true; then        if test $ac_must_keep_next = true; then
1813          ac_must_keep_next=false # Got value, back to normal.          ac_must_keep_next=false # Got value, back to normal.
1814        else        else
# Line 1583  do Line 1824  do
1824            -* ) ac_must_keep_next=true ;;            -* ) ac_must_keep_next=true ;;
1825          esac          esac
1826        fi        fi
1827        ac_configure_args="$ac_configure_args '$ac_arg'"        as_fn_append ac_configure_args " '$ac_arg'"
1828        ;;        ;;
1829      esac      esac
1830    done    done
1831  done  done
1832  $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }  { ac_configure_args0=; unset ac_configure_args0;}
1833  $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }  { ac_configure_args1=; unset ac_configure_args1;}
1834    
1835  # When interrupted or exit'd, cleanup temporary files, and complete  # When interrupted or exit'd, cleanup temporary files, and complete
1836  # config.log.  We remove comments because anyway the quotes in there  # config.log.  We remove comments because anyway the quotes in there
# Line 1614  _ASBOX Line 1855  _ASBOX
1855      case $ac_val in #(      case $ac_val in #(
1856      *${as_nl}*)      *${as_nl}*)
1857        case $ac_var in #(        case $ac_var in #(
1858        *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5        *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1859  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1860        esac        esac
1861        case $ac_var in #(        case $ac_var in #(
1862        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
1863        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1864        *) $as_unset $ac_var ;;        *) { eval $ac_var=; unset $ac_var;} ;;
1865        esac ;;        esac ;;
1866      esac      esac
1867    done    done
# Line 1692  _ASBOX Line 1933  _ASBOX
1933      exit $exit_status      exit $exit_status
1934  ' 0  ' 0
1935  for ac_signal in 1 2 13 15; do  for ac_signal in 1 2 13 15; do
1936    trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal    trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1937  done  done
1938  ac_signal=0  ac_signal=0
1939    
1940  # confdefs.h avoids OS command line length limits that DEFS can exceed.  # confdefs.h avoids OS command line length limits that DEFS can exceed.
1941  rm -f -r conftest* confdefs.h  rm -f -r conftest* confdefs.h
1942    
1943    $as_echo "/* confdefs.h */" > confdefs.h
1944    
1945  # Predefined preprocessor variables.  # Predefined preprocessor variables.
1946    
1947  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1948  #define PACKAGE_NAME "$PACKAGE_NAME"  #define PACKAGE_NAME "$PACKAGE_NAME"
1949  _ACEOF  _ACEOF
1950    
   
1951  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1952  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1953  _ACEOF  _ACEOF
1954    
   
1955  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1956  #define PACKAGE_VERSION "$PACKAGE_VERSION"  #define PACKAGE_VERSION "$PACKAGE_VERSION"
1957  _ACEOF  _ACEOF
1958    
   
1959  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1960  #define PACKAGE_STRING "$PACKAGE_STRING"  #define PACKAGE_STRING "$PACKAGE_STRING"
1961  _ACEOF  _ACEOF
1962    
   
1963  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1964  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1965  _ACEOF  _ACEOF
1966    
1967    cat >>confdefs.h <<_ACEOF
1968    #define PACKAGE_URL "$PACKAGE_URL"
1969    _ACEOF
1970    
1971    
1972  # Let the site file select an alternate cache file if it wants to.  # Let the site file select an alternate cache file if it wants to.
1973  # Prefer an explicitly selected file to automatically selected ones.  # Prefer an explicitly selected file to automatically selected ones.
# Line 1742  fi Line 1985  fi
1985  for ac_site_file in "$ac_site_file1" "$ac_site_file2"  for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1986  do  do
1987    test "x$ac_site_file" = xNONE && continue    test "x$ac_site_file" = xNONE && continue
1988    if test -r "$ac_site_file"; then    if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1989      { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1990  $as_echo "$as_me: loading site script $ac_site_file" >&6;}  $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1991      sed 's/^/| /' "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
1992      . "$ac_site_file"      . "$ac_site_file"
# Line 1751  $as_echo "$as_me: loading site script $a Line 1994  $as_echo "$as_me: loading site script $a
1994  done  done
1995    
1996  if test -r "$cache_file"; then  if test -r "$cache_file"; then
1997    # Some versions of bash will fail to source /dev/null (special    # Some versions of bash will fail to source /dev/null (special files
1998    # files actually), so we avoid doing that.    # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1999    if test -f "$cache_file"; then    if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2000      { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2001  $as_echo "$as_me: loading cache $cache_file" >&6;}  $as_echo "$as_me: loading cache $cache_file" >&6;}
2002      case $cache_file in      case $cache_file in
2003        [\\/]* | ?:[\\/]* ) . "$cache_file";;        [\\/]* | ?:[\\/]* ) . "$cache_file";;
# Line 1762  $as_echo "$as_me: loading cache $cache_f Line 2005  $as_echo "$as_me: loading cache $cache_f
2005      esac      esac
2006    fi    fi
2007  else  else
2008    { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2009  $as_echo "$as_me: creating cache $cache_file" >&6;}  $as_echo "$as_me: creating cache $cache_file" >&6;}
2010    >$cache_file    >$cache_file
2011  fi  fi
# Line 1777  for ac_var in $ac_precious_vars; do Line 2020  for ac_var in $ac_precious_vars; do
2020    eval ac_new_val=\$ac_env_${ac_var}_value    eval ac_new_val=\$ac_env_${ac_var}_value
2021    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
2022      set,)      set,)
2023        { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2024  $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}  $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2025        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
2026      ,set)      ,set)
2027        { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2028  $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}  $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2029        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
2030      ,);;      ,);;
# Line 1791  $as_echo "$as_me: error: \`$ac_var' was Line 2034  $as_echo "$as_me: error: \`$ac_var' was
2034          ac_old_val_w=`echo x $ac_old_val`          ac_old_val_w=`echo x $ac_old_val`
2035          ac_new_val_w=`echo x $ac_new_val`          ac_new_val_w=`echo x $ac_new_val`
2036          if test "$ac_old_val_w" != "$ac_new_val_w"; then          if test "$ac_old_val_w" != "$ac_new_val_w"; then
2037            { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5            { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2038  $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}  $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2039            ac_cache_corrupted=:            ac_cache_corrupted=:
2040          else          else
2041            { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5            { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2042  $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}  $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2043            eval $ac_var=\$ac_old_val            eval $ac_var=\$ac_old_val
2044          fi          fi
2045          { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2046  $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}  $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2047          { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2048  $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}  $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2049        fi;;        fi;;
2050    esac    esac
# Line 1813  $as_echo "$as_me:   current value: \`$ac Line 2056  $as_echo "$as_me:   current value: \`$ac
2056      esac      esac
2057      case " $ac_configure_args " in      case " $ac_configure_args " in
2058        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2059        *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;        *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2060      esac      esac
2061    fi    fi
2062  done  done
2063  if $ac_cache_corrupted; then  if $ac_cache_corrupted; then
2064    { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2065  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2066    { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2067  $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}  $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2068    { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5    as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}  
    { (exit 1); exit 1; }; }  
2069  fi  fi
2070    ## -------------------- ##
2071    ## Main body of script. ##
2072    ## -------------------- ##
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
2073    
2074  ac_ext=c  ac_ext=c
2075  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
# Line 1873  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2093  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2093  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
2094    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2095  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2096  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2097  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2098  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2099    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2100  else  else
2101    if test -n "$CC"; then    if test -n "$CC"; then
# Line 1886  for as_dir in $PATH Line 2106  for as_dir in $PATH
2106  do  do
2107    IFS=$as_save_IFS    IFS=$as_save_IFS
2108    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2109    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2110    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2111      ac_cv_prog_CC="${ac_tool_prefix}gcc"      ac_cv_prog_CC="${ac_tool_prefix}gcc"
2112      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2113      break 2      break 2
2114    fi    fi
2115  done  done
2116  done    done
2117  IFS=$as_save_IFS  IFS=$as_save_IFS
2118    
2119  fi  fi
2120  fi  fi
2121  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2122  if test -n "$CC"; then  if test -n "$CC"; then
2123    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2124  $as_echo "$CC" >&6; }  $as_echo "$CC" >&6; }
2125  else  else
2126    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2127  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2128  fi  fi
2129    
# Line 1913  if test -z "$ac_cv_prog_CC"; then Line 2133  if test -z "$ac_cv_prog_CC"; then
2133    ac_ct_CC=$CC    ac_ct_CC=$CC
2134    # Extract the first word of "gcc", so it can be a program name with args.    # Extract the first word of "gcc", so it can be a program name with args.
2135  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
2136  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2137  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2138  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2139    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2140  else  else
2141    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
# Line 1926  for as_dir in $PATH Line 2146  for as_dir in $PATH
2146  do  do
2147    IFS=$as_save_IFS    IFS=$as_save_IFS
2148    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2149    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2150    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2151      ac_cv_prog_ac_ct_CC="gcc"      ac_cv_prog_ac_ct_CC="gcc"
2152      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2153      break 2      break 2
2154    fi    fi
2155  done  done
2156  done    done
2157  IFS=$as_save_IFS  IFS=$as_save_IFS
2158    
2159  fi  fi
2160  fi  fi
2161  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2162  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2163    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2164  $as_echo "$ac_ct_CC" >&6; }  $as_echo "$ac_ct_CC" >&6; }
2165  else  else
2166    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2167  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2168  fi  fi
2169    
# Line 1952  fi Line 2172  fi
2172    else    else
2173      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2174  yes:)  yes:)
2175  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2176  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2177  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2178  esac  esac
# Line 1966  if test -z "$CC"; then Line 2186  if test -z "$CC"; then
2186            if test -n "$ac_tool_prefix"; then            if test -n "$ac_tool_prefix"; then
2187      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2188  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
2189  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2190  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2191  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2192    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2193  else  else
2194    if test -n "$CC"; then    if test -n "$CC"; then
# Line 1979  for as_dir in $PATH Line 2199  for as_dir in $PATH
2199  do  do
2200    IFS=$as_save_IFS    IFS=$as_save_IFS
2201    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2202    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2203    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2204      ac_cv_prog_CC="${ac_tool_prefix}cc"      ac_cv_prog_CC="${ac_tool_prefix}cc"
2205      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2206      break 2      break 2
2207    fi    fi
2208  done  done
2209  done    done
2210  IFS=$as_save_IFS  IFS=$as_save_IFS
2211    
2212  fi  fi
2213  fi  fi
2214  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2215  if test -n "$CC"; then  if test -n "$CC"; then
2216    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2217  $as_echo "$CC" >&6; }  $as_echo "$CC" >&6; }
2218  else  else
2219    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2220  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2221  fi  fi
2222    
# Line 2006  fi Line 2226  fi
2226  if test -z "$CC"; then  if test -z "$CC"; then
2227    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
2228  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2229  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2230  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2231  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2232    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2233  else  else
2234    if test -n "$CC"; then    if test -n "$CC"; then
# Line 2020  for as_dir in $PATH Line 2240  for as_dir in $PATH
2240  do  do
2241    IFS=$as_save_IFS    IFS=$as_save_IFS
2242    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2243    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2244    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2245      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2246         ac_prog_rejected=yes         ac_prog_rejected=yes
2247         continue         continue
2248       fi       fi
2249      ac_cv_prog_CC="cc"      ac_cv_prog_CC="cc"
2250      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2251      break 2      break 2
2252    fi    fi
2253  done  done
2254  done    done
2255  IFS=$as_save_IFS  IFS=$as_save_IFS
2256    
2257  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
# Line 2050  fi Line 2270  fi
2270  fi  fi
2271  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2272  if test -n "$CC"; then  if test -n "$CC"; then
2273    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2274  $as_echo "$CC" >&6; }  $as_echo "$CC" >&6; }
2275  else  else
2276    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2277  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2278  fi  fi
2279    
# Line 2065  if test -z "$CC"; then Line 2285  if test -z "$CC"; then
2285    do    do
2286      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2287  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2288  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2289  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2290  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2291    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2292  else  else
2293    if test -n "$CC"; then    if test -n "$CC"; then
# Line 2078  for as_dir in $PATH Line 2298  for as_dir in $PATH
2298  do  do
2299    IFS=$as_save_IFS    IFS=$as_save_IFS
2300    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2301    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2302    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2303      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2304      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2305      break 2      break 2
2306    fi    fi
2307  done  done
2308  done    done
2309  IFS=$as_save_IFS  IFS=$as_save_IFS
2310    
2311  fi  fi
2312  fi  fi
2313  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2314  if test -n "$CC"; then  if test -n "$CC"; then
2315    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2316  $as_echo "$CC" >&6; }  $as_echo "$CC" >&6; }
2317  else  else
2318    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2319  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2320  fi  fi
2321    
# Line 2109  if test -z "$CC"; then Line 2329  if test -z "$CC"; then
2329  do  do
2330    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
2331  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2332  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2333  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2334  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2335    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2336  else  else
2337    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
# Line 2122  for as_dir in $PATH Line 2342  for as_dir in $PATH
2342  do  do
2343    IFS=$as_save_IFS    IFS=$as_save_IFS
2344    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2345    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2346    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2347      ac_cv_prog_ac_ct_CC="$ac_prog"      ac_cv_prog_ac_ct_CC="$ac_prog"
2348      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2349      break 2      break 2
2350    fi    fi
2351  done  done
2352  done    done
2353  IFS=$as_save_IFS  IFS=$as_save_IFS
2354    
2355  fi  fi
2356  fi  fi
2357  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2358  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2359    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2360  $as_echo "$ac_ct_CC" >&6; }  $as_echo "$ac_ct_CC" >&6; }
2361  else  else
2362    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2363  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2364  fi  fi
2365    
# Line 2152  done Line 2372  done
2372    else    else
2373      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2374  yes:)  yes:)
2375  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2376  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2377  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2378  esac  esac
# Line 2163  fi Line 2383  fi
2383  fi  fi
2384    
2385    
2386  test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2387  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2388  { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH  as_fn_error "no acceptable C compiler found in \$PATH
2389  See \`config.log' for more details." >&5  See \`config.log' for more details." "$LINENO" 5; }
 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }; }  
2390    
2391  # Provide some information about the compiler.  # Provide some information about the compiler.
2392  $as_echo "$as_me:$LINENO: checking for C compiler version" >&5  $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2393  set X $ac_compile  set X $ac_compile
2394  ac_compiler=$2  ac_compiler=$2
2395  { (ac_try="$ac_compiler --version >&5"  for ac_option in --version -v -V -qversion; do
2396  case "(($ac_try" in    { { ac_try="$ac_compiler $ac_option >&5"
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_compiler --version >&5") 2>&5  
   ac_status=$?  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }  
 { (ac_try="$ac_compiler -v >&5"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_compiler -v >&5") 2>&5  
   ac_status=$?  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }  
 { (ac_try="$ac_compiler -V >&5"  
2397  case "(($ac_try" in  case "(($ac_try" in
2398    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2399    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2400  esac  esac
2401  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2402  $as_echo "$ac_try_echo") >&5  $as_echo "$ac_try_echo"; } >&5
2403    (eval "$ac_compiler -V >&5") 2>&5    (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2404    ac_status=$?    ac_status=$?
2405    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    if test -s conftest.err; then
2406    (exit $ac_status); }      sed '10a\
2407    ... rest of stderr output deleted ...
2408             10q' conftest.err >conftest.er1
2409        cat conftest.er1 >&5
2410      fi
2411      rm -f conftest.er1 conftest.err
2412      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2413      test $ac_status = 0; }
2414    done
2415    
2416  cat >conftest.$ac_ext <<_ACEOF  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
2417  /* end confdefs.h.  */  /* end confdefs.h.  */
2418    
2419  int  int
# Line 2229  ac_clean_files="$ac_clean_files a.out a. Line 2429  ac_clean_files="$ac_clean_files a.out a.
2429  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2430  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2431  # of exeext.  # of exeext.
2432  { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2433  $as_echo_n "checking for C compiler default output file name... " >&6; }  $as_echo_n "checking whether the C compiler works... " >&6; }
2434  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2435    
2436  # The possible output files:  # The possible output files:
# Line 2246  do Line 2446  do
2446  done  done
2447  rm -f $ac_rmfiles  rm -f $ac_rmfiles
2448    
2449  if { (ac_try="$ac_link_default"  if { { ac_try="$ac_link_default"
2450  case "(($ac_try" in  case "(($ac_try" in
2451    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2453  esac  esac
2454  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2455  $as_echo "$ac_try_echo") >&5  $as_echo "$ac_try_echo"; } >&5
2456    (eval "$ac_link_default") 2>&5    (eval "$ac_link_default") 2>&5
2457    ac_status=$?    ac_status=$?
2458    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2459    (exit $ac_status); }; then    test $ac_status = 0; }; then :
2460    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2461  # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'  # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2462  # in a Makefile.  We should not override ac_cv_exeext if it was cached,  # in a Makefile.  We should not override ac_cv_exeext if it was cached,
# Line 2273  do Line 2473  do
2473          # certainly right.          # certainly right.
2474          break;;          break;;
2475      *.* )      *.* )
2476          if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;          if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2477          then :; else          then :; else
2478             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2479          fi          fi
# Line 2292  test "$ac_cv_exeext" = no && ac_cv_exeex Line 2492  test "$ac_cv_exeext" = no && ac_cv_exeex
2492  else  else
2493    ac_file=''    ac_file=''
2494  fi  fi
2495    if test -z "$ac_file"; then :
2496  { $as_echo "$as_me:$LINENO: result: $ac_file" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2497  $as_echo "$ac_file" >&6; }  $as_echo "no" >&6; }
2498  if test -z "$ac_file"; then  $as_echo "$as_me: failed program was:" >&5
   $as_echo "$as_me: failed program was:" >&5  
2499  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2500    
2501  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2502  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2503  { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables  { as_fn_set_status 77
2504  See \`config.log' for more details." >&5  as_fn_error "C compiler cannot create executables
2505  $as_echo "$as_me: error: C compiler cannot create executables  See \`config.log' for more details." "$LINENO" 5; }; }
2506  See \`config.log' for more details." >&2;}  else
2507     { (exit 77); exit 77; }; }; }    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2508    $as_echo "yes" >&6; }
2509  fi  fi
2510    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2511    $as_echo_n "checking for C compiler default output file name... " >&6; }
2512    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2513    $as_echo "$ac_file" >&6; }
2514  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2515    
 # Check that the compiler produces executables we can run.  If not, either  
 # the compiler is broken, or we cross compile.  
 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5  
 $as_echo_n "checking whether the C compiler works... " >&6; }  
 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  
 # If not cross compiling, check that we can run a simple program.  
 if test "$cross_compiling" != yes; then  
   if { ac_try='./$ac_file'  
   { (case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_try") 2>&5  
   ac_status=$?  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
     cross_compiling=no  
   else  
     if test "$cross_compiling" = maybe; then  
         cross_compiling=yes  
     else  
         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.  
 If you meant to cross compile, use \`--host'.  
 See \`config.log' for more details." >&5  
 $as_echo "$as_me: error: cannot run C compiled programs.  
 If you meant to cross compile, use \`--host'.  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }; }  
     fi  
   fi  
 fi  
 { $as_echo "$as_me:$LINENO: result: yes" >&5  
 $as_echo "yes" >&6; }  
   
2516  rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out  rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2517  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2518  # Check that the compiler produces executables we can run.  If not, either  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 # the compiler is broken, or we cross compile.  
 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5  
 $as_echo_n "checking whether we are cross compiling... " >&6; }  
 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5  
 $as_echo "$cross_compiling" >&6; }  
   
 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5  
2519  $as_echo_n "checking for suffix of executables... " >&6; }  $as_echo_n "checking for suffix of executables... " >&6; }
2520  if { (ac_try="$ac_link"  if { { ac_try="$ac_link"
2521  case "(($ac_try" in  case "(($ac_try" in
2522    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2524  esac  esac
2525  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526  $as_echo "$ac_try_echo") >&5  $as_echo "$ac_try_echo"; } >&5
2527    (eval "$ac_link") 2>&5    (eval "$ac_link") 2>&5
2528    ac_status=$?    ac_status=$?
2529    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2530    (exit $ac_status); }; then    test $ac_status = 0; }; then :
2531    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2532  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2533  # work properly (i.e., refer to `conftest.exe'), while it won't with  # work properly (i.e., refer to `conftest.exe'), while it won't with
# Line 2384  for ac_file in conftest.exe conftest con Line 2542  for ac_file in conftest.exe conftest con
2542    esac    esac
2543  done  done
2544  else  else
2545    { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2546  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2547  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link  as_fn_error "cannot compute suffix of executables: cannot compile and link
2548  See \`config.log' for more details." >&5  See \`config.log' for more details." "$LINENO" 5; }
 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }; }  
2549  fi  fi
2550    rm -f conftest conftest$ac_cv_exeext
2551  rm -f conftest$ac_cv_exeext  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5  
2552  $as_echo "$ac_cv_exeext" >&6; }  $as_echo "$ac_cv_exeext" >&6; }
2553    
2554  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2555  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2556  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2557  { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2558    /* end confdefs.h.  */
2559    #include <stdio.h>
2560    int
2561    main ()
2562    {
2563    FILE *f = fopen ("conftest.out", "w");
2564     return ferror (f) || fclose (f) != 0;
2565    
2566      ;
2567      return 0;
2568    }
2569    _ACEOF
2570    ac_clean_files="$ac_clean_files conftest.out"
2571    # Check that the compiler produces executables we can run.  If not, either
2572    # the compiler is broken, or we cross compile.
2573    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2574    $as_echo_n "checking whether we are cross compiling... " >&6; }
2575    if test "$cross_compiling" != yes; then
2576      { { ac_try="$ac_link"
2577    case "(($ac_try" in
2578      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579      *) ac_try_echo=$ac_try;;
2580    esac
2581    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2582    $as_echo "$ac_try_echo"; } >&5
2583      (eval "$ac_link") 2>&5
2584      ac_status=$?
2585      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2586      test $ac_status = 0; }
2587      if { ac_try='./conftest$ac_cv_exeext'
2588      { { case "(($ac_try" in
2589      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590      *) ac_try_echo=$ac_try;;
2591    esac
2592    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2593    $as_echo "$ac_try_echo"; } >&5
2594      (eval "$ac_try") 2>&5
2595      ac_status=$?
2596      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2597      test $ac_status = 0; }; }; then
2598        cross_compiling=no
2599      else
2600        if test "$cross_compiling" = maybe; then
2601            cross_compiling=yes
2602        else
2603            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2604    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2605    as_fn_error "cannot run C compiled programs.
2606    If you meant to cross compile, use \`--host'.
2607    See \`config.log' for more details." "$LINENO" 5; }
2608        fi
2609      fi
2610    fi
2611    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2612    $as_echo "$cross_compiling" >&6; }
2613    
2614    rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2615    ac_clean_files=$ac_clean_files_save
2616    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2617  $as_echo_n "checking for suffix of object files... " >&6; }  $as_echo_n "checking for suffix of object files... " >&6; }
2618  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then :
2619    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2620  else  else
2621    cat >conftest.$ac_ext <<_ACEOF    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
2622  /* end confdefs.h.  */  /* end confdefs.h.  */
2623    
2624  int  int
# Line 2421  main () Line 2630  main ()
2630  }  }
2631  _ACEOF  _ACEOF
2632  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
2633  if { (ac_try="$ac_compile"  if { { ac_try="$ac_compile"
2634  case "(($ac_try" in  case "(($ac_try" in
2635    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2637  esac  esac
2638  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2639  $as_echo "$ac_try_echo") >&5  $as_echo "$ac_try_echo"; } >&5
2640    (eval "$ac_compile") 2>&5    (eval "$ac_compile") 2>&5
2641    ac_status=$?    ac_status=$?
2642    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2643    (exit $ac_status); }; then    test $ac_status = 0; }; then :
2644    for ac_file in conftest.o conftest.obj conftest.*; do    for ac_file in conftest.o conftest.obj conftest.*; do
2645    test -f "$ac_file" || continue;    test -f "$ac_file" || continue;
2646    case $ac_file in    case $ac_file in
# Line 2444  else Line 2653  else
2653    $as_echo "$as_me: failed program was:" >&5    $as_echo "$as_me: failed program was:" >&5
2654  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2655    
2656  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2657  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2658  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile  as_fn_error "cannot compute suffix of object files: cannot compile
2659  See \`config.log' for more details." >&5  See \`config.log' for more details." "$LINENO" 5; }
 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }; }  
2660  fi  fi
   
2661  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2662  fi  fi
2663  { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2664  $as_echo "$ac_cv_objext" >&6; }  $as_echo "$ac_cv_objext" >&6; }
2665  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2666  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2667  { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2668  $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }  $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2669  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2670    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2671  else  else
2672    cat >conftest.$ac_ext <<_ACEOF    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
2673  /* end confdefs.h.  */  /* end confdefs.h.  */
2674    
2675  int  int
# Line 2482  main () Line 2683  main ()
2683    return 0;    return 0;
2684  }  }
2685  _ACEOF  _ACEOF
2686  rm -f conftest.$ac_objext  if ac_fn_c_try_compile "$LINENO"; then :
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_compile") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest.$ac_objext; then  
2687    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2688  else  else
2689    $as_echo "$as_me: failed program was:" >&5    ac_compiler_gnu=no
 sed 's/^/| /' conftest.$ac_ext >&5  
   
         ac_compiler_gnu=no  
2690  fi  fi
   
2691  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2692  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2693    
2694  fi  fi
2695  { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2696  $as_echo "$ac_cv_c_compiler_gnu" >&6; }  $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2697  if test $ac_compiler_gnu = yes; then  if test $ac_compiler_gnu = yes; then
2698    GCC=yes    GCC=yes
# Line 2521  else Line 2701  else
2701  fi  fi
2702  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2703  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2704  { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2705  $as_echo_n "checking whether $CC accepts -g... " >&6; }  $as_echo_n "checking whether $CC accepts -g... " >&6; }
2706  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then :
2707    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2708  else  else
2709    ac_save_c_werror_flag=$ac_c_werror_flag    ac_save_c_werror_flag=$ac_c_werror_flag
2710     ac_c_werror_flag=yes     ac_c_werror_flag=yes
2711     ac_cv_prog_cc_g=no     ac_cv_prog_cc_g=no
2712     CFLAGS="-g"     CFLAGS="-g"
2713     cat >conftest.$ac_ext <<_ACEOF     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
2714  /* end confdefs.h.  */  /* end confdefs.h.  */
2715    
2716  int  int
# Line 2545  main () Line 2721  main ()
2721    return 0;    return 0;
2722  }  }
2723  _ACEOF  _ACEOF
2724  rm -f conftest.$ac_objext  if ac_fn_c_try_compile "$LINENO"; then :
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_compile") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest.$ac_objext; then  
2725    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2726  else  else
2727    $as_echo "$as_me: failed program was:" >&5    CFLAGS=""
2728  sed 's/^/| /' conftest.$ac_ext >&5        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   
         CFLAGS=""  
       cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
2729  /* end confdefs.h.  */  /* end confdefs.h.  */
2730    
2731  int  int
# Line 2584  main () Line 2736  main ()
2736    return 0;    return 0;
2737  }  }
2738  _ACEOF  _ACEOF
2739  rm -f conftest.$ac_objext  if ac_fn_c_try_compile "$LINENO"; then :
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_compile") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest.$ac_objext; then  
   :  
 else  
   $as_echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
         ac_c_werror_flag=$ac_save_c_werror_flag  
          CFLAGS="-g"  
          cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 int  
 main ()  
 {  
2740    
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_compile") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest.$ac_objext; then  
   ac_cv_prog_cc_g=yes  
2741  else  else
2742    $as_echo "$as_me: failed program was:" >&5    ac_c_werror_flag=$ac_save_c_werror_flag
2743  sed 's/^/| /' conftest.$ac_ext >&5           CFLAGS="-g"
2744             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2745    /* end confdefs.h.  */
2746    
2747    int
2748    main ()
2749    {
2750    
2751      ;
2752      return 0;
2753    }
2754    _ACEOF
2755    if ac_fn_c_try_compile "$LINENO"; then :
2756      ac_cv_prog_cc_g=yes
2757  fi  fi
   
2758  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2759  fi  fi
   
2760  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2761  fi  fi
   
2762  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2763     ac_c_werror_flag=$ac_save_c_werror_flag     ac_c_werror_flag=$ac_save_c_werror_flag
2764  fi  fi
2765  { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2766  $as_echo "$ac_cv_prog_cc_g" >&6; }  $as_echo "$ac_cv_prog_cc_g" >&6; }
2767  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2768    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 2676  else Line 2779  else
2779      CFLAGS=      CFLAGS=
2780    fi    fi
2781  fi  fi
2782  { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2783  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2784  if test "${ac_cv_prog_cc_c89+set}" = set; then  if test "${ac_cv_prog_cc_c89+set}" = set; then :
2785    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2786  else  else
2787    ac_cv_prog_cc_c89=no    ac_cv_prog_cc_c89=no
2788  ac_save_CC=$CC  ac_save_CC=$CC
2789  cat >conftest.$ac_ext <<_ACEOF  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
2790  /* end confdefs.h.  */  /* end confdefs.h.  */
2791  #include <stdarg.h>  #include <stdarg.h>
2792  #include <stdio.h>  #include <stdio.h>
# Line 2744  for ac_arg in '' -qlanglvl=extc89 -qlang Line 2843  for ac_arg in '' -qlanglvl=extc89 -qlang
2843          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2844  do  do
2845    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
2846    rm -f conftest.$ac_objext    if ac_fn_c_try_compile "$LINENO"; then :
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_compile") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest.$ac_objext; then  
2847    ac_cv_prog_cc_c89=$ac_arg    ac_cv_prog_cc_c89=$ac_arg
 else  
   $as_echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   
2848  fi  fi
   
2849  rm -f core conftest.err conftest.$ac_objext  rm -f core conftest.err conftest.$ac_objext
2850    test "x$ac_cv_prog_cc_c89" != "xno" && break    test "x$ac_cv_prog_cc_c89" != "xno" && break
2851  done  done
# Line 2780  fi Line 2856  fi
2856  # AC_CACHE_VAL  # AC_CACHE_VAL
2857  case "x$ac_cv_prog_cc_c89" in  case "x$ac_cv_prog_cc_c89" in
2858    x)    x)
2859      { $as_echo "$as_me:$LINENO: result: none needed" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2860  $as_echo "none needed" >&6; } ;;  $as_echo "none needed" >&6; } ;;
2861    xno)    xno)
2862      { $as_echo "$as_me:$LINENO: result: unsupported" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2863  $as_echo "unsupported" >&6; } ;;  $as_echo "unsupported" >&6; } ;;
2864    *)    *)
2865      CC="$CC $ac_cv_prog_cc_c89"      CC="$CC $ac_cv_prog_cc_c89"
2866      { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2867  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2868  esac  esac
2869    if test "x$ac_cv_prog_cc_c89" != xno; then :
2870    
2871    fi
2872    
2873  ac_ext=c  ac_ext=c
2874  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
# Line 2800  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2878  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2878    
2879  ac_aux_dir=  ac_aux_dir=
2880  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2881    if test -f "$ac_dir/install-sh"; then    for ac_t in install-sh install.sh shtool; do
2882      ac_aux_dir=$ac_dir      if test -f "$ac_dir/$ac_t"; then
2883      ac_install_sh="$ac_aux_dir/install-sh -c"        ac_aux_dir=$ac_dir
2884      break        ac_install_sh="$ac_aux_dir/$ac_t -c"
2885    elif test -f "$ac_dir/install.sh"; then        break 2
2886      ac_aux_dir=$ac_dir      fi
2887      ac_install_sh="$ac_aux_dir/install.sh -c"    done
     break  
   elif test -f "$ac_dir/shtool"; then  
     ac_aux_dir=$ac_dir  
     ac_install_sh="$ac_aux_dir/shtool install -c"  
     break  
   fi  
2888  done  done
2889  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
2890    { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5    as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}  
    { (exit 1); exit 1; }; }  
2891  fi  fi
2892    
2893  # These three variables are undocumented and unsupported,  # These three variables are undocumented and unsupported,
# Line 2843  ac_configure="$SHELL $ac_aux_dir/configu Line 2913  ac_configure="$SHELL $ac_aux_dir/configu
2913  # OS/2's system install, which has a completely different semantic  # OS/2's system install, which has a completely different semantic
2914  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2915  # Reject install programs that cannot install multiple files.  # Reject install programs that cannot install multiple files.
2916  { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2917  $as_echo_n "checking for a BSD-compatible install... " >&6; }  $as_echo_n "checking for a BSD-compatible install... " >&6; }
2918  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
2919  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then :
2920    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2921  else  else
2922    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2854  for as_dir in $PATH Line 2924  for as_dir in $PATH
2924  do  do
2925    IFS=$as_save_IFS    IFS=$as_save_IFS
2926    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2927    # Account for people who put trailing slashes in PATH elements.      # Account for people who put trailing slashes in PATH elements.
2928  case $as_dir/ in  case $as_dir/ in #((
2929    ./ | .// | /cC/* | \    ./ | .// | /[cC]/* | \
2930    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2931    ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \    ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2932    /usr/ucb/* ) ;;    /usr/ucb/* ) ;;
2933    *)    *)
2934      # OSF1 and SCO ODT 3.0 have their own names for install.      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 2895  case $as_dir/ in Line 2965  case $as_dir/ in
2965      ;;      ;;
2966  esac  esac
2967    
2968  done    done
2969  IFS=$as_save_IFS  IFS=$as_save_IFS
2970    
2971  rm -rf conftest.one conftest.two conftest.dir  rm -rf conftest.one conftest.two conftest.dir
# Line 2911  fi Line 2981  fi
2981      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
2982    fi    fi
2983  fi  fi
2984  { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2985  $as_echo "$INSTALL" >&6; }  $as_echo "$INSTALL" >&6; }
2986    
2987  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 2922  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 2992  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2992    
2993  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2994    
2995  { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2996  $as_echo_n "checking whether ln -s works... " >&6; }  $as_echo_n "checking whether ln -s works... " >&6; }
2997  LN_S=$as_ln_s  LN_S=$as_ln_s
2998  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
2999    { $as_echo "$as_me:$LINENO: result: yes" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3000  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3001  else  else
3002    { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3003  $as_echo "no, using $LN_S" >&6; }  $as_echo "no, using $LN_S" >&6; }
3004  fi  fi
3005    
3006  { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3007  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3008  set x ${MAKE-make}  set x ${MAKE-make}
3009  ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`  ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3010  if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then  if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3011    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3012  else  else
3013    cat >conftest.make <<\_ACEOF    cat >conftest.make <<\_ACEOF
# Line 2955  esac Line 3025  esac
3025  rm -f conftest.make  rm -f conftest.make
3026  fi  fi
3027  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3028    { $as_echo "$as_me:$LINENO: result: yes" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3029  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3030    SET_MAKE=    SET_MAKE=
3031  else  else
3032    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3034    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
3035  fi  fi
# Line 2993  if test "x$ac_cv_env_PKG_CONFIG_set" != Line 3063  if test "x$ac_cv_env_PKG_CONFIG_set" !=
3063          if test -n "$ac_tool_prefix"; then          if test -n "$ac_tool_prefix"; then
3064    # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3065  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3066  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
3068  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
3069    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3070  else  else
3071    case $PKG_CONFIG in    case $PKG_CONFIG in
# Line 3008  for as_dir in $PATH Line 3078  for as_dir in $PATH
3078  do  do
3079    IFS=$as_save_IFS    IFS=$as_save_IFS
3080    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
3081    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
3082    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3083      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3084      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3085      break 2      break 2
3086    fi    fi
3087  done  done
3088  done    done
3089  IFS=$as_save_IFS  IFS=$as_save_IFS
3090    
3091    ;;    ;;
# Line 3023  esac Line 3093  esac
3093  fi  fi
3094  PKG_CONFIG=$ac_cv_path_PKG_CONFIG  PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3095  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3096    { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3097  $as_echo "$PKG_CONFIG" >&6; }  $as_echo "$PKG_CONFIG" >&6; }
3098  else  else
3099    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3101  fi  fi
3102    
# Line 3036  if test -z "$ac_cv_path_PKG_CONFIG"; the Line 3106  if test -z "$ac_cv_path_PKG_CONFIG"; the
3106    ac_pt_PKG_CONFIG=$PKG_CONFIG    ac_pt_PKG_CONFIG=$PKG_CONFIG
3107    # Extract the first word of "pkg-config", so it can be a program name with args.    # Extract the first word of "pkg-config", so it can be a program name with args.
3108  set dummy pkg-config; ac_word=$2  set dummy pkg-config; ac_word=$2
3109  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3110  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
3111  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
3112    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3113  else  else
3114    case $ac_pt_PKG_CONFIG in    case $ac_pt_PKG_CONFIG in
# Line 3051  for as_dir in $PATH Line 3121  for as_dir in $PATH
3121  do  do
3122    IFS=$as_save_IFS    IFS=$as_save_IFS
3123    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
3124    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
3125    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3126      ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3127      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3128      break 2      break 2
3129    fi    fi
3130  done  done
3131  done    done
3132  IFS=$as_save_IFS  IFS=$as_save_IFS
3133    
3134    ;;    ;;
# Line 3066  esac Line 3136  esac
3136  fi  fi
3137  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3138  if test -n "$ac_pt_PKG_CONFIG"; then  if test -n "$ac_pt_PKG_CONFIG"; then
3139    { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3140  $as_echo "$ac_pt_PKG_CONFIG" >&6; }  $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3141  else  else
3142    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3144  fi  fi
3145    
# Line 3078  fi Line 3148  fi
3148    else    else
3149      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
3150  yes:)  yes:)
3151  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3152  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3153  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
3154  esac  esac
# Line 3091  fi Line 3161  fi
3161  fi  fi
3162  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3163          _pkg_min_version=0.9.0          _pkg_min_version=0.9.0
3164          { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3165  $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }  $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3166          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3167                  { $as_echo "$as_me:$LINENO: result: yes" >&5                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3168  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3169          else          else
3170                  { $as_echo "$as_me:$LINENO: result: no" >&5                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3172                  PKG_CONFIG=""                  PKG_CONFIG=""
3173          fi          fi
# Line 3105  $as_echo "no" >&6; } Line 3175  $as_echo "no" >&6; }
3175  fi  fi
3176    
3177  pkg_failed=no  pkg_failed=no
3178  { $as_echo "$as_me:$LINENO: checking for gnome_vfs_module" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnome_vfs_module" >&5
3179  $as_echo_n "checking for gnome_vfs_module... " >&6; }  $as_echo_n "checking for gnome_vfs_module... " >&6; }
3180    
3181  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3113  if test -n "$PKG_CONFIG"; then Line 3183  if test -n "$PKG_CONFIG"; then
3183          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"
3184      else      else
3185          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3186      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\""; } >&5
3187    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3188    ac_status=$?    ac_status=$?
3189    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3190    (exit $ac_status); }; then    test $ac_status = 0; }; then
3191    pkg_cv_gnome_vfs_module_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-module-2.0" 2>/dev/null`    pkg_cv_gnome_vfs_module_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-module-2.0" 2>/dev/null`
3192  else  else
3193    pkg_failed=yes    pkg_failed=yes
# Line 3131  if test -n "$PKG_CONFIG"; then Line 3201  if test -n "$PKG_CONFIG"; then
3201          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"
3202      else      else
3203          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3204      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\""; } >&5
3205    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3206    ac_status=$?    ac_status=$?
3207    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3208    (exit $ac_status); }; then    test $ac_status = 0; }; then
3209    pkg_cv_gnome_vfs_module_LIBS=`$PKG_CONFIG --libs "gnome-vfs-module-2.0" 2>/dev/null`    pkg_cv_gnome_vfs_module_LIBS=`$PKG_CONFIG --libs "gnome-vfs-module-2.0" 2>/dev/null`
3210  else  else
3211    pkg_failed=yes    pkg_failed=yes
# Line 3162  fi Line 3232  fi
3232          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3233          echo "$gnome_vfs_module_PKG_ERRORS" >&5          echo "$gnome_vfs_module_PKG_ERRORS" >&5
3234    
3235          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3237                  { { $as_echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5                  as_fn_error "gnome-vfs-module-2.0 missing" "$LINENO" 5
 $as_echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}  
    { (exit 1); exit 1; }; }  
3238  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3239          { { $as_echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5          as_fn_error "gnome-vfs-module-2.0 missing" "$LINENO" 5
 $as_echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}  
    { (exit 1); exit 1; }; }  
3240  else  else
3241          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS
3242          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS
3243          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3244  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3245          :          :
3246  fi  fi
# Line 3184  LIBS="$LIBS $gnome_vfs_module_LIBS" Line 3250  LIBS="$LIBS $gnome_vfs_module_LIBS"
3250  # check for libxml-2.0  # check for libxml-2.0
3251    
3252  pkg_failed=no  pkg_failed=no
3253  { $as_echo "$as_me:$LINENO: checking for libxml2" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
3254  $as_echo_n "checking for libxml2... " >&6; }  $as_echo_n "checking for libxml2... " >&6; }
3255    
3256  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3192  if test -n "$PKG_CONFIG"; then Line 3258  if test -n "$PKG_CONFIG"; then
3258          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"
3259      else      else
3260          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3261      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
3262    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3263    ac_status=$?    ac_status=$?
3264    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3265    (exit $ac_status); }; then    test $ac_status = 0; }; then
3266    pkg_cv_libxml2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`    pkg_cv_libxml2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
3267  else  else
3268    pkg_failed=yes    pkg_failed=yes
# Line 3210  if test -n "$PKG_CONFIG"; then Line 3276  if test -n "$PKG_CONFIG"; then
3276          pkg_cv_libxml2_LIBS="$libxml2_LIBS"          pkg_cv_libxml2_LIBS="$libxml2_LIBS"
3277      else      else
3278          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3279      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
3280    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3281    ac_status=$?    ac_status=$?
3282    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3283    (exit $ac_status); }; then    test $ac_status = 0; }; then
3284    pkg_cv_libxml2_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`    pkg_cv_libxml2_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
3285  else  else
3286    pkg_failed=yes    pkg_failed=yes
# Line 3241  fi Line 3307  fi
3307          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3308          echo "$libxml2_PKG_ERRORS" >&5          echo "$libxml2_PKG_ERRORS" >&5
3309    
3310          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3312                  { { $as_echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5                  as_fn_error "libxml-2.0 missing" "$LINENO" 5
 $as_echo "$as_me: error: libxml-2.0 missing" >&2;}  
    { (exit 1); exit 1; }; }  
3313  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3314          { { $as_echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5          as_fn_error "libxml-2.0 missing" "$LINENO" 5
 $as_echo "$as_me: error: libxml-2.0 missing" >&2;}  
    { (exit 1); exit 1; }; }  
3315  else  else
3316          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS
3317          libxml2_LIBS=$pkg_cv_libxml2_LIBS          libxml2_LIBS=$pkg_cv_libxml2_LIBS
3318          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3319  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3320          :          :
3321  fi  fi
3322  CFLAGS="$CFLAGS $libxml2_CFLAGS"  CFLAGS="$CFLAGS $libxml2_CFLAGS"
3323  LIBS="$LIBS $libxml2_LIBS"  LIBS="$LIBS $libxml2_LIBS"
3324    
3325    # check for libcurl
3326    
3327    pkg_failed=no
3328    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
3329    $as_echo_n "checking for libcurl... " >&6; }
3330    
3331    if test -n "$PKG_CONFIG"; then
3332        if test -n "$libcurl_CFLAGS"; then
3333            pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
3334        else
3335            if test -n "$PKG_CONFIG" && \
3336        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
3337      ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3338      ac_status=$?
3339      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3340      test $ac_status = 0; }; then
3341      pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
3342    else
3343      pkg_failed=yes
3344    fi
3345        fi
3346    else
3347            pkg_failed=untried
3348    fi
3349    if test -n "$PKG_CONFIG"; then
3350        if test -n "$libcurl_LIBS"; then
3351            pkg_cv_libcurl_LIBS="$libcurl_LIBS"
3352        else
3353            if test -n "$PKG_CONFIG" && \
3354        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
3355      ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3356      ac_status=$?
3357      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3358      test $ac_status = 0; }; then
3359      pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
3360    else
3361      pkg_failed=yes
3362    fi
3363        fi
3364    else
3365            pkg_failed=untried
3366    fi
3367    
3368    
3369    
3370    if test $pkg_failed = yes; then
3371    
3372    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3373            _pkg_short_errors_supported=yes
3374    else
3375            _pkg_short_errors_supported=no
3376    fi
3377            if test $_pkg_short_errors_supported = yes; then
3378                    libcurl_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl"`
3379            else
3380                    libcurl_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl"`
3381            fi
3382            # Put the nasty error message in config.log where it belongs
3383            echo "$libcurl_PKG_ERRORS" >&5
3384    
3385            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386    $as_echo "no" >&6; }
3387                    as_fn_error "libcurl missing" "$LINENO" 5
3388    elif test $pkg_failed = untried; then
3389            as_fn_error "libcurl missing" "$LINENO" 5
3390    else
3391            libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
3392            libcurl_LIBS=$pkg_cv_libcurl_LIBS
3393            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3394    $as_echo "yes" >&6; }
3395            :
3396    fi
3397    CFLAGS="$CFLAGS $libcurl_CFLAGS"
3398    LIBS="$LIBS $libcurl_LIBS"
3399    
3400  # check for libsoup  # check for libsoup
3401    
3402  pkg_failed=no  pkg_failed=no
3403  { $as_echo "$as_me:$LINENO: checking for libsoup24" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup24" >&5
3404  $as_echo_n "checking for libsoup24... " >&6; }  $as_echo_n "checking for libsoup24... " >&6; }
3405    
3406  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3270  if test -n "$PKG_CONFIG"; then Line 3408  if test -n "$PKG_CONFIG"; then
3408          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"
3409      else      else
3410          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3411      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
3412    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3413    ac_status=$?    ac_status=$?
3414    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3415    (exit $ac_status); }; then    test $ac_status = 0; }; then
3416    pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`    pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
3417  else  else
3418    pkg_failed=yes    pkg_failed=yes
# Line 3288  if test -n "$PKG_CONFIG"; then Line 3426  if test -n "$PKG_CONFIG"; then
3426          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"
3427      else      else
3428          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3429      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
3430    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3431    ac_status=$?    ac_status=$?
3432    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3433    (exit $ac_status); }; then    test $ac_status = 0; }; then
3434    pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`    pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
3435  else  else
3436    pkg_failed=yes    pkg_failed=yes
# Line 3319  fi Line 3457  fi
3457          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3458          echo "$libsoup24_PKG_ERRORS" >&5          echo "$libsoup24_PKG_ERRORS" >&5
3459    
3460          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3462    
3463    
3464  pkg_failed=no  pkg_failed=no
3465  { $as_echo "$as_me:$LINENO: checking for libsoup22" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup22" >&5
3466  $as_echo_n "checking for libsoup22... " >&6; }  $as_echo_n "checking for libsoup22... " >&6; }
3467    
3468  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3332  if test -n "$PKG_CONFIG"; then Line 3470  if test -n "$PKG_CONFIG"; then
3470          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3471      else      else
3472          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3473      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\""; } >&5
3474    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3475    ac_status=$?    ac_status=$?
3476    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3477    (exit $ac_status); }; then    test $ac_status = 0; }; then
3478    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
3479  else  else
3480    pkg_failed=yes    pkg_failed=yes
# Line 3350  if test -n "$PKG_CONFIG"; then Line 3488  if test -n "$PKG_CONFIG"; then
3488          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3489      else      else
3490          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3491      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\""; } >&5
3492    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3493    ac_status=$?    ac_status=$?
3494    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3495    (exit $ac_status); }; then    test $ac_status = 0; }; then
3496    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
3497  else  else
3498    pkg_failed=yes    pkg_failed=yes
# Line 3381  fi Line 3519  fi
3519          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3520          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
3521    
3522          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3523  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3524    
3525      { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3526  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3527    
3528  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3529    
3530      { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3531  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3532    
3533  else  else
3534          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3535          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3536          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3537  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3538    
3539      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
# Line 3408  elif test $pkg_failed = untried; then Line 3546  elif test $pkg_failed = untried; then
3546    
3547    
3548  pkg_failed=no  pkg_failed=no
3549  { $as_echo "$as_me:$LINENO: checking for libsoup22" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup22" >&5
3550  $as_echo_n "checking for libsoup22... " >&6; }  $as_echo_n "checking for libsoup22... " >&6; }
3551    
3552  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3416  if test -n "$PKG_CONFIG"; then Line 3554  if test -n "$PKG_CONFIG"; then
3554          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3555      else      else
3556          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3557      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\""; } >&5
3558    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3559    ac_status=$?    ac_status=$?
3560    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3561    (exit $ac_status); }; then    test $ac_status = 0; }; then
3562    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
3563  else  else
3564    pkg_failed=yes    pkg_failed=yes
# Line 3434  if test -n "$PKG_CONFIG"; then Line 3572  if test -n "$PKG_CONFIG"; then
3572          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3573      else      else
3574          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3575      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\""; } >&5
3576    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3577    ac_status=$?    ac_status=$?
3578    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3579    (exit $ac_status); }; then    test $ac_status = 0; }; then
3580    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
3581  else  else
3582    pkg_failed=yes    pkg_failed=yes
# Line 3465  fi Line 3603  fi
3603          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3604          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
3605    
3606          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3608    
3609      { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3610  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3611    
3612  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3613    
3614      { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3615  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3616    
3617  else  else
3618          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3619          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3620          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3621  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3622    
3623      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
# Line 3491  fi Line 3629  fi
3629  else  else
3630          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS
3631          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS
3632          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3633  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3634    
3635    EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"    EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
# Line 3503  fi Line 3641  fi
3641  # check for gtkhtml-3.14  # check for gtkhtml-3.14
3642    
3643  pkg_failed=no  pkg_failed=no
3644  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgtkhtml3_14" >&5
3645  $as_echo_n "checking for libgtkhtml3_14... " >&6; }  $as_echo_n "checking for libgtkhtml3_14... " >&6; }
3646    
3647  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3511  if test -n "$PKG_CONFIG"; then Line 3649  if test -n "$PKG_CONFIG"; then
3649          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"
3650      else      else
3651          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3652      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\""; } >&5
3653    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3654    ac_status=$?    ac_status=$?
3655    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3656    (exit $ac_status); }; then    test $ac_status = 0; }; then
3657    pkg_cv_libgtkhtml3_14_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null`    pkg_cv_libgtkhtml3_14_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null`
3658  else  else
3659    pkg_failed=yes    pkg_failed=yes
# Line 3529  if test -n "$PKG_CONFIG"; then Line 3667  if test -n "$PKG_CONFIG"; then
3667          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"
3668      else      else
3669          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3670      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\""; } >&5
3671    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3672    ac_status=$?    ac_status=$?
3673    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3674    (exit $ac_status); }; then    test $ac_status = 0; }; then
3675    pkg_cv_libgtkhtml3_14_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null`    pkg_cv_libgtkhtml3_14_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null`
3676  else  else
3677    pkg_failed=yes    pkg_failed=yes
# Line 3560  fi Line 3698  fi
3698          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3699          echo "$libgtkhtml3_14_PKG_ERRORS" >&5          echo "$libgtkhtml3_14_PKG_ERRORS" >&5
3700    
3701          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3702  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3703    
3704    # ok, we can also live with 3.8    # ok, we can also live with 3.8
3705    
3706  pkg_failed=no  pkg_failed=no
3707  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgtkhtml3_8" >&5
3708  $as_echo_n "checking for libgtkhtml3_8... " >&6; }  $as_echo_n "checking for libgtkhtml3_8... " >&6; }
3709    
3710  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3574  if test -n "$PKG_CONFIG"; then Line 3712  if test -n "$PKG_CONFIG"; then
3712          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3713      else      else
3714          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3715      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\""; } >&5
3716    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3717    ac_status=$?    ac_status=$?
3718    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3719    (exit $ac_status); }; then    test $ac_status = 0; }; then
3720    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
3721  else  else
3722    pkg_failed=yes    pkg_failed=yes
# Line 3592  if test -n "$PKG_CONFIG"; then Line 3730  if test -n "$PKG_CONFIG"; then
3730          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3731      else      else
3732          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3733      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\""; } >&5
3734    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3735    ac_status=$?    ac_status=$?
3736    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3737    (exit $ac_status); }; then    test $ac_status = 0; }; then
3738    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
3739  else  else
3740    pkg_failed=yes    pkg_failed=yes
# Line 3623  fi Line 3761  fi
3761          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3762          echo "$libgtkhtml3_8_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3763    
3764          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3766                  { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5                  as_fn_error "libgtkhtml-3 missing" "$LINENO" 5
 $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  
    { (exit 1); exit 1; }; }  
3767  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3768          { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5          as_fn_error "libgtkhtml-3 missing" "$LINENO" 5
 $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  
    { (exit 1); exit 1; }; }  
3769  else  else
3770          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3771          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3772          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3773  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3774    
3775      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
# Line 3648  elif test $pkg_failed = untried; then Line 3782  elif test $pkg_failed = untried; then
3782    # ok, we can also live with 3.8    # ok, we can also live with 3.8
3783    
3784  pkg_failed=no  pkg_failed=no
3785  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgtkhtml3_8" >&5
3786  $as_echo_n "checking for libgtkhtml3_8... " >&6; }  $as_echo_n "checking for libgtkhtml3_8... " >&6; }
3787    
3788  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3656  if test -n "$PKG_CONFIG"; then Line 3790  if test -n "$PKG_CONFIG"; then
3790          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3791      else      else
3792          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3793      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\""; } >&5
3794    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3795    ac_status=$?    ac_status=$?
3796    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3797    (exit $ac_status); }; then    test $ac_status = 0; }; then
3798    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
3799  else  else
3800    pkg_failed=yes    pkg_failed=yes
# Line 3674  if test -n "$PKG_CONFIG"; then Line 3808  if test -n "$PKG_CONFIG"; then
3808          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3809      else      else
3810          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3811      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\""; } >&5
3812    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3813    ac_status=$?    ac_status=$?
3814    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3815    (exit $ac_status); }; then    test $ac_status = 0; }; then
3816    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
3817  else  else
3818    pkg_failed=yes    pkg_failed=yes
# Line 3705  fi Line 3839  fi
3839          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3840          echo "$libgtkhtml3_8_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3841    
3842          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3844                  { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5                  as_fn_error "libgtkhtml-3 missing" "$LINENO" 5
 $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  
    { (exit 1); exit 1; }; }  
3845  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3846          { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5          as_fn_error "libgtkhtml-3 missing" "$LINENO" 5
 $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  
    { (exit 1); exit 1; }; }  
3847  else  else
3848          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3849          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3850          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3851  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3852    
3853      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
# Line 3725  $as_echo "yes" >&6; } Line 3855  $as_echo "yes" >&6; }
3855    
3856  fi  fi
3857    
3858  else  else
3859          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS
3860          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS
3861          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3862  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3863    
3864      CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"
3865      LIBS="$LIBS $libgtkhtml3_14_LIBS"
3866    
3867    fi
3868    
3869    # check for maemo
3870    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Maemo" >&5
3871    $as_echo_n "checking for Maemo... " >&6; }
3872    
3873    ac_ext=c
3874    ac_cpp='$CPP $CPPFLAGS'
3875    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3876    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3877    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3878    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3879    $as_echo_n "checking how to run the C preprocessor... " >&6; }
3880    # On Suns, sometimes $CPP names a directory.
3881    if test -n "$CPP" && test -d "$CPP"; then
3882      CPP=
3883    fi
3884    if test -z "$CPP"; then
3885      if test "${ac_cv_prog_CPP+set}" = set; then :
3886      $as_echo_n "(cached) " >&6
3887    else
3888          # Double quotes because CPP needs to be expanded
3889        for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3890        do
3891          ac_preproc_ok=false
3892    for ac_c_preproc_warn_flag in '' yes
3893    do
3894      # Use a header file that comes with gcc, so configuring glibc
3895      # with a fresh cross-compiler works.
3896      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3897      # <limits.h> exists even on freestanding compilers.
3898      # On the NeXT, cc -E runs the code through the compiler's parser,
3899      # not just through cpp. "Syntax error" is here to catch this case.
3900      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901    /* end confdefs.h.  */
3902    #ifdef __STDC__
3903    # include <limits.h>
3904    #else
3905    # include <assert.h>
3906    #endif
3907                         Syntax error
3908    _ACEOF
3909    if ac_fn_c_try_cpp "$LINENO"; then :
3910    
3911    else
3912      # Broken: fails on valid input.
3913    continue
3914    fi
3915    rm -f conftest.err conftest.$ac_ext
3916    
3917      # OK, works on sane cases.  Now check whether nonexistent headers
3918      # can be detected and how.
3919      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920    /* end confdefs.h.  */
3921    #include <ac_nonexistent.h>
3922    _ACEOF
3923    if ac_fn_c_try_cpp "$LINENO"; then :
3924      # Broken: success on invalid input.
3925    continue
3926    else
3927      # Passes both tests.
3928    ac_preproc_ok=:
3929    break
3930    fi
3931    rm -f conftest.err conftest.$ac_ext
3932    
3933    done
3934    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3935    rm -f conftest.err conftest.$ac_ext
3936    if $ac_preproc_ok; then :
3937      break
3938    fi
3939    
3940        done
3941        ac_cv_prog_CPP=$CPP
3942    
3943    fi
3944      CPP=$ac_cv_prog_CPP
3945    else
3946      ac_cv_prog_CPP=$CPP
3947    fi
3948    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3949    $as_echo "$CPP" >&6; }
3950    ac_preproc_ok=false
3951    for ac_c_preproc_warn_flag in '' yes
3952    do
3953      # Use a header file that comes with gcc, so configuring glibc
3954      # with a fresh cross-compiler works.
3955      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3956      # <limits.h> exists even on freestanding compilers.
3957      # On the NeXT, cc -E runs the code through the compiler's parser,
3958      # not just through cpp. "Syntax error" is here to catch this case.
3959      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960    /* end confdefs.h.  */
3961    #ifdef __STDC__
3962    # include <limits.h>
3963    #else
3964    # include <assert.h>
3965    #endif
3966                         Syntax error
3967    _ACEOF
3968    if ac_fn_c_try_cpp "$LINENO"; then :
3969    
3970    else
3971      # Broken: fails on valid input.
3972    continue
3973    fi
3974    rm -f conftest.err conftest.$ac_ext
3975    
3976      # OK, works on sane cases.  Now check whether nonexistent headers
3977      # can be detected and how.
3978      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3979    /* end confdefs.h.  */
3980    #include <ac_nonexistent.h>
3981    _ACEOF
3982    if ac_fn_c_try_cpp "$LINENO"; then :
3983      # Broken: success on invalid input.
3984    continue
3985    else
3986      # Passes both tests.
3987    ac_preproc_ok=:
3988    break
3989    fi
3990    rm -f conftest.err conftest.$ac_ext
3991    
3992    done
3993    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3994    rm -f conftest.err conftest.$ac_ext
3995    if $ac_preproc_ok; then :
3996    
3997    else
3998      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3999    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4000    as_fn_error "C preprocessor \"$CPP\" fails sanity check
4001    See \`config.log' for more details." "$LINENO" 5; }
4002    fi
4003    
4004    ac_ext=c
4005    ac_cpp='$CPP $CPPFLAGS'
4006    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4007    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4008    ac_compiler_gnu=$ac_cv_c_compiler_gnu
4009    
4010    
4011    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4012    $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4013    if test "${ac_cv_path_GREP+set}" = set; then :
4014      $as_echo_n "(cached) " >&6
4015    else
4016      if test -z "$GREP"; then
4017      ac_path_GREP_found=false
4018      # Loop through the user's path and test for each of PROGNAME-LIST
4019      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4020    for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4021    do
4022      IFS=$as_save_IFS
4023      test -z "$as_dir" && as_dir=.
4024        for ac_prog in grep ggrep; do
4025        for ac_exec_ext in '' $ac_executable_extensions; do
4026          ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4027          { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4028    # Check for GNU ac_path_GREP and select it if it is found.
4029      # Check for GNU $ac_path_GREP
4030    case `"$ac_path_GREP" --version 2>&1` in
4031    *GNU*)
4032      ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4033    *)
4034      ac_count=0
4035      $as_echo_n 0123456789 >"conftest.in"
4036      while :
4037      do
4038        cat "conftest.in" "conftest.in" >"conftest.tmp"
4039        mv "conftest.tmp" "conftest.in"
4040        cp "conftest.in" "conftest.nl"
4041        $as_echo 'GREP' >> "conftest.nl"
4042        "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4043        diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4044        as_fn_arith $ac_count + 1 && ac_count=$as_val
4045        if test $ac_count -gt ${ac_path_GREP_max-0}; then
4046          # Best one so far, save it but keep looking for a better one
4047          ac_cv_path_GREP="$ac_path_GREP"
4048          ac_path_GREP_max=$ac_count
4049        fi
4050        # 10*(2^10) chars as input seems more than enough
4051        test $ac_count -gt 10 && break
4052      done
4053      rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4054    esac
4055    
4056          $ac_path_GREP_found && break 3
4057        done
4058      done
4059      done
4060    IFS=$as_save_IFS
4061      if test -z "$ac_cv_path_GREP"; then
4062        as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4063      fi
4064    else
4065      ac_cv_path_GREP=$GREP
4066    fi
4067    
4068    fi
4069    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4070    $as_echo "$ac_cv_path_GREP" >&6; }
4071     GREP="$ac_cv_path_GREP"
4072    
4073    
4074    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4075    $as_echo_n "checking for egrep... " >&6; }
4076    if test "${ac_cv_path_EGREP+set}" = set; then :
4077      $as_echo_n "(cached) " >&6
4078    else
4079      if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4080       then ac_cv_path_EGREP="$GREP -E"
4081       else
4082         if test -z "$EGREP"; then
4083      ac_path_EGREP_found=false
4084      # Loop through the user's path and test for each of PROGNAME-LIST
4085      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4086    for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4087    do
4088      IFS=$as_save_IFS
4089      test -z "$as_dir" && as_dir=.
4090        for ac_prog in egrep; do
4091        for ac_exec_ext in '' $ac_executable_extensions; do
4092          ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4093          { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4094    # Check for GNU ac_path_EGREP and select it if it is found.
4095      # Check for GNU $ac_path_EGREP
4096    case `"$ac_path_EGREP" --version 2>&1` in
4097    *GNU*)
4098      ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4099    *)
4100      ac_count=0
4101      $as_echo_n 0123456789 >"conftest.in"
4102      while :
4103      do
4104        cat "conftest.in" "conftest.in" >"conftest.tmp"
4105        mv "conftest.tmp" "conftest.in"
4106        cp "conftest.in" "conftest.nl"
4107        $as_echo 'EGREP' >> "conftest.nl"
4108        "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4109        diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4110        as_fn_arith $ac_count + 1 && ac_count=$as_val
4111        if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4112          # Best one so far, save it but keep looking for a better one
4113          ac_cv_path_EGREP="$ac_path_EGREP"
4114          ac_path_EGREP_max=$ac_count
4115        fi
4116        # 10*(2^10) chars as input seems more than enough
4117        test $ac_count -gt 10 && break
4118      done
4119      rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4120    esac
4121    
4122          $ac_path_EGREP_found && break 3
4123        done
4124      done
4125      done
4126    IFS=$as_save_IFS
4127      if test -z "$ac_cv_path_EGREP"; then
4128        as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4129      fi
4130    else
4131      ac_cv_path_EGREP=$EGREP
4132    fi
4133    
4134       fi
4135    fi
4136    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4137    $as_echo "$ac_cv_path_EGREP" >&6; }
4138     EGREP="$ac_cv_path_EGREP"
4139    
4140    
4141    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4142    $as_echo_n "checking for ANSI C header files... " >&6; }
4143    if test "${ac_cv_header_stdc+set}" = set; then :
4144      $as_echo_n "(cached) " >&6
4145    else
4146      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147    /* end confdefs.h.  */
4148    #include <stdlib.h>
4149    #include <stdarg.h>
4150    #include <string.h>
4151    #include <float.h>
4152    
4153    int
4154    main ()
4155    {
4156    
4157      ;
4158      return 0;
4159    }
4160    _ACEOF
4161    if ac_fn_c_try_compile "$LINENO"; then :
4162      ac_cv_header_stdc=yes
4163    else
4164      ac_cv_header_stdc=no
4165    fi
4166    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4167    
4168    if test $ac_cv_header_stdc = yes; then
4169      # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4170      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171    /* end confdefs.h.  */
4172    #include <string.h>
4173    
4174    _ACEOF
4175    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4176      $EGREP "memchr" >/dev/null 2>&1; then :
4177    
4178    else
4179      ac_cv_header_stdc=no
4180    fi
4181    rm -f conftest*
4182    
4183    fi
4184    
4185    if test $ac_cv_header_stdc = yes; then
4186      # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4187      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188    /* end confdefs.h.  */
4189    #include <stdlib.h>
4190    
4191    _ACEOF
4192    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4193      $EGREP "free" >/dev/null 2>&1; then :
4194    
4195    else
4196      ac_cv_header_stdc=no
4197    fi
4198    rm -f conftest*
4199    
4200    fi
4201    
4202    if test $ac_cv_header_stdc = yes; then
4203      # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4204      if test "$cross_compiling" = yes; then :
4205      :
4206    else
4207      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208    /* end confdefs.h.  */
4209    #include <ctype.h>
4210    #include <stdlib.h>
4211    #if ((' ' & 0x0FF) == 0x020)
4212    # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4213    # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4214    #else
4215    # define ISLOWER(c) \
4216                       (('a' <= (c) && (c) <= 'i') \
4217                         || ('j' <= (c) && (c) <= 'r') \
4218                         || ('s' <= (c) && (c) <= 'z'))
4219    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4220    #endif
4221    
4222    #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4223    int
4224    main ()
4225    {
4226      int i;
4227      for (i = 0; i < 256; i++)
4228        if (XOR (islower (i), ISLOWER (i))
4229            || toupper (i) != TOUPPER (i))
4230          return 2;
4231      return 0;
4232    }
4233    _ACEOF
4234    if ac_fn_c_try_run "$LINENO"; then :
4235    
4236    else
4237      ac_cv_header_stdc=no
4238    fi
4239    rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4240      conftest.$ac_objext conftest.beam conftest.$ac_ext
4241    fi
4242    
4243    fi
4244    fi
4245    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4246    $as_echo "$ac_cv_header_stdc" >&6; }
4247    if test $ac_cv_header_stdc = yes; then
4248    
4249    $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4250    
4251    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"  fi
4252    LIBS="$LIBS $libgtkhtml3_14_LIBS"  
4253    # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4254    for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4255                      inttypes.h stdint.h unistd.h
4256    do :
4257      as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4258    ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4259    "
4260    eval as_val=\$$as_ac_Header
4261       if test "x$as_val" = x""yes; then :
4262      cat >>confdefs.h <<_ACEOF
4263    #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4264    _ACEOF
4265    
4266  fi  fi
4267    
4268  # check for maemo  done
4269  { $as_echo "$as_me:$LINENO: checking for Maemo" >&5  
4270  $as_echo_n "checking for Maemo... " >&6; }  
4271  if test -n "$PKG_CONFIG" && \  if test -n "$PKG_CONFIG" && \
4272      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"maemo-version\""; } >&5
4273    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
4274    ac_status=$?    ac_status=$?
4275    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4276    (exit $ac_status); }; then    test $ac_status = 0; }; then
4277    
4278    MAEMO="yes"    MAEMO="yes"
4279    { $as_echo "$as_me:$LINENO: result: yes" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4280  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4281    
4282    
4283  pkg_failed=no  pkg_failed=no
4284  { $as_echo "$as_me:$LINENO: checking for hildon" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hildon" >&5
4285  $as_echo_n "checking for hildon... " >&6; }  $as_echo_n "checking for hildon... " >&6; }
4286    
4287  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3760  if test -n "$PKG_CONFIG"; then Line 4289  if test -n "$PKG_CONFIG"; then
4289          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"
4290      else      else
4291          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4292      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1\""; } >&5
4293    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4294    ac_status=$?    ac_status=$?
4295    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4296    (exit $ac_status); }; then    test $ac_status = 0; }; then
4297    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
4298  else  else
4299    pkg_failed=yes    pkg_failed=yes
# Line 3778  if test -n "$PKG_CONFIG"; then Line 4307  if test -n "$PKG_CONFIG"; then
4307          pkg_cv_hildon_LIBS="$hildon_LIBS"          pkg_cv_hildon_LIBS="$hildon_LIBS"
4308      else      else
4309          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4310      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1\""; } >&5
4311    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4312    ac_status=$?    ac_status=$?
4313    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4314    (exit $ac_status); }; then    test $ac_status = 0; }; then
4315    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
4316  else  else
4317    pkg_failed=yes    pkg_failed=yes
# Line 3809  fi Line 4338  fi
4338          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4339          echo "$hildon_PKG_ERRORS" >&5          echo "$hildon_PKG_ERRORS" >&5
4340    
4341          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4342  $as_echo "no" >&6; }  $as_echo "no" >&6; }
4343                  { { $as_echo "$as_me:$LINENO: error: hildon-1 missing" >&5                  as_fn_error "hildon-1 missing" "$LINENO" 5
 $as_echo "$as_me: error: hildon-1 missing" >&2;}  
    { (exit 1); exit 1; }; }  
4344  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4345          { { $as_echo "$as_me:$LINENO: error: hildon-1 missing" >&5          as_fn_error "hildon-1 missing" "$LINENO" 5
 $as_echo "$as_me: error: hildon-1 missing" >&2;}  
    { (exit 1); exit 1; }; }  
4346  else  else
4347          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS
4348          hildon_LIBS=$pkg_cv_hildon_LIBS          hildon_LIBS=$pkg_cv_hildon_LIBS
4349          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4350  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4351          :          :
4352  fi  fi
# Line 3830  fi Line 4355  fi
4355    
4356    
4357  pkg_failed=no  pkg_failed=no
4358  { $as_echo "$as_me:$LINENO: checking for osso" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for osso" >&5
4359  $as_echo_n "checking for osso... " >&6; }  $as_echo_n "checking for osso... " >&6; }
4360    
4361  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3838  if test -n "$PKG_CONFIG"; then Line 4363  if test -n "$PKG_CONFIG"; then
4363          pkg_cv_osso_CFLAGS="$osso_CFLAGS"          pkg_cv_osso_CFLAGS="$osso_CFLAGS"
4364      else      else
4365          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4366      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libosso\""; } >&5
4367    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4368    ac_status=$?    ac_status=$?
4369    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4370    (exit $ac_status); }; then    test $ac_status = 0; }; then
4371    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`
4372  else  else
4373    pkg_failed=yes    pkg_failed=yes
# Line 3856  if test -n "$PKG_CONFIG"; then Line 4381  if test -n "$PKG_CONFIG"; then
4381          pkg_cv_osso_LIBS="$osso_LIBS"          pkg_cv_osso_LIBS="$osso_LIBS"
4382      else      else
4383          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4384      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libosso\""; } >&5
4385    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4386    ac_status=$?    ac_status=$?
4387    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388    (exit $ac_status); }; then    test $ac_status = 0; }; then
4389    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`
4390  else  else
4391    pkg_failed=yes    pkg_failed=yes
# Line 3887  fi Line 4412  fi
4412          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4413          echo "$osso_PKG_ERRORS" >&5          echo "$osso_PKG_ERRORS" >&5
4414    
4415          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4416  $as_echo "no" >&6; }  $as_echo "no" >&6; }
4417                  { { $as_echo "$as_me:$LINENO: error: libosso missing" >&5                  as_fn_error "libosso missing" "$LINENO" 5
 $as_echo "$as_me: error: libosso missing" >&2;}  
    { (exit 1); exit 1; }; }  
4418  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4419          { { $as_echo "$as_me:$LINENO: error: libosso missing" >&5          as_fn_error "libosso missing" "$LINENO" 5
 $as_echo "$as_me: error: libosso missing" >&2;}  
    { (exit 1); exit 1; }; }  
4420  else  else
4421          osso_CFLAGS=$pkg_cv_osso_CFLAGS          osso_CFLAGS=$pkg_cv_osso_CFLAGS
4422          osso_LIBS=$pkg_cv_osso_LIBS          osso_LIBS=$pkg_cv_osso_LIBS
4423          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4424  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4425          :          :
4426  fi  fi
# Line 3908  fi Line 4429  fi
4429    
4430    
4431  pkg_failed=no  pkg_failed=no
4432  { $as_echo "$as_me:$LINENO: checking for hildon_fm_2" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hildon_fm_2" >&5
4433  $as_echo_n "checking for hildon_fm_2... " >&6; }  $as_echo_n "checking for hildon_fm_2... " >&6; }
4434    
4435  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3916  if test -n "$PKG_CONFIG"; then Line 4437  if test -n "$PKG_CONFIG"; then
4437          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"
4438      else      else
4439          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4440      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\""; } >&5
4441    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4442    ac_status=$?    ac_status=$?
4443    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4444    (exit $ac_status); }; then    test $ac_status = 0; }; then
4445    pkg_cv_hildon_fm_2_CFLAGS=`$PKG_CONFIG --cflags "hildon-fm-2" 2>/dev/null`    pkg_cv_hildon_fm_2_CFLAGS=`$PKG_CONFIG --cflags "hildon-fm-2" 2>/dev/null`
4446  else  else
4447    pkg_failed=yes    pkg_failed=yes
# Line 3934  if test -n "$PKG_CONFIG"; then Line 4455  if test -n "$PKG_CONFIG"; then
4455          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"
4456      else      else
4457          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4458      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\""; } >&5
4459    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4460    ac_status=$?    ac_status=$?
4461    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4462    (exit $ac_status); }; then    test $ac_status = 0; }; then
4463    pkg_cv_hildon_fm_2_LIBS=`$PKG_CONFIG --libs "hildon-fm-2" 2>/dev/null`    pkg_cv_hildon_fm_2_LIBS=`$PKG_CONFIG --libs "hildon-fm-2" 2>/dev/null`
4464  else  else
4465    pkg_failed=yes    pkg_failed=yes
# Line 3965  fi Line 4486  fi
4486          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4487          echo "$hildon_fm_2_PKG_ERRORS" >&5          echo "$hildon_fm_2_PKG_ERRORS" >&5
4488    
4489          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4490  $as_echo "no" >&6; }  $as_echo "no" >&6; }
4491                  { { $as_echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5                  as_fn_error "hildon-fm-2 missing" "$LINENO" 5
 $as_echo "$as_me: error: hildon-fm-2 missing" >&2;}  
    { (exit 1); exit 1; }; }  
4492  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4493          { { $as_echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5          as_fn_error "hildon-fm-2 missing" "$LINENO" 5
 $as_echo "$as_me: error: hildon-fm-2 missing" >&2;}  
    { (exit 1); exit 1; }; }  
4494  else  else
4495          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS
4496          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS
4497          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4498  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4499          :          :
4500  fi  fi
# Line 3987  fi Line 4504  fi
4504    # check for sqlite3 for maemo mapper interface    # check for sqlite3 for maemo mapper interface
4505    
4506  pkg_failed=no  pkg_failed=no
4507  { $as_echo "$as_me:$LINENO: checking for sqlite3" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5
4508  $as_echo_n "checking for sqlite3... " >&6; }  $as_echo_n "checking for sqlite3... " >&6; }
4509    
4510  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3995  if test -n "$PKG_CONFIG"; then Line 4512  if test -n "$PKG_CONFIG"; then
4512          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"
4513      else      else
4514          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4515      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
4516    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4517    ac_status=$?    ac_status=$?
4518    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4519    (exit $ac_status); }; then    test $ac_status = 0; }; then
4520    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
4521  else  else
4522    pkg_failed=yes    pkg_failed=yes
# Line 4013  if test -n "$PKG_CONFIG"; then Line 4530  if test -n "$PKG_CONFIG"; then
4530          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"
4531      else      else
4532          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4533      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
4534    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4535    ac_status=$?    ac_status=$?
4536    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4537    (exit $ac_status); }; then    test $ac_status = 0; }; then
4538    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
4539  else  else
4540    pkg_failed=yes    pkg_failed=yes
# Line 4044  fi Line 4561  fi
4561          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4562          echo "$sqlite3_PKG_ERRORS" >&5          echo "$sqlite3_PKG_ERRORS" >&5
4563    
4564          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4565  $as_echo "no" >&6; }  $as_echo "no" >&6; }
4566                  { { $as_echo "$as_me:$LINENO: error: sqlite3 missing" >&5                  as_fn_error "sqlite3 missing" "$LINENO" 5
 $as_echo "$as_me: error: sqlite3 missing" >&2;}  
    { (exit 1); exit 1; }; }  
4567  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4568          { { $as_echo "$as_me:$LINENO: error: sqlite3 missing" >&5          as_fn_error "sqlite3 missing" "$LINENO" 5
 $as_echo "$as_me: error: sqlite3 missing" >&2;}  
    { (exit 1); exit 1; }; }  
4569  else  else
4570          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS
4571          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS
4572          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4573  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4574          :          :
4575  fi  fi
# Line 4066  fi Line 4579  fi
4579    # check for hildon-help    # check for hildon-help
4580    
4581  pkg_failed=no  pkg_failed=no
4582  { $as_echo "$as_me:$LINENO: checking for hildon_help" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hildon_help" >&5
4583  $as_echo_n "checking for hildon_help... " >&6; }  $as_echo_n "checking for hildon_help... " >&6; }
4584    
4585  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 4074  if test -n "$PKG_CONFIG"; then Line 4587  if test -n "$PKG_CONFIG"; then
4587          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"
4588      else      else
4589          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4590      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-help\""; } >&5
4591    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4592    ac_status=$?    ac_status=$?
4593    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4594    (exit $ac_status); }; then    test $ac_status = 0; }; then
4595    pkg_cv_hildon_help_CFLAGS=`$PKG_CONFIG --cflags "hildon-help" 2>/dev/null`    pkg_cv_hildon_help_CFLAGS=`$PKG_CONFIG --cflags "hildon-help" 2>/dev/null`
4596  else  else
4597    pkg_failed=yes    pkg_failed=yes
# Line 4092  if test -n "$PKG_CONFIG"; then Line 4605  if test -n "$PKG_CONFIG"; then
4605          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"
4606      else      else
4607          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4608      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-help\""; } >&5
4609    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4610    ac_status=$?    ac_status=$?
4611    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4612    (exit $ac_status); }; then    test $ac_status = 0; }; then
4613    pkg_cv_hildon_help_LIBS=`$PKG_CONFIG --libs "hildon-help" 2>/dev/null`    pkg_cv_hildon_help_LIBS=`$PKG_CONFIG --libs "hildon-help" 2>/dev/null`
4614  else  else
4615    pkg_failed=yes    pkg_failed=yes
# Line 4123  fi Line 4636  fi
4636          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4637          echo "$hildon_help_PKG_ERRORS" >&5          echo "$hildon_help_PKG_ERRORS" >&5
4638    
4639          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640  $as_echo "no" >&6; }  $as_echo "no" >&6; }
4641    
4642      { $as_echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hildon-help missing" >&5
4643  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}
4644    
4645  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4646    
4647      { $as_echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hildon-help missing" >&5
4648  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}
4649    
4650  else  else
4651          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS
4652          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS
4653          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4654  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4655    
4656      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"
# Line 4148  fi Line 4661  fi
4661    # prefer gpsbt over liblocation as we got complaints regarding liblocation    # prefer gpsbt over liblocation as we got complaints regarding liblocation
4662    # stability    # stability
4663    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4664      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpsbt\""; } >&5
4665    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4666    ac_status=$?    ac_status=$?
4667    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4668    (exit $ac_status); }; then    test $ac_status = 0; }; then
4669    
4670    
4671  pkg_failed=no  pkg_failed=no
4672  { $as_echo "$as_me:$LINENO: checking for gpsbt" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpsbt" >&5
4673  $as_echo_n "checking for gpsbt... " >&6; }  $as_echo_n "checking for gpsbt... " >&6; }
4674    
4675  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 4164  if test -n "$PKG_CONFIG"; then Line 4677  if test -n "$PKG_CONFIG"; then
4677          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"
4678      else      else
4679          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4680      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpsbt\""; } >&5
4681    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4682    ac_status=$?    ac_status=$?
4683    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4684    (exit $ac_status); }; then    test $ac_status = 0; }; then
4685    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`
4686  else  else
4687    pkg_failed=yes    pkg_failed=yes
# Line 4182  if test -n "$PKG_CONFIG"; then Line 4695  if test -n "$PKG_CONFIG"; then
4695          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"
4696      else      else
4697          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4698      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpsbt\""; } >&5
4699    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4700    ac_status=$?    ac_status=$?
4701    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4702    (exit $ac_status); }; then    test $ac_status = 0; }; then
4703    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`
4704  else  else
4705    pkg_failed=yes    pkg_failed=yes
# Line 4213  fi Line 4726  fi
4726          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4727          echo "$gpsbt_PKG_ERRORS" >&5          echo "$gpsbt_PKG_ERRORS" >&5
4728    
4729          { { $as_echo "$as_me:$LINENO: error: Package requirements (gpsbt) were not met:          as_fn_error "Package requirements (gpsbt) were not met:
4730    
4731  $gpsbt_PKG_ERRORS  $gpsbt_PKG_ERRORS
4732    
# Line 4223  installed software in a non-standard pre Line 4736  installed software in a non-standard pre
4736  Alternatively, you may set the environment variables gpsbt_CFLAGS  Alternatively, you may set the environment variables gpsbt_CFLAGS
4737  and gpsbt_LIBS to avoid the need to call pkg-config.  and gpsbt_LIBS to avoid the need to call pkg-config.
4738  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4739  " >&5  " "$LINENO" 5
 $as_echo "$as_me: error: Package requirements (gpsbt) were not met:  
   
 $gpsbt_PKG_ERRORS  
   
 Consider adjusting the PKG_CONFIG_PATH environment variable if you  
 installed software in a non-standard prefix.  
   
 Alternatively, you may set the environment variables gpsbt_CFLAGS  
 and gpsbt_LIBS to avoid the need to call pkg-config.  
 See the pkg-config man page for more details.  
 " >&2;}  
    { (exit 1); exit 1; }; }  
4740  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4741          { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4742  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4743  { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it  as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full  
 path to pkg-config.  
   
 Alternatively, you may set the environment variables gpsbt_CFLAGS  
 and gpsbt_LIBS to avoid the need to call pkg-config.  
 See the pkg-config man page for more details.  
   
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.  
 See \`config.log' for more details." >&5  
 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it  
4744  is in your PATH or set the PKG_CONFIG environment variable to the full  is in your PATH or set the PKG_CONFIG environment variable to the full
4745  path to pkg-config.  path to pkg-config.
4746    
# Line 4258  and gpsbt_LIBS to avoid the need to call Line 4749  and gpsbt_LIBS to avoid the need to call
4749  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4750    
4751  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4752  See \`config.log' for more details." >&2;}  See \`config.log' for more details." "$LINENO" 5; }
    { (exit 1); exit 1; }; }; }  
4753  else  else
4754          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS
4755          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS
4756          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4757  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4758          :          :
4759  fi  fi
# Line 4272  fi Line 4762  fi
4762    
4763  else  else
4764    
4765      { $as_echo "$as_me:$LINENO: gpsbt not found, trying liblocation" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: gpsbt not found, trying liblocation" >&5
4766  $as_echo "$as_me: gpsbt not found, trying liblocation" >&6;}  $as_echo "$as_me: gpsbt not found, trying liblocation" >&6;}
4767    
4768      if test -n "$PKG_CONFIG" && \      if test -n "$PKG_CONFIG" && \
4769      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblocation\""; } >&5
4770    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4771    ac_status=$?    ac_status=$?
4772    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4773    (exit $ac_status); }; then    test $ac_status = 0; }; then
4774    
4775    
4776  pkg_failed=no  pkg_failed=no
4777  { $as_echo "$as_me:$LINENO: checking for liblocation" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblocation" >&5
4778  $as_echo_n "checking for liblocation... " >&6; }  $as_echo_n "checking for liblocation... " >&6; }
4779    
4780  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 4292  if test -n "$PKG_CONFIG"; then Line 4782  if test -n "$PKG_CONFIG"; then
4782          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"
4783      else      else
4784          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4785      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblocation\""; } >&5
4786    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4787    ac_status=$?    ac_status=$?
4788    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4789    (exit $ac_status); }; then    test $ac_status = 0; }; then
4790    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`
4791  else  else
4792    pkg_failed=yes    pkg_failed=yes
# Line 4310  if test -n "$PKG_CONFIG"; then Line 4800  if test -n "$PKG_CONFIG"; then
4800          pkg_cv_liblocation_LIBS="$liblocation_LIBS"          pkg_cv_liblocation_LIBS="$liblocation_LIBS"
4801      else      else
4802          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4803      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblocation\""; } >&5
4804    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4805    ac_status=$?    ac_status=$?
4806    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4807    (exit $ac_status); }; then    test $ac_status = 0; }; then
4808    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`
4809  else  else
4810    pkg_failed=yes    pkg_failed=yes
# Line 4341  fi Line 4831  fi
4831          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4832          echo "$liblocation_PKG_ERRORS" >&5          echo "$liblocation_PKG_ERRORS" >&5
4833    
4834          { { $as_echo "$as_me:$LINENO: error: Package requirements (liblocation) were not met:          as_fn_error "Package requirements (liblocation) were not met:
   
 $liblocation_PKG_ERRORS  
   
 Consider adjusting the PKG_CONFIG_PATH environment variable if you  
 installed software in a non-standard prefix.  
   
 Alternatively, you may set the environment variables liblocation_CFLAGS  
 and liblocation_LIBS to avoid the need to call pkg-config.  
 See the pkg-config man page for more details.  
 " >&5  
 $as_echo "$as_me: error: Package requirements (liblocation) were not met:  
4835    
4836  $liblocation_PKG_ERRORS  $liblocation_PKG_ERRORS
4837    
# Line 4362  installed software in a non-standard pre Line 4841  installed software in a non-standard pre
4841  Alternatively, you may set the environment variables liblocation_CFLAGS  Alternatively, you may set the environment variables liblocation_CFLAGS
4842  and liblocation_LIBS to avoid the need to call pkg-config.  and liblocation_LIBS to avoid the need to call pkg-config.
4843  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4844  " >&2;}  " "$LINENO" 5
    { (exit 1); exit 1; }; }  
4845  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4846          { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4847  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4848  { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it  as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full  
 path to pkg-config.  
   
 Alternatively, you may set the environment variables liblocation_CFLAGS  
 and liblocation_LIBS to avoid the need to call pkg-config.  
 See the pkg-config man page for more details.  
   
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.  
 See \`config.log' for more details." >&5  
 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it  
4849  is in your PATH or set the PKG_CONFIG environment variable to the full  is in your PATH or set the PKG_CONFIG environment variable to the full
4850  path to pkg-config.  path to pkg-config.
4851    
# Line 4386  and liblocation_LIBS to avoid the need t Line 4854  and liblocation_LIBS to avoid the need t
4854  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4855    
4856  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4857  See \`config.log' for more details." >&2;}  See \`config.log' for more details." "$LINENO" 5; }
    { (exit 1); exit 1; }; }; }  
4858  else  else
4859          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS
4860          liblocation_LIBS=$pkg_cv_liblocation_LIBS          liblocation_LIBS=$pkg_cv_liblocation_LIBS
4861          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4862  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4863          :          :
4864  fi  fi
# Line 4400  fi Line 4867  fi
4867    
4868  else  else
4869    
4870        { $as_echo "$as_me:$LINENO: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&5
4871  $as_echo "$as_me: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&6;}  $as_echo "$as_me: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&6;}
4872    
4873  fi  fi
# Line 4408  fi Line 4875  fi
4875  fi  fi
4876    
4877    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4878      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tablet-browser-interface\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tablet-browser-interface\""; } >&5
4879    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5
4880    ac_status=$?    ac_status=$?
4881    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4882    (exit $ac_status); }; then    test $ac_status = 0; }; then
4883    
4884      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"
4885    
4886  else  else
4887    { $as_echo "$as_me:$LINENO: WARNING: No tablet-browser-interface found, disabling microb interface!" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No tablet-browser-interface found, disabling microb interface!" >&5
4888  $as_echo "$as_me: WARNING: No tablet-browser-interface found, disabling microb interface!" >&6;}  $as_echo "$as_me: WARNING: No tablet-browser-interface found, disabling microb interface!" >&6;}
4889  fi  fi
4890    
4891    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4892      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"maemo-version\""; } >&5
4893    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
4894    ac_status=$?    ac_status=$?
4895    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4896    (exit $ac_status); }; then    test $ac_status = 0; }; then
4897    
4898      VERSION=`pkg-config --modversion maemo-version`      VERSION=`pkg-config --modversion maemo-version`
4899      { $as_echo "$as_me:$LINENO: Configuring for Maemo $VERSION" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for Maemo $VERSION" >&5
4900  $as_echo "$as_me: Configuring for Maemo $VERSION" >&6;}  $as_echo "$as_me: Configuring for Maemo $VERSION" >&6;}
4901      CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""      CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""
4902      MAJOR=`echo $VERSION | cut -b1 -`      MAJOR=`echo $VERSION | cut -b1 -`
4903      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"
4904    
4905        MAEMO_VERSION_MAJOR=$MAJOR
4906    
4907    
4908  else  else
4909    
4910      { { $as_echo "$as_me:$LINENO: error: maemo-version not found" >&5      as_fn_error "maemo-version not found" "$LINENO" 5
 $as_echo "$as_me: error: maemo-version not found" >&2;}  
    { (exit 1); exit 1; }; }  
4911    
4912  fi  fi
4913    
   # maemo uses dbus for ipc with maemo mapper  
   EXTRA_OBJS="$EXTRA_OBJS mm_poi.o dbus.o"  
   
4914    INSTALL_PLATTFORM="install-maemo"    INSTALL_PLATTFORM="install-maemo"
4915    
4916    # fremantle uses icons of 48x48 pixels for the app installer,    # fremantle uses icons of 48x48 pixels for the app installer,
4917    # older versions used 26x26    # older versions used 26x26
4918    if [ "$MAJOR" == "5" ]; then    if [ "$MAJOR" == "5" ]; then
4919       ICONNAME=gpxview.48.png       ICONNAME=48x48/gpxview.png
4920         datarootdir=/opt
4921    
4922           # check for libespeak (broken in diablo, hence doing it here)
4923           for ac_header in espeak/speak_lib.h
4924    do :
4925      ac_fn_c_check_header_mongrel "$LINENO" "espeak/speak_lib.h" "ac_cv_header_espeak_speak_lib_h" "$ac_includes_default"
4926    if test "x$ac_cv_header_espeak_speak_lib_h" = x""yes; then :
4927      cat >>confdefs.h <<_ACEOF
4928    #define HAVE_ESPEAK_SPEAK_LIB_H 1
4929    _ACEOF
4930    
4931             CFLAGS="$CFLAGS -DESPEAK"
4932             LIBS="$LIBS -lespeak"
4933    
4934    fi
4935    
4936    done
4937    
4938    else    else
4939       ICONNAME=gpxview.26.png       ICONNAME=26x26/gpxview.png
4940         { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling Maemo Mapper support" >&5
4941    $as_echo "$as_me: Enabling Maemo Mapper support" >&6;}
4942    fi    fi
4943    
4944    { $as_echo "$as_me:$LINENO: Using application installer icon \"$ICONNAME\"" >&5    CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER"
4945      EXTRA_OBJS="$EXTRA_OBJS mm_poi.o"
4946    
4947      # maemo uses dbus for ipc with maemo mapper
4948      EXTRA_OBJS="$EXTRA_OBJS dbus.o"
4949    
4950      { $as_echo "$as_me:${as_lineno-$LINENO}: Using application installer icon \"$ICONNAME\"" >&5
4951  $as_echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}  $as_echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}
4952    
4953    # add icon entry to debian/control    # add icon entry to debian/control
# Line 4466  XB-Maemo-Icon-26: Line 4957  XB-Maemo-Icon-26:
4957    
4958    # generate base64 icon, remove first and last line    # generate base64 icon, remove first and last line
4959    # and add a space before each line    # and add a space before each line
4960    ICON="$ICON`uuencode -m data/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`"    ICON="$ICON`uuencode -m data/icons/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`"
4961    
4962    
4963  else  else
4964    
4965    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966  $as_echo "no" >&6; }  $as_echo "no" >&6; }
4967    
4968      EXTRA_OBJS="$EXTRA_OBJS bct.o"
4969      CFLAGS="$CFLAGS -DBCT"
4970    
4971    # check for gtk+-2.0    # check for gtk+-2.0
4972    
4973  pkg_failed=no  pkg_failed=no
4974  { $as_echo "$as_me:$LINENO: checking for gtk" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk" >&5
4975  $as_echo_n "checking for gtk... " >&6; }  $as_echo_n "checking for gtk... " >&6; }
4976    
4977  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 4485  if test -n "$PKG_CONFIG"; then Line 4979  if test -n "$PKG_CONFIG"; then
4979          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
4980      else      else
4981          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4982      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
4983    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
4984    ac_status=$?    ac_status=$?
4985    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4986    (exit $ac_status); }; then    test $ac_status = 0; }; then
4987    pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`    pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
4988  else  else
4989    pkg_failed=yes    pkg_failed=yes
# Line 4503  if test -n "$PKG_CONFIG"; then Line 4997  if test -n "$PKG_CONFIG"; then
4997          pkg_cv_gtk_LIBS="$gtk_LIBS"          pkg_cv_gtk_LIBS="$gtk_LIBS"
4998      else      else
4999          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5000      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
5001    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5002    ac_status=$?    ac_status=$?
5003    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5004    (exit $ac_status); }; then    test $ac_status = 0; }; then
5005    pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`    pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
5006  else  else
5007    pkg_failed=yes    pkg_failed=yes
# Line 4534  fi Line 5028  fi
5028          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5029          echo "$gtk_PKG_ERRORS" >&5          echo "$gtk_PKG_ERRORS" >&5
5030    
5031          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5032  $as_echo "no" >&6; }  $as_echo "no" >&6; }
5033                  { { $as_echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5                  as_fn_error "gtk+-2.0 missing!" "$LINENO" 5
 $as_echo "$as_me: error: gtk+-2.0 missing!" >&2;}  
    { (exit 1); exit 1; }; }  
5034  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5035          { { $as_echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5          as_fn_error "gtk+-2.0 missing!" "$LINENO" 5
 $as_echo "$as_me: error: gtk+-2.0 missing!" >&2;}  
    { (exit 1); exit 1; }; }  
5036  else  else
5037          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
5038          gtk_LIBS=$pkg_cv_gtk_LIBS          gtk_LIBS=$pkg_cv_gtk_LIBS
5039          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5040  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
5041          :          :
5042  fi  fi
# Line 4556  fi Line 5046  fi
5046    # non-maemo device use gnome to call the web browser    # non-maemo device use gnome to call the web browser
5047    
5048  pkg_failed=no  pkg_failed=no
5049  { $as_echo "$as_me:$LINENO: checking for gnome2" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnome2" >&5
5050  $as_echo_n "checking for gnome2... " >&6; }  $as_echo_n "checking for gnome2... " >&6; }
5051    
5052  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 4564  if test -n "$PKG_CONFIG"; then Line 5054  if test -n "$PKG_CONFIG"; then
5054          pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"          pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"
5055      else      else
5056          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5057      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\""; } >&5
5058    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5059    ac_status=$?    ac_status=$?
5060    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5061    (exit $ac_status); }; then    test $ac_status = 0; }; then
5062    pkg_cv_gnome2_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0" 2>/dev/null`    pkg_cv_gnome2_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0" 2>/dev/null`
5063  else  else
5064    pkg_failed=yes    pkg_failed=yes
# Line 4582  if test -n "$PKG_CONFIG"; then Line 5072  if test -n "$PKG_CONFIG"; then
5072          pkg_cv_gnome2_LIBS="$gnome2_LIBS"          pkg_cv_gnome2_LIBS="$gnome2_LIBS"
5073      else      else
5074          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5075      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\""; } >&5
5076    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5077    ac_status=$?    ac_status=$?
5078    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5079    (exit $ac_status); }; then    test $ac_status = 0; }; then
5080    pkg_cv_gnome2_LIBS=`$PKG_CONFIG --libs "libgnome-2.0" 2>/dev/null`    pkg_cv_gnome2_LIBS=`$PKG_CONFIG --libs "libgnome-2.0" 2>/dev/null`
5081  else  else
5082    pkg_failed=yes    pkg_failed=yes
# Line 4613  fi Line 5103  fi
5103          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5104          echo "$gnome2_PKG_ERRORS" >&5          echo "$gnome2_PKG_ERRORS" >&5
5105    
5106          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107  $as_echo "no" >&6; }  $as_echo "no" >&6; }
5108                  { { $as_echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5                  as_fn_error "libgnome-2.0 missing" "$LINENO" 5
 $as_echo "$as_me: error: libgnome-2.0 missing" >&2;}  
    { (exit 1); exit 1; }; }  
5109  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5110          { { $as_echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5          as_fn_error "libgnome-2.0 missing" "$LINENO" 5
 $as_echo "$as_me: error: libgnome-2.0 missing" >&2;}  
    { (exit 1); exit 1; }; }  
5111  else  else
5112          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS
5113          gnome2_LIBS=$pkg_cv_gnome2_LIBS          gnome2_LIBS=$pkg_cv_gnome2_LIBS
5114          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5115  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
5116          :          :
5117  fi  fi
5118    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"
5119    LIBS="$LIBS $gnome2_LIBS"    LIBS="$LIBS $gnome2_LIBS"
5120    
5121      # check for libespeak
5122      for ac_header in espeak/speak_lib.h
5123    do :
5124      ac_fn_c_check_header_mongrel "$LINENO" "espeak/speak_lib.h" "ac_cv_header_espeak_speak_lib_h" "$ac_includes_default"
5125    if test "x$ac_cv_header_espeak_speak_lib_h" = x""yes; then :
5126      cat >>confdefs.h <<_ACEOF
5127    #define HAVE_ESPEAK_SPEAK_LIB_H 1
5128    _ACEOF
5129    
5130        CFLAGS="$CFLAGS -DESPEAK"
5131        LIBS="$LIBS -lespeak"
5132    
5133    fi
5134    
5135    done
5136    
5137    
5138    INSTALL_PLATTFORM="install-debian"    INSTALL_PLATTFORM="install-debian"
5139    
5140    ICON=" No icon"    ICON=" No icon"
# Line 4671  _ACEOF Line 5174  _ACEOF
5174      case $ac_val in #(      case $ac_val in #(
5175      *${as_nl}*)      *${as_nl}*)
5176        case $ac_var in #(        case $ac_var in #(
5177        *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5        *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5178  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5179        esac        esac
5180        case $ac_var in #(        case $ac_var in #(
5181        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
5182        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5183        *) $as_unset $ac_var ;;        *) { eval $ac_var=; unset $ac_var;} ;;
5184        esac ;;        esac ;;
5185      esac      esac
5186    done    done
# Line 4685  $as_echo "$as_me: WARNING: cache variabl Line 5188  $as_echo "$as_me: WARNING: cache variabl
5188    (set) 2>&1 |    (set) 2>&1 |
5189      case $as_nl`(ac_space=' '; set) 2>&1` in #(      case $as_nl`(ac_space=' '; set) 2>&1` in #(
5190      *${as_nl}ac_space=\ *)      *${as_nl}ac_space=\ *)
5191        # `set' does not quote correctly, so add quotes (double-quote        # `set' does not quote correctly, so add quotes: double-quote
5192        # substitution turns \\\\ into \\, and sed turns \\ into \).        # substitution turns \\\\ into \\, and sed turns \\ into \.
5193        sed -n \        sed -n \
5194          "s/'/'\\\\''/g;          "s/'/'\\\\''/g;
5195            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
# Line 4709  $as_echo "$as_me: WARNING: cache variabl Line 5212  $as_echo "$as_me: WARNING: cache variabl
5212  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5213    if test -w "$cache_file"; then    if test -w "$cache_file"; then
5214      test "x$cache_file" != "x/dev/null" &&      test "x$cache_file" != "x/dev/null" &&
5215        { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5216  $as_echo "$as_me: updating cache $cache_file" >&6;}  $as_echo "$as_me: updating cache $cache_file" >&6;}
5217      cat confcache >$cache_file      cat confcache >$cache_file
5218    else    else
5219      { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5220  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5221    fi    fi
5222  fi  fi
# Line 4769  for ac_i in : $LIBOBJS; do test "x$ac_i" Line 5272  for ac_i in : $LIBOBJS; do test "x$ac_i"
5272    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5273    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5274    #    will be set to the directory where LIBOBJS objects are built.    #    will be set to the directory where LIBOBJS objects are built.
5275    ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"    as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5276    ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'    as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5277  done  done
5278  LIBOBJS=$ac_libobjs  LIBOBJS=$ac_libobjs
5279    
# Line 4782  LTLIBOBJS=$ac_ltlibobjs Line 5285  LTLIBOBJS=$ac_ltlibobjs
5285  ac_write_fail=0  ac_write_fail=0
5286  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
5287  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5288  { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5289  $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}  $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5290  cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  as_write_fail=0
5291    cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5292  #! $SHELL  #! $SHELL
5293  # Generated by $as_me.  # Generated by $as_me.
5294  # Run this file to recreate the current configuration.  # Run this file to recreate the current configuration.
# Line 4794  cat >$CONFIG_STATUS <<_ACEOF || ac_write Line 5298  cat >$CONFIG_STATUS <<_ACEOF || ac_write
5298  debug=false  debug=false
5299  ac_cs_recheck=false  ac_cs_recheck=false
5300  ac_cs_silent=false  ac_cs_silent=false
 SHELL=\${CONFIG_SHELL-$SHELL}  
 _ACEOF  
5301    
5302  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  SHELL=\${CONFIG_SHELL-$SHELL}
5303  ## --------------------- ##  export SHELL
5304  ## M4sh Initialization.  ##  _ASEOF
5305  ## --------------------- ##  cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5306    ## -------------------- ##
5307    ## M4sh Initialization. ##
5308    ## -------------------- ##
5309    
5310  # Be more Bourne compatible  # Be more Bourne compatible
5311  DUALCASE=1; export DUALCASE # for MKS sh  DUALCASE=1; export DUALCASE # for MKS sh
5312  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5313    emulate sh    emulate sh
5314    NULLCMD=:    NULLCMD=:
5315    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# Line 4812  if test -n "${ZSH_VERSION+set}" && (emul Line 5317  if test -n "${ZSH_VERSION+set}" && (emul
5317    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
5318    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
5319  else  else
5320    case `(set -o) 2>/dev/null` in    case `(set -o) 2>/dev/null` in #(
5321    *posix*) set -o posix ;;    *posix*) :
5322        set -o posix ;; #(
5323      *) :
5324         ;;
5325  esac  esac
   
5326  fi  fi
5327    
5328    
   
   
 # PATH needs CR  
 # Avoid depending upon Character Ranges.  
 as_cr_letters='abcdefghijklmnopqrstuvwxyz'  
 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'  
 as_cr_Letters=$as_cr_letters$as_cr_LETTERS  
 as_cr_digits='0123456789'  
 as_cr_alnum=$as_cr_Letters$as_cr_digits  
   
5329  as_nl='  as_nl='
5330  '  '
5331  export as_nl  export as_nl
# Line 4836  export as_nl Line 5333  export as_nl
5333  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5334  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5335  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5336  if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then  # Prefer a ksh shell builtin over an external printf program on Solaris,
5337    # but without wasting forks for bash or zsh.
5338    if test -z "$BASH_VERSION$ZSH_VERSION" \
5339        && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5340      as_echo='print -r --'
5341      as_echo_n='print -rn --'
5342    elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5343    as_echo='printf %s\n'    as_echo='printf %s\n'
5344    as_echo_n='printf %s'    as_echo_n='printf %s'
5345  else  else
# Line 4847  else Line 5350  else
5350      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5351      as_echo_n_body='eval      as_echo_n_body='eval
5352        arg=$1;        arg=$1;
5353        case $arg in        case $arg in #(
5354        *"$as_nl"*)        *"$as_nl"*)
5355          expr "X$arg" : "X\\(.*\\)$as_nl";          expr "X$arg" : "X\\(.*\\)$as_nl";
5356          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
# Line 4870  if test "${PATH_SEPARATOR+set}" != set; Line 5373  if test "${PATH_SEPARATOR+set}" != set;
5373    }    }
5374  fi  fi
5375    
 # Support unset when possible.  
 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then  
   as_unset=unset  
 else  
   as_unset=false  
 fi  
   
5376    
5377  # IFS  # IFS
5378  # We need space, tab and new line, in precisely that order.  Quoting is  # We need space, tab and new line, in precisely that order.  Quoting is
# Line 4886  fi Line 5382  fi
5382  IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
5383    
5384  # Find who we are.  Look in the path if we contain no directory separator.  # Find who we are.  Look in the path if we contain no directory separator.
5385  case $0 in  case $0 in #((
5386    *[\\/]* ) as_myself=$0 ;;    *[\\/]* ) as_myself=$0 ;;
5387    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388  for as_dir in $PATH  for as_dir in $PATH
5389  do  do
5390    IFS=$as_save_IFS    IFS=$as_save_IFS
5391    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
5392    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5393  done    done
5394  IFS=$as_save_IFS  IFS=$as_save_IFS
5395    
5396       ;;       ;;
# Line 4906  if test "x$as_myself" = x; then Line 5402  if test "x$as_myself" = x; then
5402  fi  fi
5403  if test ! -f "$as_myself"; then  if test ! -f "$as_myself"; then
5404    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5405    { (exit 1); exit 1; }    exit 1
5406  fi  fi
5407    
5408  # Work around bugs in pre-3.0 UWIN ksh.  # Unset variables that we do not need and which cause bugs (e.g. in
5409  for as_var in ENV MAIL MAILPATH  # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5410  do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var  # suppresses any "Segmentation fault" message there.  '((' could
5411    # trigger a bug in pdksh 5.2.14.
5412    for as_var in BASH_ENV ENV MAIL MAILPATH
5413    do eval test x\${$as_var+set} = xset \
5414      && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5415  done  done
5416  PS1='$ '  PS1='$ '
5417  PS2='> '  PS2='> '
# Line 4923  export LC_ALL Line 5423  export LC_ALL
5423  LANGUAGE=C  LANGUAGE=C
5424  export LANGUAGE  export LANGUAGE
5425    
5426  # Required to use basename.  # CDPATH.
5427    (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5428    
5429    
5430    # as_fn_error ERROR [LINENO LOG_FD]
5431    # ---------------------------------
5432    # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5433    # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5434    # script with status $?, using 1 if that was 0.
5435    as_fn_error ()
5436    {
5437      as_status=$?; test $as_status -eq 0 && as_status=1
5438      if test "$3"; then
5439        as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5440        $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5441      fi
5442      $as_echo "$as_me: error: $1" >&2
5443      as_fn_exit $as_status
5444    } # as_fn_error
5445    
5446    
5447    # as_fn_set_status STATUS
5448    # -----------------------
5449    # Set $? to STATUS, without forking.
5450    as_fn_set_status ()
5451    {
5452      return $1
5453    } # as_fn_set_status
5454    
5455    # as_fn_exit STATUS
5456    # -----------------
5457    # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5458    as_fn_exit ()
5459    {
5460      set +e
5461      as_fn_set_status $1
5462      exit $1
5463    } # as_fn_exit
5464    
5465    # as_fn_unset VAR
5466    # ---------------
5467    # Portably unset VAR.
5468    as_fn_unset ()
5469    {
5470      { eval $1=; unset $1;}
5471    }
5472    as_unset=as_fn_unset
5473    # as_fn_append VAR VALUE
5474    # ----------------------
5475    # Append the text in VALUE to the end of the definition contained in VAR. Take
5476    # advantage of any shell optimizations that allow amortized linear growth over
5477    # repeated appends, instead of the typical quadratic growth present in naive
5478    # implementations.
5479    if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5480      eval 'as_fn_append ()
5481      {
5482        eval $1+=\$2
5483      }'
5484    else
5485      as_fn_append ()
5486      {
5487        eval $1=\$$1\$2
5488      }
5489    fi # as_fn_append
5490    
5491    # as_fn_arith ARG...
5492    # ------------------
5493    # Perform arithmetic evaluation on the ARGs, and store the result in the
5494    # global $as_val. Take advantage of shells that can avoid forks. The arguments
5495    # must be portable across $(()) and expr.
5496    if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5497      eval 'as_fn_arith ()
5498      {
5499        as_val=$(( $* ))
5500      }'
5501    else
5502      as_fn_arith ()
5503      {
5504        as_val=`expr "$@" || test $? -eq 1`
5505      }
5506    fi # as_fn_arith
5507    
5508    
5509  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
5510     test "X`expr 00001 : '.*\(...\)'`" = X001; then     test "X`expr 00001 : '.*\(...\)'`" = X001; then
5511    as_expr=expr    as_expr=expr
# Line 4937  else Line 5519  else
5519    as_basename=false    as_basename=false
5520  fi  fi
5521    
5522    if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5523      as_dirname=dirname
5524    else
5525      as_dirname=false
5526    fi
5527    
 # Name of the executable.  
5528  as_me=`$as_basename -- "$0" ||  as_me=`$as_basename -- "$0" ||
5529  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5530           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
# Line 4958  $as_echo X/"$0" | Line 5544  $as_echo X/"$0" |
5544            }            }
5545            s/.*/./; q'`            s/.*/./; q'`
5546    
5547  # CDPATH.  # Avoid depending upon Character Ranges.
5548  $as_unset CDPATH  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5549    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5550    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5551    as_cr_digits='0123456789'
5552    as_lineno_1=$LINENO  as_cr_alnum=$as_cr_Letters$as_cr_digits
   as_lineno_2=$LINENO  
   test "x$as_lineno_1" != "x$as_lineno_2" &&  
   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {  
   
   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO  
   # uniformly replaced by the line number.  The first 'sed' inserts a  
   # line-number line after each line using $LINENO; the second 'sed'  
   # does the real work.  The second script uses 'N' to pair each  
   # line-number line with the line containing $LINENO, and appends  
   # trailing '-' during substitution so that $LINENO is not a special  
   # case at line end.  
   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the  
   # scripts with optimization help from Paolo Bonzini.  Blame Lee  
   # E. McMahon (1931-1989) for sed's syntax.  :-)  
   sed -n '  
     p  
     /[$]LINENO/=  
   ' <$as_myself |  
     sed '  
       s/[$]LINENO.*/&-/  
       t lineno  
       b  
       :lineno  
       N  
       :loop  
       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/  
       t loop  
       s/-\n.*//  
     ' >$as_me.lineno &&  
   chmod +x "$as_me.lineno" ||  
     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2  
    { (exit 1); exit 1; }; }  
   
   # Don't try to exec as it changes $[0], causing all sort of problems  
   # (the dirname of $[0] is not the place where we might find the  
   # original and so on.  Autoconf is especially sensitive to this).  
   . "./$as_me.lineno"  
   # Exit status is that of the last command.  
   exit  
 }  
   
   
 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then  
   as_dirname=dirname  
 else  
   as_dirname=false  
 fi  
5553    
5554  ECHO_C= ECHO_N= ECHO_T=  ECHO_C= ECHO_N= ECHO_T=
5555  case `echo -n x` in  case `echo -n x` in #(((((
5556  -n*)  -n*)
5557    case `echo 'x\c'` in    case `echo 'xy\c'` in
5558    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5559    *)   ECHO_C='\c';;    xy)  ECHO_C='\c';;
5560      *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5561           ECHO_T=' ';;
5562    esac;;    esac;;
5563  *)  *)
5564    ECHO_N='-n';;    ECHO_N='-n';;
5565  esac  esac
 if expr a : '\(a\)' >/dev/null 2>&1 &&  
    test "X`expr 00001 : '.*\(...\)'`" = X001; then  
   as_expr=expr  
 else  
   as_expr=false  
 fi  
5566    
5567  rm -f conf$$ conf$$.exe conf$$.file  rm -f conf$$ conf$$.exe conf$$.file
5568  if test -d conf$$.dir; then  if test -d conf$$.dir; then
# Line 5056  fi Line 5591  fi
5591  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5592  rmdir conf$$.dir 2>/dev/null  rmdir conf$$.dir 2>/dev/null
5593    
5594    
5595    # as_fn_mkdir_p
5596    # -------------
5597    # Create "$as_dir" as a directory, including parents if necessary.
5598    as_fn_mkdir_p ()
5599    {
5600    
5601      case $as_dir in #(
5602      -*) as_dir=./$as_dir;;
5603      esac
5604      test -d "$as_dir" || eval $as_mkdir_p || {
5605        as_dirs=
5606        while :; do
5607          case $as_dir in #(
5608          *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5609          *) as_qdir=$as_dir;;
5610          esac
5611          as_dirs="'$as_qdir' $as_dirs"
5612          as_dir=`$as_dirname -- "$as_dir" ||
5613    $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5614             X"$as_dir" : 'X\(//\)[^/]' \| \
5615             X"$as_dir" : 'X\(//\)$' \| \
5616             X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5617    $as_echo X"$as_dir" |
5618        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5619                s//\1/
5620                q
5621              }
5622              /^X\(\/\/\)[^/].*/{
5623                s//\1/
5624                q
5625              }
5626              /^X\(\/\/\)$/{
5627                s//\1/
5628                q
5629              }
5630              /^X\(\/\).*/{
5631                s//\1/
5632                q
5633              }
5634              s/.*/./; q'`
5635          test -d "$as_dir" && break
5636        done
5637        test -z "$as_dirs" || eval "mkdir $as_dirs"
5638      } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5639    
5640    
5641    } # as_fn_mkdir_p
5642  if mkdir -p . 2>/dev/null; then  if mkdir -p . 2>/dev/null; then
5643    as_mkdir_p=:    as_mkdir_p='mkdir -p "$as_dir"'
5644  else  else
5645    test -d ./-p && rmdir ./-p    test -d ./-p && rmdir ./-p
5646    as_mkdir_p=false    as_mkdir_p=false
# Line 5076  else Line 5659  else
5659        if test -d "$1"; then        if test -d "$1"; then
5660          test -d "$1/.";          test -d "$1/.";
5661        else        else
5662          case $1 in          case $1 in #(
5663          -*)set "./$1";;          -*)set "./$1";;
5664          esac;          esac;
5665          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5666          ???[sx]*):;;*)false;;esac;fi          ???[sx]*):;;*)false;;esac;fi
5667      '\'' sh      '\'' sh
5668    '    '
# Line 5094  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr Line 5677  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
5677    
5678    
5679  exec 6>&1  exec 6>&1
5680    ## ----------------------------------- ##
5681    ## Main body of $CONFIG_STATUS script. ##
5682    ## ----------------------------------- ##
5683    _ASEOF
5684    test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5685    
5686  # Save the log message, to keep $[0] and so on meaningful, and to  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5687    # Save the log message, to keep $0 and so on meaningful, and to
5688  # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
5689  # values after options handling.  # values after options handling.
5690  ac_log="  ac_log="
5691  This file was extended by GPXView $as_me 0.8.10, which was  This file was extended by GPXView $as_me 0.9.4, which was
5692  generated by GNU Autoconf 2.63.  Invocation command line was  generated by GNU Autoconf 2.65.  Invocation command line was
5693    
5694    CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
5695    CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 5127  _ACEOF Line 5716  _ACEOF
5716    
5717  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5718  ac_cs_usage="\  ac_cs_usage="\
5719  \`$as_me' instantiates files from templates according to the  \`$as_me' instantiates files and other configuration actions
5720  current configuration.  from templates according to the current configuration.  Unless the files
5721    and actions are specified as TAGs, all are instantiated by default.
5722    
5723  Usage: $0 [OPTION]... [FILE]...  Usage: $0 [OPTION]... [TAG]...
5724    
5725    -h, --help       print this help, then exit    -h, --help       print this help, then exit
5726    -V, --version    print version number and configuration settings, then exit    -V, --version    print version number and configuration settings, then exit
5727          --config     print configuration, then exit
5728    -q, --quiet, --silent    -q, --quiet, --silent
5729                     do not print progress messages                     do not print progress messages
5730    -d, --debug      don't remove temporary files    -d, --debug      don't remove temporary files
# Line 5144  Usage: $0 [OPTION]... [FILE]... Line 5735  Usage: $0 [OPTION]... [FILE]...
5735  Configuration files:  Configuration files:
5736  $config_files  $config_files
5737    
5738  Report bugs to <bug-autoconf@gnu.org>."  Report bugs to <till@harbaum.org>."
5739    
5740  _ACEOF  _ACEOF
5741  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5742    ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5743  ac_cs_version="\\  ac_cs_version="\\
5744  GPXView config.status 0.8.10  GPXView config.status 0.9.4
5745  configured by $0, generated by GNU Autoconf 2.63,  configured by $0, generated by GNU Autoconf 2.65,
5746    with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"    with options \\"\$ac_cs_config\\"
5747    
5748  Copyright (C) 2008 Free Software Foundation, Inc.  Copyright (C) 2009 Free Software Foundation, Inc.
5749  This config.status script is free software; the Free Software Foundation  This config.status script is free software; the Free Software Foundation
5750  gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
5751    
# Line 5187  do Line 5779  do
5779      ac_cs_recheck=: ;;      ac_cs_recheck=: ;;
5780    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5781      $as_echo "$ac_cs_version"; exit ;;      $as_echo "$ac_cs_version"; exit ;;
5782      --config | --confi | --conf | --con | --co | --c )
5783        $as_echo "$ac_cs_config"; exit ;;
5784    --debug | --debu | --deb | --de | --d | -d )    --debug | --debu | --deb | --de | --d | -d )
5785      debug=: ;;      debug=: ;;
5786    --file | --fil | --fi | --f )    --file | --fil | --fi | --f )
# Line 5194  do Line 5788  do
5788      case $ac_optarg in      case $ac_optarg in
5789      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5790      esac      esac
5791      CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"      as_fn_append CONFIG_FILES " '$ac_optarg'"
5792      ac_need_defaults=false;;      ac_need_defaults=false;;
5793    --he | --h |  --help | --hel | -h )    --he | --h |  --help | --hel | -h )
5794      $as_echo "$ac_cs_usage"; exit ;;      $as_echo "$ac_cs_usage"; exit ;;
# Line 5203  do Line 5797  do
5797      ac_cs_silent=: ;;      ac_cs_silent=: ;;
5798    
5799    # This is an error.    # This is an error.
5800    -*) { $as_echo "$as_me: error: unrecognized option: $1    -*) as_fn_error "unrecognized option: \`$1'
5801  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information." ;;
    { (exit 1); exit 1; }; } ;;  
5802    
5803    *) ac_config_targets="$ac_config_targets $1"    *) as_fn_append ac_config_targets " $1"
5804       ac_need_defaults=false ;;       ac_need_defaults=false ;;
5805    
5806    esac    esac
# Line 5258  do Line 5851  do
5851      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
5852      "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;      "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;
5853    
5854    *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5    *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  
    { (exit 1); exit 1; }; };;  
5855    esac    esac
5856  done  done
5857    
# Line 5285  $debug || Line 5876  $debug ||
5876    trap 'exit_status=$?    trap 'exit_status=$?
5877    { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status    { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5878  ' 0  ' 0
5879    trap '{ (exit 1); exit 1; }' 1 2 13 15    trap 'as_fn_exit 1' 1 2 13 15
5880  }  }
5881  # Create a (secure) tmp directory for tmp files.  # Create a (secure) tmp directory for tmp files.
5882    
# Line 5296  $debug || Line 5887  $debug ||
5887  {  {
5888    tmp=./conf$$-$RANDOM    tmp=./conf$$-$RANDOM
5889    (umask 077 && mkdir "$tmp")    (umask 077 && mkdir "$tmp")
5890  } ||  } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 {  
    $as_echo "$as_me: cannot create a temporary directory in ." >&2  
    { (exit 1); exit 1; }  
 }  
5891    
5892  # Set up the scripts for CONFIG_FILES section.  # Set up the scripts for CONFIG_FILES section.
5893  # No need to generate them if there are no CONFIG_FILES.  # No need to generate them if there are no CONFIG_FILES.
# Line 5308  $debug || Line 5895  $debug ||
5895  if test -n "$CONFIG_FILES"; then  if test -n "$CONFIG_FILES"; then
5896    
5897    
5898  ac_cr=' '  ac_cr=`echo X | tr X '\015'`
5899    # On cygwin, bash can eat \r inside `` if the user requested igncr.
5900    # But we know of no other shell where ac_cr would be empty at this
5901    # point, so we can use a bashism as a fallback.
5902    if test "x$ac_cr" = x; then
5903      eval ac_cr=\$\'\\r\'
5904    fi
5905  ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`  ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5906  if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then  if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5907    ac_cs_awk_cr='\\r'    ac_cs_awk_cr='\r'
5908  else  else
5909    ac_cs_awk_cr=$ac_cr    ac_cs_awk_cr=$ac_cr
5910  fi  fi
# Line 5325  _ACEOF Line 5918  _ACEOF
5918    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5919    echo "_ACEOF"    echo "_ACEOF"
5920  } >conf$$subs.sh ||  } >conf$$subs.sh ||
5921    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}  
    { (exit 1); exit 1; }; }  
5922  ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`  ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5923  ac_delim='%!_!# '  ac_delim='%!_!# '
5924  for ac_last_try in false false false false false :; do  for ac_last_try in false false false false false :; do
5925    . ./conf$$subs.sh ||    . ./conf$$subs.sh ||
5926      { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5      as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}  
    { (exit 1); exit 1; }; }  
5927    
5928    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5929    if test $ac_delim_n = $ac_delim_num; then    if test $ac_delim_n = $ac_delim_num; then
5930      break      break
5931    elif $ac_last_try; then    elif $ac_last_try; then
5932      { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5      as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}  
    { (exit 1); exit 1; }; }  
5933    else    else
5934      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5935    fi    fi
# Line 5364  s/'"$ac_delim"'$// Line 5951  s/'"$ac_delim"'$//
5951  t delim  t delim
5952  :nl  :nl
5953  h  h
5954  s/\(.\{148\}\).*/\1/  s/\(.\{148\}\)..*/\1/
5955  t more1  t more1
5956  s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/  s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5957  p  p
# Line 5378  s/.\{148\}// Line 5965  s/.\{148\}//
5965  t nl  t nl
5966  :delim  :delim
5967  h  h
5968  s/\(.\{148\}\).*/\1/  s/\(.\{148\}\)..*/\1/
5969  t more2  t more2
5970  s/["\\]/\\&/g; s/^/"/; s/$/"/  s/["\\]/\\&/g; s/^/"/; s/$/"/
5971  p  p
# Line 5431  if sed "s/$ac_cr//" < /dev/null > /dev/n Line 6018  if sed "s/$ac_cr//" < /dev/null > /dev/n
6018  else  else
6019    cat    cat
6020  fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \  fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6021    || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5    || as_fn_error "could not setup config files machinery" "$LINENO" 5
 $as_echo "$as_me: error: could not setup config files machinery" >&2;}  
    { (exit 1); exit 1; }; }  
6022  _ACEOF  _ACEOF
6023    
6024  # VPATH may cause trouble with some makes, so we remove $(srcdir),  # VPATH may cause trouble with some makes, so we remove $(srcdir),
# Line 5464  do Line 6049  do
6049    esac    esac
6050    case $ac_mode$ac_tag in    case $ac_mode$ac_tag in
6051    :[FHL]*:*);;    :[FHL]*:*);;
6052    :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5    :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}  
    { (exit 1); exit 1; }; };;  
6053    :[FH]-) ac_tag=-:-;;    :[FH]-) ac_tag=-:-;;
6054    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6055    esac    esac
# Line 5494  $as_echo "$as_me: error: invalid tag $ac Line 6077  $as_echo "$as_me: error: invalid tag $ac
6077             [\\/$]*) false;;             [\\/$]*) false;;
6078             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6079             esac ||             esac ||
6080             { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5             as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}  
    { (exit 1); exit 1; }; };;  
6081        esac        esac
6082        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6083        ac_file_inputs="$ac_file_inputs '$ac_f'"        as_fn_append ac_file_inputs " '$ac_f'"
6084      done      done
6085    
6086      # Let's still pretend it is `configure' which instantiates (i.e., don't      # Let's still pretend it is `configure' which instantiates (i.e., don't
# Line 5510  $as_echo "$as_me: error: cannot find inp Line 6091  $as_echo "$as_me: error: cannot find inp
6091          `' by configure.'          `' by configure.'
6092      if test x"$ac_file" != x-; then      if test x"$ac_file" != x-; then
6093        configure_input="$ac_file.  $configure_input"        configure_input="$ac_file.  $configure_input"
6094        { $as_echo "$as_me:$LINENO: creating $ac_file" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6095  $as_echo "$as_me: creating $ac_file" >&6;}  $as_echo "$as_me: creating $ac_file" >&6;}
6096      fi      fi
6097      # Neutralize special characters interpreted by sed in replacement strings.      # Neutralize special characters interpreted by sed in replacement strings.
# Line 5523  $as_echo "$as_me: creating $ac_file" >&6 Line 6104  $as_echo "$as_me: creating $ac_file" >&6
6104    
6105      case $ac_tag in      case $ac_tag in
6106      *:-:* | *:-) cat >"$tmp/stdin" \      *:-:* | *:-) cat >"$tmp/stdin" \
6107        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5        || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 $as_echo "$as_me: error: could not create $ac_file" >&2;}  
    { (exit 1); exit 1; }; } ;;  
6108      esac      esac
6109      ;;      ;;
6110    esac    esac
# Line 5553  $as_echo X"$ac_file" | Line 6132  $as_echo X"$ac_file" |
6132              q              q
6133            }            }
6134            s/.*/./; q'`            s/.*/./; q'`
6135    { as_dir="$ac_dir"    as_dir="$ac_dir"; as_fn_mkdir_p
   case $as_dir in #(  
   -*) as_dir=./$as_dir;;  
   esac  
   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {  
     as_dirs=  
     while :; do  
       case $as_dir in #(  
       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(  
       *) as_qdir=$as_dir;;  
       esac  
       as_dirs="'$as_qdir' $as_dirs"  
       as_dir=`$as_dirname -- "$as_dir" ||  
 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  
          X"$as_dir" : 'X\(//\)[^/]' \| \  
          X"$as_dir" : 'X\(//\)$' \| \  
          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||  
 $as_echo X"$as_dir" |  
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{  
             s//\1/  
             q  
           }  
           /^X\(\/\/\)[^/].*/{  
             s//\1/  
             q  
           }  
           /^X\(\/\/\)$/{  
             s//\1/  
             q  
           }  
           /^X\(\/\).*/{  
             s//\1/  
             q  
           }  
           s/.*/./; q'`  
       test -d "$as_dir" && break  
     done  
     test -z "$as_dirs" || eval "mkdir $as_dirs"  
   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5  
 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}  
    { (exit 1); exit 1; }; }; }  
6136    ac_builddir=.    ac_builddir=.
6137    
6138  case "$ac_dir" in  case "$ac_dir" in
# Line 5645  cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri Line 6184  cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
6184  # If the template does not know about datarootdir, expand it.  # If the template does not know about datarootdir, expand it.
6185  # FIXME: This hack should be removed a few years after 2.60.  # FIXME: This hack should be removed a few years after 2.60.
6186  ac_datarootdir_hack=; ac_datarootdir_seen=  ac_datarootdir_hack=; ac_datarootdir_seen=
   
6187  ac_sed_dataroot='  ac_sed_dataroot='
6188  /datarootdir/ {  /datarootdir/ {
6189    p    p
# Line 5655  ac_sed_dataroot=' Line 6193  ac_sed_dataroot='
6193  /@docdir@/p  /@docdir@/p
6194  /@infodir@/p  /@infodir@/p
6195  /@localedir@/p  /@localedir@/p
6196  /@mandir@/p  /@mandir@/p'
 '  
6197  case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in  case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6198  *datarootdir*) ac_datarootdir_seen=yes;;  *datarootdir*) ac_datarootdir_seen=yes;;
6199  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6200    { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6201  $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}  $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6202  _ACEOF  _ACEOF
6203  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# Line 5670  cat >>$CONFIG_STATUS <<_ACEOF || ac_writ Line 6207  cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
6207    s&@infodir@&$infodir&g    s&@infodir@&$infodir&g
6208    s&@localedir@&$localedir&g    s&@localedir@&$localedir&g
6209    s&@mandir@&$mandir&g    s&@mandir@&$mandir&g
6210      s&\\\${datarootdir}&$datarootdir&g' ;;    s&\\\${datarootdir}&$datarootdir&g' ;;
6211  esac  esac
6212  _ACEOF  _ACEOF
6213    
# Line 5698  s&@INSTALL@&$ac_INSTALL&;t t Line 6235  s&@INSTALL@&$ac_INSTALL&;t t
6235  $ac_datarootdir_hack  $ac_datarootdir_hack
6236  "  "
6237  eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \  eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6238    || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5    || as_fn_error "could not create $ac_file" "$LINENO" 5
 $as_echo "$as_me: error: could not create $ac_file" >&2;}  
    { (exit 1); exit 1; }; }  
6239    
6240  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6241    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6242    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6243    { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6244  which seems to be undefined.  Please make sure it is defined." >&5  which seems to be undefined.  Please make sure it is defined." >&5
6245  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6246  which seems to be undefined.  Please make sure it is defined." >&2;}  which seems to be undefined.  Please make sure it is defined." >&2;}
# Line 5715  which seems to be undefined.  Please mak Line 6250  which seems to be undefined.  Please mak
6250    -) cat "$tmp/out" && rm -f "$tmp/out";;    -) cat "$tmp/out" && rm -f "$tmp/out";;
6251    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6252    esac \    esac \
6253    || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5    || as_fn_error "could not create $ac_file" "$LINENO" 5
 $as_echo "$as_me: error: could not create $ac_file" >&2;}  
    { (exit 1); exit 1; }; }  
6254   ;;   ;;
6255    
6256    
# Line 5727  $as_echo "$as_me: error: could not creat Line 6260  $as_echo "$as_me: error: could not creat
6260  done # for ac_tag  done # for ac_tag
6261    
6262    
6263  { (exit 0); exit 0; }  as_fn_exit 0
6264  _ACEOF  _ACEOF
 chmod +x $CONFIG_STATUS  
6265  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
6266    
6267  test $ac_write_fail = 0 ||  test $ac_write_fail = 0 ||
6268    { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5    as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}  
    { (exit 1); exit 1; }; }  
6269    
6270    
6271  # configure is writing to config.log, and then calls config.status.  # configure is writing to config.log, and then calls config.status.
# Line 5756  if test "$no_create" != yes; then Line 6286  if test "$no_create" != yes; then
6286    exec 5>>config.log    exec 5>>config.log
6287    # Use ||, not &&, to avoid exiting from the if with $? = 1, which    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6288    # would make configure fail if this is the last instruction.    # would make configure fail if this is the last instruction.
6289    $ac_cs_success || { (exit 1); exit 1; }    $ac_cs_success || as_fn_exit $?
6290  fi  fi
6291  if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then  if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6292    { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6293  $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}  $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6294  fi  fi
6295    

Legend:
Removed from v.120  
changed lines
  Added in v.280