/[debian]/bti/branches/upstream/current/configure
ViewVC logotype

Diff of /bti/branches/upstream/current/configure

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

revision 2232 by gregoa, Wed May 19 19:21:49 2010 UTC revision 2233 by gregoa, Wed Aug 18 15:33:14 2010 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated by GNU Autoconf 2.63 for bti 026.  # Generated by GNU Autoconf 2.65 for bti 027.
4  #  #
5  # Report bugs to <greg@kroah.com>.  # Report bugs to <greg@kroah.com>.
6  #  #
7    #
8  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9  # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.  # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10    # Inc.
11    #
12    #
13  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
14  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
15  ## --------------------- ##  ## -------------------- ##
16  ## M4sh Initialization.  ##  ## M4sh Initialization. ##
17  ## --------------------- ##  ## -------------------- ##
18    
19  # Be more Bourne compatible  # Be more Bourne compatible
20  DUALCASE=1; export DUALCASE # for MKS sh  DUALCASE=1; export DUALCASE # for MKS sh
21  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22    emulate sh    emulate sh
23    NULLCMD=:    NULLCMD=:
24    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# Line 22  if test -n "${ZSH_VERSION+set}" && (emul Line 26  if test -n "${ZSH_VERSION+set}" && (emul
26    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
27    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
28  else  else
29    case `(set -o) 2>/dev/null` in    case `(set -o) 2>/dev/null` in #(
30    *posix*) set -o posix ;;    *posix*) :
31        set -o posix ;; #(
32      *) :
33         ;;
34  esac  esac
   
35  fi  fi
36    
37    
   
   
 # PATH needs CR  
 # Avoid depending upon Character Ranges.  
 as_cr_letters='abcdefghijklmnopqrstuvwxyz'  
 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'  
 as_cr_Letters=$as_cr_letters$as_cr_LETTERS  
 as_cr_digits='0123456789'  
 as_cr_alnum=$as_cr_Letters$as_cr_digits  
   
38  as_nl='  as_nl='
39  '  '
40  export as_nl  export as_nl
# Line 46  export as_nl Line 42  export as_nl
42  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45  if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then  # Prefer a ksh shell builtin over an external printf program on Solaris,
46    # but without wasting forks for bash or zsh.
47    if test -z "$BASH_VERSION$ZSH_VERSION" \
48        && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49      as_echo='print -r --'
50      as_echo_n='print -rn --'
51    elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52    as_echo='printf %s\n'    as_echo='printf %s\n'
53    as_echo_n='printf %s'    as_echo_n='printf %s'
54  else  else
# Line 57  else Line 59  else
59      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60      as_echo_n_body='eval      as_echo_n_body='eval
61        arg=$1;        arg=$1;
62        case $arg in        case $arg in #(
63        *"$as_nl"*)        *"$as_nl"*)
64          expr "X$arg" : "X\\(.*\\)$as_nl";          expr "X$arg" : "X\\(.*\\)$as_nl";
65          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;          arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
# Line 80  if test "${PATH_SEPARATOR+set}" != set; Line 82  if test "${PATH_SEPARATOR+set}" != set;
82    }    }
83  fi  fi
84    
 # Support unset when possible.  
 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then  
   as_unset=unset  
 else  
   as_unset=false  
 fi  
   
85    
86  # IFS  # IFS
87  # We need space, tab and new line, in precisely that order.  Quoting is  # We need space, tab and new line, in precisely that order.  Quoting is
# Line 96  fi Line 91  fi
91  IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
92    
93  # Find who we are.  Look in the path if we contain no directory separator.  # Find who we are.  Look in the path if we contain no directory separator.
94  case $0 in  case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97  for as_dir in $PATH  for as_dir in $PATH
98  do  do
99    IFS=$as_save_IFS    IFS=$as_save_IFS
100    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
101    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102  done    done
103  IFS=$as_save_IFS  IFS=$as_save_IFS
104    
105       ;;       ;;
# Line 116  if test "x$as_myself" = x; then Line 111  if test "x$as_myself" = x; then
111  fi  fi
112  if test ! -f "$as_myself"; then  if test ! -f "$as_myself"; then
113    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114    { (exit 1); exit 1; }    exit 1
115  fi  fi
116    
117  # Work around bugs in pre-3.0 UWIN ksh.  # Unset variables that we do not need and which cause bugs (e.g. in
118  for as_var in ENV MAIL MAILPATH  # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119  do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var  # suppresses any "Segmentation fault" message there.  '((' could
120    # trigger a bug in pdksh 5.2.14.
121    for as_var in BASH_ENV ENV MAIL MAILPATH
122    do eval test x\${$as_var+set} = xset \
123      && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124  done  done
125  PS1='$ '  PS1='$ '
126  PS2='> '  PS2='> '
# Line 133  export LC_ALL Line 132  export LC_ALL
132  LANGUAGE=C  LANGUAGE=C
133  export LANGUAGE  export LANGUAGE
134    
 # Required to use basename.  
 if expr a : '\(a\)' >/dev/null 2>&1 &&  
    test "X`expr 00001 : '.*\(...\)'`" = X001; then  
   as_expr=expr  
 else  
   as_expr=false  
 fi  
   
 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then  
   as_basename=basename  
 else  
   as_basename=false  
 fi  
   
   
 # Name of the executable.  
 as_me=`$as_basename -- "$0" ||  
 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  
          X"$0" : 'X\(//\)$' \| \  
          X"$0" : 'X\(/\)' \| . 2>/dev/null ||  
 $as_echo X/"$0" |  
     sed '/^.*\/\([^/][^/]*\)\/*$/{  
             s//\1/  
             q  
           }  
           /^X\/\(\/\/\)$/{  
             s//\1/  
             q  
           }  
           /^X\/\(\/\).*/{  
             s//\1/  
             q  
           }  
           s/.*/./; q'`  
   
135  # CDPATH.  # CDPATH.
136  $as_unset CDPATH  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   
137    
138  if test "x$CONFIG_SHELL" = x; then  if test "x$CONFIG_SHELL" = x; then
139    if (eval ":") 2>/dev/null; then    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140    as_have_required=yes    emulate sh
141      NULLCMD=:
142      # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143      # is contrary to our usage.  Disable this feature.
144      alias -g '\${1+\"\$@\"}'='\"\$@\"'
145      setopt NO_GLOB_SUBST
146  else  else
147    as_have_required=no    case \`(set -o) 2>/dev/null\` in #(
148      *posix*) :
149        set -o posix ;; #(
150      *) :
151         ;;
152    esac
153  fi  fi
154    "
155    if test $as_have_required = yes &&     (eval ":    as_required="as_fn_return () { (exit \$1); }
156  (as_func_return () {  as_fn_success () { as_fn_return 0; }
157    (exit \$1)  as_fn_failure () { as_fn_return 1; }
158  }  as_fn_ret_success () { return 0; }
159  as_func_success () {  as_fn_ret_failure () { return 1; }
   as_func_return 0  
 }  
 as_func_failure () {  
   as_func_return 1  
 }  
 as_func_ret_success () {  
   return 0  
 }  
 as_func_ret_failure () {  
   return 1  
 }  
160    
161  exitcode=0  exitcode=0
162  if as_func_success; then  as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163    :  as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164  else  as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165    exitcode=1  as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166    echo as_func_success failed.  if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 fi  
   
 if as_func_failure; then  
   exitcode=1  
   echo as_func_failure succeeded.  
 fi  
167    
 if as_func_ret_success; then  
   :  
168  else  else
169    exitcode=1    exitcode=1; echo positional parameters were not saved.
170    echo as_func_ret_success failed.  fi
171  fi  test x\$exitcode = x0 || exit 1"
172      as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173  if as_func_ret_failure; then    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174    exitcode=1    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175    echo as_func_ret_failure succeeded.    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
176  fi    if (eval "$as_required") 2>/dev/null; then :
177      as_have_required=yes
 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then  
   :  
178  else  else
179    exitcode=1    as_have_required=no
   echo positional parameters were not saved.  
180  fi  fi
181      if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182    
 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  
   :  
183  else  else
184    as_candidate_shells=    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_found=false
186  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187  do  do
188    IFS=$as_save_IFS    IFS=$as_save_IFS
189    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
190    case $as_dir in    as_found=:
191      case $as_dir in #(
192           /*)           /*)
193             for as_base in sh bash ksh sh5; do             for as_base in sh bash ksh sh5; do
194               as_candidate_shells="$as_candidate_shells $as_dir/$as_base"               # Try only shells that exist, to save several forks.
195                 as_shell=$as_dir/$as_base
196                 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197                        { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198      CONFIG_SHELL=$as_shell as_have_required=yes
199                       if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200      break 2
201    fi
202    fi
203             done;;             done;;
204         esac         esac
205      as_found=false
206  done  done
207    $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208                  { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209      CONFIG_SHELL=$SHELL as_have_required=yes
210    fi; }
211  IFS=$as_save_IFS  IFS=$as_save_IFS
212    
213    
214        for as_shell in $as_candidate_shells $SHELL; do        if test "x$CONFIG_SHELL" != x; then :
215           # Try only shells that exist, to save several forks.    # We cannot yet assume a decent shell, so we have to provide a
216           if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&          # neutralization value for shells without unset; and this also
217                  { ("$as_shell") 2> /dev/null <<\_ASEOF          # works around shells that cannot unset nonexistent variables.
218  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then          BASH_ENV=/dev/null
219    emulate sh          ENV=/dev/null
220    NULLCMD=:          (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which          export CONFIG_SHELL
222    # is contrary to our usage.  Disable this feature.          exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   alias -g '${1+"$@"}'='"$@"'  
   setopt NO_GLOB_SUBST  
 else  
   case `(set -o) 2>/dev/null` in  
   *posix*) set -o posix ;;  
 esac  
   
 fi  
   
   
 :  
 _ASEOF  
 }; then  
   CONFIG_SHELL=$as_shell  
                as_have_required=yes  
                if { "$as_shell" 2> /dev/null <<\_ASEOF  
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  
   emulate sh  
   NULLCMD=:  
   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which  
   # is contrary to our usage.  Disable this feature.  
   alias -g '${1+"$@"}'='"$@"'  
   setopt NO_GLOB_SUBST  
 else  
   case `(set -o) 2>/dev/null` in  
   *posix*) set -o posix ;;  
 esac  
   
 fi  
   
   
 :  
 (as_func_return () {  
   (exit $1)  
 }  
 as_func_success () {  
   as_func_return 0  
 }  
 as_func_failure () {  
   as_func_return 1  
 }  
 as_func_ret_success () {  
   return 0  
 }  
 as_func_ret_failure () {  
   return 1  
 }  
   
 exitcode=0  
 if as_func_success; then  
   :  
 else  
   exitcode=1  
   echo as_func_success failed.  
 fi  
   
 if as_func_failure; then  
   exitcode=1  
   echo as_func_failure succeeded.  
 fi  
   
 if as_func_ret_success; then  
   :  
 else  
   exitcode=1  
   echo as_func_ret_success failed.  
 fi  
   
 if as_func_ret_failure; then  
   exitcode=1  
   echo as_func_ret_failure succeeded.  
223  fi  fi
224    
225  if ( set x; as_func_ret_success y && test x = "$1" ); then      if test x$as_have_required = xno; then :
226    :    $as_echo "$0: This script requires a shell more modern than all"
227  else    $as_echo "$0: the shells that I found on your system."
228    exitcode=1    if test x${ZSH_VERSION+set} = xset ; then
229    echo positional parameters were not saved.      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230        $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231      else
232        $as_echo "$0: Please tell bug-autoconf@gnu.org and greg@kroah.com
233    $0: about your system, including any error possibly output
234    $0: before this message. Then install a modern shell, or
235    $0: manually run the script under such a shell if you do
236    $0: have one."
237      fi
238      exit 1
239  fi  fi
   
 test $exitcode = 0) || { (exit 1); exit 1; }  
   
 (  
   as_lineno_1=$LINENO  
   as_lineno_2=$LINENO  
   test "x$as_lineno_1" != "x$as_lineno_2" &&  
   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }  
   
 _ASEOF  
 }; then  
   break  
240  fi  fi
   
241  fi  fi
242    SHELL=${CONFIG_SHELL-/bin/sh}
243    export SHELL
244    # Unset more variables known to interfere with behavior of common tools.
245    CLICOLOR_FORCE= GREP_OPTIONS=
246    unset CLICOLOR_FORCE GREP_OPTIONS
247    
248        done  ## --------------------- ##
249    ## M4sh Shell Functions. ##
250        if test "x$CONFIG_SHELL" != x; then  ## --------------------- ##
251    for as_var in BASH_ENV ENV  # as_fn_unset VAR
252          do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var  # ---------------
253          done  # Portably unset VAR.
254          export CONFIG_SHELL  as_fn_unset ()
255          exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}  {
256  fi    { eval $1=; unset $1;}
257    }
258    as_unset=as_fn_unset
259    
260    # as_fn_set_status STATUS
261    # -----------------------
262    # Set $? to STATUS, without forking.
263    as_fn_set_status ()
264    {
265      return $1
266    } # as_fn_set_status
267    
268      if test $as_have_required = no; then  # as_fn_exit STATUS
269    echo This script requires a shell more modern than all the  # -----------------
270        echo shells that I found on your system.  Please install a  # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
271        echo modern shell, or manually run the script under such a  as_fn_exit ()
272        echo shell if you do have one.  {
273        { (exit 1); exit 1; }    set +e
274  fi    as_fn_set_status $1
275      exit $1
276    } # as_fn_exit
277    
278    # as_fn_mkdir_p
279    # -------------
280    # Create "$as_dir" as a directory, including parents if necessary.
281    as_fn_mkdir_p ()
282    {
283    
284      case $as_dir in #(
285      -*) as_dir=./$as_dir;;
286      esac
287      test -d "$as_dir" || eval $as_mkdir_p || {
288        as_dirs=
289        while :; do
290          case $as_dir in #(
291          *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292          *) as_qdir=$as_dir;;
293          esac
294          as_dirs="'$as_qdir' $as_dirs"
295          as_dir=`$as_dirname -- "$as_dir" ||
296    $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297             X"$as_dir" : 'X\(//\)[^/]' \| \
298             X"$as_dir" : 'X\(//\)$' \| \
299             X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300    $as_echo X"$as_dir" |
301        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
302                s//\1/
303                q
304              }
305              /^X\(\/\/\)[^/].*/{
306                s//\1/
307                q
308              }
309              /^X\(\/\/\)$/{
310                s//\1/
311                q
312              }
313              /^X\(\/\).*/{
314                s//\1/
315                q
316              }
317              s/.*/./; q'`
318          test -d "$as_dir" && break
319        done
320        test -z "$as_dirs" || eval "mkdir $as_dirs"
321      } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
322    
 fi  
323    
324  fi  } # as_fn_mkdir_p
325    # as_fn_append VAR VALUE
326    # ----------------------
327    # Append the text in VALUE to the end of the definition contained in VAR. Take
328    # advantage of any shell optimizations that allow amortized linear growth over
329    # repeated appends, instead of the typical quadratic growth present in naive
330    # implementations.
331    if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332      eval 'as_fn_append ()
333      {
334        eval $1+=\$2
335      }'
336    else
337      as_fn_append ()
338      {
339        eval $1=\$$1\$2
340      }
341    fi # as_fn_append
342    
343    # as_fn_arith ARG...
344    # ------------------
345    # Perform arithmetic evaluation on the ARGs, and store the result in the
346    # global $as_val. Take advantage of shells that can avoid forks. The arguments
347    # must be portable across $(()) and expr.
348    if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
349      eval 'as_fn_arith ()
350      {
351        as_val=$(( $* ))
352      }'
353    else
354      as_fn_arith ()
355      {
356        as_val=`expr "$@" || test $? -eq 1`
357      }
358    fi # as_fn_arith
359    
360    
361  (eval "as_func_return () {  # as_fn_error ERROR [LINENO LOG_FD]
362    (exit \$1)  # ---------------------------------
363  }  # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364  as_func_success () {  # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365    as_func_return 0  # script with status $?, using 1 if that was 0.
366  }  as_fn_error ()
367  as_func_failure () {  {
368    as_func_return 1    as_status=$?; test $as_status -eq 0 && as_status=1
369  }    if test "$3"; then
370  as_func_ret_success () {      as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371    return 0      $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372  }    fi
373  as_func_ret_failure () {    $as_echo "$as_me: error: $1" >&2
374    return 1    as_fn_exit $as_status
375  }  } # as_fn_error
376    
377  exitcode=0  if expr a : '\(a\)' >/dev/null 2>&1 &&
378  if as_func_success; then     test "X`expr 00001 : '.*\(...\)'`" = X001; then
379    :    as_expr=expr
380  else  else
381    exitcode=1    as_expr=false
   echo as_func_success failed.  
 fi  
   
 if as_func_failure; then  
   exitcode=1  
   echo as_func_failure succeeded.  
