Diff of /trunk/configure

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

revision 48 by harbaum, Fri Aug 7 07:57:33 2009 UTC revision 297 by harbaum, Wed Aug 25 12:24:38 2010 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated by GNU Autoconf 2.61 for GPXView 0.8.2.  # Generated by GNU Autoconf 2.65 for GPXView 0.9.5.
4  #  #
5  # Report bugs to <till@harbaum.org>.  # Report bugs to <till@harbaum.org>.
6  #  #
7    #
8  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9  # 2002, 2003, 2004, 2005, 2006 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.8.2'  PACKAGE_VERSION='0.9.5'
556  PACKAGE_STRING='GPXView 0.8.2'  PACKAGE_STRING='GPXView 0.9.5'
557  PACKAGE_BUGREPORT='till@harbaum.org'  PACKAGE_BUGREPORT='till@harbaum.org'
558    PACKAGE_URL=''
559    
560  ac_unique_file="src/main.c"  ac_unique_file="src/main.c"
561  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
 PACKAGE  
 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  
 libsoup24_CFLAGS  
 libsoup24_LIBS  
 libsoup22_CFLAGS  
 libsoup22_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  
 gtk_CFLAGS  
 gtk_LIBS  
 gnome2_CFLAGS  
 gnome2_LIBS  
 EXTRA_OBJS  
 INSTALL_PLATTFORM  
598  LIBOBJS  LIBOBJS
599  LTLIBOBJS'  INSTALL_PLATTFORM
600    ICON
601    EXTRA_OBJS
602    gps_LIBS
603    gps_CFLAGS
604    gnome2_LIBS
605    gnome2_CFLAGS
606    gtk_LIBS
607    gtk_CFLAGS
608    EGREP
609    GREP
610    CPP
611    MAEMO_VERSION_MAJOR
612    liblocation_LIBS
613    liblocation_CFLAGS
614    gpsbt_LIBS
615    gpsbt_CFLAGS
616    hildon_help_LIBS
617    hildon_help_CFLAGS
618    sqlite3_LIBS
619    sqlite3_CFLAGS
620    hildon_fm_2_LIBS
621    hildon_fm_2_CFLAGS
622    osso_LIBS
623    osso_CFLAGS
624    hildon_LIBS
625    hildon_CFLAGS
626    libgtkhtml3_8_LIBS
627    libgtkhtml3_8_CFLAGS
628    libgtkhtml3_14_LIBS
629    libgtkhtml3_14_CFLAGS
630    libsoup22_LIBS
631    libsoup22_CFLAGS
632    libsoup24_LIBS
633    libsoup24_CFLAGS
634    libcurl_LIBS
635    libcurl_CFLAGS
636    libxml2_LIBS
637    libxml2_CFLAGS
638    gnome_vfs_module_LIBS
639    gnome_vfs_module_CFLAGS
640    PKG_CONFIG
641    SET_MAKE
642    LN_S
643    INSTALL_DATA
644    INSTALL_SCRIPT
645    INSTALL_PROGRAM
646    OBJEXT
647    EXEEXT
648    ac_ct_CC
649    CPPFLAGS
650    LDFLAGS
651    CFLAGS
652    CC
653    PACKAGE
654    target_alias
655    host_alias
656    build_alias
657    LIBS
658    ECHO_T
659    ECHO_N
660    ECHO_C
661    DEFS
662    mandir
663    localedir
664    libdir
665    psdir
666    pdfdir
667    dvidir
668    htmldir
669    infodir
670    docdir
671    oldincludedir
672    includedir
673    localstatedir
674    sharedstatedir
675    sysconfdir
676    datadir
677    datarootdir
678    libexecdir
679    sbindir
680    bindir
681    program_transform_name
682    prefix
683    exec_prefix
684    PACKAGE_URL
685    PACKAGE_BUGREPORT
686    PACKAGE_STRING
687    PACKAGE_VERSION
688    PACKAGE_TARNAME
689    PACKAGE_NAME
690    PATH_SEPARATOR
691    SHELL'
692  ac_subst_files=''  ac_subst_files=''
693    ac_user_opts='
694    enable_option_checking
695    '
696        ac_precious_vars='build_alias        ac_precious_vars='build_alias
697  host_alias  host_alias
698  target_alias  target_alias
# Line 678  gnome_vfs_module_CFLAGS Line 706  gnome_vfs_module_CFLAGS
706  gnome_vfs_module_LIBS  gnome_vfs_module_LIBS
707  libxml2_CFLAGS  libxml2_CFLAGS
708  libxml2_LIBS  libxml2_LIBS
709    libcurl_CFLAGS
710    libcurl_LIBS
711  libsoup24_CFLAGS  libsoup24_CFLAGS
712  libsoup24_LIBS  libsoup24_LIBS
713  libsoup22_CFLAGS  libsoup22_CFLAGS
# Line 700  gpsbt_CFLAGS Line 730  gpsbt_CFLAGS
730  gpsbt_LIBS  gpsbt_LIBS
731  liblocation_CFLAGS  liblocation_CFLAGS
732  liblocation_LIBS  liblocation_LIBS
733    CPP
734  gtk_CFLAGS  gtk_CFLAGS
735  gtk_LIBS  gtk_LIBS
736  gnome2_CFLAGS  gnome2_CFLAGS
737  gnome2_LIBS'  gnome2_LIBS
738    gps_CFLAGS
739    gps_LIBS'
740    
741    
742  # Initialize some variables set by options.  # Initialize some variables set by options.
743  ac_init_help=  ac_init_help=
744  ac_init_version=false  ac_init_version=false
745    ac_unrecognized_opts=
746    ac_unrecognized_sep=
747  # The variables have the same names as the options, with  # The variables have the same names as the options, with
748  # dashes changed to underlines.  # dashes changed to underlines.
749  cache_file=/dev/null  cache_file=/dev/null
# Line 807  do Line 842  do
842      datarootdir=$ac_optarg ;;      datarootdir=$ac_optarg ;;
843    
844    -disable-* | --disable-*)    -disable-* | --disable-*)
845      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
846      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
847      expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
848        { echo "$as_me: error: invalid feature name: $ac_feature" >&2        as_fn_error "invalid feature name: $ac_useropt"
849     { (exit 1); exit 1; }; }      ac_useropt_orig=$ac_useropt
850      ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
851      eval enable_$ac_feature=no ;;      case $ac_user_opts in
852          *"
853    "enable_$ac_useropt"
854    "*) ;;
855          *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
856             ac_unrecognized_sep=', ';;
857        esac
858        eval enable_$ac_useropt=no ;;
859    
860    -docdir | --docdir | --docdi | --doc | --do)    -docdir | --docdir | --docdi | --doc | --do)
861      ac_prev=docdir ;;      ac_prev=docdir ;;
# Line 826  do Line 868  do
868      dvidir=$ac_optarg ;;      dvidir=$ac_optarg ;;
869    
870    -enable-* | --enable-*)    -enable-* | --enable-*)
871      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
872      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
873      expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
874        { echo "$as_me: error: invalid feature name: $ac_feature" >&2        as_fn_error "invalid feature name: $ac_useropt"
875     { (exit 1); exit 1; }; }      ac_useropt_orig=$ac_useropt
876      ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
877      eval enable_$ac_feature=\$ac_optarg ;;      case $ac_user_opts in
878          *"
879    "enable_$ac_useropt"
880    "*) ;;
881          *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
882             ac_unrecognized_sep=', ';;
883        esac
884        eval enable_$ac_useropt=\$ac_optarg ;;
885    
886    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
887    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 1023  do Line 1072  do
1072      ac_init_version=: ;;      ac_init_version=: ;;
1073    
1074    -with-* | --with-*)    -with-* | --with-*)
1075      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1076      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1077      expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078        { echo "$as_me: error: invalid package name: $ac_package" >&2        as_fn_error "invalid package name: $ac_useropt"
1079     { (exit 1); exit 1; }; }      ac_useropt_orig=$ac_useropt
1080      ac_package=`echo $ac_package | sed 's/[-.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081      eval with_$ac_package=\$ac_optarg ;;      case $ac_user_opts in
1082          *"
1083    "with_$ac_useropt"
1084    "*) ;;
1085          *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1086             ac_unrecognized_sep=', ';;
1087        esac
1088        eval with_$ac_useropt=\$ac_optarg ;;
1089    
1090    -without-* | --without-*)    -without-* | --without-*)
1091      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1092      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1093      expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094        { echo "$as_me: error: invalid package name: $ac_package" >&2        as_fn_error "invalid package name: $ac_useropt"
1095     { (exit 1); exit 1; }; }      ac_useropt_orig=$ac_useropt
1096      ac_package=`echo $ac_package | sed 's/[-.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097      eval with_$ac_package=no ;;      case $ac_user_opts in
1098          *"
1099    "with_$ac_useropt"
1100    "*) ;;
1101          *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1102             ac_unrecognized_sep=', ';;
1103        esac
1104        eval with_$ac_useropt=no ;;
1105    
1106    --x)    --x)
1107      # Obsolete; use --with-x.      # Obsolete; use --with-x.
# Line 1058  do Line 1121  do
1121    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1122      x_libraries=$ac_optarg ;;      x_libraries=$ac_optarg ;;
1123    
1124    -*) { echo "$as_me: error: unrecognized option: $ac_option    -*) as_fn_error "unrecognized option: \`$ac_option'
1125  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information."
    { (exit 1); exit 1; }; }  
1126      ;;      ;;
1127    
1128    *=*)    *=*)
1129      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1130      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1131      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&      case $ac_envvar in #(
1132        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2        '' | [0-9]* | *[!_$as_cr_alnum]* )
1133     { (exit 1); exit 1; }; }        as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1134        esac
1135      eval $ac_envvar=\$ac_optarg      eval $ac_envvar=\$ac_optarg
1136      export $ac_envvar ;;      export $ac_envvar ;;
1137    
1138    *)    *)
1139      # FIXME: should be removed in autoconf 3.0.      # FIXME: should be removed in autoconf 3.0.
1140      echo "$as_me: WARNING: you should use --build, --host, --target" >&2      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1141      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1142        echo "$as_me: WARNING: invalid host type: $ac_option" >&2        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1143      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1144      ;;      ;;
1145    
# Line 1085  done Line 1148  done
1148    
1149  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
1150    ac_option=--`echo $ac_prev | sed 's/_/-/g'`    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1151    { echo "$as_me: error: missing argument to $ac_option" >&2    as_fn_error "missing argument to $ac_option"
1152     { (exit 1); exit 1; }; }  fi
1153    
1154    if test -n "$ac_unrecognized_opts"; then
1155      case $enable_option_checking in
1156        no) ;;
1157        fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1158        *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1159      esac
1160  fi  fi
1161    
1162  # Be sure to have absolute directory names.  # Check all directory arguments for consistency.
1163  for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \  for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1164                  datadir sysconfdir sharedstatedir localstatedir includedir \                  datadir sysconfdir sharedstatedir localstatedir includedir \
1165                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1166                  libdir localedir mandir                  libdir localedir mandir
1167  do  do
1168    eval ac_val=\$$ac_var    eval ac_val=\$$ac_var
1169      # Remove trailing slashes.
1170      case $ac_val in
1171        */ )
1172          ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1173          eval $ac_var=\$ac_val;;
1174      esac
1175      # Be sure to have absolute directory names.
1176    case $ac_val in    case $ac_val in
1177      [\\/$]* | ?:[\\/]* )  continue;;      [\\/$]* | ?:[\\/]* )  continue;;
1178      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1179    esac    esac
1180    { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2    as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
    { (exit 1); exit 1; }; }  
1181  done  done
1182    
1183  # There might be people who depend on the old broken behavior: `$host'  # There might be people who depend on the old broken behavior: `$host'
# Line 1115  target=$target_alias Line 1191  target=$target_alias
1191  if test "x$host_alias" != x; then  if test "x$host_alias" != x; then
1192    if test "x$build_alias" = x; then    if test "x$build_alias" = x; then
1193      cross_compiling=maybe      cross_compiling=maybe
1194      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.
1195      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
1196    elif test "x$build_alias" != "x$host_alias"; then    elif test "x$build_alias" != "x$host_alias"; then
1197      cross_compiling=yes      cross_compiling=yes
# Line 1131  test "$silent" = yes && exec 6>/dev/null Line 1207  test "$silent" = yes && exec 6>/dev/null
1207  ac_pwd=`pwd` && test -n "$ac_pwd" &&  ac_pwd=`pwd` && test -n "$ac_pwd" &&
1208  ac_ls_di=`ls -di .` &&  ac_ls_di=`ls -di .` &&
1209  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1210    { echo "$as_me: error: Working directory cannot be determined" >&2    as_fn_error "working directory cannot be determined"
    { (exit 1); exit 1; }; }  
1211  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1212    { echo "$as_me: error: pwd does not report name of working directory" >&2    as_fn_error "pwd does not report name of working directory"
    { (exit 1); exit 1; }; }  
1213    
1214    
1215  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
1216  if test -z "$srcdir"; then  if test -z "$srcdir"; then
1217    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
1218    # Try the directory containing this script, then the parent directory.    # Try the directory containing this script, then the parent directory.
1219    ac_confdir=`$as_dirname -- "$0" ||    ac_confdir=`$as_dirname -- "$as_myself" ||
1220  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1221           X"$0" : 'X\(//\)[^/]' \| \           X"$as_myself" : 'X\(//\)[^/]' \| \
1222           X"$0" : 'X\(//\)$' \| \           X"$as_myself" : 'X\(//\)$' \| \
1223           X"$0" : 'X\(/\)' \| . 2>/dev/null ||           X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1224  echo X"$0" |  $as_echo X"$as_myself" |
1225      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1226              s//\1/              s//\1/
1227              q              q
# Line 1174  else Line 1248  else
1248  fi  fi
1249  if test ! -r "$srcdir/$ac_unique_file"; then  if test ! -r "$srcdir/$ac_unique_file"; then
1250    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1251    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2    as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
    { (exit 1); exit 1; }; }  
1252  fi  fi
1253  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1254  ac_abs_confdir=`(  ac_abs_confdir=`(
1255          cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2          cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
    { (exit 1); exit 1; }; }  
1256          pwd)`          pwd)`
1257  # When building in place, set srcdir=.  # When building in place, set srcdir=.
1258  if test "$ac_abs_confdir" = "$ac_pwd"; then  if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1206  if test "$ac_init_help" = "long"; then Line 1278  if test "$ac_init_help" = "long"; then
1278    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
1279    # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
1280    cat <<_ACEOF    cat <<_ACEOF
1281  \`configure' configures GPXView 0.8.2 to adapt to many kinds of systems.  \`configure' configures GPXView 0.9.5 to adapt to many kinds of systems.
1282    
1283  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
1284    
# Line 1228  Configuration: Line 1300  Configuration:
1300    
1301  Installation directories:  Installation directories:
1302    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
1303                            [$ac_default_prefix]                            [$ac_default_prefix]
1304    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1305                            [PREFIX]                            [PREFIX]
1306    
1307  By default, \`make install' will install all the files in  By default, \`make install' will install all the files in
1308  \`$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 1240  for instance \`--prefix=\$HOME'. Line 1312  for instance \`--prefix=\$HOME'.
1312  For better control, use the options below.  For better control, use the options below.
1313    
1314  Fine tuning of the installation directories:  Fine tuning of the installation directories:
1315    --bindir=DIR           user executables [EPREFIX/bin]    --bindir=DIR            user executables [EPREFIX/bin]
1316    --sbindir=DIR          system admin executables [EPREFIX/sbin]    --sbindir=DIR           system admin executables [EPREFIX/sbin]
1317    --libexecdir=DIR       program executables [EPREFIX/libexec]    --libexecdir=DIR        program executables [EPREFIX/libexec]
1318    --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1319    --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1320    --localstatedir=DIR    modifiable single-machine data [PREFIX/var]    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1321    --libdir=DIR           object code libraries [EPREFIX/lib]    --libdir=DIR            object code libraries [EPREFIX/lib]
1322    --includedir=DIR       C header files [PREFIX/include]    --includedir=DIR        C header files [PREFIX/include]
1323    --oldincludedir=DIR    C header files for non-gcc [/usr/include]    --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1324    --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]    --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1325    --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]    --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1326    --infodir=DIR          info documentation [DATAROOTDIR/info]    --infodir=DIR           info documentation [DATAROOTDIR/info]
1327    --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]    --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1328    --mandir=DIR           man documentation [DATAROOTDIR/man]    --mandir=DIR            man documentation [DATAROOTDIR/man]
1329    --docdir=DIR           documentation root [DATAROOTDIR/doc/gpxview]    --docdir=DIR            documentation root [DATAROOTDIR/doc/gpxview]
1330    --htmldir=DIR          html documentation [DOCDIR]    --htmldir=DIR           html documentation [DOCDIR]
1331    --dvidir=DIR           dvi documentation [DOCDIR]    --dvidir=DIR            dvi documentation [DOCDIR]
1332    --pdfdir=DIR           pdf documentation [DOCDIR]    --pdfdir=DIR            pdf documentation [DOCDIR]
1333    --psdir=DIR            ps documentation [DOCDIR]    --psdir=DIR             ps documentation [DOCDIR]
1334  _ACEOF  _ACEOF
1335    
1336    cat <<\_ACEOF    cat <<\_ACEOF
# Line 1267  fi Line 1339  fi
1339    
1340  if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
1341    case $ac_init_help in    case $ac_init_help in
1342       short | recursive ) echo "Configuration of GPXView 0.8.2:";;       short | recursive ) echo "Configuration of GPXView 0.9.5:";;
1343     esac     esac
1344    cat <<\_ACEOF    cat <<\_ACEOF
1345    
# Line 1277  Some influential environment variables: Line 1349  Some influential environment variables:
1349    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1350                nonstandard directory <lib dir>                nonstandard directory <lib dir>
1351    LIBS        libraries to pass to the linker, e.g. -l<library>    LIBS        libraries to pass to the linker, e.g. -l<library>
1352    CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1353                you have headers in a nonstandard directory <include dir>                you have headers in a nonstandard directory <include dir>
1354    PKG_CONFIG  path to pkg-config utility    PKG_CONFIG  path to pkg-config utility
1355    gnome_vfs_module_CFLAGS    gnome_vfs_module_CFLAGS
# Line 1288  Some influential environment variables: Line 1360  Some influential environment variables:
1360                C compiler flags for libxml2, overriding pkg-config                C compiler flags for libxml2, overriding pkg-config
1361    libxml2_LIBS    libxml2_LIBS
1362                linker flags for libxml2, overriding pkg-config                linker flags for libxml2, overriding pkg-config
1363      libcurl_CFLAGS
1364                  C compiler flags for libcurl, overriding pkg-config
1365      libcurl_LIBS
1366                  linker flags for libcurl, overriding pkg-config
1367    libsoup24_CFLAGS    libsoup24_CFLAGS
1368                C compiler flags for libsoup24, overriding pkg-config                C compiler flags for libsoup24, overriding pkg-config
1369    libsoup24_LIBS    libsoup24_LIBS
# Line 1328  Some influential environment variables: Line 1404  Some influential environment variables:
1404                C compiler flags for liblocation, overriding pkg-config                C compiler flags for liblocation, overriding pkg-config
1405    liblocation_LIBS    liblocation_LIBS
1406                linker flags for liblocation, overriding pkg-config                linker flags for liblocation, overriding pkg-config
1407      CPP         C preprocessor
1408    gtk_CFLAGS  C compiler flags for gtk, overriding pkg-config    gtk_CFLAGS  C compiler flags for gtk, overriding pkg-config
1409    gtk_LIBS    linker flags for gtk, overriding pkg-config    gtk_LIBS    linker flags for gtk, overriding pkg-config
1410    gnome2_CFLAGS    gnome2_CFLAGS
1411                C compiler flags for gnome2, overriding pkg-config                C compiler flags for gnome2, overriding pkg-config
1412    gnome2_LIBS linker flags for gnome2, overriding pkg-config    gnome2_LIBS linker flags for gnome2, overriding pkg-config
1413      gps_CFLAGS  C compiler flags for gps, overriding pkg-config
1414      gps_LIBS    linker flags for gps, overriding pkg-config
1415    
1416  Use these variables to override the choices made by `configure' or to help  Use these variables to override the choices made by `configure' or to help
1417  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
# Line 1345  fi Line 1424  fi
1424  if test "$ac_init_help" = "recursive"; then  if test "$ac_init_help" = "recursive"; then
1425    # If there are subdirs, report their specific --help.    # If there are subdirs, report their specific --help.
1426    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
1427      test -d "$ac_dir" || continue      test -d "$ac_dir" ||
1428          { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1429          continue
1430      ac_builddir=.      ac_builddir=.
1431    
1432  case "$ac_dir" in  case "$ac_dir" in
1433  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1434  *)  *)
1435    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1436    # A ".." for each directory in $ac_dir_suffix.    # A ".." for each directory in $ac_dir_suffix.
1437    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|/||'`
1438    case $ac_top_builddir_sub in    case $ac_top_builddir_sub in
1439    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
# Line 1378  case $srcdir in Line 1459  case $srcdir in
1459      ac_top_srcdir=$ac_top_build_prefix$srcdir      ac_top_srcdir=$ac_top_build_prefix$srcdir
1460      ac_abs_top_srcdir=$ac_pwd/$srcdir ;;      ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1461  esac  esac
1462  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1463    
1464        cd "$ac_dir" || { ac_status=$?; continue; }
1465        # Check for guested configure.
1466        if test -f "$ac_srcdir/configure.gnu"; then
1467          echo &&
1468          $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1469        elif test -f "$ac_srcdir/configure"; then
1470          echo &&
1471          $SHELL "$ac_srcdir/configure" --help=recursive
1472        else
1473          $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1474        fi || ac_status=$?
1475        cd "$ac_pwd" || { ac_status=$?; break; }
1476      done
1477    fi
1478    
1479    test -n "$ac_init_help" && exit $ac_status
1480    if $ac_init_version; then
1481      cat <<\_ACEOF
1482    GPXView configure 0.9.5
1483    generated by GNU Autoconf 2.65
1484    
1485    Copyright (C) 2009 Free Software Foundation, Inc.
1486    This configure script is free software; the Free Software Foundation
1487    gives unlimited permission to copy, distribute and modify it.
1488    _ACEOF
1489      exit
1490    fi
1491    
1492    ## ------------------------ ##
1493    ## Autoconf initialization. ##
1494    ## ------------------------ ##
1495    
1496    # ac_fn_c_try_compile LINENO
1497    # --------------------------
1498    # Try to compile conftest.$ac_ext, and return whether this succeeded.
1499    ac_fn_c_try_compile ()
1500    {
1501      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1502      rm -f conftest.$ac_objext
1503      if { { ac_try="$ac_compile"
1504    case "(($ac_try" in
1505      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1506      *) ac_try_echo=$ac_try;;
1507    esac
1508    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1509    $as_echo "$ac_try_echo"; } >&5
1510      (eval "$ac_compile") 2>conftest.err
1511      ac_status=$?
1512      if test -s conftest.err; then
1513        grep -v '^ *+' conftest.err >conftest.er1
1514        cat conftest.er1 >&5
1515        mv -f conftest.er1 conftest.err
1516      fi
1517      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1518      test $ac_status = 0; } && {
1519             test -z "$ac_c_werror_flag" ||
1520             test ! -s conftest.err
1521           } && test -s conftest.$ac_objext; then :
1522      ac_retval=0
1523    else
1524      $as_echo "$as_me: failed program was:" >&5
1525    sed 's/^/| /' conftest.$ac_ext >&5
1526    
1527            ac_retval=1
1528    fi
1529      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1530      as_fn_set_status $ac_retval
1531    
1532    } # ac_fn_c_try_compile
1533    
1534    # ac_fn_c_try_cpp LINENO
1535    # ----------------------
1536    # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1537    ac_fn_c_try_cpp ()
1538    {
1539      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540      if { { ac_try="$ac_cpp conftest.$ac_ext"
1541    case "(($ac_try" in
1542      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1543      *) ac_try_echo=$ac_try;;
1544    esac
1545    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546    $as_echo "$ac_try_echo"; } >&5
1547      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1548      ac_status=$?
1549      if test -s conftest.err; then
1550        grep -v '^ *+' conftest.err >conftest.er1
1551        cat conftest.er1 >&5
1552        mv -f conftest.er1 conftest.err
1553      fi
1554      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1555      test $ac_status = 0; } >/dev/null && {
1556             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1557             test ! -s conftest.err
1558           }; then :
1559      ac_retval=0
1560    else
1561      $as_echo "$as_me: failed program was:" >&5
1562    sed 's/^/| /' conftest.$ac_ext >&5
1563    
1564      cd "$ac_dir" || { ac_status=$?; continue; }      ac_retval=1
     # Check for guested configure.  
     if test -f "$ac_srcdir/configure.gnu"; then  
       echo &&  
       $SHELL "$ac_srcdir/configure.gnu" --help=recursive  
     elif test -f "$ac_srcdir/configure"; then  
       echo &&  
       $SHELL "$ac_srcdir/configure" --help=recursive  
     else  
       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2  
     fi || ac_status=$?  
     cd "$ac_pwd" || { ac_status=$?; break; }  
   done  
