Diff of /trunk/configure

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

revision 126 by harbaum, Mon Sep 28 19:01:03 2009 UTC revision 297 by harbaum, Wed Aug 25 12:24:38 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.5.
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.  
224  fi  fi
225    
226  if as_func_ret_failure; then      if test x$as_have_required = xno; then :
227    exitcode=1    $as_echo "$0: This script requires a shell more modern than all"
228    echo as_func_ret_failure succeeded.    $as_echo "$0: the shells that I found on your system."
229      if test x${ZSH_VERSION+set} = xset ; then
230        $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
   
 if ( set x; as_func_ret_success y && test x = "$1" ); then  
   :  
 else  
   exitcode=1  
   echo positional parameters were not saved.  
241  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  
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  fi  ## --------------------- ##
250    ## M4sh Shell Functions. ##
251        done  ## --------------------- ##
252    # as_fn_unset VAR
253        if test "x$CONFIG_SHELL" != x; then  # ---------------
254    for as_var in BASH_ENV ENV  # Portably unset VAR.
255          do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var  as_fn_unset ()
256          done  {
257          export CONFIG_SHELL    { eval $1=; unset $1;}
258          exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}  }
259  fi  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.5'
556  PACKAGE_STRING='GPXView 0.8.10'  PACKAGE_STRING='GPXView 0.9.5'
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
600  ICON  ICON
601  EXTRA_OBJS  EXTRA_OBJS
602    gps_LIBS
603    gps_CFLAGS
604  gnome2_LIBS  gnome2_LIBS
605  gnome2_CFLAGS  gnome2_CFLAGS
606  gtk_LIBS  gtk_LIBS
607  gtk_CFLAGS  gtk_CFLAGS
608    EGREP
609    GREP
610    CPP
611    MAEMO_VERSION_MAJOR
612  liblocation_LIBS  liblocation_LIBS
613  liblocation_CFLAGS  liblocation_CFLAGS
614  gpsbt_LIBS  gpsbt_LIBS
# Line 632  libsoup22_LIBS Line 631  libsoup22_LIBS
631  libsoup22_CFLAGS  libsoup22_CFLAGS
632  libsoup24_LIBS  libsoup24_LIBS
633  libsoup24_CFLAGS  libsoup24_CFLAGS
634    libcurl_LIBS
635    libcurl_CFLAGS
636  libxml2_LIBS  libxml2_LIBS
637  libxml2_CFLAGS  libxml2_CFLAGS
638  gnome_vfs_module_LIBS  gnome_vfs_module_LIBS
# Line 680  bindir Line 681  bindir
681  program_transform_name  program_transform_name
682  prefix  prefix
683  exec_prefix  exec_prefix
684    PACKAGE_URL
685  PACKAGE_BUGREPORT  PACKAGE_BUGREPORT
686  PACKAGE_STRING  PACKAGE_STRING
687  PACKAGE_VERSION  PACKAGE_VERSION
# Line 704  gnome_vfs_module_CFLAGS Line 706  gnome_vfs_module_CFLAGS
706  gnome_vfs_module_LIBS  gnome_vfs_module_LIBS
707  libxml2_CFLAGS  libxml2_CFLAGS
708  libxml2_LIBS  libxml2_LIBS
709    libcurl_CFLAGS
710    libcurl_LIBS
711  libsoup24_CFLAGS  libsoup24_CFLAGS
712  libsoup24_LIBS  libsoup24_LIBS
713  libsoup22_CFLAGS  libsoup22_CFLAGS
# Line 726  gpsbt_CFLAGS Line 730  gpsbt_CFLAGS
730  gpsbt_LIBS  gpsbt_LIBS
731  liblocation_CFLAGS  liblocation_CFLAGS
732  liblocation_LIBS  liblocation_LIBS
733    CPP
734  gtk_CFLAGS  gtk_CFLAGS
735  gtk_LIBS  gtk_LIBS
736  gnome2_CFLAGS  gnome2_CFLAGS
737  gnome2_LIBS'  gnome2_LIBS
738    gps_CFLAGS
739    gps_LIBS'
740    
741    
742  # Initialize some variables set by options.  # Initialize some variables set by options.
# Line 838  do Line 845  do
845      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
846      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
847      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
848        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2        as_fn_error "invalid feature name: $ac_useropt"
    { (exit 1); exit 1; }; }  
849      ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
850      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
851      case $ac_user_opts in      case $ac_user_opts in
# Line 865  do Line 871  do
871      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
872      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
873      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
874        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2        as_fn_error "invalid feature name: $ac_useropt"
    { (exit 1); exit 1; }; }  
875      ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
876      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
877      case $ac_user_opts in      case $ac_user_opts in
# Line 1070  do Line 1075  do
1075      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1076      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1077      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2        as_fn_error "invalid package name: $ac_useropt"
    { (exit 1); exit 1; }; }  
1079      ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
1080      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081      case $ac_user_opts in      case $ac_user_opts in
# Line 1087  do Line 1091  do
1091      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1092      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1093      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2        as_fn_error "invalid package name: $ac_useropt"
    { (exit 1); exit 1; }; }  
1095      ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
1096      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097      case $ac_user_opts in      case $ac_user_opts in
# Line 1118  do Line 1121  do
1121    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1122      x_libraries=$ac_optarg ;;      x_libraries=$ac_optarg ;;
1123    
1124    -*) { $as_echo "$as_me: error: unrecognized option: $ac_option    -*) as_fn_error "unrecognized option: \`$ac_option'
1125  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information."
    { (exit 1); exit 1; }; }  
1126      ;;      ;;
1127    
1128    *=*)    *=*)
1129      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1130      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1131      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&      case $ac_envvar in #(
1132        { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2        '' | [0-9]* | *[!_$as_cr_alnum]* )
1133     { (exit 1); exit 1; }; }        as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1134        esac
1135      eval $ac_envvar=\$ac_optarg      eval $ac_envvar=\$ac_optarg
1136      export $ac_envvar ;;      export $ac_envvar ;;
1137    
# Line 1145  done Line 1148  done
1148    
1149  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
1150    ac_option=--`echo $ac_prev | sed 's/_/-/g'`    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1151    { $as_echo "$as_me: error: missing argument to $ac_option" >&2    as_fn_error "missing argument to $ac_option"
    { (exit 1); exit 1; }; }  
1152  fi  fi
1153    
1154  if test -n "$ac_unrecognized_opts"; then  if test -n "$ac_unrecognized_opts"; then
1155    case $enable_option_checking in    case $enable_option_checking in
1156      no) ;;      no) ;;
1157      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; }; } ;;  
1158      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1159    esac    esac
1160  fi  fi
# Line 1176  do Line 1177  do
1177      [\\/$]* | ?:[\\/]* )  continue;;      [\\/$]* | ?:[\\/]* )  continue;;
1178      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1179    esac    esac
1180    { $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; }; }  
1181  done  done
1182    
1183  # 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 1207  test "$silent" = yes && exec 6>/dev/null
1207  ac_pwd=`pwd` && test -n "$ac_pwd" &&  ac_pwd=`pwd` && test -n "$ac_pwd" &&
1208  ac_ls_di=`ls -di .` &&  ac_ls_di=`ls -di .` &&
1209  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1210    { $as_echo "$as_me: error: working directory cannot be determined" >&2    as_fn_error "working directory cannot be determined"
    { (exit 1); exit 1; }; }  
1211  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1212    { $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; }; }  
1213    
1214    
1215  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
# Line 1250  else Line 1248  else
1248  fi  fi
1249  if test ! -r "$srcdir/$ac_unique_file"; then  if test ! -r "$srcdir/$ac_unique_file"; then
1250    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1251    { $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; }; }  
1252  fi  fi
1253  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1254  ac_abs_confdir=`(  ac_abs_confdir=`(
1255          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; }; }  
1256          pwd)`          pwd)`
1257  # When building in place, set srcdir=.  # When building in place, set srcdir=.
1258  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 1278  if test "$ac_init_help" = "long"; then
1278    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
1279    # 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.
1280    cat <<_ACEOF    cat <<_ACEOF
1281  \`configure' configures GPXView 0.8.10 to adapt to many kinds of systems.  \`configure' configures GPXView 0.9.5 to adapt to many kinds of systems.
1282    
1283  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
1284    
# Line 1343  fi Line 1339  fi
1339    
1340  if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
1341    case $ac_init_help in    case $ac_init_help in
1342       short | recursive ) echo "Configuration of GPXView 0.8.10:";;       short | recursive ) echo "Configuration of GPXView 0.9.5:";;
1343     esac     esac
1344    cat <<\_ACEOF    cat <<\_ACEOF
1345    
# Line 1353  Some influential environment variables: Line 1349  Some influential environment variables:
1349    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
1350                nonstandard directory <lib dir>                nonstandard directory <lib dir>
1351    LIBS        libraries to pass to the linker, e.g. -l<library>    LIBS        libraries to pass to the linker, e.g. -l<library>
1352    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
1353                you have headers in a nonstandard directory <include dir>                you have headers in a nonstandard directory <include dir>
1354    PKG_CONFIG  path to pkg-config utility    PKG_CONFIG  path to pkg-config utility
1355    gnome_vfs_module_CFLAGS    gnome_vfs_module_CFLAGS
# Line 1364  Some influential environment variables: Line 1360  Some influential environment variables:
1360                C compiler flags for libxml2, overriding pkg-config                C compiler flags for libxml2, overriding pkg-config
1361    libxml2_LIBS    libxml2_LIBS
1362                linker flags for libxml2, overriding pkg-config                linker flags for libxml2, overriding pkg-config
1363      libcurl_CFLAGS
1364                  C compiler flags for libcurl, overriding pkg-config
1365      libcurl_LIBS
1366                  linker flags for libcurl, overriding pkg-config
1367    libsoup24_CFLAGS    libsoup24_CFLAGS
1368                C compiler flags for libsoup24, overriding pkg-config                C compiler flags for libsoup24, overriding pkg-config
1369    libsoup24_LIBS    libsoup24_LIBS
# Line 1404  Some influential environment variables: Line 1404  Some influential environment variables:
1404                C compiler flags for liblocation, overriding pkg-config                C compiler flags for liblocation, overriding pkg-config
1405    liblocation_LIBS    liblocation_LIBS
1406                linker flags for liblocation, overriding pkg-config                linker flags for liblocation, overriding pkg-config
1407      CPP         C preprocessor
1408    gtk_CFLAGS  C compiler flags for gtk, overriding pkg-config    gtk_CFLAGS  C compiler flags for gtk, overriding pkg-config
1409    gtk_LIBS    linker flags for gtk, overriding pkg-config    gtk_LIBS    linker flags for gtk, overriding pkg-config
1410    gnome2_CFLAGS    gnome2_CFLAGS
1411                C compiler flags for gnome2, overriding pkg-config                C compiler flags for gnome2, overriding pkg-config
1412    gnome2_LIBS linker flags for gnome2, overriding pkg-config    gnome2_LIBS linker flags for gnome2, overriding pkg-config
1413      gps_CFLAGS  C compiler flags for gps, overriding pkg-config
1414      gps_LIBS    linker flags for gps, overriding pkg-config
1415    
1416  Use these variables to override the choices made by `configure' or to help  Use these variables to override the choices made by `configure' or to help
1417  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
# Line 1473  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ Line 1476  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
1476    done    done
1477  fi  fi
1478    
1479  test -n "$ac_init_help" && exit $ac_status  test -n "$ac_init_help" && exit $ac_status
1480  if $ac_init_version; then  if $ac_init_version; then
1481    cat <<\_ACEOF    cat <<\_ACEOF
1482  GPXView configure 0.8.10  GPXView configure 0.9.5
1483  generated by GNU Autoconf 2.63  generated by GNU Autoconf 2.65
1484    
1485    Copyright (C) 2009 Free Software Foundation, Inc.
1486    This configure script is free software; the Free Software Foundation
1487    gives unlimited permission to copy, distribute and modify it.
1488    _ACEOF
1489      exit
1490    fi
1491    
1492    ## ------------------------ ##
1493    ## Autoconf initialization. ##
1494    ## ------------------------ ##
1495    
1496    # ac_fn_c_try_compile LINENO
1497    # --------------------------
1498    # Try to compile conftest.$ac_ext, and return whether this succeeded.
1499    ac_fn_c_try_compile ()
1500    {
1501      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1502      rm -f conftest.$ac_objext
1503      if { { ac_try="$ac_compile"
1504    case "(($ac_try" in
1505      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1506      *) ac_try_echo=$ac_try;;
1507    esac
1508    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1509    $as_echo "$ac_try_echo"; } >&5
1510      (eval "$ac_compile") 2>conftest.err
1511      ac_status=$?
1512      if test -s conftest.err; then
1513        grep -v '^ *+' conftest.err >conftest.er1
1514        cat conftest.er1 >&5
1515        mv -f conftest.er1 conftest.err
1516      fi
1517      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1518      test $ac_status = 0; } && {
1519             test -z "$ac_c_werror_flag" ||
1520             test ! -s conftest.err
1521           } && test -s conftest.$ac_objext; then :
1522      ac_retval=0
1523    else
1524      $as_echo "$as_me: failed program was:" >&5
1525    sed 's/^/| /' conftest.$ac_ext >&5
1526    
1527            ac_retval=1
1528    fi
1529      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1530      as_fn_set_status $ac_retval
1531    
1532    } # ac_fn_c_try_compile
1533    
1534    # ac_fn_c_try_cpp LINENO
1535    # ----------------------
1536    # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1537    ac_fn_c_try_cpp ()
1538    {
1539      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540      if { { ac_try="$ac_cpp conftest.$ac_ext"
1541    case "(($ac_try" in
1542      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1543      *) ac_try_echo=$ac_try;;
1544    esac
1545    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546    $as_echo "$ac_try_echo"; } >&5
1547      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1548      ac_status=$?
1549      if test -s conftest.err; then
1550        grep -v '^ *+' conftest.err >conftest.er1
1551        cat conftest.er1 >&5
1552        mv -f conftest.er1 conftest.err
1553      fi
1554      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1555      test $ac_status = 0; } >/dev/null && {
1556             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1557             test ! -s conftest.err
1558           }; then :
1559      ac_retval=0
1560    else
1561      $as_echo "$as_me: failed program was:" >&5
1562    sed 's/^/| /' conftest.$ac_ext >&5
1563    
1564        ac_retval=1
1565    fi
1566      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1567      as_fn_set_status $ac_retval
1568    
1569    } # ac_fn_c_try_cpp
1570    
1571    # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1572    # -------------------------------------------------------
1573    # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1574    # the include files in INCLUDES and setting the cache variable VAR
1575    # accordingly.
1576    ac_fn_c_check_header_mongrel ()
1577    {
1578      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579      if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1580      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1581    $as_echo_n "checking for $2... " >&6; }
1582    if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1583      $as_echo_n "(cached) " >&6
1584    fi
1585    eval ac_res=\$$3
1586                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1587    $as_echo "$ac_res" >&6; }
1588    else
1589      # Is the header compilable?
1590    { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1591    $as_echo_n "checking $2 usability... " >&6; }
1592    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1593    /* end confdefs.h.  */
1594    $4
1595    #include <$2>
1596    _ACEOF
1597    if ac_fn_c_try_compile "$LINENO"; then :
1598      ac_header_compiler=yes
1599    else
1600      ac_header_compiler=no
1601    fi
1602    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1603    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1604    $as_echo "$ac_header_compiler" >&6; }
1605    
1606    # Is the header present?
1607    { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1608    $as_echo_n "checking $2 presence... " >&6; }
1609    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1610    /* end confdefs.h.  */
1611    #include <$2>
1612    _ACEOF
1613    if ac_fn_c_try_cpp "$LINENO"; then :
1614      ac_header_preproc=yes
1615    else
1616      ac_header_preproc=no
1617    fi
1618    rm -f conftest.err conftest.$ac_ext
1619    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1620    $as_echo "$ac_header_preproc" >&6; }
1621    
1622    # So?  What about this header?
1623    case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1624      yes:no: )
1625        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1626    $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1627        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1628    $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1629        ;;
1630      no:yes:* )
1631        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1632    $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1633        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1634    $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1635        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1636    $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1637        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1638    $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1639        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1640    $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1641    ( cat <<\_ASBOX
1642    ## ------------------------------- ##
1643    ## Report this to till@harbaum.org ##
1644    ## ------------------------------- ##
1645    _ASBOX
1646         ) | sed "s/^/$as_me: WARNING:     /" >&2
1647        ;;
1648    esac
1649      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1650    $as_echo_n "checking for $2... " >&6; }
1651    if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1652      $as_echo_n "(cached) " >&6
1653    else
1654      eval "$3=\$ac_header_compiler"
1655    fi
1656    eval ac_res=\$$3
1657                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1658    $as_echo "$ac_res" >&6; }
1659    fi
1660      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1661    
1662  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  } # ac_fn_c_check_header_mongrel
1663  2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.  
1664  This configure script is free software; the Free Software Foundation  # ac_fn_c_try_run LINENO
1665  gives unlimited permission to copy, distribute and modify it.  # ----------------------
1666    # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1667    # that executables *can* be run.
1668    ac_fn_c_try_run ()
1669    {
1670      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671      if { { ac_try="$ac_link"
1672    case "(($ac_try" in
1673      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674      *) ac_try_echo=$ac_try;;
1675    esac
1676    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677    $as_echo "$ac_try_echo"; } >&5
1678      (eval "$ac_link") 2>&5
1679      ac_status=$?
1680      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681      test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1682      { { case "(($ac_try" in
1683      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684      *) ac_try_echo=$ac_try;;
1685    esac
1686    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687    $as_echo "$ac_try_echo"; } >&5
1688      (eval "$ac_try") 2>&5
1689      ac_status=$?
1690      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691      test $ac_status = 0; }; }; then :
1692      ac_retval=0
1693    else
1694      $as_echo "$as_me: program exited with status $ac_status" >&5
1695           $as_echo "$as_me: failed program was:" >&5
1696    sed 's/^/| /' conftest.$ac_ext >&5
1697    
1698           ac_retval=$ac_status
1699    fi
1700      rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1701      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702      as_fn_set_status $ac_retval
1703    
1704    } # ac_fn_c_try_run
1705    
1706    # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1707    # -------------------------------------------------------
1708    # Tests whether HEADER exists and can be compiled using the include files in
1709    # INCLUDES, setting the cache variable VAR accordingly.
1710    ac_fn_c_check_header_compile ()
1711    {
1712      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1714    $as_echo_n "checking for $2... " >&6; }
1715    if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1716      $as_echo_n "(cached) " >&6
1717    else
1718      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1719    /* end confdefs.h.  */
1720    $4
1721    #include <$2>
1722  _ACEOF  _ACEOF
1723    exit  if ac_fn_c_try_compile "$LINENO"; then :
1724      eval "$3=yes"
1725    else
1726      eval "$3=no"
1727    fi
1728    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1729  fi  fi
1730    eval ac_res=\$$3
1731                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1732    $as_echo "$ac_res" >&6; }
1733      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1734    
1735    } # ac_fn_c_check_header_compile
1736  cat >config.log <<_ACEOF  cat >config.log <<_ACEOF
1737  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
1738  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1739    
1740  It was created by GPXView $as_me 0.8.10, which was  It was created by GPXView $as_me 0.9.5, which was
1741  generated by GNU Autoconf 2.63.  Invocation command line was  generated by GNU Autoconf 2.65.  Invocation command line was
1742    
1743    $ $0 $@    $ $0 $@
1744    
# Line 1527  for as_dir in $PATH Line 1774  for as_dir in $PATH
1774  do  do
1775    IFS=$as_save_IFS    IFS=$as_save_IFS
1776    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1777    $as_echo "PATH: $as_dir"      $as_echo "PATH: $as_dir"
1778  done    done
1779  IFS=$as_save_IFS  IFS=$as_save_IFS
1780    
1781  } >&5  } >&5
# Line 1565  do Line 1812  do
1812        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1813      esac      esac
1814      case $ac_pass in      case $ac_pass in
1815      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;      1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1816      2)      2)
1817        ac_configure_args1="$ac_configure_args1 '$ac_arg'"        as_fn_append ac_configure_args1 " '$ac_arg'"
1818        if test $ac_must_keep_next = true; then        if test $ac_must_keep_next = true; then
1819          ac_must_keep_next=false # Got value, back to normal.          ac_must_keep_next=false # Got value, back to normal.
1820        else        else
# Line 1583  do Line 1830  do
1830            -* ) ac_must_keep_next=true ;;            -* ) ac_must_keep_next=true ;;
1831          esac          esac
1832        fi        fi
1833        ac_configure_args="$ac_configure_args '$ac_arg'"        as_fn_append ac_configure_args " '$ac_arg'"
1834        ;;        ;;
1835      esac      esac
1836    done    done
1837  done  done
1838  $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;}
1839  $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;}
1840    
1841  # When interrupted or exit'd, cleanup temporary files, and complete  # When interrupted or exit'd, cleanup temporary files, and complete
1842  # 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 1861  _ASBOX
1861      case $ac_val in #(      case $ac_val in #(
1862      *${as_nl}*)      *${as_nl}*)
1863        case $ac_var in #(        case $ac_var in #(
1864        *_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
1865  $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;} ;;
1866        esac        esac
1867        case $ac_var in #(        case $ac_var in #(
1868        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
1869        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1870        *) $as_unset $ac_var ;;        *) { eval $ac_var=; unset $ac_var;} ;;
1871        esac ;;        esac ;;
1872      esac      esac
1873    done    done
# Line 1692  _ASBOX Line 1939  _ASBOX
1939      exit $exit_status      exit $exit_status
1940  ' 0  ' 0
1941  for ac_signal in 1 2 13 15; do  for ac_signal in 1 2 13 15; do
1942    trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal    trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1943  done  done
1944  ac_signal=0  ac_signal=0
1945    
1946  # confdefs.h avoids OS command line length limits that DEFS can exceed.  # confdefs.h avoids OS command line length limits that DEFS can exceed.
1947  rm -f -r conftest* confdefs.h  rm -f -r conftest* confdefs.h
1948    
1949    $as_echo "/* confdefs.h */" > confdefs.h
1950    
1951  # Predefined preprocessor variables.  # Predefined preprocessor variables.
1952    
1953  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1954  #define PACKAGE_NAME "$PACKAGE_NAME"  #define PACKAGE_NAME "$PACKAGE_NAME"
1955  _ACEOF  _ACEOF
1956    
   
