Diff of /trunk/configure

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

revision 281 by harbaum, Fri May 21 19:28:16 2010 UTC revision 282 by harbaum, Wed May 26 19:21:47 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.65 for GPXView 0.9.4.  # Generated by GNU Autoconf 2.61 for GPXView 0.9.4.
4  #  #
5  # Report bugs to <till@harbaum.org>.  # Report bugs to <till@harbaum.org>.
6  #  #
 #  
7  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8  # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,  # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 # Inc.  
 #  
 #  
9  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
10  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
11  ## -------------------- ##  ## --------------------- ##
12  ## M4sh Initialization. ##  ## M4sh Initialization.  ##
13  ## -------------------- ##  ## --------------------- ##
14    
15  # Be more Bourne compatible  # Be more Bourne compatible
16  DUALCASE=1; export DUALCASE # for MKS sh  DUALCASE=1; export DUALCASE # for MKS sh
17  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
18    emulate sh    emulate sh
19    NULLCMD=:    NULLCMD=:
20    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
22    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
23    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
24  else  else
25    case `(set -o) 2>/dev/null` in #(    case `(set -o) 2>/dev/null` in
26    *posix*) :    *posix*) set -o posix ;;
     set -o posix ;; #(  
   *) :  
      ;;  
27  esac  esac
28    
29  fi  fi
30    
31    
32  as_nl='  
33  '  
34  export as_nl  # PATH needs CR
35  # Printing a long string crashes Solaris 7 /usr/bin/printf.  # Avoid depending upon Character Ranges.
36  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo  as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39  # Prefer a ksh shell builtin over an external printf program on Solaris,  as_cr_digits='0123456789'
40  # but without wasting forks for bash or zsh.  as_cr_alnum=$as_cr_Letters$as_cr_digits
41  if test -z "$BASH_VERSION$ZSH_VERSION" \  
42      && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then  # The user is always right.
43    as_echo='print -r --'  if test "${PATH_SEPARATOR+set}" != set; then
44    as_echo_n='print -rn --'    echo "#! /bin/sh" >conf$$.sh
45  elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then    echo  "exit 0"   >>conf$$.sh
46    as_echo='printf %s\n'    chmod +x conf$$.sh
47    as_echo_n='printf %s'    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48  else      PATH_SEPARATOR=';'
   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then  
     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'  
     as_echo_n='/usr/ucb/echo -n'  
49    else    else
50      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'      PATH_SEPARATOR=:
     as_echo_n_body='eval  
       arg=$1;  
       case $arg in #(  
       *"$as_nl"*)  
         expr "X$arg" : "X\\(.*\\)$as_nl";  
         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;  
       esac;  
       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"  
     '  
     export as_echo_n_body  
     as_echo_n='sh -c $as_echo_n_body as_echo'  
51    fi    fi
52    export as_echo_body    rm -f conf$$.sh
   as_echo='sh -c $as_echo_body as_echo'  
53  fi  fi
54    
55  # The user is always right.  # Support unset when possible.
56  if test "${PATH_SEPARATOR+set}" != set; then  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57    PATH_SEPARATOR=:    as_unset=unset
58    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {  else
59      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||    as_unset=false
       PATH_SEPARATOR=';'  
   }  
60  fi  fi
61    
62    
# Line 88  fi Line 65  fi
65  # there to prevent editors from complaining about space-tab.  # there to prevent editors from complaining about space-tab.
66  # (If _AS_PATH_WALK were called with IFS unset, it would disable word  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67  # splitting by setting IFS to empty value.)  # splitting by setting IFS to empty value.)
68    as_nl='
69    '
70  IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
71    
72  # 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.
73  case $0 in #((  case $0 in
74    *[\\/]* ) as_myself=$0 ;;    *[\\/]* ) as_myself=$0 ;;
75    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76  for as_dir in $PATH  for as_dir in $PATH
77  do  do
78    IFS=$as_save_IFS    IFS=$as_save_IFS
79    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
80      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81    done  done
82  IFS=$as_save_IFS  IFS=$as_save_IFS
83    
84       ;;       ;;
# Line 110  if test "x$as_myself" = x; then Line 89  if test "x$as_myself" = x; then
89    as_myself=$0    as_myself=$0
90  fi  fi
91  if test ! -f "$as_myself"; then  if test ! -f "$as_myself"; then
92    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2    echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93    exit 1    { (exit 1); exit 1; }
94  fi  fi
95    
96  # Unset variables that we do not need and which cause bugs (e.g. in  # Work around bugs in pre-3.0 UWIN ksh.
97  # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"  for as_var in ENV MAIL MAILPATH
98  # suppresses any "Segmentation fault" message there.  '((' could  do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 # trigger a bug in pdksh 5.2.14.  
 for as_var in BASH_ENV ENV MAIL MAILPATH  
 do eval test x\${$as_var+set} = xset \  
   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :  
99  done  done
100  PS1='$ '  PS1='$ '
101  PS2='> '  PS2='> '
102  PS4='+ '  PS4='+ '
103    
104  # NLS nuisances.  # NLS nuisances.
105  LC_ALL=C  for as_var in \
106  export LC_ALL    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107  LANGUAGE=C    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108  export LANGUAGE    LC_TELEPHONE LC_TIME
109    do
110      if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111        eval $as_var=C; export $as_var
112      else
113        ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114      fi
115    done
116    
117    # Required to use basename.
118    if expr a : '\(a\)' >/dev/null 2>&1 &&
119       test "X`expr 00001 : '.*\(...\)'`" = X001; then
120      as_expr=expr
121    else
122      as_expr=false
123    fi
124    
125    if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126      as_basename=basename
127    else
128      as_basename=false
129    fi
130    
131    
132    # Name of the executable.
133    as_me=`$as_basename -- "$0" ||
134    $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135             X"$0" : 'X\(//\)$' \| \
136             X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137    echo X/"$0" |
138        sed '/^.*\/\([^/][^/]*\)\/*$/{
139                s//\1/
140                q
141              }
142              /^X\/\(\/\/\)$/{
143                s//\1/
144                q
145              }
146              /^X\/\(\/\).*/{
147                s//\1/
148                q
149              }
150              s/.*/./; q'`
151    
152  # CDPATH.  # CDPATH.
153  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH  $as_unset CDPATH
154    
155    
156  if test "x$CONFIG_SHELL" = x; then  if test "x$CONFIG_SHELL" = x; then
157    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :    if (eval ":") 2>/dev/null; then
158    emulate sh    as_have_required=yes
   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  
159  else  else
160    case \`(set -o) 2>/dev/null\` in #(    as_have_required=no
   *posix*) :  
     set -o posix ;; #(  
   *) :  
      ;;  
 esac  
161  fi  fi
162  "  
163    as_required="as_fn_return () { (exit \$1); }    if test $as_have_required = yes &&     (eval ":
164  as_fn_success () { as_fn_return 0; }  (as_func_return () {
165  as_fn_failure () { as_fn_return 1; }    (exit \$1)
166  as_fn_ret_success () { return 0; }  }
167  as_fn_ret_failure () { return 1; }  as_func_success () {
168      as_func_return 0
169    }
170    as_func_failure () {
171      as_func_return 1
172    }
173    as_func_ret_success () {
174      return 0
175    }
176    as_func_ret_failure () {
177      return 1
178    }
179    
180  exitcode=0  exitcode=0
181  as_fn_success || { exitcode=1; echo as_fn_success failed.; }  if as_func_success; then
182  as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }    :
 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }  
 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }  
 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :  
   
 else  
   exitcode=1; echo positional parameters were not saved.  
 fi  
 test x\$exitcode = x0 || exit 1"  
   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO  
   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO  
   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&  
   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1  
 test \$(( 1 + 1 )) = 2 || exit 1"  
   if (eval "$as_required") 2>/dev/null; then :  
   as_have_required=yes  
183  else  else
184    as_have_required=no    exitcode=1
185      echo as_func_success failed.
186    fi
187    
188    if as_func_failure; then
189      exitcode=1
190      echo as_func_failure succeeded.
191  fi  fi
   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :  
192    
193    if as_func_ret_success; then
194      :
195  else  else
196    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    exitcode=1
197  as_found=false    echo as_func_ret_success failed.
198    fi
199    
200    if as_func_ret_failure; then
201      exitcode=1
202      echo as_func_ret_failure succeeded.
203    fi
204    
205    if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206      :
207    else
208      exitcode=1
209      echo positional parameters were not saved.
210    fi
211    
212    test \$exitcode = 0) || { (exit 1); exit 1; }
213    
214    (
215      as_lineno_1=\$LINENO
216      as_lineno_2=\$LINENO
217      test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218      test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219    ") 2> /dev/null; then
220      :
221    else
222      as_candidate_shells=
223        as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225  do  do
226    IFS=$as_save_IFS    IFS=$as_save_IFS
227    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
228    as_found=:    case $as_dir in
   case $as_dir in #(  
229           /*)           /*)
230             for as_base in sh bash ksh sh5; do             for as_base in sh bash ksh sh5; do
231               # Try only shells that exist, to save several forks.               as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
              as_shell=$as_dir/$as_base  
              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&  
                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :  
   CONFIG_SHELL=$as_shell as_have_required=yes  
                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :  
   break 2  
 fi  
 fi  
232             done;;             done;;
233         esac         esac
   as_found=false  
234  done  done
 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&  
               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :  
   CONFIG_SHELL=$SHELL as_have_required=yes  
 fi; }  
235  IFS=$as_save_IFS  IFS=$as_save_IFS
236    
237    
238        if test "x$CONFIG_SHELL" != x; then :        for as_shell in $as_candidate_shells $SHELL; do
239    # We cannot yet assume a decent shell, so we have to provide a           # Try only shells that exist, to save several forks.
240          # neutralization value for shells without unset; and this also           if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241          # works around shells that cannot unset nonexistent variables.                  { ("$as_shell") 2> /dev/null <<\_ASEOF
242          BASH_ENV=/dev/null  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243          ENV=/dev/null    emulate sh
244          (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV    NULLCMD=:
245          export CONFIG_SHELL    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246          exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}    # is contrary to our usage.  Disable this feature.
247  fi    alias -g '${1+"$@"}'='"$@"'
248      setopt NO_GLOB_SUBST
249      if test x$as_have_required = xno; then :  else
250    $as_echo "$0: This script requires a shell more modern than all"    case `(set -o) 2>/dev/null` in
251    $as_echo "$0: the shells that I found on your system."    *posix*) set -o posix ;;
252    if test x${ZSH_VERSION+set} = xset ; then  esac
253      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"  
     $as_echo "$0: be upgraded to zsh 4.3.4 or later."  
   else  
     $as_echo "$0: Please tell bug-autoconf@gnu.org and till@harbaum.org  
 $0: about your system, including any error possibly output  
 $0: before this message. Then install a modern shell, or  
 $0: manually run the script under such a shell if you do  
 $0: have one."  
   fi  
   exit 1  
 fi  
254  fi  fi
255    
256    
257    :
258    _ASEOF
259    }; then
260      CONFIG_SHELL=$as_shell
261                   as_have_required=yes
262                   if { "$as_shell" 2> /dev/null <<\_ASEOF
263    if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264      emulate sh
265      NULLCMD=:
266      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267      # is contrary to our usage.  Disable this feature.
268      alias -g '${1+"$@"}'='"$@"'
269      setopt NO_GLOB_SUBST
270    else
271      case `(set -o) 2>/dev/null` in
272      *posix*) set -o posix ;;
273    esac
274    
275  fi  fi
 SHELL=${CONFIG_SHELL-/bin/sh}  
 export SHELL  
 # Unset more variables known to interfere with behavior of common tools.  
 CLICOLOR_FORCE= GREP_OPTIONS=  
 unset CLICOLOR_FORCE GREP_OPTIONS  
276    
277  ## --------------------- ##  
278  ## M4sh Shell Functions. ##  :
279  ## --------------------- ##  (as_func_return () {
280  # as_fn_unset VAR    (exit $1)
281  # ---------------  }
282  # Portably unset VAR.  as_func_success () {
283  as_fn_unset ()    as_func_return 0
284  {  }
285    { eval $1=; unset $1;}  as_func_failure () {
286      as_func_return 1
287    }
288    as_func_ret_success () {
289      return 0
290    }
291    as_func_ret_failure () {
292      return 1
293  }  }
 as_unset=as_fn_unset  
294    
295  # as_fn_set_status STATUS  exitcode=0
296  # -----------------------  if as_func_success; then
297  # Set $? to STATUS, without forking.    :
298  as_fn_set_status ()  else
299  {    exitcode=1
300    return $1    echo as_func_success failed.
301  } # as_fn_set_status  fi
302    
303  # as_fn_exit STATUS  if as_func_failure; then
304  # -----------------    exitcode=1
305  # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.    echo as_func_failure succeeded.
306  as_fn_exit ()  fi
 {  
   set +e  
   as_fn_set_status $1  
   exit $1  
 } # as_fn_exit  
   
 # as_fn_mkdir_p  
 # -------------  
 # Create "$as_dir" as a directory, including parents if necessary.  
 as_fn_mkdir_p ()  
 {  
307    
308    case $as_dir in #(  if as_func_ret_success; then
309    -*) as_dir=./$as_dir;;    :
310    esac  else
311    test -d "$as_dir" || eval $as_mkdir_p || {    exitcode=1
312      as_dirs=    echo as_func_ret_success failed.
313      while :; do  fi
       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_fn_error "cannot create directory $as_dir"  
314    
315    if as_func_ret_failure; then
316      exitcode=1
317      echo as_func_ret_failure succeeded.
318    fi
319    
320  } # as_fn_mkdir_p  if ( set x; as_func_ret_success y && test x = "$1" ); then
321  # as_fn_append VAR VALUE    :
 # ----------------------  
 # Append the text in VALUE to the end of the definition contained in VAR. Take  
 # advantage of any shell optimizations that allow amortized linear growth over  
 # repeated appends, instead of the typical quadratic growth present in naive  
 # implementations.  
 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :  
   eval 'as_fn_append ()  
   {  
     eval $1+=\$2  
   }'  
 else  
   as_fn_append ()  
   {  
     eval $1=\$$1\$2  
   }  
 fi # as_fn_append  
   
 # as_fn_arith ARG...  
 # ------------------  
 # Perform arithmetic evaluation on the ARGs, and store the result in the  
 # global $as_val. Take advantage of shells that can avoid forks. The arguments  
 # must be portable across $(()) and expr.  
 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :  
   eval 'as_fn_arith ()  
   {  
     as_val=$(( $* ))  
   }'  
322  else  else
323    as_fn_arith ()    exitcode=1
324    {    echo positional parameters were not saved.
325      as_val=`expr "$@" || test $? -eq 1`  fi
   }  
 fi # as_fn_arith  
326    
327    test $exitcode = 0) || { (exit 1); exit 1; }
328    
329  # as_fn_error ERROR [LINENO LOG_FD]  (
330  # ---------------------------------    as_lineno_1=$LINENO
331  # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are    as_lineno_2=$LINENO
332  # provided, also output the error to LOG_FD, referencing LINENO. Then exit the    test "x$as_lineno_1" != "x$as_lineno_2" &&
333  # script with status $?, using 1 if that was 0.    test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 as_fn_error ()  
 {  
   as_status=$?; test $as_status -eq 0 && as_status=1  
   if test "$3"; then  
     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack  
     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3  
   fi  
   $as_echo "$as_me: error: $1" >&2  
   as_fn_exit $as_status  
 } # as_fn_error  
334    
335  if expr a : '\(a\)' >/dev/null 2>&1 &&  _ASEOF
336     test "X`expr 00001 : '.*\(...\)'`" = X001; then  }; then
337    as_expr=expr    break
338    fi
339    
340    fi
341    
342          done
343    
344          if test "x$CONFIG_SHELL" != x; then
345      for as_var in BASH_ENV ENV
346            do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347            done
348            export CONFIG_SHELL
349            exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350    fi
351    
352    
353        if test $as_have_required = no; then
354      echo This script requires a shell more modern than all the
355          echo shells that I found on your system.  Please install a
356          echo modern shell, or manually run the script under such a
357          echo shell if you do have one.
358          { (exit 1); exit 1; }
359    fi
360    
361    
362    fi
363    
364    fi
365    
366    
367    
368    (eval "as_func_return () {
369      (exit \$1)
370    }
371    as_func_success () {
372      as_func_return 0
373    }
374    as_func_failure () {
375      as_func_return 1
376    }
377    as_func_ret_success () {
378      return 0
379    }
380    as_func_ret_failure () {
381      return 1
382    }
383    
384    exitcode=0
385    if as_func_success; then
386      :
387  else  else
388    as_expr=false    exitcode=1
389      echo as_func_success failed.
390  fi  fi
391    
392  if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then  if as_func_failure; then
393    as_basename=basename    exitcode=1
394      echo as_func_failure succeeded.
395    fi
396    
397    if as_func_ret_success; then
398      :
399  else  else
400    as_basename=false    exitcode=1
401      echo as_func_ret_success failed.
402  fi  fi
403    
404  if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then  if as_func_ret_failure; then
405    as_dirname=dirname    exitcode=1
406      echo as_func_ret_failure succeeded.
407    fi
408    
409    if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410      :
411  else  else
412    as_dirname=false    exitcode=1
413      echo positional parameters were not saved.
414  fi  fi
415    
416  as_me=`$as_basename -- "$0" ||  test \$exitcode = 0") || {
417  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \    echo No shell found that supports shell functions.
418           X"$0" : 'X\(//\)$' \| \    echo Please tell autoconf@gnu.org about your system,
419           X"$0" : 'X\(/\)' \| . 2>/dev/null ||    echo including any error possibly output before this
420  $as_echo X/"$0" |    echo message
421      sed '/^.*\/\([^/][^/]*\)\/*$/{  }
             s//\1/  
             q  
           }  
           /^X\/\(\/\/\)$/{  
             s//\1/  
             q  
           }  
           /^X\/\(\/\).*/{  
             s//\1/  
             q  
           }  
           s/.*/./; q'`  
422    
 # 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  
423    
424    
425    as_lineno_1=$LINENO as_lineno_1a=$LINENO    as_lineno_1=$LINENO
426    as_lineno_2=$LINENO as_lineno_2a=$LINENO    as_lineno_2=$LINENO
427    eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&    test "x$as_lineno_1" != "x$as_lineno_2" &&
428    test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {    test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429    # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)  
430      # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431      # uniformly replaced by the line number.  The first 'sed' inserts a
432      # line-number line after each line using $LINENO; the second 'sed'
433      # does the real work.  The second script uses 'N' to pair each
434      # line-number line with the line containing $LINENO, and appends
435      # trailing '-' during substitution so that $LINENO is not a special
436      # case at line end.
437      # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438      # scripts with optimization help from Paolo Bonzini.  Blame Lee
439      # E. McMahon (1931-1989) for sed's syntax.  :-)
440    sed -n '    sed -n '
441      p      p
442      /[$]LINENO/=      /[$]LINENO/=
# Line 442  as_cr_alnum=$as_cr_Letters$as_cr_digits Line 453  as_cr_alnum=$as_cr_Letters$as_cr_digits
453        s/-\n.*//        s/-\n.*//
454      ' >$as_me.lineno &&      ' >$as_me.lineno &&
455    chmod +x "$as_me.lineno" ||    chmod +x "$as_me.lineno" ||
456      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }      { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457       { (exit 1); exit 1; }; }
458    
459    # Don't try to exec as it changes $[0], causing all sort of problems    # Don't try to exec as it changes $[0], causing all sort of problems
460    # (the dirname of $[0] is not the place where we might find the    # (the dirname of $[0] is not the place where we might find the
# Line 452  as_cr_alnum=$as_cr_Letters$as_cr_digits Line 464  as_cr_alnum=$as_cr_Letters$as_cr_digits
464    exit    exit
465  }  }
466    
467    
468    if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469      as_dirname=dirname
470    else
471      as_dirname=false
472    fi
473    
474  ECHO_C= ECHO_N= ECHO_T=  ECHO_C= ECHO_N= ECHO_T=
475  case `echo -n x` in #(((((  case `echo -n x` in
476  -n*)  -n*)
477    case `echo 'xy\c'` in    case `echo 'x\c'` in
478    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479    xy)  ECHO_C='\c';;    *)   ECHO_C='\c';;
   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null  
        ECHO_T=' ';;  
480    esac;;    esac;;
481  *)  *)
482    ECHO_N='-n';;    ECHO_N='-n';;
483  esac  esac
484    
485    if expr a : '\(a\)' >/dev/null 2>&1 &&
486       test "X`expr 00001 : '.*\(...\)'`" = X001; then
487      as_expr=expr
488    else
489      as_expr=false
490    fi
491    
492  rm -f conf$$ conf$$.exe conf$$.file  rm -f conf$$ conf$$.exe conf$$.file
493  if test -d conf$$.dir; then  if test -d conf$$.dir; then
494    rm -f conf$$.dir/conf$$.file    rm -f conf$$.dir/conf$$.file
495  else  else
496    rm -f conf$$.dir    rm -f conf$$.dir
497    mkdir conf$$.dir 2>/dev/null    mkdir conf$$.dir
498  fi  fi
499  if (echo >conf$$.file) 2>/dev/null; then  echo >conf$$.file
500    if ln -s conf$$.file conf$$ 2>/dev/null; then  if ln -s conf$$.file conf$$ 2>/dev/null; then
501      as_ln_s='ln -s'    as_ln_s='ln -s'
502      # ... but there are two gotchas:    # ... but there are two gotchas:
503      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505      # In both cases, we have to default to `cp -p'.    # In both cases, we have to default to `cp -p'.
506      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
       as_ln_s='cp -p'  
   elif ln conf$$.file conf$$ 2>/dev/null; then  
     as_ln_s=ln  
   else  
507      as_ln_s='cp -p'      as_ln_s='cp -p'
508    fi  elif ln conf$$.file conf$$ 2>/dev/null; then
509      as_ln_s=ln
510  else  else
511    as_ln_s='cp -p'    as_ln_s='cp -p'
512  fi  fi
# Line 493  rm -f conf$$ conf$$.exe conf$$.dir/conf$ Line 514  rm -f conf$$ conf$$.exe conf$$.dir/conf$
514  rmdir conf$$.dir 2>/dev/null  rmdir conf$$.dir 2>/dev/null
515    
516  if mkdir -p . 2>/dev/null; then  if mkdir -p . 2>/dev/null; then
517    as_mkdir_p='mkdir -p "$as_dir"'    as_mkdir_p=:
518  else  else
519    test -d ./-p && rmdir ./-p    test -d ./-p && rmdir ./-p
520    as_mkdir_p=false    as_mkdir_p=false
# Line 510  else Line 531  else
531    as_test_x='    as_test_x='
532      eval sh -c '\''      eval sh -c '\''
533        if test -d "$1"; then        if test -d "$1"; then
534          test -d "$1/.";          test -d "$1/.";
535        else        else
536          case $1 in #(          case $1 in
537          -*)set "./$1";;          -*)set "./$1";;
538          esac;          esac;
539          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540          ???[sx]*):;;*)false;;esac;fi          ???[sx]*):;;*)false;;esac;fi
541      '\'' sh      '\'' sh
542    '    '
# Line 529  as_tr_cpp="eval sed 'y%*$as_cr_letters%P Line 550  as_tr_cpp="eval sed 'y%*$as_cr_letters%P
550  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551    
552    
553  test -n "$DJDIR" || exec 7<&0 </dev/null  
554  exec 6>&1  exec 7<&0 </dev/null 6>&1
555    
556  # Name of the host.  # Name of the host.
557  # 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 548  cross_compiling=no Line 569  cross_compiling=no
569  subdirs=  subdirs=
570  MFLAGS=  MFLAGS=
571  MAKEFLAGS=  MAKEFLAGS=
572    SHELL=${CONFIG_SHELL-/bin/sh}
573    
574  # Identity of this package.  # Identity of this package.
575  PACKAGE_NAME='GPXView'  PACKAGE_NAME='GPXView'
# Line 555  PACKAGE_TARNAME='gpxview' Line 577  PACKAGE_TARNAME='gpxview'
577  PACKAGE_VERSION='0.9.4'  PACKAGE_VERSION='0.9.4'
578  PACKAGE_STRING='GPXView 0.9.4'  PACKAGE_STRING='GPXView 0.9.4'
579  PACKAGE_BUGREPORT='till@harbaum.org'  PACKAGE_BUGREPORT='till@harbaum.org'
 PACKAGE_URL=''  
580    
581  ac_unique_file="src/main.c"  ac_unique_file="src/main.c"
582  # Factoring default headers for most tests.  # Factoring default headers for most tests.
# Line 593  ac_includes_default="\ Line 614  ac_includes_default="\
614  #ifdef HAVE_UNISTD_H  #ifdef HAVE_UNISTD_H
615  # include <unistd.h>  # include <unistd.h>
616  #endif"  #endif"
617    
618  ac_subst_vars='LTLIBOBJS  ac_subst_vars='SHELL
 LIBOBJS  
 INSTALL_PLATTFORM  
 ICON  
 EXTRA_OBJS  
 gnome2_LIBS  
 gnome2_CFLAGS  
 gtk_LIBS  
 gtk_CFLAGS  
 EGREP  
 GREP  
 CPP  
 MAEMO_VERSION_MAJOR  
 liblocation_LIBS  
 liblocation_CFLAGS  
 gpsbt_LIBS  
 gpsbt_CFLAGS  
 hildon_help_LIBS  
 hildon_help_CFLAGS  
 sqlite3_LIBS  
 sqlite3_CFLAGS  
 hildon_fm_2_LIBS  
 hildon_fm_2_CFLAGS  
 osso_LIBS  
 osso_CFLAGS  
 hildon_LIBS  
 hildon_CFLAGS  
 libgtkhtml3_8_LIBS  
 libgtkhtml3_8_CFLAGS  
 libgtkhtml3_14_LIBS  
 libgtkhtml3_14_CFLAGS  
 libsoup22_LIBS  
 libsoup22_CFLAGS  
 libsoup24_LIBS  
 libsoup24_CFLAGS  
 libcurl_LIBS  
 libcurl_CFLAGS  
 libxml2_LIBS  
 libxml2_CFLAGS  
 gnome_vfs_module_LIBS  
 gnome_vfs_module_CFLAGS  
 PKG_CONFIG  
 SET_MAKE  
 LN_S  
 INSTALL_DATA  
 INSTALL_SCRIPT  
 INSTALL_PROGRAM  
 OBJEXT  
 EXEEXT  
 ac_ct_CC  
 CPPFLAGS  
 LDFLAGS  
 CFLAGS  
 CC  
 PACKAGE  
 target_alias  
 host_alias  
 build_alias  
 LIBS  
 ECHO_T  
 ECHO_N  
 ECHO_C  
 DEFS  
 mandir  
 localedir  
 libdir  
 psdir  
 pdfdir  
 dvidir  
 htmldir  
 infodir  
 docdir  
 oldincludedir  
 includedir  
 localstatedir  
 sharedstatedir  
 sysconfdir  
 datadir  
 datarootdir  
 libexecdir  
 sbindir  
 bindir  
 program_transform_name  
 prefix  
 exec_prefix  
 PACKAGE_URL  
 PACKAGE_BUGREPORT  
 PACKAGE_STRING  
 PACKAGE_VERSION  
 PACKAGE_TARNAME  
 PACKAGE_NAME  
619  PATH_SEPARATOR  PATH_SEPARATOR
620  SHELL'  PACKAGE_NAME
621    PACKAGE_TARNAME
622    PACKAGE_VERSION
623    PACKAGE_STRING
624    PACKAGE_BUGREPORT
625    exec_prefix
626    prefix
627    program_transform_name
628    bindir
629    sbindir
630    libexecdir
631    datarootdir
632    datadir
633    sysconfdir
634    sharedstatedir
635    localstatedir
636    includedir
637    oldincludedir
638    docdir
639    infodir
640    htmldir
641    dvidir
642    pdfdir
643    psdir
644    libdir
645    localedir
646    mandir
647    DEFS
648    ECHO_C
649    ECHO_N
650    ECHO_T
651    LIBS
652    build_alias
653    host_alias
654    target_alias
655    PACKAGE
656    CC
657    CFLAGS
658    LDFLAGS
659    CPPFLAGS
660    ac_ct_CC
661    EXEEXT
662    OBJEXT
663    INSTALL_PROGRAM
664    INSTALL_SCRIPT
665    INSTALL_DATA
666    LN_S
667    SET_MAKE
668    PKG_CONFIG
669    gnome_vfs_module_CFLAGS
670    gnome_vfs_module_LIBS
671    libxml2_CFLAGS
672    libxml2_LIBS
673    libcurl_CFLAGS
674    libcurl_LIBS
675    libsoup24_CFLAGS
676    libsoup24_LIBS
677    libsoup22_CFLAGS
678    libsoup22_LIBS
679    libgtkhtml3_14_CFLAGS
680    libgtkhtml3_14_LIBS
681    libgtkhtml3_8_CFLAGS
682    libgtkhtml3_8_LIBS
683    hildon_CFLAGS
684    hildon_LIBS
685    osso_CFLAGS
686    osso_LIBS
687    hildon_fm_2_CFLAGS
688    hildon_fm_2_LIBS
689    sqlite3_CFLAGS
690    sqlite3_LIBS
691    hildon_help_CFLAGS
692    hildon_help_LIBS
693    gpsbt_CFLAGS
694    gpsbt_LIBS
695    liblocation_CFLAGS
696    liblocation_LIBS
697    MAEMO_VERSION_MAJOR
698    CPP
699    GREP
700    EGREP
701    gtk_CFLAGS
702    gtk_LIBS
703    gnome2_CFLAGS
704    gnome2_LIBS
705    gps_CFLAGS
706    gps_LIBS
707    EXTRA_OBJS
708    ICON
709    INSTALL_PLATTFORM
710    LIBOBJS
711    LTLIBOBJS'
712  ac_subst_files=''  ac_subst_files=''
 ac_user_opts='  
 enable_option_checking  
 '  