1565  fi  fi
1566      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1567      as_fn_set_status $ac_retval
1568    
1569  test -n "$ac_init_help" && exit $ac_status  } # ac_fn_c_try_cpp
 if $ac_init_version; then  
   cat <<\_ACEOF  
 GPXView configure 0.8.2  
 generated by GNU Autoconf 2.61  
1570    
1571  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1572  2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.  # -------------------------------------------------------
1573  This configure script is free software; the Free Software Foundation  # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1574  gives unlimited permission to copy, distribute and modify it.  # the include files in INCLUDES and setting the cache variable VAR
1575    # accordingly.
1576    ac_fn_c_check_header_mongrel ()
1577    {
1578      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579      if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1580      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1581    $as_echo_n "checking for $2... " >&6; }
1582    if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1583      $as_echo_n "(cached) " >&6
1584    fi
1585    eval ac_res=\$$3
1586                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1587    $as_echo "$ac_res" >&6; }
1588    else
1589      # Is the header compilable?
1590    { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1591    $as_echo_n "checking $2 usability... " >&6; }
1592    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1593    /* end confdefs.h.  */
1594    $4
1595    #include <$2>
1596  _ACEOF  _ACEOF
1597    exit  if ac_fn_c_try_compile "$LINENO"; then :
1598      ac_header_compiler=yes
1599    else
1600      ac_header_compiler=no
1601    fi
1602    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1603    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1604    $as_echo "$ac_header_compiler" >&6; }
1605    
1606    # Is the header present?
1607    { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1608    $as_echo_n "checking $2 presence... " >&6; }
1609    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1610    /* end confdefs.h.  */
1611    #include <$2>
1612    _ACEOF
1613    if ac_fn_c_try_cpp "$LINENO"; then :
1614      ac_header_preproc=yes
1615    else
1616      ac_header_preproc=no
1617  fi  fi
1618    rm -f conftest.err conftest.$ac_ext
1619    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1620    $as_echo "$ac_header_preproc" >&6; }
1621    
1622    # So?  What about this header?
1623    case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1624      yes:no: )
1625        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1626    $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1627        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1628    $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1629        ;;
1630      no:yes:* )
1631        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1632    $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1633        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1634    $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1635        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1636    $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1637        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1638    $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1639        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1640    $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1641    ( cat <<\_ASBOX
1642    ## ------------------------------- ##
1643    ## Report this to till@harbaum.org ##
1644    ## ------------------------------- ##
1645    _ASBOX
1646         ) | sed "s/^/$as_me: WARNING:     /" >&2
1647        ;;
1648    esac
1649      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1650    $as_echo_n "checking for $2... " >&6; }
1651    if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1652      $as_echo_n "(cached) " >&6
1653    else
1654      eval "$3=\$ac_header_compiler"
1655    fi
1656    eval ac_res=\$$3
1657                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1658    $as_echo "$ac_res" >&6; }
1659    fi
1660      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1661    
1662    } # ac_fn_c_check_header_mongrel
1663    
1664    # ac_fn_c_try_run LINENO
1665    # ----------------------
1666    # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1667    # that executables *can* be run.
1668    ac_fn_c_try_run ()
1669    {
1670      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671      if { { ac_try="$ac_link"
1672    case "(($ac_try" in
1673      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674      *) ac_try_echo=$ac_try;;
1675    esac
1676    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677    $as_echo "$ac_try_echo"; } >&5
1678      (eval "$ac_link") 2>&5
1679      ac_status=$?
1680      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681      test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1682      { { case "(($ac_try" in
1683      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684      *) ac_try_echo=$ac_try;;
1685    esac
1686    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687    $as_echo "$ac_try_echo"; } >&5
1688      (eval "$ac_try") 2>&5
1689      ac_status=$?
1690      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691      test $ac_status = 0; }; }; then :
1692      ac_retval=0
1693    else
1694      $as_echo "$as_me: program exited with status $ac_status" >&5
1695           $as_echo "$as_me: failed program was:" >&5
1696    sed 's/^/| /' conftest.$ac_ext >&5
1697    
1698           ac_retval=$ac_status
1699    fi
1700      rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1701      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702      as_fn_set_status $ac_retval
1703    
1704    } # ac_fn_c_try_run
1705    
1706    # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1707    # -------------------------------------------------------
1708    # Tests whether HEADER exists and can be compiled using the include files in
1709    # INCLUDES, setting the cache variable VAR accordingly.
1710    ac_fn_c_check_header_compile ()
1711    {
1712      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1714    $as_echo_n "checking for $2... " >&6; }
1715    if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1716      $as_echo_n "(cached) " >&6
1717    else
1718      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1719    /* end confdefs.h.  */
1720    $4
1721    #include <$2>
1722    _ACEOF
1723    if ac_fn_c_try_compile "$LINENO"; then :
1724      eval "$3=yes"
1725    else
1726      eval "$3=no"
1727    fi
1728    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1729    fi
1730    eval ac_res=\$$3
1731                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1732    $as_echo "$ac_res" >&6; }
1733      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1734    
1735    } # ac_fn_c_check_header_compile
1736  cat >config.log <<_ACEOF  cat >config.log <<_ACEOF
1737  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
1738  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1739    
1740  It was created by GPXView $as_me 0.8.2, which was  It was created by GPXView $as_me 0.9.5, which was
1741  generated by GNU Autoconf 2.61.  Invocation command line was  generated by GNU Autoconf 2.65.  Invocation command line was
1742    
1743    $ $0 $@    $ $0 $@
1744    
# Line 1449  for as_dir in $PATH Line 1774  for as_dir in $PATH
1774  do  do
1775    IFS=$as_save_IFS    IFS=$as_save_IFS
1776    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1777    echo "PATH: $as_dir"      $as_echo "PATH: $as_dir"
1778  done    done
1779  IFS=$as_save_IFS  IFS=$as_save_IFS
1780    
1781  } >&5  } >&5
# Line 1484  do Line 1809  do
1809      | -silent | --silent | --silen | --sile | --sil)      | -silent | --silent | --silen | --sile | --sil)
1810        continue ;;        continue ;;
1811      *\'*)      *\'*)
1812        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1813      esac      esac
1814      case $ac_pass in      case $ac_pass in
1815      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;      1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1816      2)      2)
1817        ac_configure_args1="$ac_configure_args1 '$ac_arg'"        as_fn_append ac_configure_args1 " '$ac_arg'"
1818        if test $ac_must_keep_next = true; then        if test $ac_must_keep_next = true; then
1819          ac_must_keep_next=false # Got value, back to normal.          ac_must_keep_next=false # Got value, back to normal.
1820        else        else
# Line 1505  do Line 1830  do
1830            -* ) ac_must_keep_next=true ;;            -* ) ac_must_keep_next=true ;;
1831          esac          esac
1832        fi        fi
1833        ac_configure_args="$ac_configure_args '$ac_arg'"        as_fn_append ac_configure_args " '$ac_arg'"
1834        ;;        ;;
1835      esac      esac
1836    done    done
1837  done  done
1838  $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }  { ac_configure_args0=; unset ac_configure_args0;}
1839  $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }  { ac_configure_args1=; unset ac_configure_args1;}
1840    
1841  # When interrupted or exit'd, cleanup temporary files, and complete  # When interrupted or exit'd, cleanup temporary files, and complete
1842  # config.log.  We remove comments because anyway the quotes in there  # config.log.  We remove comments because anyway the quotes in there
# Line 1536  _ASBOX Line 1861  _ASBOX
1861      case $ac_val in #(      case $ac_val in #(
1862      *${as_nl}*)      *${as_nl}*)
1863        case $ac_var in #(        case $ac_var in #(
1864        *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5        *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1865  echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1866        esac        esac
1867        case $ac_var in #(        case $ac_var in #(
1868        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
1869        *) $as_unset $ac_var ;;        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1870          *) { eval $ac_var=; unset $ac_var;} ;;
1871        esac ;;        esac ;;
1872      esac      esac
1873    done    done
# Line 1570  _ASBOX Line 1896  _ASBOX
1896      do      do
1897        eval ac_val=\$$ac_var        eval ac_val=\$$ac_var
1898        case $ac_val in        case $ac_val in
1899        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1900        esac        esac
1901        echo "$ac_var='\''$ac_val'\''"        $as_echo "$ac_var='\''$ac_val'\''"
1902      done | sort      done | sort
1903      echo      echo
1904    
# Line 1587  _ASBOX Line 1913  _ASBOX
1913        do        do
1914          eval ac_val=\$$ac_var          eval ac_val=\$$ac_var
1915          case $ac_val in          case $ac_val in
1916          *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;          *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1917          esac          esac
1918          echo "$ac_var='\''$ac_val'\''"          $as_echo "$ac_var='\''$ac_val'\''"
1919        done | sort        done | sort
1920        echo        echo
1921      fi      fi
# Line 1605  _ASBOX Line 1931  _ASBOX
1931        echo        echo
1932      fi      fi
1933      test "$ac_signal" != 0 &&      test "$ac_signal" != 0 &&
1934        echo "$as_me: caught signal $ac_signal"        $as_echo "$as_me: caught signal $ac_signal"
1935      echo "$as_me: exit $exit_status"      $as_echo "$as_me: exit $exit_status"
1936    } >&5    } >&5
1937    rm -f core *.core core.conftest.* &&    rm -f core *.core core.conftest.* &&
1938      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1939      exit $exit_status      exit $exit_status
1940  ' 0  ' 0
1941  for ac_signal in 1 2 13 15; do  for ac_signal in 1 2 13 15; do
1942    trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal    trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1943  done  done
1944  ac_signal=0  ac_signal=0
1945    
1946  # confdefs.h avoids OS command line length limits that DEFS can exceed.  # confdefs.h avoids OS command line length limits that DEFS can exceed.
1947  rm -f -r conftest* confdefs.h  rm -f -r conftest* confdefs.h
1948    
1949    $as_echo "/* confdefs.h */" > confdefs.h
1950    
1951  # Predefined preprocessor variables.  # Predefined preprocessor variables.
1952    
1953  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1954  #define PACKAGE_NAME "$PACKAGE_NAME"  #define PACKAGE_NAME "$PACKAGE_NAME"
1955  _ACEOF  _ACEOF
1956    
   
1957  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1958  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1959  _ACEOF  _ACEOF
1960    
   
1961  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1962  #define PACKAGE_VERSION "$PACKAGE_VERSION"  #define PACKAGE_VERSION "$PACKAGE_VERSION"
1963  _ACEOF  _ACEOF
1964    
   
1965  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1966  #define PACKAGE_STRING "$PACKAGE_STRING"  #define PACKAGE_STRING "$PACKAGE_STRING"
1967  _ACEOF  _ACEOF
1968    
   