382  fi  fi
383    
384  if as_func_ret_success; then  if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385    :    as_basename=basename
386  else  else
387    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.  
388  fi  fi
389    
390  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
391    :    as_dirname=dirname
392  else  else
393    exitcode=1    as_dirname=false
   echo positional parameters were not saved.  
394  fi  fi
395    
396  test \$exitcode = 0") || {  as_me=`$as_basename -- "$0" ||
397    echo No shell found that supports shell functions.  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398    echo Please tell bug-autoconf@gnu.org about your system,           X"$0" : 'X\(//\)$' \| \
399    echo including any error possibly output before this message.           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400    echo This can help us improve future autoconf versions.  $as_echo X/"$0" |
401    echo Configuration will now proceed without shell functions.      sed '/^.*\/\([^/][^/]*\)\/*$/{
402  }              s//\1/
403                q
404              }
405              /^X\/\(\/\/\)$/{
406                s//\1/
407                q
408              }
409              /^X\/\(\/\).*/{
410                s//\1/
411                q
412              }
413              s/.*/./; q'`
414    
415    # Avoid depending upon Character Ranges.
416    as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419    as_cr_digits='0123456789'
420    as_cr_alnum=$as_cr_Letters$as_cr_digits
421    
422    
423    as_lineno_1=$LINENO    as_lineno_1=$LINENO as_lineno_1a=$LINENO
424    as_lineno_2=$LINENO    as_lineno_2=$LINENO as_lineno_2a=$LINENO
425    test "x$as_lineno_1" != "x$as_lineno_2" &&    eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426    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'"' || {
427      # 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.  :-)  
428    sed -n '    sed -n '
429      p      p
430      /[$]LINENO/=      /[$]LINENO/=
# Line 473  test \$exitcode = 0") || { Line 441  test \$exitcode = 0") || {
441        s/-\n.*//        s/-\n.*//
442      ' >$as_me.lineno &&      ' >$as_me.lineno &&
443    chmod +x "$as_me.lineno" ||    chmod +x "$as_me.lineno" ||
444      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    { (exit 1); exit 1; }; }  
445    
446    # 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
447    # (the dirname of $[0] is not the place where we might find the    # (the dirname of $[0] is not the place where we might find the
# Line 484  test \$exitcode = 0") || { Line 451  test \$exitcode = 0") || {
451    exit    exit
452  }  }
453    
   
 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then  
   as_dirname=dirname  
 else  
   as_dirname=false  
 fi  
   
454  ECHO_C= ECHO_N= ECHO_T=  ECHO_C= ECHO_N= ECHO_T=
455  case `echo -n x` in  case `echo -n x` in #(((((
456  -n*)  -n*)
457    case `echo 'x\c'` in    case `echo 'xy\c'` in
458    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.    *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
459    *)   ECHO_C='\c';;    xy)  ECHO_C='\c';;
460      *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
461           ECHO_T=' ';;
462    esac;;    esac;;
463  *)  *)
464    ECHO_N='-n';;    ECHO_N='-n';;
465  esac  esac
 if expr a : '\(a\)' >/dev/null 2>&1 &&  
    test "X`expr 00001 : '.*\(...\)'`" = X001; then  
   as_expr=expr  
 else  
   as_expr=false  
 fi  
466    
467  rm -f conf$$ conf$$.exe conf$$.file  rm -f conf$$ conf$$.exe conf$$.file
468  if test -d conf$$.dir; then  if test -d conf$$.dir; then
# Line 536  rm -f conf$$ conf$$.exe conf$$.dir/conf$ Line 492  rm -f conf$$ conf$$.exe conf$$.dir/conf$
492  rmdir conf$$.dir 2>/dev/null  rmdir conf$$.dir 2>/dev/null
493    
494  if mkdir -p . 2>/dev/null; then  if mkdir -p . 2>/dev/null; then
495    as_mkdir_p=:    as_mkdir_p='mkdir -p "$as_dir"'
496  else  else
497    test -d ./-p && rmdir ./-p    test -d ./-p && rmdir ./-p
498    as_mkdir_p=false    as_mkdir_p=false
# Line 555  else Line 511  else
511        if test -d "$1"; then        if test -d "$1"; then
512          test -d "$1/.";          test -d "$1/.";
513        else        else
514          case $1 in          case $1 in #(
515          -*)set "./$1";;          -*)set "./$1";;
516          esac;          esac;
517          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518          ???[sx]*):;;*)false;;esac;fi          ???[sx]*):;;*)false;;esac;fi
519      '\'' sh      '\'' sh
520    '    '
# Line 572  as_tr_cpp="eval sed 'y%*$as_cr_letters%P Line 528  as_tr_cpp="eval sed 'y%*$as_cr_letters%P
528  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529    
530    
531    test -n "$DJDIR" || exec 7<&0 </dev/null
532  exec 7<&0 </dev/null 6>&1  exec 6>&1
533    
534  # Name of the host.  # Name of the host.
535  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# Line 591  cross_compiling=no Line 547  cross_compiling=no
547  subdirs=  subdirs=
548  MFLAGS=  MFLAGS=
549  MAKEFLAGS=  MAKEFLAGS=
 SHELL=${CONFIG_SHELL-/bin/sh}  
550    
551  # Identity of this package.  # Identity of this package.
552  PACKAGE_NAME='bti'  PACKAGE_NAME='bti'
553  PACKAGE_TARNAME='bti'  PACKAGE_TARNAME='bti'
554  PACKAGE_VERSION='026'  PACKAGE_VERSION='027'
555  PACKAGE_STRING='bti 026'  PACKAGE_STRING='bti 027'
556  PACKAGE_BUGREPORT='greg@kroah.com'  PACKAGE_BUGREPORT='greg@kroah.com'
557    PACKAGE_URL=''
558    
559  ac_subst_vars='am__EXEEXT_FALSE  ac_subst_vars='am__EXEEXT_FALSE
560  am__EXEEXT_TRUE  am__EXEEXT_TRUE
# Line 610  XML2_CONFIG Line 566  XML2_CONFIG
566  LIBCURL  LIBCURL
567  LIBCURL_CPPFLAGS  LIBCURL_CPPFLAGS
568  _libcurl_config  _libcurl_config
569    LIBPCRE_LIBS
570    LIBPCRE_CFLAGS
571    LIBOAUTH_LIBS
572    LIBOAUTH_CFLAGS
573    PKG_CONFIG
574  XSLTPROC  XSLTPROC
575  am__fastdepCC_FALSE  am__fastdepCC_FALSE
576  am__fastdepCC_TRUE  am__fastdepCC_TRUE
# Line 682  bindir Line 643  bindir
643  program_transform_name  program_transform_name
644  prefix  prefix
645  exec_prefix  exec_prefix
646    PACKAGE_URL
647  PACKAGE_BUGREPORT  PACKAGE_BUGREPORT
648  PACKAGE_STRING  PACKAGE_STRING
649  PACKAGE_VERSION  PACKAGE_VERSION
# Line 706  CC Line 668  CC
668  CFLAGS  CFLAGS
669  LDFLAGS  LDFLAGS
670  LIBS  LIBS
671  CPPFLAGS'  CPPFLAGS
672    PKG_CONFIG
673    LIBOAUTH_CFLAGS
674    LIBOAUTH_LIBS
675    LIBPCRE_CFLAGS
676    LIBPCRE_LIBS'
677    
678    
679  # Initialize some variables set by options.  # Initialize some variables set by options.
# Line 815  do Line 782  do
782      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
783      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
784      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
785        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2        as_fn_error "invalid feature name: $ac_useropt"
    { (exit 1); exit 1; }; }  
786      ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
787      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
788      case $ac_user_opts in      case $ac_user_opts in
# Line 842  do Line 808  do
808      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
809      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
810      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
811        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2        as_fn_error "invalid feature name: $ac_useropt"
    { (exit 1); exit 1; }; }  
812      ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
813      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
814      case $ac_user_opts in      case $ac_user_opts in
# Line 1047  do Line 1012  do
1012      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1013      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1014      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2        as_fn_error "invalid package name: $ac_useropt"
    { (exit 1); exit 1; }; }  
1016      ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
1017      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018      case $ac_user_opts in      case $ac_user_opts in
# Line 1064  do Line 1028  do
1028      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1029      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1030      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2        as_fn_error "invalid package name: $ac_useropt"
    { (exit 1); exit 1; }; }  