713        ac_precious_vars='build_alias        ac_precious_vars='build_alias
714  host_alias  host_alias
715  target_alias  target_alias
# Line 732  CPP Line 751  CPP
751  gtk_CFLAGS  gtk_CFLAGS
752  gtk_LIBS  gtk_LIBS
753  gnome2_CFLAGS  gnome2_CFLAGS
754  gnome2_LIBS'  gnome2_LIBS
755    gps_CFLAGS
756    gps_LIBS'
757    
758    
759  # Initialize some variables set by options.  # Initialize some variables set by options.
760  ac_init_help=  ac_init_help=
761  ac_init_version=false  ac_init_version=false
 ac_unrecognized_opts=  
 ac_unrecognized_sep=  
762  # The variables have the same names as the options, with  # The variables have the same names as the options, with
763  # dashes changed to underlines.  # dashes changed to underlines.
764  cache_file=/dev/null  cache_file=/dev/null
# Line 838  do Line 857  do
857      datarootdir=$ac_optarg ;;      datarootdir=$ac_optarg ;;
858    
859    -disable-* | --disable-*)    -disable-* | --disable-*)
860      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
862      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
863        as_fn_error "invalid feature name: $ac_useropt"        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
864      ac_useropt_orig=$ac_useropt     { (exit 1); exit 1; }; }
865      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
866      case $ac_user_opts in      eval enable_$ac_feature=no ;;
       *"  
 "enable_$ac_useropt"  
 "*) ;;  
       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"  
          ac_unrecognized_sep=', ';;  
     esac  
     eval enable_$ac_useropt=no ;;  
867    
868    -docdir | --docdir | --docdi | --doc | --do)    -docdir | --docdir | --docdi | --doc | --do)
869      ac_prev=docdir ;;      ac_prev=docdir ;;
# Line 864  do Line 876  do
876      dvidir=$ac_optarg ;;      dvidir=$ac_optarg ;;
877    
878    -enable-* | --enable-*)    -enable-* | --enable-*)
879      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
881      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
882        as_fn_error "invalid feature name: $ac_useropt"        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
883      ac_useropt_orig=$ac_useropt     { (exit 1); exit 1; }; }
884      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
885      case $ac_user_opts in      eval enable_$ac_feature=\$ac_optarg ;;
       *"  
 "enable_$ac_useropt"  
 "*) ;;  
       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"  
          ac_unrecognized_sep=', ';;  
     esac  
     eval enable_$ac_useropt=\$ac_optarg ;;  
886    
887    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
888    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 1068  do Line 1073  do
1073      ac_init_version=: ;;      ac_init_version=: ;;
1074    
1075    -with-* | --with-*)    -with-* | --with-*)
1076      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1077      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1078      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1079        as_fn_error "invalid package name: $ac_useropt"        { echo "$as_me: error: invalid package name: $ac_package" >&2
1080      ac_useropt_orig=$ac_useropt     { (exit 1); exit 1; }; }
1081      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1082      case $ac_user_opts in      eval with_$ac_package=\$ac_optarg ;;
       *"  
 "with_$ac_useropt"  
 "*) ;;  
       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"  
          ac_unrecognized_sep=', ';;  
     esac  
     eval with_$ac_useropt=\$ac_optarg ;;  
1083    
1084    -without-* | --without-*)    -without-* | --without-*)
1085      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1086      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1087      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1088        as_fn_error "invalid package name: $ac_useropt"        { echo "$as_me: error: invalid package name: $ac_package" >&2
1089      ac_useropt_orig=$ac_useropt     { (exit 1); exit 1; }; }
1090      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1091      case $ac_user_opts in      eval with_$ac_package=no ;;
       *"  
 "with_$ac_useropt"  
 "*) ;;  
       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"  
          ac_unrecognized_sep=', ';;  
     esac  
     eval with_$ac_useropt=no ;;  
1092    
1093    --x)    --x)
1094      # Obsolete; use --with-x.      # Obsolete; use --with-x.
# Line 1117  do Line 1108  do
1108    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1109      x_libraries=$ac_optarg ;;      x_libraries=$ac_optarg ;;
1110    
1111    -*) as_fn_error "unrecognized option: \`$ac_option'    -*) { echo "$as_me: error: unrecognized option: $ac_option
1112  Try \`$0 --help' for more information."  Try \`$0 --help' for more information." >&2
1113       { (exit 1); exit 1; }; }
1114      ;;      ;;
1115    
1116    *=*)    *=*)
1117      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1118      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1119      case $ac_envvar in #(      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1120        '' | [0-9]* | *[!_$as_cr_alnum]* )        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1121        as_fn_error "invalid variable name: \`$ac_envvar'" ;;     { (exit 1); exit 1; }; }
     esac  
1122      eval $ac_envvar=\$ac_optarg      eval $ac_envvar=\$ac_optarg
1123      export $ac_envvar ;;      export $ac_envvar ;;
1124    
1125    *)    *)
1126      # FIXME: should be removed in autoconf 3.0.      # FIXME: should be removed in autoconf 3.0.
1127      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1128      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1129        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1130      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1131      ;;      ;;
1132    
# Line 1144  done Line 1135  done
1135    
1136  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
1137    ac_option=--`echo $ac_prev | sed 's/_/-/g'`    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1138    as_fn_error "missing argument to $ac_option"    { echo "$as_me: error: missing argument to $ac_option" >&2
1139  fi     { (exit 1); exit 1; }; }
   
 if test -n "$ac_unrecognized_opts"; then  
   case $enable_option_checking in  
     no) ;;  
     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;  
     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;  
   esac  
1140  fi  fi
1141    
1142  # Check all directory arguments for consistency.  # Be sure to have absolute directory names.
1143  for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \  for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1144                  datadir sysconfdir sharedstatedir localstatedir includedir \                  datadir sysconfdir sharedstatedir localstatedir includedir \
1145                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1146                  libdir localedir mandir                  libdir localedir mandir
1147  do  do
1148    eval ac_val=\$$ac_var    eval ac_val=\$$ac_var
   # Remove trailing slashes.  
   case $ac_val in  
     */ )  
       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`  
       eval $ac_var=\$ac_val;;  
   esac  
   # Be sure to have absolute directory names.  
1149    case $ac_val in    case $ac_val in
1150      [\\/$]* | ?:[\\/]* )  continue;;      [\\/$]* | ?:[\\/]* )  continue;;
1151      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1152    esac    esac
1153    as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"    { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1154       { (exit 1); exit 1; }; }
1155  done  done
1156    
1157  # 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 1187  target=$target_alias Line 1165  target=$target_alias
1165  if test "x$host_alias" != x; then  if test "x$host_alias" != x; then
1166    if test "x$build_alias" = x; then    if test "x$build_alias" = x; then
1167      cross_compiling=maybe      cross_compiling=maybe
1168      $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.      echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1169      If a cross compiler is detected then cross compile mode will be used." >&2      If a cross compiler is detected then cross compile mode will be used." >&2
1170    elif test "x$build_alias" != "x$host_alias"; then    elif test "x$build_alias" != "x$host_alias"; then
1171      cross_compiling=yes      cross_compiling=yes
# Line 1203  test "$silent" = yes && exec 6>/dev/null Line 1181  test "$silent" = yes && exec 6>/dev/null
1181  ac_pwd=`pwd` && test -n "$ac_pwd" &&  ac_pwd=`pwd` && test -n "$ac_pwd" &&
1182  ac_ls_di=`ls -di .` &&  ac_ls_di=`ls -di .` &&
1183  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1184    as_fn_error "working directory cannot be determined"    { echo "$as_me: error: Working directory cannot be determined" >&2
1185       { (exit 1); exit 1; }; }
1186  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1187    as_fn_error "pwd does not report name of working directory"    { echo "$as_me: error: pwd does not report name of working directory" >&2
1188       { (exit 1); exit 1; }; }
1189    
1190    
1191  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
1192  if test -z "$srcdir"; then  if test -z "$srcdir"; then
1193    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
1194    # Try the directory containing this script, then the parent directory.    # Try the directory containing this script, then the parent directory.
1195    ac_confdir=`$as_dirname -- "$as_myself" ||    ac_confdir=`$as_dirname -- "$0" ||
1196  $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1197           X"$as_myself" : 'X\(//\)[^/]' \| \           X"$0" : 'X\(//\)[^/]' \| \
1198           X"$as_myself" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
1199           X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1200  $as_echo X"$as_myself" |  echo X"$0" |
1201      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1202              s//\1/              s//\1/
1203              q              q
# Line 1244  else Line 1224  else
1224  fi  fi
1225  if test ! -r "$srcdir/$ac_unique_file"; then  if test ! -r "$srcdir/$ac_unique_file"; then
1226    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1227    as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1228       { (exit 1); exit 1; }; }
1229  fi  fi
1230  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1231  ac_abs_confdir=`(  ac_abs_confdir=`(
1232          cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"          cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1233       { (exit 1); exit 1; }; }
1234          pwd)`          pwd)`
1235  # When building in place, set srcdir=.  # When building in place, set srcdir=.
1236  if test "$ac_abs_confdir" = "$ac_pwd"; then  if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1296  Configuration: Line 1278  Configuration:
1278    
1279  Installation directories:  Installation directories:
1280    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
1281                            [$ac_default_prefix]                            [$ac_default_prefix]
1282    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1283                            [PREFIX]                            [PREFIX]
1284    
1285  By default, \`make install' will install all the files in  By default, \`make install' will install all the files in
1286  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 1308  for instance \`--prefix=\$HOME'. Line 1290  for instance \`--prefix=\$HOME'.
1290  For better control, use the options below.  For better control, use the options below.
1291    
1292  Fine tuning of the installation directories:  Fine tuning of the installation directories:
1293    --bindir=DIR            user executables [EPREFIX/bin]    --bindir=DIR           user executables [EPREFIX/bin]
1294    --sbindir=DIR           system admin executables [EPREFIX/sbin]    --sbindir=DIR          system admin executables [EPREFIX/sbin]
1295    --libexecdir=DIR        program executables [EPREFIX/libexec]    --libexecdir=DIR       program executables [EPREFIX/libexec]
1296    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]    --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1297    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]    --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1298    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]    --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1299    --libdir=DIR            object code libraries [EPREFIX/lib]    --libdir=DIR           object code libraries [EPREFIX/lib]
1300    --includedir=DIR        C header files [PREFIX/include]    --includedir=DIR       C header files [PREFIX/include]
1301    --oldincludedir=DIR     C header files for non-gcc [/usr/include]    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1302    --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]    --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1303    --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]    --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1304    --infodir=DIR           info documentation [DATAROOTDIR/info]    --infodir=DIR          info documentation [DATAROOTDIR/info]
1305    --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]    --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1306    --mandir=DIR            man documentation [DATAROOTDIR/man]    --mandir=DIR           man documentation [DATAROOTDIR/man]
1307    --docdir=DIR            documentation root [DATAROOTDIR/doc/gpxview]    --docdir=DIR           documentation root [DATAROOTDIR/doc/gpxview]
1308    --htmldir=DIR           html documentation [DOCDIR]    --htmldir=DIR          html documentation [DOCDIR]
1309    --dvidir=DIR            dvi documentation [DOCDIR]    --dvidir=DIR           dvi documentation [DOCDIR]
1310    --pdfdir=DIR            pdf documentation [DOCDIR]    --pdfdir=DIR           pdf documentation [DOCDIR]
1311    --psdir=DIR             ps documentation [DOCDIR]    --psdir=DIR            ps documentation [DOCDIR]
1312  _ACEOF  _ACEOF
1313    
1314    cat <<\_ACEOF    cat <<\_ACEOF
# Line 1345  Some influential environment variables: Line 1327  Some influential environment variables:
1327    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
1328                nonstandard directory <lib dir>                nonstandard directory <lib dir>
1329    LIBS        libraries to pass to the linker, e.g. -l<library>    LIBS        libraries to pass to the linker, e.g. -l<library>
1330    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if    CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1331                you have headers in a nonstandard directory <include dir>                you have headers in a nonstandard directory <include dir>
1332    PKG_CONFIG  path to pkg-config utility    PKG_CONFIG  path to pkg-config utility
1333    gnome_vfs_module_CFLAGS    gnome_vfs_module_CFLAGS
# Line 1406  Some influential environment variables: Line 1388  Some influential environment variables:
1388    gnome2_CFLAGS    gnome2_CFLAGS
1389                C compiler flags for gnome2, overriding pkg-config                C compiler flags for gnome2, overriding pkg-config
1390    gnome2_LIBS linker flags for gnome2, overriding pkg-config    gnome2_LIBS linker flags for gnome2, overriding pkg-config
1391      gps_CFLAGS  C compiler flags for gps, overriding pkg-config
1392      gps_LIBS    linker flags for gps, overriding pkg-config
1393    
1394  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
1395  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
# Line 1418  fi Line 1402  fi
1402  if test "$ac_init_help" = "recursive"; then  if test "$ac_init_help" = "recursive"; then
1403    # If there are subdirs, report their specific --help.    # If there are subdirs, report their specific --help.
1404    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405      test -d "$ac_dir" ||      test -d "$ac_dir" || continue
       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||  
       continue  
1406      ac_builddir=.      ac_builddir=.
1407    
1408  case "$ac_dir" in  case "$ac_dir" in
1409  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410  *)  *)
1411    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412    # A ".." for each directory in $ac_dir_suffix.    # A ".." for each directory in $ac_dir_suffix.
1413    ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`    ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414    case $ac_top_builddir_sub in    case $ac_top_builddir_sub in
1415    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
# Line 1464  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ Line 1446  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
1446        echo &&        echo &&
1447        $SHELL "$ac_srcdir/configure" --help=recursive        $SHELL "$ac_srcdir/configure" --help=recursive
1448      else      else
1449        $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450      fi || ac_status=$?      fi || ac_status=$?
1451      cd "$ac_pwd" || { ac_status=$?; break; }      cd "$ac_pwd" || { ac_status=$?; break; }
1452    done    done
# Line 1474  test -n "$ac_init_help" && exit $ac_stat Line 1456  test -n "$ac_init_help" && exit $ac_stat
1456  if $ac_init_version; then  if $ac_init_version; then
1457    cat <<\_ACEOF    cat <<\_ACEOF
1458  GPXView configure 0.9.4  GPXView configure 0.9.4
1459  generated by GNU Autoconf 2.65  generated by GNU Autoconf 2.61
1460    
1461  Copyright (C) 2009 Free Software Foundation, Inc.  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462    2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1463  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1464  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1465  _ACEOF  _ACEOF
1466    exit    exit
1467  fi  fi
   
 ## ------------------------ ##  
 ## Autoconf initialization. ##  
 ## ------------------------ ##  
   
 # ac_fn_c_try_compile LINENO  
 # --------------------------  
 # Try to compile conftest.$ac_ext, and return whether this succeeded.  
 ac_fn_c_try_compile ()  
 {  
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack  
   rm -f conftest.$ac_objext  
   if { { ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""  
 $as_echo "$ac_try_echo"; } >&5  
   (eval "$ac_compile") 2>conftest.err  
   ac_status=$?  
   if test -s conftest.err; then  
     grep -v '^ *+' conftest.err >conftest.er1  
     cat conftest.er1 >&5  
     mv -f conftest.er1 conftest.err  
   fi  
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5  
   test $ac_status = 0; } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest.$ac_objext; then :  
   ac_retval=0  
 else  
   $as_echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
         ac_retval=1  
 fi  
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  
   as_fn_set_status $ac_retval  
   
 } # ac_fn_c_try_compile  
   
 # ac_fn_c_try_cpp LINENO  
 # ----------------------  
 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.  
 ac_fn_c_try_cpp ()  
 {  
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack  
   if { { ac_try="$ac_cpp conftest.$ac_ext"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""  
 $as_echo "$ac_try_echo"; } >&5  
   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err  
   ac_status=$?  
   if test -s conftest.err; then  
     grep -v '^ *+' conftest.err >conftest.er1  
     cat conftest.er1 >&5  
     mv -f conftest.er1 conftest.err  
   fi  
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5  
   test $ac_status = 0; } >/dev/null && {  
          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        }; then :  
   ac_retval=0  
 else  
   $as_echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
     ac_retval=1  
 fi  
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  
   as_fn_set_status $ac_retval  
   
 } # ac_fn_c_try_cpp  
   
 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES  
 # -------------------------------------------------------  
 # Tests whether HEADER exists, giving a warning if it cannot be compiled using  
 # the include files in INCLUDES and setting the cache variable VAR  
 # accordingly.  
 ac_fn_c_check_header_mongrel ()  
 {  
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack  
   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :  
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5  
 $as_echo_n "checking for $2... " >&6; }  
 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :  
   $as_echo_n "(cached) " >&6  
 fi  
 eval ac_res=\$$3  
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5  
 $as_echo "$ac_res" >&6; }  
 else  
   # Is the header compilable?  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5  
 $as_echo_n "checking $2 usability... " >&6; }  
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 $4  
 #include <$2>  
 _ACEOF  
 if ac_fn_c_try_compile "$LINENO"; then :  
   ac_header_compiler=yes  
 else  
   ac_header_compiler=no  
 fi  
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5  
 $as_echo "$ac_header_compiler" >&6; }  
   
 # Is the header present?  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5  
 $as_echo_n "checking $2 presence... " >&6; }  
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 #include <$2>  
 _ACEOF  
 if ac_fn_c_try_cpp "$LINENO"; then :  
   ac_header_preproc=yes  
 else  
   ac_header_preproc=no  
 fi  
 rm -f conftest.err conftest.$ac_ext  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5  
 $as_echo "$ac_header_preproc" >&6; }  
   
 # So?  What about this header?  
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((  
   yes:no: )  
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5  
 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}  
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5  
 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}  
     ;;  
   no:yes:* )  
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5  
 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}  
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5  
 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}  
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5  
 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}  
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5  
 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}  
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5  
 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}  
 ( cat <<\_ASBOX  
 ## ------------------------------- ##  
 ## Report this to till@harbaum.org ##  
 ## ------------------------------- ##  
 _ASBOX  
      ) | sed "s/^/$as_me: WARNING:     /" >&2  
     ;;  
 esac  
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5  
 $as_echo_n "checking for $2... " >&6; }  
 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :  
   $as_echo_n "(cached) " >&6  
 else  
   eval "$3=\$ac_header_compiler"  
 fi  
 eval ac_res=\$$3  
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5  
 $as_echo "$ac_res" >&6; }  
 fi  
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  
   
 } # ac_fn_c_check_header_mongrel  
   
 # ac_fn_c_try_run LINENO  
 # ----------------------  
 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes  
 # that executables *can* be run.  
 ac_fn_c_try_run ()  
 {  
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack  
   if { { ac_try="$ac_link"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""  
 $as_echo "$ac_try_echo"; } >&5  
   (eval "$ac_link") 2>&5  
   ac_status=$?  
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5  
   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'  
   { { case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""  
 $as_echo "$ac_try_echo"; } >&5  
   (eval "$ac_try") 2>&5  
   ac_status=$?  
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5  
   test $ac_status = 0; }; }; then :  
   ac_retval=0  
 else  
   $as_echo "$as_me: program exited with status $ac_status" >&5  
        $as_echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
        ac_retval=$ac_status  
 fi  
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo  
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  
   as_fn_set_status $ac_retval  
   
 } # ac_fn_c_try_run  
   
 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES  
 # -------------------------------------------------------  
 # Tests whether HEADER exists and can be compiled using the include files in  
 # INCLUDES, setting the cache variable VAR accordingly.  
 ac_fn_c_check_header_compile ()  
 {  
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack  
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5  
 $as_echo_n "checking for $2... " >&6; }  
 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :  
   $as_echo_n "(cached) " >&6  
 else  
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 $4  
 #include <$2>  
 _ACEOF  
 if ac_fn_c_try_compile "$LINENO"; then :  
   eval "$3=yes"  
 else  
   eval "$3=no"  
 fi  
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  
 fi  
 eval ac_res=\$$3  
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5  
 $as_echo "$ac_res" >&6; }  
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  
   
 } # ac_fn_c_check_header_compile  
1468  cat >config.log <<_ACEOF  cat >config.log <<_ACEOF
1469  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
1470  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1471    
1472  It was created by GPXView $as_me 0.9.4, which was  It was created by GPXView $as_me 0.9.4, which was
1473  generated by GNU Autoconf 2.65.  Invocation command line was  generated by GNU Autoconf 2.61.  Invocation command line was
1474    
1475    $ $0 $@    $ $0 $@
1476    
# Line 1768  for as_dir in $PATH Line 1506  for as_dir in $PATH
1506  do  do
1507    IFS=$as_save_IFS    IFS=$as_save_IFS
1508    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1509      $as_echo "PATH: $as_dir"    echo "PATH: $as_dir"
1510    done  done
1511  IFS=$as_save_IFS  IFS=$as_save_IFS
1512    
1513  } >&5  } >&5
# Line 1803  do Line 1541  do
1541      | -silent | --silent | --silen | --sile | --sil)      | -silent | --silent | --silen | --sile | --sil)
1542        continue ;;        continue ;;
1543      *\'*)      *\'*)
1544        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545      esac      esac
1546      case $ac_pass in      case $ac_pass in
1547      1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1548      2)      2)
1549        as_fn_append ac_configure_args1 " '$ac_arg'"        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1550        if test $ac_must_keep_next = true; then        if test $ac_must_keep_next = true; then
1551          ac_must_keep_next=false # Got value, back to normal.          ac_must_keep_next=false # Got value, back to normal.
1552        else        else
# Line 1824  do Line 1562  do
1562            -* ) ac_must_keep_next=true ;;            -* ) ac_must_keep_next=true ;;
1563          esac          esac
1564        fi        fi
1565        as_fn_append ac_configure_args " '$ac_arg'"        ac_configure_args="$ac_configure_args '$ac_arg'"
1566        ;;        ;;
1567      esac      esac
1568    done    done
1569  done  done
1570  { ac_configure_args0=; unset ac_configure_args0;}  $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1571  { ac_configure_args1=; unset ac_configure_args1;}  $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1572    
1573  # When interrupted or exit'd, cleanup temporary files, and complete  # When interrupted or exit'd, cleanup temporary files, and complete
1574  # config.log.  We remove comments because anyway the quotes in there  # config.log.  We remove comments because anyway the quotes in there
# Line 1855  _ASBOX Line 1593  _ASBOX
1593      case $ac_val in #(      case $ac_val in #(
1594      *${as_nl}*)      *${as_nl}*)
1595        case $ac_var in #(        case $ac_var in #(
1596        *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5        *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;  echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598        esac        esac
1599        case $ac_var in #(        case $ac_var in #(
1600        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
1601        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(        *) $as_unset $ac_var ;;
       *) { eval $ac_var=; unset $ac_var;} ;;  
1602        esac ;;        esac ;;
1603      esac      esac
1604    done    done
# Line 1890  _ASBOX Line 1627  _ASBOX
1627      do      do
1628        eval ac_val=\$$ac_var        eval ac_val=\$$ac_var
1629        case $ac_val in        case $ac_val in
1630        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631        esac        esac
1632        $as_echo "$ac_var='\''$ac_val'\''"        echo "$ac_var='\''$ac_val'\''"
1633      done | sort      done | sort
1634      echo      echo
1635    
# Line 1907  _ASBOX Line 1644  _ASBOX
1644        do        do
1645          eval ac_val=\$$ac_var          eval ac_val=\$$ac_var
1646          case $ac_val in          case $ac_val in
1647          *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;          *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648          esac          esac
1649          $as_echo "$ac_var='\''$ac_val'\''"          echo "$ac_var='\''$ac_val'\''"
1650        done | sort        done | sort
1651        echo        echo
1652      fi      fi
# Line 1925  _ASBOX Line 1662  _ASBOX
1662        echo        echo
1663      fi      fi
1664      test "$ac_signal" != 0 &&      test "$ac_signal" != 0 &&
1665        $as_echo "$as_me: caught signal $ac_signal"        echo "$as_me: caught signal $ac_signal"
1666      $as_echo "$as_me: exit $exit_status"      echo "$as_me: exit $exit_status"
1667    } >&5    } >&5
1668    rm -f core *.core core.conftest.* &&    rm -f core *.core core.conftest.* &&
1669      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670      exit $exit_status      exit $exit_status
1671  ' 0  ' 0
1672  for ac_signal in 1 2 13 15; do  for ac_signal in 1 2 13 15; do
1673    trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal    trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1674  done  done
1675  ac_signal=0  ac_signal=0
1676    
1677  # confdefs.h avoids OS command line length limits that DEFS can exceed.  # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678  rm -f -r conftest* confdefs.h  rm -f -r conftest* confdefs.h
1679    
 $as_echo "/* confdefs.h */" > confdefs.h  
   
1680  # Predefined preprocessor variables.  # Predefined preprocessor variables.
1681    
1682  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1683  #define PACKAGE_NAME "$PACKAGE_NAME"  #define PACKAGE_NAME "$PACKAGE_NAME"
1684  _ACEOF  _ACEOF
1685    
1686    
1687  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1688  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1689  _ACEOF  _ACEOF
1690    
1691    
1692  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1693  #define PACKAGE_VERSION "$PACKAGE_VERSION"  #define PACKAGE_VERSION "$PACKAGE_VERSION"
1694  _ACEOF  _ACEOF
1695    
1696    
1697  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1698  #define PACKAGE_STRING "$PACKAGE_STRING"  #define PACKAGE_STRING "$PACKAGE_STRING"
1699  _ACEOF  _ACEOF
1700    
 cat >>confdefs.h <<_ACEOF  
 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"  
 _ACEOF  
1701    
1702  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1703  #define PACKAGE_URL "$PACKAGE_URL"  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1704  _ACEOF  _ACEOF
1705    
1706    
1707  # 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.
1708  # Prefer an explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
 ac_site_file1=NONE  
 ac_site_file2=NONE  
1709  if test -n "$CONFIG_SITE"; then  if test -n "$CONFIG_SITE"; then
1710    ac_site_file1=$CONFIG_SITE    set x "$CONFIG_SITE"
1711  elif test "x$prefix" != xNONE; then  elif test "x$prefix" != xNONE; then
1712    ac_site_file1=$prefix/share/config.site    set x "$prefix/share/config.site" "$prefix/etc/config.site"
   ac_site_file2=$prefix/etc/config.site  
1713  else  else
1714    ac_site_file1=$ac_default_prefix/share/config.site    set x "$ac_default_prefix/share/config.site" \
1715    ac_site_file2=$ac_default_prefix/etc/config.site          "$ac_default_prefix/etc/config.site"
1716  fi  fi
1717  for ac_site_file in "$ac_site_file1" "$ac_site_file2"  shift
1718    for ac_site_file
1719  do  do
1720    test "x$ac_site_file" = xNONE && continue    if test -r "$ac_site_file"; then
1721    if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5  echo "$as_me: loading site script $ac_site_file" >&6;}
 $as_echo "$as_me: loading site script $ac_site_file" >&6;}  