1969  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1970  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1971  _ACEOF  _ACEOF
1972    
1973    cat >>confdefs.h <<_ACEOF
1974    #define PACKAGE_URL "$PACKAGE_URL"
1975    _ACEOF
1976    
1977    
1978  # Let the site file select an alternate cache file if it wants to.  # Let the site file select an alternate cache file if it wants to.
1979  # Prefer explicitly selected file to automatically selected ones.  # Prefer an explicitly selected file to automatically selected ones.
1980    ac_site_file1=NONE
1981    ac_site_file2=NONE
1982  if test -n "$CONFIG_SITE"; then  if test -n "$CONFIG_SITE"; then
1983    set x "$CONFIG_SITE"    ac_site_file1=$CONFIG_SITE
1984  elif test "x$prefix" != xNONE; then  elif test "x$prefix" != xNONE; then
1985    set x "$prefix/share/config.site" "$prefix/etc/config.site"    ac_site_file1=$prefix/share/config.site
1986      ac_site_file2=$prefix/etc/config.site
1987  else  else
1988    set x "$ac_default_prefix/share/config.site" \    ac_site_file1=$ac_default_prefix/share/config.site
1989          "$ac_default_prefix/etc/config.site"    ac_site_file2=$ac_default_prefix/etc/config.site
1990  fi  fi
1991  shift  for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 for ac_site_file  
1992  do  do
1993    if test -r "$ac_site_file"; then    test "x$ac_site_file" = xNONE && continue
1994      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5    if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1995  echo "$as_me: loading site script $ac_site_file" >&6;}      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1996    $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1997      sed 's/^/| /' "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
1998      . "$ac_site_file"      . "$ac_site_file"
1999    fi    fi
2000  done  done
2001    
2002  if test -r "$cache_file"; then  if test -r "$cache_file"; then
2003    # Some versions of bash will fail to source /dev/null (special    # Some versions of bash will fail to source /dev/null (special files
2004    # files actually), so we avoid doing that.    # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2005    if test -f "$cache_file"; then    if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2006      { echo "$as_me:$LINENO: loading cache $cache_file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2007  echo "$as_me: loading cache $cache_file" >&6;}  $as_echo "$as_me: loading cache $cache_file" >&6;}
2008      case $cache_file in      case $cache_file in
2009        [\\/]* | ?:[\\/]* ) . "$cache_file";;        [\\/]* | ?:[\\/]* ) . "$cache_file";;
2010        *)                      . "./$cache_file";;        *)                      . "./$cache_file";;
2011      esac      esac
2012    fi    fi
2013  else  else
2014    { echo "$as_me:$LINENO: creating cache $cache_file" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2015  echo "$as_me: creating cache $cache_file" >&6;}  $as_echo "$as_me: creating cache $cache_file" >&6;}
2016    >$cache_file    >$cache_file
2017  fi  fi
2018    
# Line 1695  for ac_var in $ac_precious_vars; do Line 2026  for ac_var in $ac_precious_vars; do
2026    eval ac_new_val=\$ac_env_${ac_var}_value    eval ac_new_val=\$ac_env_${ac_var}_value
2027    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
2028      set,)      set,)
2029        { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2030  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}  $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2031        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
2032      ,set)      ,set)
2033        { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2034  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}  $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2035        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
2036      ,);;      ,);;
2037      *)      *)
2038        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
2039          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5          # differences in whitespace do not lead to failure.
2040  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}          ac_old_val_w=`echo x $ac_old_val`
2041          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5          ac_new_val_w=`echo x $ac_new_val`
2042  echo "$as_me:   former value:  $ac_old_val" >&2;}          if test "$ac_old_val_w" != "$ac_new_val_w"; then
2043          { 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
2044  echo "$as_me:   current value: $ac_new_val" >&2;}  $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2045          ac_cache_corrupted=:            ac_cache_corrupted=:
2046            else
2047              { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2048    $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2049              eval $ac_var=\$ac_old_val
2050            fi
2051            { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2052    $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2053            { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2054    $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2055        fi;;        fi;;
2056    esac    esac
2057    # Pass precious variables to config.status.    # Pass precious variables to config.status.
2058    if test "$ac_new_set" = set; then    if test "$ac_new_set" = set; then
2059      case $ac_new_val in      case $ac_new_val in
2060      *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;      *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2061      *) ac_arg=$ac_var=$ac_new_val ;;      *) ac_arg=$ac_var=$ac_new_val ;;
2062      esac      esac
2063      case " $ac_configure_args " in      case " $ac_configure_args " in
2064        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2065        *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;        *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2066      esac      esac
2067    fi    fi
2068  done  done
2069  if $ac_cache_corrupted; then  if $ac_cache_corrupted; then
2070    { 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
2071  echo "$as_me: error: changes in the environment can compromise the build" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2072    { { 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
2073  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;}
2074     { (exit 1); exit 1; }; }    as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2075  fi  fi
2076    ## -------------------- ##
2077    ## Main body of script. ##
2078    ## -------------------- ##
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
2079    
2080  ac_ext=c  ac_ext=c
2081  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
# Line 1780  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2099  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2099  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
2100    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2101  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2102  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2103  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2104  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2105    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2106  else  else
2107    if test -n "$CC"; then    if test -n "$CC"; then
2108    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 1793  for as_dir in $PATH Line 2112  for as_dir in $PATH
2112  do  do
2113    IFS=$as_save_IFS    IFS=$as_save_IFS
2114    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2115    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2116    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2117      ac_cv_prog_CC="${ac_tool_prefix}gcc"      ac_cv_prog_CC="${ac_tool_prefix}gcc"
2118      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2119      break 2      break 2
2120    fi    fi
2121  done  done
2122  done    done
2123  IFS=$as_save_IFS  IFS=$as_save_IFS
2124    
2125  fi  fi
2126  fi  fi
2127  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2128  if test -n "$CC"; then  if test -n "$CC"; then
2129    { echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2130  echo "${ECHO_T}$CC" >&6; }  $as_echo "$CC" >&6; }
2131  else  else
2132    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2133  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
2134  fi  fi
2135    
2136    
# Line 1820  if test -z "$ac_cv_prog_CC"; then Line 2139  if test -z "$ac_cv_prog_CC"; then
2139    ac_ct_CC=$CC    ac_ct_CC=$CC
2140    # Extract the first word of "gcc", so it can be a program name with args.    # Extract the first word of "gcc", so it can be a program name with args.
2141  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
2142  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2143  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2144  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2145    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2146  else  else
2147    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
2148    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 1833  for as_dir in $PATH Line 2152  for as_dir in $PATH
2152  do  do
2153    IFS=$as_save_IFS    IFS=$as_save_IFS
2154    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2155    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2156    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2157      ac_cv_prog_ac_ct_CC="gcc"      ac_cv_prog_ac_ct_CC="gcc"
2158      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2159      break 2      break 2
2160    fi    fi
2161  done  done
2162  done    done
2163  IFS=$as_save_IFS  IFS=$as_save_IFS
2164    
2165  fi  fi
2166  fi  fi
2167  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2168  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2169    { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2170  echo "${ECHO_T}$ac_ct_CC" >&6; }  $as_echo "$ac_ct_CC" >&6; }
2171  else  else
2172    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2173  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
2174  fi  fi
2175    
2176    if test "x$ac_ct_CC" = x; then    if test "x$ac_ct_CC" = x; then
# Line 1859  fi Line 2178  fi
2178    else    else
2179      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2180  yes:)  yes:)
2181  { 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
2182  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;}  
2183  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2184  esac  esac
2185      CC=$ac_ct_CC      CC=$ac_ct_CC
# Line 1877  if test -z "$CC"; then Line 2192  if test -z "$CC"; then
2192            if test -n "$ac_tool_prefix"; then            if test -n "$ac_tool_prefix"; then
2193      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2194  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
2195  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2196  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2197  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2198    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2199  else  else
2200    if test -n "$CC"; then    if test -n "$CC"; then
2201    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 1890  for as_dir in $PATH Line 2205  for as_dir in $PATH
2205  do  do
2206    IFS=$as_save_IFS    IFS=$as_save_IFS
2207    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2208    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2209    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2210      ac_cv_prog_CC="${ac_tool_prefix}cc"      ac_cv_prog_CC="${ac_tool_prefix}cc"
2211      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2212      break 2      break 2
2213    fi    fi
2214  done  done
2215  done    done
2216  IFS=$as_save_IFS  IFS=$as_save_IFS
2217    
2218  fi  fi
2219  fi  fi
2220  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2221  if test -n "$CC"; then  if test -n "$CC"; then
2222    { echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2223  echo "${ECHO_T}$CC" >&6; }  $as_echo "$CC" >&6; }
2224  else  else
2225    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2226  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
2227  fi  fi
2228    
2229    
# Line 1917  fi Line 2232  fi
2232  if test -z "$CC"; then  if test -z "$CC"; then
2233    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
2234  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2235  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2236  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2237  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2238    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2239  else  else
2240    if test -n "$CC"; then    if test -n "$CC"; then
2241    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 1931  for as_dir in $PATH Line 2246  for as_dir in $PATH
2246  do  do
2247    IFS=$as_save_IFS    IFS=$as_save_IFS
2248    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2249    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2250    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2252         ac_prog_rejected=yes         ac_prog_rejected=yes
2253         continue         continue
2254       fi       fi
2255      ac_cv_prog_CC="cc"      ac_cv_prog_CC="cc"
2256      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2257      break 2      break 2
2258    fi    fi
2259  done  done
2260  done    done
2261  IFS=$as_save_IFS  IFS=$as_save_IFS
2262    
2263  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
# Line 1961  fi Line 2276  fi
2276  fi  fi
2277  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2278  if test -n "$CC"; then  if test -n "$CC"; then
2279    { echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2280  echo "${ECHO_T}$CC" >&6; }  $as_echo "$CC" >&6; }
2281  else  else
2282    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2283  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
2284  fi  fi
2285    
2286    
# Line 1976  if test -z "$CC"; then Line 2291  if test -z "$CC"; then
2291    do    do
2292      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2293  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2294  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2295  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2296  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2297    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2298  else  else
2299    if test -n "$CC"; then    if test -n "$CC"; then
2300    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 1989  for as_dir in $PATH Line 2304  for as_dir in $PATH
2304  do  do
2305    IFS=$as_save_IFS    IFS=$as_save_IFS
2306    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2307    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2308    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2309      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2310      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2311      break 2      break 2
2312    fi    fi
2313  done  done
2314  done    done
2315  IFS=$as_save_IFS  IFS=$as_save_IFS
2316    
2317  fi  fi
2318  fi  fi
2319  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2320  if test -n "$CC"; then  if test -n "$CC"; then
2321    { echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2322  echo "${ECHO_T}$CC" >&6; }  $as_echo "$CC" >&6; }
2323  else  else
2324    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2325  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
2326  fi  fi
2327    
2328    
# Line 2020  if test -z "$CC"; then Line 2335  if test -z "$CC"; then
2335  do  do
2336    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
2337  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2338  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2339  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2340  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2341    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2342  else  else
2343    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
2344    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 2033  for as_dir in $PATH Line 2348  for as_dir in $PATH
2348  do  do
2349    IFS=$as_save_IFS    IFS=$as_save_IFS
2350    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2351    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2352    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2353      ac_cv_prog_ac_ct_CC="$ac_prog"      ac_cv_prog_ac_ct_CC="$ac_prog"
2354      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2355      break 2      break 2
2356    fi    fi
2357  done  done
2358  done    done
2359  IFS=$as_save_IFS  IFS=$as_save_IFS
2360    
2361  fi  fi
2362  fi  fi
2363  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2364  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2365    { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2366  echo "${ECHO_T}$ac_ct_CC" >&6; }  $as_echo "$ac_ct_CC" >&6; }
2367  else  else
2368    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2369  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
2370  fi  fi
2371    
2372    
# Line 2063  done Line 2378  done
2378    else    else
2379      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2380  yes:)  yes:)
2381  { 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
2382  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;}  
2383  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2384  esac  esac
2385      CC=$ac_ct_CC      CC=$ac_ct_CC
# Line 2078  fi Line 2389  fi
2389  fi  fi
2390    
2391    
2392  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
2393  See \`config.log' for more details." >&5  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2394  echo "$as_me: error: no acceptable C compiler found in \$PATH  as_fn_error "no acceptable C compiler found in \$PATH
2395  See \`config.log' for more details." >&2;}  See \`config.log' for more details." "$LINENO" 5; }
    { (exit 1); exit 1; }; }  
2396    
2397  # Provide some information about the compiler.  # Provide some information about the compiler.
2398  echo "$as_me:$LINENO: checking for C compiler version" >&5  $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2399  ac_compiler=`set X $ac_compile; echo $2`  set X $ac_compile
2400  { (ac_try="$ac_compiler --version >&5"  ac_compiler=$2
2401  case "(($ac_try" in  for ac_option in --version -v -V -qversion; do
2402    *\"* | *\`* | *\\*) 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"  
2403  case "(($ac_try" in  case "(($ac_try" in
2404    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2405    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2406  esac  esac
2407  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2408    (eval "$ac_compiler -V >&5") 2>&5  $as_echo "$ac_try_echo"; } >&5
2409    ac_status=$?    (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2410    echo "$as_me:$LINENO: \$? = $ac_status" >&5    ac_status=$?
2411    (exit $ac_status); }    if test -s conftest.err; then
2412        sed '10a\
2413    ... rest of stderr output deleted ...
2414             10q' conftest.err >conftest.er1
2415        cat conftest.er1 >&5
2416      fi
2417      rm -f conftest.er1 conftest.err
2418      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2419      test $ac_status = 0; }
2420    done
2421    
2422  cat >conftest.$ac_ext <<_ACEOF  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
2423  /* end confdefs.h.  */  /* end confdefs.h.  */
2424    
2425  int  int
# Line 2134  main () Line 2431  main ()
2431  }  }
2432  _ACEOF  _ACEOF
2433  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
2434  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"
2435  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2436  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2437  # of exeext.  # of exeext.
2438  { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2439  echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }  $as_echo_n "checking whether the C compiler works... " >&6; }
2440  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2441  #  
2442  # List of possible output files, starting from the most likely.  # The possible output files:
2443  # 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.*"
2444  # 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.  
2445  ac_rmfiles=  ac_rmfiles=
2446  for ac_file in $ac_files  for ac_file in $ac_files
2447  do  do
2448    case $ac_file in    case $ac_file in
2449      *.$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 ) ;;
2450      * ) ac_rmfiles="$ac_rmfiles $ac_file";;      * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2451    esac    esac
2452  done  done
2453  rm -f $ac_rmfiles  rm -f $ac_rmfiles
2454    
2455  if { (ac_try="$ac_link_default"  if { { ac_try="$ac_link_default"
2456  case "(($ac_try" in  case "(($ac_try" in
2457    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2458    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2459  esac  esac
2460  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2461    $as_echo "$ac_try_echo"; } >&5
2462    (eval "$ac_link_default") 2>&5    (eval "$ac_link_default") 2>&5
2463    ac_status=$?    ac_status=$?
2464    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2465    (exit $ac_status); }; then    test $ac_status = 0; }; then :
2466    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2467  # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'  # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2468  # in a Makefile.  We should not override ac_cv_exeext if it was cached,  # in a Makefile.  We should not override ac_cv_exeext if it was cached,
# Line 2179  for ac_file in $ac_files '' Line 2472  for ac_file in $ac_files ''
2472  do  do
2473    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2474    case $ac_file in    case $ac_file in
2475      *.$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 )
2476          ;;          ;;
2477      [ab].out )      [ab].out )
2478          # We found the default executable, but exeext='' is most          # We found the default executable, but exeext='' is most
2479          # certainly right.          # certainly right.
2480          break;;          break;;
2481      *.* )      *.* )
2482          if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;          if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2483          then :; else          then :; else
2484             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2485          fi          fi
# Line 2205  test "$ac_cv_exeext" = no && ac_cv_exeex Line 2498  test "$ac_cv_exeext" = no && ac_cv_exeex
2498  else  else
2499    ac_file=''    ac_file=''
2500  fi  fi
2501    if test -z "$ac_file"; then :
2502  { echo "$as_me:$LINENO: result: $ac_file" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2503  echo "${ECHO_T}$ac_file" >&6; }  $as_echo "no" >&6; }
2504  if test -z "$ac_file"; then  $as_echo "$as_me: failed program was:" >&5
   echo "$as_me: failed program was:" >&5  
2505  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2506    
2507  { { echo "$as_me:$LINENO: error: C compiler cannot create executables  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2508  See \`config.log' for more details." >&5  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509  echo "$as_me: error: C compiler cannot create executables  { as_fn_set_status 77
2510  See \`config.log' for more details." >&2;}  as_fn_error "C compiler cannot create executables
2511     { (exit 77); exit 77; }; }  See \`config.log' for more details." "$LINENO" 5; }; }
2512  fi  else
2513      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2514    $as_echo "yes" >&6; }
2515    fi
2516    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2517    $as_echo_n "checking for C compiler default output file name... " >&6; }
2518    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2519    $as_echo "$ac_file" >&6; }
2520  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2521    
2522  # 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  
2523  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2524  # Check that the compiler produces executables we can run.  If not, either  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2525  # the compiler is broken, or we cross compile.  $as_echo_n "checking for suffix of executables... " >&6; }
2526  { 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"  
2527  case "(($ac_try" in  case "(($ac_try" in
2528    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2529    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2530  esac  esac
2531  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2532    $as_echo "$ac_try_echo"; } >&5
2533    (eval "$ac_link") 2>&5    (eval "$ac_link") 2>&5
2534    ac_status=$?    ac_status=$?
2535    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2536    (exit $ac_status); }; then    test $ac_status = 0; }; then :
2537    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2538  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2539  # work properly (i.e., refer to `conftest.exe'), while it won't with  # work properly (i.e., refer to `conftest.exe'), while it won't with
# Line 2284  eval "echo \"\$as_me:$LINENO: $ac_try_ec Line 2541  eval "echo \"\$as_me:$LINENO: $ac_try_ec
2541  for ac_file in conftest.exe conftest conftest.*; do  for ac_file in conftest.exe conftest conftest.*; do
2542    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2543    case $ac_file in    case $ac_file in
2544      *.$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 ) ;;
2545      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2546            break;;            break;;
2547      * ) break;;      * ) break;;
2548    esac    esac
2549  done  done
2550  else  else
2551    { { 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
2552  See \`config.log' for more details." >&5  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2553  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
2554  See \`config.log' for more details." >&2;}  See \`config.log' for more details." "$LINENO" 5; }
2555     { (exit 1); exit 1; }; }  fi
2556  fi  rm -f conftest conftest$ac_cv_exeext
2557    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2558  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; }  
2559    
2560  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2561  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2562  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2563  { echo "$as_me:$LINENO: checking for suffix of object files" >&5  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2564  echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }  /* end confdefs.h.  */
2565  if test "${ac_cv_objext+set}" = set; then  #include <stdio.h>
2566    echo $ECHO_N "(cached) $ECHO_C" >&6  int
2567  else  main ()
2568    cat >conftest.$ac_ext <<_ACEOF  {
2569  /* confdefs.h.  */  FILE *f = fopen ("conftest.out", "w");
2570     return ferror (f) || fclose (f) != 0;
2571    
2572      ;
2573      return 0;
2574    }
2575  _ACEOF  _ACEOF
2576  cat confdefs.h >>conftest.$ac_ext  ac_clean_files="$ac_clean_files conftest.out"
2577  cat >>conftest.$ac_ext <<_ACEOF  # Check that the compiler produces executables we can run.  If not, either
2578    # the compiler is broken, or we cross compile.
2579    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2580    $as_echo_n "checking whether we are cross compiling... " >&6; }
2581    if test "$cross_compiling" != yes; then
2582      { { ac_try="$ac_link"
2583    case "(($ac_try" in
2584      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2585      *) ac_try_echo=$ac_try;;
2586    esac
2587    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2588    $as_echo "$ac_try_echo"; } >&5
2589      (eval "$ac_link") 2>&5
2590      ac_status=$?
2591      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2592      test $ac_status = 0; }
2593      if { ac_try='./conftest$ac_cv_exeext'
2594      { { case "(($ac_try" in
2595      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596      *) ac_try_echo=$ac_try;;
2597    esac
2598    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2599    $as_echo "$ac_try_echo"; } >&5
2600      (eval "$ac_try") 2>&5
2601      ac_status=$?
2602      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2603      test $ac_status = 0; }; }; then
2604        cross_compiling=no
2605      else
2606        if test "$cross_compiling" = maybe; then
2607            cross_compiling=yes
2608        else
2609            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2610    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2611    as_fn_error "cannot run C compiled programs.
2612    If you meant to cross compile, use \`--host'.
2613    See \`config.log' for more details." "$LINENO" 5; }
2614        fi
2615      fi
2616    fi
2617    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2618    $as_echo "$cross_compiling" >&6; }
2619    
2620    rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2621    ac_clean_files=$ac_clean_files_save
2622    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2623    $as_echo_n "checking for suffix of object files... " >&6; }
2624    if test "${ac_cv_objext+set}" = set; then :
2625      $as_echo_n "(cached) " >&6
2626    else
2627      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2628  /* end confdefs.h.  */  /* end confdefs.h.  */
2629    
2630  int  int
# Line 2326  main () Line 2636  main ()
2636  }  }
2637  _ACEOF  _ACEOF
2638  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
2639  if { (ac_try="$ac_compile"  if { { ac_try="$ac_compile"
2640  case "(($ac_try" in  case "(($ac_try" in
2641    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2642    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2643  esac  esac
2644  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2645    $as_echo "$ac_try_echo"; } >&5
2646    (eval "$ac_compile") 2>&5    (eval "$ac_compile") 2>&5
2647    ac_status=$?    ac_status=$?
2648    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2649    (exit $ac_status); }; then    test $ac_status = 0; }; then :
2650    for ac_file in conftest.o conftest.obj conftest.*; do    for ac_file in conftest.o conftest.obj conftest.*; do
2651    test -f "$ac_file" || continue;    test -f "$ac_file" || continue;
2652    case $ac_file in    case $ac_file in
2653      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2654      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2655         break;;         break;;
2656    esac    esac
2657  done  done
2658  else  else
2659    echo "$as_me: failed program was:" >&5    $as_echo "$as_me: failed program was:" >&5
2660  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2661    
2662  { { 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
2663  See \`config.log' for more details." >&5  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2664  echo "$as_me: error: cannot compute suffix of object files: cannot compile  as_fn_error "cannot compute suffix of object files: cannot compile
2665  See \`config.log' for more details." >&2;}  See \`config.log' for more details." "$LINENO" 5; }
    { (exit 1); exit 1; }; }  
2666  fi  fi
   
2667  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2668  fi  fi
2669  { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2670  echo "${ECHO_T}$ac_cv_objext" >&6; }  $as_echo "$ac_cv_objext" >&6; }
2671  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2672  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2673  { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2674  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; }
2675  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2676    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2677  else  else
2678    cat >conftest.$ac_ext <<_ACEOF    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
2679  /* end confdefs.h.  */  /* end confdefs.h.  */
2680    
2681  int  int
# Line 2384  main () Line 2689  main ()
2689    return 0;    return 0;
2690  }  }
2691  _ACEOF  _ACEOF
2692  rm -f conftest.$ac_objext  if ac_fn_c_try_compile "$LINENO"; then :
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval "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  
2693    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2694  else  else
2695    echo "$as_me: failed program was:" >&5    ac_compiler_gnu=no
 sed 's/^/| /' conftest.$ac_ext >&5  
   
         ac_compiler_gnu=no  
2696  fi  fi
   
2697  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2699    
2700  fi  fi
2701  { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2702  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }  $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2703  GCC=`test $ac_compiler_gnu = yes && echo yes`  if test $ac_compiler_gnu = yes; then
2704      GCC=yes
2705    else
2706      GCC=
2707    fi
2708  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2709  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2710  { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2711  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }  $as_echo_n "checking whether $CC accepts -g... " >&6; }
2712  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then :
2713    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2714  else  else
2715    ac_save_c_werror_flag=$ac_c_werror_flag    ac_save_c_werror_flag=$ac_c_werror_flag
2716     ac_c_werror_flag=yes     ac_c_werror_flag=yes
2717     ac_cv_prog_cc_g=no     ac_cv_prog_cc_g=no
2718     CFLAGS="-g"     CFLAGS="-g"
2719     cat >conftest.$ac_ext <<_ACEOF     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
2720  /* end confdefs.h.  */  /* end confdefs.h.  */
2721    
2722  int  int
# Line 2442  main () Line 2727  main ()
2727    return 0;    return 0;
2728  }  }
2729  _ACEOF  _ACEOF
2730  rm -f conftest.$ac_objext  if ac_fn_c_try_compile "$LINENO"; then :
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval "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  
2731    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2732  else  else
2733    echo "$as_me: failed program was:" >&5    CFLAGS=""
2734  sed 's/^/| /' conftest.$ac_ext >&5        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   
         CFLAGS=""  
       cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
2735  /* end confdefs.h.  */  /* end confdefs.h.  */
2736    
2737  int  int
# Line 2480  main () Line 2742  main ()
2742    return 0;    return 0;
2743  }  }
2744  _ACEOF  _ACEOF
2745  rm -f conftest.$ac_objext  if ac_fn_c_try_compile "$LINENO"; then :
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval "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  
2746    
2747          ac_c_werror_flag=$ac_save_c_werror_flag  else
2748      ac_c_werror_flag=$ac_save_c_werror_flag
2749           CFLAGS="-g"           CFLAGS="-g"
2750           cat >conftest.$ac_ext <<_ACEOF           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
2751  /* end confdefs.h.  */  /* end confdefs.h.  */
2752    
2753  int  int
# Line 2519  main () Line 2758  main ()
2758    return 0;    return 0;
2759  }  }
2760  _ACEOF  _ACEOF
2761  rm -f conftest.$ac_objext  if ac_fn_c_try_compile "$LINENO"; then :
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval "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  
2762    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  
   
   
2763  fi  fi
   
2764  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2765  fi  fi
   
2766  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2767  fi  fi
   
2768  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2769     ac_c_werror_flag=$ac_save_c_werror_flag     ac_c_werror_flag=$ac_save_c_werror_flag
2770  fi  fi
2771  { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2772  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }  $as_echo "$ac_cv_prog_cc_g" >&6; }
2773  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2774    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
2775  elif test $ac_cv_prog_cc_g = yes; then  elif test $ac_cv_prog_cc_g = yes; then
# Line 2570  else Line 2785  else
2785      CFLAGS=      CFLAGS=
2786    fi    fi
2787  fi  fi
2788  { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2789  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; }
2790  if test "${ac_cv_prog_cc_c89+set}" = set; then  if test "${ac_cv_prog_cc_c89+set}" = set; then :
2791    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2792  else  else
2793    ac_cv_prog_cc_c89=no    ac_cv_prog_cc_c89=no
2794  ac_save_CC=$CC  ac_save_CC=$CC
2795  cat >conftest.$ac_ext <<_ACEOF  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
2796  /* end confdefs.h.  */  /* end confdefs.h.  */
2797  #include <stdarg.h>  #include <stdarg.h>
2798  #include <stdio.h>  #include <stdio.h>
# Line 2638  for ac_arg in '' -qlanglvl=extc89 -qlang Line 2849  for ac_arg in '' -qlanglvl=extc89 -qlang
2849          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2850  do  do
2851    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
2852    rm -f conftest.$ac_objext    if ac_fn_c_try_compile "$LINENO"; then :
2853  if { (ac_try="$ac_compile"    ac_cv_prog_cc_c89=$ac_arg
 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  
   ac_cv_prog_cc_c89=$ac_arg  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   
2854  fi  fi
   
2855  rm -f core conftest.err conftest.$ac_objext  rm -f core conftest.err conftest.$ac_objext
2856    test "x$ac_cv_prog_cc_c89" != "xno" && break    test "x$ac_cv_prog_cc_c89" != "xno" && break
2857  done  done
# Line 2673  fi Line 2862  fi
2862  # AC_CACHE_VAL  # AC_CACHE_VAL
2863  case "x$ac_cv_prog_cc_c89" in  case "x$ac_cv_prog_cc_c89" in
2864    x)    x)
2865      { echo "$as_me:$LINENO: result: none needed" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2866  echo "${ECHO_T}none needed" >&6; } ;;  $as_echo "none needed" >&6; } ;;
2867    xno)    xno)
2868      { echo "$as_me:$LINENO: result: unsupported" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2869  echo "${ECHO_T}unsupported" >&6; } ;;  $as_echo "unsupported" >&6; } ;;
2870    *)    *)
2871      CC="$CC $ac_cv_prog_cc_c89"      CC="$CC $ac_cv_prog_cc_c89"
2872      { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2873  echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2874  esac  esac
2875    if test "x$ac_cv_prog_cc_c89" != xno; then :
2876    
2877    fi
2878    
2879  ac_ext=c  ac_ext=c
2880  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
# Line 2693  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2884  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2884    
2885  ac_aux_dir=  ac_aux_dir=
2886  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2887    if test -f "$ac_dir/install-sh"; then    for ac_t in install-sh install.sh shtool; do
2888      ac_aux_dir=$ac_dir      if test -f "$ac_dir/$ac_t"; then
2889      ac_install_sh="$ac_aux_dir/install-sh -c"        ac_aux_dir=$ac_dir
2890      break        ac_install_sh="$ac_aux_dir/$ac_t -c"
2891    elif test -f "$ac_dir/install.sh"; then        break 2
2892      ac_aux_dir=$ac_dir      fi
2893      ac_install_sh="$ac_aux_dir/install.sh -c"    done
     break  
   elif test -f "$ac_dir/shtool"; then  
     ac_aux_dir=$ac_dir  
     ac_install_sh="$ac_aux_dir/shtool install -c"  
     break  
   fi  
2894  done  done
2895  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
2896    { { 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; }; }  
2897  fi  fi
2898    
2899  # These three variables are undocumented and unsupported,  # These three variables are undocumented and unsupported,
# Line 2735  ac_configure="$SHELL $ac_aux_dir/configu Line 2918  ac_configure="$SHELL $ac_aux_dir/configu
2918  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2919  # OS/2's system install, which has a completely different semantic  # OS/2's system install, which has a completely different semantic
2920  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2921  { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  # Reject install programs that cannot install multiple files.
2922  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
2923    $as_echo_n "checking for a BSD-compatible install... " >&6; }
2924  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
2925  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then :
2926    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2927  else  else
2928    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929  for as_dir in $PATH  for as_dir in $PATH
2930  do  do
2931    IFS=$as_save_IFS    IFS=$as_save_IFS
2932    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2933    # Account for people who put trailing slashes in PATH elements.      # Account for people who put trailing slashes in PATH elements.
2934  case $as_dir/ in  case $as_dir/ in #((
2935    ./ | .// | /cC/* | \    ./ | .// | /[cC]/* | \
2936    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2937    ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \    ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2938    /usr/ucb/* ) ;;    /usr/ucb/* ) ;;
2939    *)    *)
2940      # OSF1 and SCO ODT 3.0 have their own names for install.      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 2768  case $as_dir/ in Line 2952  case $as_dir/ in
2952              # program-specific install script used by HP pwplus--don't use.              # program-specific install script used by HP pwplus--don't use.
2953              :              :
2954            else            else
2955              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"              rm -rf conftest.one conftest.two conftest.dir
2956              break 3              echo one > conftest.one
2957                echo two > conftest.two
2958                mkdir conftest.dir
2959                if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2960                  test -s conftest.one && test -s conftest.two &&
2961                  test -s conftest.dir/conftest.one &&
2962                  test -s conftest.dir/conftest.two
2963                then
2964                  ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2965                  break 3
2966                fi
2967            fi            fi
2968          fi          fi
2969        done        done
2970      done      done
2971      ;;      ;;
2972  esac  esac
2973  done  
2974      done
2975  IFS=$as_save_IFS  IFS=$as_save_IFS
2976    
2977    rm -rf conftest.one conftest.two conftest.dir
2978    
2979  fi  fi
2980    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
# Line 2791  fi Line 2987  fi
2987      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
2988    fi    fi
2989  fi  fi
2990  { echo "$as_me:$LINENO: result: $INSTALL" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2991  echo "${ECHO_T}$INSTALL" >&6; }  $as_echo "$INSTALL" >&6; }
2992    
2993  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2994  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
# Line 2802  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 2998  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2998    
2999  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3000    
3001  { echo "$as_me:$LINENO: checking whether ln -s works" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3002  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }  $as_echo_n "checking whether ln -s works... " >&6; }
3003  LN_S=$as_ln_s  LN_S=$as_ln_s
3004  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
3005    { echo "$as_me:$LINENO: result: yes" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3006  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
3007  else  else
3008    { echo "$as_me:$LINENO: result: no, using $LN_S" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3009  echo "${ECHO_T}no, using $LN_S" >&6; }  $as_echo "no, using $LN_S" >&6; }
3010  fi  fi
3011    
3012  { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3013  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3014  set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`  set x ${MAKE-make}
3015  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'`
3016    echo $ECHO_N "(cached) $ECHO_C" >&6  if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3017      $as_echo_n "(cached) " >&6
3018  else  else
3019    cat >conftest.make <<\_ACEOF    cat >conftest.make <<\_ACEOF
3020  SHELL = /bin/sh  SHELL = /bin/sh
# Line 2834  esac Line 3031  esac
3031  rm -f conftest.make  rm -f conftest.make
3032  fi  fi
3033  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3034    { echo "$as_me:$LINENO: result: yes" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3035  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
3036    SET_MAKE=    SET_MAKE=
3037  else  else
3038    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3040    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
3041  fi  fi
3042    
# Line 2872  if test "x$ac_cv_env_PKG_CONFIG_set" != Line 3069  if test "x$ac_cv_env_PKG_CONFIG_set" !=
3069          if test -n "$ac_tool_prefix"; then          if test -n "$ac_tool_prefix"; then
3070    # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3071  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3072  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
3074  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
3075    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
3076  else  else
3077    case $PKG_CONFIG in    case $PKG_CONFIG in
3078    [\\/]* | ?:[\\/]*)    [\\/]* | ?:[\\/]*)
# Line 2887  for as_dir in $PATH Line 3084  for as_dir in $PATH
3084  do  do
3085    IFS=$as_save_IFS    IFS=$as_save_IFS
3086    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
3087    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
3088    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3089      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3090      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3091      break 2      break 2
3092    fi    fi
3093  done  done
3094  done    done
3095  IFS=$as_save_IFS  IFS=$as_save_IFS
3096    
3097    ;;    ;;
# Line 2902  esac Line 3099  esac
3099  fi  fi
3100  PKG_CONFIG=$ac_cv_path_PKG_CONFIG  PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3101  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3102    { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3103  echo "${ECHO_T}$PKG_CONFIG" >&6; }  $as_echo "$PKG_CONFIG" >&6; }
3104  else  else
3105    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3107  fi  fi
3108    
3109    
# Line 2915  if test -z "$ac_cv_path_PKG_CONFIG"; the Line 3112  if test -z "$ac_cv_path_PKG_CONFIG"; the
3112    ac_pt_PKG_CONFIG=$PKG_CONFIG    ac_pt_PKG_CONFIG=$PKG_CONFIG
3113    # Extract the first word of "pkg-config", so it can be a program name with args.    # Extract the first word of "pkg-config", so it can be a program name with args.
3114  set dummy pkg-config; ac_word=$2  set dummy pkg-config; ac_word=$2
3115  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3116  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
3117  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
3118    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
3119  else  else
3120    case $ac_pt_PKG_CONFIG in    case $ac_pt_PKG_CONFIG in
3121    [\\/]* | ?:[\\/]*)    [\\/]* | ?:[\\/]*)
# Line 2930  for as_dir in $PATH Line 3127  for as_dir in $PATH
3127  do  do
3128    IFS=$as_save_IFS    IFS=$as_save_IFS
3129    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
3130    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
3131    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3132      ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3133      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3134      break 2      break 2
3135    fi    fi
3136  done  done
3137  done    done
3138  IFS=$as_save_IFS  IFS=$as_save_IFS
3139    
3140    ;;    ;;
# Line 2945  esac Line 3142  esac
3142  fi  fi
3143  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3144  if test -n "$ac_pt_PKG_CONFIG"; then  if test -n "$ac_pt_PKG_CONFIG"; then
3145    { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3146  echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }  $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3147  else  else
3148    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3150  fi  fi
3151    
3152    if test "x$ac_pt_PKG_CONFIG" = x; then    if test "x$ac_pt_PKG_CONFIG" = x; then
# Line 2957  fi Line 3154  fi
3154    else    else
3155      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
3156  yes:)  yes:)
3157  { 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
3158  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;}  
3159  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
3160  esac  esac
3161      PKG_CONFIG=$ac_pt_PKG_CONFIG      PKG_CONFIG=$ac_pt_PKG_CONFIG
# Line 2974  fi Line 3167  fi
3167  fi  fi
3168  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3169          _pkg_min_version=0.9.0          _pkg_min_version=0.9.0
3170          { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3171  echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }  $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3172          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3173                  { echo "$as_me:$LINENO: result: yes" >&5                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3174  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
3175          else          else
3176                  { echo "$as_me:$LINENO: result: no" >&5                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3178                  PKG_CONFIG=""                  PKG_CONFIG=""
3179          fi          fi
3180    
3181  fi  fi
3182    
3183  pkg_failed=no  pkg_failed=no
3184  { echo "$as_me:$LINENO: checking for gnome_vfs_module" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnome_vfs_module" >&5
3185  echo $ECHO_N "checking for gnome_vfs_module... $ECHO_C" >&6; }  $as_echo_n "checking for gnome_vfs_module... " >&6; }
3186    
3187  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3188      if test -n "$gnome_vfs_module_CFLAGS"; then      if test -n "$gnome_vfs_module_CFLAGS"; then
3189          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"
3190      else      else
3191          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3192      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\""; } >&5
3193    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3194    ac_status=$?    ac_status=$?
3195    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3196    (exit $ac_status); }; then    test $ac_status = 0; }; then
3197    pkg_cv_gnome_vfs_module_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-module-2.0" 2>/dev/null`    pkg_cv_gnome_vfs_module_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-module-2.0" 2>/dev/null`
3198  else  else
3199    pkg_failed=yes    pkg_failed=yes
# Line 3014  if test -n "$PKG_CONFIG"; then Line 3207  if test -n "$PKG_CONFIG"; then
3207          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"
3208      else      else
3209          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3210      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\""; } >&5
3211    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3212    ac_status=$?    ac_status=$?
3213    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3214    (exit $ac_status); }; then    test $ac_status = 0; }; then
3215    pkg_cv_gnome_vfs_module_LIBS=`$PKG_CONFIG --libs "gnome-vfs-module-2.0" 2>/dev/null`    pkg_cv_gnome_vfs_module_LIBS=`$PKG_CONFIG --libs "gnome-vfs-module-2.0" 2>/dev/null`
3216  else  else
3217    pkg_failed=yes    pkg_failed=yes
# Line 3045  fi Line 3238  fi
3238          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3239          echo "$gnome_vfs_module_PKG_ERRORS" >&5          echo "$gnome_vfs_module_PKG_ERRORS" >&5
3240    
3241          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3243                  { { echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5                  as_fn_error "gnome-vfs-module-2.0 missing" "$LINENO" 5
 echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}  
    { (exit 1); exit 1; }; }  
3244  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3245          { { echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5          as_fn_error "gnome-vfs-module-2.0 missing" "$LINENO" 5
 echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}  
    { (exit 1); exit 1; }; }  
3246  else  else
3247          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS
3248          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS
3249          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3250  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
3251          :          :
3252  fi  fi
3253  CFLAGS="$CFLAGS $gnome_vfs_module_CFLAGS"  CFLAGS="$CFLAGS $gnome_vfs_module_CFLAGS"
# Line 3067  LIBS="$LIBS $gnome_vfs_module_LIBS" Line 3256  LIBS="$LIBS $gnome_vfs_module_LIBS"
3256  # check for libxml-2.0  # check for libxml-2.0
3257    
3258  pkg_failed=no  pkg_failed=no
3259  { echo "$as_me:$LINENO: checking for libxml2" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
3260  echo $ECHO_N "checking for libxml2... $ECHO_C" >&6; }  $as_echo_n "checking for libxml2... " >&6; }
3261    
3262  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3263      if test -n "$libxml2_CFLAGS"; then      if test -n "$libxml2_CFLAGS"; then
3264          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"
3265      else      else
3266          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3267      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
3268    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3269    ac_status=$?    ac_status=$?
3270    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3271    (exit $ac_status); }; then    test $ac_status = 0; }; then
3272    pkg_cv_libxml2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`    pkg_cv_libxml2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
3273  else  else
3274    pkg_failed=yes    pkg_failed=yes
# Line 3093  if test -n "$PKG_CONFIG"; then Line 3282  if test -n "$PKG_CONFIG"; then
3282          pkg_cv_libxml2_LIBS="$libxml2_LIBS"          pkg_cv_libxml2_LIBS="$libxml2_LIBS"
3283      else      else
3284          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3285      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
3286    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3287    ac_status=$?    ac_status=$?
3288    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289    (exit $ac_status); }; then    test $ac_status = 0; }; then
3290    pkg_cv_libxml2_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`    pkg_cv_libxml2_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
3291  else  else
3292    pkg_failed=yes    pkg_failed=yes
# Line 3124  fi Line 3313  fi
3313          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3314          echo "$libxml2_PKG_ERRORS" >&5          echo "$libxml2_PKG_ERRORS" >&5
3315    
3316          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3318                  { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5                  as_fn_error "libxml-2.0 missing" "$LINENO" 5
 echo "$as_me: error: libxml-2.0 missing" >&2;}  
    { (exit 1); exit 1; }; }  
3319  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3320          { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5          as_fn_error "libxml-2.0 missing" "$LINENO" 5
 echo "$as_me: error: libxml-2.0 missing" >&2;}  
    { (exit 1); exit 1; }; }  
3321  else  else
3322          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS
3323          libxml2_LIBS=$pkg_cv_libxml2_LIBS          libxml2_LIBS=$pkg_cv_libxml2_LIBS
3324          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3325  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
3326          :          :
3327  fi  fi
3328  CFLAGS="$CFLAGS $libxml2_CFLAGS"  CFLAGS="$CFLAGS $libxml2_CFLAGS"
3329  LIBS="$LIBS $libxml2_LIBS"  LIBS="$LIBS $libxml2_LIBS"
3330    
3331    # check for libcurl
3332    
3333    pkg_failed=no
3334    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
3335    $as_echo_n "checking for libcurl... " >&6; }
3336    
3337    if test -n "$PKG_CONFIG"; then
3338        if test -n "$libcurl_CFLAGS"; then
3339            pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
3340        else
3341            if test -n "$PKG_CONFIG" && \
3342        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
3343      ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3344      ac_status=$?
3345      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346      test $ac_status = 0; }; then
3347      pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
3348    else
3349      pkg_failed=yes
3350    fi
3351        fi
3352    else
3353            pkg_failed=untried
3354    fi
3355    if test -n "$PKG_CONFIG"; then
3356        if test -n "$libcurl_LIBS"; then
3357            pkg_cv_libcurl_LIBS="$libcurl_LIBS"
3358        else
3359            if test -n "$PKG_CONFIG" && \
3360        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
3361      ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3362      ac_status=$?
3363      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3364      test $ac_status = 0; }; then
3365      pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
3366    else
3367      pkg_failed=yes
3368    fi
3369        fi
3370    else
3371            pkg_failed=untried
3372    fi
3373    
3374    
3375    
3376    if test $pkg_failed = yes; then
3377    
3378    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3379            _pkg_short_errors_supported=yes
3380    else
3381            _pkg_short_errors_supported=no
3382    fi
3383            if test $_pkg_short_errors_supported = yes; then
3384                    libcurl_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl"`
3385            else
3386                    libcurl_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl"`
3387            fi
3388            # Put the nasty error message in config.log where it belongs
3389            echo "$libcurl_PKG_ERRORS" >&5
3390    
3391            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392    $as_echo "no" >&6; }
3393                    as_fn_error "libcurl missing" "$LINENO" 5
3394    elif test $pkg_failed = untried; then
3395            as_fn_error "libcurl missing" "$LINENO" 5
3396    else
3397            libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
3398            libcurl_LIBS=$pkg_cv_libcurl_LIBS
3399            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3400    $as_echo "yes" >&6; }
3401            :
3402    fi
3403    CFLAGS="$CFLAGS $libcurl_CFLAGS"
3404    LIBS="$LIBS $libcurl_LIBS"
3405    
3406  # check for libsoup  # check for libsoup
3407    
3408  pkg_failed=no  pkg_failed=no
3409  { echo "$as_me:$LINENO: checking for libsoup24" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup24" >&5
3410  echo $ECHO_N "checking for libsoup24... $ECHO_C" >&6; }  $as_echo_n "checking for libsoup24... " >&6; }
3411    
3412  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3413      if test -n "$libsoup24_CFLAGS"; then      if test -n "$libsoup24_CFLAGS"; then
3414          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"
3415      else      else
3416          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3417      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
3418    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3419    ac_status=$?    ac_status=$?
3420    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3421    (exit $ac_status); }; then    test $ac_status = 0; }; then
3422    pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`    pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
3423  else  else
3424    pkg_failed=yes    pkg_failed=yes
# Line 3171  if test -n "$PKG_CONFIG"; then Line 3432  if test -n "$PKG_CONFIG"; then
3432          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"
3433      else      else
3434          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3435      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
3436    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3437    ac_status=$?    ac_status=$?
3438    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3439    (exit $ac_status); }; then    test $ac_status = 0; }; then
3440    pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`    pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
3441  else  else
3442    pkg_failed=yes    pkg_failed=yes
# Line 3202  fi Line 3463  fi
3463          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3464          echo "$libsoup24_PKG_ERRORS" >&5          echo "$libsoup24_PKG_ERRORS" >&5
3465    
3466          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3467  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3468    
3469    
3470  pkg_failed=no  pkg_failed=no
3471  { echo "$as_me:$LINENO: checking for libsoup22" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup22" >&5
3472  echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }  $as_echo_n "checking for libsoup22... " >&6; }
3473    
3474  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3475      if test -n "$libsoup22_CFLAGS"; then      if test -n "$libsoup22_CFLAGS"; then
3476          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3477      else      else
3478          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3479      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\""; } >&5
3480    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3481    ac_status=$?    ac_status=$?
3482    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3483    (exit $ac_status); }; then    test $ac_status = 0; }; then
3484    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
3485  else  else
3486    pkg_failed=yes    pkg_failed=yes
# Line 3233  if test -n "$PKG_CONFIG"; then Line 3494  if test -n "$PKG_CONFIG"; then
3494          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3495      else      else
3496          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3497      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\""; } >&5
3498    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3499    ac_status=$?    ac_status=$?
3500    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501    (exit $ac_status); }; then    test $ac_status = 0; }; then
3502    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
3503  else  else
3504    pkg_failed=yes    pkg_failed=yes
# Line 3264  fi Line 3525  fi
3525          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3526          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
3527    
3528          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3529  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3530    
3531      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3532  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3533    
3534  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3535    
3536      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3537  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3538    
3539  else  else
3540          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3541          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3542          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3543  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
3544    
3545      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o"      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3546      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
3547      LIBS="$LIBS $libsoup22_LIBS"      LIBS="$LIBS $libsoup22_LIBS"
3548    
# Line 3291  elif test $pkg_failed = untried; then Line 3552  elif test $pkg_failed = untried; then
3552    
3553    
3554  pkg_failed=no  pkg_failed=no
3555  { echo "$as_me:$LINENO: checking for libsoup22" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup22" >&5
3556  echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }  $as_echo_n "checking for libsoup22... " >&6; }
3557    
3558  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3559      if test -n "$libsoup22_CFLAGS"; then      if test -n "$libsoup22_CFLAGS"; then
3560          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3561      else      else
3562          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3563      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\""; } >&5
3564    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3565    ac_status=$?    ac_status=$?
3566    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3567    (exit $ac_status); }; then    test $ac_status = 0; }; then
3568    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
3569  else  else
3570    pkg_failed=yes    pkg_failed=yes
# Line 3317  if test -n "$PKG_CONFIG"; then Line 3578  if test -n "$PKG_CONFIG"; then
3578          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3579      else      else
3580          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3581      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\""; } >&5
3582    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3583    ac_status=$?    ac_status=$?
3584    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3585    (exit $ac_status); }; then    test $ac_status = 0; }; then
3586    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
3587  else  else
3588    pkg_failed=yes    pkg_failed=yes
# Line 3348  fi Line 3609  fi
3609          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3610          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
3611    
3612          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3614    
3615      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3616  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3617    
3618  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3619    
3620      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3621  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3622    
3623  else  else
3624          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3625          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3626          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3627  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
3628    
3629      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o"      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3630      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
3631      LIBS="$LIBS $libsoup22_LIBS"      LIBS="$LIBS $libsoup22_LIBS"
3632    
# Line 3374  fi Line 3635  fi
3635  else  else
3636          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS
3637          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS
3638          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3639  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
3640    
3641    EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o"    EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3642    CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"    CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"
3643    LIBS="$LIBS $libsoup24_LIBS"    LIBS="$LIBS $libsoup24_LIBS"
3644    
# Line 3386  fi Line 3647  fi
3647  # check for gtkhtml-3.14  # check for gtkhtml-3.14
3648    
3649  pkg_failed=no  pkg_failed=no
3650  { echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgtkhtml3_14" >&5
3651  echo $ECHO_N "checking for libgtkhtml3_14... $ECHO_C" >&6; }  $as_echo_n "checking for libgtkhtml3_14... " >&6; }
3652    
3653  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3654      if test -n "$libgtkhtml3_14_CFLAGS"; then      if test -n "$libgtkhtml3_14_CFLAGS"; then
3655          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"
3656      else      else
3657          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3658      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\""; } >&5
3659    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3660    ac_status=$?    ac_status=$?
3661    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3662    (exit $ac_status); }; then    test $ac_status = 0; }; then
3663    pkg_cv_libgtkhtml3_14_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null`    pkg_cv_libgtkhtml3_14_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null`
3664  else  else
3665    pkg_failed=yes    pkg_failed=yes
# Line 3412  if test -n "$PKG_CONFIG"; then Line 3673  if test -n "$PKG_CONFIG"; then
3673          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"
3674      else      else
3675          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3676      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\""; } >&5
3677    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3678    ac_status=$?    ac_status=$?
3679    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3680    (exit $ac_status); }; then    test $ac_status = 0; }; then
3681    pkg_cv_libgtkhtml3_14_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null`    pkg_cv_libgtkhtml3_14_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null`
3682  else  else
3683    pkg_failed=yes    pkg_failed=yes
# Line 3443  fi Line 3704  fi
3704          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3705          echo "$libgtkhtml3_14_PKG_ERRORS" >&5          echo "$libgtkhtml3_14_PKG_ERRORS" >&5
3706    
3707          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3709    
3710      # ok, we can also live with 3.8
3711    
3712    pkg_failed=no
3713    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgtkhtml3_8" >&5
3714    $as_echo_n "checking for libgtkhtml3_8... " >&6; }
3715    
3716    if test -n "$PKG_CONFIG"; then
3717        if test -n "$libgtkhtml3_8_CFLAGS"; then
3718            pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3719        else
3720            if test -n "$PKG_CONFIG" && \
3721        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\""; } >&5
3722      ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3723      ac_status=$?
3724      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3725      test $ac_status = 0; }; then
3726      pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
3727    else
3728      pkg_failed=yes
3729    fi
3730        fi
3731    else
3732            pkg_failed=untried
3733    fi
3734    if test -n "$PKG_CONFIG"; then
3735        if test -n "$libgtkhtml3_8_LIBS"; then
3736            pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3737        else
3738            if test -n "$PKG_CONFIG" && \
3739        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\""; } >&5
3740      ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3741      ac_status=$?
3742      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3743      test $ac_status = 0; }; then
3744      pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
3745    else
3746      pkg_failed=yes
3747    fi
3748        fi
3749    else
3750            pkg_failed=untried
3751    fi
3752    
3753    
3754    
3755    if test $pkg_failed = yes; then
3756    
3757    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3758            _pkg_short_errors_supported=yes
3759    else
3760            _pkg_short_errors_supported=no
3761    fi
3762            if test $_pkg_short_errors_supported = yes; then
3763                    libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3764            else
3765                    libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3766            fi
3767            # Put the nasty error message in config.log where it belongs
3768            echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3769    
3770            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771    $as_echo "no" >&6; }
3772                    as_fn_error "libgtkhtml-3 missing" "$LINENO" 5
3773    elif test $pkg_failed = untried; then
3774            as_fn_error "libgtkhtml-3 missing" "$LINENO" 5
3775    else
3776            libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3777            libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3778            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3779    $as_echo "yes" >&6; }
3780    
3781        CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3782        LIBS="$LIBS $libgtkhtml3_8_LIBS"
3783    
3784    fi
3785    
3786    elif test $pkg_failed = untried; then
3787    
3788    # ok, we can also live with 3.8    # ok, we can also live with 3.8
3789    
3790  pkg_failed=no  pkg_failed=no
3791  { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgtkhtml3_8" >&5
3792  echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }  $as_echo_n "checking for libgtkhtml3_8... " >&6; }
3793    
3794  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3795      if test -n "$libgtkhtml3_8_CFLAGS"; then      if test -n "$libgtkhtml3_8_CFLAGS"; then
3796          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3797      else      else
3798          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3799      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\""; } >&5
3800    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3801    ac_status=$?    ac_status=$?
3802    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3803    (exit $ac_status); }; then    test $ac_status = 0; }; then
3804    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
3805  else  else
3806    pkg_failed=yes    pkg_failed=yes
3807    fi
3808        fi
3809    else
3810            pkg_failed=untried
3811    fi
3812    if test -n "$PKG_CONFIG"; then
3813        if test -n "$libgtkhtml3_8_LIBS"; then
3814            pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3815        else
3816            if test -n "$PKG_CONFIG" && \
3817        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\""; } >&5
3818      ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3819      ac_status=$?
3820      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3821      test $ac_status = 0; }; then
3822      pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
3823    else
3824      pkg_failed=yes
3825    fi
3826        fi
3827    else
3828            pkg_failed=untried
3829    fi
3830    
3831    
3832    
3833    if test $pkg_failed = yes; then
3834    
3835    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3836            _pkg_short_errors_supported=yes
3837    else
3838            _pkg_short_errors_supported=no
3839    fi
3840            if test $_pkg_short_errors_supported = yes; then
3841                    libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3842            else
3843                    libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3844            fi
3845            # Put the nasty error message in config.log where it belongs
3846            echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3847    
3848            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3849    $as_echo "no" >&6; }
3850                    as_fn_error "libgtkhtml-3 missing" "$LINENO" 5
3851    elif test $pkg_failed = untried; then
3852            as_fn_error "libgtkhtml-3 missing" "$LINENO" 5
3853    else
3854            libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3855            libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3856            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3857    $as_echo "yes" >&6; }
3858    
3859        CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3860        LIBS="$LIBS $libgtkhtml3_8_LIBS"
3861    
3862    fi
3863    
3864    else
3865            libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS
3866            libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS
3867            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3868    $as_echo "yes" >&6; }
3869    
3870      CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"
3871      LIBS="$LIBS $libgtkhtml3_14_LIBS"
3872    
3873    fi
3874    
3875    # check for maemo
3876    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Maemo" >&5
3877    $as_echo_n "checking for Maemo... " >&6; }
3878    
3879    ac_ext=c
3880    ac_cpp='$CPP $CPPFLAGS'
3881    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3882    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3883    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3884    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3885    $as_echo_n "checking how to run the C preprocessor... " >&6; }
3886    # On Suns, sometimes $CPP names a directory.
3887    if test -n "$CPP" && test -d "$CPP"; then
3888      CPP=
3889    fi
3890    if test -z "$CPP"; then
3891      if test "${ac_cv_prog_CPP+set}" = set; then :
3892      $as_echo_n "(cached) " >&6
3893    else
3894          # Double quotes because CPP needs to be expanded
3895        for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3896        do
3897          ac_preproc_ok=false
3898    for ac_c_preproc_warn_flag in '' yes
3899    do
3900      # Use a header file that comes with gcc, so configuring glibc
3901      # with a fresh cross-compiler works.
3902      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3903      # <limits.h> exists even on freestanding compilers.
3904      # On the NeXT, cc -E runs the code through the compiler's parser,
3905      # not just through cpp. "Syntax error" is here to catch this case.
3906      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3907    /* end confdefs.h.  */
3908    #ifdef __STDC__
3909    # include <limits.h>
3910    #else
3911    # include <assert.h>
3912    #endif
3913                         Syntax error
3914    _ACEOF
3915    if ac_fn_c_try_cpp "$LINENO"; then :
3916    
3917    else
3918      # Broken: fails on valid input.
3919    continue
3920    fi
3921    rm -f conftest.err conftest.$ac_ext
3922    
3923      # OK, works on sane cases.  Now check whether nonexistent headers
3924      # can be detected and how.
3925      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926    /* end confdefs.h.  */
3927    #include <ac_nonexistent.h>
3928    _ACEOF
3929    if ac_fn_c_try_cpp "$LINENO"; then :
3930      # Broken: success on invalid input.
3931    continue
3932    else
3933      # Passes both tests.
3934    ac_preproc_ok=:
3935    break
3936    fi
3937    rm -f conftest.err conftest.$ac_ext
3938    
3939    done
3940    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3941    rm -f conftest.err conftest.$ac_ext
3942    if $ac_preproc_ok; then :
3943      break
3944    fi
3945    
3946        done
3947        ac_cv_prog_CPP=$CPP
3948    
3949    fi
3950      CPP=$ac_cv_prog_CPP
3951    else
3952      ac_cv_prog_CPP=$CPP
3953    fi
3954    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3955    $as_echo "$CPP" >&6; }
3956    ac_preproc_ok=false
3957    for ac_c_preproc_warn_flag in '' yes
3958    do
3959      # Use a header file that comes with gcc, so configuring glibc
3960      # with a fresh cross-compiler works.
3961      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3962      # <limits.h> exists even on freestanding compilers.
3963      # On the NeXT, cc -E runs the code through the compiler's parser,
3964      # not just through cpp. "Syntax error" is here to catch this case.
3965      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966    /* end confdefs.h.  */
3967    #ifdef __STDC__
3968    # include <limits.h>
3969    #else
3970    # include <assert.h>
3971    #endif
3972                         Syntax error
3973    _ACEOF
3974    if ac_fn_c_try_cpp "$LINENO"; then :
3975    
3976    else
3977      # Broken: fails on valid input.
3978    continue
3979    fi
3980    rm -f conftest.err conftest.$ac_ext
3981    
3982      # OK, works on sane cases.  Now check whether nonexistent headers
3983      # can be detected and how.
3984      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985    /* end confdefs.h.  */
3986    #include <ac_nonexistent.h>
3987    _ACEOF
3988    if ac_fn_c_try_cpp "$LINENO"; then :
3989      # Broken: success on invalid input.
3990    continue
3991    else
3992      # Passes both tests.
3993    ac_preproc_ok=:
3994    break
3995    fi
3996    rm -f conftest.err conftest.$ac_ext
3997    
3998    done
3999    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4000    rm -f conftest.err conftest.$ac_ext
4001    if $ac_preproc_ok; then :
4002    
4003    else
4004      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006    as_fn_error "C preprocessor \"$CPP\" fails sanity check
4007    See \`config.log' for more details." "$LINENO" 5; }
4008    fi
4009    
4010    ac_ext=c
4011    ac_cpp='$CPP $CPPFLAGS'
4012    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4013    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4014    ac_compiler_gnu=$ac_cv_c_compiler_gnu
4015    
4016    
4017    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4018    $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4019    if test "${ac_cv_path_GREP+set}" = set; then :
4020      $as_echo_n "(cached) " >&6
4021    else
4022      if test -z "$GREP"; then
4023      ac_path_GREP_found=false
4024      # Loop through the user's path and test for each of PROGNAME-LIST
4025      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4026    for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4027    do
4028      IFS=$as_save_IFS
4029      test -z "$as_dir" && as_dir=.
4030        for ac_prog in grep ggrep; do
4031        for ac_exec_ext in '' $ac_executable_extensions; do
4032          ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4033          { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4034    # Check for GNU ac_path_GREP and select it if it is found.
4035      # Check for GNU $ac_path_GREP
4036    case `"$ac_path_GREP" --version 2>&1` in
4037    *GNU*)
4038      ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4039    *)
4040      ac_count=0
4041      $as_echo_n 0123456789 >"conftest.in"
4042      while :
4043      do
4044        cat "conftest.in" "conftest.in" >"conftest.tmp"
4045        mv "conftest.tmp" "conftest.in"
4046        cp "conftest.in" "conftest.nl"
4047        $as_echo 'GREP' >> "conftest.nl"
4048        "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4049        diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4050        as_fn_arith $ac_count + 1 && ac_count=$as_val
4051        if test $ac_count -gt ${ac_path_GREP_max-0}; then
4052          # Best one so far, save it but keep looking for a better one
4053          ac_cv_path_GREP="$ac_path_GREP"
4054          ac_path_GREP_max=$ac_count
4055        fi
4056        # 10*(2^10) chars as input seems more than enough
4057        test $ac_count -gt 10 && break
4058      done
4059      rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4060    esac
4061    
4062          $ac_path_GREP_found && break 3
4063        done
4064      done
4065      done
4066    IFS=$as_save_IFS
4067      if test -z "$ac_cv_path_GREP"; then
4068        as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4069      fi
4070    else
4071      ac_cv_path_GREP=$GREP
4072  fi  fi
4073      fi  
 else  
         pkg_failed=untried  
4074  fi  fi
4075  if test -n "$PKG_CONFIG"; then  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4076      if test -n "$libgtkhtml3_8_LIBS"; then  $as_echo "$ac_cv_path_GREP" >&6; }
4077          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"   GREP="$ac_cv_path_GREP"
4078      else  
4079          if test -n "$PKG_CONFIG" && \  
4080      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4081    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5  $as_echo_n "checking for egrep... " >&6; }
4082    ac_status=$?  if test "${ac_cv_path_EGREP+set}" = set; then :
4083    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo_n "(cached) " >&6
   (exit $ac_status); }; then  
   pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`  