1032      ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
1033      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034      case $ac_user_opts in      case $ac_user_opts in
# Line 1095  do Line 1058  do
1058    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1059      x_libraries=$ac_optarg ;;      x_libraries=$ac_optarg ;;
1060    
1061    -*) { $as_echo "$as_me: error: unrecognized option: $ac_option    -*) as_fn_error "unrecognized option: \`$ac_option'
1062  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information."
    { (exit 1); exit 1; }; }  
1063      ;;      ;;
1064    
1065    *=*)    *=*)
1066      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1067      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1068      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&      case $ac_envvar in #(
1069        { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2        '' | [0-9]* | *[!_$as_cr_alnum]* )
1070     { (exit 1); exit 1; }; }        as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1071        esac
1072      eval $ac_envvar=\$ac_optarg      eval $ac_envvar=\$ac_optarg
1073      export $ac_envvar ;;      export $ac_envvar ;;
1074    
# Line 1122  done Line 1085  done
1085    
1086  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
1087    ac_option=--`echo $ac_prev | sed 's/_/-/g'`    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1088    { $as_echo "$as_me: error: missing argument to $ac_option" >&2    as_fn_error "missing argument to $ac_option"
    { (exit 1); exit 1; }; }  
1089  fi  fi
1090    
1091  if test -n "$ac_unrecognized_opts"; then  if test -n "$ac_unrecognized_opts"; then
1092    case $enable_option_checking in    case $enable_option_checking in
1093      no) ;;      no) ;;
1094      fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2      fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
    { (exit 1); exit 1; }; } ;;  
1095      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1096    esac    esac
1097  fi  fi
# Line 1153  do Line 1114  do
1114      [\\/$]* | ?:[\\/]* )  continue;;      [\\/$]* | ?:[\\/]* )  continue;;
1115      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1116    esac    esac
1117    { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2    as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
    { (exit 1); exit 1; }; }  
1118  done  done
1119    
1120  # 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 1184  test "$silent" = yes && exec 6>/dev/null Line 1144  test "$silent" = yes && exec 6>/dev/null
1144  ac_pwd=`pwd` && test -n "$ac_pwd" &&  ac_pwd=`pwd` && test -n "$ac_pwd" &&
1145  ac_ls_di=`ls -di .` &&  ac_ls_di=`ls -di .` &&
1146  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1147    { $as_echo "$as_me: error: working directory cannot be determined" >&2    as_fn_error "working directory cannot be determined"
    { (exit 1); exit 1; }; }  
1148  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1149    { $as_echo "$as_me: error: pwd does not report name of working directory" >&2    as_fn_error "pwd does not report name of working directory"
    { (exit 1); exit 1; }; }  
1150    
1151    
1152  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
# Line 1227  else Line 1185  else
1185  fi  fi
1186  if test ! -r "$srcdir/$ac_unique_file"; then  if test ! -r "$srcdir/$ac_unique_file"; then
1187    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1188    { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2    as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
    { (exit 1); exit 1; }; }  
1189  fi  fi
1190  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1191  ac_abs_confdir=`(  ac_abs_confdir=`(
1192          cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2          cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
    { (exit 1); exit 1; }; }  
1193          pwd)`          pwd)`
1194  # When building in place, set srcdir=.  # When building in place, set srcdir=.
1195  if test "$ac_abs_confdir" = "$ac_pwd"; then  if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1259  if test "$ac_init_help" = "long"; then Line 1215  if test "$ac_init_help" = "long"; then
1215    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
1216    # 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.
1217    cat <<_ACEOF    cat <<_ACEOF
1218  \`configure' configures bti 026 to adapt to many kinds of systems.  \`configure' configures bti 027 to adapt to many kinds of systems.
1219    
1220  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
1221    
# Line 1325  fi Line 1281  fi
1281    
1282  if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
1283    case $ac_init_help in    case $ac_init_help in
1284       short | recursive ) echo "Configuration of bti 026:";;       short | recursive ) echo "Configuration of bti 027:";;
1285     esac     esac
1286    cat <<\_ACEOF    cat <<\_ACEOF
1287    
# Line 1352  Some influential environment variables: Line 1308  Some influential environment variables:
1308    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
1309                nonstandard directory <lib dir>                nonstandard directory <lib dir>
1310    LIBS        libraries to pass to the linker, e.g. -l<library>    LIBS        libraries to pass to the linker, e.g. -l<library>
1311    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
1312                you have headers in a nonstandard directory <include dir>                you have headers in a nonstandard directory <include dir>
1313      PKG_CONFIG  path to pkg-config utility
1314      LIBOAUTH_CFLAGS
1315                  C compiler flags for LIBOAUTH, overriding pkg-config
1316      LIBOAUTH_LIBS
1317                  linker flags for LIBOAUTH, overriding pkg-config
1318      LIBPCRE_CFLAGS
1319                  C compiler flags for LIBPCRE, overriding pkg-config
1320      LIBPCRE_LIBS
1321                  linker flags for LIBPCRE, overriding pkg-config
1322    
1323  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
1324  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
# Line 1421  fi Line 1386  fi
1386  test -n "$ac_init_help" && exit $ac_status  test -n "$ac_init_help" && exit $ac_status
1387  if $ac_init_version; then  if $ac_init_version; then
1388    cat <<\_ACEOF    cat <<\_ACEOF
1389  bti configure 026  bti configure 027
1390  generated by GNU Autoconf 2.63  generated by GNU Autoconf 2.65
1391    
1392  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  Copyright (C) 2009 Free Software Foundation, Inc.
 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.  
1393  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1394  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1395  _ACEOF  _ACEOF
1396    exit    exit
1397  fi  fi
1398    
1399    ## ------------------------ ##
1400    ## Autoconf initialization. ##
1401    ## ------------------------ ##
1402    
1403    # ac_fn_c_try_compile LINENO
1404    # --------------------------
1405    # Try to compile conftest.$ac_ext, and return whether this succeeded.
1406    ac_fn_c_try_compile ()
1407    {
1408      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1409      rm -f conftest.$ac_objext
1410      if { { ac_try="$ac_compile"
1411    case "(($ac_try" in
1412      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1413      *) ac_try_echo=$ac_try;;
1414    esac
1415    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1416    $as_echo "$ac_try_echo"; } >&5
1417      (eval "$ac_compile") 2>conftest.err
1418      ac_status=$?
1419      if test -s conftest.err; then
1420        grep -v '^ *+' conftest.err >conftest.er1
1421        cat conftest.er1 >&5
1422        mv -f conftest.er1 conftest.err
1423      fi
1424      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1425      test $ac_status = 0; } && {
1426             test -z "$ac_c_werror_flag" ||
1427             test ! -s conftest.err
1428           } && test -s conftest.$ac_objext; then :
1429      ac_retval=0
1430    else
1431      $as_echo "$as_me: failed program was:" >&5
1432    sed 's/^/| /' conftest.$ac_ext >&5
1433    
1434            ac_retval=1
1435    fi
1436      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1437      as_fn_set_status $ac_retval
1438    
1439    } # ac_fn_c_try_compile
1440    
1441    # ac_fn_c_try_link LINENO
1442    # -----------------------
1443    # Try to link conftest.$ac_ext, and return whether this succeeded.
1444    ac_fn_c_try_link ()
1445    {
1446      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1447      rm -f conftest.$ac_objext conftest$ac_exeext
1448      if { { ac_try="$ac_link"
1449    case "(($ac_try" in
1450      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1451      *) ac_try_echo=$ac_try;;
1452    esac
1453    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1454    $as_echo "$ac_try_echo"; } >&5
1455      (eval "$ac_link") 2>conftest.err
1456      ac_status=$?
1457      if test -s conftest.err; then
1458        grep -v '^ *+' conftest.err >conftest.er1
1459        cat conftest.er1 >&5
1460        mv -f conftest.er1 conftest.err
1461      fi
1462      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1463      test $ac_status = 0; } && {
1464             test -z "$ac_c_werror_flag" ||
1465             test ! -s conftest.err
1466           } && test -s conftest$ac_exeext && {
1467             test "$cross_compiling" = yes ||
1468             $as_test_x conftest$ac_exeext
1469           }; then :
1470      ac_retval=0
1471    else
1472      $as_echo "$as_me: failed program was:" >&5
1473    sed 's/^/| /' conftest.$ac_ext >&5
1474    
1475            ac_retval=1
1476    fi
1477      # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1478      # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1479      # interfere with the next link command; also delete a directory that is
1480      # left behind by Apple's compiler.  We do this before executing the actions.
1481      rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1482      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1483      as_fn_set_status $ac_retval
1484    
1485    } # ac_fn_c_try_link
1486    
1487    # ac_fn_c_check_func LINENO FUNC VAR
1488    # ----------------------------------
1489    # Tests whether FUNC exists, setting the cache variable VAR accordingly
1490    ac_fn_c_check_func ()
1491    {
1492      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1493      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1494    $as_echo_n "checking for $2... " >&6; }
1495    if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1496      $as_echo_n "(cached) " >&6
1497    else
1498      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1499    /* end confdefs.h.  */
1500    /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1501       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1502    #define $2 innocuous_$2
1503    
1504    /* System header to define __stub macros and hopefully few prototypes,
1505        which can conflict with char $2 (); below.
1506        Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1507        <limits.h> exists even on freestanding compilers.  */
1508    
1509    #ifdef __STDC__
1510    # include <limits.h>
1511    #else
1512    # include <assert.h>
1513    #endif
1514    
1515    #undef $2
1516    
1517    /* Override any GCC internal prototype to avoid an error.
1518       Use char because int might match the return type of a GCC
1519       builtin and then its argument prototype would still apply.  */
1520    #ifdef __cplusplus
1521    extern "C"
1522    #endif
1523    char $2 ();
1524    /* The GNU C library defines this for functions which it implements
1525        to always fail with ENOSYS.  Some functions are actually named
1526        something starting with __ and the normal name is an alias.  */
1527    #if defined __stub_$2 || defined __stub___$2
1528    choke me
1529    #endif
1530    
1531    int
1532    main ()
1533    {
1534    return $2 ();
1535      ;
1536      return 0;
1537    }
1538    _ACEOF
1539    if ac_fn_c_try_link "$LINENO"; then :
1540      eval "$3=yes"
1541    else
1542      eval "$3=no"
1543    fi
1544    rm -f core conftest.err conftest.$ac_objext \
1545        conftest$ac_exeext conftest.$ac_ext
1546    fi
1547    eval ac_res=\$$3
1548                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1549    $as_echo "$ac_res" >&6; }
1550      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1551    
1552    } # ac_fn_c_check_func
1553    
1554    # ac_fn_c_try_run LINENO
1555    # ----------------------
1556    # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1557    # that executables *can* be run.
1558    ac_fn_c_try_run ()
1559    {
1560      as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561      if { { ac_try="$ac_link"
1562    case "(($ac_try" in
1563      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1564      *) ac_try_echo=$ac_try;;
1565    esac
1566    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567    $as_echo "$ac_try_echo"; } >&5
1568      (eval "$ac_link") 2>&5
1569      ac_status=$?
1570      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1571      test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1572      { { case "(($ac_try" in
1573      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574      *) ac_try_echo=$ac_try;;
1575    esac
1576    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577    $as_echo "$ac_try_echo"; } >&5
1578      (eval "$ac_try") 2>&5
1579      ac_status=$?
1580      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581      test $ac_status = 0; }; }; then :
1582      ac_retval=0
1583    else
1584      $as_echo "$as_me: program exited with status $ac_status" >&5
1585           $as_echo "$as_me: failed program was:" >&5
1586    sed 's/^/| /' conftest.$ac_ext >&5
1587    
1588           ac_retval=$ac_status
1589    fi
1590      rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1591      eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1592      as_fn_set_status $ac_retval
1593    
1594    } # ac_fn_c_try_run
1595  cat >config.log <<_ACEOF  cat >config.log <<_ACEOF
1596  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
1597  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1598    
1599  It was created by bti $as_me 026, which was  It was created by bti $as_me 027, which was
1600  generated by GNU Autoconf 2.63.  Invocation command line was  generated by GNU Autoconf 2.65.  Invocation command line was
1601    
1602    $ $0 $@    $ $0 $@
1603    
# Line 1472  for as_dir in $PATH Line 1633  for as_dir in $PATH
1633  do  do
1634    IFS=$as_save_IFS    IFS=$as_save_IFS
1635    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1636    $as_echo "PATH: $as_dir"      $as_echo "PATH: $as_dir"
1637  done    done
1638  IFS=$as_save_IFS  IFS=$as_save_IFS
1639    
1640  } >&5  } >&5
# Line 1510  do Line 1671  do
1671        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1672      esac      esac
1673      case $ac_pass in      case $ac_pass in
1674      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;      1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1675      2)      2)
1676        ac_configure_args1="$ac_configure_args1 '$ac_arg'"        as_fn_append ac_configure_args1 " '$ac_arg'"
1677        if test $ac_must_keep_next = true; then        if test $ac_must_keep_next = true; then
1678          ac_must_keep_next=false # Got value, back to normal.          ac_must_keep_next=false # Got value, back to normal.
1679        else        else
# Line 1528  do Line 1689  do
1689            -* ) ac_must_keep_next=true ;;            -* ) ac_must_keep_next=true ;;
1690          esac          esac
1691        fi        fi
1692        ac_configure_args="$ac_configure_args '$ac_arg'"        as_fn_append ac_configure_args " '$ac_arg'"
1693        ;;        ;;
1694      esac      esac
1695    done    done
1696  done  done
1697  $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;}
1698  $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;}
1699    
1700  # When interrupted or exit'd, cleanup temporary files, and complete  # When interrupted or exit'd, cleanup temporary files, and complete
1701  # config.log.  We remove comments because anyway the quotes in there  # config.log.  We remove comments because anyway the quotes in there
# Line 1559  _ASBOX Line 1720  _ASBOX
1720      case $ac_val in #(      case $ac_val in #(
1721      *${as_nl}*)      *${as_nl}*)
1722        case $ac_var in #(        case $ac_var in #(
1723        *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5        *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1724  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1725        esac        esac
1726        case $ac_var in #(        case $ac_var in #(
1727        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
1728        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1729        *) $as_unset $ac_var ;;        *) { eval $ac_var=; unset $ac_var;} ;;
1730        esac ;;        esac ;;
1731      esac      esac
1732    done    done
# Line 1637  _ASBOX Line 1798  _ASBOX
1798      exit $exit_status      exit $exit_status
1799  ' 0  ' 0
1800  for ac_signal in 1 2 13 15; do  for ac_signal in 1 2 13 15; do
1801    trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal    trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1802  done  done
1803  ac_signal=0  ac_signal=0
1804    
1805  # confdefs.h avoids OS command line length limits that DEFS can exceed.  # confdefs.h avoids OS command line length limits that DEFS can exceed.
1806  rm -f -r conftest* confdefs.h  rm -f -r conftest* confdefs.h
1807    
1808    $as_echo "/* confdefs.h */" > confdefs.h
1809    
1810  # Predefined preprocessor variables.  # Predefined preprocessor variables.
1811    
1812  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1813  #define PACKAGE_NAME "$PACKAGE_NAME"  #define PACKAGE_NAME "$PACKAGE_NAME"
1814  _ACEOF  _ACEOF
1815    
   
1816  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1817  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1818  _ACEOF  _ACEOF
1819    
   
1820  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1821  #define PACKAGE_VERSION "$PACKAGE_VERSION"  #define PACKAGE_VERSION "$PACKAGE_VERSION"
1822  _ACEOF  _ACEOF
1823    
   
1824  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1825  #define PACKAGE_STRING "$PACKAGE_STRING"  #define PACKAGE_STRING "$PACKAGE_STRING"
1826  _ACEOF  _ACEOF
1827    
   
1828  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
1829  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1830  _ACEOF  _ACEOF
1831    
1832    cat >>confdefs.h <<_ACEOF
1833    #define PACKAGE_URL "$PACKAGE_URL"
1834    _ACEOF
1835    
1836    
1837  # 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.
1838  # Prefer an explicitly selected file to automatically selected ones.  # Prefer an explicitly selected file to automatically selected ones.
# Line 1687  fi Line 1850  fi
1850  for ac_site_file in "$ac_site_file1" "$ac_site_file2"  for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1851  do  do
1852    test "x$ac_site_file" = xNONE && continue    test "x$ac_site_file" = xNONE && continue
1853    if test -r "$ac_site_file"; then    if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1854      { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1855  $as_echo "$as_me: loading site script $ac_site_file" >&6;}  $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1856      sed 's/^/| /' "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
1857      . "$ac_site_file"      . "$ac_site_file"
# Line 1696  $as_echo "$as_me: loading site script $a Line 1859  $as_echo "$as_me: loading site script $a
1859  done  done
1860    
1861  if test -r "$cache_file"; then  if test -r "$cache_file"; then
1862    # Some versions of bash will fail to source /dev/null (special    # Some versions of bash will fail to source /dev/null (special files
1863    # files actually), so we avoid doing that.    # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1864    if test -f "$cache_file"; then    if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1865      { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1866  $as_echo "$as_me: loading cache $cache_file" >&6;}  $as_echo "$as_me: loading cache $cache_file" >&6;}
1867      case $cache_file in      case $cache_file in
1868        [\\/]* | ?:[\\/]* ) . "$cache_file";;        [\\/]* | ?:[\\/]* ) . "$cache_file";;
# Line 1707  $as_echo "$as_me: loading cache $cache_f Line 1870  $as_echo "$as_me: loading cache $cache_f
1870      esac      esac
1871    fi    fi
1872  else  else
1873    { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1874  $as_echo "$as_me: creating cache $cache_file" >&6;}  $as_echo "$as_me: creating cache $cache_file" >&6;}
1875    >$cache_file    >$cache_file
1876  fi  fi
# Line 1722  for ac_var in $ac_precious_vars; do Line 1885  for ac_var in $ac_precious_vars; do
1885    eval ac_new_val=\$ac_env_${ac_var}_value    eval ac_new_val=\$ac_env_${ac_var}_value
1886    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
1887      set,)      set,)
1888        { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1889  $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}  $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1890        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
1891      ,set)      ,set)
1892        { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1893  $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}  $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1894        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
1895      ,);;      ,);;
# Line 1736  $as_echo "$as_me: error: \`$ac_var' was Line 1899  $as_echo "$as_me: error: \`$ac_var' was
1899          ac_old_val_w=`echo x $ac_old_val`          ac_old_val_w=`echo x $ac_old_val`
1900          ac_new_val_w=`echo x $ac_new_val`          ac_new_val_w=`echo x $ac_new_val`
1901          if test "$ac_old_val_w" != "$ac_new_val_w"; then          if test "$ac_old_val_w" != "$ac_new_val_w"; then
1902            { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5            { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1903  $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}  $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1904            ac_cache_corrupted=:            ac_cache_corrupted=:
1905          else          else
1906            { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5            { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1907  $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}  $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1908            eval $ac_var=\$ac_old_val            eval $ac_var=\$ac_old_val
1909          fi          fi
1910          { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1911  $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}  $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1912          { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1913  $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}  $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1914        fi;;        fi;;
1915    esac    esac
# Line 1758  $as_echo "$as_me:   current value: \`$ac Line 1921  $as_echo "$as_me:   current value: \`$ac
1921      esac      esac
1922      case " $ac_configure_args " in      case " $ac_configure_args " in
1923        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1924        *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;        *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1925      esac      esac
1926    fi    fi
1927  done  done
1928  if $ac_cache_corrupted; then  if $ac_cache_corrupted; then
1929    { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1930  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1931    { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1932  $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}  $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1933    { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5    as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}  
    { (exit 1); exit 1; }; }  
1934  fi  fi
1935    ## -------------------- ##
1936    ## Main body of script. ##
1937    ## -------------------- ##
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
1938    
1939  ac_ext=c  ac_ext=c
1940  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
# Line 1809  am__api_version='1.11' Line 1949  am__api_version='1.11'
1949    
1950  ac_aux_dir=  ac_aux_dir=
1951  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1952    if test -f "$ac_dir/install-sh"; then    for ac_t in install-sh install.sh shtool; do
1953      ac_aux_dir=$ac_dir      if test -f "$ac_dir/$ac_t"; then
1954      ac_install_sh="$ac_aux_dir/install-sh -c"        ac_aux_dir=$ac_dir
1955      break        ac_install_sh="$ac_aux_dir/$ac_t -c"
1956    elif test -f "$ac_dir/install.sh"; then        break 2
1957      ac_aux_dir=$ac_dir      fi
1958      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  
1959  done  done
1960  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
1961    { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5    as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}  
    { (exit 1); exit 1; }; }  
1962  fi  fi
1963    
1964  # These three variables are undocumented and unsupported,  # These three variables are undocumented and unsupported,
# Line 1852  ac_configure="$SHELL $ac_aux_dir/configu Line 1984  ac_configure="$SHELL $ac_aux_dir/configu
1984  # OS/2's system install, which has a completely different semantic  # OS/2's system install, which has a completely different semantic
1985  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
1986  # Reject install programs that cannot install multiple files.  # Reject install programs that cannot install multiple files.
1987  { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1988  $as_echo_n "checking for a BSD-compatible install... " >&6; }  $as_echo_n "checking for a BSD-compatible install... " >&6; }
1989  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
1990  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then :
1991    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
1992  else  else
1993    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 1863  for as_dir in $PATH Line 1995  for as_dir in $PATH
1995  do  do
1996    IFS=$as_save_IFS    IFS=$as_save_IFS
1997    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1998    # Account for people who put trailing slashes in PATH elements.      # Account for people who put trailing slashes in PATH elements.
1999  case $as_dir/ in  case $as_dir/ in #((
2000    ./ | .// | /cC/* | \    ./ | .// | /[cC]/* | \
2001    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2002    ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \    ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2003    /usr/ucb/* ) ;;    /usr/ucb/* ) ;;
2004    *)    *)
2005      # 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 1904  case $as_dir/ in Line 2036  case $as_dir/ in
2036      ;;      ;;
2037  esac  esac
2038    
2039  done    done
2040  IFS=$as_save_IFS  IFS=$as_save_IFS
2041    
2042  rm -rf conftest.one conftest.two conftest.dir  rm -rf conftest.one conftest.two conftest.dir
# Line 1920  fi Line 2052  fi
2052      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
2053    fi    fi
2054  fi  fi
2055  { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2056  $as_echo "$INSTALL" >&6; }  $as_echo "$INSTALL" >&6; }
2057    
2058  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 1931  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 2063  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2063    
2064  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2065    
2066  { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2067  $as_echo_n "checking whether build environment is sane... " >&6; }  $as_echo_n "checking whether build environment is sane... " >&6; }
2068  # Just in case  # Just in case
2069  sleep 1  sleep 1
# Line 1942  am_lf=' Line 2074  am_lf='
2074  '  '
2075  case `pwd` in  case `pwd` in
2076    *[\\\"\#\$\&\'\`$am_lf]*)    *[\\\"\#\$\&\'\`$am_lf]*)
2077      { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5      as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}  
    { (exit 1); exit 1; }; };;  
2078  esac  esac
2079  case $srcdir in  case $srcdir in
2080    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2081      { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5      as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}  
    { (exit 1); exit 1; }; };;  
2082  esac  esac
2083    
2084  # Do `set' in a subshell so we don't clobber the current shell's  # Do `set' in a subshell so we don't clobber the current shell's
# Line 1972  if ( Line 2100  if (
2100        # if, for instance, CONFIG_SHELL is bash and it inherits a        # if, for instance, CONFIG_SHELL is bash and it inherits a
2101        # broken ls alias from the environment.  This has actually        # broken ls alias from the environment.  This has actually
2102        # happened.  Such a system could not be considered "sane".        # happened.  Such a system could not be considered "sane".
2103        { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken        as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2104  alias in your environment" >&5  alias in your environment" "$LINENO" 5
 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken  
 alias in your environment" >&2;}  
    { (exit 1); exit 1; }; }  
2105     fi     fi
2106    
2107     test "$2" = conftest.file     test "$2" = conftest.file
# Line 1985  then Line 2110  then
2110     # Ok.     # Ok.
2111     :     :
2112  else  else
2113     { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!     as_fn_error "newly created file is older than distributed files!
2114  Check your system clock" >&5  Check your system clock" "$LINENO" 5
 $as_echo "$as_me: error: newly created file is older than distributed files!  
 Check your system clock" >&2;}  
    { (exit 1); exit 1; }; }  
2115  fi  fi
2116  { $as_echo "$as_me:$LINENO: result: yes" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2117  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
2118  test "$program_prefix" != NONE &&  test "$program_prefix" != NONE &&
2119    program_transform_name="s&^&$program_prefix&;$program_transform_name"    program_transform_name="s&^&$program_prefix&;$program_transform_name"
# Line 2019  if eval "$MISSING --run true"; then Line 2141  if eval "$MISSING --run true"; then
2141    am_missing_run="$MISSING --run "    am_missing_run="$MISSING --run "
2142  else  else
2143    am_missing_run=    am_missing_run=
2144    { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2145  $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}  $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2146  fi  fi
2147    
# Line 2040  if test "$cross_compiling" != no; then Line 2162  if test "$cross_compiling" != no; then
2162    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2163    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2164  set dummy ${ac_tool_prefix}strip; ac_word=$2  set dummy ${ac_tool_prefix}strip; ac_word=$2
2165  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2166  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2167  if test "${ac_cv_prog_STRIP+set}" = set; then  if test "${ac_cv_prog_STRIP+set}" = set; then :
2168    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2169  else  else
2170    if test -n "$STRIP"; then    if test -n "$STRIP"; then
# Line 2053  for as_dir in $PATH Line 2175  for as_dir in $PATH
2175  do  do
2176    IFS=$as_save_IFS    IFS=$as_save_IFS
2177    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2178    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2179    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
2180      ac_cv_prog_STRIP="${ac_tool_prefix}strip"      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2181      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2182      break 2      break 2
2183    fi    fi
2184  done  done
2185  done    done
2186  IFS=$as_save_IFS  IFS=$as_save_IFS
2187    
2188  fi  fi
2189  fi  fi
2190  STRIP=$ac_cv_prog_STRIP  STRIP=$ac_cv_prog_STRIP
2191  if test -n "$STRIP"; then  if test -n "$STRIP"; then
2192    { $as_echo "$as_me:$LINENO: result: $STRIP" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2193  $as_echo "$STRIP" >&6; }  $as_echo "$STRIP" >&6; }
2194  else  else
2195    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2196  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2197  fi  fi
2198    
# Line 2080  if test -z "$ac_cv_prog_STRIP"; then Line 2202  if test -z "$ac_cv_prog_STRIP"; then
2202    ac_ct_STRIP=$STRIP    ac_ct_STRIP=$STRIP
2203    # Extract the first word of "strip", so it can be a program name with args.    # Extract the first word of "strip", so it can be a program name with args.
2204  set dummy strip; ac_word=$2  set dummy strip; ac_word=$2
2205  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2206  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2207  if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then  if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2208    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2209  else  else
2210    if test -n "$ac_ct_STRIP"; then    if test -n "$ac_ct_STRIP"; then
# Line 2093  for as_dir in $PATH Line 2215  for as_dir in $PATH
2215  do  do
2216    IFS=$as_save_IFS    IFS=$as_save_IFS
2217    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2218    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2219    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
2220      ac_cv_prog_ac_ct_STRIP="strip"      ac_cv_prog_ac_ct_STRIP="strip"
2221      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2222      break 2      break 2
2223    fi    fi
2224  done  done
2225  done    done
2226  IFS=$as_save_IFS  IFS=$as_save_IFS
2227    
2228  fi  fi
2229  fi  fi
2230  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2231  if test -n "$ac_ct_STRIP"; then  if test -n "$ac_ct_STRIP"; then
2232    { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2233  $as_echo "$ac_ct_STRIP" >&6; }  $as_echo "$ac_ct_STRIP" >&6; }
2234  else  else
2235    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2236  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2237  fi  fi
2238    
# Line 2119  fi Line 2241  fi
2241    else    else
2242      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2243  yes:)  yes:)
2244  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2245  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2246  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2247  esac  esac
# Line 2132  fi Line 2254  fi
2254  fi  fi
2255  INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"  INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2256    
2257  { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2258  $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }  $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2259  if test -z "$MKDIR_P"; then  if test -z "$MKDIR_P"; then
2260    if test "${ac_cv_path_mkdir+set}" = set; then    if test "${ac_cv_path_mkdir+set}" = set; then :
2261    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2262  else  else
2263    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2143  for as_dir in $PATH$PATH_SEPARATOR/opt/s Line 2265  for as_dir in $PATH$PATH_SEPARATOR/opt/s
2265  do  do
2266    IFS=$as_save_IFS    IFS=$as_save_IFS
2267    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2268    for ac_prog in mkdir gmkdir; do      for ac_prog in mkdir gmkdir; do
2269           for ac_exec_ext in '' $ac_executable_extensions; do           for ac_exec_ext in '' $ac_executable_extensions; do
2270             { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue             { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2271             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
# Line 2155  do Line 2277  do
2277             esac             esac
2278           done           done
2279         done         done
2280  done    done
2281  IFS=$as_save_IFS  IFS=$as_save_IFS
2282    
2283  fi  fi
2284    
2285      test -d ./--version && rmdir ./--version
2286    if test "${ac_cv_path_mkdir+set}" = set; then    if test "${ac_cv_path_mkdir+set}" = set; then
2287      MKDIR_P="$ac_cv_path_mkdir -p"      MKDIR_P="$ac_cv_path_mkdir -p"
2288    else    else
# Line 2167  fi Line 2290  fi
2290      # value for MKDIR_P within a source directory, because that will      # value for MKDIR_P within a source directory, because that will
2291      # break other packages using the cache if that directory is      # break other packages using the cache if that directory is
2292      # removed, or if the value is a relative name.      # removed, or if the value is a relative name.
     test -d ./--version && rmdir ./--version  
2293      MKDIR_P="$ac_install_sh -d"      MKDIR_P="$ac_install_sh -d"
2294    fi    fi
2295  fi  fi
2296  { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2297  $as_echo "$MKDIR_P" >&6; }  $as_echo "$MKDIR_P" >&6; }
2298    
2299  mkdir_p="$MKDIR_P"  mkdir_p="$MKDIR_P"
# Line 2184  for ac_prog in gawk mawk nawk awk Line 2306  for ac_prog in gawk mawk nawk awk
2306  do  do
2307    # 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.
2308  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2309  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2310  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2311  if test "${ac_cv_prog_AWK+set}" = set; then  if test "${ac_cv_prog_AWK+set}" = set; then :
2312    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2313  else  else
2314    if test -n "$AWK"; then    if test -n "$AWK"; then
# Line 2197  for as_dir in $PATH Line 2319  for as_dir in $PATH
2319  do  do
2320    IFS=$as_save_IFS    IFS=$as_save_IFS
2321    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2322    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2323    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
2324      ac_cv_prog_AWK="$ac_prog"      ac_cv_prog_AWK="$ac_prog"
2325      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2326      break 2      break 2
2327    fi    fi
2328  done  done
2329  done    done
2330  IFS=$as_save_IFS  IFS=$as_save_IFS
2331    
2332  fi  fi
2333  fi  fi
2334  AWK=$ac_cv_prog_AWK  AWK=$ac_cv_prog_AWK
2335  if test -n "$AWK"; then  if test -n "$AWK"; then
2336    { $as_echo "$as_me:$LINENO: result: $AWK" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2337  $as_echo "$AWK" >&6; }  $as_echo "$AWK" >&6; }
2338  else  else
2339    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2340  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2341  fi  fi
2342    
# Line 2222  fi Line 2344  fi
2344    test -n "$AWK" && break    test -n "$AWK" && break
2345  done  done
2346    
2347  { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2348  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2349  set x ${MAKE-make}  set x ${MAKE-make}
2350  ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`  ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2351  if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then  if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2352    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2353  else  else
2354    cat >conftest.make <<\_ACEOF    cat >conftest.make <<\_ACEOF
# Line 2244  esac Line 2366  esac
2366  rm -f conftest.make  rm -f conftest.make
2367  fi  fi
2368  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2369    { $as_echo "$as_me:$LINENO: result: yes" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2370  $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
2371    SET_MAKE=    SET_MAKE=
2372  else  else
2373    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2374  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2375    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
2376  fi  fi
# Line 2268  if test "`cd $srcdir && pwd`" != "`pwd`" Line 2390  if test "`cd $srcdir && pwd`" != "`pwd`"
2390    am__isrc=' -I$(srcdir)'    am__isrc=' -I$(srcdir)'
2391    # test to see if srcdir already configured    # test to see if srcdir already configured
2392    if test -f $srcdir/config.status; then    if test -f $srcdir/config.status; then
2393      { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5      as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}  
    { (exit 1); exit 1; }; }  
2394    fi    fi
2395  fi  fi
2396    
# Line 2286  fi Line 2406  fi
2406    
2407  # Define the identity of the package.  # Define the identity of the package.
2408   PACKAGE=bti   PACKAGE=bti
2409   VERSION=026   VERSION=027
2410    
2411    
2412  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
# Line 2328  am__tar='${AMTAR} chof - "$$tardir"'; am Line 2448  am__tar='${AMTAR} chof - "$$tardir"'; am
2448    
2449    
2450  # Check whether --enable-silent-rules was given.  # Check whether --enable-silent-rules was given.
2451  if test "${enable_silent_rules+set}" = set; then  if test "${enable_silent_rules+set}" = set; then :
2452    enableval=$enable_silent_rules;    enableval=$enable_silent_rules;
2453  fi  fi
2454    
# Line 2348  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2468  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2468  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
2469    # 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.
2470  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2471  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2472  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2473  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2474    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2475  else  else
2476    if test -n "$CC"; then    if test -n "$CC"; then
# Line 2361  for as_dir in $PATH Line 2481  for as_dir in $PATH
2481  do  do
2482    IFS=$as_save_IFS    IFS=$as_save_IFS
2483    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2484    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2485    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
2486      ac_cv_prog_CC="${ac_tool_prefix}gcc"      ac_cv_prog_CC="${ac_tool_prefix}gcc"
2487      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2488      break 2      break 2
2489    fi    fi
2490  done  done
2491  done    done
2492  IFS=$as_save_IFS  IFS=$as_save_IFS
2493    
2494  fi  fi
2495  fi  fi
2496  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2497  if test -n "$CC"; then  if test -n "$CC"; then
2498    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2499  $as_echo "$CC" >&6; }  $as_echo "$CC" >&6; }
2500  else  else
2501    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2502  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2503  fi  fi
2504    
# Line 2388  if test -z "$ac_cv_prog_CC"; then Line 2508  if test -z "$ac_cv_prog_CC"; then
2508    ac_ct_CC=$CC    ac_ct_CC=$CC
2509    # 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.
2510  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
2511  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2512  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2513  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2514    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2515  else  else
2516    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
# Line 2401  for as_dir in $PATH Line 2521  for as_dir in $PATH
2521  do  do
2522    IFS=$as_save_IFS    IFS=$as_save_IFS
2523    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2524    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2525    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
2526      ac_cv_prog_ac_ct_CC="gcc"      ac_cv_prog_ac_ct_CC="gcc"
2527      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2528      break 2      break 2
2529    fi    fi
2530  done  done
2531  done    done
2532  IFS=$as_save_IFS  IFS=$as_save_IFS
2533    
2534  fi  fi
2535  fi  fi
2536  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2537  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2538    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2539  $as_echo "$ac_ct_CC" >&6; }  $as_echo "$ac_ct_CC" >&6; }
2540  else  else
2541    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2542  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2543  fi  fi
2544    
# Line 2427  fi Line 2547  fi
2547    else    else
2548      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2549  yes:)  yes:)
2550  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2551  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2552  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2553  esac  esac
# Line 2441  if test -z "$CC"; then Line 2561  if test -z "$CC"; then
2561            if test -n "$ac_tool_prefix"; then            if test -n "$ac_tool_prefix"; then
2562      # 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.
2563  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
2564  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2565  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2566  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2567    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2568  else  else
2569    if test -n "$CC"; then    if test -n "$CC"; then
# Line 2454  for as_dir in $PATH Line 2574  for as_dir in $PATH
2574  do  do
2575    IFS=$as_save_IFS    IFS=$as_save_IFS
2576    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2577    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2578    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
2579      ac_cv_prog_CC="${ac_tool_prefix}cc"      ac_cv_prog_CC="${ac_tool_prefix}cc"
2580      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2581      break 2      break 2
2582    fi    fi
2583  done  done
2584  done    done
2585  IFS=$as_save_IFS  IFS=$as_save_IFS
2586    
2587  fi  fi
2588  fi  fi
2589  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2590  if test -n "$CC"; then  if test -n "$CC"; then
2591    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2592  $as_echo "$CC" >&6; }  $as_echo "$CC" >&6; }
2593  else  else
2594    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2595  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2596  fi  fi
2597    
# Line 2481  fi Line 2601  fi
2601  if test -z "$CC"; then  if test -z "$CC"; then
2602    # 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.
2603  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2604  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2606  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2607    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2608  else  else
2609    if test -n "$CC"; then    if test -n "$CC"; then
# Line 2495  for as_dir in $PATH Line 2615  for as_dir in $PATH
2615  do  do
2616    IFS=$as_save_IFS    IFS=$as_save_IFS
2617    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2618    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2619    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
2620      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
2621         ac_prog_rejected=yes         ac_prog_rejected=yes
2622         continue         continue
2623       fi       fi
2624      ac_cv_prog_CC="cc"      ac_cv_prog_CC="cc"
2625      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2626      break 2      break 2
2627    fi    fi
2628  done  done
2629  done    done
2630  IFS=$as_save_IFS  IFS=$as_save_IFS
2631    
2632  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
# Line 2525  fi Line 2645  fi
2645  fi  fi
2646  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2647  if test -n "$CC"; then  if test -n "$CC"; then
2648    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2649  $as_echo "$CC" >&6; }  $as_echo "$CC" >&6; }
2650  else  else
2651    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2652  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2653  fi  fi
2654    
# Line 2540  if test -z "$CC"; then Line 2660  if test -z "$CC"; then
2660    do    do
2661      # 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.
2662  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2663  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2665  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then :
2666    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2667  else  else
2668    if test -n "$CC"; then    if test -n "$CC"; then
# Line 2553  for as_dir in $PATH Line 2673  for as_dir in $PATH
2673  do  do
2674    IFS=$as_save_IFS    IFS=$as_save_IFS
2675    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2676    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2677    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
2678      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2679      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680      break 2      break 2
2681    fi    fi
2682  done  done
2683  done    done
2684  IFS=$as_save_IFS  IFS=$as_save_IFS
2685    
2686  fi  fi
2687  fi  fi
2688  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2689  if test -n "$CC"; then  if test -n "$CC"; then
2690    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2691  $as_echo "$CC" >&6; }  $as_echo "$CC" >&6; }
2692  else  else
2693    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2695  fi  fi
2696    
# Line 2584  if test -z "$CC"; then Line 2704  if test -z "$CC"; then
2704  do  do
2705    # 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.
2706  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2707  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2709  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2710    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2711  else  else
2712    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
# Line 2597  for as_dir in $PATH Line 2717  for as_dir in $PATH
2717  do  do
2718    IFS=$as_save_IFS    IFS=$as_save_IFS
2719    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2720    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
2721    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
2722      ac_cv_prog_ac_ct_CC="$ac_prog"      ac_cv_prog_ac_ct_CC="$ac_prog"
2723      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2724      break 2      break 2
2725    fi    fi
2726  done  done
2727  done    done
2728  IFS=$as_save_IFS  IFS=$as_save_IFS
2729    
2730  fi  fi
2731  fi  fi
2732  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2733  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2734    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2735  $as_echo "$ac_ct_CC" >&6; }  $as_echo "$ac_ct_CC" >&6; }
2736  else  else
2737    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738  $as_echo "no" >&6; }  $as_echo "no" >&6; }
2739  fi  fi
2740    
# Line 2627  done Line 2747  done
2747    else    else
2748      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2749  yes:)  yes:)
2750  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2751  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2752  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2753  esac  esac
# Line 2638  fi Line 2758  fi
2758  fi  fi
2759    
2760    
2761  test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2762  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2763  { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH  as_fn_error "no acceptable C compiler found in \$PATH
2764  See \`config.log' for more details." >&5  See \`config.log' for more details." "$LINENO" 5; }
 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }; }  
2765    
2766  # Provide some information about the compiler.  # Provide some information about the compiler.
2767  $as_echo "$as_me:$LINENO: checking for C compiler version" >&5  $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2768  set X $ac_compile  set X $ac_compile
2769  ac_compiler=$2  ac_compiler=$2
2770  { (ac_try="$ac_compiler --version >&5"  for ac_option in --version -v -V -qversion; do
2771  case "(($ac_try" in    { { ac_try="$ac_compiler $ac_option >&5"
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_compiler --version >&5") 2>&5  
   ac_status=$?  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }  
 { (ac_try="$ac_compiler -v >&5"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_compiler -v >&5") 2>&5  
   ac_status=$?  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }  
 { (ac_try="$ac_compiler -V >&5"  
2772  case "(($ac_try" in  case "(($ac_try" in
2773    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2775  esac  esac
2776  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2777  $as_echo "$ac_try_echo") >&5  $as_echo "$ac_try_echo"; } >&5
2778    (eval "$ac_compiler -V >&5") 2>&5    (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2779    ac_status=$?    ac_status=$?
2780    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    if test -s conftest.err; then
2781    (exit $ac_status); }      sed '10a\
2782    ... rest of stderr output deleted ...
2783             10q' conftest.err >conftest.er1
2784        cat conftest.er1 >&5
2785      fi
2786      rm -f conftest.er1 conftest.err
2787      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2788      test $ac_status = 0; }
2789    done
2790    
2791  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  
2792  /* end confdefs.h.  */  /* end confdefs.h.  */
2793    
2794  int  int
# Line 2704  ac_clean_files="$ac_clean_files a.out a. Line 2804  ac_clean_files="$ac_clean_files a.out a.
2804  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2805  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2806  # of exeext.  # of exeext.
2807  { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2808  $as_echo_n "checking for C compiler default output file name... " >&6; }  $as_echo_n "checking whether the C compiler works... " >&6; }
2809  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2810    
2811  # The possible output files:  # The possible output files:
# Line 2721  do Line 2821  do
2821  done  done
2822  rm -f $ac_rmfiles  rm -f $ac_rmfiles
2823    
2824  if { (ac_try="$ac_link_default"  if { { ac_try="$ac_link_default"
2825  case "(($ac_try" in  case "(($ac_try" in
2826    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2828  esac  esac
2829  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2830  $as_echo "$ac_try_echo") >&5  $as_echo "$ac_try_echo"; } >&5
2831    (eval "$ac_link_default") 2>&5    (eval "$ac_link_default") 2>&5
2832    ac_status=$?    ac_status=$?
2833    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834    (exit $ac_status); }; then    test $ac_status = 0; }; then :
2835    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2836  # 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'
2837  # 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 2748  do Line 2848  do
2848          # certainly right.          # certainly right.
2849          break;;          break;;
2850      *.* )      *.* )
2851          if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;          if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2852          then :; else          then :; else
2853             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`             ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2854          fi          fi
# Line 2767  test "$ac_cv_exeext" = no && ac_cv_exeex Line 2867  test "$ac_cv_exeext" = no && ac_cv_exeex
2867  else  else
2868    ac_file=''    ac_file=''
2869  fi  fi
2870    if test -z "$ac_file"; then :
2871  { $as_echo "$as_me:$LINENO: result: $ac_file" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872  $as_echo "$ac_file" >&6; }  $as_echo "no" >&6; }
2873  if test -z "$ac_file"; then  $as_echo "$as_me: failed program was:" >&5
   $as_echo "$as_me: failed program was:" >&5  