1957  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1958  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1959  _ACEOF  _ACEOF
1960    
   
1961  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1962  #define PACKAGE_VERSION "$PACKAGE_VERSION"  #define PACKAGE_VERSION "$PACKAGE_VERSION"
1963  _ACEOF  _ACEOF
1964    
   
1965  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1966  #define PACKAGE_STRING "$PACKAGE_STRING"  #define PACKAGE_STRING "$PACKAGE_STRING"
1967  _ACEOF  _ACEOF
1968    
   
1969  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1970  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1971  _ACEOF  _ACEOF
1972    
1973    cat >>confdefs.h <<_ACEOF
1974    #define PACKAGE_URL "$PACKAGE_URL"
1975    _ACEOF
1976    
1977    
1978  # 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.
1979  # Prefer an explicitly selected file to automatically selected ones.  # Prefer an explicitly selected file to automatically selected ones.
# Line 1742  fi Line 1991  fi
1991  for ac_site_file in "$ac_site_file1" "$ac_site_file2"  for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1992  do  do
1993    test "x$ac_site_file" = xNONE && continue    test "x$ac_site_file" = xNONE && continue
1994    if test -r "$ac_site_file"; then    if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1995      { $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
1996  $as_echo "$as_me: loading site script $ac_site_file" >&6;}  $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1997      sed 's/^/| /' "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
1998      . "$ac_site_file"      . "$ac_site_file"
# Line 1751  $as_echo "$as_me: loading site script $a Line 2000  $as_echo "$as_me: loading site script $a
2000  done  done
2001    
2002  if test -r "$cache_file"; then  if test -r "$cache_file"; then
2003    # Some versions of bash will fail to source /dev/null (special    # Some versions of bash will fail to source /dev/null (special files
2004    # files actually), so we avoid doing that.    # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2005    if test -f "$cache_file"; then    if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2006      { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2007  $as_echo "$as_me: loading cache $cache_file" >&6;}  $as_echo "$as_me: loading cache $cache_file" >&6;}
2008      case $cache_file in      case $cache_file in
2009        [\\/]* | ?:[\\/]* ) . "$cache_file";;        [\\/]* | ?:[\\/]* ) . "$cache_file";;
# Line 1762  $as_echo "$as_me: loading cache $cache_f Line 2011  $as_echo "$as_me: loading cache $cache_f
2011      esac      esac
2012    fi    fi
2013  else  else
2014    { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2015  $as_echo "$as_me: creating cache $cache_file" >&6;}  $as_echo "$as_me: creating cache $cache_file" >&6;}
2016    >$cache_file    >$cache_file
2017  fi  fi
# Line 1777  for ac_var in $ac_precious_vars; do Line 2026  for ac_var in $ac_precious_vars; do
2026    eval ac_new_val=\$ac_env_${ac_var}_value    eval ac_new_val=\$ac_env_${ac_var}_value
2027    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
2028      set,)      set,)
2029        { $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
2030  $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;}
2031        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
2032      ,set)      ,set)
2033        { $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
2034  $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;}
2035        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
2036      ,);;      ,);;
# Line 1791  $as_echo "$as_me: error: \`$ac_var' was Line 2040  $as_echo "$as_me: error: \`$ac_var' was
2040          ac_old_val_w=`echo x $ac_old_val`          ac_old_val_w=`echo x $ac_old_val`
2041          ac_new_val_w=`echo x $ac_new_val`          ac_new_val_w=`echo x $ac_new_val`
2042          if test "$ac_old_val_w" != "$ac_new_val_w"; then          if test "$ac_old_val_w" != "$ac_new_val_w"; then
2043            { $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
2044  $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;}
2045            ac_cache_corrupted=:            ac_cache_corrupted=:
2046          else          else
2047            { $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
2048  $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;}
2049            eval $ac_var=\$ac_old_val            eval $ac_var=\$ac_old_val
2050          fi          fi
2051          { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2052  $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}  $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2053          { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2054  $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}  $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2055        fi;;        fi;;
2056    esac    esac
# Line 1813  $as_echo "$as_me:   current value: \`$ac Line 2062  $as_echo "$as_me:   current value: \`$ac
2062      esac      esac
2063      case " $ac_configure_args " in      case " $ac_configure_args " in
2064        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2065        *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;        *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2066      esac      esac
2067    fi    fi
2068  done  done
2069  if $ac_cache_corrupted; then  if $ac_cache_corrupted; then
2070    { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2071  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2072    { $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
2073  $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;}
2074    { { $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; }; }  
2075  fi  fi
2076    ## -------------------- ##
2077    ## Main body of script. ##
2078    ## -------------------- ##
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
2079    
2080  ac_ext=c  ac_ext=c
2081  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
# Line 1873  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2099  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2099  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
2100    # 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.
2101  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2102  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2103  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2104  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2105    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2106  else  else
2107    if test -n "$CC"; then    if test -n "$CC"; then
# Line 1886  for as_dir in $PATH Line 2112  for as_dir in $PATH
2112  do  do
2113    IFS=$as_save_IFS    IFS=$as_save_IFS
2114    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2115    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2116    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
2117      ac_cv_prog_CC="${ac_tool_prefix}gcc"      ac_cv_prog_CC="${ac_tool_prefix}gcc"
2118      $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
2119      break 2      break 2
2120    fi    fi
2121  done  done
2122  done    done
2123  IFS=$as_save_IFS  IFS=$as_save_IFS
2124    
2125  fi  fi
2126  fi  fi
2127  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2128  if test -n "$CC"; then  if test -n "$CC"; then
2129    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2130  $as_echo "$CC" >&6; }  $as_echo "$CC" >&6; }
2131  else  else
2132    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2133  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2134  fi  fi
2135    
# Line 1913  if test -z "$ac_cv_prog_CC"; then Line 2139  if test -z "$ac_cv_prog_CC"; then
2139    ac_ct_CC=$CC    ac_ct_CC=$CC
2140    # 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.
2141  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
2142  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2143  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2144  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2145    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2146  else  else
2147    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
# Line 1926  for as_dir in $PATH Line 2152  for as_dir in $PATH
2152  do  do
2153    IFS=$as_save_IFS    IFS=$as_save_IFS
2154    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2155    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2156    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
2157      ac_cv_prog_ac_ct_CC="gcc"      ac_cv_prog_ac_ct_CC="gcc"
2158      $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
2159      break 2      break 2
2160    fi    fi
2161  done  done
2162  done    done
2163  IFS=$as_save_IFS  IFS=$as_save_IFS
2164    
2165  fi  fi
2166  fi  fi
2167  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2168  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2169    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2170  $as_echo "$ac_ct_CC" >&6; }  $as_echo "$ac_ct_CC" >&6; }
2171  else  else
2172    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2173  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2174  fi  fi
2175    
# Line 1952  fi Line 2178  fi
2178    else    else
2179      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2180  yes:)  yes:)
2181  { $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
2182  $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;}
2183  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2184  esac  esac
# Line 1966  if test -z "$CC"; then Line 2192  if test -z "$CC"; then
2192            if test -n "$ac_tool_prefix"; then            if test -n "$ac_tool_prefix"; then
2193      # 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.
2194  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
2195  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2196  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2197  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2198    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2199  else  else
2200    if test -n "$CC"; then    if test -n "$CC"; then
# Line 1979  for as_dir in $PATH Line 2205  for as_dir in $PATH
2205  do  do
2206    IFS=$as_save_IFS    IFS=$as_save_IFS
2207    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2208    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2209    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
2210      ac_cv_prog_CC="${ac_tool_prefix}cc"      ac_cv_prog_CC="${ac_tool_prefix}cc"
2211      $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
2212      break 2      break 2
2213    fi    fi
2214  done  done
2215  done    done
2216  IFS=$as_save_IFS  IFS=$as_save_IFS
2217    
2218  fi  fi
2219  fi  fi
2220  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2221  if test -n "$CC"; then  if test -n "$CC"; then
2222    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2223  $as_echo "$CC" >&6; }  $as_echo "$CC" >&6; }
2224  else  else
2225    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2226  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2227  fi  fi
2228    
# Line 2006  fi Line 2232  fi
2232  if test -z "$CC"; then  if test -z "$CC"; then
2233    # 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.
2234  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2235  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2236  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2237  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2238    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2239  else  else
2240    if test -n "$CC"; then    if test -n "$CC"; then
# Line 2020  for as_dir in $PATH Line 2246  for as_dir in $PATH
2246  do  do
2247    IFS=$as_save_IFS    IFS=$as_save_IFS
2248    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2249    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2250    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
2251      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
2252         ac_prog_rejected=yes         ac_prog_rejected=yes
2253         continue         continue
2254       fi       fi
2255      ac_cv_prog_CC="cc"      ac_cv_prog_CC="cc"
2256      $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
2257      break 2      break 2
2258    fi    fi
2259  done  done
2260  done    done
2261  IFS=$as_save_IFS  IFS=$as_save_IFS
2262    
2263  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
# Line 2050  fi Line 2276  fi
2276  fi  fi
2277  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2278  if test -n "$CC"; then  if test -n "$CC"; then
2279    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2280  $as_echo "$CC" >&6; }  $as_echo "$CC" >&6; }
2281  else  else
2282    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2283  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2284  fi  fi
2285    
# Line 2065  if test -z "$CC"; then Line 2291  if test -z "$CC"; then
2291    do    do
2292      # 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.
2293  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2294  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2295  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2296  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2297    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2298  else  else
2299    if test -n "$CC"; then    if test -n "$CC"; then
# Line 2078  for as_dir in $PATH Line 2304  for as_dir in $PATH
2304  do  do
2305    IFS=$as_save_IFS    IFS=$as_save_IFS
2306    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2307    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2308    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
2309      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2310      $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
2311      break 2      break 2
2312    fi    fi
2313  done  done
2314  done    done
2315  IFS=$as_save_IFS  IFS=$as_save_IFS
2316    
2317  fi  fi
2318  fi  fi
2319  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2320  if test -n "$CC"; then  if test -n "$CC"; then
2321    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2322  $as_echo "$CC" >&6; }  $as_echo "$CC" >&6; }
2323  else  else
2324    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2325  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2326  fi  fi
2327    
# Line 2109  if test -z "$CC"; then Line 2335  if test -z "$CC"; then
2335  do  do
2336    # 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.
2337  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2338  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2339  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2340  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2341    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2342  else  else
2343    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
# Line 2122  for as_dir in $PATH Line 2348  for as_dir in $PATH
2348  do  do
2349    IFS=$as_save_IFS    IFS=$as_save_IFS
2350    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2351    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2352    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
2353      ac_cv_prog_ac_ct_CC="$ac_prog"      ac_cv_prog_ac_ct_CC="$ac_prog"
2354      $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
2355      break 2      break 2
2356    fi    fi
2357  done  done
2358  done    done
2359  IFS=$as_save_IFS  IFS=$as_save_IFS
2360    
2361  fi  fi
2362  fi  fi
2363  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2364  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2365    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2366  $as_echo "$ac_ct_CC" >&6; }  $as_echo "$ac_ct_CC" >&6; }
2367  else  else
2368    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2369  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2370  fi  fi
2371    
# Line 2152  done Line 2378  done
2378    else    else
2379      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2380  yes:)  yes:)
2381  { $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
2382  $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;}
2383  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2384  esac  esac
# Line 2163  fi Line 2389  fi
2389  fi  fi
2390    
2391    
2392  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
2393  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2394  { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH  as_fn_error "no acceptable C compiler found in \$PATH
2395  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; }; }; }  
2396    
2397  # Provide some information about the compiler.  # Provide some information about the compiler.
2398  $as_echo "$as_me:$LINENO: checking for C compiler version" >&5  $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2399  set X $ac_compile  set X $ac_compile
2400  ac_compiler=$2  ac_compiler=$2
2401  { (ac_try="$ac_compiler --version >&5"  for ac_option in --version -v -V -qversion; do
2402  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"  
2403  case "(($ac_try" in  case "(($ac_try" in
2404    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2405    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2406  esac  esac
2407  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2408  $as_echo "$ac_try_echo") >&5  $as_echo "$ac_try_echo"; } >&5
2409    (eval "$ac_compiler -v >&5") 2>&5    (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2410    ac_status=$?    ac_status=$?
2411    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    if test -s conftest.err; then
2412    (exit $ac_status); }      sed '10a\
2413  { (ac_try="$ac_compiler -V >&5"  ... rest of stderr output deleted ...
2414  case "(($ac_try" in           10q' conftest.err >conftest.er1
2415    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;      cat conftest.er1 >&5
2416    *) ac_try_echo=$ac_try;;    fi
2417  esac    rm -f conftest.er1 conftest.err
2418  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2419  $as_echo "$ac_try_echo") >&5    test $ac_status = 0; }
2420    (eval "$ac_compiler -V >&5") 2>&5  done
   ac_status=$?  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }  