4084  else  else
4085    pkg_failed=yes    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4086  fi     then ac_cv_path_EGREP="$GREP -E"
4087       else
4088         if test -z "$EGREP"; then
4089      ac_path_EGREP_found=false
4090      # Loop through the user's path and test for each of PROGNAME-LIST
4091      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092    for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4093    do
4094      IFS=$as_save_IFS
4095      test -z "$as_dir" && as_dir=.
4096        for ac_prog in egrep; do
4097        for ac_exec_ext in '' $ac_executable_extensions; do
4098          ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4099          { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4100    # Check for GNU ac_path_EGREP and select it if it is found.
4101      # Check for GNU $ac_path_EGREP
4102    case `"$ac_path_EGREP" --version 2>&1` in
4103    *GNU*)
4104      ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4105    *)
4106      ac_count=0
4107      $as_echo_n 0123456789 >"conftest.in"
4108      while :
4109      do
4110        cat "conftest.in" "conftest.in" >"conftest.tmp"
4111        mv "conftest.tmp" "conftest.in"
4112        cp "conftest.in" "conftest.nl"
4113        $as_echo 'EGREP' >> "conftest.nl"
4114        "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4115        diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4116        as_fn_arith $ac_count + 1 && ac_count=$as_val
4117        if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4118          # Best one so far, save it but keep looking for a better one
4119          ac_cv_path_EGREP="$ac_path_EGREP"
4120          ac_path_EGREP_max=$ac_count
4121      fi      fi
4122        # 10*(2^10) chars as input seems more than enough
4123        test $ac_count -gt 10 && break
4124      done
4125      rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4126    esac
4127    
4128          $ac_path_EGREP_found && break 3
4129        done
4130      done
4131      done
4132    IFS=$as_save_IFS
4133      if test -z "$ac_cv_path_EGREP"; then
4134        as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4135      fi
4136  else  else
4137          pkg_failed=untried    ac_cv_path_EGREP=$EGREP
4138  fi  fi
4139    
4140       fi
4141    fi
4142    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4143    $as_echo "$ac_cv_path_EGREP" >&6; }
4144     EGREP="$ac_cv_path_EGREP"
4145    
4146    
4147  if test $pkg_failed = yes; then  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4148    $as_echo_n "checking for ANSI C header files... " >&6; }
4149    if test "${ac_cv_header_stdc+set}" = set; then :
4150      $as_echo_n "(cached) " >&6
4151    else
4152      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153    /* end confdefs.h.  */
4154    #include <stdlib.h>
4155    #include <stdarg.h>
4156    #include <string.h>
4157    #include <float.h>
4158    
4159  if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then  int
4160          _pkg_short_errors_supported=yes  main ()
4161    {
4162    
4163      ;
4164      return 0;
4165    }
4166    _ACEOF
4167    if ac_fn_c_try_compile "$LINENO"; then :
4168      ac_cv_header_stdc=yes
4169  else  else
4170          _pkg_short_errors_supported=no    ac_cv_header_stdc=no
4171  fi  fi
4172          if test $_pkg_short_errors_supported = yes; then  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                 libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`  
         else  
                 libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`  
         fi  
         # Put the nasty error message in config.log where it belongs  
         echo "$libgtkhtml3_8_PKG_ERRORS" >&5  