1723      sed 's/^/| /' "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
1724      . "$ac_site_file"      . "$ac_site_file"
1725    fi    fi
1726  done  done
1727    
1728  if test -r "$cache_file"; then  if test -r "$cache_file"; then
1729    # Some versions of bash will fail to source /dev/null (special files    # Some versions of bash will fail to source /dev/null (special
1730    # actually), so we avoid doing that.  DJGPP emulates it as a regular file.    # files actually), so we avoid doing that.
1731    if test /dev/null != "$cache_file" && test -f "$cache_file"; then    if test -f "$cache_file"; then
1732      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5      { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733  $as_echo "$as_me: loading cache $cache_file" >&6;}  echo "$as_me: loading cache $cache_file" >&6;}
1734      case $cache_file in      case $cache_file in
1735        [\\/]* | ?:[\\/]* ) . "$cache_file";;        [\\/]* | ?:[\\/]* ) . "$cache_file";;
1736        *)                      . "./$cache_file";;        *)                      . "./$cache_file";;
1737      esac      esac
1738    fi    fi
1739  else  else
1740    { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5    { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741  $as_echo "$as_me: creating cache $cache_file" >&6;}  echo "$as_me: creating cache $cache_file" >&6;}
1742    >$cache_file    >$cache_file
1743  fi  fi
1744    
# Line 2020  for ac_var in $ac_precious_vars; do Line 1752  for ac_var in $ac_precious_vars; do
1752    eval ac_new_val=\$ac_env_${ac_var}_value    eval ac_new_val=\$ac_env_${ac_var}_value
1753    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
1754      set,)      set,)
1755        { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5        { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756  $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
1758      ,set)      ,set)
1759        { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5        { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760  $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
1762      ,);;      ,);;
1763      *)      *)
1764        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1765          # differences in whitespace do not lead to failure.          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766          ac_old_val_w=`echo x $ac_old_val`  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767          ac_new_val_w=`echo x $ac_new_val`          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1768          if test "$ac_old_val_w" != "$ac_new_val_w"; then  echo "$as_me:   former value:  $ac_old_val" >&2;}
1769            { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1770  $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1771            ac_cache_corrupted=:          ac_cache_corrupted=:
         else  
           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5  
 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}  
           eval $ac_var=\$ac_old_val  
         fi  
         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5  
 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}  
         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5  
 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}  