2421    
2422  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  
2423  /* end confdefs.h.  */  /* end confdefs.h.  */
2424    
2425  int  int
# Line 2229  ac_clean_files="$ac_clean_files a.out a. Line 2435  ac_clean_files="$ac_clean_files a.out a.
2435  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2436  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2437  # of exeext.  # of exeext.
2438  { $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
2439  $as_echo_n "checking for C compiler default output file name... " >&6; }  $as_echo_n "checking whether the C compiler works... " >&6; }
2440  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2441    
2442  # The possible output files:  # The possible output files:
# Line 2246  do Line 2452  do
2452  done  done
2453  rm -f $ac_rmfiles  rm -f $ac_rmfiles
2454    
2455  if { (ac_try="$ac_link_default"  if { { ac_try="$ac_link_default"
2456  case "(($ac_try" in  case "(($ac_try" in
2457    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2458    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2459  esac  esac
2460  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2461  $as_echo "$ac_try_echo") >&5  $as_echo "$ac_try_echo"; } >&5
2462    (eval "$ac_link_default") 2>&5    (eval "$ac_link_default") 2>&5
2463    ac_status=$?    ac_status=$?
2464    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2465    (exit $ac_status); }; then    test $ac_status = 0; }; then :
2466    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2467  # 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'
2468  # 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 2479  do
2479          # certainly right.          # certainly right.
2480          break;;          break;;
2481      *.* )      *.* )
2482          if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;          if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2483          then :; else          then :; else
2484             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2485          fi          fi
# Line 2292  test "$ac_cv_exeext" = no && ac_cv_exeex Line 2498  test "$ac_cv_exeext" = no && ac_cv_exeex
2498  else  else
2499    ac_file=''    ac_file=''
2500  fi  fi
2501    if test -z "$ac_file"; then :
2502  { $as_echo "$as_me:$LINENO: result: $ac_file" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2503  $as_echo "$ac_file" >&6; }  $as_echo "no" >&6; }
2504  if test -z "$ac_file"; then  $as_echo "$as_me: failed program was:" >&5
   $as_echo "$as_me: failed program was:" >&5  