4173    
4174          { echo "$as_me:$LINENO: result: no" >&5  if test $ac_cv_header_stdc = yes; then
4175  echo "${ECHO_T}no" >&6; }    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4176                  { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177  echo "$as_me: error: libgtkhtml-3 missing" >&2;}  /* end confdefs.h.  */
4178     { (exit 1); exit 1; }; }  #include <string.h>
 elif test $pkg_failed = untried; then  
         { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5  
 echo "$as_me: error: libgtkhtml-3 missing" >&2;}  
    { (exit 1); exit 1; }; }  
 else  
         libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS  
         libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS  
         { echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6; }  
4179    
4180      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"  _ACEOF
4181      LIBS="$LIBS $libgtkhtml3_8_LIBS"  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4182      $EGREP "memchr" >/dev/null 2>&1; then :
4183    
4184    else
4185      ac_cv_header_stdc=no
4186  fi  fi
4187    rm -f conftest*
4188    
4189  elif test $pkg_failed = untried; then  fi
4190    
4191    # ok, we can also live with 3.8  if test $ac_cv_header_stdc = yes; then
4192      # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4193      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194    /* end confdefs.h.  */
4195    #include <stdlib.h>
4196    
4197  pkg_failed=no  _ACEOF
4198  { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4199  echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }    $EGREP "free" >/dev/null 2>&1; then :
4200    
 if test -n "$PKG_CONFIG"; then  
     if test -n "$libgtkhtml3_8_CFLAGS"; then  
         pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"  
     else  
         if test -n "$PKG_CONFIG" && \  
     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5  
   ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; then  
   pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`  
 else  
   pkg_failed=yes  
 fi  
     fi  
 else  
         pkg_failed=untried  
 fi  
 if test -n "$PKG_CONFIG"; then  
     if test -n "$libgtkhtml3_8_LIBS"; then  
         pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"  
     else  
         if test -n "$PKG_CONFIG" && \  
     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5  
   ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; then  
   pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`  
 else  
   pkg_failed=yes  
 fi  
     fi  
4201  else  else
4202          pkg_failed=untried    ac_cv_header_stdc=no
4203  fi  fi
4204    rm -f conftest*
4205    
4206    fi
4207    
4208    if test $ac_cv_header_stdc = yes; then
4209      # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4210      if test "$cross_compiling" = yes; then :
4211      :
4212    else
4213      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214    /* end confdefs.h.  */
4215    #include <ctype.h>
4216    #include <stdlib.h>
4217    #if ((' ' & 0x0FF) == 0x020)
4218    # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4219    # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4220    #else
4221    # define ISLOWER(c) \
4222                       (('a' <= (c) && (c) <= 'i') \
4223                         || ('j' <= (c) && (c) <= 'r') \
4224                         || ('s' <= (c) && (c) <= 'z'))
4225    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4226    #endif
4227    
4228  if test $pkg_failed = yes; then  #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4229    int
4230    main ()
4231    {
4232      int i;
4233      for (i = 0; i < 256; i++)
4234        if (XOR (islower (i), ISLOWER (i))
4235            || toupper (i) != TOUPPER (i))
4236          return 2;
4237      return 0;
4238    }
4239    _ACEOF
4240    if ac_fn_c_try_run "$LINENO"; then :
4241    
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then  
         _pkg_short_errors_supported=yes  
4242  else  else
4243          _pkg_short_errors_supported=no    ac_cv_header_stdc=no
4244    fi
4245    rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4246      conftest.$ac_objext conftest.beam conftest.$ac_ext
4247  fi  fi
         if test $_pkg_short_errors_supported = yes; then  
                 libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`  
         else  
                 libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`  
         fi  
         # Put the nasty error message in config.log where it belongs  
         echo "$libgtkhtml3_8_PKG_ERRORS" >&5  
4248    
4249          { echo "$as_me:$LINENO: result: no" >&5  fi
4250  echo "${ECHO_T}no" >&6; }  fi
4251                  { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4252  echo "$as_me: error: libgtkhtml-3 missing" >&2;}  $as_echo "$ac_cv_header_stdc" >&6; }
4253     { (exit 1); exit 1; }; }  if test $ac_cv_header_stdc = yes; then
 elif test $pkg_failed = untried; then  
         { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5  
 echo "$as_me: error: libgtkhtml-3 missing" >&2;}  
    { (exit 1); exit 1; }; }  
 else  
         libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS  
         libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS  
         { echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6; }  
4254    
4255      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"  $as_echo "#define STDC_HEADERS 1" >>confdefs.h
     LIBS="$LIBS $libgtkhtml3_8_LIBS"  