1772        fi;;        fi;;
1773    esac    esac
1774    # Pass precious variables to config.status.    # Pass precious variables to config.status.
1775    if test "$ac_new_set" = set; then    if test "$ac_new_set" = set; then
1776      case $ac_new_val in      case $ac_new_val in
1777      *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;      *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778      *) ac_arg=$ac_var=$ac_new_val ;;      *) ac_arg=$ac_var=$ac_new_val ;;
1779      esac      esac
1780      case " $ac_configure_args " in      case " $ac_configure_args " in
1781        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1782        *) as_fn_append ac_configure_args " '$ac_arg'" ;;        *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1783      esac      esac
1784    fi    fi
1785  done  done
1786  if $ac_cache_corrupted; then  if $ac_cache_corrupted; then
1787    { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5    { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5    { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790  $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791    as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5     { (exit 1); exit 1; }; }
1792  fi  fi
1793  ## -------------------- ##  
1794  ## Main body of script. ##  
1795  ## -------------------- ##  
1796    
1797    
1798    
1799    
1800    
1801    
1802    
1803    
1804    
1805    
1806    
1807    
1808    
1809    
1810    
1811    
1812    
1813    
1814    
1815    
1816    
1817    
1818  ac_ext=c  ac_ext=c
1819  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
# Line 2093  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1837  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1837  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
1838    # 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.
1839  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
1840  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1841  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1842  if test "${ac_cv_prog_CC+set}" = set; then :  if test "${ac_cv_prog_CC+set}" = set; then
1843    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1844  else  else
1845    if test -n "$CC"; then    if test -n "$CC"; then
1846    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 2106  for as_dir in $PATH Line 1850  for as_dir in $PATH
1850  do  do
1851    IFS=$as_save_IFS    IFS=$as_save_IFS
1852    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1853      for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1854    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
1855      ac_cv_prog_CC="${ac_tool_prefix}gcc"      ac_cv_prog_CC="${ac_tool_prefix}gcc"
1856      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1857      break 2      break 2
1858    fi    fi
1859  done  done
1860    done  done
1861  IFS=$as_save_IFS  IFS=$as_save_IFS
1862    
1863  fi  fi
1864  fi  fi
1865  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1866  if test -n "$CC"; then  if test -n "$CC"; then
1867    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
1868  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
1869  else  else
1870    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
1871  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
1872  fi  fi
1873    
1874    
# Line 2133  if test -z "$ac_cv_prog_CC"; then Line 1877  if test -z "$ac_cv_prog_CC"; then
1877    ac_ct_CC=$CC    ac_ct_CC=$CC
1878    # 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.
1879  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1880  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1881  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1882  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1883    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1884  else  else
1885    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
1886    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
# Line 2146  for as_dir in $PATH Line 1890  for as_dir in $PATH
1890  do  do
1891    IFS=$as_save_IFS    IFS=$as_save_IFS
1892    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1893      for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1894    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
1895      ac_cv_prog_ac_ct_CC="gcc"      ac_cv_prog_ac_ct_CC="gcc"
1896      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897      break 2      break 2
1898    fi    fi
1899  done  done
1900    done  done
1901  IFS=$as_save_IFS  IFS=$as_save_IFS
1902    
1903  fi  fi
1904  fi  fi
1905  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1906  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1907    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5    { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1908  $as_echo "$ac_ct_CC" >&6; }  echo "${ECHO_T}$ac_ct_CC" >&6; }
1909  else  else
1910    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
1911  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
1912  fi  fi
1913    
1914    if test "x$ac_ct_CC" = x; then    if test "x$ac_ct_CC" = x; then
# Line 2172  fi Line 1916  fi
1916    else    else
1917      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
1918  yes:)  yes:)
1919  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5  { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1920  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  whose name does not start with the host triplet.  If you think this
1921    configuration is useful to you, please write to autoconf@gnu.org." >&5
1922    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1923    whose name does not start with the host triplet.  If you think this
1924    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1925  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
1926  esac  esac
1927      CC=$ac_ct_CC      CC=$ac_ct_CC
# Line 2186  if test -z "$CC"; then Line 1934  if test -z "$CC"; then
1934            if test -n "$ac_tool_prefix"; then            if test -n "$ac_tool_prefix"; then
1935      # 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.
1936  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
1937  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1938  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1939  if test "${ac_cv_prog_CC+set}" = set; then :  if test "${ac_cv_prog_CC+set}" = set; then
1940    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1941  else  else
1942    if test -n "$CC"; then    if test -n "$CC"; then
1943    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 2199  for as_dir in $PATH Line 1947  for as_dir in $PATH
1947  do  do
1948    IFS=$as_save_IFS    IFS=$as_save_IFS
1949    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1950      for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1951    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
1952      ac_cv_prog_CC="${ac_tool_prefix}cc"      ac_cv_prog_CC="${ac_tool_prefix}cc"
1953      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1954      break 2      break 2
1955    fi    fi
1956  done  done
1957    done  done
1958  IFS=$as_save_IFS  IFS=$as_save_IFS
1959    
1960  fi  fi
1961  fi  fi
1962  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1963  if test -n "$CC"; then  if test -n "$CC"; then
1964    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
1965  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
1966  else  else
1967    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
1968  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
1969  fi  fi
1970    
1971    
# Line 2226  fi Line 1974  fi
1974  if test -z "$CC"; then  if test -z "$CC"; then
1975    # 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.
1976  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1977  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1978  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1979  if test "${ac_cv_prog_CC+set}" = set; then :  if test "${ac_cv_prog_CC+set}" = set; then
1980    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1981  else  else
1982    if test -n "$CC"; then    if test -n "$CC"; then
1983    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 2240  for as_dir in $PATH Line 1988  for as_dir in $PATH
1988  do  do
1989    IFS=$as_save_IFS    IFS=$as_save_IFS
1990    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1991      for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1992    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1993      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
1994         ac_prog_rejected=yes         ac_prog_rejected=yes
1995         continue         continue
1996       fi       fi
1997      ac_cv_prog_CC="cc"      ac_cv_prog_CC="cc"
1998      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1999      break 2      break 2
2000    fi    fi
2001  done  done
2002    done  done
2003  IFS=$as_save_IFS  IFS=$as_save_IFS
2004    
2005  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
# Line 2270  fi Line 2018  fi
2018  fi  fi
2019  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2020  if test -n "$CC"; then  if test -n "$CC"; then
2021    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
2022  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
2023  else  else
2024    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2025  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2026  fi  fi
2027    
2028    
# Line 2285  if test -z "$CC"; then Line 2033  if test -z "$CC"; then
2033    do    do
2034      # 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.
2035  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2036  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2037  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2038  if test "${ac_cv_prog_CC+set}" = set; then :  if test "${ac_cv_prog_CC+set}" = set; then
2039    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2040  else  else
2041    if test -n "$CC"; then    if test -n "$CC"; then
2042    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 2298  for as_dir in $PATH Line 2046  for as_dir in $PATH
2046  do  do
2047    IFS=$as_save_IFS    IFS=$as_save_IFS
2048    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2049      for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2050    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
2051      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2052      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2053      break 2      break 2
2054    fi    fi
2055  done  done
2056    done  done
2057  IFS=$as_save_IFS  IFS=$as_save_IFS
2058    
2059  fi  fi
2060  fi  fi
2061  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2062  if test -n "$CC"; then  if test -n "$CC"; then
2063    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
2064  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
2065  else  else
2066    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2067  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2068  fi  fi
2069    
2070    
# Line 2329  if test -z "$CC"; then Line 2077  if test -z "$CC"; then
2077  do  do
2078    # 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.
2079  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2081  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2082  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2083    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2084  else  else
2085    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
2086    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
# Line 2342  for as_dir in $PATH Line 2090  for as_dir in $PATH
2090  do  do
2091    IFS=$as_save_IFS    IFS=$as_save_IFS
2092    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2093      for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2094    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
2095      ac_cv_prog_ac_ct_CC="$ac_prog"      ac_cv_prog_ac_ct_CC="$ac_prog"
2096      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097      break 2      break 2
2098    fi    fi
2099  done  done
2100    done  done
2101  IFS=$as_save_IFS  IFS=$as_save_IFS
2102    
2103  fi  fi
2104  fi  fi
2105  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2106  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2107    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5    { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2108  $as_echo "$ac_ct_CC" >&6; }  echo "${ECHO_T}$ac_ct_CC" >&6; }
2109  else  else
2110    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2111  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2112  fi  fi
2113    
2114    
# Line 2372  done Line 2120  done
2120    else    else
2121      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2122  yes:)  yes:)
2123  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5  { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2124  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  whose name does not start with the host triplet.  If you think this
2125    configuration is useful to you, please write to autoconf@gnu.org." >&5
2126    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2127    whose name does not start with the host triplet.  If you think this
2128    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2129  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2130  esac  esac
2131      CC=$ac_ct_CC      CC=$ac_ct_CC
# Line 2383  fi Line 2135  fi
2135  fi  fi
2136    
2137    
2138  test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2139  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  See \`config.log' for more details." >&5
2140  as_fn_error "no acceptable C compiler found in \$PATH  echo "$as_me: error: no acceptable C compiler found in \$PATH
2141  See \`config.log' for more details." "$LINENO" 5; }  See \`config.log' for more details." >&2;}
2142       { (exit 1); exit 1; }; }
2143    
2144  # Provide some information about the compiler.  # Provide some information about the compiler.
2145  $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5  echo "$as_me:$LINENO: checking for C compiler version" >&5
2146  set X $ac_compile  ac_compiler=`set X $ac_compile; echo $2`
2147  ac_compiler=$2  { (ac_try="$ac_compiler --version >&5"
 for ac_option in --version -v -V -qversion; do  
   { { ac_try="$ac_compiler $ac_option >&5"  
2148  case "(($ac_try" in  case "(($ac_try" in
2149    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2150    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2151  esac  esac
2152  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2153  $as_echo "$ac_try_echo"; } >&5    (eval "$ac_compiler --version >&5") 2>&5
2154    (eval "$ac_compiler $ac_option >&5") 2>conftest.err    ac_status=$?
2155    ac_status=$?    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156    if test -s conftest.err; then    (exit $ac_status); }
2157      sed '10a\  { (ac_try="$ac_compiler -v >&5"
2158  ... rest of stderr output deleted ...  case "(($ac_try" in
2159           10q' conftest.err >conftest.er1    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2160      cat conftest.er1 >&5    *) ac_try_echo=$ac_try;;
2161    fi  esac
2162    rm -f conftest.er1 conftest.err  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2163    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    (eval "$ac_compiler -v >&5") 2>&5
2164    test $ac_status = 0; }    ac_status=$?
2165  done    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166      (exit $ac_status); }
2167    { (ac_try="$ac_compiler -V >&5"
2168    case "(($ac_try" in
2169      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2170      *) ac_try_echo=$ac_try;;
2171    esac
2172    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2173      (eval "$ac_compiler -V >&5") 2>&5
2174      ac_status=$?
2175      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176      (exit $ac_status); }
2177    
2178  cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat >conftest.$ac_ext <<_ACEOF
2179    /* confdefs.h.  */
2180    _ACEOF
2181    cat confdefs.h >>conftest.$ac_ext
2182    cat >>conftest.$ac_ext <<_ACEOF
2183  /* end confdefs.h.  */  /* end confdefs.h.  */
2184    
2185  int  int
# Line 2425  main () Line 2191  main ()
2191  }  }
2192  _ACEOF  _ACEOF
2193  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
2194  ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"  ac_clean_files="$ac_clean_files a.out a.exe b.out"
2195  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2196  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2197  # of exeext.  # of exeext.
2198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5  { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2199  $as_echo_n "checking whether the C compiler works... " >&6; }  echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2200  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2201    #
2202  # The possible output files:  # List of possible output files, starting from the most likely.
2203  ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"  # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2204    # only as a last resort.  b.out is created by i960 compilers.
2205    ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2206    #
2207    # The IRIX 6 linker writes into existing files which may not be
2208    # executable, retaining their permissions.  Remove them first so a
2209    # subsequent execution test works.
2210  ac_rmfiles=  ac_rmfiles=
2211  for ac_file in $ac_files  for ac_file in $ac_files
2212  do  do
2213    case $ac_file in    case $ac_file in
2214      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2215      * ) ac_rmfiles="$ac_rmfiles $ac_file";;      * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2216    esac    esac
2217  done  done
2218  rm -f $ac_rmfiles  rm -f $ac_rmfiles
2219    
2220  if { { ac_try="$ac_link_default"  if { (ac_try="$ac_link_default"
2221  case "(($ac_try" in  case "(($ac_try" in
2222    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2223    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2224  esac  esac
2225  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo"; } >&5  
2226    (eval "$ac_link_default") 2>&5    (eval "$ac_link_default") 2>&5
2227    ac_status=$?    ac_status=$?
2228    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229    test $ac_status = 0; }; then :    (exit $ac_status); }; then
2230    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2231  # 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'
2232  # 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 2466  for ac_file in $ac_files '' Line 2236  for ac_file in $ac_files ''
2236  do  do
2237    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2238    case $ac_file in    case $ac_file in
2239      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2240          ;;          ;;
2241      [ab].out )      [ab].out )
2242          # We found the default executable, but exeext='' is most          # We found the default executable, but exeext='' is most
2243          # certainly right.          # certainly right.
2244          break;;          break;;
2245      *.* )      *.* )
2246          if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;          if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2247          then :; else          then :; else
2248             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2249          fi          fi
# Line 2492  test "$ac_cv_exeext" = no && ac_cv_exeex Line 2262  test "$ac_cv_exeext" = no && ac_cv_exeex
2262  else  else
2263    ac_file=''    ac_file=''
2264  fi  fi
2265  if test -z "$ac_file"; then :  
2266    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  { echo "$as_me:$LINENO: result: $ac_file" >&5
2267  $as_echo "no" >&6; }  echo "${ECHO_T}$ac_file" >&6; }
2268  $as_echo "$as_me: failed program was:" >&5  if test -z "$ac_file"; then
2269      echo "$as_me: failed program was:" >&5
2270  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2271    
2272  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5  { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2273  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  See \`config.log' for more details." >&5
2274  { as_fn_set_status 77  echo "$as_me: error: C compiler cannot create executables
2275  as_fn_error "C compiler cannot create executables  See \`config.log' for more details." >&2;}
2276  See \`config.log' for more details." "$LINENO" 5; }; }     { (exit 77); exit 77; }; }
2277  else  fi
2278    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5  
 $as_echo "yes" >&6; }  
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5  
 $as_echo_n "checking for C compiler default output file name... " >&6; }  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5  
 $as_echo "$ac_file" >&6; }  
2279  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2280    
2281  rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out  # Check that the compiler produces executables we can run.  If not, either
2282    # the compiler is broken, or we cross compile.
2283    { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2284    echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2285    # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2286    # If not cross compiling, check that we can run a simple program.
2287    if test "$cross_compiling" != yes; then
2288      if { ac_try='./$ac_file'
2289      { (case "(($ac_try" in
2290      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2291      *) ac_try_echo=$ac_try;;
2292    esac
2293    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2294      (eval "$ac_try") 2>&5
2295      ac_status=$?
2296      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297      (exit $ac_status); }; }; then
2298        cross_compiling=no
2299      else
2300        if test "$cross_compiling" = maybe; then
2301            cross_compiling=yes
2302        else
2303            { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2304    If you meant to cross compile, use \`--host'.
2305    See \`config.log' for more details." >&5
2306    echo "$as_me: error: cannot run C compiled programs.
2307    If you meant to cross compile, use \`--host'.
2308    See \`config.log' for more details." >&2;}
2309       { (exit 1); exit 1; }; }
2310        fi
2311      fi
2312    fi
2313    { echo "$as_me:$LINENO: result: yes" >&5
2314    echo "${ECHO_T}yes" >&6; }
2315    
2316    rm -f a.out a.exe conftest$ac_cv_exeext b.out
2317  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2318  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5  # Check that the compiler produces executables we can run.  If not, either
2319  $as_echo_n "checking for suffix of executables... " >&6; }  # the compiler is broken, or we cross compile.
2320  if { { ac_try="$ac_link"  { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2321    echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2322    { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2323    echo "${ECHO_T}$cross_compiling" >&6; }
2324    
2325    { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2326    echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2327    if { (ac_try="$ac_link"
2328  case "(($ac_try" in  case "(($ac_try" in
2329    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2330    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2331  esac  esac
2332  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo"; } >&5  
2333    (eval "$ac_link") 2>&5    (eval "$ac_link") 2>&5
2334    ac_status=$?    ac_status=$?
2335    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336    test $ac_status = 0; }; then :    (exit $ac_status); }; then
2337    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2338  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2339  # 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 2535  $as_echo "$ac_try_echo"; } >&5 Line 2341  $as_echo "$ac_try_echo"; } >&5
2341  for ac_file in conftest.exe conftest conftest.*; do  for ac_file in conftest.exe conftest conftest.*; do
2342    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2343    case $ac_file in    case $ac_file in
2344      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2345      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2346            break;;            break;;
2347      * ) break;;      * ) break;;
2348    esac    esac
2349  done  done
2350  else  else
2351    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5    { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2352  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  See \`config.log' for more details." >&5
2353  as_fn_error "cannot compute suffix of executables: cannot compile and link  echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2354  See \`config.log' for more details." "$LINENO" 5; }  See \`config.log' for more details." >&2;}
2355  fi     { (exit 1); exit 1; }; }
2356  rm -f conftest conftest$ac_cv_exeext  fi
2357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5  
2358  $as_echo "$ac_cv_exeext" >&6; }  rm -f conftest$ac_cv_exeext
2359    { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2360    echo "${ECHO_T}$ac_cv_exeext" >&6; }
2361    
2362  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2363  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2364  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2365  cat confdefs.h - <<_ACEOF >conftest.$ac_ext  { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2366  /* end confdefs.h.  */  echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2367  #include <stdio.h>  if test "${ac_cv_objext+set}" = set; then
2368  int    echo $ECHO_N "(cached) $ECHO_C" >&6
 main ()  
 {  
 FILE *f = fopen ("conftest.out", "w");  
  return ferror (f) || fclose (f) != 0;  
   
   ;  
   return 0;  
 }  
 _ACEOF  
 ac_clean_files="$ac_clean_files conftest.out"  
 # Check that the compiler produces executables we can run.  If not, either  
 # the compiler is broken, or we cross compile.  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5  
 $as_echo_n "checking whether we are cross compiling... " >&6; }  
 if test "$cross_compiling" != yes; then  
   { { ac_try="$ac_link"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""  
 $as_echo "$ac_try_echo"; } >&5  
   (eval "$ac_link") 2>&5  
   ac_status=$?  
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5  
   test $ac_status = 0; }  
   if { ac_try='./conftest$ac_cv_exeext'  
   { { case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""  
 $as_echo "$ac_try_echo"; } >&5  
   (eval "$ac_try") 2>&5  
   ac_status=$?  
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5  
   test $ac_status = 0; }; }; then  
     cross_compiling=no  
   else  
     if test "$cross_compiling" = maybe; then  
         cross_compiling=yes  
     else  
         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5  
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 as_fn_error "cannot run C compiled programs.  
 If you meant to cross compile, use \`--host'.  
 See \`config.log' for more details." "$LINENO" 5; }  
     fi  
   fi  
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5  
 $as_echo "$cross_compiling" >&6; }  
   
 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out  
 ac_clean_files=$ac_clean_files_save  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5  
 $as_echo_n "checking for suffix of object files... " >&6; }  
 if test "${ac_cv_objext+set}" = set; then :  
   $as_echo_n "(cached) " >&6  
2369  else  else
2370    cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat >conftest.$ac_ext <<_ACEOF
2371    /* confdefs.h.  */
2372    _ACEOF
2373    cat confdefs.h >>conftest.$ac_ext
2374    cat >>conftest.$ac_ext <<_ACEOF
2375  /* end confdefs.h.  */  /* end confdefs.h.  */
2376    
2377  int  int
# Line 2630  main () Line 2383  main ()
2383  }  }
2384  _ACEOF  _ACEOF
2385  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
2386  if { { ac_try="$ac_compile"  if { (ac_try="$ac_compile"
2387  case "(($ac_try" in  case "(($ac_try" in
2388    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2389    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2390  esac  esac
2391  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo"; } >&5  
2392    (eval "$ac_compile") 2>&5    (eval "$ac_compile") 2>&5
2393    ac_status=$?    ac_status=$?
2394    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395    test $ac_status = 0; }; then :    (exit $ac_status); }; then
2396    for ac_file in conftest.o conftest.obj conftest.*; do    for ac_file in conftest.o conftest.obj conftest.*; do
2397    test -f "$ac_file" || continue;    test -f "$ac_file" || continue;
2398    case $ac_file in    case $ac_file in
2399      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2400      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2401         break;;         break;;
2402    esac    esac
2403  done  done
2404  else  else
2405    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2406  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2407    
2408  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5  { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2409  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  See \`config.log' for more details." >&5
2410  as_fn_error "cannot compute suffix of object files: cannot compile  echo "$as_me: error: cannot compute suffix of object files: cannot compile
2411  See \`config.log' for more details." "$LINENO" 5; }  See \`config.log' for more details." >&2;}
2412       { (exit 1); exit 1; }; }
2413  fi  fi
2414    
2415  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2416  fi  fi
2417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5  { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2418  $as_echo "$ac_cv_objext" >&6; }  echo "${ECHO_T}$ac_cv_objext" >&6; }
2419  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2420  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2421  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5  { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2422  $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2423  if test "${ac_cv_c_compiler_gnu+set}" = set; then :  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2424    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2425  else  else
2426    cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat >conftest.$ac_ext <<_ACEOF
2427    /* confdefs.h.  */
2428    _ACEOF
2429    cat confdefs.h >>conftest.$ac_ext
2430    cat >>conftest.$ac_ext <<_ACEOF
2431  /* end confdefs.h.  */  /* end confdefs.h.  */
2432    
2433  int  int
# Line 2683  main () Line 2441  main ()
2441    return 0;    return 0;
2442  }  }
2443  _ACEOF  _ACEOF
2444  if ac_fn_c_try_compile "$LINENO"; then :  rm -f conftest.$ac_objext
2445    if { (ac_try="$ac_compile"
2446    case "(($ac_try" in
2447      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2448      *) ac_try_echo=$ac_try;;
2449    esac
2450    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2451      (eval "$ac_compile") 2>conftest.er1
2452      ac_status=$?
2453      grep -v '^ *+' conftest.er1 >conftest.err
2454      rm -f conftest.er1
2455      cat conftest.err >&5
2456      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457      (exit $ac_status); } && {
2458             test -z "$ac_c_werror_flag" ||
2459             test ! -s conftest.err
2460           } && test -s conftest.$ac_objext; then
2461    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2462  else  else
2463    ac_compiler_gnu=no    echo "$as_me: failed program was:" >&5
2464    sed 's/^/| /' conftest.$ac_ext >&5
2465    
2466            ac_compiler_gnu=no
2467  fi  fi
2468    
2469  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2471    
2472  fi  fi
2473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5  { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2474  $as_echo "$ac_cv_c_compiler_gnu" >&6; }  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2475  if test $ac_compiler_gnu = yes; then  GCC=`test $ac_compiler_gnu = yes && echo yes`
   GCC=yes  
 else  
   GCC=  
 fi  
2476  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2477  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2478  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5  { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2479  $as_echo_n "checking whether $CC accepts -g... " >&6; }  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2480  if test "${ac_cv_prog_cc_g+set}" = set; then :  if test "${ac_cv_prog_cc_g+set}" = set; then
2481    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2482  else  else
2483    ac_save_c_werror_flag=$ac_c_werror_flag    ac_save_c_werror_flag=$ac_c_werror_flag
2484     ac_c_werror_flag=yes     ac_c_werror_flag=yes
2485     ac_cv_prog_cc_g=no     ac_cv_prog_cc_g=no
2486     CFLAGS="-g"     CFLAGS="-g"
2487     cat confdefs.h - <<_ACEOF >conftest.$ac_ext     cat >conftest.$ac_ext <<_ACEOF
2488    /* confdefs.h.  */
2489    _ACEOF
2490    cat confdefs.h >>conftest.$ac_ext
2491    cat >>conftest.$ac_ext <<_ACEOF
2492  /* end confdefs.h.  */  /* end confdefs.h.  */
2493    
2494  int  int
# Line 2721  main () Line 2499  main ()
2499    return 0;    return 0;
2500  }  }
2501  _ACEOF  _ACEOF
2502  if ac_fn_c_try_compile "$LINENO"; then :  rm -f conftest.$ac_objext
2503    if { (ac_try="$ac_compile"
2504    case "(($ac_try" in
2505      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2506      *) ac_try_echo=$ac_try;;
2507    esac
2508    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2509      (eval "$ac_compile") 2>conftest.er1
2510      ac_status=$?
2511      grep -v '^ *+' conftest.er1 >conftest.err
2512      rm -f conftest.er1
2513      cat conftest.err >&5
2514      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515      (exit $ac_status); } && {
2516             test -z "$ac_c_werror_flag" ||
2517             test ! -s conftest.err
2518           } && test -s conftest.$ac_objext; then
2519    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2520  else  else
2521    CFLAGS=""    echo "$as_me: failed program was:" >&5
2522        cat confdefs.h - <<_ACEOF >conftest.$ac_ext  sed 's/^/| /' conftest.$ac_ext >&5
2523    
2524            CFLAGS=""
2525          cat >conftest.$ac_ext <<_ACEOF
2526    /* confdefs.h.  */
2527    _ACEOF
2528    cat confdefs.h >>conftest.$ac_ext
2529    cat >>conftest.$ac_ext <<_ACEOF
2530  /* end confdefs.h.  */  /* end confdefs.h.  */
2531    
2532  int  int
# Line 2736  main () Line 2537  main ()
2537    return 0;    return 0;
2538  }  }
2539  _ACEOF  _ACEOF
2540  if ac_fn_c_try_compile "$LINENO"; then :  rm -f conftest.$ac_objext
2541    if { (ac_try="$ac_compile"
2542    case "(($ac_try" in
2543      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2544      *) ac_try_echo=$ac_try;;
2545    esac
2546    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2547      (eval "$ac_compile") 2>conftest.er1
2548      ac_status=$?
2549      grep -v '^ *+' conftest.er1 >conftest.err
2550      rm -f conftest.er1
2551      cat conftest.err >&5
2552      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553      (exit $ac_status); } && {
2554             test -z "$ac_c_werror_flag" ||
2555             test ! -s conftest.err
2556           } && test -s conftest.$ac_objext; then
2557      :
2558  else  else
2559    ac_c_werror_flag=$ac_save_c_werror_flag    echo "$as_me: failed program was:" >&5
2560    sed 's/^/| /' conftest.$ac_ext >&5
2561    
2562            ac_c_werror_flag=$ac_save_c_werror_flag
2563           CFLAGS="-g"           CFLAGS="-g"
2564           cat confdefs.h - <<_ACEOF >conftest.$ac_ext           cat >conftest.$ac_ext <<_ACEOF
2565    /* confdefs.h.  */
2566    _ACEOF
2567    cat confdefs.h >>conftest.$ac_ext
2568    cat >>conftest.$ac_ext <<_ACEOF
2569  /* end confdefs.h.  */  /* end confdefs.h.  */
2570    
2571  int  int
# Line 2752  main () Line 2576  main ()
2576    return 0;    return 0;
2577  }  }
2578  _ACEOF  _ACEOF
2579  if ac_fn_c_try_compile "$LINENO"; then :  rm -f conftest.$ac_objext
2580    if { (ac_try="$ac_compile"
2581    case "(($ac_try" in
2582      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583      *) ac_try_echo=$ac_try;;
2584    esac
2585    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2586      (eval "$ac_compile") 2>conftest.er1
2587      ac_status=$?
2588      grep -v '^ *+' conftest.er1 >conftest.err
2589      rm -f conftest.er1
2590      cat conftest.err >&5
2591      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592      (exit $ac_status); } && {
2593             test -z "$ac_c_werror_flag" ||
2594             test ! -s conftest.err
2595           } && test -s conftest.$ac_objext; then
2596    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2597    else
2598      echo "$as_me: failed program was:" >&5
2599    sed 's/^/| /' conftest.$ac_ext >&5
2600    
2601    
2602  fi  fi
2603    
2604  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2605  fi  fi
2606    
2607  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608  fi  fi
2609    
2610  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2611     ac_c_werror_flag=$ac_save_c_werror_flag     ac_c_werror_flag=$ac_save_c_werror_flag
2612  fi  fi
2613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5  { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2614  $as_echo "$ac_cv_prog_cc_g" >&6; }  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2615  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2616    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
2617  elif test $ac_cv_prog_cc_g = yes; then  elif test $ac_cv_prog_cc_g = yes; then
# Line 2779  else Line 2627  else
2627      CFLAGS=      CFLAGS=
2628    fi    fi
2629  fi  fi
2630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5  { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2631  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }  echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2632  if test "${ac_cv_prog_cc_c89+set}" = set; then :  if test "${ac_cv_prog_cc_c89+set}" = set; then
2633    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2634  else  else
2635    ac_cv_prog_cc_c89=no    ac_cv_prog_cc_c89=no
2636  ac_save_CC=$CC  ac_save_CC=$CC
2637  cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat >conftest.$ac_ext <<_ACEOF
2638    /* confdefs.h.  */
2639    _ACEOF
2640    cat confdefs.h >>conftest.$ac_ext
2641    cat >>conftest.$ac_ext <<_ACEOF
2642  /* end confdefs.h.  */  /* end confdefs.h.  */
2643  #include <stdarg.h>  #include <stdarg.h>
2644  #include <stdio.h>  #include <stdio.h>
# Line 2843  for ac_arg in '' -qlanglvl=extc89 -qlang Line 2695  for ac_arg in '' -qlanglvl=extc89 -qlang
2695          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2696  do  do
2697    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
2698    if ac_fn_c_try_compile "$LINENO"; then :    rm -f conftest.$ac_objext
2699    if { (ac_try="$ac_compile"
2700    case "(($ac_try" in
2701      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702      *) ac_try_echo=$ac_try;;
2703    esac
2704    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2705      (eval "$ac_compile") 2>conftest.er1
2706      ac_status=$?
2707      grep -v '^ *+' conftest.er1 >conftest.err
2708      rm -f conftest.er1
2709      cat conftest.err >&5
2710      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711      (exit $ac_status); } && {
2712             test -z "$ac_c_werror_flag" ||
2713             test ! -s conftest.err
2714           } && test -s conftest.$ac_objext; then
2715    ac_cv_prog_cc_c89=$ac_arg    ac_cv_prog_cc_c89=$ac_arg
2716    else
2717      echo "$as_me: failed program was:" >&5
2718    sed 's/^/| /' conftest.$ac_ext >&5
2719    
2720    
2721  fi  fi
2722    
2723  rm -f core conftest.err conftest.$ac_objext  rm -f core conftest.err conftest.$ac_objext
2724    test "x$ac_cv_prog_cc_c89" != "xno" && break    test "x$ac_cv_prog_cc_c89" != "xno" && break
2725  done  done
# Line 2856  fi Line 2730  fi
2730  # AC_CACHE_VAL  # AC_CACHE_VAL
2731  case "x$ac_cv_prog_cc_c89" in  case "x$ac_cv_prog_cc_c89" in
2732    x)    x)
2733      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5      { echo "$as_me:$LINENO: result: none needed" >&5
2734  $as_echo "none needed" >&6; } ;;  echo "${ECHO_T}none needed" >&6; } ;;
2735    xno)    xno)
2736      { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5      { echo "$as_me:$LINENO: result: unsupported" >&5
2737  $as_echo "unsupported" >&6; } ;;  echo "${ECHO_T}unsupported" >&6; } ;;
2738    *)    *)
2739      CC="$CC $ac_cv_prog_cc_c89"      CC="$CC $ac_cv_prog_cc_c89"
2740      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5      { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2741  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;  echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2742  esac  esac
 if test "x$ac_cv_prog_cc_c89" != xno; then :  
2743    
 fi  
2744    
2745  ac_ext=c  ac_ext=c
2746  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
# Line 2878  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2750  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2750    
2751  ac_aux_dir=  ac_aux_dir=
2752  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2753    for ac_t in install-sh install.sh shtool; do    if test -f "$ac_dir/install-sh"; then
2754      if test -f "$ac_dir/$ac_t"; then      ac_aux_dir=$ac_dir
2755        ac_aux_dir=$ac_dir      ac_install_sh="$ac_aux_dir/install-sh -c"
2756        ac_install_sh="$ac_aux_dir/$ac_t -c"      break
2757        break 2    elif test -f "$ac_dir/install.sh"; then
2758      fi      ac_aux_dir=$ac_dir
2759    done      ac_install_sh="$ac_aux_dir/install.sh -c"
2760        break
2761      elif test -f "$ac_dir/shtool"; then
2762        ac_aux_dir=$ac_dir
2763        ac_install_sh="$ac_aux_dir/shtool install -c"
2764        break
2765      fi
2766  done  done
2767  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
2768    as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5    { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2769    echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2770       { (exit 1); exit 1; }; }
2771  fi  fi
2772    
2773  # These three variables are undocumented and unsupported,  # These three variables are undocumented and unsupported,
# Line 2912  ac_configure="$SHELL $ac_aux_dir/configu Line 2792  ac_configure="$SHELL $ac_aux_dir/configu
2792  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2793  # OS/2's system install, which has a completely different semantic  # OS/2's system install, which has a completely different semantic
2794  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2795  # Reject install programs that cannot install multiple files.  { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2796  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 $as_echo_n "checking for a BSD-compatible install... " >&6; }  
2797  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
2798  if test "${ac_cv_path_install+set}" = set; then :  if test "${ac_cv_path_install+set}" = set; then
2799    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2800  else  else
2801    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802  for as_dir in $PATH  for as_dir in $PATH
2803  do  do
2804    IFS=$as_save_IFS    IFS=$as_save_IFS
2805    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2806      # Account for people who put trailing slashes in PATH elements.    # Account for people who put trailing slashes in PATH elements.
2807  case $as_dir/ in #((  case $as_dir/ in
2808    ./ | .// | /[cC]/* | \    ./ | .// | /cC/* | \
2809    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2810    ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \    ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2811    /usr/ucb/* ) ;;    /usr/ucb/* ) ;;
2812    *)    *)
2813      # 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 2946  case $as_dir/ in #(( Line 2825  case $as_dir/ in #((
2825              # program-specific install script used by HP pwplus--don't use.              # program-specific install script used by HP pwplus--don't use.
2826              :              :
2827            else            else
2828              rm -rf conftest.one conftest.two conftest.dir              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2829              echo one > conftest.one              break 3
             echo two > conftest.two  
             mkdir conftest.dir  
             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&  
               test -s conftest.one && test -s conftest.two &&  
               test -s conftest.dir/conftest.one &&  
               test -s conftest.dir/conftest.two  
             then  
               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"  
               break 3  
             fi  
2830            fi            fi
2831          fi          fi
2832        done        done
2833      done      done
2834      ;;      ;;
2835  esac  esac
2836    done
   done  
2837  IFS=$as_save_IFS  IFS=$as_save_IFS
2838    
 rm -rf conftest.one conftest.two conftest.dir  
2839    
2840  fi  fi
2841    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
# Line 2981  fi Line 2848  fi
2848      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
2849    fi    fi
2850  fi  fi
2851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5  { echo "$as_me:$LINENO: result: $INSTALL" >&5
2852  $as_echo "$INSTALL" >&6; }  echo "${ECHO_T}$INSTALL" >&6; }
2853    
2854  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2855  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
# Line 2992  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 2859  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2859    
2860  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2861    
2862  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5  { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2863  $as_echo_n "checking whether ln -s works... " >&6; }  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2864  LN_S=$as_ln_s  LN_S=$as_ln_s
2865  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
2866    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5    { echo "$as_me:$LINENO: result: yes" >&5
2867  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
2868  else  else
2869    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5    { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2870  $as_echo "no, using $LN_S" >&6; }  echo "${ECHO_T}no, using $LN_S" >&6; }
2871  fi  fi
2872    
2873  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5  { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2874  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2875  set x ${MAKE-make}  set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2876  ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`  if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2877  if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :    echo $ECHO_N "(cached) $ECHO_C" >&6
   $as_echo_n "(cached) " >&6  
2878  else  else
2879    cat >conftest.make <<\_ACEOF    cat >conftest.make <<\_ACEOF
2880  SHELL = /bin/sh  SHELL = /bin/sh
# Line 3025  esac Line 2891  esac
2891  rm -f conftest.make  rm -f conftest.make
2892  fi  fi
2893  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2894    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5    { echo "$as_me:$LINENO: result: yes" >&5
2895  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
2896    SET_MAKE=    SET_MAKE=
2897  else  else
2898    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2899  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2900    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
2901  fi  fi
2902    
# Line 3063  if test "x$ac_cv_env_PKG_CONFIG_set" != Line 2929  if test "x$ac_cv_env_PKG_CONFIG_set" !=
2929          if test -n "$ac_tool_prefix"; then          if test -n "$ac_tool_prefix"; then
2930    # 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.
2931  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2933  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2934  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2935    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2936  else  else
2937    case $PKG_CONFIG in    case $PKG_CONFIG in
2938    [\\/]* | ?:[\\/]*)    [\\/]* | ?:[\\/]*)
# Line 3078  for as_dir in $PATH Line 2944  for as_dir in $PATH
2944  do  do
2945    IFS=$as_save_IFS    IFS=$as_save_IFS
2946    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2947      for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2948    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
2949      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2950      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2951      break 2      break 2
2952    fi    fi
2953  done  done
2954    done  done
2955  IFS=$as_save_IFS  IFS=$as_save_IFS
2956    
2957    ;;    ;;
# Line 3093  esac Line 2959  esac
2959  fi  fi
2960  PKG_CONFIG=$ac_cv_path_PKG_CONFIG  PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2961  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
2962    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5    { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2963  $as_echo "$PKG_CONFIG" >&6; }  echo "${ECHO_T}$PKG_CONFIG" >&6; }
2964  else  else
2965    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2966  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2967  fi  fi
2968    
2969    
# Line 3106  if test -z "$ac_cv_path_PKG_CONFIG"; the Line 2972  if test -z "$ac_cv_path_PKG_CONFIG"; the
2972    ac_pt_PKG_CONFIG=$PKG_CONFIG    ac_pt_PKG_CONFIG=$PKG_CONFIG
2973    # 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.
2974  set dummy pkg-config; ac_word=$2  set dummy pkg-config; ac_word=$2
2975  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2976  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2977  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2978    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2979  else  else
2980    case $ac_pt_PKG_CONFIG in    case $ac_pt_PKG_CONFIG in
2981    [\\/]* | ?:[\\/]*)    [\\/]* | ?:[\\/]*)
# Line 3121  for as_dir in $PATH Line 2987  for as_dir in $PATH
2987  do  do
2988    IFS=$as_save_IFS    IFS=$as_save_IFS
2989    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2990      for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2991    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
2992      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"
2993      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2994      break 2      break 2
2995    fi    fi
2996  done  done
2997    done  done
2998  IFS=$as_save_IFS  IFS=$as_save_IFS
2999    
3000    ;;    ;;
# Line 3136  esac Line 3002  esac
3002  fi  fi
3003  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3004  if test -n "$ac_pt_PKG_CONFIG"; then  if test -n "$ac_pt_PKG_CONFIG"; then
3005    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5    { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3006  $as_echo "$ac_pt_PKG_CONFIG" >&6; }  echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3007  else  else
3008    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
3009  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3010  fi  fi
3011    
3012    if test "x$ac_pt_PKG_CONFIG" = x; then    if test "x$ac_pt_PKG_CONFIG" = x; then
# Line 3148  fi Line 3014  fi
3014    else    else
3015      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
3016  yes:)  yes:)
3017  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5  { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3018  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  whose name does not start with the host triplet.  If you think this
3019    configuration is useful to you, please write to autoconf@gnu.org." >&5
3020    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3021    whose name does not start with the host triplet.  If you think this
3022    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3023  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
3024  esac  esac
3025      PKG_CONFIG=$ac_pt_PKG_CONFIG      PKG_CONFIG=$ac_pt_PKG_CONFIG
# Line 3161  fi Line 3031  fi
3031  fi  fi
3032  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3033          _pkg_min_version=0.9.0          _pkg_min_version=0.9.0
3034          { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5          { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3035  $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }  echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3036          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3037                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5                  { echo "$as_me:$LINENO: result: yes" >&5
3038  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3039          else          else
3040                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5                  { echo "$as_me:$LINENO: result: no" >&5
3041  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3042                  PKG_CONFIG=""                  PKG_CONFIG=""
3043          fi          fi
3044    
3045  fi  fi
3046    
3047  pkg_failed=no  pkg_failed=no
3048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnome_vfs_module" >&5  { echo "$as_me:$LINENO: checking for gnome_vfs_module" >&5
3049  $as_echo_n "checking for gnome_vfs_module... " >&6; }  echo $ECHO_N "checking for gnome_vfs_module... $ECHO_C" >&6; }
3050    
3051  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3052      if test -n "$gnome_vfs_module_CFLAGS"; then      if test -n "$gnome_vfs_module_CFLAGS"; then
3053          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"
3054      else      else
3055          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3056      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5
3057    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3058    ac_status=$?    ac_status=$?
3059    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060    test $ac_status = 0; }; then    (exit $ac_status); }; then
3061    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`
3062  else  else
3063    pkg_failed=yes    pkg_failed=yes
# Line 3201  if test -n "$PKG_CONFIG"; then Line 3071  if test -n "$PKG_CONFIG"; then
3071          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"
3072      else      else
3073          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3074      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5
3075    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3076    ac_status=$?    ac_status=$?
3077    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078    test $ac_status = 0; }; then    (exit $ac_status); }; then
3079    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`
3080  else  else
3081    pkg_failed=yes    pkg_failed=yes
# Line 3232  fi Line 3102  fi
3102          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3103          echo "$gnome_vfs_module_PKG_ERRORS" >&5          echo "$gnome_vfs_module_PKG_ERRORS" >&5
3104    
3105          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3106  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3107                  as_fn_error "gnome-vfs-module-2.0 missing" "$LINENO" 5                  { { echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5
3108    echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}
3109       { (exit 1); exit 1; }; }
3110  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3111          as_fn_error "gnome-vfs-module-2.0 missing" "$LINENO" 5          { { echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5
3112    echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}
3113       { (exit 1); exit 1; }; }
3114  else  else
3115          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS
3116          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS
3117          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3118  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3119          :          :
3120  fi  fi
3121  CFLAGS="$CFLAGS $gnome_vfs_module_CFLAGS"  CFLAGS="$CFLAGS $gnome_vfs_module_CFLAGS"
# Line 3250  LIBS="$LIBS $gnome_vfs_module_LIBS" Line 3124  LIBS="$LIBS $gnome_vfs_module_LIBS"
3124  # check for libxml-2.0  # check for libxml-2.0
3125    
3126  pkg_failed=no  pkg_failed=no
3127  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5  { echo "$as_me:$LINENO: checking for libxml2" >&5
3128  $as_echo_n "checking for libxml2... " >&6; }  echo $ECHO_N "checking for libxml2... $ECHO_C" >&6; }
3129    
3130  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3131      if test -n "$libxml2_CFLAGS"; then      if test -n "$libxml2_CFLAGS"; then
3132          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"
3133      else      else
3134          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3135      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
3136    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3137    ac_status=$?    ac_status=$?
3138    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139    test $ac_status = 0; }; then    (exit $ac_status); }; then
3140    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`
3141  else  else
3142    pkg_failed=yes    pkg_failed=yes
# Line 3276  if test -n "$PKG_CONFIG"; then Line 3150  if test -n "$PKG_CONFIG"; then
3150          pkg_cv_libxml2_LIBS="$libxml2_LIBS"          pkg_cv_libxml2_LIBS="$libxml2_LIBS"
3151      else      else
3152          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3153      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
3154    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3155    ac_status=$?    ac_status=$?
3156    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157    test $ac_status = 0; }; then    (exit $ac_status); }; then
3158    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`
3159  else  else
3160    pkg_failed=yes    pkg_failed=yes
# Line 3307  fi Line 3181  fi
3181          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3182          echo "$libxml2_PKG_ERRORS" >&5          echo "$libxml2_PKG_ERRORS" >&5
3183    
3184          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3185  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3186                  as_fn_error "libxml-2.0 missing" "$LINENO" 5                  { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5
3187    echo "$as_me: error: libxml-2.0 missing" >&2;}
3188       { (exit 1); exit 1; }; }
3189  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3190          as_fn_error "libxml-2.0 missing" "$LINENO" 5          { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5
3191    echo "$as_me: error: libxml-2.0 missing" >&2;}
3192       { (exit 1); exit 1; }; }
3193  else  else
3194          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS
3195          libxml2_LIBS=$pkg_cv_libxml2_LIBS          libxml2_LIBS=$pkg_cv_libxml2_LIBS
3196          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3197  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3198          :          :
3199  fi  fi
3200  CFLAGS="$CFLAGS $libxml2_CFLAGS"  CFLAGS="$CFLAGS $libxml2_CFLAGS"
# Line 3325  LIBS="$LIBS $libxml2_LIBS" Line 3203  LIBS="$LIBS $libxml2_LIBS"
3203  # check for libcurl  # check for libcurl
3204    
3205  pkg_failed=no  pkg_failed=no
3206  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5  { echo "$as_me:$LINENO: checking for libcurl" >&5
3207  $as_echo_n "checking for libcurl... " >&6; }  echo $ECHO_N "checking for libcurl... $ECHO_C" >&6; }
3208    
3209  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3210      if test -n "$libcurl_CFLAGS"; then      if test -n "$libcurl_CFLAGS"; then
3211          pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"          pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
3212      else      else
3213          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3214      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
3215    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3216    ac_status=$?    ac_status=$?
3217    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218    test $ac_status = 0; }; then    (exit $ac_status); }; then
3219    pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`    pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
3220  else  else
3221    pkg_failed=yes    pkg_failed=yes
# Line 3351  if test -n "$PKG_CONFIG"; then Line 3229  if test -n "$PKG_CONFIG"; then
3229          pkg_cv_libcurl_LIBS="$libcurl_LIBS"          pkg_cv_libcurl_LIBS="$libcurl_LIBS"
3230      else      else
3231          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3232      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
3233    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3234    ac_status=$?    ac_status=$?
3235    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236    test $ac_status = 0; }; then    (exit $ac_status); }; then
3237    pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`    pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
3238  else  else
3239    pkg_failed=yes    pkg_failed=yes
# Line 3382  fi Line 3260  fi
3260          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3261          echo "$libcurl_PKG_ERRORS" >&5          echo "$libcurl_PKG_ERRORS" >&5
3262    
3263          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3264  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3265                  as_fn_error "libcurl missing" "$LINENO" 5                  { { echo "$as_me:$LINENO: error: libcurl missing" >&5
3266    echo "$as_me: error: libcurl missing" >&2;}
3267       { (exit 1); exit 1; }; }
3268  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3269          as_fn_error "libcurl missing" "$LINENO" 5          { { echo "$as_me:$LINENO: error: libcurl missing" >&5
3270    echo "$as_me: error: libcurl missing" >&2;}
3271       { (exit 1); exit 1; }; }
3272  else  else
3273          libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS          libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
3274          libcurl_LIBS=$pkg_cv_libcurl_LIBS          libcurl_LIBS=$pkg_cv_libcurl_LIBS
3275          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3276  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3277          :          :
3278  fi  fi
3279  CFLAGS="$CFLAGS $libcurl_CFLAGS"  CFLAGS="$CFLAGS $libcurl_CFLAGS"
# Line 3400  LIBS="$LIBS $libcurl_LIBS" Line 3282  LIBS="$LIBS $libcurl_LIBS"
3282  # check for libsoup  # check for libsoup
3283    
3284  pkg_failed=no  pkg_failed=no
3285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup24" >&5  { echo "$as_me:$LINENO: checking for libsoup24" >&5
3286  $as_echo_n "checking for libsoup24... " >&6; }  echo $ECHO_N "checking for libsoup24... $ECHO_C" >&6; }
3287    
3288  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3289      if test -n "$libsoup24_CFLAGS"; then      if test -n "$libsoup24_CFLAGS"; then
3290          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"
3291      else      else
3292          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3293      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
3294    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3295    ac_status=$?    ac_status=$?
3296    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297    test $ac_status = 0; }; then    (exit $ac_status); }; then
3298    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`
3299  else  else
3300    pkg_failed=yes    pkg_failed=yes
# Line 3426  if test -n "$PKG_CONFIG"; then Line 3308  if test -n "$PKG_CONFIG"; then
3308          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"
3309      else      else
3310          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3311      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
3312    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3313    ac_status=$?    ac_status=$?
3314    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315    test $ac_status = 0; }; then    (exit $ac_status); }; then
3316    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`
3317  else  else
3318    pkg_failed=yes    pkg_failed=yes
# Line 3457  fi Line 3339  fi
3339          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3340          echo "$libsoup24_PKG_ERRORS" >&5          echo "$libsoup24_PKG_ERRORS" >&5
3341    
3342          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3343  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3344    
3345    
3346  pkg_failed=no  pkg_failed=no
3347  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup22" >&5  { echo "$as_me:$LINENO: checking for libsoup22" >&5
3348  $as_echo_n "checking for libsoup22... " >&6; }  echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }
3349    
3350  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3351      if test -n "$libsoup22_CFLAGS"; then      if test -n "$libsoup22_CFLAGS"; then
3352          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3353      else      else
3354          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3355      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3356    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3357    ac_status=$?    ac_status=$?
3358    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359    test $ac_status = 0; }; then    (exit $ac_status); }; then
3360    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`
3361  else  else
3362    pkg_failed=yes    pkg_failed=yes
# Line 3488  if test -n "$PKG_CONFIG"; then Line 3370  if test -n "$PKG_CONFIG"; then
3370          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3371      else      else
3372          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3373      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3374    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3375    ac_status=$?    ac_status=$?
3376    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377    test $ac_status = 0; }; then    (exit $ac_status); }; then
3378    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`
3379  else  else
3380    pkg_failed=yes    pkg_failed=yes
# Line 3519  fi Line 3401  fi
3401          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3402          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
3403    
3404          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3405  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3406    
3407      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3408  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3409    
3410  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3411    
3412      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3413  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3414    
3415  else  else
3416          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3417          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3418          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3419  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3420    
3421      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"
3422      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
# Line 3546  elif test $pkg_failed = untried; then Line 3428  elif test $pkg_failed = untried; then
3428    
3429    
3430  pkg_failed=no  pkg_failed=no
3431  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup22" >&5  { echo "$as_me:$LINENO: checking for libsoup22" >&5
3432  $as_echo_n "checking for libsoup22... " >&6; }  echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }
3433    
3434  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3435      if test -n "$libsoup22_CFLAGS"; then      if test -n "$libsoup22_CFLAGS"; then
3436          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3437      else      else
3438          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3439      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3440    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3441    ac_status=$?    ac_status=$?
3442    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443    test $ac_status = 0; }; then    (exit $ac_status); }; then
3444    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`
3445  else  else
3446    pkg_failed=yes    pkg_failed=yes
# Line 3572  if test -n "$PKG_CONFIG"; then Line 3454  if test -n "$PKG_CONFIG"; then
3454          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3455      else      else
3456          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3457      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3458    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3459    ac_status=$?    ac_status=$?
3460    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461    test $ac_status = 0; }; then    (exit $ac_status); }; then
3462    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`
3463  else  else
3464    pkg_failed=yes    pkg_failed=yes
# Line 3603  fi Line 3485  fi
3485          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3486          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
3487    
3488          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3489  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3490    
3491      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3492  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3493    
3494  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3495    
3496      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3497  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3498    
3499  else  else
3500          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3501          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3502          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3503  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3504    
3505      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"
3506      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
# Line 3629  fi Line 3511  fi
3511  else  else
3512          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS
3513          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS
3514          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3515  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3516    
3517    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"
3518    CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"    CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"
# Line 3641  fi Line 3523  fi
3523  # check for gtkhtml-3.14  # check for gtkhtml-3.14
3524    
3525  pkg_failed=no  pkg_failed=no
3526  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgtkhtml3_14" >&5  { echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5
3527  $as_echo_n "checking for libgtkhtml3_14... " >&6; }  echo $ECHO_N "checking for libgtkhtml3_14... $ECHO_C" >&6; }
3528    
3529  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3530      if test -n "$libgtkhtml3_14_CFLAGS"; then      if test -n "$libgtkhtml3_14_CFLAGS"; then
3531          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"
3532      else      else
3533          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3534      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5
3535    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3536    ac_status=$?    ac_status=$?
3537    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538    test $ac_status = 0; }; then    (exit $ac_status); }; then
3539    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`
3540  else  else
3541    pkg_failed=yes    pkg_failed=yes
# Line 3667  if test -n "$PKG_CONFIG"; then Line 3549  if test -n "$PKG_CONFIG"; then
3549          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"
3550      else      else
3551          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3552      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5
3553    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3554    ac_status=$?    ac_status=$?
3555    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556    test $ac_status = 0; }; then    (exit $ac_status); }; then
3557    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`
3558  else  else
3559    pkg_failed=yes    pkg_failed=yes
# Line 3698  fi Line 3580  fi
3580          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3581          echo "$libgtkhtml3_14_PKG_ERRORS" >&5          echo "$libgtkhtml3_14_PKG_ERRORS" >&5
3582    
3583          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3584  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3585    
3586    # ok, we can also live with 3.8    # ok, we can also live with 3.8
3587    
3588  pkg_failed=no  pkg_failed=no
3589  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgtkhtml3_8" >&5  { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
3590  $as_echo_n "checking for libgtkhtml3_8... " >&6; }  echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }
3591    
3592  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3593      if test -n "$libgtkhtml3_8_CFLAGS"; then      if test -n "$libgtkhtml3_8_CFLAGS"; then
3594          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3595      else      else
3596          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3597      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3598    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3599    ac_status=$?    ac_status=$?
3600    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601    test $ac_status = 0; }; then    (exit $ac_status); }; then
3602    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`
3603  else  else
3604    pkg_failed=yes    pkg_failed=yes
# Line 3730  if test -n "$PKG_CONFIG"; then Line 3612  if test -n "$PKG_CONFIG"; then
3612          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3613      else      else
3614          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3615      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3616    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3617    ac_status=$?    ac_status=$?
3618    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619    test $ac_status = 0; }; then    (exit $ac_status); }; then
3620    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`
3621  else  else
3622    pkg_failed=yes    pkg_failed=yes
# Line 3761  fi Line 3643  fi
3643          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3644          echo "$libgtkhtml3_8_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3645    
3646          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3647  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3648                  as_fn_error "libgtkhtml-3 missing" "$LINENO" 5                  { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3649    echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3650       { (exit 1); exit 1; }; }
3651  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3652          as_fn_error "libgtkhtml-3 missing" "$LINENO" 5          { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3653    echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3654       { (exit 1); exit 1; }; }
3655  else  else
3656          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3657          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3658          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3659  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3660    
3661      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3662      LIBS="$LIBS $libgtkhtml3_8_LIBS"      LIBS="$LIBS $libgtkhtml3_8_LIBS"
# Line 3782  elif test $pkg_failed = untried; then Line 3668  elif test $pkg_failed = untried; then
3668    # ok, we can also live with 3.8    # ok, we can also live with 3.8
3669    
3670  pkg_failed=no  pkg_failed=no
3671  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgtkhtml3_8" >&5  { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
3672  $as_echo_n "checking for libgtkhtml3_8... " >&6; }  echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }
3673    
3674  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3675      if test -n "$libgtkhtml3_8_CFLAGS"; then      if test -n "$libgtkhtml3_8_CFLAGS"; then
3676          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3677      else      else
3678          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3679      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3680    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3681    ac_status=$?    ac_status=$?
3682    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683    test $ac_status = 0; }; then    (exit $ac_status); }; then
3684    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`
3685  else  else
3686    pkg_failed=yes    pkg_failed=yes
# Line 3808  if test -n "$PKG_CONFIG"; then Line 3694  if test -n "$PKG_CONFIG"; then
3694          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3695      else      else
3696          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3697      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3698    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3699    ac_status=$?    ac_status=$?
3700    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701    test $ac_status = 0; }; then    (exit $ac_status); }; then
3702    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`
3703  else  else
3704    pkg_failed=yes    pkg_failed=yes
# Line 3839  fi Line 3725  fi
3725          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3726          echo "$libgtkhtml3_8_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3727    
3728          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3729  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3730                  as_fn_error "libgtkhtml-3 missing" "$LINENO" 5                  { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3731    echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3732       { (exit 1); exit 1; }; }
3733  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3734          as_fn_error "libgtkhtml-3 missing" "$LINENO" 5          { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3735    echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3736       { (exit 1); exit 1; }; }
3737  else  else
3738          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3739          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3740          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3741  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3742    
3743      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3744      LIBS="$LIBS $libgtkhtml3_8_LIBS"      LIBS="$LIBS $libgtkhtml3_8_LIBS"
# Line 3858  fi Line 3748  fi
3748  else  else
3749          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS
3750          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS
3751          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3752  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3753    
3754    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"
3755    LIBS="$LIBS $libgtkhtml3_14_LIBS"    LIBS="$LIBS $libgtkhtml3_14_LIBS"
# Line 3867  $as_echo "yes" >&6; } Line 3757  $as_echo "yes" >&6; }
3757  fi  fi
3758    
3759  # check for maemo  # check for maemo
3760  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Maemo" >&5  { echo "$as_me:$LINENO: checking for Maemo" >&5
3761  $as_echo_n "checking for Maemo... " >&6; }  echo $ECHO_N "checking for Maemo... $ECHO_C" >&6; }
3762    
3763  ac_ext=c  ac_ext=c
3764  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
3765  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3766  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3767  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3768  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5  { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3769  $as_echo_n "checking how to run the C preprocessor... " >&6; }  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3770  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
3771  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
3772    CPP=    CPP=
3773  fi  fi
3774  if test -z "$CPP"; then  if test -z "$CPP"; then
3775    if test "${ac_cv_prog_CPP+set}" = set; then :    if test "${ac_cv_prog_CPP+set}" = set; then
3776    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3777  else  else
3778        # Double quotes because CPP needs to be expanded        # Double quotes because CPP needs to be expanded
3779      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
# Line 3897  do Line 3787  do
3787    # <limits.h> exists even on freestanding compilers.    # <limits.h> exists even on freestanding compilers.
3788    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
3789    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3790    cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat >conftest.$ac_ext <<_ACEOF
3791    /* confdefs.h.  */
3792    _ACEOF
3793    cat confdefs.h >>conftest.$ac_ext
3794    cat >>conftest.$ac_ext <<_ACEOF
3795  /* end confdefs.h.  */  /* end confdefs.h.  */
3796  #ifdef __STDC__  #ifdef __STDC__
3797  # include <limits.h>  # include <limits.h>
# Line 3906  do Line 3800  do
3800  #endif  #endif
3801                       Syntax error                       Syntax error
3802  _ACEOF  _ACEOF
3803  if ac_fn_c_try_cpp "$LINENO"; then :  if { (ac_try="$ac_cpp conftest.$ac_ext"
3804    case "(($ac_try" in
3805      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806      *) ac_try_echo=$ac_try;;
3807    esac
3808    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3809      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3810      ac_status=$?
3811      grep -v '^ *+' conftest.er1 >conftest.err
3812      rm -f conftest.er1
3813      cat conftest.err >&5
3814      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815      (exit $ac_status); } >/dev/null && {
3816             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3817             test ! -s conftest.err
3818           }; then
3819      :
3820  else  else
3821      echo "$as_me: failed program was:" >&5
3822    sed 's/^/| /' conftest.$ac_ext >&5
3823    
3824    # Broken: fails on valid input.    # Broken: fails on valid input.
3825  continue  continue
3826  fi  fi
3827    
3828  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3829    
3830    # OK, works on sane cases.  Now check whether nonexistent headers    # OK, works on sane cases.  Now check whether nonexistent headers
3831    # can be detected and how.    # can be detected and how.
3832    cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat >conftest.$ac_ext <<_ACEOF
3833    /* confdefs.h.  */
3834    _ACEOF
3835    cat confdefs.h >>conftest.$ac_ext
3836    cat >>conftest.$ac_ext <<_ACEOF
3837  /* end confdefs.h.  */  /* end confdefs.h.  */
3838  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3839  _ACEOF  _ACEOF
3840  if ac_fn_c_try_cpp "$LINENO"; then :  if { (ac_try="$ac_cpp conftest.$ac_ext"
3841    case "(($ac_try" in
3842      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3843      *) ac_try_echo=$ac_try;;
3844    esac
3845    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3846      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3847      ac_status=$?
3848      grep -v '^ *+' conftest.er1 >conftest.err
3849      rm -f conftest.er1
3850      cat conftest.err >&5
3851      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852      (exit $ac_status); } >/dev/null && {
3853             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3854             test ! -s conftest.err
3855           }; then
3856    # Broken: success on invalid input.    # Broken: success on invalid input.
3857  continue  continue
3858  else  else
3859      echo "$as_me: failed program was:" >&5
3860    sed 's/^/| /' conftest.$ac_ext >&5
3861    
3862    # Passes both tests.    # Passes both tests.
3863  ac_preproc_ok=:  ac_preproc_ok=:
3864  break  break
3865  fi  fi
3866    
3867  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3868    
3869  done  done
3870  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3871  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3872  if $ac_preproc_ok; then :  if $ac_preproc_ok; then
3873    break    break
3874  fi  fi
3875    
# Line 3945  fi Line 3881  fi
3881  else  else
3882    ac_cv_prog_CPP=$CPP    ac_cv_prog_CPP=$CPP
3883  fi  fi
3884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5  { echo "$as_me:$LINENO: result: $CPP" >&5
3885  $as_echo "$CPP" >&6; }  echo "${ECHO_T}$CPP" >&6; }
3886  ac_preproc_ok=false  ac_preproc_ok=false
3887  for ac_c_preproc_warn_flag in '' yes  for ac_c_preproc_warn_flag in '' yes
3888  do  do
# Line 3956  do Line 3892  do
3892    # <limits.h> exists even on freestanding compilers.    # <limits.h> exists even on freestanding compilers.
3893    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
3894    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3895    cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat >conftest.$ac_ext <<_ACEOF
3896    /* confdefs.h.  */
3897    _ACEOF
3898    cat confdefs.h >>conftest.$ac_ext
3899    cat >>conftest.$ac_ext <<_ACEOF
3900  /* end confdefs.h.  */  /* end confdefs.h.  */
3901  #ifdef __STDC__  #ifdef __STDC__
3902  # include <limits.h>  # include <limits.h>
# Line 3965  do Line 3905  do
3905  #endif  #endif
3906                       Syntax error                       Syntax error
3907  _ACEOF  _ACEOF
3908  if ac_fn_c_try_cpp "$LINENO"; then :  if { (ac_try="$ac_cpp conftest.$ac_ext"
3909    case "(($ac_try" in
3910      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911      *) ac_try_echo=$ac_try;;
3912    esac
3913    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3914      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3915      ac_status=$?
3916      grep -v '^ *+' conftest.er1 >conftest.err
3917      rm -f conftest.er1
3918      cat conftest.err >&5
3919      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920      (exit $ac_status); } >/dev/null && {
3921             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3922             test ! -s conftest.err
3923           }; then
3924      :
3925  else  else
3926      echo "$as_me: failed program was:" >&5
3927    sed 's/^/| /' conftest.$ac_ext >&5
3928    
3929    # Broken: fails on valid input.    # Broken: fails on valid input.
3930  continue  continue
3931  fi  fi
3932    
3933  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3934    
3935    # OK, works on sane cases.  Now check whether nonexistent headers    # OK, works on sane cases.  Now check whether nonexistent headers
3936    # can be detected and how.    # can be detected and how.
3937    cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat >conftest.$ac_ext <<_ACEOF
3938    /* confdefs.h.  */
3939    _ACEOF
3940    cat confdefs.h >>conftest.$ac_ext
3941    cat >>conftest.$ac_ext <<_ACEOF
3942  /* end confdefs.h.  */  /* end confdefs.h.  */
3943  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3944  _ACEOF  _ACEOF
3945  if ac_fn_c_try_cpp "$LINENO"; then :  if { (ac_try="$ac_cpp conftest.$ac_ext"
3946    case "(($ac_try" in
3947      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948      *) ac_try_echo=$ac_try;;
3949    esac
3950    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3951      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3952      ac_status=$?
3953      grep -v '^ *+' conftest.er1 >conftest.err
3954      rm -f conftest.er1
3955      cat conftest.err >&5
3956      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957      (exit $ac_status); } >/dev/null && {
3958             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3959             test ! -s conftest.err
3960           }; then
3961    # Broken: success on invalid input.    # Broken: success on invalid input.
3962  continue  continue
3963  else  else
3964      echo "$as_me: failed program was:" >&5
3965    sed 's/^/| /' conftest.$ac_ext >&5
3966    
3967    # Passes both tests.    # Passes both tests.
3968  ac_preproc_ok=:  ac_preproc_ok=:
3969  break  break
3970  fi  fi
3971    
3972  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3973    
3974  done  done
3975  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3976  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3977  if $ac_preproc_ok; then :  if $ac_preproc_ok; then
3978      :
3979  else  else
3980    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5    { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3981  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  See \`config.log' for more details." >&5
3982  as_fn_error "C preprocessor \"$CPP\" fails sanity check  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3983  See \`config.log' for more details." "$LINENO" 5; }  See \`config.log' for more details." >&2;}
3984       { (exit 1); exit 1; }; }
3985  fi  fi
3986    
3987  ac_ext=c  ac_ext=c
# Line 4008  ac_link='$CC -o conftest$ac_exeext $CFLA Line 3991  ac_link='$CC -o conftest$ac_exeext $CFLA
3991  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3992    
3993    
3994  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5  { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3995  $as_echo_n "checking for grep that handles long lines and -e... " >&6; }  echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3996  if test "${ac_cv_path_GREP+set}" = set; then :  if test "${ac_cv_path_GREP+set}" = set; then
3997    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3998    else
3999      # Extract the first word of "grep ggrep" to use in msg output
4000    if test -z "$GREP"; then
4001    set dummy grep ggrep; ac_prog_name=$2
4002    if test "${ac_cv_path_GREP+set}" = set; then
4003      echo $ECHO_N "(cached) $ECHO_C" >&6
4004  else  else
   if test -z "$GREP"; then  
4005    ac_path_GREP_found=false    ac_path_GREP_found=false
4006    # Loop through the user's path and test for each of PROGNAME-LIST  # Loop through the user's path and test for each of PROGNAME-LIST
4007    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4008  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4009  do  do
4010    IFS=$as_save_IFS    IFS=$as_save_IFS
4011    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
4012      for ac_prog in grep ggrep; do    for ac_prog in grep ggrep; do
4013      for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
4014        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4015        { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4016  # Check for GNU ac_path_GREP and select it if it is found.      # Check for GNU ac_path_GREP and select it if it is found.
4017    # Check for GNU $ac_path_GREP    # Check for GNU $ac_path_GREP
4018  case `"$ac_path_GREP" --version 2>&1` in  case `"$ac_path_GREP" --version 2>&1` in
4019  *GNU*)  *GNU*)
4020    ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;    ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4021  *)  *)
4022    ac_count=0    ac_count=0
4023    $as_echo_n 0123456789 >"conftest.in"    echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4024    while :    while :
4025    do    do
4026      cat "conftest.in" "conftest.in" >"conftest.tmp"      cat "conftest.in" "conftest.in" >"conftest.tmp"
4027      mv "conftest.tmp" "conftest.in"      mv "conftest.tmp" "conftest.in"
4028      cp "conftest.in" "conftest.nl"      cp "conftest.in" "conftest.nl"
4029      $as_echo 'GREP' >> "conftest.nl"      echo 'GREP' >> "conftest.nl"
4030      "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break      "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4031      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4032      as_fn_arith $ac_count + 1 && ac_count=$as_val      ac_count=`expr $ac_count + 1`
4033      if test $ac_count -gt ${ac_path_GREP_max-0}; then      if test $ac_count -gt ${ac_path_GREP_max-0}; then
4034        # Best one so far, save it but keep looking for a better one        # Best one so far, save it but keep looking for a better one
4035        ac_cv_path_GREP="$ac_path_GREP"        ac_cv_path_GREP="$ac_path_GREP"
# Line 4053  case `"$ac_path_GREP" --version 2>&1` in Line 4041  case `"$ac_path_GREP" --version 2>&1` in
4041    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4042  esac  esac
4043    
4044        $ac_path_GREP_found && break 3  
4045      done      $ac_path_GREP_found && break 3
   done  
4046    done    done
4047    done
4048    
4049    done
4050  IFS=$as_save_IFS  IFS=$as_save_IFS
4051    if test -z "$ac_cv_path_GREP"; then  
4052      as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5  
4053    fi  fi
4054    
4055    GREP="$ac_cv_path_GREP"
4056    if test -z "$GREP"; then
4057      { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4058    echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4059       { (exit 1); exit 1; }; }
4060    fi
4061    
4062  else  else
4063    ac_cv_path_GREP=$GREP    ac_cv_path_GREP=$GREP
4064  fi  fi
4065    
4066    
4067  fi  fi
4068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5  { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4069  $as_echo "$ac_cv_path_GREP" >&6; }  echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4070   GREP="$ac_cv_path_GREP"   GREP="$ac_cv_path_GREP"
4071    
4072    
4073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5  { echo "$as_me:$LINENO: checking for egrep" >&5
4074  $as_echo_n "checking for egrep... " >&6; }  echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4075  if test "${ac_cv_path_EGREP+set}" = set; then :  if test "${ac_cv_path_EGREP+set}" = set; then
4076    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4077  else  else
4078    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4079     then ac_cv_path_EGREP="$GREP -E"     then ac_cv_path_EGREP="$GREP -E"
4080     else     else
4081       if test -z "$EGREP"; then       # Extract the first word of "egrep" to use in msg output
4082    if test -z "$EGREP"; then
4083    set dummy egrep; ac_prog_name=$2
4084    if test "${ac_cv_path_EGREP+set}" = set; then
4085      echo $ECHO_N "(cached) $ECHO_C" >&6
4086    else
4087    ac_path_EGREP_found=false    ac_path_EGREP_found=false
4088    # Loop through the user's path and test for each of PROGNAME-LIST  # Loop through the user's path and test for each of PROGNAME-LIST
4089    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4091  do  do
4092    IFS=$as_save_IFS    IFS=$as_save_IFS
4093    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
4094      for ac_prog in egrep; do    for ac_prog in egrep; do
4095      for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
4096        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4097        { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4098  # Check for GNU ac_path_EGREP and select it if it is found.      # Check for GNU ac_path_EGREP and select it if it is found.
4099    # Check for GNU $ac_path_EGREP    # Check for GNU $ac_path_EGREP
4100  case `"$ac_path_EGREP" --version 2>&1` in  case `"$ac_path_EGREP" --version 2>&1` in
4101  *GNU*)  *GNU*)
4102    ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;    ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4103  *)  *)
4104    ac_count=0    ac_count=0
4105    $as_echo_n 0123456789 >"conftest.in"    echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4106    while :    while :
4107    do    do
4108      cat "conftest.in" "conftest.in" >"conftest.tmp"      cat "conftest.in" "conftest.in" >"conftest.tmp"
4109      mv "conftest.tmp" "conftest.in"      mv "conftest.tmp" "conftest.in"
4110      cp "conftest.in" "conftest.nl"      cp "conftest.in" "conftest.nl"
4111      $as_echo 'EGREP' >> "conftest.nl"      echo 'EGREP' >> "conftest.nl"
4112      "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break      "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4113      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4114      as_fn_arith $ac_count + 1 && ac_count=$as_val      ac_count=`expr $ac_count + 1`
4115      if test $ac_count -gt ${ac_path_EGREP_max-0}; then      if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4116        # Best one so far, save it but keep looking for a better one        # Best one so far, save it but keep looking for a better one
4117        ac_cv_path_EGREP="$ac_path_EGREP"        ac_cv_path_EGREP="$ac_path_EGREP"
# Line 4119  case `"$ac_path_EGREP" --version 2>&1` i Line 4123  case `"$ac_path_EGREP" --version 2>&1` i
4123    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4124  esac  esac
4125    
4126        $ac_path_EGREP_found && break 3  
4127      done      $ac_path_EGREP_found && break 3
   done  
4128    done    done
4129    done
4130    
4131    done
4132  IFS=$as_save_IFS  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  fi
4136    
4137    EGREP="$ac_cv_path_EGREP"
4138    if test -z "$EGREP"; then
4139      { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4140    echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4141       { (exit 1); exit 1; }; }
4142    fi
4143    
4144  else  else
4145    ac_cv_path_EGREP=$EGREP    ac_cv_path_EGREP=$EGREP
4146  fi  fi
4147    
4148    
4149     fi     fi
4150  fi  fi
4151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5  { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4152  $as_echo "$ac_cv_path_EGREP" >&6; }  echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4153   EGREP="$ac_cv_path_EGREP"   EGREP="$ac_cv_path_EGREP"
4154    
4155    
4156  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5  { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4157  $as_echo_n "checking for ANSI C header files... " >&6; }  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4158  if test "${ac_cv_header_stdc+set}" = set; then :  if test "${ac_cv_header_stdc+set}" = set; then
4159    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4160  else  else
4161    cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat >conftest.$ac_ext <<_ACEOF
4162    /* confdefs.h.  */
4163    _ACEOF
4164    cat confdefs.h >>conftest.$ac_ext
4165    cat >>conftest.$ac_ext <<_ACEOF
4166  /* end confdefs.h.  */  /* end confdefs.h.  */
4167  #include <stdlib.h>  #include <stdlib.h>
4168  #include <stdarg.h>  #include <stdarg.h>
# Line 4158  main () Line 4177  main ()
4177    return 0;    return 0;
4178  }  }
4179  _ACEOF  _ACEOF
4180  if ac_fn_c_try_compile "$LINENO"; then :  rm -f conftest.$ac_objext
4181    if { (ac_try="$ac_compile"
4182    case "(($ac_try" in
4183      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184      *) ac_try_echo=$ac_try;;
4185    esac
4186    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4187      (eval "$ac_compile") 2>conftest.er1
4188      ac_status=$?
4189      grep -v '^ *+' conftest.er1 >conftest.err
4190      rm -f conftest.er1
4191      cat conftest.err >&5
4192      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193      (exit $ac_status); } && {
4194             test -z "$ac_c_werror_flag" ||
4195             test ! -s conftest.err
4196           } && test -s conftest.$ac_objext; then
4197    ac_cv_header_stdc=yes    ac_cv_header_stdc=yes
4198  else  else
4199    ac_cv_header_stdc=no    echo "$as_me: failed program was:" >&5
4200    sed 's/^/| /' conftest.$ac_ext >&5
4201    
4202            ac_cv_header_stdc=no
4203  fi  fi
4204    
4205  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4206    
4207  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4208    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4209    cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat >conftest.$ac_ext <<_ACEOF
4210    /* confdefs.h.  */
4211    _ACEOF
4212    cat confdefs.h >>conftest.$ac_ext
4213    cat >>conftest.$ac_ext <<_ACEOF
4214  /* end confdefs.h.  */  /* end confdefs.h.  */
4215  #include <string.h>  #include <string.h>
4216    
4217  _ACEOF  _ACEOF
4218  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4219    $EGREP "memchr" >/dev/null 2>&1; then :    $EGREP "memchr" >/dev/null 2>&1; then
4220      :
4221  else  else
4222    ac_cv_header_stdc=no    ac_cv_header_stdc=no
4223  fi  fi
# Line 4184  fi Line 4227  fi
4227    
4228  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4229    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4230    cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat >conftest.$ac_ext <<_ACEOF
4231    /* confdefs.h.  */
4232    _ACEOF
4233    cat confdefs.h >>conftest.$ac_ext
4234    cat >>conftest.$ac_ext <<_ACEOF
4235  /* end confdefs.h.  */  /* end confdefs.h.  */
4236  #include <stdlib.h>  #include <stdlib.h>
4237    
4238  _ACEOF  _ACEOF
4239  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4240    $EGREP "free" >/dev/null 2>&1; then :    $EGREP "free" >/dev/null 2>&1; then
4241      :
4242  else  else
4243    ac_cv_header_stdc=no    ac_cv_header_stdc=no
4244  fi  fi
# Line 4201  fi Line 4248  fi
4248    
4249  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4250    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4251    if test "$cross_compiling" = yes; then :    if test "$cross_compiling" = yes; then
4252    :    :
4253  else  else
4254    cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat >conftest.$ac_ext <<_ACEOF
4255    /* confdefs.h.  */
4256    _ACEOF
4257    cat confdefs.h >>conftest.$ac_ext
4258    cat >>conftest.$ac_ext <<_ACEOF
4259  /* end confdefs.h.  */  /* end confdefs.h.  */
4260  #include <ctype.h>  #include <ctype.h>
4261  #include <stdlib.h>  #include <stdlib.h>
# Line 4231  main () Line 4282  main ()
4282    return 0;    return 0;
4283  }  }
4284  _ACEOF  _ACEOF
4285  if ac_fn_c_try_run "$LINENO"; then :  rm -f conftest$ac_exeext
4286    if { (ac_try="$ac_link"
4287    case "(($ac_try" in
4288      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289      *) ac_try_echo=$ac_try;;
4290    esac
4291    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4292      (eval "$ac_link") 2>&5
4293      ac_status=$?
4294      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4296      { (case "(($ac_try" in
4297      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4298      *) ac_try_echo=$ac_try;;
4299    esac
4300    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4301      (eval "$ac_try") 2>&5
4302      ac_status=$?
4303      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304      (exit $ac_status); }; }; then
4305      :
4306  else  else
4307    ac_cv_header_stdc=no    echo "$as_me: program exited with status $ac_status" >&5
4308    echo "$as_me: failed program was:" >&5
4309    sed 's/^/| /' conftest.$ac_ext >&5
4310    
4311    ( exit $ac_status )
4312    ac_cv_header_stdc=no
4313  fi  fi
4314  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   conftest.$ac_objext conftest.beam conftest.$ac_ext  
4315  fi  fi
4316    
4317    
4318  fi  fi
4319  fi  fi
4320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5  { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4321  $as_echo "$ac_cv_header_stdc" >&6; }  echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4322  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4323    
4324  $as_echo "#define STDC_HEADERS 1" >>confdefs.h  cat >>confdefs.h <<\_ACEOF
4325    #define STDC_HEADERS 1
4326    _ACEOF
4327    
4328  fi  fi
4329    
4330  # On IRIX 5.3, sys/types and inttypes.h are conflicting.  # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4331    
4332    
4333    
4334    
4335    
4336    
4337    
4338    
4339    
4340  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4341                    inttypes.h stdint.h unistd.h                    inttypes.h stdint.h unistd.h
4342  do :  do
4343    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4344  ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4345  "  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4346  eval as_val=\$$as_ac_Header  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4347     if test "x$as_val" = x""yes; then :    echo $ECHO_N "(cached) $ECHO_C" >&6
4348    else
4349      cat >conftest.$ac_ext <<_ACEOF
4350    /* confdefs.h.  */
4351    _ACEOF
4352    cat confdefs.h >>conftest.$ac_ext
4353    cat >>conftest.$ac_ext <<_ACEOF
4354    /* end confdefs.h.  */
4355    $ac_includes_default
4356    
4357    #include <$ac_header>
4358    _ACEOF
4359    rm -f conftest.$ac_objext
4360    if { (ac_try="$ac_compile"
4361    case "(($ac_try" in
4362      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4363      *) ac_try_echo=$ac_try;;
4364    esac
4365    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4366      (eval "$ac_compile") 2>conftest.er1
4367      ac_status=$?
4368      grep -v '^ *+' conftest.er1 >conftest.err
4369      rm -f conftest.er1
4370      cat conftest.err >&5
4371      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372      (exit $ac_status); } && {
4373             test -z "$ac_c_werror_flag" ||
4374             test ! -s conftest.err
4375           } && test -s conftest.$ac_objext; then
4376      eval "$as_ac_Header=yes"
4377    else
4378      echo "$as_me: failed program was:" >&5
4379    sed 's/^/| /' conftest.$ac_ext >&5
4380    
4381            eval "$as_ac_Header=no"
4382    fi
4383    
4384    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4385    fi
4386    ac_res=`eval echo '${'$as_ac_Header'}'`
4387                   { echo "$as_me:$LINENO: result: $ac_res" >&5
4388    echo "${ECHO_T}$ac_res" >&6; }
4389    if test `eval echo '${'$as_ac_Header'}'` = yes; then
4390    cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
4391  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4392  _ACEOF  _ACEOF
4393    
4394  fi  fi
# Line 4269  done Line 4397  done
4397    
4398    
4399  if test -n "$PKG_CONFIG" && \  if test -n "$PKG_CONFIG" && \
4400      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"maemo-version\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5
4401    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
4402    ac_status=$?    ac_status=$?
4403    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404    test $ac_status = 0; }; then    (exit $ac_status); }; then
4405    
4406    MAEMO="yes"    MAEMO="yes"
4407    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5    { echo "$as_me:$LINENO: result: yes" >&5
4408  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4409    
4410    
4411  pkg_failed=no  pkg_failed=no
4412  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hildon" >&5  { echo "$as_me:$LINENO: checking for hildon" >&5
4413  $as_echo_n "checking for hildon... " >&6; }  echo $ECHO_N "checking for hildon... $ECHO_C" >&6; }
4414    
4415  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4416      if test -n "$hildon_CFLAGS"; then      if test -n "$hildon_CFLAGS"; then
4417          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"
4418      else      else
4419          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4420      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
4421    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4422    ac_status=$?    ac_status=$?
4423    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424    test $ac_status = 0; }; then    (exit $ac_status); }; then
4425    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
4426  else  else
4427    pkg_failed=yes    pkg_failed=yes
# Line 4307  if test -n "$PKG_CONFIG"; then Line 4435  if test -n "$PKG_CONFIG"; then
4435          pkg_cv_hildon_LIBS="$hildon_LIBS"          pkg_cv_hildon_LIBS="$hildon_LIBS"
4436      else      else
4437          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4438      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
4439    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4440    ac_status=$?    ac_status=$?
4441    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442    test $ac_status = 0; }; then    (exit $ac_status); }; then
4443    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
4444  else  else
4445    pkg_failed=yes    pkg_failed=yes
# Line 4338  fi Line 4466  fi
4466          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4467          echo "$hildon_PKG_ERRORS" >&5          echo "$hildon_PKG_ERRORS" >&5
4468    
4469          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4470  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4471                  as_fn_error "hildon-1 missing" "$LINENO" 5                  { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
4472    echo "$as_me: error: hildon-1 missing" >&2;}
4473       { (exit 1); exit 1; }; }
4474  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4475          as_fn_error "hildon-1 missing" "$LINENO" 5          { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
4476    echo "$as_me: error: hildon-1 missing" >&2;}
4477       { (exit 1); exit 1; }; }
4478  else  else
4479          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS
4480          hildon_LIBS=$pkg_cv_hildon_LIBS          hildon_LIBS=$pkg_cv_hildon_LIBS
4481          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4482  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4483          :          :
4484  fi  fi
4485    CFLAGS="$CFLAGS  -DUSE_MAEMO $hildon_CFLAGS"    CFLAGS="$CFLAGS  -DUSE_MAEMO $hildon_CFLAGS"
# Line 4355  fi Line 4487  fi
4487    
4488    
4489  pkg_failed=no  pkg_failed=no
4490  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for osso" >&5  { echo "$as_me:$LINENO: checking for osso" >&5
4491  $as_echo_n "checking for osso... " >&6; }  echo $ECHO_N "checking for osso... $ECHO_C" >&6; }
4492    
4493  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4494      if test -n "$osso_CFLAGS"; then      if test -n "$osso_CFLAGS"; then
4495          pkg_cv_osso_CFLAGS="$osso_CFLAGS"          pkg_cv_osso_CFLAGS="$osso_CFLAGS"
4496      else      else
4497          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4498      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libosso\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
4499    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4500    ac_status=$?    ac_status=$?
4501    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502    test $ac_status = 0; }; then    (exit $ac_status); }; then
4503    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`
4504  else  else
4505    pkg_failed=yes    pkg_failed=yes
# Line 4381  if test -n "$PKG_CONFIG"; then Line 4513  if test -n "$PKG_CONFIG"; then
4513          pkg_cv_osso_LIBS="$osso_LIBS"          pkg_cv_osso_LIBS="$osso_LIBS"
4514      else      else
4515          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4516      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libosso\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
4517    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4518    ac_status=$?    ac_status=$?
4519    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520    test $ac_status = 0; }; then    (exit $ac_status); }; then
4521    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`
4522  else  else
4523    pkg_failed=yes    pkg_failed=yes
# Line 4412  fi Line 4544  fi
4544          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4545          echo "$osso_PKG_ERRORS" >&5          echo "$osso_PKG_ERRORS" >&5
4546    
4547          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4548  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4549                  as_fn_error "libosso missing" "$LINENO" 5                  { { echo "$as_me:$LINENO: error: libosso missing" >&5
4550    echo "$as_me: error: libosso missing" >&2;}
4551       { (exit 1); exit 1; }; }
4552  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4553          as_fn_error "libosso missing" "$LINENO" 5          { { echo "$as_me:$LINENO: error: libosso missing" >&5
4554    echo "$as_me: error: libosso missing" >&2;}
4555       { (exit 1); exit 1; }; }
4556  else  else
4557          osso_CFLAGS=$pkg_cv_osso_CFLAGS          osso_CFLAGS=$pkg_cv_osso_CFLAGS
4558          osso_LIBS=$pkg_cv_osso_LIBS          osso_LIBS=$pkg_cv_osso_LIBS
4559          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4560  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4561          :          :
4562  fi  fi
4563    CFLAGS="$CFLAGS $osso_CFLAGS"    CFLAGS="$CFLAGS $osso_CFLAGS"
# Line 4429  fi Line 4565  fi
4565    
4566    
4567  pkg_failed=no  pkg_failed=no
4568  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hildon_fm_2" >&5  { echo "$as_me:$LINENO: checking for hildon_fm_2" >&5
4569  $as_echo_n "checking for hildon_fm_2... " >&6; }  echo $ECHO_N "checking for hildon_fm_2... $ECHO_C" >&6; }
4570    
4571  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4572      if test -n "$hildon_fm_2_CFLAGS"; then      if test -n "$hildon_fm_2_CFLAGS"; then
4573          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"
4574      else      else
4575          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4576      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
4577    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4578    ac_status=$?    ac_status=$?
4579    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580    test $ac_status = 0; }; then    (exit $ac_status); }; then
4581    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`
4582  else  else
4583    pkg_failed=yes    pkg_failed=yes
# Line 4455  if test -n "$PKG_CONFIG"; then Line 4591  if test -n "$PKG_CONFIG"; then
4591          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"
4592      else      else
4593          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4594      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
4595    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4596    ac_status=$?    ac_status=$?
4597    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598    test $ac_status = 0; }; then    (exit $ac_status); }; then
4599    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`
4600  else  else
4601    pkg_failed=yes    pkg_failed=yes
# Line 4486  fi Line 4622  fi
4622          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4623          echo "$hildon_fm_2_PKG_ERRORS" >&5          echo "$hildon_fm_2_PKG_ERRORS" >&5
4624    
4625          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4626  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4627                  as_fn_error "hildon-fm-2 missing" "$LINENO" 5                  { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
4628    echo "$as_me: error: hildon-fm-2 missing" >&2;}
4629       { (exit 1); exit 1; }; }
4630  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4631          as_fn_error "hildon-fm-2 missing" "$LINENO" 5          { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
4632    echo "$as_me: error: hildon-fm-2 missing" >&2;}
4633       { (exit 1); exit 1; }; }
4634  else  else
4635          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS
4636          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS
4637          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4638  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4639          :          :
4640  fi  fi
4641    CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"    CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"
# Line 4504  fi Line 4644  fi
4644    # check for sqlite3 for maemo mapper interface    # check for sqlite3 for maemo mapper interface
4645    
4646  pkg_failed=no  pkg_failed=no
4647  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5  { echo "$as_me:$LINENO: checking for sqlite3" >&5
4648  $as_echo_n "checking for sqlite3... " >&6; }  echo $ECHO_N "checking for sqlite3... $ECHO_C" >&6; }
4649    
4650  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4651      if test -n "$sqlite3_CFLAGS"; then      if test -n "$sqlite3_CFLAGS"; then
4652          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"
4653      else      else
4654          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4655      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
4656    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4657    ac_status=$?    ac_status=$?
4658    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659    test $ac_status = 0; }; then    (exit $ac_status); }; then
4660    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
4661  else  else
4662    pkg_failed=yes    pkg_failed=yes
# Line 4530  if test -n "$PKG_CONFIG"; then Line 4670  if test -n "$PKG_CONFIG"; then
4670          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"
4671      else      else
4672          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4673      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
4674    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4675    ac_status=$?    ac_status=$?
4676    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677    test $ac_status = 0; }; then    (exit $ac_status); }; then
4678    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
4679  else  else
4680    pkg_failed=yes    pkg_failed=yes
# Line 4561  fi Line 4701  fi
4701          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4702          echo "$sqlite3_PKG_ERRORS" >&5          echo "$sqlite3_PKG_ERRORS" >&5
4703    
4704          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4705  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4706                  as_fn_error "sqlite3 missing" "$LINENO" 5                  { { echo "$as_me:$LINENO: error: sqlite3 missing" >&5
4707    echo "$as_me: error: sqlite3 missing" >&2;}
4708       { (exit 1); exit 1; }; }
4709  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4710          as_fn_error "sqlite3 missing" "$LINENO" 5          { { echo "$as_me:$LINENO: error: sqlite3 missing" >&5
4711    echo "$as_me: error: sqlite3 missing" >&2;}
4712       { (exit 1); exit 1; }; }
4713  else  else
4714          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS
4715          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS
4716          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4717  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4718          :          :
4719  fi  fi
4720    CFLAGS="$CFLAGS $sqlite3_CFLAGS"    CFLAGS="$CFLAGS $sqlite3_CFLAGS"
# Line 4579  fi Line 4723  fi
4723    # check for hildon-help    # check for hildon-help
4724    
4725  pkg_failed=no  pkg_failed=no
4726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hildon_help" >&5  { echo "$as_me:$LINENO: checking for hildon_help" >&5
4727  $as_echo_n "checking for hildon_help... " >&6; }  echo $ECHO_N "checking for hildon_help... $ECHO_C" >&6; }
4728    
4729  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4730      if test -n "$hildon_help_CFLAGS"; then      if test -n "$hildon_help_CFLAGS"; then
4731          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"
4732      else      else
4733          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4734      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-help\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5
4735    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4736    ac_status=$?    ac_status=$?
4737    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738    test $ac_status = 0; }; then    (exit $ac_status); }; then
4739    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`
4740  else  else
4741    pkg_failed=yes    pkg_failed=yes
# Line 4605  if test -n "$PKG_CONFIG"; then Line 4749  if test -n "$PKG_CONFIG"; then
4749          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"
4750      else      else
4751          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4752      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-help\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5
4753    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4754    ac_status=$?    ac_status=$?
4755    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756    test $ac_status = 0; }; then    (exit $ac_status); }; then
4757    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`
4758  else  else
4759    pkg_failed=yes    pkg_failed=yes
# Line 4636  fi Line 4780  fi
4780          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4781          echo "$hildon_help_PKG_ERRORS" >&5          echo "$hildon_help_PKG_ERRORS" >&5
4782    
4783          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4784  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4785    
4786      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hildon-help missing" >&5      { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5
4787  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}  echo "$as_me: WARNING: hildon-help missing" >&6;}
4788    
4789  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4790    
4791      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hildon-help missing" >&5      { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5
4792  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}  echo "$as_me: WARNING: hildon-help missing" >&6;}
4793    
4794  else  else
4795          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS
4796          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS
4797          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4798  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4799    
4800      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"
4801      LIBS="$LIBS $hildon_help_LIBS"      LIBS="$LIBS $hildon_help_LIBS"
# Line 4661  fi Line 4805  fi
4805    # prefer gpsbt over liblocation as we got complaints regarding liblocation    # prefer gpsbt over liblocation as we got complaints regarding liblocation
4806    # stability    # stability
4807    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4808      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpsbt\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4809    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4810    ac_status=$?    ac_status=$?
4811    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812    test $ac_status = 0; }; then    (exit $ac_status); }; then
4813    
4814    
4815  pkg_failed=no  pkg_failed=no
4816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpsbt" >&5  { echo "$as_me:$LINENO: checking for gpsbt" >&5
4817  $as_echo_n "checking for gpsbt... " >&6; }  echo $ECHO_N "checking for gpsbt... $ECHO_C" >&6; }
4818    
4819  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4820      if test -n "$gpsbt_CFLAGS"; then      if test -n "$gpsbt_CFLAGS"; then
4821          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"
4822      else      else
4823          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4824      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpsbt\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4825    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4826    ac_status=$?    ac_status=$?
4827    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828    test $ac_status = 0; }; then    (exit $ac_status); }; then
4829    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`
4830  else  else
4831    pkg_failed=yes    pkg_failed=yes
# Line 4695  if test -n "$PKG_CONFIG"; then Line 4839  if test -n "$PKG_CONFIG"; then
4839          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"
4840      else      else
4841          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4842      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpsbt\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4843    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4844    ac_status=$?    ac_status=$?
4845    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846    test $ac_status = 0; }; then    (exit $ac_status); }; then
4847    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`
4848  else  else
4849    pkg_failed=yes    pkg_failed=yes
# Line 4726  fi Line 4870  fi
4870          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4871          echo "$gpsbt_PKG_ERRORS" >&5          echo "$gpsbt_PKG_ERRORS" >&5
4872    
4873          as_fn_error "Package requirements (gpsbt) were not met:          { { echo "$as_me:$LINENO: error: Package requirements (gpsbt) were not met:
4874    
4875    $gpsbt_PKG_ERRORS
4876    
4877    Consider adjusting the PKG_CONFIG_PATH environment variable if you
4878    installed software in a non-standard prefix.
4879    
4880    Alternatively, you may set the environment variables gpsbt_CFLAGS
4881    and gpsbt_LIBS to avoid the need to call pkg-config.
4882    See the pkg-config man page for more details.
4883    " >&5
4884    echo "$as_me: error: Package requirements (gpsbt) were not met:
4885    
4886  $gpsbt_PKG_ERRORS  $gpsbt_PKG_ERRORS
4887    
# Line 4736  installed software in a non-standard pre Line 4891  installed software in a non-standard pre
4891  Alternatively, you may set the environment variables gpsbt_CFLAGS  Alternatively, you may set the environment variables gpsbt_CFLAGS
4892  and gpsbt_LIBS to avoid the need to call pkg-config.  and gpsbt_LIBS to avoid the need to call pkg-config.
4893  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4894  " "$LINENO" 5  " >&2;}
4895       { (exit 1); exit 1; }; }
4896  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4897          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5          { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
4898  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  is in your PATH or set the PKG_CONFIG environment variable to the full
4899  as_fn_error "The pkg-config script could not be found or is too old.  Make sure it  path to pkg-config.
4900    
4901    Alternatively, you may set the environment variables gpsbt_CFLAGS
4902    and gpsbt_LIBS to avoid the need to call pkg-config.
4903    See the pkg-config man page for more details.
4904    
4905    To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4906    See \`config.log' for more details." >&5
4907    echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
4908  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
4909  path to pkg-config.  path to pkg-config.
4910    
# Line 4749  and gpsbt_LIBS to avoid the need to call Line 4913  and gpsbt_LIBS to avoid the need to call
4913  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4914    
4915  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4916  See \`config.log' for more details." "$LINENO" 5; }  See \`config.log' for more details." >&2;}
4917       { (exit 1); exit 1; }; }
4918  else  else
4919          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS
4920          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS
4921          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4922  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4923          :          :
4924  fi  fi
4925      CFLAGS="$CFLAGS -DENABLE_GPSBT $gpsbt_CFLAGS"      CFLAGS="$CFLAGS -DENABLE_GPSBT $gpsbt_CFLAGS"
# Line 4762  fi Line 4927  fi
4927    
4928  else  else
4929    
4930      { $as_echo "$as_me:${as_lineno-$LINENO}: gpsbt not found, trying liblocation" >&5      { echo "$as_me:$LINENO: gpsbt not found, trying liblocation" >&5
4931  $as_echo "$as_me: gpsbt not found, trying liblocation" >&6;}  echo "$as_me: gpsbt not found, trying liblocation" >&6;}
4932    
4933      if test -n "$PKG_CONFIG" && \      if test -n "$PKG_CONFIG" && \
4934      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblocation\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4935    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4936    ac_status=$?    ac_status=$?
4937    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938    test $ac_status = 0; }; then    (exit $ac_status); }; then
4939    
4940    
4941  pkg_failed=no  pkg_failed=no
4942  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblocation" >&5  { echo "$as_me:$LINENO: checking for liblocation" >&5
4943  $as_echo_n "checking for liblocation... " >&6; }  echo $ECHO_N "checking for liblocation... $ECHO_C" >&6; }
4944    
4945  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4946      if test -n "$liblocation_CFLAGS"; then      if test -n "$liblocation_CFLAGS"; then
4947          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"
4948      else      else
4949          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4950      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblocation\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4951    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4952    ac_status=$?    ac_status=$?
4953    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954    test $ac_status = 0; }; then    (exit $ac_status); }; then
4955    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`
4956  else  else
4957    pkg_failed=yes    pkg_failed=yes
# Line 4800  if test -n "$PKG_CONFIG"; then Line 4965  if test -n "$PKG_CONFIG"; then
4965          pkg_cv_liblocation_LIBS="$liblocation_LIBS"          pkg_cv_liblocation_LIBS="$liblocation_LIBS"
4966      else      else
4967          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4968      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblocation\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4969    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4970    ac_status=$?    ac_status=$?
4971    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972    test $ac_status = 0; }; then    (exit $ac_status); }; then
4973    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`
4974  else  else
4975    pkg_failed=yes    pkg_failed=yes
# Line 4831  fi Line 4996  fi
4996          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4997          echo "$liblocation_PKG_ERRORS" >&5          echo "$liblocation_PKG_ERRORS" >&5
4998    
4999          as_fn_error "Package requirements (liblocation) were not met:          { { echo "$as_me:$LINENO: error: Package requirements (liblocation) were not met:
5000    
5001    $liblocation_PKG_ERRORS
5002    
5003    Consider adjusting the PKG_CONFIG_PATH environment variable if you
5004    installed software in a non-standard prefix.
5005    
5006    Alternatively, you may set the environment variables liblocation_CFLAGS
5007    and liblocation_LIBS to avoid the need to call pkg-config.
5008    See the pkg-config man page for more details.
5009    " >&5
5010    echo "$as_me: error: Package requirements (liblocation) were not met:
5011    
5012  $liblocation_PKG_ERRORS  $liblocation_PKG_ERRORS
5013    
# Line 4841  installed software in a non-standard pre Line 5017  installed software in a non-standard pre
5017  Alternatively, you may set the environment variables liblocation_CFLAGS  Alternatively, you may set the environment variables liblocation_CFLAGS
5018  and liblocation_LIBS to avoid the need to call pkg-config.  and liblocation_LIBS to avoid the need to call pkg-config.
5019  See the pkg-config man page for more details.  See the pkg-config man page for more details.
5020  " "$LINENO" 5  " >&2;}
5021       { (exit 1); exit 1; }; }
5022  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5023          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5          { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
5024  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  is in your PATH or set the PKG_CONFIG environment variable to the full
5025  as_fn_error "The pkg-config script could not be found or is too old.  Make sure it  path to pkg-config.
5026    
5027    Alternatively, you may set the environment variables liblocation_CFLAGS
5028    and liblocation_LIBS to avoid the need to call pkg-config.
5029    See the pkg-config man page for more details.
5030    
5031    To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5032    See \`config.log' for more details." >&5
5033    echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5034  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
5035  path to pkg-config.  path to pkg-config.
5036    
# Line 4854  and liblocation_LIBS to avoid the need t Line 5039  and liblocation_LIBS to avoid the need t
5039  See the pkg-config man page for more details.  See the pkg-config man page for more details.
5040    
5041  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5042  See \`config.log' for more details." "$LINENO" 5; }  See \`config.log' for more details." >&2;}
5043       { (exit 1); exit 1; }; }
5044  else  else
5045          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS
5046          liblocation_LIBS=$pkg_cv_liblocation_LIBS          liblocation_LIBS=$pkg_cv_liblocation_LIBS
5047          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
5048  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
5049          :          :
5050  fi  fi
5051        CFLAGS="$CFLAGS -DENABLE_LIBLOCATION $liblocation_CFLAGS"        CFLAGS="$CFLAGS -DENABLE_LIBLOCATION $liblocation_CFLAGS"
# Line 4867  fi Line 5053  fi
5053    
5054  else  else
5055    
5056        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&5        { echo "$as_me:$LINENO: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&5
5057  $as_echo "$as_me: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&6;}  echo "$as_me: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&6;}
5058    
5059  fi  fi
5060    
5061  fi  fi
5062    
5063    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
5064      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tablet-browser-interface\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tablet-browser-interface\"") >&5
5065    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5
5066    ac_status=$?    ac_status=$?
5067    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068    test $ac_status = 0; }; then    (exit $ac_status); }; then
5069    
5070      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"
5071    
5072  else  else
5073    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No tablet-browser-interface found, disabling microb interface!" >&5    { echo "$as_me:$LINENO: WARNING: No tablet-browser-interface found, disabling microb interface!" >&5
5074  $as_echo "$as_me: WARNING: No tablet-browser-interface found, disabling microb interface!" >&6;}  echo "$as_me: WARNING: No tablet-browser-interface found, disabling microb interface!" >&6;}
5075  fi  fi
5076    
5077    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
5078      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"maemo-version\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5
5079    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
5080    ac_status=$?    ac_status=$?
5081    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082    test $ac_status = 0; }; then    (exit $ac_status); }; then
5083    
5084      VERSION=`pkg-config --modversion maemo-version`      VERSION=`pkg-config --modversion maemo-version`
5085      { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for Maemo $VERSION" >&5      { echo "$as_me:$LINENO: Configuring for Maemo $VERSION" >&5
5086  $as_echo "$as_me: Configuring for Maemo $VERSION" >&6;}  echo "$as_me: Configuring for Maemo $VERSION" >&6;}
5087      CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""      CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""
5088      MAJOR=`echo $VERSION | cut -b1 -`      MAJOR=`echo $VERSION | cut -b1 -`
5089      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"
# Line 4907  $as_echo "$as_me: Configuring for Maemo Line 5093  $as_echo "$as_me: Configuring for Maemo
5093    
5094  else  else
5095    
5096      as_fn_error "maemo-version not found" "$LINENO" 5      { { echo "$as_me:$LINENO: error: maemo-version not found" >&5
5097    echo "$as_me: error: maemo-version not found" >&2;}
5098       { (exit 1); exit 1; }; }
5099    
5100  fi  fi
5101    
# Line 4920  fi Line 5108  fi
5108       datarootdir=/opt       datarootdir=/opt
5109    
5110         # check for libespeak (broken in diablo, hence doing it here)         # check for libespeak (broken in diablo, hence doing it here)
5111         for ac_header in espeak/speak_lib.h  
5112  do :  for ac_header in espeak/speak_lib.h
5113    ac_fn_c_check_header_mongrel "$LINENO" "espeak/speak_lib.h" "ac_cv_header_espeak_speak_lib_h" "$ac_includes_default"  do
5114  if test "x$ac_cv_header_espeak_speak_lib_h" = x""yes; then :  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5115    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5116      { echo "$as_me:$LINENO: checking for $ac_header" >&5
5117    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5118    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5119      echo $ECHO_N "(cached) $ECHO_C" >&6
5120    fi
5121    ac_res=`eval echo '${'$as_ac_Header'}'`
5122                   { echo "$as_me:$LINENO: result: $ac_res" >&5
5123    echo "${ECHO_T}$ac_res" >&6; }
5124    else
5125      # Is the header compilable?
5126    { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5127    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5128    cat >conftest.$ac_ext <<_ACEOF
5129    /* confdefs.h.  */
5130    _ACEOF
5131    cat confdefs.h >>conftest.$ac_ext
5132    cat >>conftest.$ac_ext <<_ACEOF
5133    /* end confdefs.h.  */
5134    $ac_includes_default
5135    #include <$ac_header>
5136    _ACEOF
5137    rm -f conftest.$ac_objext
5138    if { (ac_try="$ac_compile"
5139    case "(($ac_try" in
5140      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5141      *) ac_try_echo=$ac_try;;
5142    esac
5143    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5144      (eval "$ac_compile") 2>conftest.er1
5145      ac_status=$?
5146      grep -v '^ *+' conftest.er1 >conftest.err
5147      rm -f conftest.er1
5148      cat conftest.err >&5
5149      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150      (exit $ac_status); } && {
5151             test -z "$ac_c_werror_flag" ||
5152             test ! -s conftest.err
5153           } && test -s conftest.$ac_objext; then
5154      ac_header_compiler=yes
5155    else
5156      echo "$as_me: failed program was:" >&5
5157    sed 's/^/| /' conftest.$ac_ext >&5
5158    
5159            ac_header_compiler=no
5160    fi
5161    
5162    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5163    { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5164    echo "${ECHO_T}$ac_header_compiler" >&6; }
5165    
5166    # Is the header present?
5167    { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5168    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5169    cat >conftest.$ac_ext <<_ACEOF
5170    /* confdefs.h.  */
5171    _ACEOF
5172    cat confdefs.h >>conftest.$ac_ext
5173    cat >>conftest.$ac_ext <<_ACEOF
5174    /* end confdefs.h.  */
5175    #include <$ac_header>
5176    _ACEOF
5177    if { (ac_try="$ac_cpp conftest.$ac_ext"
5178    case "(($ac_try" in
5179      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5180      *) ac_try_echo=$ac_try;;
5181    esac
5182    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5183      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5184      ac_status=$?
5185      grep -v '^ *+' conftest.er1 >conftest.err
5186      rm -f conftest.er1
5187      cat conftest.err >&5
5188      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189      (exit $ac_status); } >/dev/null && {
5190             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5191             test ! -s conftest.err
5192           }; then
5193      ac_header_preproc=yes
5194    else
5195      echo "$as_me: failed program was:" >&5
5196    sed 's/^/| /' conftest.$ac_ext >&5
5197    
5198      ac_header_preproc=no
5199    fi
5200    
5201    rm -f conftest.err conftest.$ac_ext
5202    { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5203    echo "${ECHO_T}$ac_header_preproc" >&6; }
5204    
5205    # So?  What about this header?
5206    case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5207      yes:no: )
5208        { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5209    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5210        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5211    echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5212        ac_header_preproc=yes
5213        ;;
5214      no:yes:* )
5215        { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5216    echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5217        { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5218    echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5219        { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5220    echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5221        { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5222    echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5223        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5224    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5225        { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5226    echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5227        ( cat <<\_ASBOX
5228    ## ------------------------------- ##
5229    ## Report this to till@harbaum.org ##
5230    ## ------------------------------- ##
5231    _ASBOX
5232         ) | sed "s/^/$as_me: WARNING:     /" >&2
5233        ;;
5234    esac
5235    { echo "$as_me:$LINENO: checking for $ac_header" >&5
5236    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5237    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5238      echo $ECHO_N "(cached) $ECHO_C" >&6
5239    else
5240      eval "$as_ac_Header=\$ac_header_preproc"
5241    fi
5242    ac_res=`eval echo '${'$as_ac_Header'}'`
5243                   { echo "$as_me:$LINENO: result: $ac_res" >&5
5244    echo "${ECHO_T}$ac_res" >&6; }
5245    
5246    fi
5247    if test `eval echo '${'$as_ac_Header'}'` = yes; then
5248    cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
5249  #define HAVE_ESPEAK_SPEAK_LIB_H 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5250  _ACEOF  _ACEOF
5251    
5252           CFLAGS="$CFLAGS -DESPEAK"           CFLAGS="$CFLAGS -DESPEAK"
# Line 4937  done Line 5258  done
5258    
5259    else    else
5260       ICONNAME=26x26/gpxview.png       ICONNAME=26x26/gpxview.png
5261       { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling Maemo Mapper support" >&5       { echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5
5262  $as_echo "$as_me: Enabling Maemo Mapper support" >&6;}  echo "$as_me: Enabling Maemo Mapper support" >&6;}
5263    fi    fi
5264    
5265    CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER"    CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER"
# Line 4947  $as_echo "$as_me: Enabling Maemo Mapper Line 5268  $as_echo "$as_me: Enabling Maemo Mapper
5268    # maemo uses dbus for ipc with maemo mapper    # maemo uses dbus for ipc with maemo mapper
5269    EXTRA_OBJS="$EXTRA_OBJS dbus.o"    EXTRA_OBJS="$EXTRA_OBJS dbus.o"
5270    
5271    { $as_echo "$as_me:${as_lineno-$LINENO}: Using application installer icon \"$ICONNAME\"" >&5    { echo "$as_me:$LINENO: Using application installer icon \"$ICONNAME\"" >&5
5272  $as_echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}  echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}
5273    
5274    # add icon entry to debian/control    # add icon entry to debian/control
5275    ICON=" Maemo icon $ICONNAME    ICON=" Maemo icon $ICONNAME
# Line 4962  XB-Maemo-Icon-26: Line 5283  XB-Maemo-Icon-26:
5283    
5284  else  else
5285    
5286    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
5287  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
5288    
5289    EXTRA_OBJS="$EXTRA_OBJS bct.o"    EXTRA_OBJS="$EXTRA_OBJS bct.o"
5290    CFLAGS="$CFLAGS -DBCT"    CFLAGS="$CFLAGS -DBCT"
# Line 4971  $as_echo "no" >&6; } Line 5292  $as_echo "no" >&6; }
5292    # check for gtk+-2.0    # check for gtk+-2.0
5293    
5294  pkg_failed=no  pkg_failed=no
5295  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk" >&5  { echo "$as_me:$LINENO: checking for gtk" >&5
5296  $as_echo_n "checking for gtk... " >&6; }  echo $ECHO_N "checking for gtk... $ECHO_C" >&6; }
5297    
5298  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
5299      if test -n "$gtk_CFLAGS"; then      if test -n "$gtk_CFLAGS"; then
5300          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
5301      else      else
5302          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5303      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
5304    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5305    ac_status=$?    ac_status=$?
5306    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307    test $ac_status = 0; }; then    (exit $ac_status); }; then
5308    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`
5309  else  else
5310    pkg_failed=yes    pkg_failed=yes
# Line 4997  if test -n "$PKG_CONFIG"; then Line 5318  if test -n "$PKG_CONFIG"; then
5318          pkg_cv_gtk_LIBS="$gtk_LIBS"          pkg_cv_gtk_LIBS="$gtk_LIBS"
5319      else      else
5320          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5321      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
5322    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5323    ac_status=$?    ac_status=$?
5324    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325    test $ac_status = 0; }; then    (exit $ac_status); }; then
5326    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`
5327  else  else
5328    pkg_failed=yes    pkg_failed=yes
# Line 5028  fi Line 5349  fi
5349          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5350          echo "$gtk_PKG_ERRORS" >&5          echo "$gtk_PKG_ERRORS" >&5
5351    
5352          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
5353  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
5354                  as_fn_error "gtk+-2.0 missing!" "$LINENO" 5                  { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
5355  elif test $pkg_failed = untried; then  echo "$as_me: error: gtk+-2.0 missing!" >&2;}
5356          as_fn_error "gtk+-2.0 missing!" "$LINENO" 5     { (exit 1); exit 1; }; }
5357  else  elif test $pkg_failed = untried; then
5358          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS          { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
5359          gtk_LIBS=$pkg_cv_gtk_LIBS  echo "$as_me: error: gtk+-2.0 missing!" >&2;}
5360          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5     { (exit 1); exit 1; }; }
5361  $as_echo "yes" >&6; }  else
5362          :          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
5363            gtk_LIBS=$pkg_cv_gtk_LIBS
5364            { echo "$as_me:$LINENO: result: yes" >&5
5365    echo "${ECHO_T}yes" >&6; }
5366            :
5367    fi
5368      CFLAGS="$CFLAGS $gtk_CFLAGS"
5369      LIBS="$LIBS $gtk_LIBS"
5370    
5371      # non-maemo device use gnome to call the web browser
5372    
5373    pkg_failed=no
5374    { echo "$as_me:$LINENO: checking for gnome2" >&5
5375    echo $ECHO_N "checking for gnome2... $ECHO_C" >&6; }
5376    
5377    if test -n "$PKG_CONFIG"; then
5378        if test -n "$gnome2_CFLAGS"; then
5379            pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"
5380        else
5381            if test -n "$PKG_CONFIG" && \
5382        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5
5383      ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5384      ac_status=$?
5385      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386      (exit $ac_status); }; then
5387      pkg_cv_gnome2_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0" 2>/dev/null`
5388    else
5389      pkg_failed=yes
5390    fi
5391        fi
5392    else
5393            pkg_failed=untried
5394    fi
5395    if test -n "$PKG_CONFIG"; then
5396        if test -n "$gnome2_LIBS"; then
5397            pkg_cv_gnome2_LIBS="$gnome2_LIBS"
5398        else
5399            if test -n "$PKG_CONFIG" && \
5400        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5
5401      ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5402      ac_status=$?
5403      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404      (exit $ac_status); }; then
5405      pkg_cv_gnome2_LIBS=`$PKG_CONFIG --libs "libgnome-2.0" 2>/dev/null`
5406    else
5407      pkg_failed=yes
5408    fi
5409        fi
5410    else
5411            pkg_failed=untried
5412    fi
5413    
5414    
5415    
5416    if test $pkg_failed = yes; then
5417    
5418    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5419            _pkg_short_errors_supported=yes
5420    else
5421            _pkg_short_errors_supported=no
5422    fi
5423            if test $_pkg_short_errors_supported = yes; then
5424                    gnome2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnome-2.0"`
5425            else
5426                    gnome2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnome-2.0"`
5427            fi
5428            # Put the nasty error message in config.log where it belongs
5429            echo "$gnome2_PKG_ERRORS" >&5
5430    
5431            { echo "$as_me:$LINENO: result: no" >&5
5432    echo "${ECHO_T}no" >&6; }
5433                    { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
5434    echo "$as_me: error: libgnome-2.0 missing" >&2;}
5435       { (exit 1); exit 1; }; }
5436    elif test $pkg_failed = untried; then
5437            { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
5438    echo "$as_me: error: libgnome-2.0 missing" >&2;}
5439       { (exit 1); exit 1; }; }
5440    else
5441            gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS
5442            gnome2_LIBS=$pkg_cv_gnome2_LIBS
5443            { echo "$as_me:$LINENO: result: yes" >&5
5444    echo "${ECHO_T}yes" >&6; }
5445            :
5446    fi
5447      CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"
5448      LIBS="$LIBS $gnome2_LIBS"
5449    
5450      # check for libespeak
5451    
5452    for ac_header in espeak/speak_lib.h
5453    do
5454    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5455    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5456      { echo "$as_me:$LINENO: checking for $ac_header" >&5
5457    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5458    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5459      echo $ECHO_N "(cached) $ECHO_C" >&6
5460    fi
5461    ac_res=`eval echo '${'$as_ac_Header'}'`
5462                   { echo "$as_me:$LINENO: result: $ac_res" >&5
5463    echo "${ECHO_T}$ac_res" >&6; }
5464    else
5465      # Is the header compilable?
5466    { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5467    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5468    cat >conftest.$ac_ext <<_ACEOF
5469    /* confdefs.h.  */
5470    _ACEOF
5471    cat confdefs.h >>conftest.$ac_ext
5472    cat >>conftest.$ac_ext <<_ACEOF
5473    /* end confdefs.h.  */
5474    $ac_includes_default
5475    #include <$ac_header>
5476    _ACEOF
5477    rm -f conftest.$ac_objext
5478    if { (ac_try="$ac_compile"
5479    case "(($ac_try" in
5480      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5481      *) ac_try_echo=$ac_try;;
5482    esac
5483    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5484      (eval "$ac_compile") 2>conftest.er1
5485      ac_status=$?
5486      grep -v '^ *+' conftest.er1 >conftest.err
5487      rm -f conftest.er1
5488      cat conftest.err >&5
5489      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490      (exit $ac_status); } && {
5491             test -z "$ac_c_werror_flag" ||
5492             test ! -s conftest.err
5493           } && test -s conftest.$ac_objext; then
5494      ac_header_compiler=yes
5495    else
5496      echo "$as_me: failed program was:" >&5
5497    sed 's/^/| /' conftest.$ac_ext >&5
5498    
5499            ac_header_compiler=no
5500    fi
5501    
5502    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5503    { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5504    echo "${ECHO_T}$ac_header_compiler" >&6; }
5505    
5506    # Is the header present?
5507    { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5508    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5509    cat >conftest.$ac_ext <<_ACEOF
5510    /* confdefs.h.  */
5511    _ACEOF
5512    cat confdefs.h >>conftest.$ac_ext
5513    cat >>conftest.$ac_ext <<_ACEOF
5514    /* end confdefs.h.  */
5515    #include <$ac_header>
5516    _ACEOF
5517    if { (ac_try="$ac_cpp conftest.$ac_ext"
5518    case "(($ac_try" in
5519      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5520      *) ac_try_echo=$ac_try;;
5521    esac
5522    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5523      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5524      ac_status=$?
5525      grep -v '^ *+' conftest.er1 >conftest.err
5526      rm -f conftest.er1
5527      cat conftest.err >&5
5528      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529      (exit $ac_status); } >/dev/null && {
5530             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5531             test ! -s conftest.err
5532           }; then
5533      ac_header_preproc=yes
5534    else
5535      echo "$as_me: failed program was:" >&5
5536    sed 's/^/| /' conftest.$ac_ext >&5
5537    
5538      ac_header_preproc=no
5539    fi
5540    
5541    rm -f conftest.err conftest.$ac_ext
5542    { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5543    echo "${ECHO_T}$ac_header_preproc" >&6; }
5544    
5545    # So?  What about this header?
5546    case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5547      yes:no: )
5548        { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5549    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5550        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5551    echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5552        ac_header_preproc=yes
5553        ;;
5554      no:yes:* )
5555        { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5556    echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5557        { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5558    echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5559        { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5560    echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5561        { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5562    echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5563        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5564    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5565        { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5566    echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5567        ( cat <<\_ASBOX
5568    ## ------------------------------- ##
5569    ## Report this to till@harbaum.org ##
5570    ## ------------------------------- ##
5571    _ASBOX
5572         ) | sed "s/^/$as_me: WARNING:     /" >&2
5573        ;;
5574    esac
5575    { echo "$as_me:$LINENO: checking for $ac_header" >&5
5576    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5577    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5578      echo $ECHO_N "(cached) $ECHO_C" >&6
5579    else
5580      eval "$as_ac_Header=\$ac_header_preproc"
5581    fi
5582    ac_res=`eval echo '${'$as_ac_Header'}'`
5583                   { echo "$as_me:$LINENO: result: $ac_res" >&5
5584    echo "${ECHO_T}$ac_res" >&6; }
5585    
5586    fi
5587    if test `eval echo '${'$as_ac_Header'}'` = yes; then
5588      cat >>confdefs.h <<_ACEOF
5589    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5590    _ACEOF
5591    
5592        CFLAGS="$CFLAGS -DESPEAK"
5593        LIBS="$LIBS -lespeak"
5594    
5595  fi  fi
   CFLAGS="$CFLAGS $gtk_CFLAGS"  
   LIBS="$LIBS $gtk_LIBS"  
5596    
5597    # non-maemo device use gnome to call the web browser  done
5598    
5599    
5600      # check for libgps
5601    
5602  pkg_failed=no  pkg_failed=no
5603  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnome2" >&5  { echo "$as_me:$LINENO: checking for gps" >&5
5604  $as_echo_n "checking for gnome2... " >&6; }  echo $ECHO_N "checking for gps... $ECHO_C" >&6; }
5605    
5606  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
5607      if test -n "$gnome2_CFLAGS"; then      if test -n "$gps_CFLAGS"; then
5608          pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"          pkg_cv_gps_CFLAGS="$gps_CFLAGS"
5609      else      else
5610          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5611      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgps\"") >&5
5612    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
5613    ac_status=$?    ac_status=$?
5614    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615    test $ac_status = 0; }; then    (exit $ac_status); }; then
5616    pkg_cv_gnome2_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0" 2>/dev/null`    pkg_cv_gps_CFLAGS=`$PKG_CONFIG --cflags "libgps" 2>/dev/null`
5617  else  else
5618    pkg_failed=yes    pkg_failed=yes
5619  fi  fi
# Line 5068  else Line 5622  else
5622          pkg_failed=untried          pkg_failed=untried
5623  fi  fi
5624  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
5625      if test -n "$gnome2_LIBS"; then      if test -n "$gps_LIBS"; then
5626          pkg_cv_gnome2_LIBS="$gnome2_LIBS"          pkg_cv_gps_LIBS="$gps_LIBS"
5627      else      else
5628          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5629      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\""; } >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgps\"") >&5
5630    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
5631    ac_status=$?    ac_status=$?
5632    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633    test $ac_status = 0; }; then    (exit $ac_status); }; then
5634    pkg_cv_gnome2_LIBS=`$PKG_CONFIG --libs "libgnome-2.0" 2>/dev/null`    pkg_cv_gps_LIBS=`$PKG_CONFIG --libs "libgps" 2>/dev/null`
5635  else  else
5636    pkg_failed=yes    pkg_failed=yes
5637  fi  fi
# Line 5096  else Line 5650  else
5650          _pkg_short_errors_supported=no          _pkg_short_errors_supported=no
5651  fi  fi
5652          if test $_pkg_short_errors_supported = yes; then          if test $_pkg_short_errors_supported = yes; then
5653                  gnome2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnome-2.0"`                  gps_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgps"`
5654          else          else
5655                  gnome2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnome-2.0"`                  gps_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgps"`
5656          fi          fi
5657          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5658          echo "$gnome2_PKG_ERRORS" >&5          echo "$gps_PKG_ERRORS" >&5
5659    
5660          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
5661  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
5662                  as_fn_error "libgnome-2.0 missing" "$LINENO" 5                  { echo "$as_me:$LINENO: No libgps found, using direct GPSD" >&5
5663    echo "$as_me: No libgps found, using direct GPSD" >&6;}
5664  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5665          as_fn_error "libgnome-2.0 missing" "$LINENO" 5          { echo "$as_me:$LINENO: No libgps found, using direct GPSD" >&5
5666    echo "$as_me: No libgps found, using direct GPSD" >&6;}
5667  else  else
5668          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS          gps_CFLAGS=$pkg_cv_gps_CFLAGS
5669          gnome2_LIBS=$pkg_cv_gnome2_LIBS          gps_LIBS=$pkg_cv_gps_LIBS
5670          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
5671  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
         :  
 fi  
   CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"  
   LIBS="$LIBS $gnome2_LIBS"  
   
   # check for libespeak  
   for ac_header in espeak/speak_lib.h  
 do :  
   ac_fn_c_check_header_mongrel "$LINENO" "espeak/speak_lib.h" "ac_cv_header_espeak_speak_lib_h" "$ac_includes_default"  
 if test "x$ac_cv_header_espeak_speak_lib_h" = x""yes; then :  
   cat >>confdefs.h <<_ACEOF  
 #define HAVE_ESPEAK_SPEAK_LIB_H 1  
 _ACEOF  