2505  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2506    
2507  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2508  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509  { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables  { as_fn_set_status 77
2510  See \`config.log' for more details." >&5  as_fn_error "C compiler cannot create executables
2511  $as_echo "$as_me: error: C compiler cannot create executables  See \`config.log' for more details." "$LINENO" 5; }; }
2512  See \`config.log' for more details." >&2;}  else
2513     { (exit 77); exit 77; }; }; }    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2514    $as_echo "yes" >&6; }
2515  fi  fi
2516    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2517    $as_echo_n "checking for C compiler default output file name... " >&6; }
2518    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2519    $as_echo "$ac_file" >&6; }
2520  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2521    
 # 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; }  
   
2522  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
2523  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2524  # 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  
2525  $as_echo_n "checking for suffix of executables... " >&6; }  $as_echo_n "checking for suffix of executables... " >&6; }
2526  if { (ac_try="$ac_link"  if { { ac_try="$ac_link"
2527  case "(($ac_try" in  case "(($ac_try" in
2528    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2529    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2530  esac  esac
2531  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2532  $as_echo "$ac_try_echo") >&5  $as_echo "$ac_try_echo"; } >&5
2533    (eval "$ac_link") 2>&5    (eval "$ac_link") 2>&5
2534    ac_status=$?    ac_status=$?
2535    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2536    (exit $ac_status); }; then    test $ac_status = 0; }; then :
2537    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2538  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2539  # 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 2548  for ac_file in conftest.exe conftest con
2548    esac    esac
2549  done  done
2550  else  else
2551    { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2552  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2553  { { $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
2554  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; }; }; }  
2555  fi  fi
2556    rm -f conftest conftest$ac_cv_exeext
2557  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  
2558  $as_echo "$ac_cv_exeext" >&6; }  $as_echo "$ac_cv_exeext" >&6; }
2559    
2560  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2561  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2562  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2563  { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2564    /* end confdefs.h.  */
2565    #include <stdio.h>
2566    int
2567    main ()
2568    {
2569    FILE *f = fopen ("conftest.out", "w");
2570     return ferror (f) || fclose (f) != 0;
2571    
2572      ;
2573      return 0;
2574    }
2575    _ACEOF
2576    ac_clean_files="$ac_clean_files conftest.out"
2577    # Check that the compiler produces executables we can run.  If not, either
2578    # the compiler is broken, or we cross compile.
2579    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2580    $as_echo_n "checking whether we are cross compiling... " >&6; }
2581    if test "$cross_compiling" != yes; then
2582      { { ac_try="$ac_link"
2583    case "(($ac_try" in
2584      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2585      *) ac_try_echo=$ac_try;;
2586    esac
2587    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2588    $as_echo "$ac_try_echo"; } >&5
2589      (eval "$ac_link") 2>&5
2590      ac_status=$?
2591      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2592      test $ac_status = 0; }
2593      if { ac_try='./conftest$ac_cv_exeext'
2594      { { case "(($ac_try" in
2595      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596      *) ac_try_echo=$ac_try;;
2597    esac
2598    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2599    $as_echo "$ac_try_echo"; } >&5
2600      (eval "$ac_try") 2>&5
2601      ac_status=$?
2602      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2603      test $ac_status = 0; }; }; then
2604        cross_compiling=no
2605      else
2606        if test "$cross_compiling" = maybe; then
2607            cross_compiling=yes
2608        else
2609            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2610    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2611    as_fn_error "cannot run C compiled programs.
2612    If you meant to cross compile, use \`--host'.
2613    See \`config.log' for more details." "$LINENO" 5; }
2614        fi
2615      fi
2616    fi
2617    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2618    $as_echo "$cross_compiling" >&6; }
2619    
2620    rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2621    ac_clean_files=$ac_clean_files_save
2622    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2623  $as_echo_n "checking for suffix of object files... " >&6; }  $as_echo_n "checking for suffix of object files... " >&6; }
2624  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then :
2625    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2626  else  else
2627    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  
2628  /* end confdefs.h.  */  /* end confdefs.h.  */
2629    
2630  int  int
# Line 2421  main () Line 2636  main ()
2636  }  }
2637  _ACEOF  _ACEOF
2638  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
2639  if { (ac_try="$ac_compile"  if { { ac_try="$ac_compile"
2640  case "(($ac_try" in  case "(($ac_try" in
2641    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2642    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2643  esac  esac
2644  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2645  $as_echo "$ac_try_echo") >&5  $as_echo "$ac_try_echo"; } >&5
2646    (eval "$ac_compile") 2>&5    (eval "$ac_compile") 2>&5
2647    ac_status=$?    ac_status=$?
2648    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2649    (exit $ac_status); }; then    test $ac_status = 0; }; then :
2650    for ac_file in conftest.o conftest.obj conftest.*; do    for ac_file in conftest.o conftest.obj conftest.*; do
2651    test -f "$ac_file" || continue;    test -f "$ac_file" || continue;
2652    case $ac_file in    case $ac_file in
# Line 2444  else Line 2659  else
2659    $as_echo "$as_me: failed program was:" >&5    $as_echo "$as_me: failed program was:" >&5
2660  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2661    
2662  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2663  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2664  { { $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
2665  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; }; }; }  
2666  fi  fi
   
2667  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2668  fi  fi
2669  { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2670  $as_echo "$ac_cv_objext" >&6; }  $as_echo "$ac_cv_objext" >&6; }
2671  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2672  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2673  { $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
2674  $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; }
2675  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2676    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2677  else  else
2678    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  
2679  /* end confdefs.h.  */  /* end confdefs.h.  */
2680    
2681  int  int
# Line 2482  main () Line 2689  main ()
2689    return 0;    return 0;
2690  }  }
2691  _ACEOF  _ACEOF
2692  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  
2693    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2694  else  else
2695    $as_echo "$as_me: failed program was:" >&5    ac_compiler_gnu=no
 sed 's/^/| /' conftest.$ac_ext >&5  
   
         ac_compiler_gnu=no  
2696  fi  fi
   
2697  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2699    
2700  fi  fi
2701  { $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
2702  $as_echo "$ac_cv_c_compiler_gnu" >&6; }  $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2703  if test $ac_compiler_gnu = yes; then  if test $ac_compiler_gnu = yes; then
2704    GCC=yes    GCC=yes
# Line 2521  else Line 2707  else
2707  fi  fi
2708  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2709  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2710  { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2711  $as_echo_n "checking whether $CC accepts -g... " >&6; }  $as_echo_n "checking whether $CC accepts -g... " >&6; }
2712  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then :
2713    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2714  else  else
2715    ac_save_c_werror_flag=$ac_c_werror_flag    ac_save_c_werror_flag=$ac_c_werror_flag
2716     ac_c_werror_flag=yes     ac_c_werror_flag=yes
2717     ac_cv_prog_cc_g=no     ac_cv_prog_cc_g=no
2718     CFLAGS="-g"     CFLAGS="-g"
2719     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  
2720  /* end confdefs.h.  */  /* end confdefs.h.  */
2721    
2722  int  int
# Line 2545  main () Line 2727  main ()
2727    return 0;    return 0;
2728  }  }
2729  _ACEOF  _ACEOF
2730  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  
2731    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2732  else  else
2733    $as_echo "$as_me: failed program was:" >&5    CFLAGS=""
2734  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  
2735  /* end confdefs.h.  */  /* end confdefs.h.  */
2736    
2737  int  int
# Line 2584  main () Line 2742  main ()
2742    return 0;    return 0;
2743  }  }
2744  _ACEOF  _ACEOF
2745  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  
2746    
2747          ac_c_werror_flag=$ac_save_c_werror_flag  else
2748      ac_c_werror_flag=$ac_save_c_werror_flag
2749           CFLAGS="-g"           CFLAGS="-g"
2750           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  
2751  /* end confdefs.h.  */  /* end confdefs.h.  */
2752    
2753  int  int
# Line 2624  main () Line 2758  main ()
2758    return 0;    return 0;
2759  }  }
2760  _ACEOF  _ACEOF
2761  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  
2762    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
 else  
   $as_echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   
2763  fi  fi
   
2764  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2765  fi  fi
   
2766  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2767  fi  fi
   
2768  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2769     ac_c_werror_flag=$ac_save_c_werror_flag     ac_c_werror_flag=$ac_save_c_werror_flag
2770  fi  fi
2771  { $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
2772  $as_echo "$ac_cv_prog_cc_g" >&6; }  $as_echo "$ac_cv_prog_cc_g" >&6; }
2773  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2774    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 2676  else Line 2785  else
2785      CFLAGS=      CFLAGS=
2786    fi    fi
2787  fi  fi
2788  { $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
2789  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2790  if test "${ac_cv_prog_cc_c89+set}" = set; then  if test "${ac_cv_prog_cc_c89+set}" = set; then :
2791    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2792  else  else
2793    ac_cv_prog_cc_c89=no    ac_cv_prog_cc_c89=no
2794  ac_save_CC=$CC  ac_save_CC=$CC
2795  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  
2796  /* end confdefs.h.  */  /* end confdefs.h.  */
2797  #include <stdarg.h>  #include <stdarg.h>
2798  #include <stdio.h>  #include <stdio.h>
# Line 2744  for ac_arg in '' -qlanglvl=extc89 -qlang Line 2849  for ac_arg in '' -qlanglvl=extc89 -qlang
2849          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2850  do  do
2851    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
2852    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  
2853    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  
   
   
2854  fi  fi
   
2855  rm -f core conftest.err conftest.$ac_objext  rm -f core conftest.err conftest.$ac_objext
2856    test "x$ac_cv_prog_cc_c89" != "xno" && break    test "x$ac_cv_prog_cc_c89" != "xno" && break
2857  done  done
# Line 2780  fi Line 2862  fi
2862  # AC_CACHE_VAL  # AC_CACHE_VAL
2863  case "x$ac_cv_prog_cc_c89" in  case "x$ac_cv_prog_cc_c89" in
2864    x)    x)
2865      { $as_echo "$as_me:$LINENO: result: none needed" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2866  $as_echo "none needed" >&6; } ;;  $as_echo "none needed" >&6; } ;;
2867    xno)    xno)
2868      { $as_echo "$as_me:$LINENO: result: unsupported" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2869  $as_echo "unsupported" >&6; } ;;  $as_echo "unsupported" >&6; } ;;
2870    *)    *)
2871      CC="$CC $ac_cv_prog_cc_c89"      CC="$CC $ac_cv_prog_cc_c89"
2872      { $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
2873  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2874  esac  esac
2875    if test "x$ac_cv_prog_cc_c89" != xno; then :
2876    
2877    fi
2878    
2879  ac_ext=c  ac_ext=c
2880  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
# Line 2800  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2884  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2884    
2885  ac_aux_dir=  ac_aux_dir=
2886  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2887    if test -f "$ac_dir/install-sh"; then    for ac_t in install-sh install.sh shtool; do
2888      ac_aux_dir=$ac_dir      if test -f "$ac_dir/$ac_t"; then
2889      ac_install_sh="$ac_aux_dir/install-sh -c"        ac_aux_dir=$ac_dir
2890      break        ac_install_sh="$ac_aux_dir/$ac_t -c"
2891    elif test -f "$ac_dir/install.sh"; then        break 2
2892      ac_aux_dir=$ac_dir      fi
2893      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  
2894  done  done
2895  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
2896    { { $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; }; }  
2897  fi  fi
2898    
2899  # These three variables are undocumented and unsupported,  # These three variables are undocumented and unsupported,
# Line 2843  ac_configure="$SHELL $ac_aux_dir/configu Line 2919  ac_configure="$SHELL $ac_aux_dir/configu
2919  # OS/2's system install, which has a completely different semantic  # OS/2's system install, which has a completely different semantic
2920  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2921  # Reject install programs that cannot install multiple files.  # Reject install programs that cannot install multiple files.
2922  { $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
2923  $as_echo_n "checking for a BSD-compatible install... " >&6; }  $as_echo_n "checking for a BSD-compatible install... " >&6; }
2924  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
2925  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then :
2926    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2927  else  else
2928    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2854  for as_dir in $PATH Line 2930  for as_dir in $PATH
2930  do  do
2931    IFS=$as_save_IFS    IFS=$as_save_IFS
2932    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2933    # Account for people who put trailing slashes in PATH elements.      # Account for people who put trailing slashes in PATH elements.
2934  case $as_dir/ in  case $as_dir/ in #((
2935    ./ | .// | /cC/* | \    ./ | .// | /[cC]/* | \
2936    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2937    ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \    ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2938    /usr/ucb/* ) ;;    /usr/ucb/* ) ;;
2939    *)    *)
2940      # 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 2971  case $as_dir/ in
2971      ;;      ;;
2972  esac  esac
2973    
2974  done    done
2975  IFS=$as_save_IFS  IFS=$as_save_IFS
2976    
2977  rm -rf conftest.one conftest.two conftest.dir  rm -rf conftest.one conftest.two conftest.dir
# Line 2911  fi Line 2987  fi
2987      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
2988    fi    fi
2989  fi  fi
2990  { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2991  $as_echo "$INSTALL" >&6; }  $as_echo "$INSTALL" >&6; }
2992    
2993  # 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 2998  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2998    
2999  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3000    
3001  { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3002  $as_echo_n "checking whether ln -s works... " >&6; }  $as_echo_n "checking whether ln -s works... " >&6; }
3003  LN_S=$as_ln_s  LN_S=$as_ln_s
3004  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
3005    { $as_echo "$as_me:$LINENO: result: yes" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3006  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3007  else  else
3008    { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3009  $as_echo "no, using $LN_S" >&6; }  $as_echo "no, using $LN_S" >&6; }
3010  fi  fi
3011    
3012  { $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
3013  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3014  set x ${MAKE-make}  set x ${MAKE-make}
3015  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'`
3016  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 :
3017    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3018  else  else
3019    cat >conftest.make <<\_ACEOF    cat >conftest.make <<\_ACEOF
# Line 2955  esac Line 3031  esac
3031  rm -f conftest.make  rm -f conftest.make
3032  fi  fi
3033  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3034    { $as_echo "$as_me:$LINENO: result: yes" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3035  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3036    SET_MAKE=    SET_MAKE=
3037  else  else
3038    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3040    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
3041  fi  fi
# Line 2993  if test "x$ac_cv_env_PKG_CONFIG_set" != Line 3069  if test "x$ac_cv_env_PKG_CONFIG_set" !=
3069          if test -n "$ac_tool_prefix"; then          if test -n "$ac_tool_prefix"; then
3070    # 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.
3071  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3072  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
3074  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
3075    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3076  else  else
3077    case $PKG_CONFIG in    case $PKG_CONFIG in
# Line 3008  for as_dir in $PATH Line 3084  for as_dir in $PATH
3084  do  do
3085    IFS=$as_save_IFS    IFS=$as_save_IFS
3086    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
3087    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
3088    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
3089      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3090      $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
3091      break 2      break 2
3092    fi    fi
3093  done  done
3094  done    done
3095  IFS=$as_save_IFS  IFS=$as_save_IFS
3096    
3097    ;;    ;;
# Line 3023  esac Line 3099  esac
3099  fi  fi
3100  PKG_CONFIG=$ac_cv_path_PKG_CONFIG  PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3101  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3102    { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3103  $as_echo "$PKG_CONFIG" >&6; }  $as_echo "$PKG_CONFIG" >&6; }
3104  else  else
3105    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3107  fi  fi
3108    
# Line 3036  if test -z "$ac_cv_path_PKG_CONFIG"; the Line 3112  if test -z "$ac_cv_path_PKG_CONFIG"; the
3112    ac_pt_PKG_CONFIG=$PKG_CONFIG    ac_pt_PKG_CONFIG=$PKG_CONFIG
3113    # 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.
3114  set dummy pkg-config; ac_word=$2  set dummy pkg-config; ac_word=$2
3115  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3116  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
3117  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
3118    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3119  else  else
3120    case $ac_pt_PKG_CONFIG in    case $ac_pt_PKG_CONFIG in
# Line 3051  for as_dir in $PATH Line 3127  for as_dir in $PATH
3127  do  do
3128    IFS=$as_save_IFS    IFS=$as_save_IFS
3129    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
3130    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
3131    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
3132      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"
3133      $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
3134      break 2      break 2
3135    fi    fi
3136  done  done
3137  done    done
3138  IFS=$as_save_IFS  IFS=$as_save_IFS
3139    
3140    ;;    ;;
# Line 3066  esac Line 3142  esac
3142  fi  fi
3143  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3144  if test -n "$ac_pt_PKG_CONFIG"; then  if test -n "$ac_pt_PKG_CONFIG"; then
3145    { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3146  $as_echo "$ac_pt_PKG_CONFIG" >&6; }  $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3147  else  else
3148    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3150  fi  fi
3151    
# Line 3078  fi Line 3154  fi
3154    else    else
3155      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
3156  yes:)  yes:)
3157  { $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
3158  $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;}
3159  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
3160  esac  esac
# Line 3091  fi Line 3167  fi
3167  fi  fi
3168  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3169          _pkg_min_version=0.9.0          _pkg_min_version=0.9.0
3170          { $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
3171  $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; }
3172          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3173                  { $as_echo "$as_me:$LINENO: result: yes" >&5                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3174  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3175          else          else
3176                  { $as_echo "$as_me:$LINENO: result: no" >&5                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3178                  PKG_CONFIG=""                  PKG_CONFIG=""
3179          fi          fi
# Line 3105  $as_echo "no" >&6; } Line 3181  $as_echo "no" >&6; }
3181  fi  fi
3182    
3183  pkg_failed=no  pkg_failed=no
3184  { $as_echo "$as_me:$LINENO: checking for gnome_vfs_module" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnome_vfs_module" >&5
3185  $as_echo_n "checking for gnome_vfs_module... " >&6; }  $as_echo_n "checking for gnome_vfs_module... " >&6; }
3186    
3187  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3113  if test -n "$PKG_CONFIG"; then Line 3189  if test -n "$PKG_CONFIG"; then
3189          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"
3190      else      else
3191          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3192      { ($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
3193    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3194    ac_status=$?    ac_status=$?
3195    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3196    (exit $ac_status); }; then    test $ac_status = 0; }; then
3197    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`
3198  else  else
3199    pkg_failed=yes    pkg_failed=yes
# Line 3131  if test -n "$PKG_CONFIG"; then Line 3207  if test -n "$PKG_CONFIG"; then
3207          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"
3208      else      else
3209          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3210      { ($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
3211    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3212    ac_status=$?    ac_status=$?
3213    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3214    (exit $ac_status); }; then    test $ac_status = 0; }; then
3215    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`
3216  else  else
3217    pkg_failed=yes    pkg_failed=yes
# Line 3162  fi Line 3238  fi
3238          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3239          echo "$gnome_vfs_module_PKG_ERRORS" >&5          echo "$gnome_vfs_module_PKG_ERRORS" >&5
3240    
3241          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3243                  { { $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; }; }  
3244  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3245          { { $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; }; }  
3246  else  else
3247          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS
3248          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS
3249          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3250  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3251          :          :
3252  fi  fi
# Line 3184  LIBS="$LIBS $gnome_vfs_module_LIBS" Line 3256  LIBS="$LIBS $gnome_vfs_module_LIBS"
3256  # check for libxml-2.0  # check for libxml-2.0
3257    
3258  pkg_failed=no  pkg_failed=no
3259  { $as_echo "$as_me:$LINENO: checking for libxml2" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
3260  $as_echo_n "checking for libxml2... " >&6; }  $as_echo_n "checking for libxml2... " >&6; }
3261    
3262  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3192  if test -n "$PKG_CONFIG"; then Line 3264  if test -n "$PKG_CONFIG"; then
3264          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"
3265      else      else
3266          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3267      { ($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
3268    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3269    ac_status=$?    ac_status=$?
3270    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3271    (exit $ac_status); }; then    test $ac_status = 0; }; then
3272    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`
3273  else  else
3274    pkg_failed=yes    pkg_failed=yes
# Line 3210  if test -n "$PKG_CONFIG"; then Line 3282  if test -n "$PKG_CONFIG"; then
3282          pkg_cv_libxml2_LIBS="$libxml2_LIBS"          pkg_cv_libxml2_LIBS="$libxml2_LIBS"
3283      else      else
3284          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3285      { ($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
3286    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3287    ac_status=$?    ac_status=$?
3288    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289    (exit $ac_status); }; then    test $ac_status = 0; }; then
3290    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`
3291  else  else
3292    pkg_failed=yes    pkg_failed=yes
# Line 3241  fi Line 3313  fi
3313          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3314          echo "$libxml2_PKG_ERRORS" >&5          echo "$libxml2_PKG_ERRORS" >&5
3315    
3316          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3318                  { { $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; }; }  
3319  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3320          { { $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; }; }  
3321  else  else
3322          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS
3323          libxml2_LIBS=$pkg_cv_libxml2_LIBS          libxml2_LIBS=$pkg_cv_libxml2_LIBS
3324          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3325  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3326          :          :
3327  fi  fi
3328  CFLAGS="$CFLAGS $libxml2_CFLAGS"  CFLAGS="$CFLAGS $libxml2_CFLAGS"
3329  LIBS="$LIBS $libxml2_LIBS"  LIBS="$LIBS $libxml2_LIBS"
3330    
3331    # check for libcurl
3332    
3333    pkg_failed=no
3334    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
3335    $as_echo_n "checking for libcurl... " >&6; }
3336    
3337    if test -n "$PKG_CONFIG"; then
3338        if test -n "$libcurl_CFLAGS"; then
3339            pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
3340        else
3341            if test -n "$PKG_CONFIG" && \
3342        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
3343      ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3344      ac_status=$?
3345      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346      test $ac_status = 0; }; then
3347      pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
3348    else
3349      pkg_failed=yes
3350    fi
3351        fi
3352    else
3353            pkg_failed=untried
3354    fi
3355    if test -n "$PKG_CONFIG"; then
3356        if test -n "$libcurl_LIBS"; then
3357            pkg_cv_libcurl_LIBS="$libcurl_LIBS"
3358        else
3359            if test -n "$PKG_CONFIG" && \
3360        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
3361      ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3362      ac_status=$?
3363      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3364      test $ac_status = 0; }; then
3365      pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
3366    else
3367      pkg_failed=yes
3368    fi
3369        fi
3370    else
3371            pkg_failed=untried
3372    fi
3373    
3374    
3375    
3376    if test $pkg_failed = yes; then
3377    
3378    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3379            _pkg_short_errors_supported=yes
3380    else
3381            _pkg_short_errors_supported=no
3382    fi
3383            if test $_pkg_short_errors_supported = yes; then
3384                    libcurl_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl"`
3385            else
3386                    libcurl_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl"`
3387            fi
3388            # Put the nasty error message in config.log where it belongs
3389            echo "$libcurl_PKG_ERRORS" >&5
3390    
3391            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392    $as_echo "no" >&6; }
3393                    as_fn_error "libcurl missing" "$LINENO" 5
3394    elif test $pkg_failed = untried; then
3395            as_fn_error "libcurl missing" "$LINENO" 5
3396    else
3397            libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
3398            libcurl_LIBS=$pkg_cv_libcurl_LIBS
3399            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3400    $as_echo "yes" >&6; }
3401            :
3402    fi
3403    CFLAGS="$CFLAGS $libcurl_CFLAGS"
3404    LIBS="$LIBS $libcurl_LIBS"
3405    
3406  # check for libsoup  # check for libsoup
3407    
3408  pkg_failed=no  pkg_failed=no
3409  { $as_echo "$as_me:$LINENO: checking for libsoup24" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup24" >&5
3410  $as_echo_n "checking for libsoup24... " >&6; }  $as_echo_n "checking for libsoup24... " >&6; }
3411    
3412  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3270  if test -n "$PKG_CONFIG"; then Line 3414  if test -n "$PKG_CONFIG"; then
3414          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"
3415      else      else
3416          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3417      { ($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
3418    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3419    ac_status=$?    ac_status=$?
3420    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3421    (exit $ac_status); }; then    test $ac_status = 0; }; then
3422    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`
3423  else  else
3424    pkg_failed=yes    pkg_failed=yes
# Line 3288  if test -n "$PKG_CONFIG"; then Line 3432  if test -n "$PKG_CONFIG"; then
3432          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"
3433      else      else
3434          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3435      { ($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
3436    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3437    ac_status=$?    ac_status=$?
3438    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3439    (exit $ac_status); }; then    test $ac_status = 0; }; then
3440    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`
3441  else  else
3442    pkg_failed=yes    pkg_failed=yes
# Line 3319  fi Line 3463  fi
3463          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3464          echo "$libsoup24_PKG_ERRORS" >&5          echo "$libsoup24_PKG_ERRORS" >&5
3465    
3466          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3467  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3468    
3469    
3470  pkg_failed=no  pkg_failed=no
3471  { $as_echo "$as_me:$LINENO: checking for libsoup22" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup22" >&5
3472  $as_echo_n "checking for libsoup22... " >&6; }  $as_echo_n "checking for libsoup22... " >&6; }
3473    
3474  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3332  if test -n "$PKG_CONFIG"; then Line 3476  if test -n "$PKG_CONFIG"; then
3476          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3477      else      else
3478          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3479      { ($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
3480    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3481    ac_status=$?    ac_status=$?
3482    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3483    (exit $ac_status); }; then    test $ac_status = 0; }; then
3484    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`
3485  else  else
3486    pkg_failed=yes    pkg_failed=yes
# Line 3350  if test -n "$PKG_CONFIG"; then Line 3494  if test -n "$PKG_CONFIG"; then
3494          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3495      else      else
3496          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3497      { ($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
3498    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3499    ac_status=$?    ac_status=$?
3500    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501    (exit $ac_status); }; then    test $ac_status = 0; }; then
3502    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`
3503  else  else
3504    pkg_failed=yes    pkg_failed=yes
# Line 3381  fi Line 3525  fi
3525          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3526          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
3527    
3528          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3529  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3530    
3531      { $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
3532  $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;}
3533    
3534  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3535    
3536      { $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
3537  $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;}
3538    
3539  else  else
3540          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3541          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3542          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3543  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3544    
3545      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 3552  elif test $pkg_failed = untried; then
3552    
3553    
3554  pkg_failed=no  pkg_failed=no
3555  { $as_echo "$as_me:$LINENO: checking for libsoup22" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup22" >&5
3556  $as_echo_n "checking for libsoup22... " >&6; }  $as_echo_n "checking for libsoup22... " >&6; }
3557    
3558  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3416  if test -n "$PKG_CONFIG"; then Line 3560  if test -n "$PKG_CONFIG"; then
3560          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3561      else      else
3562          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3563      { ($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
3564    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3565    ac_status=$?    ac_status=$?
3566    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3567    (exit $ac_status); }; then    test $ac_status = 0; }; then
3568    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`
3569  else  else
3570    pkg_failed=yes    pkg_failed=yes
# Line 3434  if test -n "$PKG_CONFIG"; then Line 3578  if test -n "$PKG_CONFIG"; then
3578          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3579      else      else
3580          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3581      { ($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
3582    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3583    ac_status=$?    ac_status=$?
3584    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3585    (exit $ac_status); }; then    test $ac_status = 0; }; then
3586    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`
3587  else  else
3588    pkg_failed=yes    pkg_failed=yes
# Line 3465  fi Line 3609  fi
3609          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3610          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
3611    
3612          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3614    
3615      { $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
3616  $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;}
3617    
3618  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3619    
3620      { $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
3621  $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;}
3622    
3623  else  else
3624          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3625          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3626          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3627  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3628    
3629      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 3635  fi
3635  else  else
3636          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS
3637          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS
3638          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3639  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3640    
3641    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 3647  fi
3647  # check for gtkhtml-3.14  # check for gtkhtml-3.14
3648    
3649  pkg_failed=no  pkg_failed=no
3650  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgtkhtml3_14" >&5
3651  $as_echo_n "checking for libgtkhtml3_14... " >&6; }  $as_echo_n "checking for libgtkhtml3_14... " >&6; }
3652    
3653  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3511  if test -n "$PKG_CONFIG"; then Line 3655  if test -n "$PKG_CONFIG"; then
3655          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"
3656      else      else
3657          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3658      { ($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
3659    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3660    ac_status=$?    ac_status=$?
3661    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3662    (exit $ac_status); }; then    test $ac_status = 0; }; then
3663    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`
3664  else  else
3665    pkg_failed=yes    pkg_failed=yes
# Line 3529  if test -n "$PKG_CONFIG"; then Line 3673  if test -n "$PKG_CONFIG"; then
3673          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"
3674      else      else
3675          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3676      { ($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
3677    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3678    ac_status=$?    ac_status=$?
3679    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3680    (exit $ac_status); }; then    test $ac_status = 0; }; then
3681    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`
3682  else  else
3683    pkg_failed=yes    pkg_failed=yes
# Line 3560  fi Line 3704  fi
3704          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3705          echo "$libgtkhtml3_14_PKG_ERRORS" >&5          echo "$libgtkhtml3_14_PKG_ERRORS" >&5
3706    
3707          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3709    
3710    # ok, we can also live with 3.8    # ok, we can also live with 3.8
3711    
3712  pkg_failed=no  pkg_failed=no
3713  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgtkhtml3_8" >&5
3714  $as_echo_n "checking for libgtkhtml3_8... " >&6; }  $as_echo_n "checking for libgtkhtml3_8... " >&6; }
3715    
3716  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3574  if test -n "$PKG_CONFIG"; then Line 3718  if test -n "$PKG_CONFIG"; then
3718          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3719      else      else
3720          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3721      { ($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
3722    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3723    ac_status=$?    ac_status=$?
3724    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3725    (exit $ac_status); }; then    test $ac_status = 0; }; then
3726    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`
3727  else  else
3728    pkg_failed=yes    pkg_failed=yes
# Line 3592  if test -n "$PKG_CONFIG"; then Line 3736  if test -n "$PKG_CONFIG"; then
3736          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3737      else      else
3738          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3739      { ($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
3740    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3741    ac_status=$?    ac_status=$?
3742    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3743    (exit $ac_status); }; then    test $ac_status = 0; }; then
3744    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`
3745  else  else
3746    pkg_failed=yes    pkg_failed=yes
# Line 3623  fi Line 3767  fi
3767          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3768          echo "$libgtkhtml3_8_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3769    
3770          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3772                  { { $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; }; }  
3773  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3774          { { $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; }; }  
3775  else  else
3776          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3777          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3778          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3779  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3780    
3781      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
# Line 3648  elif test $pkg_failed = untried; then Line 3788  elif test $pkg_failed = untried; then
3788    # ok, we can also live with 3.8    # ok, we can also live with 3.8
3789    
3790  pkg_failed=no  pkg_failed=no
3791  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgtkhtml3_8" >&5
3792  $as_echo_n "checking for libgtkhtml3_8... " >&6; }  $as_echo_n "checking for libgtkhtml3_8... " >&6; }
3793    
3794  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3656  if test -n "$PKG_CONFIG"; then Line 3796  if test -n "$PKG_CONFIG"; then
3796          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3797      else      else
3798          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3799      { ($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
3800    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3801    ac_status=$?    ac_status=$?
3802    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3803    (exit $ac_status); }; then    test $ac_status = 0; }; then
3804    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`
3805  else  else
3806    pkg_failed=yes    pkg_failed=yes
# Line 3674  if test -n "$PKG_CONFIG"; then Line 3814  if test -n "$PKG_CONFIG"; then
3814          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3815      else      else
3816          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3817      { ($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
3818    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3819    ac_status=$?    ac_status=$?
3820    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3821    (exit $ac_status); }; then    test $ac_status = 0; }; then
3822    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`
3823  else  else
3824    pkg_failed=yes    pkg_failed=yes
# Line 3705  fi Line 3845  fi
3845          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3846          echo "$libgtkhtml3_8_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3847    
3848          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3849  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3850                  { { $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; }; }  
3851  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3852          { { $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; }; }  
3853  else  else
3854          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3855          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3856          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3857  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3858    
3859      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
# Line 3728  fi Line 3864  fi
3864  else  else
3865          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS
3866          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS
3867          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3868  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
3869    
3870    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"
# Line 3737  $as_echo "yes" >&6; } Line 3873  $as_echo "yes" >&6; }
3873  fi  fi
3874    
3875  # check for maemo  # check for maemo
3876  { $as_echo "$as_me:$LINENO: checking for Maemo" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Maemo" >&5
3877  $as_echo_n "checking for Maemo... " >&6; }  $as_echo_n "checking for Maemo... " >&6; }
3878    
3879    ac_ext=c
3880    ac_cpp='$CPP $CPPFLAGS'
3881    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3882    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3883    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3884    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3885    $as_echo_n "checking how to run the C preprocessor... " >&6; }
3886    # On Suns, sometimes $CPP names a directory.
3887    if test -n "$CPP" && test -d "$CPP"; then
3888      CPP=
3889    fi
3890    if test -z "$CPP"; then
3891      if test "${ac_cv_prog_CPP+set}" = set; then :
3892      $as_echo_n "(cached) " >&6
3893    else
3894          # Double quotes because CPP needs to be expanded
3895        for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3896        do
3897          ac_preproc_ok=false
3898    for ac_c_preproc_warn_flag in '' yes
3899    do
3900      # Use a header file that comes with gcc, so configuring glibc
3901      # with a fresh cross-compiler works.
3902      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3903      # <limits.h> exists even on freestanding compilers.
3904      # On the NeXT, cc -E runs the code through the compiler's parser,
3905      # not just through cpp. "Syntax error" is here to catch this case.
3906      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3907    /* end confdefs.h.  */
3908    #ifdef __STDC__
3909    # include <limits.h>
3910    #else
3911    # include <assert.h>
3912    #endif
3913                         Syntax error
3914    _ACEOF
3915    if ac_fn_c_try_cpp "$LINENO"; then :
3916    
3917    else
3918      # Broken: fails on valid input.
3919    continue
3920    fi
3921    rm -f conftest.err conftest.$ac_ext
3922    
3923      # OK, works on sane cases.  Now check whether nonexistent headers
3924      # can be detected and how.
3925      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926    /* end confdefs.h.  */
3927    #include <ac_nonexistent.h>
3928    _ACEOF
3929    if ac_fn_c_try_cpp "$LINENO"; then :
3930      # Broken: success on invalid input.
3931    continue
3932    else
3933      # Passes both tests.
3934    ac_preproc_ok=:
3935    break
3936    fi
3937    rm -f conftest.err conftest.$ac_ext
3938    
3939    done
3940    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3941    rm -f conftest.err conftest.$ac_ext
3942    if $ac_preproc_ok; then :
3943      break
3944    fi
3945    
3946        done
3947        ac_cv_prog_CPP=$CPP
3948    
3949    fi
3950      CPP=$ac_cv_prog_CPP
3951    else
3952      ac_cv_prog_CPP=$CPP
3953    fi
3954    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3955    $as_echo "$CPP" >&6; }
3956    ac_preproc_ok=false
3957    for ac_c_preproc_warn_flag in '' yes
3958    do
3959      # Use a header file that comes with gcc, so configuring glibc
3960      # with a fresh cross-compiler works.
3961      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3962      # <limits.h> exists even on freestanding compilers.
3963      # On the NeXT, cc -E runs the code through the compiler's parser,
3964      # not just through cpp. "Syntax error" is here to catch this case.
3965      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966    /* end confdefs.h.  */
3967    #ifdef __STDC__
3968    # include <limits.h>
3969    #else
3970    # include <assert.h>
3971    #endif
3972                         Syntax error
3973    _ACEOF
3974    if ac_fn_c_try_cpp "$LINENO"; then :
3975    
3976    else
3977      # Broken: fails on valid input.
3978    continue
3979    fi
3980    rm -f conftest.err conftest.$ac_ext
3981    
3982      # OK, works on sane cases.  Now check whether nonexistent headers
3983      # can be detected and how.
3984      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985    /* end confdefs.h.  */
3986    #include <ac_nonexistent.h>
3987    _ACEOF
3988    if ac_fn_c_try_cpp "$LINENO"; then :
3989      # Broken: success on invalid input.
3990    continue
3991    else
3992      # Passes both tests.
3993    ac_preproc_ok=:
3994    break
3995    fi
3996    rm -f conftest.err conftest.$ac_ext
3997    
3998    done
3999    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4000    rm -f conftest.err conftest.$ac_ext
4001    if $ac_preproc_ok; then :
4002    
4003    else
4004      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006    as_fn_error "C preprocessor \"$CPP\" fails sanity check
4007    See \`config.log' for more details." "$LINENO" 5; }
4008    fi
4009    
4010    ac_ext=c
4011    ac_cpp='$CPP $CPPFLAGS'
4012    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4013    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4014    ac_compiler_gnu=$ac_cv_c_compiler_gnu
4015    
4016    
4017    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4018    $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4019    if test "${ac_cv_path_GREP+set}" = set; then :
4020      $as_echo_n "(cached) " >&6
4021    else
4022      if test -z "$GREP"; then
4023      ac_path_GREP_found=false
4024      # Loop through the user's path and test for each of PROGNAME-LIST
4025      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4026    for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4027    do
4028      IFS=$as_save_IFS
4029      test -z "$as_dir" && as_dir=.
4030        for ac_prog in grep ggrep; do
4031        for ac_exec_ext in '' $ac_executable_extensions; do
4032          ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4033          { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4034    # Check for GNU ac_path_GREP and select it if it is found.
4035      # Check for GNU $ac_path_GREP
4036    case `"$ac_path_GREP" --version 2>&1` in
4037    *GNU*)
4038      ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4039    *)
4040      ac_count=0
4041      $as_echo_n 0123456789 >"conftest.in"
4042      while :
4043      do
4044        cat "conftest.in" "conftest.in" >"conftest.tmp"
4045        mv "conftest.tmp" "conftest.in"
4046        cp "conftest.in" "conftest.nl"
4047        $as_echo 'GREP' >> "conftest.nl"
4048        "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4049        diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4050        as_fn_arith $ac_count + 1 && ac_count=$as_val
4051        if test $ac_count -gt ${ac_path_GREP_max-0}; then
4052          # Best one so far, save it but keep looking for a better one
4053          ac_cv_path_GREP="$ac_path_GREP"
4054          ac_path_GREP_max=$ac_count
4055        fi
4056        # 10*(2^10) chars as input seems more than enough
4057        test $ac_count -gt 10 && break
4058      done
4059      rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4060    esac
4061    
4062          $ac_path_GREP_found && break 3
4063        done
4064      done
4065      done
4066    IFS=$as_save_IFS
4067      if test -z "$ac_cv_path_GREP"; then
4068        as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4069      fi
4070    else
4071      ac_cv_path_GREP=$GREP
4072    fi
4073    
4074    fi
4075    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4076    $as_echo "$ac_cv_path_GREP" >&6; }
4077     GREP="$ac_cv_path_GREP"
4078    
4079    
4080    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4081    $as_echo_n "checking for egrep... " >&6; }
4082    if test "${ac_cv_path_EGREP+set}" = set; then :
4083      $as_echo_n "(cached) " >&6
4084    else
4085      if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4086       then ac_cv_path_EGREP="$GREP -E"
4087       else
4088         if test -z "$EGREP"; then
4089      ac_path_EGREP_found=false
4090      # Loop through the user's path and test for each of PROGNAME-LIST
4091      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092    for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4093    do
4094      IFS=$as_save_IFS
4095      test -z "$as_dir" && as_dir=.
4096        for ac_prog in egrep; do
4097        for ac_exec_ext in '' $ac_executable_extensions; do
4098          ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4099          { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4100    # Check for GNU ac_path_EGREP and select it if it is found.
4101      # Check for GNU $ac_path_EGREP
4102    case `"$ac_path_EGREP" --version 2>&1` in
4103    *GNU*)
4104      ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4105    *)
4106      ac_count=0
4107      $as_echo_n 0123456789 >"conftest.in"
4108      while :
4109      do
4110        cat "conftest.in" "conftest.in" >"conftest.tmp"
4111        mv "conftest.tmp" "conftest.in"
4112        cp "conftest.in" "conftest.nl"
4113        $as_echo 'EGREP' >> "conftest.nl"
4114        "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4115        diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4116        as_fn_arith $ac_count + 1 && ac_count=$as_val
4117        if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4118          # Best one so far, save it but keep looking for a better one
4119          ac_cv_path_EGREP="$ac_path_EGREP"
4120          ac_path_EGREP_max=$ac_count
4121        fi
4122        # 10*(2^10) chars as input seems more than enough
4123        test $ac_count -gt 10 && break
4124      done
4125      rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4126    esac
4127    
4128          $ac_path_EGREP_found && break 3
4129        done
4130      done
4131      done
4132    IFS=$as_save_IFS
4133      if test -z "$ac_cv_path_EGREP"; then
4134        as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4135      fi
4136    else
4137      ac_cv_path_EGREP=$EGREP
4138    fi
4139    
4140       fi
4141    fi
4142    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4143    $as_echo "$ac_cv_path_EGREP" >&6; }
4144     EGREP="$ac_cv_path_EGREP"
4145    
4146    
4147    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4148    $as_echo_n "checking for ANSI C header files... " >&6; }
4149    if test "${ac_cv_header_stdc+set}" = set; then :
4150      $as_echo_n "(cached) " >&6
4151    else
4152      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153    /* end confdefs.h.  */
4154    #include <stdlib.h>
4155    #include <stdarg.h>
4156    #include <string.h>
4157    #include <float.h>
4158    
4159    int
4160    main ()
4161    {
4162    
4163      ;
4164      return 0;
4165    }
4166    _ACEOF
4167    if ac_fn_c_try_compile "$LINENO"; then :
4168      ac_cv_header_stdc=yes
4169    else
4170      ac_cv_header_stdc=no
4171    fi
4172    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4173    
4174    if test $ac_cv_header_stdc = yes; then
4175      # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4176      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177    /* end confdefs.h.  */
4178    #include <string.h>
4179    
4180    _ACEOF
4181    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4182      $EGREP "memchr" >/dev/null 2>&1; then :
4183    
4184    else
4185      ac_cv_header_stdc=no
4186    fi
4187    rm -f conftest*
4188    
4189    fi
4190    
4191    if test $ac_cv_header_stdc = yes; then
4192      # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4193      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194    /* end confdefs.h.  */
4195    #include <stdlib.h>
4196    
4197    _ACEOF
4198    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4199      $EGREP "free" >/dev/null 2>&1; then :
4200    
4201    else
4202      ac_cv_header_stdc=no
4203    fi
4204    rm -f conftest*
4205    
4206    fi
4207    
4208    if test $ac_cv_header_stdc = yes; then
4209      # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4210      if test "$cross_compiling" = yes; then :
4211      :
4212    else
4213      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214    /* end confdefs.h.  */
4215    #include <ctype.h>
4216    #include <stdlib.h>
4217    #if ((' ' & 0x0FF) == 0x020)
4218    # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4219    # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4220    #else
4221    # define ISLOWER(c) \
4222                       (('a' <= (c) && (c) <= 'i') \
4223                         || ('j' <= (c) && (c) <= 'r') \
4224                         || ('s' <= (c) && (c) <= 'z'))
4225    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4226    #endif
4227    
4228    #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4229    int
4230    main ()
4231    {
4232      int i;
4233      for (i = 0; i < 256; i++)
4234        if (XOR (islower (i), ISLOWER (i))
4235            || toupper (i) != TOUPPER (i))
4236          return 2;
4237      return 0;
4238    }
4239    _ACEOF
4240    if ac_fn_c_try_run "$LINENO"; then :
4241    
4242    else
4243      ac_cv_header_stdc=no
4244    fi
4245    rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4246      conftest.$ac_objext conftest.beam conftest.$ac_ext
4247    fi
4248    
4249    fi
4250    fi
4251    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4252    $as_echo "$ac_cv_header_stdc" >&6; }
4253    if test $ac_cv_header_stdc = yes; then
4254    
4255    $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4256    
4257    fi
4258    
4259    # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4260    for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4261                      inttypes.h stdint.h unistd.h
4262    do :
4263      as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4264    ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4265    "
4266    eval as_val=\$$as_ac_Header
4267       if test "x$as_val" = x""yes; then :
4268      cat >>confdefs.h <<_ACEOF
4269    #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4270    _ACEOF
4271    
4272    fi
4273    
4274    done
4275    
4276    
4277  if test -n "$PKG_CONFIG" && \  if test -n "$PKG_CONFIG" && \
4278      { ($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
4279    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
4280    ac_status=$?    ac_status=$?
4281    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4282    (exit $ac_status); }; then    test $ac_status = 0; }; then
4283    
4284    MAEMO="yes"    MAEMO="yes"
4285    { $as_echo "$as_me:$LINENO: result: yes" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4286  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4287    
4288    
4289  pkg_failed=no  pkg_failed=no
4290  { $as_echo "$as_me:$LINENO: checking for hildon" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hildon" >&5
4291  $as_echo_n "checking for hildon... " >&6; }  $as_echo_n "checking for hildon... " >&6; }
4292    
4293  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3760  if test -n "$PKG_CONFIG"; then Line 4295  if test -n "$PKG_CONFIG"; then
4295          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"
4296      else      else
4297          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4298      { ($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
4299    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4300    ac_status=$?    ac_status=$?
4301    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4302    (exit $ac_status); }; then    test $ac_status = 0; }; then
4303    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
4304  else  else
4305    pkg_failed=yes    pkg_failed=yes
# Line 3778  if test -n "$PKG_CONFIG"; then Line 4313  if test -n "$PKG_CONFIG"; then
4313          pkg_cv_hildon_LIBS="$hildon_LIBS"          pkg_cv_hildon_LIBS="$hildon_LIBS"
4314      else      else
4315          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4316      { ($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
4317    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4318    ac_status=$?    ac_status=$?
4319    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4320    (exit $ac_status); }; then    test $ac_status = 0; }; then
4321    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
4322  else  else
4323    pkg_failed=yes    pkg_failed=yes
# Line 3809  fi Line 4344  fi
4344          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4345          echo "$hildon_PKG_ERRORS" >&5          echo "$hildon_PKG_ERRORS" >&5
4346    
4347          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348  $as_echo "no" >&6; }  $as_echo "no" >&6; }
4349                  { { $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; }; }  
4350  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4351          { { $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; }; }  
4352  else  else
4353          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS
4354          hildon_LIBS=$pkg_cv_hildon_LIBS          hildon_LIBS=$pkg_cv_hildon_LIBS
4355          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4356  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4357          :          :
4358  fi  fi
# Line 3830  fi Line 4361  fi
4361    
4362    
4363  pkg_failed=no  pkg_failed=no
4364  { $as_echo "$as_me:$LINENO: checking for osso" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for osso" >&5
4365  $as_echo_n "checking for osso... " >&6; }  $as_echo_n "checking for osso... " >&6; }
4366    
4367  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3838  if test -n "$PKG_CONFIG"; then Line 4369  if test -n "$PKG_CONFIG"; then
4369          pkg_cv_osso_CFLAGS="$osso_CFLAGS"          pkg_cv_osso_CFLAGS="$osso_CFLAGS"
4370      else      else
4371          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4372      { ($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
4373    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4374    ac_status=$?    ac_status=$?
4375    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4376    (exit $ac_status); }; then    test $ac_status = 0; }; then
4377    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`
4378  else  else
4379    pkg_failed=yes    pkg_failed=yes
# Line 3856  if test -n "$PKG_CONFIG"; then Line 4387  if test -n "$PKG_CONFIG"; then
4387          pkg_cv_osso_LIBS="$osso_LIBS"          pkg_cv_osso_LIBS="$osso_LIBS"
4388      else      else
4389          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4390      { ($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
4391    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4392    ac_status=$?    ac_status=$?
4393    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4394    (exit $ac_status); }; then    test $ac_status = 0; }; then
4395    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`
4396  else  else
4397    pkg_failed=yes    pkg_failed=yes
# Line 3887  fi Line 4418  fi
4418          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4419          echo "$osso_PKG_ERRORS" >&5          echo "$osso_PKG_ERRORS" >&5
4420    
4421          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422  $as_echo "no" >&6; }  $as_echo "no" >&6; }
4423                  { { $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; }; }  
4424  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4425          { { $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; }; }  
4426  else  else
4427          osso_CFLAGS=$pkg_cv_osso_CFLAGS          osso_CFLAGS=$pkg_cv_osso_CFLAGS
4428          osso_LIBS=$pkg_cv_osso_LIBS          osso_LIBS=$pkg_cv_osso_LIBS
4429          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4430  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4431          :          :
4432  fi  fi
# Line 3908  fi Line 4435  fi
4435    
4436    
4437  pkg_failed=no  pkg_failed=no
4438  { $as_echo "$as_me:$LINENO: checking for hildon_fm_2" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hildon_fm_2" >&5
4439  $as_echo_n "checking for hildon_fm_2... " >&6; }  $as_echo_n "checking for hildon_fm_2... " >&6; }
4440    
4441  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3916  if test -n "$PKG_CONFIG"; then Line 4443  if test -n "$PKG_CONFIG"; then
4443          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"
4444      else      else
4445          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4446      { ($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
4447    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4448    ac_status=$?    ac_status=$?
4449    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4450    (exit $ac_status); }; then    test $ac_status = 0; }; then
4451    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`
4452  else  else
4453    pkg_failed=yes    pkg_failed=yes
# Line 3934  if test -n "$PKG_CONFIG"; then Line 4461  if test -n "$PKG_CONFIG"; then
4461          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"
4462      else      else
4463          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4464      { ($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
4465    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4466    ac_status=$?    ac_status=$?
4467    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4468    (exit $ac_status); }; then    test $ac_status = 0; }; then
4469    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`
4470  else  else
4471    pkg_failed=yes    pkg_failed=yes
# Line 3965  fi Line 4492  fi
4492          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4493          echo "$hildon_fm_2_PKG_ERRORS" >&5          echo "$hildon_fm_2_PKG_ERRORS" >&5
4494    
4495          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4496  $as_echo "no" >&6; }  $as_echo "no" >&6; }
4497                  { { $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; }; }  
4498  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4499          { { $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; }; }  
4500  else  else
4501          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS
4502          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS
4503          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4504  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4505          :          :
4506  fi  fi
# Line 3987  fi Line 4510  fi
4510    # check for sqlite3 for maemo mapper interface    # check for sqlite3 for maemo mapper interface
4511    
4512  pkg_failed=no  pkg_failed=no
4513  { $as_echo "$as_me:$LINENO: checking for sqlite3" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5
4514  $as_echo_n "checking for sqlite3... " >&6; }  $as_echo_n "checking for sqlite3... " >&6; }
4515    
4516  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 3995  if test -n "$PKG_CONFIG"; then Line 4518  if test -n "$PKG_CONFIG"; then
4518          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"
4519      else      else
4520          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4521      { ($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
4522    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4523    ac_status=$?    ac_status=$?
4524    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4525    (exit $ac_status); }; then    test $ac_status = 0; }; then
4526    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
4527  else  else
4528    pkg_failed=yes    pkg_failed=yes
# Line 4013  if test -n "$PKG_CONFIG"; then Line 4536  if test -n "$PKG_CONFIG"; then
4536          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"
4537      else      else
4538          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4539      { ($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
4540    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4541    ac_status=$?    ac_status=$?
4542    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4543    (exit $ac_status); }; then    test $ac_status = 0; }; then
4544    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
4545  else  else
4546    pkg_failed=yes    pkg_failed=yes
# Line 4044  fi Line 4567  fi
4567          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4568          echo "$sqlite3_PKG_ERRORS" >&5          echo "$sqlite3_PKG_ERRORS" >&5
4569    
4570          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571  $as_echo "no" >&6; }  $as_echo "no" >&6; }
4572                  { { $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; }; }  
4573  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4574          { { $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; }; }  
4575  else  else
4576          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS
4577          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS
4578          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4579  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4580          :          :
4581  fi  fi
# Line 4066  fi Line 4585  fi
4585    # check for hildon-help    # check for hildon-help
4586    
4587  pkg_failed=no  pkg_failed=no
4588  { $as_echo "$as_me:$LINENO: checking for hildon_help" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hildon_help" >&5
4589  $as_echo_n "checking for hildon_help... " >&6; }  $as_echo_n "checking for hildon_help... " >&6; }
4590    
4591  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 4074  if test -n "$PKG_CONFIG"; then Line 4593  if test -n "$PKG_CONFIG"; then
4593          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"
4594      else      else
4595          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4596      { ($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
4597    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4598    ac_status=$?    ac_status=$?
4599    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4600    (exit $ac_status); }; then    test $ac_status = 0; }; then
4601    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`
4602  else  else
4603    pkg_failed=yes    pkg_failed=yes
# Line 4092  if test -n "$PKG_CONFIG"; then Line 4611  if test -n "$PKG_CONFIG"; then
4611          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"
4612      else      else
4613          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4614      { ($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
4615    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4616    ac_status=$?    ac_status=$?
4617    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4618    (exit $ac_status); }; then    test $ac_status = 0; }; then
4619    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`
4620  else  else
4621    pkg_failed=yes    pkg_failed=yes
# Line 4123  fi Line 4642  fi
4642          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4643          echo "$hildon_help_PKG_ERRORS" >&5          echo "$hildon_help_PKG_ERRORS" >&5
4644    
4645          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646  $as_echo "no" >&6; }  $as_echo "no" >&6; }
4647    
4648      { $as_echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hildon-help missing" >&5
4649  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}
4650    
4651  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4652    
4653      { $as_echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hildon-help missing" >&5
4654  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}
4655    
4656  else  else
4657          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS
4658          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS
4659          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4660  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4661    
4662      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"
# Line 4148  fi Line 4667  fi
4667    # prefer gpsbt over liblocation as we got complaints regarding liblocation    # prefer gpsbt over liblocation as we got complaints regarding liblocation
4668    # stability    # stability
4669    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4670      { ($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
4671    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4672    ac_status=$?    ac_status=$?
4673    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4674    (exit $ac_status); }; then    test $ac_status = 0; }; then
4675    
4676    
4677  pkg_failed=no  pkg_failed=no
4678  { $as_echo "$as_me:$LINENO: checking for gpsbt" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpsbt" >&5
4679  $as_echo_n "checking for gpsbt... " >&6; }  $as_echo_n "checking for gpsbt... " >&6; }
4680    
4681  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 4164  if test -n "$PKG_CONFIG"; then Line 4683  if test -n "$PKG_CONFIG"; then
4683          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"
4684      else      else
4685          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4686      { ($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
4687    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4688    ac_status=$?    ac_status=$?
4689    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4690    (exit $ac_status); }; then    test $ac_status = 0; }; then
4691    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`
4692  else  else
4693    pkg_failed=yes    pkg_failed=yes
# Line 4182  if test -n "$PKG_CONFIG"; then Line 4701  if test -n "$PKG_CONFIG"; then
4701          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"
4702      else      else
4703          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4704      { ($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
4705    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4706    ac_status=$?    ac_status=$?
4707    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4708    (exit $ac_status); }; then    test $ac_status = 0; }; then
4709    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`
4710  else  else
4711    pkg_failed=yes    pkg_failed=yes
# Line 4213  fi Line 4732  fi
4732          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4733          echo "$gpsbt_PKG_ERRORS" >&5          echo "$gpsbt_PKG_ERRORS" >&5
4734    
4735          { { $as_echo "$as_me:$LINENO: error: Package requirements (gpsbt) were not met:          as_fn_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.  
 " >&5  
 $as_echo "$as_me: error: Package requirements (gpsbt) were not met:  
4736    
4737  $gpsbt_PKG_ERRORS  $gpsbt_PKG_ERRORS
4738    
# Line 4234  installed software in a non-standard pre Line 4742  installed software in a non-standard pre
4742  Alternatively, you may set the environment variables gpsbt_CFLAGS  Alternatively, you may set the environment variables gpsbt_CFLAGS
4743  and gpsbt_LIBS to avoid the need to call pkg-config.  and gpsbt_LIBS to avoid the need to call pkg-config.
4744  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4745  " >&2;}  " "$LINENO" 5
    { (exit 1); exit 1; }; }  
4746  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4747          { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4748  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4749  { { $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  
4750  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
4751  path to pkg-config.  path to pkg-config.
4752    
# Line 4258  and gpsbt_LIBS to avoid the need to call Line 4755  and gpsbt_LIBS to avoid the need to call
4755  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4756    
4757  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4758  See \`config.log' for more details." >&2;}  See \`config.log' for more details." "$LINENO" 5; }
    { (exit 1); exit 1; }; }; }  
4759  else  else
4760          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS
4761          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS
4762          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4763  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4764          :          :
4765  fi  fi
# Line 4272  fi Line 4768  fi
4768    
4769  else  else
4770    
4771      { $as_echo "$as_me:$LINENO: gpsbt not found, trying liblocation" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: gpsbt not found, trying liblocation" >&5
4772  $as_echo "$as_me: gpsbt not found, trying liblocation" >&6;}  $as_echo "$as_me: gpsbt not found, trying liblocation" >&6;}
4773    
4774      if test -n "$PKG_CONFIG" && \      if test -n "$PKG_CONFIG" && \
4775      { ($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
4776    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4777    ac_status=$?    ac_status=$?
4778    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4779    (exit $ac_status); }; then    test $ac_status = 0; }; then
4780    
4781    
4782  pkg_failed=no  pkg_failed=no
4783  { $as_echo "$as_me:$LINENO: checking for liblocation" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblocation" >&5
4784  $as_echo_n "checking for liblocation... " >&6; }  $as_echo_n "checking for liblocation... " >&6; }
4785    
4786  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 4292  if test -n "$PKG_CONFIG"; then Line 4788  if test -n "$PKG_CONFIG"; then
4788          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"
4789      else      else
4790          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4791      { ($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
4792    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4793    ac_status=$?    ac_status=$?
4794    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4795    (exit $ac_status); }; then    test $ac_status = 0; }; then
4796    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`
4797  else  else
4798    pkg_failed=yes    pkg_failed=yes
# Line 4310  if test -n "$PKG_CONFIG"; then Line 4806  if test -n "$PKG_CONFIG"; then
4806          pkg_cv_liblocation_LIBS="$liblocation_LIBS"          pkg_cv_liblocation_LIBS="$liblocation_LIBS"
4807      else      else
4808          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4809      { ($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
4810    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4811    ac_status=$?    ac_status=$?
4812    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4813    (exit $ac_status); }; then    test $ac_status = 0; }; then
4814    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`
4815  else  else
4816    pkg_failed=yes    pkg_failed=yes
# Line 4341  fi Line 4837  fi
4837          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4838          echo "$liblocation_PKG_ERRORS" >&5          echo "$liblocation_PKG_ERRORS" >&5
4839    
4840          { { $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:  
4841    
4842  $liblocation_PKG_ERRORS  $liblocation_PKG_ERRORS
4843    
4844  Consider adjusting the PKG_CONFIG_PATH environment variable if you  Consider adjusting the PKG_CONFIG_PATH environment variable if you
4845  installed software in a non-standard prefix.  installed software in a non-standard prefix.
4846    
 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.  
 " >&2;}  
    { (exit 1); exit 1; }; }  
 elif test $pkg_failed = untried; then  
         { { $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: 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.  
   
4847  Alternatively, you may set the environment variables liblocation_CFLAGS  Alternatively, you may set the environment variables liblocation_CFLAGS
4848  and liblocation_LIBS to avoid the need to call pkg-config.  and liblocation_LIBS to avoid the need to call pkg-config.
4849  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4850    " "$LINENO" 5
4851  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  elif test $pkg_failed = untried; then
4852  See \`config.log' for more details." >&5          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4853  $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4854    as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
4855  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
4856  path to pkg-config.  path to pkg-config.
4857    
# Line 4386  and liblocation_LIBS to avoid the need t Line 4860  and liblocation_LIBS to avoid the need t
4860  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4861    
4862  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4863  See \`config.log' for more details." >&2;}  See \`config.log' for more details." "$LINENO" 5; }
    { (exit 1); exit 1; }; }; }  
4864  else  else
4865          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS
4866          liblocation_LIBS=$pkg_cv_liblocation_LIBS          liblocation_LIBS=$pkg_cv_liblocation_LIBS
4867          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4868  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
4869          :          :
4870  fi  fi
# Line 4400  fi Line 4873  fi
4873    
4874  else  else
4875    
4876        { $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
4877  $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;}
4878    
4879  fi  fi
# Line 4408  fi Line 4881  fi
4881  fi  fi
4882    
4883    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4884      { ($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
4885    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5
4886    ac_status=$?    ac_status=$?
4887    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4888    (exit $ac_status); }; then    test $ac_status = 0; }; then
4889    
4890      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"
4891    
4892  else  else
4893    { $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
4894  $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;}
4895  fi  fi
4896    
4897    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4898      { ($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
4899    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
4900    ac_status=$?    ac_status=$?
4901    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4902    (exit $ac_status); }; then    test $ac_status = 0; }; then
4903    
4904      VERSION=`pkg-config --modversion maemo-version`      VERSION=`pkg-config --modversion maemo-version`
4905      { $as_echo "$as_me:$LINENO: Configuring for Maemo $VERSION" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for Maemo $VERSION" >&5
4906  $as_echo "$as_me: Configuring for Maemo $VERSION" >&6;}  $as_echo "$as_me: Configuring for Maemo $VERSION" >&6;}
4907      CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""      CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""
4908      MAJOR=`echo $VERSION | cut -b1 -`      MAJOR=`echo $VERSION | cut -b1 -`
4909      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"
4910    
4911        MAEMO_VERSION_MAJOR=$MAJOR
4912    
4913    
4914  else  else
4915    
4916      { { $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; }; }  
4917    
4918  fi  fi
4919    
# Line 4448  fi Line 4922  fi
4922    # fremantle uses icons of 48x48 pixels for the app installer,    # fremantle uses icons of 48x48 pixels for the app installer,
4923    # older versions used 26x26    # older versions used 26x26
4924    if [ "$MAJOR" == "5" ]; then    if [ "$MAJOR" == "5" ]; then
4925       ICONNAME=gpxview.48.png       ICONNAME=48x48/gpxview.png
4926         datarootdir=/opt
4927    
4928           # check for libespeak (broken in diablo, hence doing it here)
4929           for ac_header in espeak/speak_lib.h
4930    do :
4931      ac_fn_c_check_header_mongrel "$LINENO" "espeak/speak_lib.h" "ac_cv_header_espeak_speak_lib_h" "$ac_includes_default"
4932    if test "x$ac_cv_header_espeak_speak_lib_h" = x""yes; then :
4933      cat >>confdefs.h <<_ACEOF
4934    #define HAVE_ESPEAK_SPEAK_LIB_H 1
4935    _ACEOF
4936    
4937             CFLAGS="$CFLAGS -DESPEAK"
4938             LIBS="$LIBS -lespeak"
4939    
4940    fi
4941    
4942    done
4943    
4944    else    else
4945       ICONNAME=gpxview.26.png       ICONNAME=26x26/gpxview.png
4946       { $as_echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5       { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling Maemo Mapper support" >&5
4947  $as_echo "$as_me: Enabling Maemo Mapper support" >&6;}  $as_echo "$as_me: Enabling Maemo Mapper support" >&6;}
      CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER"  
      EXTRA_OBJS="$EXTRA_OBJS mm_poi.o"  
4948    fi    fi
4949    
4950      CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER"
4951      EXTRA_OBJS="$EXTRA_OBJS mm_poi.o"
4952    
4953    # maemo uses dbus for ipc with maemo mapper    # maemo uses dbus for ipc with maemo mapper
4954    EXTRA_OBJS="$EXTRA_OBJS dbus.o"    EXTRA_OBJS="$EXTRA_OBJS dbus.o"
4955    
4956    { $as_echo "$as_me:$LINENO: Using application installer icon \"$ICONNAME\"" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: Using application installer icon \"$ICONNAME\"" >&5
4957  $as_echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}  $as_echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}
4958    
4959    # add icon entry to debian/control    # add icon entry to debian/control
# Line 4470  XB-Maemo-Icon-26: Line 4963  XB-Maemo-Icon-26:
4963    
4964    # generate base64 icon, remove first and last line    # generate base64 icon, remove first and last line
4965    # and add a space before each line    # and add a space before each line
4966    ICON="$ICON`uuencode -m data/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`"    ICON="$ICON`uuencode -m data/icons/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`"
4967    
4968    
4969  else  else
4970    
4971    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972  $as_echo "no" >&6; }  $as_echo "no" >&6; }
4973    
4974    EXTRA_OBJS="$EXTRA_OBJS bct.o"    EXTRA_OBJS="$EXTRA_OBJS bct.o"
4975      CFLAGS="$CFLAGS -DBCT"
4976    
4977    # check for gtk+-2.0    # check for gtk+-2.0
4978    
4979  pkg_failed=no  pkg_failed=no
4980  { $as_echo "$as_me:$LINENO: checking for gtk" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk" >&5
4981  $as_echo_n "checking for gtk... " >&6; }  $as_echo_n "checking for gtk... " >&6; }
4982    
4983  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 4491  if test -n "$PKG_CONFIG"; then Line 4985  if test -n "$PKG_CONFIG"; then
4985          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
4986      else      else
4987          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4988      { ($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
4989    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
4990    ac_status=$?    ac_status=$?
4991    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4992    (exit $ac_status); }; then    test $ac_status = 0; }; then
4993    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`
4994  else  else
4995    pkg_failed=yes    pkg_failed=yes
# Line 4509  if test -n "$PKG_CONFIG"; then Line 5003  if test -n "$PKG_CONFIG"; then
5003          pkg_cv_gtk_LIBS="$gtk_LIBS"          pkg_cv_gtk_LIBS="$gtk_LIBS"
5004      else      else
5005          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5006      { ($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
5007    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5008    ac_status=$?    ac_status=$?
5009    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5010    (exit $ac_status); }; then    test $ac_status = 0; }; then
5011    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`
5012  else  else
5013    pkg_failed=yes    pkg_failed=yes
# Line 4540  fi Line 5034  fi
5034          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5035          echo "$gtk_PKG_ERRORS" >&5          echo "$gtk_PKG_ERRORS" >&5
5036    
5037          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038  $as_echo "no" >&6; }  $as_echo "no" >&6; }
5039                  { { $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; }; }  
5040  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5041          { { $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; }; }  
5042  else  else
5043          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
5044          gtk_LIBS=$pkg_cv_gtk_LIBS          gtk_LIBS=$pkg_cv_gtk_LIBS
5045          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5046  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
5047          :          :
5048  fi  fi
# Line 4562  fi Line 5052  fi
5052    # non-maemo device use gnome to call the web browser    # non-maemo device use gnome to call the web browser
5053    
5054  pkg_failed=no  pkg_failed=no
5055  { $as_echo "$as_me:$LINENO: checking for gnome2" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnome2" >&5
5056  $as_echo_n "checking for gnome2... " >&6; }  $as_echo_n "checking for gnome2... " >&6; }
5057    
5058  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
# Line 4570  if test -n "$PKG_CONFIG"; then Line 5060  if test -n "$PKG_CONFIG"; then
5060          pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"          pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"
5061      else      else
5062          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5063      { ($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
5064    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5065    ac_status=$?    ac_status=$?
5066    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5067    (exit $ac_status); }; then    test $ac_status = 0; }; then
5068    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`
5069  else  else
5070    pkg_failed=yes    pkg_failed=yes
# Line 4588  if test -n "$PKG_CONFIG"; then Line 5078  if test -n "$PKG_CONFIG"; then
5078          pkg_cv_gnome2_LIBS="$gnome2_LIBS"          pkg_cv_gnome2_LIBS="$gnome2_LIBS"
5079      else      else
5080          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5081      { ($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
5082    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5083    ac_status=$?    ac_status=$?
5084    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5085    (exit $ac_status); }; then    test $ac_status = 0; }; then
5086    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`
5087  else  else
5088    pkg_failed=yes    pkg_failed=yes
# Line 4619  fi Line 5109  fi
5109          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5110          echo "$gnome2_PKG_ERRORS" >&5          echo "$gnome2_PKG_ERRORS" >&5
5111    
5112          { $as_echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113  $as_echo "no" >&6; }  $as_echo "no" >&6; }
5114                  { { $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; }; }  
5115  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5116          { { $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; }; }  
5117  else  else
5118          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS
5119          gnome2_LIBS=$pkg_cv_gnome2_LIBS          gnome2_LIBS=$pkg_cv_gnome2_LIBS
5120          { $as_echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5121  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
5122          :          :
5123  fi  fi
5124    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"
5125    LIBS="$LIBS $gnome2_LIBS"    LIBS="$LIBS $gnome2_LIBS"
5126    
5127      # check for libespeak
5128      for ac_header in espeak/speak_lib.h
5129    do :
5130      ac_fn_c_check_header_mongrel "$LINENO" "espeak/speak_lib.h" "ac_cv_header_espeak_speak_lib_h" "$ac_includes_default"
5131    if test "x$ac_cv_header_espeak_speak_lib_h" = x""yes; then :
5132      cat >>confdefs.h <<_ACEOF
5133    #define HAVE_ESPEAK_SPEAK_LIB_H 1
5134    _ACEOF
5135    
5136        CFLAGS="$CFLAGS -DESPEAK"
5137        LIBS="$LIBS -lespeak"
5138    
5139    fi
5140    
5141    done
5142    
5143    
5144      # check for libgps
5145    
5146    pkg_failed=no
5147    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gps" >&5
5148    $as_echo_n "checking for gps... " >&6; }
5149    
5150    if test -n "$PKG_CONFIG"; then
5151        if test -n "$gps_CFLAGS"; then
5152            pkg_cv_gps_CFLAGS="$gps_CFLAGS"
5153        else
5154            if test -n "$PKG_CONFIG" && \
5155        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgps\""; } >&5
5156      ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
5157      ac_status=$?
5158      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5159      test $ac_status = 0; }; then
5160      pkg_cv_gps_CFLAGS=`$PKG_CONFIG --cflags "libgps" 2>/dev/null`
5161    else
5162      pkg_failed=yes
5163    fi
5164        fi
5165    else
5166            pkg_failed=untried
5167    fi
5168    if test -n "$PKG_CONFIG"; then
5169        if test -n "$gps_LIBS"; then
5170            pkg_cv_gps_LIBS="$gps_LIBS"
5171        else
5172            if test -n "$PKG_CONFIG" && \
5173        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgps\""; } >&5
5174      ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
5175      ac_status=$?
5176      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5177      test $ac_status = 0; }; then
5178      pkg_cv_gps_LIBS=`$PKG_CONFIG --libs "libgps" 2>/dev/null`
5179    else
5180      pkg_failed=yes
5181    fi
5182        fi
5183    else
5184            pkg_failed=untried
5185    fi
5186    
5187    
5188    
5189    if test $pkg_failed = yes; then
5190    
5191    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5192            _pkg_short_errors_supported=yes
5193    else
5194            _pkg_short_errors_supported=no
5195    fi
5196            if test $_pkg_short_errors_supported = yes; then
5197                    gps_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgps"`
5198            else
5199                    gps_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgps"`
5200            fi
5201            # Put the nasty error message in config.log where it belongs
5202            echo "$gps_PKG_ERRORS" >&5
5203    
5204            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205    $as_echo "no" >&6; }
5206                    { $as_echo "$as_me:${as_lineno-$LINENO}: No libgps found, using direct GPSD" >&5
5207    $as_echo "$as_me: No libgps found, using direct GPSD" >&6;}
5208    elif test $pkg_failed = untried; then
5209            { $as_echo "$as_me:${as_lineno-$LINENO}: No libgps found, using direct GPSD" >&5
5210    $as_echo "$as_me: No libgps found, using direct GPSD" >&6;}
5211    else
5212            gps_CFLAGS=$pkg_cv_gps_CFLAGS
5213            gps_LIBS=$pkg_cv_gps_LIBS
5214            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5215    $as_echo "yes" >&6; }
5216    
5217        CFLAGS="$CFLAGS $gps_CFLAGS -DUSE_LIBGPS"
5218        LIBS="$LIBS $gps_LIBS"
5219    
5220    fi
5221    
5222    INSTALL_PLATTFORM="install-debian"    INSTALL_PLATTFORM="install-debian"
5223    
5224    ICON=" No icon"    ICON=" No icon"
# Line 4677  _ACEOF Line 5258  _ACEOF
5258      case $ac_val in #(      case $ac_val in #(
5259      *${as_nl}*)      *${as_nl}*)
5260        case $ac_var in #(        case $ac_var in #(
5261        *_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
5262  $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;} ;;
5263        esac        esac
5264        case $ac_var in #(        case $ac_var in #(
5265        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
5266        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5267        *) $as_unset $ac_var ;;        *) { eval $ac_var=; unset $ac_var;} ;;
5268        esac ;;        esac ;;
5269      esac      esac
5270    done    done
# Line 4691  $as_echo "$as_me: WARNING: cache variabl Line 5272  $as_echo "$as_me: WARNING: cache variabl
5272    (set) 2>&1 |    (set) 2>&1 |
5273      case $as_nl`(ac_space=' '; set) 2>&1` in #(      case $as_nl`(ac_space=' '; set) 2>&1` in #(
5274      *${as_nl}ac_space=\ *)      *${as_nl}ac_space=\ *)
5275        # `set' does not quote correctly, so add quotes (double-quote        # `set' does not quote correctly, so add quotes: double-quote
5276        # substitution turns \\\\ into \\, and sed turns \\ into \).        # substitution turns \\\\ into \\, and sed turns \\ into \.
5277        sed -n \        sed -n \
5278          "s/'/'\\\\''/g;          "s/'/'\\\\''/g;
5279            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
# Line 4715  $as_echo "$as_me: WARNING: cache variabl Line 5296  $as_echo "$as_me: WARNING: cache variabl
5296  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5297    if test -w "$cache_file"; then    if test -w "$cache_file"; then
5298      test "x$cache_file" != "x/dev/null" &&      test "x$cache_file" != "x/dev/null" &&
5299        { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5300  $as_echo "$as_me: updating cache $cache_file" >&6;}  $as_echo "$as_me: updating cache $cache_file" >&6;}
5301      cat confcache >$cache_file      cat confcache >$cache_file
5302    else    else
5303      { $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
5304  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5305    fi    fi
5306  fi  fi
# Line 4775  for ac_i in : $LIBOBJS; do test "x$ac_i" Line 5356  for ac_i in : $LIBOBJS; do test "x$ac_i"
5356    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5357    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5358    #    will be set to the directory where LIBOBJS objects are built.    #    will be set to the directory where LIBOBJS objects are built.
5359    ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"    as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5360    ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'    as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5361  done  done
5362  LIBOBJS=$ac_libobjs  LIBOBJS=$ac_libobjs
5363    
# Line 4788  LTLIBOBJS=$ac_ltlibobjs Line 5369  LTLIBOBJS=$ac_ltlibobjs
5369  ac_write_fail=0  ac_write_fail=0
5370  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
5371  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5372  { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5373  $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}  $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5374  cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  as_write_fail=0
5375    cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5376  #! $SHELL  #! $SHELL
5377  # Generated by $as_me.  # Generated by $as_me.
5378  # Run this file to recreate the current configuration.  # Run this file to recreate the current configuration.
# Line 4800  cat >$CONFIG_STATUS <<_ACEOF || ac_write Line 5382  cat >$CONFIG_STATUS <<_ACEOF || ac_write
5382  debug=false  debug=false
5383  ac_cs_recheck=false  ac_cs_recheck=false
5384  ac_cs_silent=false  ac_cs_silent=false
 SHELL=\${CONFIG_SHELL-$SHELL}  
 _ACEOF  
5385    
5386  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  SHELL=\${CONFIG_SHELL-$SHELL}
5387  ## --------------------- ##  export SHELL
5388  ## M4sh Initialization.  ##  _ASEOF
5389  ## --------------------- ##  cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5390    ## -------------------- ##
5391    ## M4sh Initialization. ##
5392    ## -------------------- ##
5393    
5394  # Be more Bourne compatible  # Be more Bourne compatible
5395  DUALCASE=1; export DUALCASE # for MKS sh  DUALCASE=1; export DUALCASE # for MKS sh
5396  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 :
5397    emulate sh    emulate sh
5398    NULLCMD=:    NULLCMD=:
5399    # 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 4818  if test -n "${ZSH_VERSION+set}" && (emul Line 5401  if test -n "${ZSH_VERSION+set}" && (emul
5401    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
5402    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
5403  else  else
5404    case `(set -o) 2>/dev/null` in    case `(set -o) 2>/dev/null` in #(
5405    *posix*) set -o posix ;;    *posix*) :
5406        set -o posix ;; #(
5407      *) :
5408         ;;
5409  esac  esac
   