4256    
4257  fi  fi
4258    
4259  else  # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4260          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4261          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS                    inttypes.h stdint.h unistd.h
4262          { echo "$as_me:$LINENO: result: yes" >&5  do :
4263  echo "${ECHO_T}yes" >&6; }    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4264    ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4265    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"  "
4266    LIBS="$LIBS $libgtkhtml3_14_LIBS"  eval as_val=\$$as_ac_Header
4267       if test "x$as_val" = x""yes; then :
4268      cat >>confdefs.h <<_ACEOF
4269    #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4270    _ACEOF
4271    
4272  fi  fi
4273    
4274  # check for maemo  done
4275  { echo "$as_me:$LINENO: checking for Maemo" >&5  
4276  echo $ECHO_N "checking for Maemo... $ECHO_C" >&6; }  
4277  if test -n "$PKG_CONFIG" && \  if test -n "$PKG_CONFIG" && \
4278      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"maemo-version\""; } >&5
4279    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
4280    ac_status=$?    ac_status=$?
4281    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4282    (exit $ac_status); }; then    test $ac_status = 0; }; then
4283    
4284    MAEMO="yes"    MAEMO="yes"
4285    { echo "$as_me:$LINENO: result: yes" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4286  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
4287    
4288    
4289  pkg_failed=no  pkg_failed=no
4290  { echo "$as_me:$LINENO: checking for hildon" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hildon" >&5
4291  echo $ECHO_N "checking for hildon... $ECHO_C" >&6; }  $as_echo_n "checking for hildon... " >&6; }
4292    
4293  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4294      if test -n "$hildon_CFLAGS"; then      if test -n "$hildon_CFLAGS"; then
4295          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"
4296      else      else
4297          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4298      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1\""; } >&5
4299    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4300    ac_status=$?    ac_status=$?
4301    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4302    (exit $ac_status); }; then    test $ac_status = 0; }; then
4303    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
4304  else  else
4305    pkg_failed=yes    pkg_failed=yes
# Line 3661  if test -n "$PKG_CONFIG"; then Line 4313  if test -n "$PKG_CONFIG"; then
4313          pkg_cv_hildon_LIBS="$hildon_LIBS"          pkg_cv_hildon_LIBS="$hildon_LIBS"
4314      else      else
4315          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4316      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1\""; } >&5
4317    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4318    ac_status=$?    ac_status=$?
4319    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4320    (exit $ac_status); }; then    test $ac_status = 0; }; then
4321    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
4322  else  else
4323    pkg_failed=yes    pkg_failed=yes
# Line 3692  fi Line 4344  fi
4344          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4345          echo "$hildon_PKG_ERRORS" >&5          echo "$hildon_PKG_ERRORS" >&5
4346    
4347          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
4349                  { { 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; }; }  
4350  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4351          { { 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; }; }  
4352  else  else
4353          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS
4354          hildon_LIBS=$pkg_cv_hildon_LIBS          hildon_LIBS=$pkg_cv_hildon_LIBS
4355          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4356  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
4357          :          :
4358  fi  fi
4359    CFLAGS="$CFLAGS  -DUSE_MAEMO $hildon_CFLAGS"    CFLAGS="$CFLAGS  -DUSE_MAEMO $hildon_CFLAGS"
# Line 3713  fi Line 4361  fi
4361    
4362    
4363  pkg_failed=no  pkg_failed=no
4364  { echo "$as_me:$LINENO: checking for osso" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for osso" >&5
4365  echo $ECHO_N "checking for osso... $ECHO_C" >&6; }  $as_echo_n "checking for osso... " >&6; }
4366    
4367  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4368      if test -n "$osso_CFLAGS"; then      if test -n "$osso_CFLAGS"; then
4369          pkg_cv_osso_CFLAGS="$osso_CFLAGS"          pkg_cv_osso_CFLAGS="$osso_CFLAGS"
4370      else      else
4371          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4372      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libosso\""; } >&5
4373    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4374    ac_status=$?    ac_status=$?
4375    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4376    (exit $ac_status); }; then    test $ac_status = 0; }; then
4377    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`
4378  else  else
4379    pkg_failed=yes    pkg_failed=yes
# Line 3739  if test -n "$PKG_CONFIG"; then Line 4387  if test -n "$PKG_CONFIG"; then
4387          pkg_cv_osso_LIBS="$osso_LIBS"          pkg_cv_osso_LIBS="$osso_LIBS"
4388      else      else
4389          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4390      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libosso\""; } >&5
4391    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4392    ac_status=$?    ac_status=$?
4393    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4394    (exit $ac_status); }; then    test $ac_status = 0; }; then
4395    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`
4396  else  else
4397    pkg_failed=yes    pkg_failed=yes
# Line 3770  fi Line 4418  fi
4418          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4419          echo "$osso_PKG_ERRORS" >&5          echo "$osso_PKG_ERRORS" >&5
4420    
4421          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
4423                  { { 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; }; }  
4424  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4425          { { 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; }; }  
4426  else  else
4427          osso_CFLAGS=$pkg_cv_osso_CFLAGS          osso_CFLAGS=$pkg_cv_osso_CFLAGS
4428          osso_LIBS=$pkg_cv_osso_LIBS          osso_LIBS=$pkg_cv_osso_LIBS
4429          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4430  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
4431          :          :
4432  fi  fi
4433    CFLAGS="$CFLAGS $osso_CFLAGS"    CFLAGS="$CFLAGS $osso_CFLAGS"
# Line 3791  fi Line 4435  fi
4435    
4436    
4437  pkg_failed=no  pkg_failed=no
4438  { echo "$as_me:$LINENO: checking for hildon_fm_2" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hildon_fm_2" >&5
4439  echo $ECHO_N "checking for hildon_fm_2... $ECHO_C" >&6; }  $as_echo_n "checking for hildon_fm_2... " >&6; }
4440    
4441  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4442      if test -n "$hildon_fm_2_CFLAGS"; then      if test -n "$hildon_fm_2_CFLAGS"; then
4443          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"
4444      else      else
4445          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4446      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\""; } >&5
4447    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4448    ac_status=$?    ac_status=$?
4449    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4450    (exit $ac_status); }; then    test $ac_status = 0; }; then
4451    pkg_cv_hildon_fm_2_CFLAGS=`$PKG_CONFIG --cflags "hildon-fm-2" 2>/dev/null`    pkg_cv_hildon_fm_2_CFLAGS=`$PKG_CONFIG --cflags "hildon-fm-2" 2>/dev/null`
4452  else  else
4453    pkg_failed=yes    pkg_failed=yes
# Line 3817  if test -n "$PKG_CONFIG"; then Line 4461  if test -n "$PKG_CONFIG"; then
4461          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"
4462      else      else
4463          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4464      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\""; } >&5
4465    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4466    ac_status=$?    ac_status=$?
4467    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4468    (exit $ac_status); }; then    test $ac_status = 0; }; then
4469    pkg_cv_hildon_fm_2_LIBS=`$PKG_CONFIG --libs "hildon-fm-2" 2>/dev/null`    pkg_cv_hildon_fm_2_LIBS=`$PKG_CONFIG --libs "hildon-fm-2" 2>/dev/null`
4470  else  else
4471    pkg_failed=yes    pkg_failed=yes
# Line 3848  fi Line 4492  fi
4492          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4493          echo "$hildon_fm_2_PKG_ERRORS" >&5          echo "$hildon_fm_2_PKG_ERRORS" >&5
4494    
4495          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4496  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
4497                  { { 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; }; }  
4498  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4499          { { 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; }; }  
4500  else  else
4501          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS
4502          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS
4503          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4504  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
4505          :          :
4506  fi  fi
4507    CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"    CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"
# Line 3870  fi Line 4510  fi
4510    # check for sqlite3 for maemo mapper interface    # check for sqlite3 for maemo mapper interface
4511    
4512  pkg_failed=no  pkg_failed=no
4513  { echo "$as_me:$LINENO: checking for sqlite3" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5
4514  echo $ECHO_N "checking for sqlite3... $ECHO_C" >&6; }  $as_echo_n "checking for sqlite3... " >&6; }
4515    
4516  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4517      if test -n "$sqlite3_CFLAGS"; then      if test -n "$sqlite3_CFLAGS"; then
4518          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"
4519      else      else
4520          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4521      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
4522    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4523    ac_status=$?    ac_status=$?
4524    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4525    (exit $ac_status); }; then    test $ac_status = 0; }; then
4526    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
4527  else  else
4528    pkg_failed=yes    pkg_failed=yes
# Line 3896  if test -n "$PKG_CONFIG"; then Line 4536  if test -n "$PKG_CONFIG"; then
4536          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"
4537      else      else
4538          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4539      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
4540    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4541    ac_status=$?    ac_status=$?
4542    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4543    (exit $ac_status); }; then    test $ac_status = 0; }; then
4544    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
4545  else  else
4546    pkg_failed=yes    pkg_failed=yes
# Line 3927  fi Line 4567  fi
4567          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4568          echo "$sqlite3_PKG_ERRORS" >&5          echo "$sqlite3_PKG_ERRORS" >&5
4569    
4570          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
4572                  { { 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; }; }  
4573  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4574          { { 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; }; }  
4575  else  else
4576          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS
4577          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS
4578          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4579  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
4580          :          :
4581  fi  fi
4582    CFLAGS="$CFLAGS $sqlite3_CFLAGS"    CFLAGS="$CFLAGS $sqlite3_CFLAGS"
# Line 3949  fi Line 4585  fi
4585    # check for hildon-help    # check for hildon-help
4586    
4587  pkg_failed=no  pkg_failed=no
4588  { echo "$as_me:$LINENO: checking for hildon_help" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hildon_help" >&5
4589  echo $ECHO_N "checking for hildon_help... $ECHO_C" >&6; }  $as_echo_n "checking for hildon_help... " >&6; }
4590    
4591  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4592      if test -n "$hildon_help_CFLAGS"; then      if test -n "$hildon_help_CFLAGS"; then
4593          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"
4594      else      else
4595          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4596      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-help\""; } >&5
4597    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4598    ac_status=$?    ac_status=$?
4599    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4600    (exit $ac_status); }; then    test $ac_status = 0; }; then
4601    pkg_cv_hildon_help_CFLAGS=`$PKG_CONFIG --cflags "hildon-help" 2>/dev/null`    pkg_cv_hildon_help_CFLAGS=`$PKG_CONFIG --cflags "hildon-help" 2>/dev/null`
4602  else  else
4603    pkg_failed=yes    pkg_failed=yes
# Line 3975  if test -n "$PKG_CONFIG"; then Line 4611  if test -n "$PKG_CONFIG"; then
4611          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"
4612      else      else
4613          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4614      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-help\""; } >&5
4615    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4616    ac_status=$?    ac_status=$?
4617    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4618    (exit $ac_status); }; then    test $ac_status = 0; }; then
4619    pkg_cv_hildon_help_LIBS=`$PKG_CONFIG --libs "hildon-help" 2>/dev/null`    pkg_cv_hildon_help_LIBS=`$PKG_CONFIG --libs "hildon-help" 2>/dev/null`
4620  else  else
4621    pkg_failed=yes    pkg_failed=yes
# Line 4006  fi Line 4642  fi
4642          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4643          echo "$hildon_help_PKG_ERRORS" >&5          echo "$hildon_help_PKG_ERRORS" >&5
4644    
4645          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
4647    
4648      { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hildon-help missing" >&5
4649  echo "$as_me: WARNING: hildon-help missing" >&6;}  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}
4650    
4651  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4652    
4653      { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hildon-help missing" >&5
4654  echo "$as_me: WARNING: hildon-help missing" >&6;}  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}
4655    
4656  else  else
4657          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS
4658          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS
4659          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4660  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
4661    
4662      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"
4663      LIBS="$LIBS $hildon_help_LIBS"      LIBS="$LIBS $hildon_help_LIBS"
# Line 4031  fi Line 4667  fi
4667    # prefer gpsbt over liblocation as we got complaints regarding liblocation    # prefer gpsbt over liblocation as we got complaints regarding liblocation
4668    # stability    # stability
4669    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4670      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpsbt\""; } >&5
4671    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4672    ac_status=$?    ac_status=$?
4673    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4674    (exit $ac_status); }; then    test $ac_status = 0; }; then
4675    
4676    
4677  pkg_failed=no  pkg_failed=no
4678  { echo "$as_me:$LINENO: checking for gpsbt" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpsbt" >&5
4679  echo $ECHO_N "checking for gpsbt... $ECHO_C" >&6; }  $as_echo_n "checking for gpsbt... " >&6; }
4680    
4681  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4682      if test -n "$gpsbt_CFLAGS"; then      if test -n "$gpsbt_CFLAGS"; then
4683          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"
4684      else      else
4685          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4686      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpsbt\""; } >&5
4687    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4688    ac_status=$?    ac_status=$?
4689    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4690    (exit $ac_status); }; then    test $ac_status = 0; }; then
4691    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`
4692  else  else
4693    pkg_failed=yes    pkg_failed=yes
# Line 4065  if test -n "$PKG_CONFIG"; then Line 4701  if test -n "$PKG_CONFIG"; then
4701          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"
4702      else      else
4703          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4704      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpsbt\""; } >&5
4705    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4706    ac_status=$?    ac_status=$?
4707    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4708    (exit $ac_status); }; then    test $ac_status = 0; }; then
4709    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`
4710  else  else
4711    pkg_failed=yes    pkg_failed=yes
# Line 4096  fi Line 4732  fi
4732          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4733          echo "$gpsbt_PKG_ERRORS" >&5          echo "$gpsbt_PKG_ERRORS" >&5
4734    
4735          { { 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:  
4736    
4737  $gpsbt_PKG_ERRORS  $gpsbt_PKG_ERRORS
4738    
# Line 4117  installed software in a non-standard pre Line 4742  installed software in a non-standard pre
4742  Alternatively, you may set the environment variables gpsbt_CFLAGS  Alternatively, you may set the environment variables gpsbt_CFLAGS
4743  and gpsbt_LIBS to avoid the need to call pkg-config.  and gpsbt_LIBS to avoid the need to call pkg-config.
4744  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4745  " >&2;}  " "$LINENO" 5
    { (exit 1); exit 1; }; }  
4746  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4747          { { 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
4748  is in your PATH or set the PKG_CONFIG environment variable to the full  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4749  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  
4750  is in your PATH or set the PKG_CONFIG environment variable to the full  is in your PATH or set the PKG_CONFIG environment variable to the full
4751  path to pkg-config.  path to pkg-config.
4752    
# Line 4139  and gpsbt_LIBS to avoid the need to call Line 4755  and gpsbt_LIBS to avoid the need to call
4755  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4756    
4757  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4758  See \`config.log' for more details." >&2;}  See \`config.log' for more details." "$LINENO" 5; }
    { (exit 1); exit 1; }; }  
4759  else  else
4760          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS
4761          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS
4762          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4763  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
4764          :          :
4765  fi  fi
4766      CFLAGS="$CFLAGS -DENABLE_GPSBT $gpsbt_CFLAGS"      CFLAGS="$CFLAGS -DENABLE_GPSBT $gpsbt_CFLAGS"
# Line 4153  fi Line 4768  fi
4768    
4769  else  else
4770    
4771      { echo "$as_me:$LINENO: gpsbt not found, trying liblocation" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: gpsbt not found, trying liblocation" >&5
4772  echo "$as_me: gpsbt not found, trying liblocation" >&6;}  $as_echo "$as_me: gpsbt not found, trying liblocation" >&6;}
4773    
4774      if test -n "$PKG_CONFIG" && \      if test -n "$PKG_CONFIG" && \
4775      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblocation\""; } >&5
4776    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4777    ac_status=$?    ac_status=$?
4778    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4779    (exit $ac_status); }; then    test $ac_status = 0; }; then
4780    
4781    
4782  pkg_failed=no  pkg_failed=no
4783  { echo "$as_me:$LINENO: checking for liblocation" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblocation" >&5
4784  echo $ECHO_N "checking for liblocation... $ECHO_C" >&6; }  $as_echo_n "checking for liblocation... " >&6; }
4785    
4786  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4787      if test -n "$liblocation_CFLAGS"; then      if test -n "$liblocation_CFLAGS"; then
4788          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"
4789      else      else
4790          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4791      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblocation\""; } >&5
4792    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4793    ac_status=$?    ac_status=$?
4794    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4795    (exit $ac_status); }; then    test $ac_status = 0; }; then
4796    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`
4797  else  else
4798    pkg_failed=yes    pkg_failed=yes
# Line 4191  if test -n "$PKG_CONFIG"; then Line 4806  if test -n "$PKG_CONFIG"; then
4806          pkg_cv_liblocation_LIBS="$liblocation_LIBS"          pkg_cv_liblocation_LIBS="$liblocation_LIBS"
4807      else      else
4808          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4809      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblocation\""; } >&5
4810    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4811    ac_status=$?    ac_status=$?
4812    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4813    (exit $ac_status); }; then    test $ac_status = 0; }; then
4814    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`
4815  else  else
4816    pkg_failed=yes    pkg_failed=yes
# Line 4222  fi Line 4837  fi
4837          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4838          echo "$liblocation_PKG_ERRORS" >&5          echo "$liblocation_PKG_ERRORS" >&5
4839    
4840          { { echo "$as_me:$LINENO: error: Package requirements (liblocation) were not met:          as_fn_error "Package requirements (liblocation) were not met:
   
 $liblocation_PKG_ERRORS  
   
 Consider adjusting the PKG_CONFIG_PATH environment variable if you  
 installed software in a non-standard prefix.  
   
 Alternatively, you may set the environment variables liblocation_CFLAGS  
 and liblocation_LIBS to avoid the need to call pkg-config.  
 See the pkg-config man page for more details.  
 " >&5  
 echo "$as_me: error: Package requirements (liblocation) were not met:  
4841    
4842  $liblocation_PKG_ERRORS  $liblocation_PKG_ERRORS
4843    
# Line 4243  installed software in a non-standard pre Line 4847  installed software in a non-standard pre
4847  Alternatively, you may set the environment variables liblocation_CFLAGS  Alternatively, you may set the environment variables liblocation_CFLAGS
4848  and liblocation_LIBS to avoid the need to call pkg-config.  and liblocation_LIBS to avoid the need to call pkg-config.
4849  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4850  " >&2;}  " "$LINENO" 5
    { (exit 1); exit 1; }; }  
4851  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4852          { { 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
4853  is in your PATH or set the PKG_CONFIG environment variable to the full  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4854  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  
4855  is in your PATH or set the PKG_CONFIG environment variable to the full  is in your PATH or set the PKG_CONFIG environment variable to the full
4856  path to pkg-config.  path to pkg-config.
4857    
# Line 4265  and liblocation_LIBS to avoid the need t Line 4860  and liblocation_LIBS to avoid the need t
4860  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4861    
4862  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4863  See \`config.log' for more details." >&2;}  See \`config.log' for more details." "$LINENO" 5; }
    { (exit 1); exit 1; }; }  
4864  else  else
4865          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS
4866          liblocation_LIBS=$pkg_cv_liblocation_LIBS          liblocation_LIBS=$pkg_cv_liblocation_LIBS
4867          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4868  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
4869          :          :
4870  fi  fi
4871        CFLAGS="$CFLAGS -DENABLE_LIBLOCATION $liblocation_CFLAGS"        CFLAGS="$CFLAGS -DENABLE_LIBLOCATION $liblocation_CFLAGS"
# Line 4279  fi Line 4873  fi
4873    
4874  else  else
4875    
4876        { echo "$as_me:$LINENO: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&5
4877  echo "$as_me: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&6;}  $as_echo "$as_me: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&6;}
4878    
4879  fi  fi
4880    
4881  fi  fi
4882    
4883    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4884      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tablet-browser-interface\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tablet-browser-interface\""; } >&5
4885    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5
4886    ac_status=$?    ac_status=$?
4887    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4888    (exit $ac_status); }; then    test $ac_status = 0; }; then
4889    
4890      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"
4891    
4892  else  else
4893    { echo "$as_me:$LINENO: WARNING: No tablet-browser-interface found, disabling microb interface!" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No tablet-browser-interface found, disabling microb interface!" >&5
4894  echo "$as_me: WARNING: No tablet-browser-interface found, disabling microb interface!" >&6;}  $as_echo "$as_me: WARNING: No tablet-browser-interface found, disabling microb interface!" >&6;}
4895  fi  fi
4896    
4897    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4898      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"maemo-version\""; } >&5
4899    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
4900    ac_status=$?    ac_status=$?
4901    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4902    (exit $ac_status); }; then    test $ac_status = 0; }; then
4903    
4904      VERSION=`pkg-config --modversion maemo-version`      VERSION=`pkg-config --modversion maemo-version`
4905      { echo "$as_me:$LINENO: Configuring for Maemo $VERSION" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for Maemo $VERSION" >&5
4906  echo "$as_me: Configuring for Maemo $VERSION" >&6;}  $as_echo "$as_me: Configuring for Maemo $VERSION" >&6;}
4907      CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""      CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""
4908      MAJOR=`echo $VERSION | cut -b1 -`      MAJOR=`echo $VERSION | cut -b1 -`
4909      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"
4910    
4911        MAEMO_VERSION_MAJOR=$MAJOR
4912    
4913    
4914  else  else
4915    
4916      { { echo "$as_me:$LINENO: error: maemo-version not found" >&5      as_fn_error "maemo-version not found" "$LINENO" 5
4917  echo "$as_me: error: maemo-version not found" >&2;}  
4918     { (exit 1); exit 1; }; }  fi
4919    
4920      INSTALL_PLATTFORM="install-maemo"
4921    
4922      # fremantle uses icons of 48x48 pixels for the app installer,
4923      # older versions used 26x26
4924      if [ "$MAJOR" == "5" ]; then
4925         ICONNAME=48x48/gpxview.png
4926         datarootdir=/opt
4927    
4928           # check for libespeak (broken in diablo, hence doing it here)
4929           for ac_header in espeak/speak_lib.h
4930    do :
4931      ac_fn_c_check_header_mongrel "$LINENO" "espeak/speak_lib.h" "ac_cv_header_espeak_speak_lib_h" "$ac_includes_default"
4932    if test "x$ac_cv_header_espeak_speak_lib_h" = x""yes; then :
4933      cat >>confdefs.h <<_ACEOF
4934    #define HAVE_ESPEAK_SPEAK_LIB_H 1
4935    _ACEOF
4936    
4937             CFLAGS="$CFLAGS -DESPEAK"
4938             LIBS="$LIBS -lespeak"
4939    
4940  fi  fi
4941    
4942    done
4943    
4944      else
4945         ICONNAME=26x26/gpxview.png
4946         { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling Maemo Mapper support" >&5
4947    $as_echo "$as_me: Enabling Maemo Mapper support" >&6;}
4948      fi
4949    
4950      CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER"
4951      EXTRA_OBJS="$EXTRA_OBJS mm_poi.o"
4952    
4953    # maemo uses dbus for ipc with maemo mapper    # maemo uses dbus for ipc with maemo mapper
4954    EXTRA_OBJS="$EXTRA_OBJS mm_poi.o dbus.o"    EXTRA_OBJS="$EXTRA_OBJS dbus.o"
4955    
4956    INSTALL_PLATTFORM="install-maemo"    { $as_echo "$as_me:${as_lineno-$LINENO}: Using application installer icon \"$ICONNAME\"" >&5
4957    $as_echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}
4958    
4959      # add icon entry to debian/control
4960      ICON=" Maemo icon $ICONNAME
4961    XB-Maemo-Icon-26:
4962    "
4963    
4964      # generate base64 icon, remove first and last line
4965      # and add a space before each line
4966      ICON="$ICON`uuencode -m data/icons/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`"
4967    
4968    
4969  else  else
4970    
4971    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
4973    
4974      EXTRA_OBJS="$EXTRA_OBJS bct.o"
4975      CFLAGS="$CFLAGS -DBCT"
4976    
4977    # check for gtk+-2.0    # check for gtk+-2.0
4978    
4979  pkg_failed=no  pkg_failed=no
4980  { echo "$as_me:$LINENO: checking for gtk" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk" >&5
4981  echo $ECHO_N "checking for gtk... $ECHO_C" >&6; }  $as_echo_n "checking for gtk... " >&6; }
4982    
4983  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4984      if test -n "$gtk_CFLAGS"; then      if test -n "$gtk_CFLAGS"; then
4985          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
4986      else      else
4987          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4988      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
4989    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
4990    ac_status=$?    ac_status=$?
4991    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4992    (exit $ac_status); }; then    test $ac_status = 0; }; then
4993    pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`    pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
4994  else  else
4995    pkg_failed=yes    pkg_failed=yes
# Line 4362  if test -n "$PKG_CONFIG"; then Line 5003  if test -n "$PKG_CONFIG"; then
5003          pkg_cv_gtk_LIBS="$gtk_LIBS"          pkg_cv_gtk_LIBS="$gtk_LIBS"
5004      else      else
5005          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5006      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
5007    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5008    ac_status=$?    ac_status=$?
5009    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5010    (exit $ac_status); }; then    test $ac_status = 0; }; then
5011    pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`    pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
5012  else  else
5013    pkg_failed=yes    pkg_failed=yes
# Line 4388  fi Line 5029  fi
5029          if test $_pkg_short_errors_supported = yes; then          if test $_pkg_short_errors_supported = yes; then
5030                  gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`                  gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
5031          else          else
5032                  gtk_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`                  gtk_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
5033            fi
5034            # Put the nasty error message in config.log where it belongs
5035            echo "$gtk_PKG_ERRORS" >&5
5036    
5037            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038    $as_echo "no" >&6; }
5039                    as_fn_error "gtk+-2.0 missing!" "$LINENO" 5
5040    elif test $pkg_failed = untried; then
5041            as_fn_error "gtk+-2.0 missing!" "$LINENO" 5
5042    else
5043            gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
5044            gtk_LIBS=$pkg_cv_gtk_LIBS
5045            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5046    $as_echo "yes" >&6; }
5047            :
5048    fi
5049      CFLAGS="$CFLAGS $gtk_CFLAGS"
5050      LIBS="$LIBS $gtk_LIBS"
5051    
5052      # non-maemo device use gnome to call the web browser
5053    
5054    pkg_failed=no
5055    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnome2" >&5
5056    $as_echo_n "checking for gnome2... " >&6; }
5057    
5058    if test -n "$PKG_CONFIG"; then
5059        if test -n "$gnome2_CFLAGS"; then
5060            pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"
5061        else
5062            if test -n "$PKG_CONFIG" && \
5063        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\""; } >&5
5064      ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5065      ac_status=$?
5066      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5067      test $ac_status = 0; }; then
5068      pkg_cv_gnome2_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0" 2>/dev/null`
5069    else
5070      pkg_failed=yes
5071    fi
5072        fi
5073    else
5074            pkg_failed=untried
5075    fi
5076    if test -n "$PKG_CONFIG"; then
5077        if test -n "$gnome2_LIBS"; then
5078            pkg_cv_gnome2_LIBS="$gnome2_LIBS"
5079        else
5080            if test -n "$PKG_CONFIG" && \
5081        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\""; } >&5
5082      ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5083      ac_status=$?
5084      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5085      test $ac_status = 0; }; then
5086      pkg_cv_gnome2_LIBS=`$PKG_CONFIG --libs "libgnome-2.0" 2>/dev/null`
5087    else
5088      pkg_failed=yes
5089    fi
5090        fi
5091    else
5092            pkg_failed=untried
5093    fi
5094    
5095    
5096    
5097    if test $pkg_failed = yes; then
5098    
5099    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5100            _pkg_short_errors_supported=yes
5101    else
5102            _pkg_short_errors_supported=no
5103    fi
5104            if test $_pkg_short_errors_supported = yes; then
5105                    gnome2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnome-2.0"`
5106            else
5107                    gnome2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnome-2.0"`
5108          fi          fi
5109          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5110          echo "$gtk_PKG_ERRORS" >&5          echo "$gnome2_PKG_ERRORS" >&5
5111    
5112          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
5114                  { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5                  as_fn_error "libgnome-2.0 missing" "$LINENO" 5
 echo "$as_me: error: gtk+-2.0 missing!" >&2;}  
    { (exit 1); exit 1; }; }  
5115  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5116          { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5          as_fn_error "libgnome-2.0 missing" "$LINENO" 5
 echo "$as_me: error: gtk+-2.0 missing!" >&2;}  
    { (exit 1); exit 1; }; }  
