Diff of /trunk/configure

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

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

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