5410  fi  fi
5411    
5412    
   
   
 # 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  
   
5413  as_nl='  as_nl='
5414  '  '
5415  export as_nl  export as_nl
# Line 4842  export as_nl Line 5417  export as_nl
5417  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5418  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5419  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
5420  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,
5421    # but without wasting forks for bash or zsh.
5422    if test -z "$BASH_VERSION$ZSH_VERSION" \
5423        && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5424      as_echo='print -r --'
5425      as_echo_n='print -rn --'
5426    elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5427    as_echo='printf %s\n'    as_echo='printf %s\n'
5428    as_echo_n='printf %s'    as_echo_n='printf %s'
5429  else  else
# Line 4853  else Line 5434  else
5434      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5435      as_echo_n_body='eval      as_echo_n_body='eval
5436        arg=$1;        arg=$1;
5437        case $arg in        case $arg in #(
5438        *"$as_nl"*)        *"$as_nl"*)
5439          expr "X$arg" : "X\\(.*\\)$as_nl";          expr "X$arg" : "X\\(.*\\)$as_nl";
5440          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
# Line 4876  if test "${PATH_SEPARATOR+set}" != set; Line 5457  if test "${PATH_SEPARATOR+set}" != set;
5457    }    }
5458  fi  fi
5459    
 # Support unset when possible.  
 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then  
   as_unset=unset  
 else  
   as_unset=false  
 fi  
   