5672    
5673      CFLAGS="$CFLAGS -DESPEAK"      CFLAGS="$CFLAGS $gps_CFLAGS -DUSE_LIBGPS"
5674      LIBS="$LIBS -lespeak"      LIBS="$LIBS $gps_LIBS"
5675    
5676  fi  fi
5677    
 done  
   
   
5678    INSTALL_PLATTFORM="install-debian"    INSTALL_PLATTFORM="install-debian"
5679    
5680    ICON=" No icon"    ICON=" No icon"
# Line 5174  _ACEOF Line 5714  _ACEOF
5714      case $ac_val in #(      case $ac_val in #(
5715      *${as_nl}*)      *${as_nl}*)
5716        case $ac_var in #(        case $ac_var in #(
5717        *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5        *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5718  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;  echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5719        esac        esac
5720        case $ac_var in #(        case $ac_var in #(
5721        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
5722        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(        *) $as_unset $ac_var ;;
       *) { eval $ac_var=; unset $ac_var;} ;;  
5723        esac ;;        esac ;;
5724      esac      esac
5725    done    done
# Line 5188  $as_echo "$as_me: WARNING: cache variabl Line 5727  $as_echo "$as_me: WARNING: cache variabl
5727    (set) 2>&1 |    (set) 2>&1 |
5728      case $as_nl`(ac_space=' '; set) 2>&1` in #(      case $as_nl`(ac_space=' '; set) 2>&1` in #(
5729      *${as_nl}ac_space=\ *)      *${as_nl}ac_space=\ *)
5730        # `set' does not quote correctly, so add quotes: double-quote        # `set' does not quote correctly, so add quotes (double-quote
5731        # substitution turns \\\\ into \\, and sed turns \\ into \.        # substitution turns \\\\ into \\, and sed turns \\ into \).
5732        sed -n \        sed -n \
5733          "s/'/'\\\\''/g;          "s/'/'\\\\''/g;
5734            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
# Line 5212  $as_echo "$as_me: WARNING: cache variabl Line 5751  $as_echo "$as_me: WARNING: cache variabl
5751  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5752    if test -w "$cache_file"; then    if test -w "$cache_file"; then
5753      test "x$cache_file" != "x/dev/null" &&      test "x$cache_file" != "x/dev/null" &&
5754        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5        { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5755  $as_echo "$as_me: updating cache $cache_file" >&6;}  echo "$as_me: updating cache $cache_file" >&6;}
5756      cat confcache >$cache_file      cat confcache >$cache_file
5757    else    else
5758      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5      { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5759  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}  echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5760    fi    fi
5761  fi  fi
5762  rm -f confcache  rm -f confcache
# Line 5234  test "x$exec_prefix" = xNONE && exec_pre Line 5773  test "x$exec_prefix" = xNONE && exec_pre
5773  # take arguments), then branch to the quote section.  Otherwise,  # take arguments), then branch to the quote section.  Otherwise,
5774  # look for a macro that doesn't take arguments.  # look for a macro that doesn't take arguments.
5775  ac_script='  ac_script='
 :mline  
 /\\$/{  
  N  
  s,\\\n,,  
  b mline  
 }  