2874  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2875    
2876  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2877  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2878  { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables  { as_fn_set_status 77
2879  See \`config.log' for more details." >&5  as_fn_error "C compiler cannot create executables
2880  $as_echo "$as_me: error: C compiler cannot create executables  See \`config.log' for more details." "$LINENO" 5; }; }
2881  See \`config.log' for more details." >&2;}  else
2882     { (exit 77); exit 77; }; }; }    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2883    $as_echo "yes" >&6; }
2884  fi  fi
2885    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2886    $as_echo_n "checking for C compiler default output file name... " >&6; }
2887    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2888    $as_echo "$ac_file" >&6; }
2889  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2890    
 # Check that the compiler produces executables we can run.  If not, either  
 # the compiler is broken, or we cross compile.  
 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5  
 $as_echo_n "checking whether the C compiler works... " >&6; }  
 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  
 # If not cross compiling, check that we can run a simple program.  
 if test "$cross_compiling" != yes; then  
   if { ac_try='./$ac_file'  
   { (case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_try") 2>&5  
   ac_status=$?  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
     cross_compiling=no  
   else  
     if test "$cross_compiling" = maybe; then  
         cross_compiling=yes  
     else  
         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.  
 If you meant to cross compile, use \`--host'.  
 See \`config.log' for more details." >&5  
 $as_echo "$as_me: error: cannot run C compiled programs.  
 If you meant to cross compile, use \`--host'.  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }; }  
     fi  
   fi  
 fi  
 { $as_echo "$as_me:$LINENO: result: yes" >&5  
 $as_echo "yes" >&6; }  
   
2891  rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out  rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2892  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2893  # Check that the compiler produces executables we can run.  If not, either  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 # the compiler is broken, or we cross compile.  
 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5  
 $as_echo_n "checking whether we are cross compiling... " >&6; }  
 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5  
 $as_echo "$cross_compiling" >&6; }  
   
 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5  
2894  $as_echo_n "checking for suffix of executables... " >&6; }  $as_echo_n "checking for suffix of executables... " >&6; }
2895  if { (ac_try="$ac_link"  if { { ac_try="$ac_link"
2896  case "(($ac_try" in  case "(($ac_try" in
2897    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2898    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2899  esac  esac
2900  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2901  $as_echo "$ac_try_echo") >&5  $as_echo "$ac_try_echo"; } >&5
2902    (eval "$ac_link") 2>&5    (eval "$ac_link") 2>&5
2903    ac_status=$?    ac_status=$?
2904    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905    (exit $ac_status); }; then    test $ac_status = 0; }; then :
2906    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2907  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2908  # 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 2859  for ac_file in conftest.exe conftest con Line 2917  for ac_file in conftest.exe conftest con
2917    esac    esac
2918  done  done
2919  else  else
2920    { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2921  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2922  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link  as_fn_error "cannot compute suffix of executables: cannot compile and link
2923  See \`config.log' for more details." >&5  See \`config.log' for more details." "$LINENO" 5; }
 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }; }  
2924  fi  fi
2925    rm -f conftest conftest$ac_cv_exeext
2926  rm -f conftest$ac_cv_exeext  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5  
2927  $as_echo "$ac_cv_exeext" >&6; }  $as_echo "$ac_cv_exeext" >&6; }
2928    
2929  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2930  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2931  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2932  { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933    /* end confdefs.h.  */
2934    #include <stdio.h>
2935    int
2936    main ()
2937    {
2938    FILE *f = fopen ("conftest.out", "w");
2939     return ferror (f) || fclose (f) != 0;
2940    
2941      ;
2942      return 0;
2943    }
2944    _ACEOF
2945    ac_clean_files="$ac_clean_files conftest.out"
2946    # Check that the compiler produces executables we can run.  If not, either
2947    # the compiler is broken, or we cross compile.
2948    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2949    $as_echo_n "checking whether we are cross compiling... " >&6; }
2950    if test "$cross_compiling" != yes; then
2951      { { ac_try="$ac_link"
2952    case "(($ac_try" in
2953      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2954      *) ac_try_echo=$ac_try;;
2955    esac
2956    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2957    $as_echo "$ac_try_echo"; } >&5
2958      (eval "$ac_link") 2>&5
2959      ac_status=$?
2960      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2961      test $ac_status = 0; }
2962      if { ac_try='./conftest$ac_cv_exeext'
2963      { { case "(($ac_try" in
2964      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2965      *) ac_try_echo=$ac_try;;
2966    esac
2967    eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2968    $as_echo "$ac_try_echo"; } >&5
2969      (eval "$ac_try") 2>&5
2970      ac_status=$?
2971      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2972      test $ac_status = 0; }; }; then
2973        cross_compiling=no
2974      else
2975        if test "$cross_compiling" = maybe; then
2976            cross_compiling=yes
2977        else
2978            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2979    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2980    as_fn_error "cannot run C compiled programs.
2981    If you meant to cross compile, use \`--host'.
2982    See \`config.log' for more details." "$LINENO" 5; }
2983        fi
2984      fi
2985    fi
2986    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2987    $as_echo "$cross_compiling" >&6; }
2988    
2989    rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2990    ac_clean_files=$ac_clean_files_save
2991    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2992  $as_echo_n "checking for suffix of object files... " >&6; }  $as_echo_n "checking for suffix of object files... " >&6; }
2993  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then :
2994    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
2995  else  else
2996    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  
2997  /* end confdefs.h.  */  /* end confdefs.h.  */
2998    
2999  int  int
# Line 2896  main () Line 3005  main ()
3005  }  }
3006  _ACEOF  _ACEOF
3007  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
3008  if { (ac_try="$ac_compile"  if { { ac_try="$ac_compile"
3009  case "(($ac_try" in  case "(($ac_try" in
3010    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
3012  esac  esac
3013  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3014  $as_echo "$ac_try_echo") >&5  $as_echo "$ac_try_echo"; } >&5
3015    (eval "$ac_compile") 2>&5    (eval "$ac_compile") 2>&5
3016    ac_status=$?    ac_status=$?
3017    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3018    (exit $ac_status); }; then    test $ac_status = 0; }; then :
3019    for ac_file in conftest.o conftest.obj conftest.*; do    for ac_file in conftest.o conftest.obj conftest.*; do
3020    test -f "$ac_file" || continue;    test -f "$ac_file" || continue;
3021    case $ac_file in    case $ac_file in
# Line 2919  else Line 3028  else
3028    $as_echo "$as_me: failed program was:" >&5    $as_echo "$as_me: failed program was:" >&5
3029  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3030    
3031  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3032  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3033  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile  as_fn_error "cannot compute suffix of object files: cannot compile
3034  See \`config.log' for more details." >&5  See \`config.log' for more details." "$LINENO" 5; }
 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }; }  
3035  fi  fi
   
3036  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
3037  fi  fi
3038  { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3039  $as_echo "$ac_cv_objext" >&6; }  $as_echo "$ac_cv_objext" >&6; }
3040  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
3041  ac_objext=$OBJEXT  ac_objext=$OBJEXT
3042  { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3043  $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }  $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3044  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3045    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3046  else  else
3047    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  
3048  /* end confdefs.h.  */  /* end confdefs.h.  */
3049    
3050  int  int
# Line 2957  main () Line 3058  main ()
3058    return 0;    return 0;
3059  }  }
3060  _ACEOF  _ACEOF
3061  rm -f conftest.$ac_objext  if ac_fn_c_try_compile "$LINENO"; then :
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_compile") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest.$ac_objext; then  
3062    ac_compiler_gnu=yes    ac_compiler_gnu=yes
3063  else  else
3064    $as_echo "$as_me: failed program was:" >&5    ac_compiler_gnu=no
 sed 's/^/| /' conftest.$ac_ext >&5  
   
         ac_compiler_gnu=no  
3065  fi  fi
   
3066  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3067  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
3068    
3069  fi  fi
3070  { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3071  $as_echo "$ac_cv_c_compiler_gnu" >&6; }  $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3072  if test $ac_compiler_gnu = yes; then  if test $ac_compiler_gnu = yes; then
3073    GCC=yes    GCC=yes
# Line 2996  else Line 3076  else
3076  fi  fi
3077  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
3078  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
3079  { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3080  $as_echo_n "checking whether $CC accepts -g... " >&6; }  $as_echo_n "checking whether $CC accepts -g... " >&6; }
3081  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then :
3082    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3083  else  else
3084    ac_save_c_werror_flag=$ac_c_werror_flag    ac_save_c_werror_flag=$ac_c_werror_flag
3085     ac_c_werror_flag=yes     ac_c_werror_flag=yes
3086     ac_cv_prog_cc_g=no     ac_cv_prog_cc_g=no
3087     CFLAGS="-g"     CFLAGS="-g"
3088     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  
3089  /* end confdefs.h.  */  /* end confdefs.h.  */
3090    
3091  int  int
# Line 3020  main () Line 3096  main ()
3096    return 0;    return 0;
3097  }  }
3098  _ACEOF  _ACEOF
3099  rm -f conftest.$ac_objext  if ac_fn_c_try_compile "$LINENO"; then :
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_compile") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest.$ac_objext; then  
3100    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
3101  else  else
3102    $as_echo "$as_me: failed program was:" >&5    CFLAGS=""
3103  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  
3104  /* end confdefs.h.  */  /* end confdefs.h.  */
3105    
3106  int  int
# Line 3059  main () Line 3111  main ()
3111    return 0;    return 0;
3112  }  }
3113  _ACEOF  _ACEOF
3114  rm -f conftest.$ac_objext  if ac_fn_c_try_compile "$LINENO"; then :
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_compile") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest.$ac_objext; then  
   :  
 else  
   $as_echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
3115    
3116          ac_c_werror_flag=$ac_save_c_werror_flag  else
3117      ac_c_werror_flag=$ac_save_c_werror_flag
3118           CFLAGS="-g"           CFLAGS="-g"
3119           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  
3120  /* end confdefs.h.  */  /* end confdefs.h.  */
3121    
3122  int  int
# Line 3099  main () Line 3127  main ()
3127    return 0;    return 0;
3128  }  }
3129  _ACEOF  _ACEOF
3130  rm -f conftest.$ac_objext  if ac_fn_c_try_compile "$LINENO"; then :
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_compile") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest.$ac_objext; then  
3131    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
 else  
   $as_echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   
3132  fi  fi
   
3133  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3134  fi  fi
   
3135  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3136  fi  fi
   
3137  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138     ac_c_werror_flag=$ac_save_c_werror_flag     ac_c_werror_flag=$ac_save_c_werror_flag
3139  fi  fi
3140  { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3141  $as_echo "$ac_cv_prog_cc_g" >&6; }  $as_echo "$ac_cv_prog_cc_g" >&6; }
3142  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
3143    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 3151  else Line 3154  else
3154      CFLAGS=      CFLAGS=
3155    fi    fi
3156  fi  fi
3157  { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3158  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3159  if test "${ac_cv_prog_cc_c89+set}" = set; then  if test "${ac_cv_prog_cc_c89+set}" = set; then :
3160    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3161  else  else
3162    ac_cv_prog_cc_c89=no    ac_cv_prog_cc_c89=no
3163  ac_save_CC=$CC  ac_save_CC=$CC
3164  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  
3165  /* end confdefs.h.  */  /* end confdefs.h.  */
3166  #include <stdarg.h>  #include <stdarg.h>
3167  #include <stdio.h>  #include <stdio.h>
# Line 3219  for ac_arg in '' -qlanglvl=extc89 -qlang Line 3218  for ac_arg in '' -qlanglvl=extc89 -qlang
3218          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"          -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3219  do  do
3220    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
3221    rm -f conftest.$ac_objext    if ac_fn_c_try_compile "$LINENO"; then :
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_compile") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest.$ac_objext; then  
3222    ac_cv_prog_cc_c89=$ac_arg    ac_cv_prog_cc_c89=$ac_arg
 else  
   $as_echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   
3223  fi  fi
   
3224  rm -f core conftest.err conftest.$ac_objext  rm -f core conftest.err conftest.$ac_objext
3225    test "x$ac_cv_prog_cc_c89" != "xno" && break    test "x$ac_cv_prog_cc_c89" != "xno" && break
3226  done  done
# Line 3255  fi Line 3231  fi
3231  # AC_CACHE_VAL  # AC_CACHE_VAL
3232  case "x$ac_cv_prog_cc_c89" in  case "x$ac_cv_prog_cc_c89" in
3233    x)    x)
3234      { $as_echo "$as_me:$LINENO: result: none needed" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3235  $as_echo "none needed" >&6; } ;;  $as_echo "none needed" >&6; } ;;
3236    xno)    xno)
3237      { $as_echo "$as_me:$LINENO: result: unsupported" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3238  $as_echo "unsupported" >&6; } ;;  $as_echo "unsupported" >&6; } ;;
3239    *)    *)
3240      CC="$CC $ac_cv_prog_cc_c89"      CC="$CC $ac_cv_prog_cc_c89"
3241      { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3242  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3243  esac  esac
3244    if test "x$ac_cv_prog_cc_c89" != xno; then :
3245    
3246    fi
3247    
3248  ac_ext=c  ac_ext=c
3249  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
# Line 3284  am__doit: Line 3262  am__doit:
3262  .PHONY: am__doit  .PHONY: am__doit
3263  END  END
3264  # If we don't find an include directive, just comment out the code.  # If we don't find an include directive, just comment out the code.
3265  { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3266  $as_echo_n "checking for style of include used by $am_make... " >&6; }  $as_echo_n "checking for style of include used by $am_make... " >&6; }
3267  am__include="#"  am__include="#"
3268  am__quote=  am__quote=
# Line 3312  if test "$am__include" = "#"; then Line 3290  if test "$am__include" = "#"; then
3290  fi  fi
3291    
3292    
3293  { $as_echo "$as_me:$LINENO: result: $_am_result" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3294  $as_echo "$_am_result" >&6; }  $as_echo "$_am_result" >&6; }
3295  rm -f confinc confmf  rm -f confinc confmf
3296    
3297  # Check whether --enable-dependency-tracking was given.  # Check whether --enable-dependency-tracking was given.
3298  if test "${enable_dependency_tracking+set}" = set; then  if test "${enable_dependency_tracking+set}" = set; then :
3299    enableval=$enable_dependency_tracking;    enableval=$enable_dependency_tracking;
3300  fi  fi
3301    
# Line 3337  fi Line 3315  fi
3315    
3316  depcc="$CC"   am_compiler_list=  depcc="$CC"   am_compiler_list=
3317    
3318  { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3319  $as_echo_n "checking dependency style of $depcc... " >&6; }  $as_echo_n "checking dependency style of $depcc... " >&6; }
3320  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3321    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3322  else  else
3323    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3447  else Line 3425  else
3425  fi  fi
3426    
3427  fi  fi
3428  { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3429  $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }  $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3430  CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type  CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3431    
# Line 3462  else Line 3440  else
3440  fi  fi
3441    
3442    
 # Find a good install program.  We prefer a C program (faster),  
 # so one script is as good as another.  But avoid the broken or  
 # incompatible versions:  
 # SysV /etc/install, /usr/sbin/install  
 # SunOS /usr/etc/install  
 # IRIX /sbin/install  
 # AIX /bin/install  
 # AmigaOS /C/install, which installs bootblocks on floppy discs  
 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  
 # AFS /usr/afsws/bin/install, which mishandles nonexistent args  
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  
 # OS/2's system install, which has a completely different semantic  
 # ./install, which can be erroneously created by make from ./install.sh.  
 # Reject install programs that cannot install multiple files.  
 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  
 $as_echo_n "checking for a BSD-compatible install... " >&6; }  
 if test -z "$INSTALL"; then  
 if test "${ac_cv_path_install+set}" = set; then  
   $as_echo_n "(cached) " >&6  
 else  
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   # Account for people who put trailing slashes in PATH elements.  
 case $as_dir/ in  
   ./ | .// | /cC/* | \  
   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \  
   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \  
   /usr/ucb/* ) ;;  
   *)  
     # OSF1 and SCO ODT 3.0 have their own names for install.  
     # Don't use installbsd from OSF since it installs stuff as root  
     # by default.  
     for ac_prog in ginstall scoinst install; do  
       for ac_exec_ext in '' $ac_executable_extensions; do  
         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then  
           if test $ac_prog = install &&  
             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then  
             # AIX install.  It has an incompatible calling convention.  
             :  
           elif test $ac_prog = install &&  
             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then  
             # program-specific install script used by HP pwplus--don't use.  
             :  
           else  
             rm -rf conftest.one conftest.two conftest.dir  
             echo one > conftest.one  
             echo two > conftest.two  
             mkdir conftest.dir  
             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&  
               test -s conftest.one && test -s conftest.two &&  
               test -s conftest.dir/conftest.one &&  
               test -s conftest.dir/conftest.two  
             then  
               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"  
               break 3  
             fi  
           fi  
         fi  
       done  
     done  
     ;;  
 esac  
   
 done  
 IFS=$as_save_IFS  
   
 rm -rf conftest.one conftest.two conftest.dir  
   
 fi  
   if test "${ac_cv_path_install+set}" = set; then  
     INSTALL=$ac_cv_path_install  
   else  
     # As a last resort, use the slow shell script.  Don't cache a  
     # value for INSTALL within a source directory, because that will  
     # break other packages using the cache if that directory is  
     # removed, or if the value is a relative name.  
     INSTALL=$ac_install_sh  
   fi  
 fi  
 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5  
 $as_echo "$INSTALL" >&6; }  
   
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  
 # It thinks the first close brace ends the variable substitution.  
 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  
   
 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'  
   
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  
3443    
3444    
3445    
3446    
3447  # Extract the first word of "xsltproc", so it can be a program name with args.  # Extract the first word of "xsltproc", so it can be a program name with args.
3448  set dummy xsltproc; ac_word=$2  set dummy xsltproc; ac_word=$2
3449  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3450  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
3451  if test "${ac_cv_path_XSLTPROC+set}" = set; then  if test "${ac_cv_path_XSLTPROC+set}" = set; then :
3452    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3453  else  else
3454    case $XSLTPROC in    case $XSLTPROC in
# Line 3575  for as_dir in $PATH Line 3461  for as_dir in $PATH
3461  do  do
3462    IFS=$as_save_IFS    IFS=$as_save_IFS
3463    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
3464    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
3465    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
3466      ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
3467      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3468      break 2      break 2
3469    fi    fi
3470  done  done
3471  done    done
3472  IFS=$as_save_IFS  IFS=$as_save_IFS
3473    
3474    ;;    ;;
# Line 3590  esac Line 3476  esac
3476  fi  fi
3477  XSLTPROC=$ac_cv_path_XSLTPROC  XSLTPROC=$ac_cv_path_XSLTPROC
3478  if test -n "$XSLTPROC"; then  if test -n "$XSLTPROC"; then
3479    { $as_echo "$as_me:$LINENO: result: $XSLTPROC" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
3480  $as_echo "$XSLTPROC" >&6; }  $as_echo "$XSLTPROC" >&6; }
3481  else  else
3482    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3483  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3484  fi  fi
3485    
3486    
3487    
3488    
3489    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
 { $as_echo "$as_me:$LINENO: checking for main in -lnsl" >&5  
3490  $as_echo_n "checking for main in -lnsl... " >&6; }  $as_echo_n "checking for main in -lnsl... " >&6; }
3491  if test "${ac_cv_lib_nsl_main+set}" = set; then  if test "${ac_cv_lib_nsl_main+set}" = set; then :
3492    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3493  else  else
3494    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3495  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
3496  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  
3497  /* end confdefs.h.  */  /* end confdefs.h.  */
3498    
3499    
# Line 3624  return main (); Line 3505  return main ();
3505    return 0;    return 0;
3506  }  }
3507  _ACEOF  _ACEOF
3508  rm -f conftest.$ac_objext conftest$ac_exeext  if ac_fn_c_try_link "$LINENO"; then :
 if { (ac_try="$ac_link"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_link") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest$ac_exeext && {  
          test "$cross_compiling" = yes ||  
          $as_test_x conftest$ac_exeext  
        }; then  
3509    ac_cv_lib_nsl_main=yes    ac_cv_lib_nsl_main=yes
3510  else  else
3511    $as_echo "$as_me: failed program was:" >&5    ac_cv_lib_nsl_main=no
 sed 's/^/| /' conftest.$ac_ext >&5  
   
         ac_cv_lib_nsl_main=no  
3512  fi  fi
3513    rm -f core conftest.err conftest.$ac_objext \
3514  rm -rf conftest.dSYM      conftest$ac_exeext conftest.$ac_ext
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \  
       conftest$ac_exeext conftest.$ac_ext  
3515  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3516  fi  fi
3517  { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
3518  $as_echo "$ac_cv_lib_nsl_main" >&6; }  $as_echo "$ac_cv_lib_nsl_main" >&6; }
3519  if test "x$ac_cv_lib_nsl_main" = x""yes; then  if test "x$ac_cv_lib_nsl_main" = x""yes; then :
3520    cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
3521  #define HAVE_LIBNSL 1  #define HAVE_LIBNSL 1
3522  _ACEOF  _ACEOF
# Line 3671  fi Line 3527  fi
3527    
3528    
3529    
3530  { $as_echo "$as_me:$LINENO: checking for main in -lpcre" >&5  
3531  $as_echo_n "checking for main in -lpcre... " >&6; }  if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3532  if test "${ac_cv_lib_pcre_main+set}" = set; then          if test -n "$ac_tool_prefix"; then
3533      # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3534    set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3535    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536    $as_echo_n "checking for $ac_word... " >&6; }
3537    if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
3538    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3539  else  else
3540    ac_check_lib_save_LIBS=$LIBS    case $PKG_CONFIG in
3541  LIBS="-lpcre  $LIBS"    [\\/]* | ?:[\\/]*)
3542  cat >conftest.$ac_ext <<_ACEOF    ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3543  /* confdefs.h.  */    ;;
3544  _ACEOF    *)
3545  cat confdefs.h >>conftest.$ac_ext    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546  cat >>conftest.$ac_ext <<_ACEOF  for as_dir in $PATH
3547  /* end confdefs.h.  */  do
3548      IFS=$as_save_IFS
3549      test -z "$as_dir" && as_dir=.
3550        for ac_exec_ext in '' $ac_executable_extensions; do
3551      if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3552        ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3553        $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3554        break 2
3555      fi
3556    done
3557      done
3558    IFS=$as_save_IFS
3559    
3560      ;;
3561    esac
3562    fi
3563    PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3564    if test -n "$PKG_CONFIG"; then
3565      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3566    $as_echo "$PKG_CONFIG" >&6; }
3567    else
3568      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569    $as_echo "no" >&6; }
3570    fi
3571    
3572  int  
3573  main ()  fi
3574  {  if test -z "$ac_cv_path_PKG_CONFIG"; then
3575  return main ();    ac_pt_PKG_CONFIG=$PKG_CONFIG
3576    ;    # Extract the first word of "pkg-config", so it can be a program name with args.
3577    return 0;  set dummy pkg-config; ac_word=$2
3578  }  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3579  _ACEOF  $as_echo_n "checking for $ac_word... " >&6; }
3580  rm -f conftest.$ac_objext conftest$ac_exeext  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
3581  if { (ac_try="$ac_link"    $as_echo_n "(cached) " >&6
3582  case "(($ac_try" in  else
3583    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    case $ac_pt_PKG_CONFIG in
3584    *) ac_try_echo=$ac_try;;    [\\/]* | ?:[\\/]*)
3585      ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3586      ;;
3587      *)
3588      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3589    for as_dir in $PATH
3590    do
3591      IFS=$as_save_IFS
3592      test -z "$as_dir" && as_dir=.
3593        for ac_exec_ext in '' $ac_executable_extensions; do
3594      if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3595        ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3596        $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3597        break 2
3598      fi
3599    done
3600      done
3601    IFS=$as_save_IFS
3602    
3603      ;;
3604  esac  esac
3605  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  fi
3606  $as_echo "$ac_try_echo") >&5  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3607    (eval "$ac_link") 2>conftest.er1  if test -n "$ac_pt_PKG_CONFIG"; then
3608    ac_status=$?    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3609    grep -v '^ *+' conftest.er1 >conftest.err  $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   rm -f conftest.er1  
   cat conftest.err >&5  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest$ac_exeext && {  
          test "$cross_compiling" = yes ||  
          $as_test_x conftest$ac_exeext  
        }; then  
   ac_cv_lib_pcre_main=yes  
3610  else  else
3611    $as_echo "$as_me: failed program was:" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612  sed 's/^/| /' conftest.$ac_ext >&5  $as_echo "no" >&6; }
3613    fi
3614    
3615          ac_cv_lib_pcre_main=no    if test "x$ac_pt_PKG_CONFIG" = x; then
3616        PKG_CONFIG=""
3617      else
3618        case $cross_compiling:$ac_tool_warned in
3619    yes:)
3620    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3621    $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3622    ac_tool_warned=yes ;;
3623    esac
3624        PKG_CONFIG=$ac_pt_PKG_CONFIG
3625      fi
3626    else
3627      PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3628  fi  fi
3629    
 rm -rf conftest.dSYM  
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \  
       conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
3630  fi  fi
3631  { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_main" >&5  if test -n "$PKG_CONFIG"; then
3632  $as_echo "$ac_cv_lib_pcre_main" >&6; }          _pkg_min_version=0.9.0
3633  if test "x$ac_cv_lib_pcre_main" = x""yes; then          { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3634    cat >>confdefs.h <<_ACEOF  $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3635  #define HAVE_LIBPCRE 1          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3636  _ACEOF                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3637    $as_echo "yes" >&6; }
3638            else
3639                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3640    $as_echo "no" >&6; }
3641                    PKG_CONFIG=""
3642            fi
3643    
3644    fi
3645    
   LIBS="-lpcre $LIBS"  
3646    
3647    pkg_failed=no
3648    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBOAUTH" >&5
3649    $as_echo_n "checking for LIBOAUTH... " >&6; }
3650    
3651    if test -n "$LIBOAUTH_CFLAGS"; then
3652        pkg_cv_LIBOAUTH_CFLAGS="$LIBOAUTH_CFLAGS"
3653     elif test -n "$PKG_CONFIG"; then
3654        if test -n "$PKG_CONFIG" && \
3655        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"oauth\""; } >&5
3656      ($PKG_CONFIG --exists --print-errors "oauth") 2>&5
3657      ac_status=$?
3658      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3659      test $ac_status = 0; }; then
3660      pkg_cv_LIBOAUTH_CFLAGS=`$PKG_CONFIG --cflags "oauth" 2>/dev/null`
3661    else
3662      pkg_failed=yes
3663    fi
3664     else
3665        pkg_failed=untried
3666    fi
3667    if test -n "$LIBOAUTH_LIBS"; then
3668        pkg_cv_LIBOAUTH_LIBS="$LIBOAUTH_LIBS"
3669     elif test -n "$PKG_CONFIG"; then
3670        if test -n "$PKG_CONFIG" && \
3671        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"oauth\""; } >&5
3672      ($PKG_CONFIG --exists --print-errors "oauth") 2>&5
3673      ac_status=$?
3674      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3675      test $ac_status = 0; }; then
3676      pkg_cv_LIBOAUTH_LIBS=`$PKG_CONFIG --libs "oauth" 2>/dev/null`
3677    else
3678      pkg_failed=yes
3679    fi
3680     else
3681        pkg_failed=untried
3682  fi  fi
3683    
3684    
 # CURL  
3685    
3686    if test $pkg_failed = yes; then
3687    
3688    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3689            _pkg_short_errors_supported=yes
3690    else
3691            _pkg_short_errors_supported=no
3692    fi
3693            if test $_pkg_short_errors_supported = yes; then
3694                    LIBOAUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "oauth" 2>&1`
3695            else
3696                    LIBOAUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors "oauth" 2>&1`
3697            fi
3698            # Put the nasty error message in config.log where it belongs
3699            echo "$LIBOAUTH_PKG_ERRORS" >&5
3700    
3701            as_fn_error "Package requirements (oauth) were not met:
3702    
3703    $LIBOAUTH_PKG_ERRORS
3704    
3705    Consider adjusting the PKG_CONFIG_PATH environment variable if you
3706    installed software in a non-standard prefix.
3707    
3708    Alternatively, you may set the environment variables LIBOAUTH_CFLAGS
3709    and LIBOAUTH_LIBS to avoid the need to call pkg-config.
3710    See the pkg-config man page for more details.
3711    " "$LINENO" 5
3712    elif test $pkg_failed = untried; then
3713            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3714    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3715    as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
3716    is in your PATH or set the PKG_CONFIG environment variable to the full
3717    path to pkg-config.
3718    
3719    Alternatively, you may set the environment variables LIBOAUTH_CFLAGS
3720    and LIBOAUTH_LIBS to avoid the need to call pkg-config.
3721    See the pkg-config man page for more details.
3722    
3723    To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3724    See \`config.log' for more details." "$LINENO" 5; }
3725    else
3726            LIBOAUTH_CFLAGS=$pkg_cv_LIBOAUTH_CFLAGS
3727            LIBOAUTH_LIBS=$pkg_cv_LIBOAUTH_LIBS
3728            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3729    $as_echo "yes" >&6; }
3730            :
3731    fi
3732    
3733    
3734    
3735    
3736    pkg_failed=no
3737    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPCRE" >&5
3738    $as_echo_n "checking for LIBPCRE... " >&6; }
3739    
3740    if test -n "$LIBPCRE_CFLAGS"; then
3741        pkg_cv_LIBPCRE_CFLAGS="$LIBPCRE_CFLAGS"
3742     elif test -n "$PKG_CONFIG"; then
3743        if test -n "$PKG_CONFIG" && \
3744        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre\""; } >&5
3745      ($PKG_CONFIG --exists --print-errors "libpcre") 2>&5
3746      ac_status=$?
3747      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3748      test $ac_status = 0; }; then
3749      pkg_cv_LIBPCRE_CFLAGS=`$PKG_CONFIG --cflags "libpcre" 2>/dev/null`
3750    else
3751      pkg_failed=yes
3752    fi
3753     else
3754        pkg_failed=untried
3755    fi
3756    if test -n "$LIBPCRE_LIBS"; then
3757        pkg_cv_LIBPCRE_LIBS="$LIBPCRE_LIBS"
3758     elif test -n "$PKG_CONFIG"; then
3759        if test -n "$PKG_CONFIG" && \
3760        { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre\""; } >&5
3761      ($PKG_CONFIG --exists --print-errors "libpcre") 2>&5
3762      ac_status=$?
3763      $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3764      test $ac_status = 0; }; then
3765      pkg_cv_LIBPCRE_LIBS=`$PKG_CONFIG --libs "libpcre" 2>/dev/null`
3766    else
3767      pkg_failed=yes
3768    fi
3769     else
3770        pkg_failed=untried
3771    fi
3772    
3773    
3774    
3775    if test $pkg_failed = yes; then
3776    
3777    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3778            _pkg_short_errors_supported=yes
3779    else
3780            _pkg_short_errors_supported=no
3781    fi
3782            if test $_pkg_short_errors_supported = yes; then
3783                    LIBPCRE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpcre" 2>&1`
3784            else
3785                    LIBPCRE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpcre" 2>&1`
3786            fi
3787            # Put the nasty error message in config.log where it belongs
3788            echo "$LIBPCRE_PKG_ERRORS" >&5
3789    
3790            as_fn_error "Package requirements (libpcre) were not met:
3791    
3792    $LIBPCRE_PKG_ERRORS
3793    
3794    Consider adjusting the PKG_CONFIG_PATH environment variable if you
3795    installed software in a non-standard prefix.
3796    
3797    Alternatively, you may set the environment variables LIBPCRE_CFLAGS
3798    and LIBPCRE_LIBS to avoid the need to call pkg-config.
3799    See the pkg-config man page for more details.
3800    " "$LINENO" 5
3801    elif test $pkg_failed = untried; then
3802            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3803    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3804    as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
3805    is in your PATH or set the PKG_CONFIG environment variable to the full
3806    path to pkg-config.
3807    
3808    Alternatively, you may set the environment variables LIBPCRE_CFLAGS
3809    and LIBPCRE_LIBS to avoid the need to call pkg-config.
3810    See the pkg-config man page for more details.
3811    
3812    To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3813    See \`config.log' for more details." "$LINENO" 5; }
3814    else
3815            LIBPCRE_CFLAGS=$pkg_cv_LIBPCRE_CFLAGS
3816            LIBPCRE_LIBS=$pkg_cv_LIBPCRE_LIBS
3817            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3818    $as_echo "yes" >&6; }
3819            :
3820    fi
3821    
3822    
3823    
3824    
3825    # CURL
3826    
3827    
3828    
# Line 3780  fi Line 3849  fi
3849    
3850    
3851  # Check whether --with-libcurl was given.  # Check whether --with-libcurl was given.
3852  if test "${with_libcurl+set}" = set; then  if test "${with_libcurl+set}" = set; then :
3853    withval=$with_libcurl; _libcurl_with=$withval    withval=$with_libcurl; _libcurl_with=$withval
3854  else  else
3855    _libcurl_with=yes    _libcurl_with=yes
# Line 3793  fi Line 3862  fi
3862  do  do
3863    # 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.
3864  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3865  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3866  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
3867  if test "${ac_cv_prog_AWK+set}" = set; then  if test "${ac_cv_prog_AWK+set}" = set; then :
3868    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3869  else  else
3870    if test -n "$AWK"; then    if test -n "$AWK"; then
# Line 3806  for as_dir in $PATH Line 3875  for as_dir in $PATH
3875  do  do
3876    IFS=$as_save_IFS    IFS=$as_save_IFS
3877    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
3878    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
3879    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
3880      ac_cv_prog_AWK="$ac_prog"      ac_cv_prog_AWK="$ac_prog"
3881      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3882      break 2      break 2
3883    fi    fi
3884  done  done
3885  done    done
3886  IFS=$as_save_IFS  IFS=$as_save_IFS
3887    
3888  fi  fi
3889  fi  fi
3890  AWK=$ac_cv_prog_AWK  AWK=$ac_cv_prog_AWK
3891  if test -n "$AWK"; then  if test -n "$AWK"; then
3892    { $as_echo "$as_me:$LINENO: result: $AWK" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3893  $as_echo "$AWK" >&6; }  $as_echo "$AWK" >&6; }
3894  else  else
3895    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3896  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3897  fi  fi
3898    
# Line 3841  done Line 3910  done
3910          _libcurl_ldflags="-L$withval/lib"          _libcurl_ldflags="-L$withval/lib"
3911          # Extract the first word of "curl-config", so it can be a program name with args.          # Extract the first word of "curl-config", so it can be a program name with args.
3912  set dummy curl-config; ac_word=$2  set dummy curl-config; ac_word=$2
3913  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3914  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
3915  if test "${ac_cv_path__libcurl_config+set}" = set; then  if test "${ac_cv_path__libcurl_config+set}" = set; then :
3916    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3917  else  else
3918    case $_libcurl_config in    case $_libcurl_config in
# Line 3856  for as_dir in "$withval/bin" Line 3925  for as_dir in "$withval/bin"
3925  do  do
3926    IFS=$as_save_IFS    IFS=$as_save_IFS
3927    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
3928    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
3929    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
3930      ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"
3931      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3932      break 2      break 2
3933    fi    fi
3934  done  done
3935  done    done
3936  IFS=$as_save_IFS  IFS=$as_save_IFS
3937    
3938    test -z "$ac_cv_path__libcurl_config" && ac_cv_path__libcurl_config=""$withval/bin""    test -z "$ac_cv_path__libcurl_config" && ac_cv_path__libcurl_config=""$withval/bin""
# Line 3872  esac Line 3941  esac
3941  fi  fi
3942  _libcurl_config=$ac_cv_path__libcurl_config  _libcurl_config=$ac_cv_path__libcurl_config
3943  if test -n "$_libcurl_config"; then  if test -n "$_libcurl_config"; then
3944    { $as_echo "$as_me:$LINENO: result: $_libcurl_config" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_libcurl_config" >&5
3945  $as_echo "$_libcurl_config" >&6; }  $as_echo "$_libcurl_config" >&6; }
3946  else  else
3947    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3949  fi  fi
3950    
3951    
3952       else       else
3953          # Extract the first word of "curl-config", so it can be a program name with args.          # Extract the first word of "curl-config", so it can be a program name with args.
3954  set dummy curl-config; ac_word=$2  set dummy curl-config; ac_word=$2
3955  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3956  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
3957  if test "${ac_cv_path__libcurl_config+set}" = set; then  if test "${ac_cv_path__libcurl_config+set}" = set; then :
3958    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
3959  else  else
3960    case $_libcurl_config in    case $_libcurl_config in
# Line 3898  for as_dir in $PATH Line 3967  for as_dir in $PATH
3967  do  do
3968    IFS=$as_save_IFS    IFS=$as_save_IFS
3969    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
3970    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
3971    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
3972      ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"
3973      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3974      break 2      break 2
3975    fi    fi
3976  done  done
3977  done    done
3978  IFS=$as_save_IFS  IFS=$as_save_IFS
3979    
3980    ;;    ;;
# Line 3913  esac Line 3982  esac
3982  fi  fi
3983  _libcurl_config=$ac_cv_path__libcurl_config  _libcurl_config=$ac_cv_path__libcurl_config
3984  if test -n "$_libcurl_config"; then  if test -n "$_libcurl_config"; then
3985    { $as_echo "$as_me:$LINENO: result: $_libcurl_config" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_libcurl_config" >&5
3986  $as_echo "$_libcurl_config" >&6; }  $as_echo "$_libcurl_config" >&6; }
3987  else  else
3988    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3989  $as_echo "no" >&6; }  $as_echo "no" >&6; }
3990  fi  fi
3991    
# Line 3924  fi Line 3993  fi
3993       fi       fi
3994    
3995       if test x$_libcurl_config != "x" ; then       if test x$_libcurl_config != "x" ; then
3996          { $as_echo "$as_me:$LINENO: checking for the version of libcurl" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the version of libcurl" >&5
3997  $as_echo_n "checking for the version of libcurl... " >&6; }  $as_echo_n "checking for the version of libcurl... " >&6; }
3998  if test "${libcurl_cv_lib_curl_version+set}" = set; then  if test "${libcurl_cv_lib_curl_version+set}" = set; then :
3999    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
4000  else  else
4001    libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $2}'`    libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $2}'`
4002  fi  fi
4003  { $as_echo "$as_me:$LINENO: result: $libcurl_cv_lib_curl_version" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_version" >&5
4004  $as_echo "$libcurl_cv_lib_curl_version" >&6; }  $as_echo "$libcurl_cv_lib_curl_version" >&6; }
4005    
4006          _libcurl_version=`echo $libcurl_cv_lib_curl_version | $_libcurl_version_parse`          _libcurl_version=`echo $libcurl_cv_lib_curl_version | $_libcurl_version_parse`
4007          _libcurl_wanted=`echo 0 | $_libcurl_version_parse`          _libcurl_wanted=`echo 0 | $_libcurl_version_parse`
4008    
4009          if test $_libcurl_wanted -gt 0 ; then          if test $_libcurl_wanted -gt 0 ; then
4010             { $as_echo "$as_me:$LINENO: checking for libcurl >= version " >&5             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl >= version " >&5
4011  $as_echo_n "checking for libcurl >= version ... " >&6; }  $as_echo_n "checking for libcurl >= version ... " >&6; }
4012  if test "${libcurl_cv_lib_version_ok+set}" = set; then  if test "${libcurl_cv_lib_version_ok+set}" = set; then :
4013    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
4014  else  else
4015    
4016                if test $_libcurl_version -ge $_libcurl_wanted ; then                if test $_libcurl_version -ge $_libcurl_wanted ; then
4017                   libcurl_cv_lib_version_ok=yes                   libcurl_cv_lib_version_ok=yes
4018                else                else
4019                   libcurl_cv_lib_version_ok=no                   libcurl_cv_lib_version_ok=no
4020                fi                fi
4021    
4022  fi  fi
4023  { $as_echo "$as_me:$LINENO: result: $libcurl_cv_lib_version_ok" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_version_ok" >&5
4024  $as_echo "$libcurl_cv_lib_version_ok" >&6; }  $as_echo "$libcurl_cv_lib_version_ok" >&6; }
4025          fi          fi
4026    
4027          if test $_libcurl_wanted -eq 0 || test x$libcurl_cv_lib_version_ok = xyes ; then          if test $_libcurl_wanted -eq 0 || test x$libcurl_cv_lib_version_ok = xyes ; then
4028             if test x"$LIBCURL_CPPFLAGS" = "x" ; then             if test x"$LIBCURL_CPPFLAGS" = "x" ; then
4029                LIBCURL_CPPFLAGS=`$_libcurl_config --cflags`                LIBCURL_CPPFLAGS=`$_libcurl_config --cflags`
4030             fi             fi
# Line 3963  $as_echo "$libcurl_cv_lib_version_ok" >& Line 4032  $as_echo "$libcurl_cv_lib_version_ok" >&
4032                LIBCURL=`$_libcurl_config --libs`                LIBCURL=`$_libcurl_config --libs`
4033    
4034                # This is so silly, but Apple actually has a bug in their                # This is so silly, but Apple actually has a bug in their
4035                # curl-config script.  Fixed in Tiger, but there are still                # curl-config script.  Fixed in Tiger, but there are still
4036                # lots of Panther installs around.                # lots of Panther installs around.
4037                case "${host}" in                case "${host}" in
4038                   powerpc-apple-darwin7*)                   powerpc-apple-darwin7*)
4039                      LIBCURL=`echo $LIBCURL | sed -e 's|-arch i386||g'`                      LIBCURL=`echo $LIBCURL | sed -e 's|-arch i386||g'`
# Line 3972  $as_echo "$libcurl_cv_lib_version_ok" >& Line 4041  $as_echo "$libcurl_cv_lib_version_ok" >&
4041                esac                esac
4042             fi             fi
4043    
4044             # All curl-config scripts support --feature             # All curl-config scripts support --feature
4045             _libcurl_features=`$_libcurl_config --feature`             _libcurl_features=`$_libcurl_config --feature`
4046    
4047             # Is it modern enough to have --protocols? (7.12.4)             # Is it modern enough to have --protocols? (7.12.4)
4048             if test $_libcurl_version -ge 461828 ; then             if test $_libcurl_version -ge 461828 ; then
4049                _libcurl_protocols=`$_libcurl_config --protocols`                _libcurl_protocols=`$_libcurl_config --protocols`
4050             fi             fi
4051          else          else
4052             _libcurl_try_link=no             _libcurl_try_link=no
4053          fi          fi
4054    
4055          unset _libcurl_wanted          unset _libcurl_wanted
4056       fi       fi
4057    
4058       if test $_libcurl_try_link = yes ; then       if test $_libcurl_try_link = yes ; then
# Line 3992  $as_echo "$libcurl_cv_lib_version_ok" >& Line 4061  $as_echo "$libcurl_cv_lib_version_ok" >&
4061          # link line (or failing that, "-lcurl") is enough.          # link line (or failing that, "-lcurl") is enough.
4062          LIBCURL=${LIBCURL-"$_libcurl_ldflags -lcurl"}          LIBCURL=${LIBCURL-"$_libcurl_ldflags -lcurl"}
4063    
4064          { $as_echo "$as_me:$LINENO: checking whether libcurl is usable" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcurl is usable" >&5
4065  $as_echo_n "checking whether libcurl is usable... " >&6; }  $as_echo_n "checking whether libcurl is usable... " >&6; }
4066  if test "${libcurl_cv_lib_curl_usable+set}" = set; then  if test "${libcurl_cv_lib_curl_usable+set}" = set; then :
4067    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
4068  else  else
4069    
# Line 4003  else Line 4072  else
4072             _libcurl_save_libs=$LIBS             _libcurl_save_libs=$LIBS
4073             LIBS="$LIBCURL $LIBS"             LIBS="$LIBCURL $LIBS"
4074    
4075             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  
4076  /* end confdefs.h.  */  /* end confdefs.h.  */
4077  #include <curl/curl.h>  #include <curl/curl.h>
4078  int  int
# Line 4029  x=CURLOPT_VERBOSE; Line 4094  x=CURLOPT_VERBOSE;
4094    return 0;    return 0;
4095  }  }
4096  _ACEOF  _ACEOF
4097  rm -f conftest.$ac_objext conftest$ac_exeext  if ac_fn_c_try_link "$LINENO"; then :
 if { (ac_try="$ac_link"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_link") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest$ac_exeext && {  
          test "$cross_compiling" = yes ||  
          $as_test_x conftest$ac_exeext  
        }; then  
4098    libcurl_cv_lib_curl_usable=yes    libcurl_cv_lib_curl_usable=yes
4099  else  else
4100    $as_echo "$as_me: failed program was:" >&5    libcurl_cv_lib_curl_usable=no
 sed 's/^/| /' conftest.$ac_ext >&5  
   
         libcurl_cv_lib_curl_usable=no  
4101  fi  fi
4102    rm -f core conftest.err conftest.$ac_objext \
4103  rm -rf conftest.dSYM      conftest$ac_exeext conftest.$ac_ext
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \  
       conftest$ac_exeext conftest.$ac_ext  
4104    
4105             CPPFLAGS=$_libcurl_save_cppflags             CPPFLAGS=$_libcurl_save_cppflags
4106             LIBS=$_libcurl_save_libs             LIBS=$_libcurl_save_libs
# Line 4068  rm -f core conftest.err conftest.$ac_obj Line 4108  rm -f core conftest.err conftest.$ac_obj
4108             unset _libcurl_save_libs             unset _libcurl_save_libs
4109    
4110  fi  fi
4111  { $as_echo "$as_me:$LINENO: result: $libcurl_cv_lib_curl_usable" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_usable" >&5
4112  $as_echo "$libcurl_cv_lib_curl_usable" >&6; }  $as_echo "$libcurl_cv_lib_curl_usable" >&6; }
4113    
4114          if test $libcurl_cv_lib_curl_usable = yes ; then          if test $libcurl_cv_lib_curl_usable = yes ; then
4115    
4116             # Does curl_free() exist in this version of libcurl?             # Does curl_free() exist in this version of libcurl?
4117             # If not, fake it with free()             # If not, fake it with free()
4118    
4119             _libcurl_save_cppflags=$CPPFLAGS             _libcurl_save_cppflags=$CPPFLAGS
4120             CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS"             CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS"
4121             _libcurl_save_libs=$LIBS             _libcurl_save_libs=$LIBS
4122             LIBS="$LIBS $LIBCURL"             LIBS="$LIBS $LIBCURL"
4123    
4124             { $as_echo "$as_me:$LINENO: checking for curl_free" >&5             ac_fn_c_check_func "$LINENO" "curl_free" "ac_cv_func_curl_free"
4125  $as_echo_n "checking for curl_free... " >&6; }  if test "x$ac_cv_func_curl_free" = x""yes; then :
 if test "${ac_cv_func_curl_free+set}" = set; then  
   $as_echo_n "(cached) " >&6  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 /* Define curl_free to an innocuous variant, in case <limits.h> declares curl_free.  
    For example, HP-UX 11i <limits.h> declares gettimeofday.  */  
 #define curl_free innocuous_curl_free  
   
 /* System header to define __stub macros and hopefully few prototypes,  
     which can conflict with char curl_free (); below.  
     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since  
     <limits.h> exists even on freestanding compilers.  */  
   
 #ifdef __STDC__  
 # include <limits.h>  
 #else  
 # include <assert.h>  
 #endif  
   
 #undef curl_free  
   
 /* Override any GCC internal prototype to avoid an error.  
    Use char because int might match the return type of a GCC  
    builtin and then its argument prototype would still apply.  */  
 #ifdef __cplusplus  
 extern "C"  
 #endif  
 char curl_free ();  
 /* The GNU C library defines this for functions which it implements  
     to always fail with ENOSYS.  Some functions are actually named  
     something starting with __ and the normal name is an alias.  */  
 #if defined __stub_curl_free || defined __stub___curl_free  
 choke me  
 #endif  
   
 int  
 main ()  
 {  
 return curl_free ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (ac_try="$ac_link"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_link") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest$ac_exeext && {  
          test "$cross_compiling" = yes ||  
          $as_test_x conftest$ac_exeext  
        }; then  
   ac_cv_func_curl_free=yes  
 else  
   $as_echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
         ac_cv_func_curl_free=no  
 fi  
4126    
 rm -rf conftest.dSYM  
 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \  
       conftest$ac_exeext conftest.$ac_ext  
 fi  
 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_curl_free" >&5  
 $as_echo "$ac_cv_func_curl_free" >&6; }  
 if test "x$ac_cv_func_curl_free" = x""yes; then  
   :  