5460    
5461  # IFS  # IFS
5462  # 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 4892  fi Line 5466  fi
5466  IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
5467    
5468  # 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.
5469  case $0 in  case $0 in #((
5470    *[\\/]* ) as_myself=$0 ;;    *[\\/]* ) as_myself=$0 ;;
5471    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472  for as_dir in $PATH  for as_dir in $PATH
5473  do  do
5474    IFS=$as_save_IFS    IFS=$as_save_IFS
5475    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
5476    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5477  done    done
5478  IFS=$as_save_IFS  IFS=$as_save_IFS
5479    
5480       ;;       ;;
# Line 4912  if test "x$as_myself" = x; then Line 5486  if test "x$as_myself" = x; then
5486  fi  fi
5487  if test ! -f "$as_myself"; then  if test ! -f "$as_myself"; then
5488    $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
5489    { (exit 1); exit 1; }    exit 1
5490  fi  fi
5491    
5492  # Work around bugs in pre-3.0 UWIN ksh.  # Unset variables that we do not need and which cause bugs (e.g. in
5493  for as_var in ENV MAIL MAILPATH  # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5494  do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var  # suppresses any "Segmentation fault" message there.  '((' could
5495    # trigger a bug in pdksh 5.2.14.
5496    for as_var in BASH_ENV ENV MAIL MAILPATH
5497    do eval test x\${$as_var+set} = xset \
5498      && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5499  done  done
5500  PS1='$ '  PS1='$ '
5501  PS2='> '  PS2='> '
# Line 4929  export LC_ALL Line 5507  export LC_ALL
5507  LANGUAGE=C  LANGUAGE=C
5508  export LANGUAGE  export LANGUAGE
5509    
5510  # Required to use basename.  # CDPATH.
5511    (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5512    
5513    
5514    # as_fn_error ERROR [LINENO LOG_FD]
5515    # ---------------------------------
5516    # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5517    # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5518    # script with status $?, using 1 if that was 0.
5519    as_fn_error ()
5520    {
5521      as_status=$?; test $as_status -eq 0 && as_status=1
5522      if test "$3"; then
5523        as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5524        $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5525      fi
5526      $as_echo "$as_me: error: $1" >&2
5527      as_fn_exit $as_status
5528    } # as_fn_error
5529    
5530    
5531    # as_fn_set_status STATUS
5532    # -----------------------
5533    # Set $? to STATUS, without forking.
5534    as_fn_set_status ()
5535    {
5536      return $1
5537    } # as_fn_set_status
5538    
5539    # as_fn_exit STATUS
5540    # -----------------
5541    # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5542    as_fn_exit ()
5543    {
5544      set +e
5545      as_fn_set_status $1
5546      exit $1
5547    } # as_fn_exit
5548    
5549    # as_fn_unset VAR
5550    # ---------------
5551    # Portably unset VAR.
5552    as_fn_unset ()
5553    {
5554      { eval $1=; unset $1;}
5555    }
5556    as_unset=as_fn_unset
5557    # as_fn_append VAR VALUE
5558    # ----------------------
5559    # Append the text in VALUE to the end of the definition contained in VAR. Take
5560    # advantage of any shell optimizations that allow amortized linear growth over
5561    # repeated appends, instead of the typical quadratic growth present in naive
5562    # implementations.
5563    if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5564      eval 'as_fn_append ()
5565      {
5566        eval $1+=\$2
5567      }'
5568    else
5569      as_fn_append ()
5570      {
5571        eval $1=\$$1\$2
5572      }
5573    fi # as_fn_append
5574    
5575    # as_fn_arith ARG...
5576    # ------------------
5577    # Perform arithmetic evaluation on the ARGs, and store the result in the
5578    # global $as_val. Take advantage of shells that can avoid forks. The arguments
5579    # must be portable across $(()) and expr.
5580    if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5581      eval 'as_fn_arith ()
5582      {
5583        as_val=$(( $* ))
5584      }'
5585    else
5586      as_fn_arith ()
5587      {
5588        as_val=`expr "$@" || test $? -eq 1`
5589      }
5590    fi # as_fn_arith
5591    
5592    
5593  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
5594     test "X`expr 00001 : '.*\(...\)'`" = X001; then     test "X`expr 00001 : '.*\(...\)'`" = X001; then
5595    as_expr=expr    as_expr=expr
# Line 4943  else Line 5603  else
5603    as_basename=false    as_basename=false
5604  fi  fi
5605    
5606    if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5607      as_dirname=dirname
5608    else
5609      as_dirname=false
5610    fi
5611    
 # Name of the executable.  
5612  as_me=`$as_basename -- "$0" ||  as_me=`$as_basename -- "$0" ||
5613  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5614           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
# Line 4964  $as_echo X/"$0" | Line 5628  $as_echo X/"$0" |
5628            }            }
5629            s/.*/./; q'`            s/.*/./; q'`
5630    
5631  # CDPATH.  # Avoid depending upon Character Ranges.
5632  $as_unset CDPATH  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5633    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5634    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5635    as_cr_digits='0123456789'
5636    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  
5637    
5638  ECHO_C= ECHO_N= ECHO_T=  ECHO_C= ECHO_N= ECHO_T=
5639  case `echo -n x` in  case `echo -n x` in #(((((
5640  -n*)  -n*)
5641    case `echo 'x\c'` in    case `echo 'xy\c'` in
5642    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5643    *)   ECHO_C='\c';;    xy)  ECHO_C='\c';;
5644      *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5645           ECHO_T=' ';;
5646    esac;;    esac;;
5647  *)  *)
5648    ECHO_N='-n';;    ECHO_N='-n';;
5649  esac  esac
 if expr a : '\(a\)' >/dev/null 2>&1 &&  
    test "X`expr 00001 : '.*\(...\)'`" = X001; then  
   as_expr=expr  
 else  
   as_expr=false  
 fi  
5650    
5651  rm -f conf$$ conf$$.exe conf$$.file  rm -f conf$$ conf$$.exe conf$$.file
5652  if test -d conf$$.dir; then  if test -d conf$$.dir; then
# Line 5062  fi Line 5675  fi
5675  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5676  rmdir conf$$.dir 2>/dev/null  rmdir conf$$.dir 2>/dev/null
5677    
5678    
5679    # as_fn_mkdir_p
5680    # -------------
5681    # Create "$as_dir" as a directory, including parents if necessary.
5682    as_fn_mkdir_p ()
5683    {
5684    
5685      case $as_dir in #(
5686      -*) as_dir=./$as_dir;;
5687      esac
5688      test -d "$as_dir" || eval $as_mkdir_p || {
5689        as_dirs=
5690        while :; do
5691          case $as_dir in #(
5692          *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5693          *) as_qdir=$as_dir;;
5694          esac
5695          as_dirs="'$as_qdir' $as_dirs"
5696          as_dir=`$as_dirname -- "$as_dir" ||
5697    $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5698             X"$as_dir" : 'X\(//\)[^/]' \| \
5699             X"$as_dir" : 'X\(//\)$' \| \
5700             X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5701    $as_echo X"$as_dir" |
5702        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5703                s//\1/
5704                q
5705              }
5706              /^X\(\/\/\)[^/].*/{
5707                s//\1/
5708                q
5709              }
5710              /^X\(\/\/\)$/{
5711                s//\1/
5712                q
5713              }
5714              /^X\(\/\).*/{
5715                s//\1/
5716                q
5717              }
5718              s/.*/./; q'`
5719          test -d "$as_dir" && break
5720        done
5721        test -z "$as_dirs" || eval "mkdir $as_dirs"
5722      } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5723    
5724    
5725    } # as_fn_mkdir_p
5726  if mkdir -p . 2>/dev/null; then  if mkdir -p . 2>/dev/null; then
5727    as_mkdir_p=:    as_mkdir_p='mkdir -p "$as_dir"'
5728  else  else
5729    test -d ./-p && rmdir ./-p    test -d ./-p && rmdir ./-p
5730    as_mkdir_p=false    as_mkdir_p=false
# Line 5082  else Line 5743  else
5743        if test -d "$1"; then        if test -d "$1"; then
5744          test -d "$1/.";          test -d "$1/.";
5745        else        else
5746          case $1 in          case $1 in #(
5747          -*)set "./$1";;          -*)set "./$1";;
5748          esac;          esac;
5749          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5750          ???[sx]*):;;*)false;;esac;fi          ???[sx]*):;;*)false;;esac;fi
5751      '\'' sh      '\'' sh
5752    '    '
# Line 5100  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr Line 5761  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
5761    
5762    
5763  exec 6>&1  exec 6>&1
5764    ## ----------------------------------- ##
5765    ## Main body of $CONFIG_STATUS script. ##
5766    ## ----------------------------------- ##
5767    _ASEOF
5768    test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5769    
5770  # Save the log message, to keep $[0] and so on meaningful, and to  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5771    # Save the log message, to keep $0 and so on meaningful, and to
5772  # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
5773  # values after options handling.  # values after options handling.
5774  ac_log="  ac_log="
5775  This file was extended by GPXView $as_me 0.8.10, which was  This file was extended by GPXView $as_me 0.9.5, which was
5776  generated by GNU Autoconf 2.63.  Invocation command line was  generated by GNU Autoconf 2.65.  Invocation command line was
5777    
5778    CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
5779    CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 5133  _ACEOF Line 5800  _ACEOF
5800    
5801  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5802  ac_cs_usage="\  ac_cs_usage="\
5803  \`$as_me' instantiates files from templates according to the  \`$as_me' instantiates files and other configuration actions
5804  current configuration.  from templates according to the current configuration.  Unless the files
5805    and actions are specified as TAGs, all are instantiated by default.
5806    
5807  Usage: $0 [OPTION]... [FILE]...  Usage: $0 [OPTION]... [TAG]...
5808    
5809    -h, --help       print this help, then exit    -h, --help       print this help, then exit
5810    -V, --version    print version number and configuration settings, then exit    -V, --version    print version number and configuration settings, then exit
5811          --config     print configuration, then exit
5812    -q, --quiet, --silent    -q, --quiet, --silent
5813                     do not print progress messages                     do not print progress messages
5814    -d, --debug      don't remove temporary files    -d, --debug      don't remove temporary files
# Line 5150  Usage: $0 [OPTION]... [FILE]... Line 5819  Usage: $0 [OPTION]... [FILE]...
5819  Configuration files:  Configuration files:
5820  $config_files  $config_files
5821    
5822  Report bugs to <bug-autoconf@gnu.org>."  Report bugs to <till@harbaum.org>."
5823    
5824  _ACEOF  _ACEOF
5825  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5826    ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5827  ac_cs_version="\\  ac_cs_version="\\
5828  GPXView config.status 0.8.10  GPXView config.status 0.9.5
5829  configured by $0, generated by GNU Autoconf 2.63,  configured by $0, generated by GNU Autoconf 2.65,
5830    with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"    with options \\"\$ac_cs_config\\"
5831    
5832  Copyright (C) 2008 Free Software Foundation, Inc.  Copyright (C) 2009 Free Software Foundation, Inc.
5833  This config.status script is free software; the Free Software Foundation  This config.status script is free software; the Free Software Foundation
5834  gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
5835    
# Line 5193  do Line 5863  do
5863      ac_cs_recheck=: ;;      ac_cs_recheck=: ;;
5864    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5865      $as_echo "$ac_cs_version"; exit ;;      $as_echo "$ac_cs_version"; exit ;;
5866      --config | --confi | --conf | --con | --co | --c )
5867        $as_echo "$ac_cs_config"; exit ;;
5868    --debug | --debu | --deb | --de | --d | -d )    --debug | --debu | --deb | --de | --d | -d )
5869      debug=: ;;      debug=: ;;
5870    --file | --fil | --fi | --f )    --file | --fil | --fi | --f )
# Line 5200  do Line 5872  do
5872      case $ac_optarg in      case $ac_optarg in
5873      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5874      esac      esac
5875      CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"      as_fn_append CONFIG_FILES " '$ac_optarg'"
5876      ac_need_defaults=false;;      ac_need_defaults=false;;
5877    --he | --h |  --help | --hel | -h )    --he | --h |  --help | --hel | -h )
5878      $as_echo "$ac_cs_usage"; exit ;;      $as_echo "$ac_cs_usage"; exit ;;
# Line 5209  do Line 5881  do
5881      ac_cs_silent=: ;;      ac_cs_silent=: ;;
5882    
5883    # This is an error.    # This is an error.
5884    -*) { $as_echo "$as_me: error: unrecognized option: $1    -*) as_fn_error "unrecognized option: \`$1'
5885  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information." ;;
    { (exit 1); exit 1; }; } ;;  
5886    
5887    *) ac_config_targets="$ac_config_targets $1"    *) as_fn_append ac_config_targets " $1"
5888       ac_need_defaults=false ;;       ac_need_defaults=false ;;
5889    
5890    esac    esac
# Line 5264  do Line 5935  do
5935      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
5936      "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;      "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;
5937    
5938    *) { { $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; }; };;  
5939    esac    esac
5940  done  done
5941    
# Line 5291  $debug || Line 5960  $debug ||
5960    trap 'exit_status=$?    trap 'exit_status=$?
5961    { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status    { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5962  ' 0  ' 0
5963    trap '{ (exit 1); exit 1; }' 1 2 13 15    trap 'as_fn_exit 1' 1 2 13 15
5964  }  }
5965  # Create a (secure) tmp directory for tmp files.  # Create a (secure) tmp directory for tmp files.
5966    
# Line 5302  $debug || Line 5971  $debug ||
5971  {  {
5972    tmp=./conf$$-$RANDOM    tmp=./conf$$-$RANDOM
5973    (umask 077 && mkdir "$tmp")    (umask 077 && mkdir "$tmp")
5974  } ||  } || 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; }  
 }  
5975    
5976  # Set up the scripts for CONFIG_FILES section.  # Set up the scripts for CONFIG_FILES section.
5977  # No need to generate them if there are no CONFIG_FILES.  # No need to generate them if there are no CONFIG_FILES.
# Line 5314  $debug || Line 5979  $debug ||
5979  if test -n "$CONFIG_FILES"; then  if test -n "$CONFIG_FILES"; then
5980    
5981    
5982  ac_cr=' '  ac_cr=`echo X | tr X '\015'`
5983    # On cygwin, bash can eat \r inside `` if the user requested igncr.
5984    # But we know of no other shell where ac_cr would be empty at this
5985    # point, so we can use a bashism as a fallback.
5986    if test "x$ac_cr" = x; then
5987      eval ac_cr=\$\'\\r\'
5988    fi
5989  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`
5990  if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then  if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5991    ac_cs_awk_cr='\\r'    ac_cs_awk_cr='\r'
5992  else  else
5993    ac_cs_awk_cr=$ac_cr    ac_cs_awk_cr=$ac_cr
5994  fi  fi
# Line 5331  _ACEOF Line 6002  _ACEOF
6002    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6003    echo "_ACEOF"    echo "_ACEOF"
6004  } >conf$$subs.sh ||  } >conf$$subs.sh ||
6005    { { $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; }; }  
6006  ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`  ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6007  ac_delim='%!_!# '  ac_delim='%!_!# '
6008  for ac_last_try in false false false false false :; do  for ac_last_try in false false false false false :; do
6009    . ./conf$$subs.sh ||    . ./conf$$subs.sh ||
6010      { { $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; }; }  
6011    
6012    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`
6013    if test $ac_delim_n = $ac_delim_num; then    if test $ac_delim_n = $ac_delim_num; then
6014      break      break
6015    elif $ac_last_try; then    elif $ac_last_try; then
6016      { { $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; }; }  
6017    else    else
6018      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6019    fi    fi
# Line 5370  s/'"$ac_delim"'$// Line 6035  s/'"$ac_delim"'$//
6035  t delim  t delim
6036  :nl  :nl
6037  h  h
6038  s/\(.\{148\}\).*/\1/  s/\(.\{148\}\)..*/\1/
6039  t more1  t more1
6040  s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/  s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6041  p  p
# Line 5384  s/.\{148\}// Line 6049  s/.\{148\}//
6049  t nl  t nl
6050  :delim  :delim
6051  h  h
6052  s/\(.\{148\}\).*/\1/  s/\(.\{148\}\)..*/\1/
6053  t more2  t more2
6054  s/["\\]/\\&/g; s/^/"/; s/$/"/  s/["\\]/\\&/g; s/^/"/; s/$/"/
6055  p  p
# Line 5437  if sed "s/$ac_cr//" < /dev/null > /dev/n Line 6102  if sed "s/$ac_cr//" < /dev/null > /dev/n
6102  else  else
6103    cat    cat
6104  fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \  fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6105    || { { $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; }; }  
6106  _ACEOF  _ACEOF
6107    
6108  # VPATH may cause trouble with some makes, so we remove $(srcdir),  # VPATH may cause trouble with some makes, so we remove $(srcdir),
# Line 5470  do Line 6133  do
6133    esac    esac
6134    case $ac_mode$ac_tag in    case $ac_mode$ac_tag in
6135    :[FHL]*:*);;    :[FHL]*:*);;
6136    :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; }; };;  
6137    :[FH]-) ac_tag=-:-;;    :[FH]-) ac_tag=-:-;;
6138    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6139    esac    esac
# Line 5500  $as_echo "$as_me: error: invalid tag $ac Line 6161  $as_echo "$as_me: error: invalid tag $ac
6161             [\\/$]*) false;;             [\\/$]*) false;;
6162             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6163             esac ||             esac ||
6164             { { $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; }; };;  
6165        esac        esac
6166        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
6167        ac_file_inputs="$ac_file_inputs '$ac_f'"        as_fn_append ac_file_inputs " '$ac_f'"
6168      done      done
6169    
6170      # 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 5516  $as_echo "$as_me: error: cannot find inp Line 6175  $as_echo "$as_me: error: cannot find inp
6175          `' by configure.'          `' by configure.'
6176      if test x"$ac_file" != x-; then      if test x"$ac_file" != x-; then
6177        configure_input="$ac_file.  $configure_input"        configure_input="$ac_file.  $configure_input"
6178        { $as_echo "$as_me:$LINENO: creating $ac_file" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6179  $as_echo "$as_me: creating $ac_file" >&6;}  $as_echo "$as_me: creating $ac_file" >&6;}
6180      fi      fi
6181      # Neutralize special characters interpreted by sed in replacement strings.      # Neutralize special characters interpreted by sed in replacement strings.
# Line 5529  $as_echo "$as_me: creating $ac_file" >&6 Line 6188  $as_echo "$as_me: creating $ac_file" >&6
6188    
6189      case $ac_tag in      case $ac_tag in
6190      *:-:* | *:-) cat >"$tmp/stdin" \      *:-:* | *:-) cat >"$tmp/stdin" \
6191        || { { $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; }; } ;;  
6192      esac      esac
6193      ;;      ;;
6194    esac    esac
# Line 5559  $as_echo X"$ac_file" | Line 6216  $as_echo X"$ac_file" |
6216              q              q
6217            }            }
6218            s/.*/./; q'`            s/.*/./; q'`
6219    { 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; }; }; }  
6220    ac_builddir=.    ac_builddir=.
6221    
6222  case "$ac_dir" in  case "$ac_dir" in
# Line 5651  cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri Line 6268  cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
6268  # If the template does not know about datarootdir, expand it.  # If the template does not know about datarootdir, expand it.
6269  # FIXME: This hack should be removed a few years after 2.60.  # FIXME: This hack should be removed a few years after 2.60.
6270  ac_datarootdir_hack=; ac_datarootdir_seen=  ac_datarootdir_hack=; ac_datarootdir_seen=
   
6271  ac_sed_dataroot='  ac_sed_dataroot='
6272  /datarootdir/ {  /datarootdir/ {
6273    p    p
# Line 5661  ac_sed_dataroot=' Line 6277  ac_sed_dataroot='
6277  /@docdir@/p  /@docdir@/p
6278  /@infodir@/p  /@infodir@/p
6279  /@localedir@/p  /@localedir@/p
6280  /@mandir@/p  /@mandir@/p'
 '  
6281  case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in  case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6282  *datarootdir*) ac_datarootdir_seen=yes;;  *datarootdir*) ac_datarootdir_seen=yes;;
6283  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6284    { $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
6285  $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;}
6286  _ACEOF  _ACEOF
6287  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# Line 5676  cat >>$CONFIG_STATUS <<_ACEOF || ac_writ Line 6291  cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
6291    s&@infodir@&$infodir&g    s&@infodir@&$infodir&g
6292    s&@localedir@&$localedir&g    s&@localedir@&$localedir&g
6293    s&@mandir@&$mandir&g    s&@mandir@&$mandir&g
6294      s&\\\${datarootdir}&$datarootdir&g' ;;    s&\\\${datarootdir}&$datarootdir&g' ;;
6295  esac  esac
6296  _ACEOF  _ACEOF
6297    
# Line 5704  s&@INSTALL@&$ac_INSTALL&;t t Line 6319  s&@INSTALL@&$ac_INSTALL&;t t
6319  $ac_datarootdir_hack  $ac_datarootdir_hack
6320  "  "
6321  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 \
6322    || { { $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; }; }  
6323    
6324  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6325    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6326    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6327    { $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'
6328  which seems to be undefined.  Please make sure it is defined." >&5  which seems to be undefined.  Please make sure it is defined." >&5
6329  $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'
6330  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 5721  which seems to be undefined.  Please mak Line 6334  which seems to be undefined.  Please mak
6334    -) cat "$tmp/out" && rm -f "$tmp/out";;    -) cat "$tmp/out" && rm -f "$tmp/out";;
6335    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6336    esac \    esac \
6337    || { { $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; }; }  
6338   ;;   ;;
6339    
6340    
# Line 5733  $as_echo "$as_me: error: could not creat Line 6344  $as_echo "$as_me: error: could not creat
6344  done # for ac_tag  done # for ac_tag
6345    
6346    
6347  { (exit 0); exit 0; }  as_fn_exit 0
6348  _ACEOF  _ACEOF
 chmod +x $CONFIG_STATUS  
6349  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
6350    
6351  test $ac_write_fail = 0 ||  test $ac_write_fail = 0 ||
6352    { { $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; }; }  
6353    
6354    
6355  # configure is writing to config.log, and then calls config.status.  # configure is writing to config.log, and then calls config.status.
# Line 5762  if test "$no_create" != yes; then Line 6370  if test "$no_create" != yes; then
6370    exec 5>>config.log    exec 5>>config.log
6371    # Use ||, not &&, to avoid exiting from the if with $? = 1, which    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6372    # would make configure fail if this is the last instruction.    # would make configure fail if this is the last instruction.
6373    $ac_cs_success || { (exit 1); exit 1; }    $ac_cs_success || as_fn_exit $?
6374  fi  fi
6375  if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then  if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6376    { $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
6377  $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}  $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6378  fi  fi
6379    

Legend:
Removed from v.126  
changed lines
  Added in v.297