5776  t clear  t clear
5777  :clear  :clear
5778  s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g  s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
# Line 5269  ac_ltlibobjs= Line 5802  ac_ltlibobjs=
5802  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5803    # 1. Remove the extension, and $U if already installed.    # 1. Remove the extension, and $U if already installed.
5804    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5805    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`    ac_i=`echo "$ac_i" | sed "$ac_script"`
5806    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5807    #    will be set to the directory where LIBOBJS objects are built.    #    will be set to the directory where LIBOBJS objects are built.
5808    as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"    ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5809    as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'    ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5810  done  done
5811  LIBOBJS=$ac_libobjs  LIBOBJS=$ac_libobjs
5812    
# Line 5282  LTLIBOBJS=$ac_ltlibobjs Line 5815  LTLIBOBJS=$ac_ltlibobjs
5815    
5816    
5817  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
 ac_write_fail=0  
5818  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
5819  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5820  { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5  { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5821  $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
5822  as_write_fail=0  cat >$CONFIG_STATUS <<_ACEOF
 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1  
5823  #! $SHELL  #! $SHELL
5824  # Generated by $as_me.  # Generated by $as_me.
5825  # Run this file to recreate the current configuration.  # Run this file to recreate the current configuration.
# Line 5298  cat >$CONFIG_STATUS <<_ASEOF || as_write Line 5829  cat >$CONFIG_STATUS <<_ASEOF || as_write
5829  debug=false  debug=false
5830  ac_cs_recheck=false  ac_cs_recheck=false
5831  ac_cs_silent=false  ac_cs_silent=false
   
5832  SHELL=\${CONFIG_SHELL-$SHELL}  SHELL=\${CONFIG_SHELL-$SHELL}
5833  export SHELL  _ACEOF
5834  _ASEOF  
5835  cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
5836  ## -------------------- ##  ## --------------------- ##
5837  ## M4sh Initialization. ##  ## M4sh Initialization.  ##
5838  ## -------------------- ##  ## --------------------- ##
5839    
5840  # Be more Bourne compatible  # Be more Bourne compatible
5841  DUALCASE=1; export DUALCASE # for MKS sh  DUALCASE=1; export DUALCASE # for MKS sh
5842  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
5843    emulate sh    emulate sh
5844    NULLCMD=:    NULLCMD=:
5845    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5846    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
5847    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
5848    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
5849  else  else
5850    case `(set -o) 2>/dev/null` in #(    case `(set -o) 2>/dev/null` in
5851    *posix*) :    *posix*) set -o posix ;;
     set -o posix ;; #(  
   *) :  
      ;;  
5852  esac  esac
5853    
5854  fi  fi
5855    
5856    
5857  as_nl='  
5858  '  
5859  export as_nl  # PATH needs CR
5860  # Printing a long string crashes Solaris 7 /usr/bin/printf.  # Avoid depending upon Character Ranges.
5861  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5862  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5863  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo  as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5864  # Prefer a ksh shell builtin over an external printf program on Solaris,  as_cr_digits='0123456789'
5865  # but without wasting forks for bash or zsh.  as_cr_alnum=$as_cr_Letters$as_cr_digits
5866  if test -z "$BASH_VERSION$ZSH_VERSION" \  
5867      && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then  # The user is always right.
5868    as_echo='print -r --'  if test "${PATH_SEPARATOR+set}" != set; then
5869    as_echo_n='print -rn --'    echo "#! /bin/sh" >conf$$.sh
5870  elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then    echo  "exit 0"   >>conf$$.sh
5871    as_echo='printf %s\n'    chmod +x conf$$.sh
5872    as_echo_n='printf %s'    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5873  else      PATH_SEPARATOR=';'
   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then  
     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'  
     as_echo_n='/usr/ucb/echo -n'  
5874    else    else
5875      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'      PATH_SEPARATOR=:
     as_echo_n_body='eval  
       arg=$1;  
       case $arg in #(  
       *"$as_nl"*)  
         expr "X$arg" : "X\\(.*\\)$as_nl";  
         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;  
       esac;  
       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"  
     '  
     export as_echo_n_body  
     as_echo_n='sh -c $as_echo_n_body as_echo'  
5876    fi    fi
5877    export as_echo_body    rm -f conf$$.sh
   as_echo='sh -c $as_echo_body as_echo'  
5878  fi  fi
5879    
5880  # The user is always right.  # Support unset when possible.
5881  if test "${PATH_SEPARATOR+set}" != set; then  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5882    PATH_SEPARATOR=:    as_unset=unset
5883    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {  else
5884      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||    as_unset=false
       PATH_SEPARATOR=';'  
   }  
5885  fi  fi
5886    
5887    
# Line 5379  fi Line 5890  fi
5890  # there to prevent editors from complaining about space-tab.  # there to prevent editors from complaining about space-tab.
5891  # (If _AS_PATH_WALK were called with IFS unset, it would disable word  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5892  # splitting by setting IFS to empty value.)  # splitting by setting IFS to empty value.)
5893    as_nl='
5894    '
5895  IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
5896    
5897  # 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.
5898  case $0 in #((  case $0 in
5899    *[\\/]* ) as_myself=$0 ;;    *[\\/]* ) as_myself=$0 ;;
5900    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901  for as_dir in $PATH  for as_dir in $PATH
5902  do  do
5903    IFS=$as_save_IFS    IFS=$as_save_IFS
5904    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
5905      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5906    done  done
5907  IFS=$as_save_IFS  IFS=$as_save_IFS
5908    
5909       ;;       ;;
# Line 5401  if test "x$as_myself" = x; then Line 5914  if test "x$as_myself" = x; then
5914    as_myself=$0    as_myself=$0
5915  fi  fi
5916  if test ! -f "$as_myself"; then  if test ! -f "$as_myself"; then
5917    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2    echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5918    exit 1    { (exit 1); exit 1; }
5919  fi  fi
5920    
5921  # Unset variables that we do not need and which cause bugs (e.g. in  # Work around bugs in pre-3.0 UWIN ksh.
5922  # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"  for as_var in ENV MAIL MAILPATH
5923  # suppresses any "Segmentation fault" message there.  '((' could  do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 # trigger a bug in pdksh 5.2.14.  
 for as_var in BASH_ENV ENV MAIL MAILPATH  
 do eval test x\${$as_var+set} = xset \  
   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :  
5924  done  done
5925  PS1='$ '  PS1='$ '
5926  PS2='> '  PS2='> '
5927  PS4='+ '  PS4='+ '
5928    
5929  # NLS nuisances.  # NLS nuisances.
5930  LC_ALL=C  for as_var in \
5931  export LC_ALL    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5932  LANGUAGE=C    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5933  export LANGUAGE    LC_TELEPHONE LC_TIME
5934    do
5935  # CDPATH.    if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5936  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH      eval $as_var=C; export $as_var
5937      else
5938        ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 # as_fn_error ERROR [LINENO LOG_FD]  
 # ---------------------------------  
 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are  
 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the  
 # script with status $?, using 1 if that was 0.  
 as_fn_error ()  
 {  
   as_status=$?; test $as_status -eq 0 && as_status=1  
   if test "$3"; then  
     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack  
     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3  
5939    fi    fi
5940    $as_echo "$as_me: error: $1" >&2  done
   as_fn_exit $as_status  
 } # as_fn_error  
   
   
 # as_fn_set_status STATUS  
 # -----------------------  
 # Set $? to STATUS, without forking.  
 as_fn_set_status ()  
 {  
   return $1  
 } # as_fn_set_status  
   
 # as_fn_exit STATUS  
 # -----------------  
 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.  
 as_fn_exit ()  
 {  
   set +e  
   as_fn_set_status $1  
   exit $1  
 } # as_fn_exit  
   
 # as_fn_unset VAR  
 # ---------------  
 # Portably unset VAR.  
 as_fn_unset ()  
 {  
   { eval $1=; unset $1;}  
 }  
 as_unset=as_fn_unset  
 # as_fn_append VAR VALUE  
 # ----------------------  
 # Append the text in VALUE to the end of the definition contained in VAR. Take  
 # advantage of any shell optimizations that allow amortized linear growth over  
 # repeated appends, instead of the typical quadratic growth present in naive  
 # implementations.  
 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :  
   eval 'as_fn_append ()  
   {  
     eval $1+=\$2  
   }'  
 else  
   as_fn_append ()  
   {  
     eval $1=\$$1\$2  
   }  
 fi # as_fn_append  
   
 # as_fn_arith ARG...  
 # ------------------  
 # Perform arithmetic evaluation on the ARGs, and store the result in the  
 # global $as_val. Take advantage of shells that can avoid forks. The arguments  
 # must be portable across $(()) and expr.  
 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :  
   eval 'as_fn_arith ()  
   {  
     as_val=$(( $* ))  
   }'  
 else  
   as_fn_arith ()  
   {  
     as_val=`expr "$@" || test $? -eq 1`  
   }  
 fi # as_fn_arith  
   
5941    
5942    # Required to use basename.
5943  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
5944     test "X`expr 00001 : '.*\(...\)'`" = X001; then     test "X`expr 00001 : '.*\(...\)'`" = X001; then
5945    as_expr=expr    as_expr=expr
# Line 5519  else Line 5953  else
5953    as_basename=false    as_basename=false
5954  fi  fi
5955    
 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then  
   as_dirname=dirname  
 else  
   as_dirname=false  
 fi  
5956    
5957    # Name of the executable.
5958  as_me=`$as_basename -- "$0" ||  as_me=`$as_basename -- "$0" ||
5959  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5960           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
5961           X"$0" : 'X\(/\)' \| . 2>/dev/null ||           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5962  $as_echo X/"$0" |  echo X/"$0" |
5963      sed '/^.*\/\([^/][^/]*\)\/*$/{      sed '/^.*\/\([^/][^/]*\)\/*$/{
5964              s//\1/              s//\1/
5965              q              q
# Line 5544  $as_echo X/"$0" | Line 5974  $as_echo X/"$0" |
5974            }            }
5975            s/.*/./; q'`            s/.*/./; q'`
5976    
5977  # Avoid depending upon Character Ranges.  # CDPATH.
5978  as_cr_letters='abcdefghijklmnopqrstuvwxyz'  $as_unset CDPATH
5979  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'  
5980  as_cr_Letters=$as_cr_letters$as_cr_LETTERS  
5981  as_cr_digits='0123456789'  
5982  as_cr_alnum=$as_cr_Letters$as_cr_digits    as_lineno_1=$LINENO
5983      as_lineno_2=$LINENO
5984      test "x$as_lineno_1" != "x$as_lineno_2" &&
5985      test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5986    
5987      # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5988      # uniformly replaced by the line number.  The first 'sed' inserts a
5989      # line-number line after each line using $LINENO; the second 'sed'
5990      # does the real work.  The second script uses 'N' to pair each
5991      # line-number line with the line containing $LINENO, and appends
5992      # trailing '-' during substitution so that $LINENO is not a special
5993      # case at line end.
5994      # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5995      # scripts with optimization help from Paolo Bonzini.  Blame Lee
5996      # E. McMahon (1931-1989) for sed's syntax.  :-)
5997      sed -n '
5998        p
5999        /[$]LINENO/=
6000      ' <$as_myself |
6001        sed '
6002          s/[$]LINENO.*/&-/
6003          t lineno
6004          b
6005          :lineno
6006          N
6007          :loop
6008          s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6009          t loop
6010          s/-\n.*//
6011        ' >$as_me.lineno &&
6012      chmod +x "$as_me.lineno" ||
6013        { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6014       { (exit 1); exit 1; }; }
6015    
6016      # Don't try to exec as it changes $[0], causing all sort of problems
6017      # (the dirname of $[0] is not the place where we might find the
6018      # original and so on.  Autoconf is especially sensitive to this).
6019      . "./$as_me.lineno"
6020      # Exit status is that of the last command.
6021      exit
6022    }
6023    
6024    
6025    if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6026      as_dirname=dirname
6027    else
6028      as_dirname=false
6029    fi
6030    
6031  ECHO_C= ECHO_N= ECHO_T=  ECHO_C= ECHO_N= ECHO_T=
6032  case `echo -n x` in #(((((  case `echo -n x` in
6033  -n*)  -n*)
6034    case `echo 'xy\c'` in    case `echo 'x\c'` in
6035    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
6036    xy)  ECHO_C='\c';;    *)   ECHO_C='\c';;
   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null  
        ECHO_T=' ';;  