4127  else  else
4128    
4129  cat >>confdefs.h <<\_ACEOF  $as_echo "#define curl_free free" >>confdefs.h
 #define curl_free free  
 _ACEOF  
4130    
4131  fi  fi
4132    
# Line 4183  fi Line 4137  fi
4137             unset _libcurl_save_libs             unset _libcurl_save_libs
4138    
4139    
4140  cat >>confdefs.h <<\_ACEOF  $as_echo "#define HAVE_LIBCURL 1" >>confdefs.h
 #define HAVE_LIBCURL 1  
 _ACEOF  
4141    
4142    
4143    
4144    
4145             for _libcurl_feature in $_libcurl_features ; do             for _libcurl_feature in $_libcurl_features ; do
4146                cat >>confdefs.h <<_ACEOF                cat >>confdefs.h <<_ACEOF
4147  #define `$as_echo "libcurl_feature_$_libcurl_feature" | $as_tr_cpp` 1  #define `$as_echo "libcurl_feature_$_libcurl_feature" | $as_tr_cpp` 1
4148  _ACEOF  _ACEOF
4149    
4150                eval `$as_echo "libcurl_feature_$_libcurl_feature" | $as_tr_sh`=yes                eval `$as_echo "libcurl_feature_$_libcurl_feature" | $as_tr_sh`=yes
4151             done             done
4152    
4153             if test "x$_libcurl_protocols" = "x" ; then             if test "x$_libcurl_protocols" = "x" ; then
4154    
4155                # We don't have --protocols, so just assume that all                # We don't have --protocols, so just assume that all
4156                # protocols are available                # protocols are available
4157                _libcurl_protocols="HTTP FTP FILE TELNET LDAP DICT"                _libcurl_protocols="HTTP FTP FILE TELNET LDAP DICT TFTP"
4158    
4159                if test x$libcurl_feature_SSL = xyes ; then                if test x$libcurl_feature_SSL = xyes ; then
4160                   _libcurl_protocols="$_libcurl_protocols HTTPS"                   _libcurl_protocols="$_libcurl_protocols HTTPS"
4161    
4162                   # FTPS wasn't standards-compliant until version                   # FTPS wasn't standards-compliant until version
4163                   # 7.11.0                   # 7.11.0 (0x070b00 == 461568)
4164                   if test $_libcurl_version -ge 461568; then                   if test $_libcurl_version -ge 461568; then
4165                      _libcurl_protocols="$_libcurl_protocols FTPS"                      _libcurl_protocols="$_libcurl_protocols FTPS"
4166                   fi                   fi
4167                fi                fi
4168             fi  
4169                  # RTSP, IMAP, POP3 and SMTP were added in
4170                  # 7.20.0 (0x071400 == 463872)
4171                  if test $_libcurl_version -ge 463872; then
4172                     _libcurl_protocols="$_libcurl_protocols RTSP IMAP POP3 SMTP"
4173                  fi
4174               fi
4175    
4176             for _libcurl_protocol in $_libcurl_protocols ; do             for _libcurl_protocol in $_libcurl_protocols ; do
4177                cat >>confdefs.h <<_ACEOF                cat >>confdefs.h <<_ACEOF
4178  #define `$as_echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_cpp` 1  #define `$as_echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_cpp` 1
4179  _ACEOF  _ACEOF
4180    
4181                eval `$as_echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_sh`=yes                eval `$as_echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_sh`=yes
4182             done             done
4183          else          else
4184             unset LIBCURL             unset LIBCURL
4185             unset LIBCURL_CPPFLAGS             unset LIBCURL_CPPFLAGS
4186          fi          fi
4187       fi       fi
4188    
# Line 4250  _ACEOF Line 4208  _ACEOF
4208    unset _libcurl_with    unset _libcurl_with
4209    
4210  if test "${have_libcurl}" != yes; then  if test "${have_libcurl}" != yes; then
4211          { { $as_echo "$as_me:$LINENO: error: libcurl library not found, please install it" >&5          as_fn_error "libcurl library not found, please install it" "$LINENO" 5
 $as_echo "$as_me: error: libcurl library not found, please install it" >&2;}  
    { (exit 1); exit 1; }; }  
 else  
         CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS"  
         LIBS="${LIBS} ${LIBCURL}"  