5117  else  else
5118          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS
5119          gtk_LIBS=$pkg_cv_gtk_LIBS          gnome2_LIBS=$pkg_cv_gnome2_LIBS
5120          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5121  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
5122          :          :
5123  fi  fi
5124    CFLAGS="$CFLAGS $gtk_CFLAGS"    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"
5125    LIBS="$LIBS $gtk_LIBS"    LIBS="$LIBS $gnome2_LIBS"
5126    
5127    # non-maemo device use gnome to call the web browser    # check for libespeak
5128      for ac_header in espeak/speak_lib.h
5129    do :
5130      ac_fn_c_check_header_mongrel "$LINENO" "espeak/speak_lib.h" "ac_cv_header_espeak_speak_lib_h" "$ac_includes_default"
5131    if test "x$ac_cv_header_espeak_speak_lib_h" = x""yes; then :
5132      cat >>confdefs.h <<_ACEOF
5133    #define HAVE_ESPEAK_SPEAK_LIB_H 1
5134    _ACEOF
5135    
5136        CFLAGS="$CFLAGS -DESPEAK"
5137        LIBS="$LIBS -lespeak"
5138    
5139    fi
5140    
5141    done
5142    
5143    
5144      # check for libgps
5145    
5146  pkg_failed=no  pkg_failed=no
5147  { echo "$as_me:$LINENO: checking for gnome2" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gps" >&5
5148  echo $ECHO_N "checking for gnome2... $ECHO_C" >&6; }  $as_echo_n "checking for gps... " >&6; }
5149    
5150  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
5151      if test -n "$gnome2_CFLAGS"; then      if test -n "$gps_CFLAGS"; then
5152          pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"          pkg_cv_gps_CFLAGS="$gps_CFLAGS"
5153      else      else
5154          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5155      { (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 \"libgps\""; } >&5
5156    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
5157    ac_status=$?    ac_status=$?
5158    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5159    (exit $ac_status); }; then    test $ac_status = 0; }; then
5160    pkg_cv_gnome2_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0" 2>/dev/null`    pkg_cv_gps_CFLAGS=`$PKG_CONFIG --cflags "libgps" 2>/dev/null`
5161  else  else
5162    pkg_failed=yes    pkg_failed=yes
5163  fi  fi
# Line 4437  else Line 5166  else
5166          pkg_failed=untried          pkg_failed=untried
5167  fi  fi
5168  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
5169      if test -n "$gnome2_LIBS"; then      if test -n "$gps_LIBS"; then
5170          pkg_cv_gnome2_LIBS="$gnome2_LIBS"          pkg_cv_gps_LIBS="$gps_LIBS"
5171      else      else
5172          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5173      { (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 \"libgps\""; } >&5
5174    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
5175    ac_status=$?    ac_status=$?
5176    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5177    (exit $ac_status); }; then    test $ac_status = 0; }; then
5178    pkg_cv_gnome2_LIBS=`$PKG_CONFIG --libs "libgnome-2.0" 2>/dev/null`    pkg_cv_gps_LIBS=`$PKG_CONFIG --libs "libgps" 2>/dev/null`
5179  else  else
5180    pkg_failed=yes    pkg_failed=yes
5181  fi  fi
# Line 4465  else Line 5194  else
5194          _pkg_short_errors_supported=no          _pkg_short_errors_supported=no
5195  fi  fi
5196          if test $_pkg_short_errors_supported = yes; then          if test $_pkg_short_errors_supported = yes; then
5197                  gnome2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnome-2.0"`                  gps_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgps"`
5198          else          else
5199                  gnome2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnome-2.0"`                  gps_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgps"`
5200          fi          fi
5201          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5202          echo "$gnome2_PKG_ERRORS" >&5          echo "$gps_PKG_ERRORS" >&5
5203    
5204          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
5206                  { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5                  { $as_echo "$as_me:${as_lineno-$LINENO}: No libgps found, using direct GPSD" >&5
5207  echo "$as_me: error: libgnome-2.0 missing" >&2;}  $as_echo "$as_me: No libgps found, using direct GPSD" >&6;}
    { (exit 1); exit 1; }; }  
5208  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5209          { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: No libgps found, using direct GPSD" >&5
5210  echo "$as_me: error: libgnome-2.0 missing" >&2;}  $as_echo "$as_me: No libgps found, using direct GPSD" >&6;}
    { (exit 1); exit 1; }; }  
5211  else  else
5212          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS          gps_CFLAGS=$pkg_cv_gps_CFLAGS
5213          gnome2_LIBS=$pkg_cv_gnome2_LIBS          gps_LIBS=$pkg_cv_gps_LIBS
5214          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5215  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
5216          :  
5217        CFLAGS="$CFLAGS $gps_CFLAGS -DUSE_LIBGPS"
5218        LIBS="$LIBS $gps_LIBS"
5219    
5220  fi  fi
   CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"  
   LIBS="$LIBS $gnome2_LIBS"  
5221    
5222    INSTALL_PLATTFORM="install-debian"    INSTALL_PLATTFORM="install-debian"
5223    
5224      ICON=" No icon"
5225    
5226  fi  fi
5227    
5228    
5229    
5230  ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile"  
5231    ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile debian/control"
5232    
5233    
5234  cat >confcache <<\_ACEOF  cat >confcache <<\_ACEOF
# Line 4527  _ACEOF Line 5258  _ACEOF
5258      case $ac_val in #(      case $ac_val in #(
5259      *${as_nl}*)      *${as_nl}*)
5260        case $ac_var in #(        case $ac_var in #(
5261        *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5        *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5262  echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5263        esac        esac
5264        case $ac_var in #(        case $ac_var in #(
5265        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
5266        *) $as_unset $ac_var ;;        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5267          *) { eval $ac_var=; unset $ac_var;} ;;
5268        esac ;;        esac ;;
5269      esac      esac
5270    done    done
# Line 4540  echo "$as_me: WARNING: Cache variable $a Line 5272  echo "$as_me: WARNING: Cache variable $a
5272    (set) 2>&1 |    (set) 2>&1 |
5273      case $as_nl`(ac_space=' '; set) 2>&1` in #(      case $as_nl`(ac_space=' '; set) 2>&1` in #(
5274      *${as_nl}ac_space=\ *)      *${as_nl}ac_space=\ *)
5275        # `set' does not quote correctly, so add quotes (double-quote        # `set' does not quote correctly, so add quotes: double-quote
5276        # substitution turns \\\\ into \\, and sed turns \\ into \).        # substitution turns \\\\ into \\, and sed turns \\ into \.
5277        sed -n \        sed -n \
5278          "s/'/'\\\\''/g;          "s/'/'\\\\''/g;
5279            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
# Line 4564  echo "$as_me: WARNING: Cache variable $a Line 5296  echo "$as_me: WARNING: Cache variable $a
5296  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5297    if test -w "$cache_file"; then    if test -w "$cache_file"; then
5298      test "x$cache_file" != "x/dev/null" &&      test "x$cache_file" != "x/dev/null" &&
5299        { echo "$as_me:$LINENO: updating cache $cache_file" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5300  echo "$as_me: updating cache $cache_file" >&6;}  $as_echo "$as_me: updating cache $cache_file" >&6;}
5301      cat confcache >$cache_file      cat confcache >$cache_file
5302    else    else
5303      { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5304  echo "$as_me: not updating unwritable cache $cache_file" >&6;}  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5305    fi    fi
5306  fi  fi
5307  rm -f confcache  rm -f confcache
# Line 4586  test "x$exec_prefix" = xNONE && exec_pre Line 5318  test "x$exec_prefix" = xNONE && exec_pre
5318  # take arguments), then branch to the quote section.  Otherwise,  # take arguments), then branch to the quote section.  Otherwise,
5319  # look for a macro that doesn't take arguments.  # look for a macro that doesn't take arguments.
5320  ac_script='  ac_script='
5321    :mline
5322    /\\$/{
5323     N
5324     s,\\\n,,
5325     b mline
5326    }
5327  t clear  t clear
5328  :clear  :clear
5329  s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g  s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
# Line 4615  ac_ltlibobjs= Line 5353  ac_ltlibobjs=
5353  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5354    # 1. Remove the extension, and $U if already installed.    # 1. Remove the extension, and $U if already installed.
5355    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5356    ac_i=`echo "$ac_i" | sed "$ac_script"`    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5357    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5358    #    will be set to the directory where LIBOBJS objects are built.    #    will be set to the directory where LIBOBJS objects are built.
5359    ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"    as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5360    ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'    as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5361  done  done
5362  LIBOBJS=$ac_libobjs  LIBOBJS=$ac_libobjs
5363    
# Line 4628  LTLIBOBJS=$ac_ltlibobjs Line 5366  LTLIBOBJS=$ac_ltlibobjs
5366    
5367    
5368  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
5369    ac_write_fail=0
5370  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
5371  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5372  { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5373  echo "$as_me: creating $CONFIG_STATUS" >&6;}  $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5374  cat >$CONFIG_STATUS <<_ACEOF  as_write_fail=0
5375    cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5376  #! $SHELL  #! $SHELL
5377  # Generated by $as_me.  # Generated by $as_me.
5378  # Run this file to recreate the current configuration.  # Run this file to recreate the current configuration.
# Line 4642  cat >$CONFIG_STATUS <<_ACEOF Line 5382  cat >$CONFIG_STATUS <<_ACEOF
5382  debug=false  debug=false
5383  ac_cs_recheck=false  ac_cs_recheck=false
5384  ac_cs_silent=false  ac_cs_silent=false
 SHELL=\${CONFIG_SHELL-$SHELL}  
 _ACEOF  
5385    
5386  cat >>$CONFIG_STATUS <<\_ACEOF  SHELL=\${CONFIG_SHELL-$SHELL}
5387  ## --------------------- ##  export SHELL
5388  ## M4sh Initialization.  ##  _ASEOF
5389  ## --------------------- ##  cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5390    ## -------------------- ##
5391    ## M4sh Initialization. ##
5392    ## -------------------- ##
5393    
5394  # Be more Bourne compatible  # Be more Bourne compatible
5395  DUALCASE=1; export DUALCASE # for MKS sh  DUALCASE=1; export DUALCASE # for MKS sh
5396  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5397    emulate sh    emulate sh
5398    NULLCMD=:    NULLCMD=:
5399    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5400    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
5401    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
5402    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
5403  else  else
5404    case `(set -o) 2>/dev/null` in    case `(set -o) 2>/dev/null` in #(
5405    *posix*) set -o posix ;;    *posix*) :
5406        set -o posix ;; #(
5407      *) :
5408         ;;
5409  esac  esac
   
5410  fi  fi
5411    
5412    
5413    as_nl='
5414    '
5415  # PATH needs CR  export as_nl
5416  # Avoid depending upon Character Ranges.  # Printing a long string crashes Solaris 7 /usr/bin/printf.
5417  as_cr_letters='abcdefghijklmnopqrstuvwxyz'  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5418  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5419  as_cr_Letters=$as_cr_letters$as_cr_LETTERS  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5420  as_cr_digits='0123456789'  # Prefer a ksh shell builtin over an external printf program on Solaris,
5421  as_cr_alnum=$as_cr_Letters$as_cr_digits  # but without wasting forks for bash or zsh.
5422    if test -z "$BASH_VERSION$ZSH_VERSION" \
5423  # The user is always right.      && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5424  if test "${PATH_SEPARATOR+set}" != set; then    as_echo='print -r --'
5425    echo "#! /bin/sh" >conf$$.sh    as_echo_n='print -rn --'
5426    echo  "exit 0"   >>conf$$.sh  elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5427    chmod +x conf$$.sh    as_echo='printf %s\n'
5428    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then    as_echo_n='printf %s'
5429      PATH_SEPARATOR=';'  else
5430      if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5431        as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5432        as_echo_n='/usr/ucb/echo -n'
5433    else    else
5434      PATH_SEPARATOR=:      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5435        as_echo_n_body='eval
5436          arg=$1;
5437          case $arg in #(
5438          *"$as_nl"*)
5439            expr "X$arg" : "X\\(.*\\)$as_nl";
5440            arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5441          esac;
5442          expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5443        '
5444        export as_echo_n_body
5445        as_echo_n='sh -c $as_echo_n_body as_echo'
5446    fi    fi
5447    rm -f conf$$.sh    export as_echo_body
5448      as_echo='sh -c $as_echo_body as_echo'
5449  fi  fi
5450    
5451  # Support unset when possible.  # The user is always right.
5452  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then  if test "${PATH_SEPARATOR+set}" != set; then
5453    as_unset=unset    PATH_SEPARATOR=:
5454  else    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5455    as_unset=false      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5456          PATH_SEPARATOR=';'
5457      }
5458  fi  fi
5459    
5460    
# Line 4703  fi Line 5463  fi
5463  # there to prevent editors from complaining about space-tab.  # there to prevent editors from complaining about space-tab.
5464  # (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
5465  # splitting by setting IFS to empty value.)  # splitting by setting IFS to empty value.)
 as_nl='  
 '  
5466  IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
5467    
5468  # Find who we are.  Look in the path if we contain no directory separator.  # Find who we are.  Look in the path if we contain no directory separator.
5469  case $0 in  case $0 in #((
5470    *[\\/]* ) as_myself=$0 ;;    *[\\/]* ) as_myself=$0 ;;
5471    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472  for as_dir in $PATH  for as_dir in $PATH
5473  do  do
5474    IFS=$as_save_IFS    IFS=$as_save_IFS
5475    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
5476    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5477  done    done
5478  IFS=$as_save_IFS  IFS=$as_save_IFS
5479    
5480       ;;       ;;
# Line 4727  if test "x$as_myself" = x; then Line 5485  if test "x$as_myself" = x; then
5485    as_myself=$0    as_myself=$0
5486  fi  fi
5487  if test ! -f "$as_myself"; then  if test ! -f "$as_myself"; then
5488    echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5489    { (exit 1); exit 1; }    exit 1
5490  fi  fi
5491    
5492  # Work around bugs in pre-3.0 UWIN ksh.  # Unset variables that we do not need and which cause bugs (e.g. in
5493  for as_var in ENV MAIL MAILPATH  # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5494  do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var  # suppresses any "Segmentation fault" message there.  '((' could
5495    # trigger a bug in pdksh 5.2.14.
5496    for as_var in BASH_ENV ENV MAIL MAILPATH
5497    do eval test x\${$as_var+set} = xset \
5498      && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5499  done  done
5500  PS1='$ '  PS1='$ '
5501  PS2='> '  PS2='> '
5502  PS4='+ '  PS4='+ '
5503    
5504  # NLS nuisances.  # NLS nuisances.
5505  for as_var in \  LC_ALL=C
5506    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \  export LC_ALL
5507    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \  LANGUAGE=C
5508    LC_TELEPHONE LC_TIME  export LANGUAGE
5509  do  
5510    if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then  # CDPATH.
5511      eval $as_var=C; export $as_var  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5512    else  
5513      ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var  
5514    # as_fn_error ERROR [LINENO LOG_FD]
5515    # ---------------------------------
5516    # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5517    # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5518    # script with status $?, using 1 if that was 0.
5519    as_fn_error ()
5520    {
5521      as_status=$?; test $as_status -eq 0 && as_status=1
5522      if test "$3"; then
5523        as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5524        $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5525    fi    fi
5526  done    $as_echo "$as_me: error: $1" >&2
5527      as_fn_exit $as_status
5528    } # as_fn_error
5529    
5530    
5531    # as_fn_set_status STATUS
5532    # -----------------------
5533    # Set $? to STATUS, without forking.
5534    as_fn_set_status ()
5535    {
5536      return $1
5537    } # as_fn_set_status
5538    
5539    # as_fn_exit STATUS
5540    # -----------------
5541    # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5542    as_fn_exit ()
5543    {
5544      set +e
5545      as_fn_set_status $1
5546      exit $1
5547    } # as_fn_exit
5548    
5549    # as_fn_unset VAR
5550    # ---------------
5551    # Portably unset VAR.
5552    as_fn_unset ()
5553    {
5554      { eval $1=; unset $1;}
5555    }
5556    as_unset=as_fn_unset
5557    # as_fn_append VAR VALUE
5558    # ----------------------
5559    # Append the text in VALUE to the end of the definition contained in VAR. Take
5560    # advantage of any shell optimizations that allow amortized linear growth over
5561    # repeated appends, instead of the typical quadratic growth present in naive
5562    # implementations.
5563    if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5564      eval 'as_fn_append ()
5565      {
5566        eval $1+=\$2
5567      }'
5568    else
5569      as_fn_append ()
5570      {
5571        eval $1=\$$1\$2
5572      }
5573    fi # as_fn_append
5574    
5575    # as_fn_arith ARG...
5576    # ------------------
5577    # Perform arithmetic evaluation on the ARGs, and store the result in the
5578    # global $as_val. Take advantage of shells that can avoid forks. The arguments
5579    # must be portable across $(()) and expr.
5580    if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5581      eval 'as_fn_arith ()
5582      {
5583        as_val=$(( $* ))
5584      }'
5585    else
5586      as_fn_arith ()
5587      {
5588        as_val=`expr "$@" || test $? -eq 1`
5589      }
5590    fi # as_fn_arith
5591    
5592    
 # Required to use basename.  
5593  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
5594     test "X`expr 00001 : '.*\(...\)'`" = X001; then     test "X`expr 00001 : '.*\(...\)'`" = X001; then
5595    as_expr=expr    as_expr=expr
# Line 4766  else Line 5603  else
5603    as_basename=false    as_basename=false
5604  fi  fi
5605    
5606    if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5607      as_dirname=dirname
5608    else
5609      as_dirname=false
5610    fi
5611    
 # Name of the executable.  
5612  as_me=`$as_basename -- "$0" ||  as_me=`$as_basename -- "$0" ||
5613  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5614           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
5615           X"$0" : 'X\(/\)' \| . 2>/dev/null ||           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5616  echo X/"$0" |  $as_echo X/"$0" |
5617      sed '/^.*\/\([^/][^/]*\)\/*$/{      sed '/^.*\/\([^/][^/]*\)\/*$/{
5618              s//\1/              s//\1/
5619              q              q
# Line 4787  echo X/"$0" | Line 5628  echo X/"$0" |
5628            }            }
5629            s/.*/./; q'`            s/.*/./; q'`
5630    
5631  # CDPATH.  # Avoid depending upon Character Ranges.
5632  $as_unset CDPATH  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5633    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5634    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5635    as_cr_digits='0123456789'
5636    as_lineno_1=$LINENO  as_cr_alnum=$as_cr_Letters$as_cr_digits
   as_lineno_2=$LINENO  
   test "x$as_lineno_1" != "x$as_lineno_2" &&  
   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {  
   
   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO  
   # uniformly replaced by the line number.  The first 'sed' inserts a  
   # line-number line after each line using $LINENO; the second 'sed'  
   # does the real work.  The second script uses 'N' to pair each  
   # line-number line with the line containing $LINENO, and appends  
   # trailing '-' during substitution so that $LINENO is not a special  
   # case at line end.  
   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the  
   # scripts with optimization help from Paolo Bonzini.  Blame Lee  
   # E. McMahon (1931-1989) for sed's syntax.  :-)  
   sed -n '  
     p  
     /[$]LINENO/=  
   ' <$as_myself |  
     sed '  
       s/[$]LINENO.*/&-/  
       t lineno  
       b  
       :lineno  
       N  
       :loop  
       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/  
       t loop  
       s/-\n.*//  
     ' >$as_me.lineno &&  
   chmod +x "$as_me.lineno" ||  
     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2  
    { (exit 1); exit 1; }; }  
   
   # Don't try to exec as it changes $[0], causing all sort of problems  
   # (the dirname of $[0] is not the place where we might find the  
   # original and so on.  Autoconf is especially sensitive to this).  
   . "./$as_me.lineno"  
   # Exit status is that of the last command.  
   exit  
 }  
   
   
 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then  
   as_dirname=dirname  
 else  
   as_dirname=false  
 fi  
5637    
5638  ECHO_C= ECHO_N= ECHO_T=  ECHO_C= ECHO_N= ECHO_T=
5639  case `echo -n x` in  case `echo -n x` in #(((((
5640  -n*)  -n*)
5641    case `echo 'x\c'` in    case `echo 'xy\c'` in
5642    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5643    *)   ECHO_C='\c';;    xy)  ECHO_C='\c';;
5644      *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5645           ECHO_T=' ';;
5646    esac;;    esac;;
5647  *)  *)
5648    ECHO_N='-n';;    ECHO_N='-n';;
5649  esac  esac
5650    
 if expr a : '\(a\)' >/dev/null 2>&1 &&  
    test "X`expr 00001 : '.*\(...\)'`" = X001; then  
   as_expr=expr  
 else  
   as_expr=false  
 fi  
   
5651  rm -f conf$$ conf$$.exe conf$$.file  rm -f conf$$ conf$$.exe conf$$.file
5652  if test -d conf$$.dir; then  if test -d conf$$.dir; then
5653    rm -f conf$$.dir/conf$$.file    rm -f conf$$.dir/conf$$.file
5654  else  else
5655    rm -f conf$$.dir    rm -f conf$$.dir
5656    mkdir conf$$.dir    mkdir conf$$.dir 2>/dev/null
5657  fi  fi
5658  echo >conf$$.file  if (echo >conf$$.file) 2>/dev/null; then
5659  if ln -s conf$$.file conf$$ 2>/dev/null; then    if ln -s conf$$.file conf$$ 2>/dev/null; then
5660    as_ln_s='ln -s'      as_ln_s='ln -s'
5661    # ... but there are two gotchas:      # ... but there are two gotchas:
5662    # 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.
5663    # 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.
5664    # In both cases, we have to default to `cp -p'.      # In both cases, we have to default to `cp -p'.
5665    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 ||
5666          as_ln_s='cp -p'
5667      elif ln conf$$.file conf$$ 2>/dev/null; then
5668        as_ln_s=ln
5669      else
5670      as_ln_s='cp -p'      as_ln_s='cp -p'
5671  elif ln conf$$.file conf$$ 2>/dev/null; then    fi
   as_ln_s=ln  