6037    esac;;    esac;;
6038  *)  *)
6039    ECHO_N='-n';;    ECHO_N='-n';;
6040  esac  esac
6041    
6042    if expr a : '\(a\)' >/dev/null 2>&1 &&
6043       test "X`expr 00001 : '.*\(...\)'`" = X001; then
6044      as_expr=expr
6045    else
6046      as_expr=false
6047    fi
6048    
6049  rm -f conf$$ conf$$.exe conf$$.file  rm -f conf$$ conf$$.exe conf$$.file
6050  if test -d conf$$.dir; then  if test -d conf$$.dir; then
6051    rm -f conf$$.dir/conf$$.file    rm -f conf$$.dir/conf$$.file
6052  else  else
6053    rm -f conf$$.dir    rm -f conf$$.dir
6054    mkdir conf$$.dir 2>/dev/null    mkdir conf$$.dir
6055  fi  fi
6056  if (echo >conf$$.file) 2>/dev/null; then  echo >conf$$.file
6057    if ln -s conf$$.file conf$$ 2>/dev/null; then  if ln -s conf$$.file conf$$ 2>/dev/null; then
6058      as_ln_s='ln -s'    as_ln_s='ln -s'
6059      # ... but there are two gotchas:    # ... but there are two gotchas:
6060      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6061      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6062      # In both cases, we have to default to `cp -p'.    # In both cases, we have to default to `cp -p'.
6063      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
       as_ln_s='cp -p'  
   elif ln conf$$.file conf$$ 2>/dev/null; then  
     as_ln_s=ln  
   else  
6064      as_ln_s='cp -p'      as_ln_s='cp -p'
6065    fi  elif ln conf$$.file conf$$ 2>/dev/null; then
6066      as_ln_s=ln
6067  else  else
6068    as_ln_s='cp -p'    as_ln_s='cp -p'
6069  fi  fi
6070  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6071  rmdir conf$$.dir 2>/dev/null  rmdir conf$$.dir 2>/dev/null
6072    
   
 # as_fn_mkdir_p  
 # -------------  
 # Create "$as_dir" as a directory, including parents if necessary.  
 as_fn_mkdir_p ()  
 {  
   
   case $as_dir in #(  
   -*) as_dir=./$as_dir;;  
   esac  
   test -d "$as_dir" || eval $as_mkdir_p || {  
     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_fn_error "cannot create directory $as_dir"  
   
   
 } # as_fn_mkdir_p  
6073  if mkdir -p . 2>/dev/null; then  if mkdir -p . 2>/dev/null; then
6074    as_mkdir_p='mkdir -p "$as_dir"'    as_mkdir_p=:
6075  else  else
6076    test -d ./-p && rmdir ./-p    test -d ./-p && rmdir ./-p
6077    as_mkdir_p=false    as_mkdir_p=false
# Line 5657  else Line 6088  else
6088    as_test_x='    as_test_x='
6089      eval sh -c '\''      eval sh -c '\''
6090        if test -d "$1"; then        if test -d "$1"; then
6091          test -d "$1/.";          test -d "$1/.";
6092        else        else
6093          case $1 in #(          case $1 in
6094          -*)set "./$1";;          -*)set "./$1";;
6095          esac;          esac;
6096          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6097          ???[sx]*):;;*)false;;esac;fi          ???[sx]*):;;*)false;;esac;fi
6098      '\'' sh      '\'' sh
6099    '    '
# Line 5677  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr Line 6108  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
6108    
6109    
6110  exec 6>&1  exec 6>&1
 ## ----------------------------------- ##  
 ## Main body of $CONFIG_STATUS script. ##  
 ## ----------------------------------- ##  
 _ASEOF  
 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1  
6111    
6112  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  # Save the log message, to keep $[0] and so on meaningful, and to
 # Save the log message, to keep $0 and so on meaningful, and to  