4212  fi  fi
4213    
4214  # libxml2  # libxml2
4215    
4216    
4217  # Check whether --with-xml-prefix was given.  # Check whether --with-xml-prefix was given.
4218  if test "${with_xml_prefix+set}" = set; then  if test "${with_xml_prefix+set}" = set; then :
4219    withval=$with_xml_prefix; xml_config_prefix="$withval"    withval=$with_xml_prefix; xml_config_prefix="$withval"
4220  else  else
4221    xml_config_prefix=""    xml_config_prefix=""
# Line 4270  fi Line 4223  fi
4223    
4224    
4225  # Check whether --with-xml-exec-prefix was given.  # Check whether --with-xml-exec-prefix was given.
4226  if test "${with_xml_exec_prefix+set}" = set; then  if test "${with_xml_exec_prefix+set}" = set; then :
4227    withval=$with_xml_exec_prefix; xml_config_exec_prefix="$withval"    withval=$with_xml_exec_prefix; xml_config_exec_prefix="$withval"
4228  else  else
4229    xml_config_exec_prefix=""    xml_config_exec_prefix=""
4230  fi  fi
4231    
4232  # Check whether --enable-xmltest was given.  # Check whether --enable-xmltest was given.
4233  if test "${enable_xmltest+set}" = set; then  if test "${enable_xmltest+set}" = set; then :
4234    enableval=$enable_xmltest;    enableval=$enable_xmltest;
4235  else  else
4236    enable_xmltest=yes    enable_xmltest=yes
# Line 4299  fi Line 4252  fi
4252    
4253    # Extract the first word of "xml2-config", so it can be a program name with args.    # Extract the first word of "xml2-config", so it can be a program name with args.
4254  set dummy xml2-config; ac_word=$2  set dummy xml2-config; ac_word=$2
4255  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4256  $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
4257  if test "${ac_cv_path_XML2_CONFIG+set}" = set; then  if test "${ac_cv_path_XML2_CONFIG+set}" = set; then :
4258    $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
4259  else  else
4260    case $XML2_CONFIG in    case $XML2_CONFIG in
# Line 4314  for as_dir in $PATH Line 4267  for as_dir in $PATH
4267  do  do
4268    IFS=$as_save_IFS    IFS=$as_save_IFS
4269    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
4270    for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
4271    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
4272      ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4273      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4274      break 2      break 2
4275    fi    fi
4276  done  done
4277  done    done
4278  IFS=$as_save_IFS  IFS=$as_save_IFS
4279    
4280    test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG="no"    test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG="no"
# Line 4330  esac Line 4283  esac
4283  fi  fi
4284  XML2_CONFIG=$ac_cv_path_XML2_CONFIG  XML2_CONFIG=$ac_cv_path_XML2_CONFIG
4285  if test -n "$XML2_CONFIG"; then  if test -n "$XML2_CONFIG"; then
4286    { $as_echo "$as_me:$LINENO: result: $XML2_CONFIG" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML2_CONFIG" >&5
4287  $as_echo "$XML2_CONFIG" >&6; }  $as_echo "$XML2_CONFIG" >&6; }
4288  else  else
4289    { $as_echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4290  $as_echo "no" >&6; }  $as_echo "no" >&6; }
4291  fi  fi
4292    
4293    
4294    min_xml_version=2.0.0    min_xml_version=2.0.0
4295    { $as_echo "$as_me:$LINENO: checking for libxml - version >= $min_xml_version" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml - version >= $min_xml_version" >&5
4296  $as_echo_n "checking for libxml - version >= $min_xml_version... " >&6; }  $as_echo_n "checking for libxml - version >= $min_xml_version... " >&6; }
4297    no_xml=""    no_xml=""
4298    if test "$XML2_CONFIG" = "no" ; then    if test "$XML2_CONFIG" = "no" ; then
# Line 4359  $as_echo_n "checking for libxml - versio Line 4312  $as_echo_n "checking for libxml - versio
4312        CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"        CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
4313        LIBS="$XML_LIBS $LIBS"        LIBS="$XML_LIBS $LIBS"
4314        rm -f conf.xmltest        rm -f conf.xmltest
4315        if test "$cross_compiling" = yes; then        if test "$cross_compiling" = yes; then :
4316    echo $ac_n "cross compiling; assumed OK... $ac_c"    echo $ac_n "cross compiling; assumed OK... $ac_c"
4317  else  else
4318    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  
4319  /* end confdefs.h.  */  /* end confdefs.h.  */
4320    
4321  #include <stdlib.h>  #include <stdlib.h>
# Line 4445  main() Line 4394  main()
4394  }  }
4395    
4396  _ACEOF  _ACEOF
4397  rm -f conftest$ac_exeext  if ac_fn_c_try_run "$LINENO"; then :
 if { (ac_try="$ac_link"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_link") 2>&5  
   ac_status=$?  
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'  
   { (case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  
 $as_echo "$ac_try_echo") >&5  
   (eval "$ac_try") 2>&5  
   ac_status=$?