5672  else  else
5673    as_ln_s='cp -p'    as_ln_s='cp -p'
5674  fi  fi
5675  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5676  rmdir conf$$.dir 2>/dev/null  rmdir conf$$.dir 2>/dev/null
5677    
5678    
5679    # as_fn_mkdir_p
5680    # -------------
5681    # Create "$as_dir" as a directory, including parents if necessary.
5682    as_fn_mkdir_p ()
5683    {
5684    
5685      case $as_dir in #(
5686      -*) as_dir=./$as_dir;;
5687      esac
5688      test -d "$as_dir" || eval $as_mkdir_p || {
5689        as_dirs=
5690        while :; do
5691          case $as_dir in #(
5692          *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5693          *) as_qdir=$as_dir;;
5694          esac
5695          as_dirs="'$as_qdir' $as_dirs"
5696          as_dir=`$as_dirname -- "$as_dir" ||
5697    $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5698             X"$as_dir" : 'X\(//\)[^/]' \| \
5699             X"$as_dir" : 'X\(//\)$' \| \
5700             X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5701    $as_echo X"$as_dir" |
5702        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5703                s//\1/
5704                q
5705              }
5706              /^X\(\/\/\)[^/].*/{
5707                s//\1/
5708                q
5709              }
5710              /^X\(\/\/\)$/{
5711                s//\1/
5712                q
5713              }
5714              /^X\(\/\).*/{
5715                s//\1/
5716                q
5717              }
5718              s/.*/./; q'`
5719          test -d "$as_dir" && break
5720        done
5721        test -z "$as_dirs" || eval "mkdir $as_dirs"
5722      } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5723    
5724    
5725    } # as_fn_mkdir_p
5726  if mkdir -p . 2>/dev/null; then  if mkdir -p . 2>/dev/null; then
5727    as_mkdir_p=:    as_mkdir_p='mkdir -p "$as_dir"'
5728  else  else
5729    test -d ./-p && rmdir ./-p    test -d ./-p && rmdir ./-p
5730    as_mkdir_p=false    as_mkdir_p=false
# Line 4901  else Line 5741  else
5741    as_test_x='    as_test_x='
5742      eval sh -c '\''      eval sh -c '\''
5743        if test -d "$1"; then        if test -d "$1"; then
5744          test -d "$1/.";          test -d "$1/.";
5745        else        else
5746          case $1 in          case $1 in #(
5747          -*)set "./$1";;          -*)set "./$1";;
5748          esac;          esac;
5749          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5750          ???[sx]*):;;*)false;;esac;fi          ???[sx]*):;;*)false;;esac;fi
5751      '\'' sh      '\'' sh
5752    '    '
# Line 4921  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr Line 5761  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
5761    
5762    
5763  exec 6>&1  exec 6>&1
5764    ## ----------------------------------- ##
5765    ## Main body of $CONFIG_STATUS script. ##
5766    ## ----------------------------------- ##
5767    _ASEOF
5768    test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5769    
5770  # Save the log message, to keep $[0] and so on meaningful, and to  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5771    # Save the log message, to keep $0 and so on meaningful, and to
5772  # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
5773  # values after options handling.  # values after options handling.
5774  ac_log="  ac_log="
5775  This file was extended by GPXView $as_me 0.8.2, which was  This file was extended by GPXView $as_me 0.9.5, which was
5776  generated by GNU Autoconf 2.61.  Invocation command line was  generated by GNU Autoconf 2.65.  Invocation command line was
5777    
5778    CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
5779    CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 4940  on `(hostname || uname -n) 2>/dev/null | Line 5786  on `(hostname || uname -n) 2>/dev/null |
5786    
5787  _ACEOF  _ACEOF
5788    
5789  cat >>$CONFIG_STATUS <<_ACEOF  case $ac_config_files in *"
5790    "*) set x $ac_config_files; shift; ac_config_files=$*;;
5791    esac
5792    
5793    
5794    
5795    cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5796  # Files that config.status was made for.  # Files that config.status was made for.
5797  config_files="$ac_config_files"  config_files="$ac_config_files"
5798    
5799  _ACEOF  _ACEOF
5800    
5801  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5802  ac_cs_usage="\  ac_cs_usage="\
5803  \`$as_me' instantiates files from templates according to the  \`$as_me' instantiates files and other configuration actions
5804  current configuration.  from templates according to the current configuration.  Unless the files
5805    and actions are specified as TAGs, all are instantiated by default.
5806    
5807  Usage: $0 [OPTIONS] [FILE]...  Usage: $0 [OPTION]... [TAG]...
5808    
5809    -h, --help       print this help, then exit    -h, --help       print this help, then exit
5810    -V, --version    print version number and configuration settings, then exit    -V, --version    print version number and configuration settings, then exit
5811    -q, --quiet      do not print progress messages        --config     print configuration, then exit
5812      -q, --quiet, --silent
5813                       do not print progress messages
5814    -d, --debug      don't remove temporary files    -d, --debug      don't remove temporary files
5815        --recheck    update $as_me by reconfiguring in the same conditions        --recheck    update $as_me by reconfiguring in the same conditions
5816    --file=FILE[:TEMPLATE]        --file=FILE[:TEMPLATE]
5817                     instantiate the configuration file FILE                     instantiate the configuration file FILE
5818    
5819  Configuration files:  Configuration files:
5820  $config_files  $config_files
5821    
5822  Report bugs to <bug-autoconf@gnu.org>."  Report bugs to <till@harbaum.org>."
5823    
5824  _ACEOF  _ACEOF
5825  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5826    ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5827  ac_cs_version="\\  ac_cs_version="\\
5828  GPXView config.status 0.8.2  GPXView config.status 0.9.5
5829  configured by $0, generated by GNU Autoconf 2.61,  configured by $0, generated by GNU Autoconf 2.65,
5830    with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"    with options \\"\$ac_cs_config\\"
5831    
5832  Copyright (C) 2006 Free Software Foundation, Inc.  Copyright (C) 2009 Free Software Foundation, Inc.
5833  This config.status script is free software; the Free Software Foundation  This config.status script is free software; the Free Software Foundation
5834  gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
5835    
5836  ac_pwd='$ac_pwd'  ac_pwd='$ac_pwd'
5837  srcdir='$srcdir'  srcdir='$srcdir'
5838  INSTALL='$INSTALL'  INSTALL='$INSTALL'
5839    test -n "\$AWK" || AWK=awk
5840  _ACEOF  _ACEOF
5841    
5842  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5843  # 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.  
5844  ac_need_defaults=:  ac_need_defaults=:
5845  while test $# != 0  while test $# != 0
5846  do  do
# Line 5006  do Line 5862  do
5862    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5863      ac_cs_recheck=: ;;      ac_cs_recheck=: ;;
5864    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5865      echo "$ac_cs_version"; exit ;;      $as_echo "$ac_cs_version"; exit ;;
5866      --config | --confi | --conf | --con | --co | --c )
5867        $as_echo "$ac_cs_config"; exit ;;
5868    --debug | --debu | --deb | --de | --d | -d )    --debug | --debu | --deb | --de | --d | -d )
5869      debug=: ;;      debug=: ;;
5870    --file | --fil | --fi | --f )    --file | --fil | --fi | --f )
5871      $ac_shift      $ac_shift
5872      CONFIG_FILES="$CONFIG_FILES $ac_optarg"      case $ac_optarg in
5873        *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5874        esac
5875        as_fn_append CONFIG_FILES " '$ac_optarg'"
5876      ac_need_defaults=false;;      ac_need_defaults=false;;
5877    --he | --h |  --help | --hel | -h )    --he | --h |  --help | --hel | -h )
5878      echo "$ac_cs_usage"; exit ;;      $as_echo "$ac_cs_usage"; exit ;;
5879    -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5880    | -silent | --silent | --silen | --sile | --sil | --si | --s)    | -silent | --silent | --silen | --sile | --sil | --si | --s)
5881      ac_cs_silent=: ;;      ac_cs_silent=: ;;
5882    
5883    # This is an error.    # This is an error.
5884    -*) { echo "$as_me: error: unrecognized option: $1    -*) as_fn_error "unrecognized option: \`$1'
5885  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information." ;;
    { (exit 1); exit 1; }; } ;;  
5886    
5887    *) ac_config_targets="$ac_config_targets $1"    *) as_fn_append ac_config_targets " $1"
5888       ac_need_defaults=false ;;       ac_need_defaults=false ;;
5889    
5890    esac    esac
# Line 5039  if $ac_cs_silent; then Line 5899  if $ac_cs_silent; then
5899  fi  fi
5900    
5901  _ACEOF  _ACEOF
5902  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5903  if \$ac_cs_recheck; then  if \$ac_cs_recheck; then
5904    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
5905    CONFIG_SHELL=$SHELL    shift
5906      \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5907      CONFIG_SHELL='$SHELL'
5908    export CONFIG_SHELL    export CONFIG_SHELL
5909    exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion    exec "\$@"
5910  fi  fi
5911    
5912  _ACEOF  _ACEOF
5913  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5914  exec 5>>config.log  exec 5>>config.log
5915  {  {
5916    echo    echo
5917    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5918  ## Running $as_me. ##  ## Running $as_me. ##
5919  _ASBOX  _ASBOX
5920    echo "$ac_log"    $as_echo "$ac_log"
5921  } >&5  } >&5
5922    
5923  _ACEOF  _ACEOF
5924  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5925  _ACEOF  _ACEOF
5926    
5927  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5928    
5929  # Handling of arguments.  # Handling of arguments.
5930  for ac_config_target in $ac_config_targets  for ac_config_target in $ac_config_targets
# Line 5071  do Line 5933  do
5933      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5934      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5935      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
5936        "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;
5937    
5938    *) { { 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; }; };;  
5939    esac    esac
5940  done  done
5941    
# Line 5099  $debug || Line 5960  $debug ||
5960    trap 'exit_status=$?    trap 'exit_status=$?
5961    { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status    { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5962  ' 0  ' 0
5963    trap '{ (exit 1); exit 1; }' 1 2 13 15    trap 'as_fn_exit 1' 1 2 13 15
5964  }  }
5965  # Create a (secure) tmp directory for tmp files.  # Create a (secure) tmp directory for tmp files.
5966    
# Line 5110  $debug || Line 5971  $debug ||
5971  {  {
5972    tmp=./conf$$-$RANDOM    tmp=./conf$$-$RANDOM
5973    (umask 077 && mkdir "$tmp")    (umask 077 && mkdir "$tmp")
5974  } ||  } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 {  
    echo "$me: cannot create a temporary directory in ." >&2  
    { (exit 1); exit 1; }  
 }  
5975    
5976  #  # Set up the scripts for CONFIG_FILES section.
5977  # Set up the sed scripts for CONFIG_FILES section.  # No need to generate them if there are no CONFIG_FILES.
5978  #  # 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  
5979  if test -n "$CONFIG_FILES"; then  if test -n "$CONFIG_FILES"; then
5980    
 _ACEOF  
5981    
5982    ac_cr=`echo X | tr X '\015'`
5983    # On cygwin, bash can eat \r inside `` if the user requested igncr.
5984    # But we know of no other shell where ac_cr would be empty at this
5985    # point, so we can use a bashism as a fallback.
5986    if test "x$ac_cr" = x; then
5987      eval ac_cr=\$\'\\r\'
5988    fi
5989    ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5990    if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5991      ac_cs_awk_cr='\r'
5992    else
5993      ac_cs_awk_cr=$ac_cr
5994    fi
5995    
5996    echo 'BEGIN {' >"$tmp/subs1.awk" &&
5997    _ACEOF
5998    
5999    
6000    {
6001      echo "cat >conf$$subs.awk <<_ACEOF" &&
6002      echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6003      echo "_ACEOF"
6004    } >conf$$subs.sh ||
6005      as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6006    ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6007  ac_delim='%!_!# '  ac_delim='%!_!# '
6008  for ac_last_try in false false false false false :; do  for ac_last_try in false false false false false :; do
6009    cat >conf$$subs.sed <<_ACEOF    . ./conf$$subs.sh ||
6010  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  
 libsoup24_CFLAGS!$libsoup24_CFLAGS$ac_delim  
 libsoup24_LIBS!$libsoup24_LIBS$ac_delim  
 libsoup22_CFLAGS!$libsoup22_CFLAGS$ac_delim  
 libsoup22_LIBS!$libsoup22_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  
 gtk_CFLAGS!$gtk_CFLAGS$ac_delim  
 gtk_LIBS!$gtk_LIBS$ac_delim  
 gnome2_CFLAGS!$gnome2_CFLAGS$ac_delim  
 gnome2_LIBS!$gnome2_LIBS$ac_delim  
 EXTRA_OBJS!$EXTRA_OBJS$ac_delim  
 INSTALL_PLATTFORM!$INSTALL_PLATTFORM$ac_delim  
 LIBOBJS!$LIBOBJS$ac_delim  
 LTLIBOBJS!$LTLIBOBJS$ac_delim  
 _ACEOF  
6011    
6012    if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6013      if test $ac_delim_n = $ac_delim_num; then
6014      break      break
6015    elif $ac_last_try; then    elif $ac_last_try; then
6016      { { 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; }; }  
6017    else    else
6018      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6019    fi    fi
6020  done  done
6021    rm -f conf$$subs.sh
6022    
6023  ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6024  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  
6025  _ACEOF  _ACEOF
6026    sed -n '
6027    h
6028    s/^/S["/; s/!.*/"]=/
6029    p
6030    g
6031    s/^[^!]*!//
6032    :repl
6033    t repl
6034    s/'"$ac_delim"'$//
6035    t delim
6036    :nl
6037    h
6038    s/\(.\{148\}\)..*/\1/
6039    t more1
6040    s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6041    p
6042    n
6043    b repl
6044    :more1
6045    s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6046    p
6047    g
6048    s/.\{148\}//
6049    t nl
6050    :delim
6051    h
6052    s/\(.\{148\}\)..*/\1/
6053    t more2
6054    s/["\\]/\\&/g; s/^/"/; s/$/"/
6055    p
6056    b
6057    :more2
6058    s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6059    p
6060    g
6061    s/.\{148\}//
6062    t delim
6063    ' <conf$$subs.awk | sed '
6064    /^[^""]/{
6065      N
6066      s/\n//
6067    }
6068    ' >>$CONFIG_STATUS || ac_write_fail=1
6069    rm -f conf$$subs.awk
6070    cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6071    _ACAWK
6072    cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6073      for (key in S) S_is_set[key] = 1
6074      FS = ""
6075    
6076    }
6077    {
6078      line = $ 0
6079      nfields = split(line, field, "@")
6080      substed = 0
6081      len = length(field[1])
6082      for (i = 2; i < nfields; i++) {
6083        key = field[i]
6084        keylen = length(key)
6085        if (S_is_set[key]) {
6086          value = S[key]
6087          line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6088          len += length(value) + length(field[++i])
6089          substed = 1
6090        } else
6091          len += 1 + keylen
6092      }
6093    
6094      print line
6095    }
6096    
6097    _ACAWK
6098    _ACEOF
6099    cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6100    if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6101      sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6102    else
6103      cat
6104    fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6105      || as_fn_error "could not setup config files machinery" "$LINENO" 5
6106    _ACEOF
6107    
6108  # VPATH may cause trouble with some makes, so we remove $(srcdir),  # VPATH may cause trouble with some makes, so we remove $(srcdir),
6109  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
# Line 5271  s/^[^=]*=[      ]*$// Line 6120  s/^[^=]*=[      ]*$//
6120  }'  }'
6121  fi  fi
6122    
6123  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6124  fi # test -n "$CONFIG_FILES"  fi # test -n "$CONFIG_FILES"
6125    
6126    
6127  for ac_tag in  :F $CONFIG_FILES  eval set X "  :F $CONFIG_FILES      "
6128    shift
6129    for ac_tag
6130  do  do
6131    case $ac_tag in    case $ac_tag in
6132    :[FHLC]) ac_mode=$ac_tag; continue;;    :[FHLC]) ac_mode=$ac_tag; continue;;
6133    esac    esac
6134    case $ac_mode$ac_tag in    case $ac_mode$ac_tag in
6135    :[FHL]*:*);;    :[FHL]*:*);;
6136    :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; }; };;  
6137    :[FH]-) ac_tag=-:-;;    :[FH]-) ac_tag=-:-;;
6138    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6139    esac    esac
# Line 5312  echo "$as_me: error: Invalid tag $ac_tag Line 6161  echo "$as_me: error: Invalid tag $ac_tag
6161             [\\/$]*) false;;             [\\/$]*) false;;
6162             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6163             esac ||             esac ||
6164             { { 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; }; };;  
6165        esac        esac
6166        ac_file_inputs="$ac_file_inputs $ac_f"        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6167          as_fn_append ac_file_inputs " '$ac_f'"
6168      done      done
6169    
6170      # Let's still pretend it is `configure' which instantiates (i.e., don't      # Let's still pretend it is `configure' which instantiates (i.e., don't
6171      # use $as_me), people would be surprised to read:      # use $as_me), people would be surprised to read:
6172      #    /* config.h.  Generated by config.status.  */      #    /* config.h.  Generated by config.status.  */
6173      configure_input="Generated from "`IFS=:      configure_input='Generated from '`
6174            echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."            $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6175            `' by configure.'
6176      if test x"$ac_file" != x-; then      if test x"$ac_file" != x-; then
6177        configure_input="$ac_file.  $configure_input"        configure_input="$ac_file.  $configure_input"
6178        { echo "$as_me:$LINENO: creating $ac_file" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6179  echo "$as_me: creating $ac_file" >&6;}  $as_echo "$as_me: creating $ac_file" >&6;}
6180      fi      fi
6181        # Neutralize special characters interpreted by sed in replacement strings.
6182        case $configure_input in #(
6183        *\&* | *\|* | *\\* )
6184           ac_sed_conf_input=`$as_echo "$configure_input" |
6185           sed 's/[\\\\&|]/\\\\&/g'`;; #(
6186        *) ac_sed_conf_input=$configure_input;;
6187        esac
6188    
6189      case $ac_tag in      case $ac_tag in
6190      *:-:* | *:-) cat >"$tmp/stdin";;      *:-:* | *:-) cat >"$tmp/stdin" \
6191          || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6192      esac      esac
6193      ;;      ;;
6194    esac    esac
# Line 5341  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^ Line 6198  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^
6198           X"$ac_file" : 'X\(//\)[^/]' \| \           X"$ac_file" : 'X\(//\)[^/]' \| \
6199           X"$ac_file" : 'X\(//\)$' \| \           X"$ac_file" : 'X\(//\)$' \| \
6200           X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||           X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6201  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" |  
6202      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6203              s//\1/              s//\1/
6204              q              q
# Line 5394  echo X"$as_dir" | Line 6216  echo X"$as_dir" |
6216              q              q
6217            }            }
6218            s/.*/./; q'`            s/.*/./; q'`
6219        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; }; }; }  
6220    ac_builddir=.    ac_builddir=.
6221    
6222  case "$ac_dir" in  case "$ac_dir" in
6223  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6224  *)  *)
6225    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6226    # A ".." for each directory in $ac_dir_suffix.    # A ".." for each directory in $ac_dir_suffix.
6227    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|/||'`
6228    case $ac_top_builddir_sub in    case $ac_top_builddir_sub in
6229    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6230    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
# Line 5447  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ Line 6264  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
6264    esac    esac
6265  _ACEOF  _ACEOF
6266    
6267  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6268  # If the template does not know about datarootdir, expand it.  # If the template does not know about datarootdir, expand it.
6269  # FIXME: This hack should be removed a few years after 2.60.  # FIXME: This hack should be removed a few years after 2.60.
6270  ac_datarootdir_hack=; ac_datarootdir_seen=  ac_datarootdir_hack=; ac_datarootdir_seen=
6271    ac_sed_dataroot='
6272  case `sed -n '/datarootdir/ {  /datarootdir/ {
6273    p    p
6274    q    q
6275  }  }
# Line 5460  case `sed -n '/datarootdir/ { Line 6277  case `sed -n '/datarootdir/ {
6277  /@docdir@/p  /@docdir@/p
6278  /@infodir@/p  /@infodir@/p
6279  /@localedir@/p  /@localedir@/p
6280  /@mandir@/p  /@mandir@/p'
6281  ' $ac_file_inputs` in  case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6282  *datarootdir*) ac_datarootdir_seen=yes;;  *datarootdir*) ac_datarootdir_seen=yes;;
6283  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6284    { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6285  echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}  $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6286  _ACEOF  _ACEOF
6287  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6288    ac_datarootdir_hack='    ac_datarootdir_hack='
6289    s&@datadir@&$datadir&g    s&@datadir@&$datadir&g
6290    s&@docdir@&$docdir&g    s&@docdir@&$docdir&g
6291    s&@infodir@&$infodir&g    s&@infodir@&$infodir&g
6292    s&@localedir@&$localedir&g    s&@localedir@&$localedir&g
6293    s&@mandir@&$mandir&g    s&@mandir@&$mandir&g
6294      s&\\\${datarootdir}&$datarootdir&g' ;;    s&\\\${datarootdir}&$datarootdir&g' ;;
6295  esac  esac
6296  _ACEOF  _ACEOF
6297    
6298  # Neutralize VPATH when `$srcdir' = `.'.  # Neutralize VPATH when `$srcdir' = `.'.
6299  # Shell code in configure.ac might set extrasub.  # Shell code in configure.ac might set extrasub.
6300  # FIXME: do we really want to maintain this feature?  # FIXME: do we really want to maintain this feature?
6301  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6302    sed "$ac_vpsub  ac_sed_extra="$ac_vpsub
6303  $extrasub  $extrasub
6304  _ACEOF  _ACEOF
6305  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6306  :t  :t
6307  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6308  s&@configure_input@&$configure_input&;t t  s|@configure_input@|$ac_sed_conf_input|;t t
6309  s&@top_builddir@&$ac_top_builddir_sub&;t t  s&@top_builddir@&$ac_top_builddir_sub&;t t
6310    s&@top_build_prefix@&$ac_top_build_prefix&;t t
6311  s&@srcdir@&$ac_srcdir&;t t  s&@srcdir@&$ac_srcdir&;t t
6312  s&@abs_srcdir@&$ac_abs_srcdir&;t t  s&@abs_srcdir@&$ac_abs_srcdir&;t t
6313  s&@top_srcdir@&$ac_top_srcdir&;t t  s&@top_srcdir@&$ac_top_srcdir&;t t
# Line 5499  s&@abs_builddir@&$ac_abs_builddir&;t t Line 6317  s&@abs_builddir@&$ac_abs_builddir&;t t
6317  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6318  s&@INSTALL@&$ac_INSTALL&;t t  s&@INSTALL@&$ac_INSTALL&;t t
6319  $ac_datarootdir_hack  $ac_datarootdir_hack
6320  " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out  "
6321    eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6322      || as_fn_error "could not create $ac_file" "$LINENO" 5
6323    
6324  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6325    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6326    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6327    { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6328  which seems to be undefined.  Please make sure it is defined." >&5  which seems to be undefined.  Please make sure it is defined." >&5
6329  echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6330  which seems to be undefined.  Please make sure it is defined." >&2;}  which seems to be undefined.  Please make sure it is defined." >&2;}
6331    
6332    rm -f "$tmp/stdin"    rm -f "$tmp/stdin"
6333    case $ac_file in    case $ac_file in
6334    -) cat "$tmp/out"; rm -f "$tmp/out";;    -) cat "$tmp/out" && rm -f "$tmp/out";;
6335    *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6336    esac    esac \
6337      || as_fn_error "could not create $ac_file" "$LINENO" 5
6338   ;;   ;;
6339    
6340    
# Line 5523  which seems to be undefined.  Please mak Line 6344  which seems to be undefined.  Please mak
6344  done # for ac_tag  done # for ac_tag
6345    
6346    
6347  { (exit 0); exit 0; }  as_fn_exit 0
6348  _ACEOF  _ACEOF
 chmod +x $CONFIG_STATUS  
6349  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
6350    
6351    test $ac_write_fail = 0 ||
6352      as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6353    
6354    
6355  # configure is writing to config.log, and then calls config.status.  # configure is writing to config.log, and then calls config.status.
6356  # config.status does its own redirection, appending to config.log.  # config.status does its own redirection, appending to config.log.
# Line 5547  if test "$no_create" != yes; then Line 6370  if test "$no_create" != yes; then
6370    exec 5>>config.log    exec 5>>config.log
6371    # Use ||, not &&, to avoid exiting from the if with $? = 1, which    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6372    # would make configure fail if this is the last instruction.    # would make configure fail if this is the last instruction.
6373    $ac_cs_success || { (exit 1); exit 1; }    $ac_cs_success || as_fn_exit $?
6374    fi
6375    if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6376      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6377    $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6378  fi  fi
6379    

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