6113  # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
6114  # values after options handling.  # values after options handling.
6115  ac_log="  ac_log="
6116  This file was extended by GPXView $as_me 0.9.4, which was  This file was extended by GPXView $as_me 0.9.4, which was
6117  generated by GNU Autoconf 2.65.  Invocation command line was  generated by GNU Autoconf 2.61.  Invocation command line was
6118    
6119    CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
6120    CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 5702  on `(hostname || uname -n) 2>/dev/null | Line 6127  on `(hostname || uname -n) 2>/dev/null |
6127    
6128  _ACEOF  _ACEOF
6129    
6130  case $ac_config_files in *"  cat >>$CONFIG_STATUS <<_ACEOF
 "*) set x $ac_config_files; shift; ac_config_files=$*;;  
 esac  
   
   
   
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  
6131  # Files that config.status was made for.  # Files that config.status was made for.
6132  config_files="$ac_config_files"  config_files="$ac_config_files"
6133    
6134  _ACEOF  _ACEOF
6135    
6136  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6137  ac_cs_usage="\  ac_cs_usage="\
6138  \`$as_me' instantiates files and other configuration actions  \`$as_me' instantiates files from templates according to the
6139  from templates according to the current configuration.  Unless the files  current configuration.
 and actions are specified as TAGs, all are instantiated by default.  
6140    
6141  Usage: $0 [OPTION]... [TAG]...  Usage: $0 [OPTIONS] [FILE]...
6142    
6143    -h, --help       print this help, then exit    -h, --help       print this help, then exit
6144    -V, --version    print version number and configuration settings, then exit    -V, --version    print version number and configuration settings, then exit
6145        --config     print configuration, then exit    -q, --quiet      do not print progress messages
   -q, --quiet, --silent  
                    do not print progress messages  
6146    -d, --debug      don't remove temporary files    -d, --debug      don't remove temporary files
6147        --recheck    update $as_me by reconfiguring in the same conditions        --recheck    update $as_me by reconfiguring in the same conditions
6148        --file=FILE[:TEMPLATE]    --file=FILE[:TEMPLATE]
6149                     instantiate the configuration file FILE                     instantiate the configuration file FILE
6150    
6151  Configuration files:  Configuration files:
6152  $config_files  $config_files
6153    
6154  Report bugs to <till@harbaum.org>."  Report bugs to <bug-autoconf@gnu.org>."
6155    
6156  _ACEOF  _ACEOF
6157  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"  
6158  ac_cs_version="\\  ac_cs_version="\\
6159  GPXView config.status 0.9.4  GPXView config.status 0.9.4
6160  configured by $0, generated by GNU Autoconf 2.65,  configured by $0, generated by GNU Autoconf 2.61,
6161    with options \\"\$ac_cs_config\\"    with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6162    
6163  Copyright (C) 2009 Free Software Foundation, Inc.  Copyright (C) 2006 Free Software Foundation, Inc.
6164  This config.status script is free software; the Free Software Foundation  This config.status script is free software; the Free Software Foundation
6165  gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
6166    
6167  ac_pwd='$ac_pwd'  ac_pwd='$ac_pwd'
6168  srcdir='$srcdir'  srcdir='$srcdir'
6169  INSTALL='$INSTALL'  INSTALL='$INSTALL'
 test -n "\$AWK" || AWK=awk  
6170  _ACEOF  _ACEOF
6171    
6172  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6173  # The default lists apply if the user does not specify any file.  # If no file are specified by the user, then we need to provide default
6174    # value.  By we need to know if files were specified by the user.
6175  ac_need_defaults=:  ac_need_defaults=:
6176  while test $# != 0  while test $# != 0
6177  do  do
# Line 5778  do Line 6193  do
6193    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6194      ac_cs_recheck=: ;;      ac_cs_recheck=: ;;
6195    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6196      $as_echo "$ac_cs_version"; exit ;;      echo "$ac_cs_version"; exit ;;
   --config | --confi | --conf | --con | --co | --c )  
     $as_echo "$ac_cs_config"; exit ;;  
6197    --debug | --debu | --deb | --de | --d | -d )    --debug | --debu | --deb | --de | --d | -d )
6198      debug=: ;;      debug=: ;;
6199    --file | --fil | --fi | --f )    --file | --fil | --fi | --f )
6200      $ac_shift      $ac_shift
6201      case $ac_optarg in      CONFIG_FILES="$CONFIG_FILES $ac_optarg"
     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;  
     esac  
     as_fn_append CONFIG_FILES " '$ac_optarg'"  
6202      ac_need_defaults=false;;      ac_need_defaults=false;;
6203    --he | --h |  --help | --hel | -h )    --he | --h |  --help | --hel | -h )
6204      $as_echo "$ac_cs_usage"; exit ;;      echo "$ac_cs_usage"; exit ;;
6205    -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6206    | -silent | --silent | --silen | --sile | --sil | --si | --s)    | -silent | --silent | --silen | --sile | --sil | --si | --s)
6207      ac_cs_silent=: ;;      ac_cs_silent=: ;;
6208    
6209    # This is an error.    # This is an error.
6210    -*) as_fn_error "unrecognized option: \`$1'    -*) { echo "$as_me: error: unrecognized option: $1
6211  Try \`$0 --help' for more information." ;;  Try \`$0 --help' for more information." >&2
6212       { (exit 1); exit 1; }; } ;;
6213    
6214    *) as_fn_append ac_config_targets " $1"    *) ac_config_targets="$ac_config_targets $1"
6215       ac_need_defaults=false ;;       ac_need_defaults=false ;;
6216    
6217    esac    esac
# Line 5815  if $ac_cs_silent; then Line 6226  if $ac_cs_silent; then
6226  fi  fi
6227    
6228  _ACEOF  _ACEOF
6229  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
6230  if \$ac_cs_recheck; then  if \$ac_cs_recheck; then
6231    set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion    echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6232    shift    CONFIG_SHELL=$SHELL
   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6  
   CONFIG_SHELL='$SHELL'  
6233    export CONFIG_SHELL    export CONFIG_SHELL
6234    exec "\$@"    exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6235  fi  fi
6236    
6237  _ACEOF  _ACEOF
6238  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6239  exec 5>>config.log  exec 5>>config.log
6240  {  {
6241    echo    echo
6242    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6243  ## Running $as_me. ##  ## Running $as_me. ##
6244  _ASBOX  _ASBOX
6245    $as_echo "$ac_log"    echo "$ac_log"
6246  } >&5  } >&5
6247    
6248  _ACEOF  _ACEOF
6249  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
6250  _ACEOF  _ACEOF
6251    
6252  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6253    
6254  # Handling of arguments.  # Handling of arguments.
6255  for ac_config_target in $ac_config_targets  for ac_config_target in $ac_config_targets
# Line 5851  do Line 6260  do
6260      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
6261      "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;      "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;
6262    
6263    *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6264    echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6265       { (exit 1); exit 1; }; };;
6266    esac    esac
6267  done  done
6268    
# Line 5876  $debug || Line 6287  $debug ||
6287    trap 'exit_status=$?    trap 'exit_status=$?
6288    { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status    { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6289  ' 0  ' 0
6290    trap 'as_fn_exit 1' 1 2 13 15    trap '{ (exit 1); exit 1; }' 1 2 13 15
6291  }  }
6292  # Create a (secure) tmp directory for tmp files.  # Create a (secure) tmp directory for tmp files.
6293    
# Line 5887  $debug || Line 6298  $debug ||
6298  {  {
6299    tmp=./conf$$-$RANDOM    tmp=./conf$$-$RANDOM
6300    (umask 077 && mkdir "$tmp")    (umask 077 && mkdir "$tmp")
6301  } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5  } ||
6302    {
6303  # Set up the scripts for CONFIG_FILES section.     echo "$me: cannot create a temporary directory in ." >&2
6304  # No need to generate them if there are no CONFIG_FILES.     { (exit 1); exit 1; }
6305  # This happens for instance with `./config.status config.h'.  }
 if test -n "$CONFIG_FILES"; then  
6306    
6307    #
6308    # Set up the sed scripts for CONFIG_FILES section.
6309    #
6310    
6311  ac_cr=`echo X | tr X '\015'`  # No need to generate the scripts if there are no CONFIG_FILES.
6312  # On cygwin, bash can eat \r inside `` if the user requested igncr.  # This happens for instance when ./config.status config.h
6313  # But we know of no other shell where ac_cr would be empty at this  if test -n "$CONFIG_FILES"; then
 # point, so we can use a bashism as a fallback.  
 if test "x$ac_cr" = x; then  
   eval ac_cr=\$\'\\r\'  
 fi  
 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`  
 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then  
   ac_cs_awk_cr='\r'  
 else  
   ac_cs_awk_cr=$ac_cr  
 fi  
6314    
 echo 'BEGIN {' >"$tmp/subs1.awk" &&  
6315  _ACEOF  _ACEOF
6316    
6317    
6318  {  
   echo "cat >conf$$subs.awk <<_ACEOF" &&  
   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&  
   echo "_ACEOF"  
 } >conf$$subs.sh ||  
   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5  
 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`  
6319  ac_delim='%!_!# '  ac_delim='%!_!# '
6320  for ac_last_try in false false false false false :; do  for ac_last_try in false false false false false :; do
6321    . ./conf$$subs.sh ||    cat >conf$$subs.sed <<_ACEOF
6322      as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5  SHELL!$SHELL$ac_delim
6323    PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6324    PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6325    PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6326    PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6327    PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6328    PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6329    exec_prefix!$exec_prefix$ac_delim
6330    prefix!$prefix$ac_delim
6331    program_transform_name!$program_transform_name$ac_delim
6332    bindir!$bindir$ac_delim
6333    sbindir!$sbindir$ac_delim
6334    libexecdir!$libexecdir$ac_delim
6335    datarootdir!$datarootdir$ac_delim
6336    datadir!$datadir$ac_delim
6337    sysconfdir!$sysconfdir$ac_delim
6338    sharedstatedir!$sharedstatedir$ac_delim
6339    localstatedir!$localstatedir$ac_delim
6340    includedir!$includedir$ac_delim
6341    oldincludedir!$oldincludedir$ac_delim
6342    docdir!$docdir$ac_delim
6343    infodir!$infodir$ac_delim
6344    htmldir!$htmldir$ac_delim
6345    dvidir!$dvidir$ac_delim
6346    pdfdir!$pdfdir$ac_delim
6347    psdir!$psdir$ac_delim
6348    libdir!$libdir$ac_delim
6349    localedir!$localedir$ac_delim
6350    mandir!$mandir$ac_delim
6351    DEFS!$DEFS$ac_delim
6352    ECHO_C!$ECHO_C$ac_delim
6353    ECHO_N!$ECHO_N$ac_delim
6354    ECHO_T!$ECHO_T$ac_delim
6355    LIBS!$LIBS$ac_delim
6356    build_alias!$build_alias$ac_delim
6357    host_alias!$host_alias$ac_delim
6358    target_alias!$target_alias$ac_delim
6359    PACKAGE!$PACKAGE$ac_delim
6360    CC!$CC$ac_delim
6361    CFLAGS!$CFLAGS$ac_delim
6362    LDFLAGS!$LDFLAGS$ac_delim
6363    CPPFLAGS!$CPPFLAGS$ac_delim
6364    ac_ct_CC!$ac_ct_CC$ac_delim
6365    EXEEXT!$EXEEXT$ac_delim
6366    OBJEXT!$OBJEXT$ac_delim
6367    INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6368    INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6369    INSTALL_DATA!$INSTALL_DATA$ac_delim
6370    LN_S!$LN_S$ac_delim
6371    SET_MAKE!$SET_MAKE$ac_delim
6372    PKG_CONFIG!$PKG_CONFIG$ac_delim
6373    gnome_vfs_module_CFLAGS!$gnome_vfs_module_CFLAGS$ac_delim
6374    gnome_vfs_module_LIBS!$gnome_vfs_module_LIBS$ac_delim
6375    libxml2_CFLAGS!$libxml2_CFLAGS$ac_delim
6376    libxml2_LIBS!$libxml2_LIBS$ac_delim
6377    libcurl_CFLAGS!$libcurl_CFLAGS$ac_delim
6378    libcurl_LIBS!$libcurl_LIBS$ac_delim
6379    libsoup24_CFLAGS!$libsoup24_CFLAGS$ac_delim
6380    libsoup24_LIBS!$libsoup24_LIBS$ac_delim
6381    libsoup22_CFLAGS!$libsoup22_CFLAGS$ac_delim
6382    libsoup22_LIBS!$libsoup22_LIBS$ac_delim
6383    libgtkhtml3_14_CFLAGS!$libgtkhtml3_14_CFLAGS$ac_delim
6384    libgtkhtml3_14_LIBS!$libgtkhtml3_14_LIBS$ac_delim
6385    libgtkhtml3_8_CFLAGS!$libgtkhtml3_8_CFLAGS$ac_delim
6386    libgtkhtml3_8_LIBS!$libgtkhtml3_8_LIBS$ac_delim
6387    hildon_CFLAGS!$hildon_CFLAGS$ac_delim
6388    hildon_LIBS!$hildon_LIBS$ac_delim
6389    osso_CFLAGS!$osso_CFLAGS$ac_delim
6390    osso_LIBS!$osso_LIBS$ac_delim
6391    hildon_fm_2_CFLAGS!$hildon_fm_2_CFLAGS$ac_delim
6392    hildon_fm_2_LIBS!$hildon_fm_2_LIBS$ac_delim
6393    sqlite3_CFLAGS!$sqlite3_CFLAGS$ac_delim
6394    sqlite3_LIBS!$sqlite3_LIBS$ac_delim
6395    hildon_help_CFLAGS!$hildon_help_CFLAGS$ac_delim
6396    hildon_help_LIBS!$hildon_help_LIBS$ac_delim
6397    gpsbt_CFLAGS!$gpsbt_CFLAGS$ac_delim
6398    gpsbt_LIBS!$gpsbt_LIBS$ac_delim
6399    liblocation_CFLAGS!$liblocation_CFLAGS$ac_delim
6400    liblocation_LIBS!$liblocation_LIBS$ac_delim
6401    MAEMO_VERSION_MAJOR!$MAEMO_VERSION_MAJOR$ac_delim
6402    CPP!$CPP$ac_delim
6403    GREP!$GREP$ac_delim
6404    EGREP!$EGREP$ac_delim
6405    gtk_CFLAGS!$gtk_CFLAGS$ac_delim
6406    gtk_LIBS!$gtk_LIBS$ac_delim
6407    gnome2_CFLAGS!$gnome2_CFLAGS$ac_delim
6408    gnome2_LIBS!$gnome2_LIBS$ac_delim
6409    gps_CFLAGS!$gps_CFLAGS$ac_delim
6410    gps_LIBS!$gps_LIBS$ac_delim
6411    EXTRA_OBJS!$EXTRA_OBJS$ac_delim
6412    ICON!$ICON$ac_delim
6413    INSTALL_PLATTFORM!$INSTALL_PLATTFORM$ac_delim
6414    LIBOBJS!$LIBOBJS$ac_delim
6415    LTLIBOBJS!$LTLIBOBJS$ac_delim
6416    _ACEOF
6417    
6418    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`    if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 94; then
   if test $ac_delim_n = $ac_delim_num; then  
6419      break      break
6420    elif $ac_last_try; then    elif $ac_last_try; then
6421      as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5      { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6422    echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6423       { (exit 1); exit 1; }; }
6424    else    else
6425      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6426    fi    fi
6427  done  done
 rm -f conf$$subs.sh  
6428    
6429  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6430  cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&  if test -n "$ac_eof"; then
6431      ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6432      ac_eof=`expr $ac_eof + 1`
6433    fi
6434    
6435    cat >>$CONFIG_STATUS <<_ACEOF
6436    cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6437    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6438    _ACEOF
6439    sed '
6440    s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6441    s/^/s,@/; s/!/@,|#_!!_#|/
6442    :n
6443    t n
6444    s/'"$ac_delim"'$/,g/; t
6445    s/$/\\/; p
6446    N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6447    ' >>$CONFIG_STATUS <conf$$subs.sed
6448    rm -f conf$$subs.sed
6449    cat >>$CONFIG_STATUS <<_ACEOF
6450    :end
6451    s/|#_!!_#|//g
6452    CEOF$ac_eof
6453  _ACEOF  _ACEOF
 sed -n '  
 h  
 s/^/S["/; s/!.*/"]=/  
 p  
 g  
 s/^[^!]*!//  
 :repl  
 t repl  
 s/'"$ac_delim"'$//  
 t delim  
 :nl  
 h  
 s/\(.\{148\}\)..*/\1/  
 t more1  
 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/  
 p  
 n  
 b repl  
 :more1  
 s/["\\]/\\&/g; s/^/"/; s/$/"\\/  
 p  
 g  
 s/.\{148\}//  
 t nl  
 :delim  
 h  
 s/\(.\{148\}\)..*/\1/  
 t more2  
 s/["\\]/\\&/g; s/^/"/; s/$/"/  
 p  
 b  
 :more2  
 s/["\\]/\\&/g; s/^/"/; s/$/"\\/  
 p  
 g  
 s/.\{148\}//  
 t delim  
 ' <conf$$subs.awk | sed '  
 /^[^""]/{  
   N  
   s/\n//  
 }  
 ' >>$CONFIG_STATUS || ac_write_fail=1  
 rm -f conf$$subs.awk  
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  
 _ACAWK  
 cat >>"\$tmp/subs1.awk" <<_ACAWK &&  
   for (key in S) S_is_set[key] = 1  
   FS = ""  
6454    
 }  
 {  
   line = $ 0  
   nfields = split(line, field, "@")  
   substed = 0  
   len = length(field[1])  
   for (i = 2; i < nfields; i++) {  
     key = field[i]  
     keylen = length(key)  
     if (S_is_set[key]) {  
       value = S[key]  
       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)  
       len += length(value) + length(field[++i])  
       substed = 1  
     } else  
       len += 1 + keylen  
   }  
   
   print line  
 }  
   
 _ACAWK  
 _ACEOF  
 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  
 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then  
   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"  
 else  
   cat  
 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \  
   || as_fn_error "could not setup config files machinery" "$LINENO" 5  
 _ACEOF  
6455    
6456  # VPATH may cause trouble with some makes, so we remove $(srcdir),  # VPATH may cause trouble with some makes, so we remove $(srcdir),
6457  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
# Line 6036  s/^[^=]*=[      ]*$// Line 6468  s/^[^=]*=[      ]*$//
6468  }'  }'
6469  fi  fi
6470    
6471  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6472  fi # test -n "$CONFIG_FILES"  fi # test -n "$CONFIG_FILES"
6473    
6474    
6475  eval set X "  :F $CONFIG_FILES      "  for ac_tag in  :F $CONFIG_FILES
 shift  
 for ac_tag  
6476  do  do
6477    case $ac_tag in    case $ac_tag in
6478    :[FHLC]) ac_mode=$ac_tag; continue;;    :[FHLC]) ac_mode=$ac_tag; continue;;
6479    esac    esac
6480    case $ac_mode$ac_tag in    case $ac_mode$ac_tag in
6481    :[FHL]*:*);;    :[FHL]*:*);;
6482    :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;    :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6483    echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6484       { (exit 1); exit 1; }; };;
6485    :[FH]-) ac_tag=-:-;;    :[FH]-) ac_tag=-:-;;
6486    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6487    esac    esac
# Line 6077  do Line 6509  do
6509             [\\/$]*) false;;             [\\/$]*) false;;
6510             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6511             esac ||             esac ||
6512             as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;             { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6513    echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6514       { (exit 1); exit 1; }; };;
6515        esac        esac
6516        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac        ac_file_inputs="$ac_file_inputs $ac_f"
       as_fn_append ac_file_inputs " '$ac_f'"  
6517      done      done
6518    
6519      # 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
6520      # use $as_me), people would be surprised to read:      # use $as_me), people would be surprised to read:
6521      #    /* config.h.  Generated by config.status.  */      #    /* config.h.  Generated by config.status.  */
6522      configure_input='Generated from '`      configure_input="Generated from "`IFS=:
6523            $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'            echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
         `' by configure.'  
6524      if test x"$ac_file" != x-; then      if test x"$ac_file" != x-; then
6525        configure_input="$ac_file.  $configure_input"        configure_input="$ac_file.  $configure_input"
6526        { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5        { echo "$as_me:$LINENO: creating $ac_file" >&5
6527  $as_echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
6528      fi      fi
     # Neutralize special characters interpreted by sed in replacement strings.  
     case $configure_input in #(  
     *\&* | *\|* | *\\* )  
        ac_sed_conf_input=`$as_echo "$configure_input" |  
        sed 's/[\\\\&|]/\\\\&/g'`;; #(  
     *) ac_sed_conf_input=$configure_input;;  
     esac  
6529    
6530      case $ac_tag in      case $ac_tag in
6531      *:-:* | *:-) cat >"$tmp/stdin" \      *:-:* | *:-) cat >"$tmp/stdin";;
       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;  
6532      esac      esac
6533      ;;      ;;
6534    esac    esac
# Line 6114  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^ Line 6538  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^
6538           X"$ac_file" : 'X\(//\)[^/]' \| \           X"$ac_file" : 'X\(//\)[^/]' \| \
6539           X"$ac_file" : 'X\(//\)$' \| \           X"$ac_file" : 'X\(//\)$' \| \
6540           X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||           X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6541  $as_echo X"$ac_file" |  echo X"$ac_file" |
6542        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6543                s//\1/
6544                q
6545              }
6546              /^X\(\/\/\)[^/].*/{
6547                s//\1/
6548                q
6549              }
6550              /^X\(\/\/\)$/{
6551                s//\1/
6552                q
6553              }
6554              /^X\(\/\).*/{
6555                s//\1/
6556                q
6557              }
6558              s/.*/./; q'`
6559      { as_dir="$ac_dir"
6560      case $as_dir in #(
6561      -*) as_dir=./$as_dir;;
6562      esac
6563      test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6564        as_dirs=
6565        while :; do
6566          case $as_dir in #(
6567          *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6568          *) as_qdir=$as_dir;;
6569          esac
6570          as_dirs="'$as_qdir' $as_dirs"
6571          as_dir=`$as_dirname -- "$as_dir" ||
6572    $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6573             X"$as_dir" : 'X\(//\)[^/]' \| \
6574             X"$as_dir" : 'X\(//\)$' \| \
6575             X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6576    echo X"$as_dir" |
6577      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6578              s//\1/              s//\1/
6579              q              q
# Line 6132  $as_echo X"$ac_file" | Line 6591  $as_echo X"$ac_file" |
6591              q              q
6592            }            }
6593            s/.*/./; q'`            s/.*/./; q'`
6594    as_dir="$ac_dir"; as_fn_mkdir_p        test -d "$as_dir" && break
6595        done
6596        test -z "$as_dirs" || eval "mkdir $as_dirs"
6597      } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6598    echo "$as_me: error: cannot create directory $as_dir" >&2;}
6599       { (exit 1); exit 1; }; }; }
6600    ac_builddir=.    ac_builddir=.
6601    
6602  case "$ac_dir" in  case "$ac_dir" in
6603  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6604  *)  *)
6605    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6606    # A ".." for each directory in $ac_dir_suffix.    # A ".." for each directory in $ac_dir_suffix.
6607    ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`    ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6608    case $ac_top_builddir_sub in    case $ac_top_builddir_sub in
6609    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6610    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
# Line 6180  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ Line 6644  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
6644    esac    esac
6645  _ACEOF  _ACEOF
6646    
6647  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6648  # If the template does not know about datarootdir, expand it.  # If the template does not know about datarootdir, expand it.
6649  # FIXME: This hack should be removed a few years after 2.60.  # FIXME: This hack should be removed a few years after 2.60.
6650  ac_datarootdir_hack=; ac_datarootdir_seen=  ac_datarootdir_hack=; ac_datarootdir_seen=
6651  ac_sed_dataroot='  
6652  /datarootdir/ {  case `sed -n '/datarootdir/ {
6653    p    p
6654    q    q
6655  }  }
# Line 6193  ac_sed_dataroot=' Line 6657  ac_sed_dataroot='
6657  /@docdir@/p  /@docdir@/p
6658  /@infodir@/p  /@infodir@/p
6659  /@localedir@/p  /@localedir@/p
6660  /@mandir@/p'  /@mandir@/p
6661  case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in  ' $ac_file_inputs` in
6662  *datarootdir*) ac_datarootdir_seen=yes;;  *datarootdir*) ac_datarootdir_seen=yes;;
6663  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6664    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5    { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6665  $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}  echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6666  _ACEOF  _ACEOF
6667  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
6668    ac_datarootdir_hack='    ac_datarootdir_hack='
6669    s&@datadir@&$datadir&g    s&@datadir@&$datadir&g
6670    s&@docdir@&$docdir&g    s&@docdir@&$docdir&g
6671    s&@infodir@&$infodir&g    s&@infodir@&$infodir&g
6672    s&@localedir@&$localedir&g    s&@localedir@&$localedir&g
6673    s&@mandir@&$mandir&g    s&@mandir@&$mandir&g
6674    s&\\\${datarootdir}&$datarootdir&g' ;;      s&\\\${datarootdir}&$datarootdir&g' ;;
6675  esac  esac
6676  _ACEOF  _ACEOF
6677    
6678  # Neutralize VPATH when `$srcdir' = `.'.  # Neutralize VPATH when `$srcdir' = `.'.
6679  # Shell code in configure.ac might set extrasub.  # Shell code in configure.ac might set extrasub.
6680  # FIXME: do we really want to maintain this feature?  # FIXME: do we really want to maintain this feature?
6681  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
6682  ac_sed_extra="$ac_vpsub    sed "$ac_vpsub
6683  $extrasub  $extrasub
6684  _ACEOF  _ACEOF
6685  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6686  :t  :t
6687  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6688  s|@configure_input@|$ac_sed_conf_input|;t t  s&@configure_input@&$configure_input&;t t
6689  s&@top_builddir@&$ac_top_builddir_sub&;t t  s&@top_builddir@&$ac_top_builddir_sub&;t t
 s&@top_build_prefix@&$ac_top_build_prefix&;t t  
6690  s&@srcdir@&$ac_srcdir&;t t  s&@srcdir@&$ac_srcdir&;t t
6691  s&@abs_srcdir@&$ac_abs_srcdir&;t t  s&@abs_srcdir@&$ac_abs_srcdir&;t t
6692  s&@top_srcdir@&$ac_top_srcdir&;t t  s&@top_srcdir@&$ac_top_srcdir&;t t
# Line 6233  s&@abs_builddir@&$ac_abs_builddir&;t t Line 6696  s&@abs_builddir@&$ac_abs_builddir&;t t
6696  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6697  s&@INSTALL@&$ac_INSTALL&;t t  s&@INSTALL@&$ac_INSTALL&;t t
6698  $ac_datarootdir_hack  $ac_datarootdir_hack
6699  "  " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \  
   || as_fn_error "could not create $ac_file" "$LINENO" 5  
6700    
6701  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6702    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6703    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6704    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'    { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6705  which seems to be undefined.  Please make sure it is defined." >&5  which seems to be undefined.  Please make sure it is defined." >&5
6706  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'  echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6707  which seems to be undefined.  Please make sure it is defined." >&2;}  which seems to be undefined.  Please make sure it is defined." >&2;}
6708    
6709    rm -f "$tmp/stdin"    rm -f "$tmp/stdin"
6710    case $ac_file in    case $ac_file in
6711    -) cat "$tmp/out" && rm -f "$tmp/out";;    -) cat "$tmp/out"; rm -f "$tmp/out";;
6712    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;    *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6713    esac \    esac
   || as_fn_error "could not create $ac_file" "$LINENO" 5  
6714   ;;   ;;
6715    
6716    
# Line 6260  which seems to be undefined.  Please mak Line 6720  which seems to be undefined.  Please mak
6720  done # for ac_tag  done # for ac_tag
6721    
6722    
6723  as_fn_exit 0  { (exit 0); exit 0; }
6724  _ACEOF  _ACEOF
6725    chmod +x $CONFIG_STATUS
6726  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
6727    
 test $ac_write_fail = 0 ||  
   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5  
   
6728    
6729  # configure is writing to config.log, and then calls config.status.  # configure is writing to config.log, and then calls config.status.
6730  # config.status does its own redirection, appending to config.log.  # config.status does its own redirection, appending to config.log.
# Line 6286  if test "$no_create" != yes; then Line 6744  if test "$no_create" != yes; then
6744    exec 5>>config.log    exec 5>>config.log
6745    # Use ||, not &&, to avoid exiting from the if with $? = 1, which    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6746    # would make configure fail if this is the last instruction.    # would make configure fail if this is the last instruction.
6747    $ac_cs_success || as_fn_exit $?    $ac_cs_success || { (exit 1); exit 1; }
 fi  
 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5  
 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}  
6748  fi  fi
6749    

Legend:
Removed from v.281  
changed lines
  Added in v.282