Develop and Download Open Source Software

Browse CVS Repository

Diff of /freewnn/FreeWnn/configure

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

revision 1.27 by hiroo, Mon Jun 17 17:28:52 2002 UTC revision 1.28 by hiroo, Sat Jun 22 13:15:25 2002 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 automatically using autoconf version 2.13  # Generated by GNU Autoconf 2.53.
 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.  
4  #  #
5    # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6    # Free Software Foundation, Inc.
7  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
8  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
9    
 # Defaults:  
 ac_help=  
 ac_default_prefix=/usr/local  
 # Any additions from configure.in:  
 ac_help="$ac_help  
   --enable-debug             enable debug options [default=no]"  
 ac_help="$ac_help  
   --enable-libraries      build and install libraries [default=yes]"  
 ac_help="$ac_help  
   --enable-server         build and install server [default=yes]"  
 ac_help="$ac_help  
   --enable-client         build and install clients [default=no]"  
 ac_help="$ac_help  
   --enable-Wnn         build and install Wnn [default=yes]"  
 ac_help="$ac_help  
   --enable-cWnn         build and install cWnn [default=yes]"  
 ac_help="$ac_help  
   --enable-kWnn         build and install kWnn [default=yes]"  
 ac_help="$ac_help  
   --with-libwnn               use installed Wnn library [default=no]"  
 ac_help="$ac_help  
   --with-wnn-includes=DIR  WNN include files are in DIR"  
 ac_help="$ac_help  
   --with-wnn-libraries=DIR Search for WNN libraries in DIR[default=/usr/local/lib]"  
 ac_help="$ac_help  
   --with-libcwnn               use installed cWnn library [default=no]"  
 ac_help="$ac_help  
   --with-cwnn-includes=DIR  CWNN include files are in DIR"  
 ac_help="$ac_help  
   --with-cwnn-libraries=DIR Search for CWNN libraries in DIR[default=/usr/local/lib]"  
 ac_help="$ac_help  
   --with-libkwnn               use installed kWnn library [default=no]"  
 ac_help="$ac_help  
   --with-kwnn-includes=DIR  KWNN include files are in DIR"  
 ac_help="$ac_help  
   --with-kwnn-libraries=DIR Search for KWNN libraries in DIR[default=/usr/local/lib]"  
 ac_help="$ac_help  
   --enable-ipv6           build and install IPv6 [default=no]"  
 ac_help="$ac_help  
   --enable-unsafe-path    allow creating files in an arbitrary path [default=no]"  
 ac_help="$ac_help  
   --enable-shared[=PKGS]  build shared libraries [default=yes]"  
 ac_help="$ac_help  
   --enable-static[=PKGS]  build static libraries [default=yes]"  
 ac_help="$ac_help  
   --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"  
 ac_help="$ac_help  
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"  
   
10  # Find the correct PATH separator.  Usually this is `:', but  # Find the correct PATH separator.  Usually this is `:', but
11  # DJGPP uses `;' like DOS.  # DJGPP uses `;' like DOS.
12  if test "X${PATH_SEPARATOR+set}" != Xset; then  if test "X${PATH_SEPARATOR+set}" != Xset; then
# Line 213  if test "X$ECHO" = "X$CONFIG_SHELL $0 -- Line 164  if test "X$ECHO" = "X$CONFIG_SHELL $0 --
164  fi  fi
165    
166    
167  ac_help="$ac_help  
168    --disable-libtool-lock  avoid locking (might break parallel builds)"  if expr a : '\(a\)' >/dev/null 2>&1; then
169  ac_help="$ac_help    as_expr=expr
170    --with-pic              try to use only PIC/non-PIC objects [default=use both]"  else
171  ac_help="$ac_help    as_expr=false
172    --with-x                use the X Window System"  fi
173    
174    
175    ## --------------------- ##
176    ## M4sh Initialization.  ##
177    ## --------------------- ##
178    
179    # Be Bourne compatible
180    if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
181      emulate sh
182      NULLCMD=:
183    elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
184      set -o posix
185    fi
186    
187    # NLS nuisances.
188    # Support unset when possible.
189    if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
190      as_unset=unset
191    else
192      as_unset=false
193    fi
194    
195    (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
196        { $as_unset LANG || test "${LANG+set}" != set; } ||
197          { LANG=C; export LANG; }
198    (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
199        { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
200          { LC_ALL=C; export LC_ALL; }
201    (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
202        { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
203          { LC_TIME=C; export LC_TIME; }
204    (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
205        { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
206          { LC_CTYPE=C; export LC_CTYPE; }
207    (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
208        { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
209          { LANGUAGE=C; export LANGUAGE; }
210    (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
211        { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
212          { LC_COLLATE=C; export LC_COLLATE; }
213    (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
214        { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
215          { LC_NUMERIC=C; export LC_NUMERIC; }
216    (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
217        { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
218          { LC_MESSAGES=C; export LC_MESSAGES; }
219    
220    
221    # Name of the executable.
222    as_me=`(basename "$0") 2>/dev/null ||
223    $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
224             X"$0" : 'X\(//\)$' \| \
225             X"$0" : 'X\(/\)$' \| \
226             .     : '\(.\)' 2>/dev/null ||
227    echo X/"$0" |
228        sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
229              /^X\/\(\/\/\)$/{ s//\1/; q; }
230              /^X\/\(\/\).*/{ s//\1/; q; }
231              s/.*/./; q'`
232    
233    # PATH needs CR, and LINENO needs CR and PATH.
234    # Avoid depending upon Character Ranges.
235    as_cr_letters='abcdefghijklmnopqrstuvwxyz'
236    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
237    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
238    as_cr_digits='0123456789'
239    as_cr_alnum=$as_cr_Letters$as_cr_digits
240    
241    # The user is always right.
242    if test "${PATH_SEPARATOR+set}" != set; then
243      echo "#! /bin/sh" >conftest.sh
244      echo  "exit 0"   >>conftest.sh
245      chmod +x conftest.sh
246      if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
247        PATH_SEPARATOR=';'
248      else
249        PATH_SEPARATOR=:
250      fi
251      rm -f conftest.sh
252    fi
253    
254    
255      as_lineno_1=$LINENO
256      as_lineno_2=$LINENO
257      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
258      test "x$as_lineno_1" != "x$as_lineno_2" &&
259      test "x$as_lineno_3"  = "x$as_lineno_2"  || {
260      # Find who we are.  Look in the path if we contain no path at all
261      # relative or not.
262      case $0 in
263        *[\\/]* ) as_myself=$0 ;;
264        *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
265    for as_dir in $PATH
266    do
267      IFS=$as_save_IFS
268      test -z "$as_dir" && as_dir=.
269      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
270    done
271    
272           ;;
273      esac
274      # We did not find ourselves, most probably we were run as `sh COMMAND'
275      # in which case we are not to be found in the path.
276      if test "x$as_myself" = x; then
277        as_myself=$0
278      fi
279      if test ! -f "$as_myself"; then
280        { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
281       { (exit 1); exit 1; }; }
282      fi
283      case $CONFIG_SHELL in
284      '')
285        as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
286    for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
287    do
288      IFS=$as_save_IFS
289      test -z "$as_dir" && as_dir=.
290      for as_base in sh bash ksh sh5; do
291             case $as_dir in
292             /*)
293               if ("$as_dir/$as_base" -c '
294      as_lineno_1=$LINENO
295      as_lineno_2=$LINENO
296      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
297      test "x$as_lineno_1" != "x$as_lineno_2" &&
298      test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
299                 CONFIG_SHELL=$as_dir/$as_base
300                 export CONFIG_SHELL
301                 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
302               fi;;
303             esac
304           done
305    done
306    ;;
307      esac
308    
309      # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
310      # uniformly replaced by the line number.  The first 'sed' inserts a
311      # line-number line before each line; the second 'sed' does the real
312      # work.  The second script uses 'N' to pair each line-number line
313      # with the numbered line, and appends trailing '-' during
314      # substitution so that $LINENO is not a special case at line end.
315      # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
316      # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
317      sed '=' <$as_myself |
318        sed '
319          N
320          s,$,-,
321          : loop
322          s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
323          t loop
324          s,-$,,
325          s,^['$as_cr_digits']*\n,,
326        ' >$as_me.lineno &&
327      chmod +x $as_me.lineno ||
328        { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
329       { (exit 1); exit 1; }; }
330    
331      # Don't try to exec as it changes $[0], causing all sort of problems
332      # (the dirname of $[0] is not the place where we might find the
333      # original and so on.  Autoconf is especially sensible to this).
334      . ./$as_me.lineno
335      # Exit status is that of the last command.
336      exit
337    }
338    
339    
340    case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
341      *c*,-n*) ECHO_N= ECHO_C='
342    ' ECHO_T='      ' ;;
343      *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
344      *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
345    esac
346    
347    if expr a : '\(a\)' >/dev/null 2>&1; then
348      as_expr=expr
349    else
350      as_expr=false
351    fi
352    
353    rm -f conf$$ conf$$.exe conf$$.file
354    echo >conf$$.file
355    if ln -s conf$$.file conf$$ 2>/dev/null; then
356      # We could just check for DJGPP; but this test a) works b) is more generic
357      # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
358      if test -f conf$$.exe; then
359        # Don't use ln at all; we don't have any links
360        as_ln_s='cp -p'
361      else
362        as_ln_s='ln -s'
363      fi
364    elif ln conf$$.file conf$$ 2>/dev/null; then
365      as_ln_s=ln
366    else
367      as_ln_s='cp -p'
368    fi
369    rm -f conf$$ conf$$.exe conf$$.file
370    
371    as_executable_p="test -f"
372    
373    # Sed expression to map a string onto a valid CPP name.
374    as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
375    
376    # Sed expression to map a string onto a valid variable name.
377    as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
378    
379    
380    # IFS
381    # We need space, tab and new line, in precisely that order.
382    as_nl='
383    '
384    IFS="   $as_nl"
385    
386    # CDPATH.
387    $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
388    
389    
390    # Name of the host.
391    # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
392    # so uname gets run too.
393    ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
394    
395    exec 6>&1
396    
397    #
398    # Initializations.
399    #
400    ac_default_prefix=/usr/local
401    cross_compiling=no
402    subdirs=
403    MFLAGS=
404    MAKEFLAGS=
405    SHELL=${CONFIG_SHELL-/bin/sh}
406    
407    # Maximum number of lines to put in a shell here document.
408    # This variable seems obsolete.  It should probably be removed, and
409    # only ac_max_sed_lines should be used.
410    : ${ac_max_here_lines=38}
411    
412    # Identity of this package.
413    PACKAGE_NAME=
414    PACKAGE_TARNAME=
415    PACKAGE_VERSION=
416    PACKAGE_STRING=
417    PACKAGE_BUGREPORT=
418    
419    ac_unique_file="Wnn/conv/cvt_head.h"
420    # Factoring default headers for most tests.
421    ac_includes_default="\
422    #include <stdio.h>
423    #if HAVE_SYS_TYPES_H
424    # include <sys/types.h>
425    #endif
426    #if HAVE_SYS_STAT_H
427    # include <sys/stat.h>
428    #endif
429    #if STDC_HEADERS
430    # include <stdlib.h>
431    # include <stddef.h>
432    #else
433    # if HAVE_STDLIB_H
434    #  include <stdlib.h>
435    # endif
436    #endif
437    #if HAVE_STRING_H
438    # if !STDC_HEADERS && HAVE_MEMORY_H
439    #  include <memory.h>
440    # endif
441    # include <string.h>
442    #endif
443    #if HAVE_STRINGS_H
444    # include <strings.h>
445    #endif
446    #if HAVE_INTTYPES_H
447    # include <inttypes.h>
448    #else
449    # if HAVE_STDINT_H
450    #  include <stdint.h>
451    # endif
452    #endif
453    #if HAVE_UNISTD_H
454    # include <unistd.h>
455    #endif"
456    
457    
458  # Initialize some variables set by options.  # Initialize some variables set by options.
459    ac_init_help=
460    ac_init_version=false
461  # The variables have the same names as the options, with  # The variables have the same names as the options, with
462  # dashes changed to underlines.  # dashes changed to underlines.
463  build=NONE  cache_file=/dev/null
 cache_file=./config.cache  
464  exec_prefix=NONE  exec_prefix=NONE
 host=NONE  
465  no_create=  no_create=
 nonopt=NONE  
466  no_recursion=  no_recursion=
467  prefix=NONE  prefix=NONE
468  program_prefix=NONE  program_prefix=NONE
# Line 236  program_suffix=NONE Line 470  program_suffix=NONE
470  program_transform_name=s,x,x,  program_transform_name=s,x,x,
471  silent=  silent=
472  site=  site=
 sitefile=  
473  srcdir=  srcdir=
 target=NONE  
474  verbose=  verbose=
475  x_includes=NONE  x_includes=NONE
476  x_libraries=NONE  x_libraries=NONE
477    
478    # Installation directory options.
479    # These are left unexpanded so users can "make install exec_prefix=/foo"
480    # and all the variables that are supposed to be based on exec_prefix
481    # by default will actually change.
482    # Use braces instead of parens because sh, perl, etc. also accept them.
483  bindir='${exec_prefix}/bin'  bindir='${exec_prefix}/bin'
484  sbindir='${exec_prefix}/sbin'  sbindir='${exec_prefix}/sbin'
485  libexecdir='${exec_prefix}/libexec'  libexecdir='${exec_prefix}/libexec'
# Line 255  oldincludedir='/usr/include' Line 493  oldincludedir='/usr/include'
493  infodir='${prefix}/info'  infodir='${prefix}/info'
494  mandir='${prefix}/man'  mandir='${prefix}/man'
495    
 # Initialize some other variables.  
 subdirs=  
 MFLAGS= MAKEFLAGS=  
 SHELL=${CONFIG_SHELL-/bin/sh}  
 # Maximum number of lines to put in a shell here document.  
 ac_max_here_lines=12  
   
496  ac_prev=  ac_prev=
497  for ac_option  for ac_option
498  do  do
   
499    # If the previous option needs an argument, assign it.    # If the previous option needs an argument, assign it.
500    if test -n "$ac_prev"; then    if test -n "$ac_prev"; then
501      eval "$ac_prev=\$ac_option"      eval "$ac_prev=\$ac_option"
# Line 273  do Line 503  do
503      continue      continue
504    fi    fi
505    
506    case "$ac_option" in    ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;  
   *) ac_optarg= ;;  
   esac  
507    
508    # Accept the important Cygnus configure options, so we can diagnose typos.    # Accept the important Cygnus configure options, so we can diagnose typos.
509    
510    case "$ac_option" in    case $ac_option in
511    
512    -bindir | --bindir | --bindi | --bind | --bin | --bi)    -bindir | --bindir | --bindi | --bind | --bin | --bi)
513      ac_prev=bindir ;;      ac_prev=bindir ;;
514    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
515      bindir="$ac_optarg" ;;      bindir=$ac_optarg ;;
516    
517    -build | --build | --buil | --bui | --bu)    -build | --build | --buil | --bui | --bu)
518      ac_prev=build ;;      ac_prev=build_alias ;;
519    -build=* | --build=* | --buil=* | --bui=* | --bu=*)    -build=* | --build=* | --buil=* | --bui=* | --bu=*)
520      build="$ac_optarg" ;;      build_alias=$ac_optarg ;;
521    
522    -cache-file | --cache-file | --cache-fil | --cache-fi \    -cache-file | --cache-file | --cache-fil | --cache-fi \
523    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
524      ac_prev=cache_file ;;      ac_prev=cache_file ;;
525    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
526    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
527      cache_file="$ac_optarg" ;;      cache_file=$ac_optarg ;;
528    
529      --config-cache | -C)
530        cache_file=config.cache ;;
531    
532    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
533      ac_prev=datadir ;;      ac_prev=datadir ;;
534    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
535    | --da=*)    | --da=*)
536      datadir="$ac_optarg" ;;      datadir=$ac_optarg ;;
537    
538    -disable-* | --disable-*)    -disable-* | --disable-*)
539      ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
540      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
541      if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
542        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
543      fi     { (exit 1); exit 1; }; }
544      ac_feature=`echo $ac_feature| sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
545      eval "enable_${ac_feature}=no" ;;      eval "enable_$ac_feature=no" ;;
546    
547    -enable-* | --enable-*)    -enable-* | --enable-*)
548      ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
549      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
550      if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
551        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
552      fi     { (exit 1); exit 1; }; }
553      ac_feature=`echo $ac_feature| sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
554      case "$ac_option" in      case $ac_option in
555        *=*) ;;        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
556        *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
557      esac      esac
558      eval "enable_${ac_feature}='$ac_optarg'" ;;      eval "enable_$ac_feature='$ac_optarg'" ;;
559    
560    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
561    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 334  do Line 564  do
564    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
565    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
566    | --exec=* | --exe=* | --ex=*)    | --exec=* | --exe=* | --ex=*)
567      exec_prefix="$ac_optarg" ;;      exec_prefix=$ac_optarg ;;
568    
569    -gas | --gas | --ga | --g)    -gas | --gas | --ga | --g)
570      # Obsolete; use --with-gas.      # Obsolete; use --with-gas.
571      with_gas=yes ;;      with_gas=yes ;;
572    
573    -help | --help | --hel | --he)    -help | --help | --hel | --he | -h)
574      # Omit some internal or obsolete options to make the list less imposing.      ac_init_help=long ;;
575      # This message is too long to be a string in the A/UX 3.1 sh.    -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
576      cat << EOF      ac_init_help=recursive ;;
577  Usage: configure [options] [host]    -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
578  Options: [defaults in brackets after descriptions]      ac_init_help=short ;;
 Configuration:  
   --cache-file=FILE       cache test results in FILE  
   --help                  print this message  
   --no-create             do not create output files  
   --quiet, --silent       do not print \`checking...' messages  
   --site-file=FILE        use FILE as the site file  
   --version               print the version of autoconf that created configure  
 Directory and file names:  
   --prefix=PREFIX         install architecture-independent files in PREFIX  
                           [$ac_default_prefix]  
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX  
                           [same as prefix]  
   --bindir=DIR            user executables in DIR [EPREFIX/bin]  
   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]  
   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]  
   --datadir=DIR           read-only architecture-independent data in DIR  
                           [PREFIX/share]  
   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]  
   --sharedstatedir=DIR    modifiable architecture-independent data in DIR  
                           [PREFIX/com]  
   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]  
   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]  
   --includedir=DIR        C header files in DIR [PREFIX/include]  
   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]  
   --infodir=DIR           info documentation in DIR [PREFIX/info]  
   --mandir=DIR            man documentation in DIR [PREFIX/man]  
   --srcdir=DIR            find the sources in DIR [configure dir or ..]  
   --program-prefix=PREFIX prepend PREFIX to installed program names  
   --program-suffix=SUFFIX append SUFFIX to installed program names  
   --program-transform-name=PROGRAM  
                           run sed PROGRAM on installed program names  
 EOF  
     cat << EOF  
 Host type:  
   --build=BUILD           configure for building on BUILD [BUILD=HOST]  
   --host=HOST             configure for HOST [guessed]  
   --target=TARGET         configure for TARGET [TARGET=HOST]  
 Features and packages:  
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)  
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]  
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]  
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)  
   --x-includes=DIR        X include files are in DIR  
   --x-libraries=DIR       X library files are in DIR  
 EOF  
     if test -n "$ac_help"; then  
       echo "--enable and --with options recognized:$ac_help"  
     fi  
     exit 0 ;;  
579    
580    -host | --host | --hos | --ho)    -host | --host | --hos | --ho)
581      ac_prev=host ;;      ac_prev=host_alias ;;
582    -host=* | --host=* | --hos=* | --ho=*)    -host=* | --host=* | --hos=* | --ho=*)
583      host="$ac_optarg" ;;      host_alias=$ac_optarg ;;
584    
585    -includedir | --includedir | --includedi | --included | --include \    -includedir | --includedir | --includedi | --included | --include \
586    | --includ | --inclu | --incl | --inc)    | --includ | --inclu | --incl | --inc)
587      ac_prev=includedir ;;      ac_prev=includedir ;;
588    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
589    | --includ=* | --inclu=* | --incl=* | --inc=*)    | --includ=* | --inclu=* | --incl=* | --inc=*)
590      includedir="$ac_optarg" ;;      includedir=$ac_optarg ;;
591    
592    -infodir | --infodir | --infodi | --infod | --info | --inf)    -infodir | --infodir | --infodi | --infod | --info | --inf)
593      ac_prev=infodir ;;      ac_prev=infodir ;;
594    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
595      infodir="$ac_optarg" ;;      infodir=$ac_optarg ;;
596    
597    -libdir | --libdir | --libdi | --libd)    -libdir | --libdir | --libdi | --libd)
598      ac_prev=libdir ;;      ac_prev=libdir ;;
599    -libdir=* | --libdir=* | --libdi=* | --libd=*)    -libdir=* | --libdir=* | --libdi=* | --libd=*)
600      libdir="$ac_optarg" ;;      libdir=$ac_optarg ;;
601    
602    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
603    | --libexe | --libex | --libe)    | --libexe | --libex | --libe)
604      ac_prev=libexecdir ;;      ac_prev=libexecdir ;;
605    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
606    | --libexe=* | --libex=* | --libe=*)    | --libexe=* | --libex=* | --libe=*)
607      libexecdir="$ac_optarg" ;;      libexecdir=$ac_optarg ;;
608    
609    -localstatedir | --localstatedir | --localstatedi | --localstated \    -localstatedir | --localstatedir | --localstatedi | --localstated \
610    | --localstate | --localstat | --localsta | --localst \    | --localstate | --localstat | --localsta | --localst \
# Line 432  EOF Line 613  EOF
613    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
614    | --localstate=* | --localstat=* | --localsta=* | --localst=* \    | --localstate=* | --localstat=* | --localsta=* | --localst=* \
615    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
616      localstatedir="$ac_optarg" ;;      localstatedir=$ac_optarg ;;
617    
618    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
619      ac_prev=mandir ;;      ac_prev=mandir ;;
620    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
621      mandir="$ac_optarg" ;;      mandir=$ac_optarg ;;
622    
623    -nfp | --nfp | --nf)    -nfp | --nfp | --nf)
624      # Obsolete; use --without-fp.      # Obsolete; use --without-fp.
625      with_fp=no ;;      with_fp=no ;;
626    
627    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
628    | --no-cr | --no-c)    | --no-cr | --no-c | -n)
629      no_create=yes ;;      no_create=yes ;;
630    
631    -no-recursion | --no-recursion | --no-recursio | --no-recursi \    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 458  EOF Line 639  EOF
639    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
640    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
641    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
642      oldincludedir="$ac_optarg" ;;      oldincludedir=$ac_optarg ;;
643    
644    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
645      ac_prev=prefix ;;      ac_prev=prefix ;;
646    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
647      prefix="$ac_optarg" ;;      prefix=$ac_optarg ;;
648    
649    -program-prefix | --program-prefix | --program-prefi | --program-pref \    -program-prefix | --program-prefix | --program-prefi | --program-pref \
650    | --program-pre | --program-pr | --program-p)    | --program-pre | --program-pr | --program-p)
651      ac_prev=program_prefix ;;      ac_prev=program_prefix ;;
652    -program-prefix=* | --program-prefix=* | --program-prefi=* \    -program-prefix=* | --program-prefix=* | --program-prefi=* \
653    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
654      program_prefix="$ac_optarg" ;;      program_prefix=$ac_optarg ;;
655    
656    -program-suffix | --program-suffix | --program-suffi | --program-suff \    -program-suffix | --program-suffix | --program-suffi | --program-suff \
657    | --program-suf | --program-su | --program-s)    | --program-suf | --program-su | --program-s)
658      ac_prev=program_suffix ;;      ac_prev=program_suffix ;;
659    -program-suffix=* | --program-suffix=* | --program-suffi=* \    -program-suffix=* | --program-suffix=* | --program-suffi=* \
660    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
661      program_suffix="$ac_optarg" ;;      program_suffix=$ac_optarg ;;
662    
663    -program-transform-name | --program-transform-name \    -program-transform-name | --program-transform-name \
664    | --program-transform-nam | --program-transform-na \    | --program-transform-nam | --program-transform-na \
# Line 494  EOF Line 675  EOF
675    | --program-transfo=* | --program-transf=* \    | --program-transfo=* | --program-transf=* \
676    | --program-trans=* | --program-tran=* \    | --program-trans=* | --program-tran=* \
677    | --progr-tra=* | --program-tr=* | --program-t=*)    | --progr-tra=* | --program-tr=* | --program-t=*)
678      program_transform_name="$ac_optarg" ;;      program_transform_name=$ac_optarg ;;
679    
680    -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
681    | -silent | --silent | --silen | --sile | --sil)    | -silent | --silent | --silen | --sile | --sil)
# Line 504  EOF Line 685  EOF
685      ac_prev=sbindir ;;      ac_prev=sbindir ;;
686    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
687    | --sbi=* | --sb=*)    | --sbi=* | --sb=*)
688      sbindir="$ac_optarg" ;;      sbindir=$ac_optarg ;;
689    
690    -sharedstatedir | --sharedstatedir | --sharedstatedi \    -sharedstatedir | --sharedstatedir | --sharedstatedi \
691    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
# Line 515  EOF Line 696  EOF
696    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
697    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
698    | --sha=* | --sh=*)    | --sha=* | --sh=*)
699      sharedstatedir="$ac_optarg" ;;      sharedstatedir=$ac_optarg ;;
700    
701    -site | --site | --sit)    -site | --site | --sit)
702      ac_prev=site ;;      ac_prev=site ;;
703    -site=* | --site=* | --sit=*)    -site=* | --site=* | --sit=*)
704      site="$ac_optarg" ;;      site=$ac_optarg ;;
   
   -site-file | --site-file | --site-fil | --site-fi | --site-f)  
     ac_prev=sitefile ;;  
   -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)  
     sitefile="$ac_optarg" ;;  
705    
706    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
707      ac_prev=srcdir ;;      ac_prev=srcdir ;;
708    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
709      srcdir="$ac_optarg" ;;      srcdir=$ac_optarg ;;
710    
711    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
712    | --syscon | --sysco | --sysc | --sys | --sy)    | --syscon | --sysco | --sysc | --sys | --sy)
713      ac_prev=sysconfdir ;;      ac_prev=sysconfdir ;;
714    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
715    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
716      sysconfdir="$ac_optarg" ;;      sysconfdir=$ac_optarg ;;
717    
718    -target | --target | --targe | --targ | --tar | --ta | --t)    -target | --target | --targe | --targ | --tar | --ta | --t)
719      ac_prev=target ;;      ac_prev=target_alias ;;
720    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
721      target="$ac_optarg" ;;      target_alias=$ac_optarg ;;
722    
723    -v | -verbose | --verbose | --verbos | --verbo | --verb)    -v | -verbose | --verbose | --verbos | --verbo | --verb)
724      verbose=yes ;;      verbose=yes ;;
725    
726    -version | --version | --versio | --versi | --vers)    -version | --version | --versio | --versi | --vers | -V)
727      echo "configure generated by autoconf version 2.13"      ac_init_version=: ;;
     exit 0 ;;  
728    
729    -with-* | --with-*)    -with-* | --with-*)
730      ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
731      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
732      if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
733        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }        { echo "$as_me: error: invalid package name: $ac_package" >&2
734      fi     { (exit 1); exit 1; }; }
735      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package| sed 's/-/_/g'`
736      case "$ac_option" in      case $ac_option in
737        *=*) ;;        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
738        *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
739      esac      esac
740      eval "with_${ac_package}='$ac_optarg'" ;;      eval "with_$ac_package='$ac_optarg'" ;;
741    
742    -without-* | --without-*)    -without-* | --without-*)
743      ac_package=`echo $ac_option|sed -e 's/-*without-//'`      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
744      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
745      if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
746        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }        { echo "$as_me: error: invalid package name: $ac_package" >&2
747      fi     { (exit 1); exit 1; }; }
748      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package | sed 's/-/_/g'`
749      eval "with_${ac_package}=no" ;;      eval "with_$ac_package=no" ;;
750    
751    --x)    --x)
752      # Obsolete; use --with-x.      # Obsolete; use --with-x.
# Line 582  EOF Line 757  EOF
757      ac_prev=x_includes ;;      ac_prev=x_includes ;;
758    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
759    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
760      x_includes="$ac_optarg" ;;      x_includes=$ac_optarg ;;
761    
762    -x-libraries | --x-libraries | --x-librarie | --x-librari \    -x-libraries | --x-libraries | --x-librarie | --x-librari \
763    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
764      ac_prev=x_libraries ;;      ac_prev=x_libraries ;;
765    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
766    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
767      x_libraries="$ac_optarg" ;;      x_libraries=$ac_optarg ;;
768    
769    -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }    -*) { echo "$as_me: error: unrecognized option: $ac_option
770    Try \`$0 --help' for more information." >&2
771       { (exit 1); exit 1; }; }
772      ;;      ;;
773    
774      *=*)
775        ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
776        # Reject names that are not valid shell variable names.
777        expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
778          { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
779       { (exit 1); exit 1; }; }
780        ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
781        eval "$ac_envvar='$ac_optarg'"
782        export $ac_envvar ;;
783    
784    *)    *)
785      if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then      # FIXME: should be removed in autoconf 3.0.
786        echo "configure: warning: $ac_option: invalid host type" 1>&2      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
787      fi      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
788      if test "x$nonopt" != xNONE; then        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
789        { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     fi  
     nonopt="$ac_option"  
790      ;;      ;;
791    
792    esac    esac
793  done  done
794    
795  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
796    { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
797      { echo "$as_me: error: missing argument to $ac_option" >&2
798       { (exit 1); exit 1; }; }
799  fi  fi
800    
801  trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15  # Be sure to have absolute paths.
802    for ac_var in exec_prefix prefix
803  # File descriptor usage:  do
804  # 0 standard input    eval ac_val=$`echo $ac_var`
805  # 1 file creation    case $ac_val in
806  # 2 errors and warnings      [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
807  # 3 some systems may open it to /dev/tty      *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
808  # 4 used on the Kubota Titan     { (exit 1); exit 1; }; };;
809  # 6 checking for... messages and results    esac
810  # 5 compiler messages saved in config.log  done
 if test "$silent" = yes; then  
   exec 6>/dev/null  
 else  
   exec 6>&1  
 fi  
 exec 5>./config.log  
   
 echo "\  
 This file contains any messages produced by compilers while  
 running configure, to aid debugging if configure makes a mistake.  
 " 1>&5  
811    
812  # Strip out --no-create and --no-recursion so they do not pile up.  # Be sure to have absolute paths.
813  # Also quote any args containing shell metacharacters.  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
814  ac_configure_args=                localstatedir libdir includedir oldincludedir infodir mandir
 for ac_arg  
815  do  do
816    case "$ac_arg" in    eval ac_val=$`echo $ac_var`
817    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    case $ac_val in
818    | --no-cr | --no-c) ;;      [\\/$]* | ?:[\\/]* ) ;;
819    -no-recursion | --no-recursion | --no-recursio | --no-recursi \      *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;     { (exit 1); exit 1; }; };;
   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)  
   ac_configure_args="$ac_configure_args '$ac_arg'" ;;  
   *) ac_configure_args="$ac_configure_args $ac_arg" ;;  
821    esac    esac
822  done  done
823    
824  # NLS nuisances.  # There might be people who depend on the old broken behavior: `$host'
825  # Only set these to C if already set.  These must not be set unconditionally  # used to hold the argument of --host etc.
826  # because not all systems understand e.g. LANG=C (notably SCO).  # FIXME: To remove some day.
827  # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!  build=$build_alias
828  # Non-C LC_CTYPE values break the ctype check.  host=$host_alias
829  if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi  target=$target_alias
830  if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi  
831  if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi  # FIXME: To remove some day.
832  if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi  if test "x$host_alias" != x; then
833      if test "x$build_alias" = x; then
834        cross_compiling=maybe
835        echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
836        If a cross compiler is detected then cross compile mode will be used." >&2
837      elif test "x$build_alias" != "x$host_alias"; then
838        cross_compiling=yes
839      fi
840    fi
841    
842  # confdefs.h avoids OS command line length limits that DEFS can exceed.  ac_tool_prefix=
843  rm -rf conftest* confdefs.h  test -n "$host_alias" && ac_tool_prefix=$host_alias-
844  # AIX cpp loses on an empty file, so make sure it contains at least a newline.  
845  echo > confdefs.h  test "$silent" = yes && exec 6>/dev/null
846    
 # A filename unique to this package, relative to the directory that  
 # configure is in, which we can look for to find out if srcdir is correct.  
 ac_unique_file=Wnn/conv/cvt_head.h  
847    
848  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
849  if test -z "$srcdir"; then  if test -z "$srcdir"; then
850    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
851    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
852    ac_prog=$0    ac_confdir=`(dirname "$0") 2>/dev/null ||
853    ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
854    test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.           X"$0" : 'X\(//\)[^/]' \| \
855             X"$0" : 'X\(//\)$' \| \
856             X"$0" : 'X\(/\)' \| \
857             .     : '\(.\)' 2>/dev/null ||
858    echo X"$0" |
859        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
860              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
861              /^X\(\/\/\)$/{ s//\1/; q; }
862              /^X\(\/\).*/{ s//\1/; q; }
863              s/.*/./; q'`
864    srcdir=$ac_confdir    srcdir=$ac_confdir
865    if test ! -r $srcdir/$ac_unique_file; then    if test ! -r $srcdir/$ac_unique_file; then
866      srcdir=..      srcdir=..
# Line 684  else Line 870  else
870  fi  fi
871  if test ! -r $srcdir/$ac_unique_file; then  if test ! -r $srcdir/$ac_unique_file; then
872    if test "$ac_srcdir_defaulted" = yes; then    if test "$ac_srcdir_defaulted" = yes; then
873      { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
874       { (exit 1); exit 1; }; }
875    else    else
876      { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
877       { (exit 1); exit 1; }; }
878    fi    fi
879  fi  fi
880  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
881    ac_env_build_alias_set=${build_alias+set}
882    ac_env_build_alias_value=$build_alias
883    ac_cv_env_build_alias_set=${build_alias+set}
884    ac_cv_env_build_alias_value=$build_alias
885    ac_env_host_alias_set=${host_alias+set}
886    ac_env_host_alias_value=$host_alias
887    ac_cv_env_host_alias_set=${host_alias+set}
888    ac_cv_env_host_alias_value=$host_alias
889    ac_env_target_alias_set=${target_alias+set}
890    ac_env_target_alias_value=$target_alias
891    ac_cv_env_target_alias_set=${target_alias+set}
892    ac_cv_env_target_alias_value=$target_alias
893    ac_env_CC_set=${CC+set}
894    ac_env_CC_value=$CC
895    ac_cv_env_CC_set=${CC+set}
896    ac_cv_env_CC_value=$CC
897    ac_env_CFLAGS_set=${CFLAGS+set}
898    ac_env_CFLAGS_value=$CFLAGS
899    ac_cv_env_CFLAGS_set=${CFLAGS+set}
900    ac_cv_env_CFLAGS_value=$CFLAGS
901    ac_env_LDFLAGS_set=${LDFLAGS+set}
902    ac_env_LDFLAGS_value=$LDFLAGS
903    ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
904    ac_cv_env_LDFLAGS_value=$LDFLAGS
905    ac_env_CPPFLAGS_set=${CPPFLAGS+set}
906    ac_env_CPPFLAGS_value=$CPPFLAGS
907    ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
908    ac_cv_env_CPPFLAGS_value=$CPPFLAGS
909    ac_env_CPP_set=${CPP+set}
910    ac_env_CPP_value=$CPP
911    ac_cv_env_CPP_set=${CPP+set}
912    ac_cv_env_CPP_value=$CPP
913    
914  # Prefer explicitly selected file to automatically selected ones.  #
915  if test -z "$sitefile"; then  # Report the --help message.
916    if test -z "$CONFIG_SITE"; then  #
917      if test "x$prefix" != xNONE; then  if test "$ac_init_help" = "long"; then
918        CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"    # Omit some internal or obsolete options to make the list less imposing.
919      # This message is too long to be a string in the A/UX 3.1 sh.
920      cat <<_ACEOF
921    \`configure' configures this package to adapt to many kinds of systems.
922    
923    Usage: $0 [OPTION]... [VAR=VALUE]...
924    
925    To assign environment variables (e.g., CC, CFLAGS...), specify them as
926    VAR=VALUE.  See below for descriptions of some of the useful variables.
927    
928    Defaults for the options are specified in brackets.
929    
930    Configuration:
931      -h, --help              display this help and exit
932          --help=short        display options specific to this package
933          --help=recursive    display the short help of all the included packages
934      -V, --version           display version information and exit
935      -q, --quiet, --silent   do not print \`checking...' messages
936          --cache-file=FILE   cache test results in FILE [disabled]
937      -C, --config-cache      alias for \`--cache-file=config.cache'
938      -n, --no-create         do not create output files
939          --srcdir=DIR        find the sources in DIR [configure dir or \`..']
940    
941    _ACEOF
942    
943      cat <<_ACEOF
944    Installation directories:
945      --prefix=PREFIX         install architecture-independent files in PREFIX
946                              [$ac_default_prefix]
947      --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
948                              [PREFIX]
949    
950    By default, \`make install' will install all the files in
951    \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
952    an installation prefix other than \`$ac_default_prefix' using \`--prefix',
953    for instance \`--prefix=\$HOME'.
954    
955    For better control, use the options below.
956    
957    Fine tuning of the installation directories:
958      --bindir=DIR           user executables [EPREFIX/bin]
959      --sbindir=DIR          system admin executables [EPREFIX/sbin]
960      --libexecdir=DIR       program executables [EPREFIX/libexec]
961      --datadir=DIR          read-only architecture-independent data [PREFIX/share]
962      --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
963      --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
964      --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
965      --libdir=DIR           object code libraries [EPREFIX/lib]
966      --includedir=DIR       C header files [PREFIX/include]
967      --oldincludedir=DIR    C header files for non-gcc [/usr/include]
968      --infodir=DIR          info documentation [PREFIX/info]
969      --mandir=DIR           man documentation [PREFIX/man]
970    _ACEOF
971    
972      cat <<\_ACEOF
973    
974    X features:
975      --x-includes=DIR    X include files are in DIR
976      --x-libraries=DIR   X library files are in DIR
977    
978    System types:
979      --build=BUILD     configure for building on BUILD [guessed]
980      --host=HOST       cross-compile to build programs to run on HOST [BUILD]
981    _ACEOF
982    fi
983    
984    if test -n "$ac_init_help"; then
985    
986      cat <<\_ACEOF
987    
988    Optional Features:
989      --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
990      --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
991      --enable-debug             enable debug options default=no
992      --enable-libraries      build and install libraries default=yes
993      --enable-server         build and install server default=yes
994      --enable-client         build and install clients default=no
995      --enable-Wnn         build and install Wnn default=yes
996      --enable-cWnn         build and install cWnn default=yes
997      --enable-kWnn         build and install kWnn default=yes
998      --enable-ipv6           build and install IPv6 default=no
999      --enable-unsafe-path    allow creating files in an arbitrary path default=no
1000      --enable-shared=PKGS  build shared libraries default=yes
1001      --enable-static=PKGS  build static libraries default=yes
1002      --enable-fast-install=PKGS  optimize for fast installation default=yes
1003      --disable-libtool-lock  avoid locking (might break parallel builds)
1004    
1005    Optional Packages:
1006      --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1007      --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1008      --with-libwnn               use installed Wnn library default=no
1009      --with-wnn-includes=DIR  WNN include files are in DIR
1010      --with-wnn-libraries=DIR Search for WNN libraries in DIRdefault=/usr/local/lib
1011      --with-libcwnn               use installed cWnn library default=no
1012      --with-cwnn-includes=DIR  CWNN include files are in DIR
1013      --with-cwnn-libraries=DIR Search for CWNN libraries in DIRdefault=/usr/local/lib
1014      --with-libkwnn               use installed kWnn library default=no
1015      --with-kwnn-includes=DIR  KWNN include files are in DIR
1016      --with-kwnn-libraries=DIR Search for KWNN libraries in DIRdefault=/usr/local/lib
1017      --with-gnu-ld           assume the C compiler uses GNU ld default=no
1018      --with-pic              try to use only PIC/non-PIC objects default=use both
1019      --with-x                use the X Window System
1020    
1021    Some influential environment variables:
1022      CC          C compiler command
1023      CFLAGS      C compiler flags
1024      LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1025                  nonstandard directory <lib dir>
1026      CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1027                  headers in a nonstandard directory <include dir>
1028      CPP         C preprocessor
1029    
1030    Use these variables to override the choices made by `configure' or to help
1031    it to find libraries and programs with nonstandard names/locations.
1032    
1033    _ACEOF
1034    fi
1035    
1036    if test "$ac_init_help" = "recursive"; then
1037      # If there are subdirs, report their specific --help.
1038      ac_popdir=`pwd`
1039      for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1040        test -d $ac_dir || continue
1041        ac_builddir=.
1042    
1043    if test "$ac_dir" != .; then
1044      ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1045      # A "../" for each directory in $ac_dir_suffix.
1046      ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1047    else
1048      ac_dir_suffix= ac_top_builddir=
1049    fi
1050    
1051    case $srcdir in
1052      .)  # No --srcdir option.  We are building in place.
1053        ac_srcdir=.
1054        if test -z "$ac_top_builddir"; then
1055           ac_top_srcdir=.
1056        else
1057           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1058        fi ;;
1059      [\\/]* | ?:[\\/]* )  # Absolute path.
1060        ac_srcdir=$srcdir$ac_dir_suffix;
1061        ac_top_srcdir=$srcdir ;;
1062      *) # Relative path.
1063        ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1064        ac_top_srcdir=$ac_top_builddir$srcdir ;;
1065    esac
1066    # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1067    # absolute.
1068    ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1069    ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
1070    ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1071    ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1072    
1073        cd $ac_dir
1074        # Check for guested configure; otherwise get Cygnus style configure.
1075        if test -f $ac_srcdir/configure.gnu; then
1076          echo
1077          $SHELL $ac_srcdir/configure.gnu  --help=recursive
1078        elif test -f $ac_srcdir/configure; then
1079          echo
1080          $SHELL $ac_srcdir/configure  --help=recursive
1081        elif test -f $ac_srcdir/configure.ac ||
1082               test -f $ac_srcdir/configure.in; then
1083          echo
1084          $ac_configure --help
1085      else      else
1086        CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1087      fi      fi
1088        cd $ac_popdir
1089      done
1090    fi
1091    
1092    test -n "$ac_init_help" && exit 0
1093    if $ac_init_version; then
1094      cat <<\_ACEOF
1095    
1096    Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1097    Free Software Foundation, Inc.
1098    This configure script is free software; the Free Software Foundation
1099    gives unlimited permission to copy, distribute and modify it.
1100    _ACEOF
1101      exit 0
1102    fi
1103    exec 5>config.log
1104    cat >&5 <<_ACEOF
1105    This file contains any messages produced by compilers while
1106    running configure, to aid debugging if configure makes a mistake.
1107    
1108    It was created by $as_me, which was
1109    generated by GNU Autoconf 2.53.  Invocation command line was
1110    
1111      $ $0 $@
1112    
1113    _ACEOF
1114    {
1115    cat <<_ASUNAME
1116    ## --------- ##
1117    ## Platform. ##
1118    ## --------- ##
1119    
1120    hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1121    uname -m = `(uname -m) 2>/dev/null || echo unknown`
1122    uname -r = `(uname -r) 2>/dev/null || echo unknown`
1123    uname -s = `(uname -s) 2>/dev/null || echo unknown`
1124    uname -v = `(uname -v) 2>/dev/null || echo unknown`
1125    
1126    /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1127    /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1128    
1129    /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1130    /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1131    /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1132    hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1133    /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1134    /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1135    /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1136    
1137    _ASUNAME
1138    
1139    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1140    for as_dir in $PATH
1141    do
1142      IFS=$as_save_IFS
1143      test -z "$as_dir" && as_dir=.
1144      echo "PATH: $as_dir"
1145    done
1146    
1147    } >&5
1148    
1149    cat >&5 <<_ACEOF
1150    
1151    
1152    ## ----------- ##
1153    ## Core tests. ##
1154    ## ----------- ##
1155    
1156    _ACEOF
1157    
1158    
1159    # Keep a trace of the command line.
1160    # Strip out --no-create and --no-recursion so they do not pile up.
1161    # Also quote any args containing shell meta-characters.
1162    ac_configure_args=
1163    ac_sep=
1164    for ac_arg
1165    do
1166      case $ac_arg in
1167      -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1168      | --no-cr | --no-c | -n ) continue ;;
1169      -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1170      | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1171        continue ;;
1172      *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1173        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1174      esac
1175      case " $ac_configure_args " in
1176        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1177        *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1178           ac_sep=" " ;;
1179      esac
1180      # Get rid of the leading space.
1181    done
1182    
1183    # When interrupted or exit'd, cleanup temporary files, and complete
1184    # config.log.  We remove comments because anyway the quotes in there
1185    # would cause problems or look ugly.
1186    # WARNING: Be sure not to use single quotes in there, as some shells,
1187    # such as our DU 5.0 friend, will then `close' the trap.
1188    trap 'exit_status=$?
1189      # Save into config.log some information that might help in debugging.
1190      {
1191        echo
1192        cat <<\_ASBOX
1193    ## ---------------- ##
1194    ## Cache variables. ##
1195    ## ---------------- ##
1196    _ASBOX
1197        echo
1198        # The following way of writing the cache mishandles newlines in values,
1199    {
1200      (set) 2>&1 |
1201        case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1202        *ac_space=\ *)
1203          sed -n \
1204            "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1205              s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1206          ;;
1207        *)
1208          sed -n \
1209            "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1210          ;;
1211        esac;
1212    }
1213        echo
1214        if test -s confdefs.h; then
1215          cat <<\_ASBOX
1216    ## ----------- ##
1217    ## confdefs.h. ##
1218    ## ----------- ##
1219    _ASBOX
1220          echo
1221          sed "/^$/d" confdefs.h
1222          echo
1223        fi
1224        test "$ac_signal" != 0 &&
1225          echo "$as_me: caught signal $ac_signal"
1226        echo "$as_me: exit $exit_status"
1227      } >&5
1228      rm -f core core.* *.core &&
1229      rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1230        exit $exit_status
1231         ' 0
1232    for ac_signal in 1 2 13 15; do
1233      trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1234    done
1235    ac_signal=0
1236    
1237    # confdefs.h avoids OS command line length limits that DEFS can exceed.
1238    rm -rf conftest* confdefs.h
1239    # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1240    echo >confdefs.h
1241    
1242    # Predefined preprocessor variables.
1243    
1244    cat >>confdefs.h <<_ACEOF
1245    #define PACKAGE_NAME "$PACKAGE_NAME"
1246    _ACEOF
1247    
1248    
1249    cat >>confdefs.h <<_ACEOF
1250    #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1251    _ACEOF
1252    
1253    
1254    cat >>confdefs.h <<_ACEOF
1255    #define PACKAGE_VERSION "$PACKAGE_VERSION"
1256    _ACEOF
1257    
1258    
1259    cat >>confdefs.h <<_ACEOF
1260    #define PACKAGE_STRING "$PACKAGE_STRING"
1261    _ACEOF
1262    
1263    
1264    cat >>confdefs.h <<_ACEOF
1265    #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1266    _ACEOF
1267    
1268    
1269    # Let the site file select an alternate cache file if it wants to.
1270    # Prefer explicitly selected file to automatically selected ones.
1271    if test -z "$CONFIG_SITE"; then
1272      if test "x$prefix" != xNONE; then
1273        CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1274      else
1275        CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1276    fi    fi
 else  
   CONFIG_SITE="$sitefile"  
1277  fi  fi
1278  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
1279    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
1280      echo "loading site script $ac_site_file"      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1281    echo "$as_me: loading site script $ac_site_file" >&6;}
1282        sed 's/^/| /' "$ac_site_file" >&5
1283      . "$ac_site_file"      . "$ac_site_file"
1284    fi    fi
1285  done  done
1286    
1287  if test -r "$cache_file"; then  if test -r "$cache_file"; then
1288    echo "loading cache $cache_file"    # Some versions of bash will fail to source /dev/null (special
1289    . $cache_file    # files actually), so we avoid doing that.
1290      if test -f "$cache_file"; then
1291        { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1292    echo "$as_me: loading cache $cache_file" >&6;}
1293        case $cache_file in
1294          [\\/]* | ?:[\\/]* ) . $cache_file;;
1295          *)                      . ./$cache_file;;
1296        esac
1297      fi
1298  else  else
1299    echo "creating cache $cache_file"    { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1300    > $cache_file  echo "$as_me: creating cache $cache_file" >&6;}
1301      >$cache_file
1302    fi
1303    
1304    # Check that the precious variables saved in the cache have kept the same
1305    # value.
1306    ac_cache_corrupted=false
1307    for ac_var in `(set) 2>&1 |
1308                   sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1309      eval ac_old_set=\$ac_cv_env_${ac_var}_set
1310      eval ac_new_set=\$ac_env_${ac_var}_set
1311      eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1312      eval ac_new_val="\$ac_env_${ac_var}_value"
1313      case $ac_old_set,$ac_new_set in
1314        set,)
1315          { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1316    echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1317          ac_cache_corrupted=: ;;
1318        ,set)
1319          { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1320    echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1321          ac_cache_corrupted=: ;;
1322        ,);;
1323        *)
1324          if test "x$ac_old_val" != "x$ac_new_val"; then
1325            { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1326    echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1327            { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1328    echo "$as_me:   former value:  $ac_old_val" >&2;}
1329            { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1330    echo "$as_me:   current value: $ac_new_val" >&2;}
1331            ac_cache_corrupted=:
1332          fi;;
1333      esac
1334      # Pass precious variables to config.status.
1335      if test "$ac_new_set" = set; then
1336        case $ac_new_val in
1337        *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1338          ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1339        *) ac_arg=$ac_var=$ac_new_val ;;
1340        esac
1341        case " $ac_configure_args " in
1342          *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1343          *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1344        esac
1345      fi
1346    done
1347    if $ac_cache_corrupted; then
1348      { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1349    echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1350      { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1351    echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1352       { (exit 1); exit 1; }; }
1353  fi  fi
1354    
1355  ac_ext=c  ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
1356  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
1357  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1358  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1359  cross_compiling=$ac_cv_prog_cc_cross  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1360    
1361  ac_exeext=  
1362  ac_objext=o  
1363  if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  
1364    # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  
   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then  
     ac_n= ac_c='  
 ' ac_t='        '  
   else  
     ac_n=-n ac_c= ac_t=  
   fi  
 else  
   ac_n= ac_c='\c' ac_t=  
 fi  
1365    
1366    
1367    
1368    
1369    
1370    
1371    
1372    
1373    
1374    
1375    
1376    
1377    
1378    ac_config_headers="$ac_config_headers config.h"
1379    
1380    
1381    
1382  ac_aux_dir=  ac_aux_dir=
1383  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1384    if test -f $ac_dir/install-sh; then    if test -f $ac_dir/install-sh; then
# Line 753  for ac_dir in $srcdir $srcdir/.. $srcdir Line 1389  for ac_dir in $srcdir $srcdir/.. $srcdir
1389      ac_aux_dir=$ac_dir      ac_aux_dir=$ac_dir
1390      ac_install_sh="$ac_aux_dir/install.sh -c"      ac_install_sh="$ac_aux_dir/install.sh -c"
1391      break      break
1392      elif test -f $ac_dir/shtool; then
1393        ac_aux_dir=$ac_dir
1394        ac_install_sh="$ac_aux_dir/shtool install -c"
1395        break
1396    fi    fi
1397  done  done
1398  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
1399    { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }    { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1400  fi  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1401  ac_config_guess=$ac_aux_dir/config.guess     { (exit 1); exit 1; }; }
1402  ac_config_sub=$ac_aux_dir/config.sub  fi
1403  ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.  ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1404    ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1405    ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1406    
1407  # Make sure we can run config.sub.  # Make sure we can run config.sub.
1408  if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :  $ac_config_sub sun4 >/dev/null 2>&1 ||
1409  else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }    { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1410  fi  echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1411       { (exit 1); exit 1; }; }
1412  echo $ac_n "checking host system type""... $ac_c" 1>&6  
1413  echo "configure:773: checking host system type" >&5  echo "$as_me:$LINENO: checking build system type" >&5
1414    echo $ECHO_N "checking build system type... $ECHO_C" >&6
1415  host_alias=$host  if test "${ac_cv_build+set}" = set; then
1416  case "$host_alias" in    echo $ECHO_N "(cached) $ECHO_C" >&6
1417  NONE)  else
1418    case $nonopt in    ac_cv_build_alias=$build_alias
1419    NONE)  test -z "$ac_cv_build_alias" &&
1420      if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :    ac_cv_build_alias=`$ac_config_guess`
1421      else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }  test -z "$ac_cv_build_alias" &&
1422      fi ;;    { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1423    *) host_alias=$nonopt ;;  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1424    esac ;;     { (exit 1); exit 1; }; }
1425  esac  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1426      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1427    echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1428       { (exit 1); exit 1; }; }
1429    
1430    fi
1431    echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1432    echo "${ECHO_T}$ac_cv_build" >&6
1433    build=$ac_cv_build
1434    build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1435    build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1436    build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1437    
1438    
1439    echo "$as_me:$LINENO: checking host system type" >&5
1440    echo $ECHO_N "checking host system type... $ECHO_C" >&6
1441    if test "${ac_cv_host+set}" = set; then
1442      echo $ECHO_N "(cached) $ECHO_C" >&6
1443    else
1444      ac_cv_host_alias=$host_alias
1445    test -z "$ac_cv_host_alias" &&
1446      ac_cv_host_alias=$ac_cv_build_alias
1447    ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1448      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1449    echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1450       { (exit 1); exit 1; }; }
1451    
1452    fi
1453    echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1454    echo "${ECHO_T}$ac_cv_host" >&6
1455    host=$ac_cv_host
1456    host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1457    host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1458    host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1459    
 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`  
 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
 echo "$ac_t""$host" 1>&6  
1460    
1461    
1462    
# Line 797  if test "${enable_debug+set}" = set; the Line 1466  if test "${enable_debug+set}" = set; the
1466    case "${enableval}" in    case "${enableval}" in
1467     yes) debug=true ;;     yes) debug=true ;;
1468     no)  debug=false ;;     no)  debug=false ;;
1469     *)   { echo "configure: error: bad value for --enable-debug" 1>&2; exit 1; }     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-debug" >&5
1470    echo "$as_me: error: bad value for --enable-debug" >&2;}
1471       { (exit 1); exit 1; }; }
1472  esac  esac
1473  else  else
1474    debug=false    debug=false
1475  fi  fi;
   
1476    
1477  # Check whether --enable-libraries or --disable-libraries was given.  # Check whether --enable-libraries or --disable-libraries was given.
1478  if test "${enable_libraries+set}" = set; then  if test "${enable_libraries+set}" = set; then
# Line 810  if test "${enable_libraries+set}" = set; Line 1480  if test "${enable_libraries+set}" = set;
1480    case "${enableval}" in    case "${enableval}" in
1481     yes) libraries=true ;;     yes) libraries=true ;;
1482     no)  libraries=false ;;     no)  libraries=false ;;
1483     *)   { echo "configure: error: bad value for --enable-libraries" 1>&2; exit 1; } ;;     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-libraries" >&5
1484    echo "$as_me: error: bad value for --enable-libraries" >&2;}
1485       { (exit 1); exit 1; }; } ;;
1486  esac  esac
1487  else  else
1488    libraries=true    libraries=true
1489  fi  fi;
   
1490    
1491  # Check whether --enable-server or --disable-server was given.  # Check whether --enable-server or --disable-server was given.
1492  if test "${enable_server+set}" = set; then  if test "${enable_server+set}" = set; then
# Line 823  if test "${enable_server+set}" = set; th Line 1494  if test "${enable_server+set}" = set; th
1494    case "${enableval}" in    case "${enableval}" in
1495     yes) server=true ;;     yes) server=true ;;
1496     no)  server=false ;;     no)  server=false ;;
1497     *)   { echo "configure: error: bad value for --enable-server" 1>&2; exit 1; } ;;     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-server" >&5
1498    echo "$as_me: error: bad value for --enable-server" >&2;}
1499       { (exit 1); exit 1; }; } ;;
1500  esac  esac
1501  else  else
1502    server=true    server=true
1503  fi  fi;
   
1504    
1505  # Check whether --enable-client or --disable-client was given.  # Check whether --enable-client or --disable-client was given.
1506  if test "${enable_client+set}" = set; then  if test "${enable_client+set}" = set; then
# Line 836  if test "${enable_client+set}" = set; th Line 1508  if test "${enable_client+set}" = set; th
1508    case "${enableval}" in    case "${enableval}" in
1509     yes) client=true ;;     yes) client=true ;;
1510     no)  client=false ;;     no)  client=false ;;
1511     *)   { echo "configure: error: bad value for --enable-client" 1>&2; exit 1; } ;;     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-client" >&5
1512    echo "$as_me: error: bad value for --enable-client" >&2;}
1513       { (exit 1); exit 1; }; } ;;
1514  esac  esac
1515  else  else
1516    client=false    client=false
1517  fi  fi;
   
1518    
1519  if test $libraries = true; then  if test $libraries = true; then
1520          SUBDIRS="\$(LIB_SUBDIRS)"          SUBDIRS="\$(LIB_SUBDIRS)"
# Line 865  if test "${enable_Wnn+set}" = set; then Line 1538  if test "${enable_Wnn+set}" = set; then
1538    case "${enableval}" in    case "${enableval}" in
1539     yes) Wnn="Wnn";;     yes) Wnn="Wnn";;
1540     no)  Wnn="" ;;     no)  Wnn="" ;;
1541     *)   { echo "configure: error: bad value for --enable-Wnn" 1>&2; exit 1; } ;;     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-Wnn" >&5
1542    echo "$as_me: error: bad value for --enable-Wnn" >&2;}
1543       { (exit 1); exit 1; }; } ;;
1544  esac  esac
1545  else  else
1546    Wnn="Wnn"    Wnn="Wnn"
1547  fi  fi;
   
1548    
1549    
1550  if test "$server" = true -a "$Wnn" = Wnn; then  if test "$server" = true -a "$Wnn" = Wnn; then
# Line 888  if test "${enable_cWnn+set}" = set; then Line 1562  if test "${enable_cWnn+set}" = set; then
1562    case "${enableval}" in    case "${enableval}" in
1563     yes) cWnn="cWnn" ;;     yes) cWnn="cWnn" ;;
1564     no)  cWnn="" ;;     no)  cWnn="" ;;
1565     *)   { echo "configure: error: bad value for --enable-cWnn" 1>&2; exit 1; } ;;     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-cWnn" >&5
1566    echo "$as_me: error: bad value for --enable-cWnn" >&2;}
1567       { (exit 1); exit 1; }; } ;;
1568  esac  esac
1569  else  else
1570    cWnn="cWnn"    cWnn="cWnn"
1571  fi  fi;
   
1572    
1573    
1574  # Check whether --enable-kWnn or --disable-kWnn was given.  # Check whether --enable-kWnn or --disable-kWnn was given.
# Line 902  if test "${enable_kWnn+set}" = set; then Line 1577  if test "${enable_kWnn+set}" = set; then
1577    case "${enableval}" in    case "${enableval}" in
1578     yes) kWnn="kWnn" ;;     yes) kWnn="kWnn" ;;
1579     no)  kWnn="" ;;     no)  kWnn="" ;;
1580     *)   { echo "configure: error: bad value for --enable-kWnn" 1>&2; exit 1; } ;;     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-kWnn" >&5
1581    echo "$as_me: error: bad value for --enable-kWnn" >&2;}
1582       { (exit 1); exit 1; }; } ;;
1583  esac  esac
1584  else  else
1585    kWnn="kWnn"    kWnn="kWnn"
1586  fi  fi;
1587    
1588    
1589    
# Line 916  fi Line 1593  fi
1593  if test "${with_libwnn+set}" = set; then  if test "${with_libwnn+set}" = set; then
1594    withval="$with_libwnn"    withval="$with_libwnn"
1595      with_libwnn="${withval}"      with_libwnn="${withval}"
1596    
1597  # Check whether --with-wnn-includes or --without-wnn-includes was given.  # Check whether --with-wnn-includes or --without-wnn-includes was given.
1598  if test "${with_wnn_includes+set}" = set; then  if test "${with_wnn_includes+set}" = set; then
1599    withval="$with_wnn_includes"    withval="$with_wnn_includes"
1600    wnnincludedir="-I${withval}"    wnnincludedir="-I${withval}"
1601  else  else
1602    wnnincludedir=''    wnnincludedir=''
1603  fi  fi;
1604    
1605  # Check whether --with-wnn-libraries or --without-wnn-libraries was given.  # Check whether --with-wnn-libraries or --without-wnn-libraries was given.
1606  if test "${with_wnn_libraries+set}" = set; then  if test "${with_wnn_libraries+set}" = set; then
# Line 930  if test "${with_wnn_libraries+set}" = se Line 1608  if test "${with_wnn_libraries+set}" = se
1608    wnnlibdir="${withval}"    wnnlibdir="${withval}"
1609  else  else
1610    wnnlibdir='/usr/local/lib'    wnnlibdir='/usr/local/lib'
1611  fi  fi;
   
1612          if test "X${with_libwnn}" = X-lwnn; then          if test "X${with_libwnn}" = X-lwnn; then
1613                  WNNJLIB="-L${wnnlibdir} -lwnn"                  WNNJLIB="-L${wnnlibdir} -lwnn"
1614          elif test X"`echo ${with_libwnn} | grep '^/.*'`" != X ; then          elif test X"`echo ${with_libwnn} | grep '^/.*'`" != X ; then
# Line 947  else Line 1624  else
1624          DEPWNNJLIB="\$(WNNJLIB)"          DEPWNNJLIB="\$(WNNJLIB)"
1625          HINSI_DATA="\$(WNNJDSRC)/hinsi.data"          HINSI_DATA="\$(WNNJDSRC)/hinsi.data"
1626    
1627  fi  fi;
1628    
1629    
1630    
# Line 956  fi Line 1633  fi
1633  # Check whether --with-libcwnn or --without-libcwnn was given.  # Check whether --with-libcwnn or --without-libcwnn was given.
1634  if test "${with_libcwnn+set}" = set; then  if test "${with_libcwnn+set}" = set; then
1635    withval="$with_libcwnn"    withval="$with_libcwnn"
1636      
1637    
1638  # Check whether --with-cwnn-includes or --without-cwnn-includes was given.  # Check whether --with-cwnn-includes or --without-cwnn-includes was given.
1639  if test "${with_cwnn_includes+set}" = set; then  if test "${with_cwnn_includes+set}" = set; then
1640    withval="$with_cwnn_includes"    withval="$with_cwnn_includes"
1641    cwnnincludedir="-I${withval}"    cwnnincludedir="-I${withval}"
1642  else  else
1643    cwnnincludedir=''    cwnnincludedir=''
1644  fi  fi;
1645    
1646  # Check whether --with-cwnn-libraries or --without-cwnn-libraries was given.  # Check whether --with-cwnn-libraries or --without-cwnn-libraries was given.
1647  if test "${with_cwnn_libraries+set}" = set; then  if test "${with_cwnn_libraries+set}" = set; then
# Line 971  if test "${with_cwnn_libraries+set}" = s Line 1649  if test "${with_cwnn_libraries+set}" = s
1649    cwnnlibdir="${withval}"    cwnnlibdir="${withval}"
1650  else  else
1651    cwnnlibdir='/usr/local/lib'    cwnnlibdir='/usr/local/lib'
1652  fi  fi;
   
1653          if test "X${with_libcwnn}" = X-lcwnn; then          if test "X${with_libcwnn}" = X-lcwnn; then
1654                  CWNNJLIB="-L${cwnnlibdir} -lcwnn"                  CWNNJLIB="-L${cwnnlibdir} -lcwnn"
1655          elif test X"`echo ${with_libcwnn} | grep '^/.*'`" != X ; then          elif test X"`echo ${with_libcwnn} | grep '^/.*'`" != X ; then
# Line 990  else Line 1667  else
1667          CHINSI_DATA="\$(CWNNCDSRC)/cixing.data"          CHINSI_DATA="\$(CWNNCDSRC)/cixing.data"
1668          THINSI_DATA="\$(TWNNTDSRC)/cixing.data"          THINSI_DATA="\$(TWNNTDSRC)/cixing.data"
1669    
1670  fi  fi;
1671    
1672    
1673    
# Line 1000  fi Line 1677  fi
1677  # Check whether --with-libkwnn or --without-libkwnn was given.  # Check whether --with-libkwnn or --without-libkwnn was given.
1678  if test "${with_libkwnn+set}" = set; then  if test "${with_libkwnn+set}" = set; then
1679    withval="$with_libkwnn"    withval="$with_libkwnn"
1680      
1681    
1682  # Check whether --with-kwnn-includes or --without-kwnn-includes was given.  # Check whether --with-kwnn-includes or --without-kwnn-includes was given.
1683  if test "${with_kwnn_includes+set}" = set; then  if test "${with_kwnn_includes+set}" = set; then
1684    withval="$with_kwnn_includes"    withval="$with_kwnn_includes"
1685    kwnnincludedir="-I${withval}"    kwnnincludedir="-I${withval}"
1686  else  else
1687    kwnnincludedir=''    kwnnincludedir=''
1688  fi  fi;
1689    
1690  # Check whether --with-kwnn-libraries or --without-kwnn-libraries was given.  # Check whether --with-kwnn-libraries or --without-kwnn-libraries was given.
1691  if test "${with_kwnn_libraries+set}" = set; then  if test "${with_kwnn_libraries+set}" = set; then
# Line 1015  if test "${with_kwnn_libraries+set}" = s Line 1693  if test "${with_kwnn_libraries+set}" = s
1693    kwnnlibdir="${withval}"    kwnnlibdir="${withval}"
1694  else  else
1695    kwnnlibdir='/usr/local/lib'    kwnnlibdir='/usr/local/lib'
1696  fi  fi;
   
1697          if test "X${with_libkwnn}" = X-lkwnn; then          if test "X${with_libkwnn}" = X-lkwnn; then
1698                  KWNNJLIB="-L${kwnnlibdir} -lkwnn"                  KWNNJLIB="-L${kwnnlibdir} -lkwnn"
1699          elif test X"`echo ${with_libkwnn} | grep '^/.*'`" != X ; then          elif test X"`echo ${with_libkwnn} | grep '^/.*'`" != X ; then
# Line 1032  else Line 1709  else
1709          DEPKWNNJLIB="\$(KWNNJLIB)"          DEPKWNNJLIB="\$(KWNNJLIB)"
1710          KHINSI_DATA="\$(KWNNKDSRC)/hinsi.data"          KHINSI_DATA="\$(KWNNKDSRC)/hinsi.data"
1711    
1712  fi  fi;
   
1713    
1714    
1715    
# Line 1045  if test "${enable_ipv6+set}" = set; then Line 1721  if test "${enable_ipv6+set}" = set; then
1721    case "${enableval}" in    case "${enableval}" in
1722     yes) ipv6="-DINET6";;     yes) ipv6="-DINET6";;
1723     no)  ipv6="" ;;     no)  ipv6="" ;;
1724     *)   { echo "configure: error: bad value for --enable-ipv6" 1>&2; exit 1; } ;;     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-ipv6" >&5
1725    echo "$as_me: error: bad value for --enable-ipv6" >&2;}
1726       { (exit 1); exit 1; }; } ;;
1727  esac  esac
1728  else  else
1729    ipv6=""    ipv6=""
1730  fi  fi;
   
1731    
1732    
1733  # Check whether --enable-unsafe-path or --disable-unsafe-path was given.  # Check whether --enable-unsafe-path or --disable-unsafe-path was given.
# Line 1059  if test "${enable_unsafe_path+set}" = se Line 1736  if test "${enable_unsafe_path+set}" = se
1736    case "${enableval}" in    case "${enableval}" in
1737     yes) unsafe_path=true;;     yes) unsafe_path=true;;
1738     no)  unsafe_path=false;;     no)  unsafe_path=false;;
1739     *)   { echo "configure: error: bad value for --enable-unsafe-path" 1>&2; exit 1; } ;;     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-unsafe-path" >&5
1740    echo "$as_me: error: bad value for --enable-unsafe-path" >&2;}
1741       { (exit 1); exit 1; }; } ;;
1742  esac  esac
1743  else  else
1744    unsafe_path=false    unsafe_path=false
1745  fi  fi;
   
1746    
1747    
1748  if test ${unsafe_path} = true; then  if test ${unsafe_path} = true; then
1749          cat >> confdefs.h <<\EOF          cat >>confdefs.h <<\_ACEOF
1750  #define WNN_ALLOW_UNSAFE_PATH 1  #define WNN_ALLOW_UNSAFE_PATH 1
1751  EOF  _ACEOF
1752    
1753    fi
1754    
1755    ac_ext=c
1756    ac_cpp='$CPP $CPPFLAGS'
1757    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1758    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1759    ac_compiler_gnu=$ac_cv_c_compiler_gnu
1760    if test -n "$ac_tool_prefix"; then
1761      # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1762    set dummy ${ac_tool_prefix}gcc; ac_word=$2
1763    echo "$as_me:$LINENO: checking for $ac_word" >&5
1764    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1765    if test "${ac_cv_prog_CC+set}" = set; then
1766      echo $ECHO_N "(cached) $ECHO_C" >&6
1767    else
1768      if test -n "$CC"; then
1769      ac_cv_prog_CC="$CC" # Let the user override the test.
1770    else
1771    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1772    for as_dir in $PATH
1773    do
1774      IFS=$as_save_IFS
1775      test -z "$as_dir" && as_dir=.
1776      for ac_exec_ext in '' $ac_executable_extensions; do
1777      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1778        ac_cv_prog_CC="${ac_tool_prefix}gcc"
1779        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1780        break 2
1781      fi
1782    done
1783    done
1784    
1785  fi  fi
1786    fi
1787    CC=$ac_cv_prog_CC
1788    if test -n "$CC"; then
1789      echo "$as_me:$LINENO: result: $CC" >&5
1790    echo "${ECHO_T}$CC" >&6
1791    else
1792      echo "$as_me:$LINENO: result: no" >&5
1793    echo "${ECHO_T}no" >&6
1794    fi
1795    
1796  # Extract the first word of "gcc", so it can be a program name with args.  fi
1797    if test -z "$ac_cv_prog_CC"; then
1798      ac_ct_CC=$CC
1799      # Extract the first word of "gcc", so it can be a program name with args.
1800  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1801  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
1802  echo "configure:1081: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1803  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1804    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1805    else
1806      if test -n "$ac_ct_CC"; then
1807      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1808    else
1809    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1810    for as_dir in $PATH
1811    do
1812      IFS=$as_save_IFS
1813      test -z "$as_dir" && as_dir=.
1814      for ac_exec_ext in '' $ac_executable_extensions; do
1815      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816        ac_cv_prog_ac_ct_CC="gcc"
1817        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1818        break 2
1819      fi
1820    done
1821    done
1822    
1823    fi
1824    fi
1825    ac_ct_CC=$ac_cv_prog_ac_ct_CC
1826    if test -n "$ac_ct_CC"; then
1827      echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1828    echo "${ECHO_T}$ac_ct_CC" >&6
1829    else
1830      echo "$as_me:$LINENO: result: no" >&5
1831    echo "${ECHO_T}no" >&6
1832    fi
1833    
1834      CC=$ac_ct_CC
1835    else
1836      CC="$ac_cv_prog_CC"
1837    fi
1838    
1839    if test -z "$CC"; then
1840      if test -n "$ac_tool_prefix"; then
1841      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1842    set dummy ${ac_tool_prefix}cc; ac_word=$2
1843    echo "$as_me:$LINENO: checking for $ac_word" >&5
1844    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1845    if test "${ac_cv_prog_CC+set}" = set; then
1846      echo $ECHO_N "(cached) $ECHO_C" >&6
1847  else  else
1848    if test -n "$CC"; then    if test -n "$CC"; then
1849    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1850  else  else
1851    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1852    ac_dummy="$PATH"  for as_dir in $PATH
1853    for ac_dir in $ac_dummy; do  do
1854      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
1855      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
1856        ac_cv_prog_CC="gcc"    for ac_exec_ext in '' $ac_executable_extensions; do
1857        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1858      fi      ac_cv_prog_CC="${ac_tool_prefix}cc"
1859    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1860    IFS="$ac_save_ifs"      break 2
1861      fi
1862    done
1863    done
1864    
1865  fi  fi
1866  fi  fi
1867  CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
1868  if test -n "$CC"; then  if test -n "$CC"; then
1869    echo "$ac_t""$CC" 1>&6    echo "$as_me:$LINENO: result: $CC" >&5
1870    echo "${ECHO_T}$CC" >&6
1871    else
1872      echo "$as_me:$LINENO: result: no" >&5
1873    echo "${ECHO_T}no" >&6
1874    fi
1875    
1876    fi
1877    if test -z "$ac_cv_prog_CC"; then
1878      ac_ct_CC=$CC
1879      # Extract the first word of "cc", so it can be a program name with args.
1880    set dummy cc; ac_word=$2
1881    echo "$as_me:$LINENO: checking for $ac_word" >&5
1882    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1883    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1884      echo $ECHO_N "(cached) $ECHO_C" >&6
1885    else
1886      if test -n "$ac_ct_CC"; then
1887      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1888    else
1889    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890    for as_dir in $PATH
1891    do
1892      IFS=$as_save_IFS
1893      test -z "$as_dir" && as_dir=.
1894      for ac_exec_ext in '' $ac_executable_extensions; do
1895      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1896        ac_cv_prog_ac_ct_CC="cc"
1897        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898        break 2
1899      fi
1900    done
1901    done
1902    
1903    fi
1904    fi
1905    ac_ct_CC=$ac_cv_prog_ac_ct_CC
1906    if test -n "$ac_ct_CC"; then
1907      echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1908    echo "${ECHO_T}$ac_ct_CC" >&6
1909    else
1910      echo "$as_me:$LINENO: result: no" >&5
1911    echo "${ECHO_T}no" >&6
1912    fi
1913    
1914      CC=$ac_ct_CC
1915  else  else
1916    echo "$ac_t""no" 1>&6    CC="$ac_cv_prog_CC"
1917  fi  fi
1918    
1919    fi
1920  if test -z "$CC"; then  if test -z "$CC"; then
1921    # 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.
1922  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1923  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
1924  echo "configure:1111: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1925  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if test "${ac_cv_prog_CC+set}" = set; then
1926    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1927  else  else
1928    if test -n "$CC"; then    if test -n "$CC"; then
1929    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1930  else  else
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
1931    ac_prog_rejected=no    ac_prog_rejected=no
1932    ac_dummy="$PATH"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1933    for ac_dir in $ac_dummy; do  for as_dir in $PATH
1934      test -z "$ac_dir" && ac_dir=.  do
1935      if test -f $ac_dir/$ac_word; then    IFS=$as_save_IFS
1936        if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then    test -z "$as_dir" && as_dir=.
1937          ac_prog_rejected=yes    for ac_exec_ext in '' $ac_executable_extensions; do
1938          continue    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1939        fi      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1940        ac_cv_prog_CC="cc"         ac_prog_rejected=yes
1941        break         continue
1942      fi       fi
1943    done      ac_cv_prog_CC="cc"
1944    IFS="$ac_save_ifs"      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1945        break 2
1946      fi
1947    done
1948    done
1949    
1950  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
1951    # We found a bogon in the path, so make sure we never use it.    # We found a bogon in the path, so make sure we never use it.
1952    set dummy $ac_cv_prog_CC    set dummy $ac_cv_prog_CC
1953    shift    shift
1954    if test $# -gt 0; then    if test $# != 0; then
1955      # We chose a different compiler from the bogus one.      # We chose a different compiler from the bogus one.
1956      # However, it has the same basename, so the bogon will be chosen      # However, it has the same basename, so the bogon will be chosen
1957      # first if we set CC to just the basename; use the full file name.      # first if we set CC to just the basename; use the full file name.
1958      shift      shift
1959      set dummy "$ac_dir/$ac_word" "$@"      set dummy "$as_dir/$ac_word" ${1+"$@"}
1960      shift      shift
1961      ac_cv_prog_CC="$@"      ac_cv_prog_CC="$@"
1962    fi    fi
1963  fi  fi
1964  fi  fi
1965  fi  fi
1966  CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
1967  if test -n "$CC"; then  if test -n "$CC"; then
1968    echo "$ac_t""$CC" 1>&6    echo "$as_me:$LINENO: result: $CC" >&5
1969    echo "${ECHO_T}$CC" >&6
1970  else  else
1971    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
1972    echo "${ECHO_T}no" >&6
1973  fi  fi
1974    
1975    if test -z "$CC"; then  fi
1976      case "`uname -s`" in  if test -z "$CC"; then
1977      *win32* | *WIN32*)    if test -n "$ac_tool_prefix"; then
1978        # Extract the first word of "cl", so it can be a program name with args.    for ac_prog in cl
1979  set dummy cl; ac_word=$2    do
1980  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1981  echo "configure:1162: checking for $ac_word" >&5  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1982  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo "$as_me:$LINENO: checking for $ac_word" >&5
1983    echo $ac_n "(cached) $ac_c" 1>&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1984    if test "${ac_cv_prog_CC+set}" = set; then
1985      echo $ECHO_N "(cached) $ECHO_C" >&6
1986  else  else
1987    if test -n "$CC"; then    if test -n "$CC"; then
1988    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1989  else  else
1990    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1991    ac_dummy="$PATH"  for as_dir in $PATH
1992    for ac_dir in $ac_dummy; do  do
1993      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
1994      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
1995        ac_cv_prog_CC="cl"    for ac_exec_ext in '' $ac_executable_extensions; do
1996        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1997      fi      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1998    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1999    IFS="$ac_save_ifs"      break 2
2000      fi
2001    done
2002    done
2003    
2004  fi  fi
2005  fi  fi
2006  CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
2007  if test -n "$CC"; then  if test -n "$CC"; then
2008    echo "$ac_t""$CC" 1>&6    echo "$as_me:$LINENO: result: $CC" >&5
2009    echo "${ECHO_T}$CC" >&6
2010  else  else
2011    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
2012    echo "${ECHO_T}no" >&6
2013  fi  fi
2014   ;;  
2015      esac      test -n "$CC" && break
2016      done
2017    fi
2018    if test -z "$CC"; then
2019      ac_ct_CC=$CC
2020      for ac_prog in cl
2021    do
2022      # Extract the first word of "$ac_prog", so it can be a program name with args.
2023    set dummy $ac_prog; ac_word=$2
2024    echo "$as_me:$LINENO: checking for $ac_word" >&5
2025    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2026    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2027      echo $ECHO_N "(cached) $ECHO_C" >&6
2028    else
2029      if test -n "$ac_ct_CC"; then
2030      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2031    else
2032    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2033    for as_dir in $PATH
2034    do
2035      IFS=$as_save_IFS
2036      test -z "$as_dir" && as_dir=.
2037      for ac_exec_ext in '' $ac_executable_extensions; do
2038      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2039        ac_cv_prog_ac_ct_CC="$ac_prog"
2040        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2041        break 2
2042    fi    fi
2043    test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }  done
2044    done
2045    
2046    fi
2047    fi
2048    ac_ct_CC=$ac_cv_prog_ac_ct_CC
2049    if test -n "$ac_ct_CC"; then
2050      echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2051    echo "${ECHO_T}$ac_ct_CC" >&6
2052    else
2053      echo "$as_me:$LINENO: result: no" >&5
2054    echo "${ECHO_T}no" >&6
2055  fi  fi
2056    
2057  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6    test -n "$ac_ct_CC" && break
2058  echo "configure:1194: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  done
2059    
2060  ac_ext=c    CC=$ac_ct_CC
2061  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  fi
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  
 cross_compiling=$ac_cv_prog_cc_cross  
2062    
2063  cat > conftest.$ac_ext << EOF  fi
2064    
 #line 1205 "configure"  
 #include "confdefs.h"  
2065    
2066  main(){return(0);}  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2067  EOF  echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2068  if { (eval echo configure:1210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then     { (exit 1); exit 1; }; }
2069    ac_cv_prog_cc_works=yes  
2070    # If we can't run a trivial program, we are probably using a cross compiler.  # Provide some information about the compiler.
2071    if (./conftest; exit) 2>/dev/null; then  echo "$as_me:$LINENO:" \
2072      ac_cv_prog_cc_cross=no       "checking for C compiler version" >&5
2073    ac_compiler=`set X $ac_compile; echo $2`
2074    { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2075      (eval $ac_compiler --version </dev/null >&5) 2>&5
2076      ac_status=$?
2077      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078      (exit $ac_status); }
2079    { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2080      (eval $ac_compiler -v </dev/null >&5) 2>&5
2081      ac_status=$?
2082      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083      (exit $ac_status); }
2084    { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2085      (eval $ac_compiler -V </dev/null >&5) 2>&5
2086      ac_status=$?
2087      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2088      (exit $ac_status); }
2089    
2090    cat >conftest.$ac_ext <<_ACEOF
2091    #line $LINENO "configure"
2092    #include "confdefs.h"
2093    
2094    #ifdef F77_DUMMY_MAIN
2095    #  ifdef __cplusplus
2096         extern "C"
2097    #  endif
2098       int F77_DUMMY_MAIN() { return 1; }
2099    #endif
2100    int
2101    main ()
2102    {
2103    
2104      ;
2105      return 0;
2106    }
2107    _ACEOF
2108    ac_clean_files_save=$ac_clean_files
2109    ac_clean_files="$ac_clean_files a.out a.exe"
2110    # Try to create an executable without -o first, disregard a.out.
2111    # It will help us diagnose broken compilers, and finding out an intuition
2112    # of exeext.
2113    echo "$as_me:$LINENO: checking for C compiler default output" >&5
2114    echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2115    ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2116    if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2117      (eval $ac_link_default) 2>&5
2118      ac_status=$?
2119      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120      (exit $ac_status); }; then
2121      # Find the output, starting from the most likely.  This scheme is
2122    # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2123    # resort.
2124    
2125    # Be careful to initialize this variable, since it used to be cached.
2126    # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2127    ac_cv_exeext=
2128    for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2129                    ls a.out conftest 2>/dev/null;
2130                    ls a.* conftest.* 2>/dev/null`; do
2131      case $ac_file in
2132        *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2133        a.out ) # We found the default executable, but exeext='' is most
2134                # certainly right.
2135                break;;
2136        *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2137              # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2138              export ac_cv_exeext
2139              break;;
2140        * ) break;;
2141      esac
2142    done
2143    else
2144      echo "$as_me: failed program was:" >&5
2145    cat conftest.$ac_ext >&5
2146    { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2147    echo "$as_me: error: C compiler cannot create executables" >&2;}
2148       { (exit 77); exit 77; }; }
2149    fi
2150    
2151    ac_exeext=$ac_cv_exeext
2152    echo "$as_me:$LINENO: result: $ac_file" >&5
2153    echo "${ECHO_T}$ac_file" >&6
2154    
2155    # Check the compiler produces executables we can run.  If not, either
2156    # the compiler is broken, or we cross compile.
2157    echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2158    echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2159    # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2160    # If not cross compiling, check that we can run a simple program.
2161    if test "$cross_compiling" != yes; then
2162      if { ac_try='./$ac_file'
2163      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2164      (eval $ac_try) 2>&5
2165      ac_status=$?
2166      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167      (exit $ac_status); }; }; then
2168        cross_compiling=no
2169    else    else
2170      ac_cv_prog_cc_cross=yes      if test "$cross_compiling" = maybe; then
2171            cross_compiling=yes
2172        else
2173            { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2174    If you meant to cross compile, use \`--host'." >&5
2175    echo "$as_me: error: cannot run C compiled programs.
2176    If you meant to cross compile, use \`--host'." >&2;}
2177       { (exit 1); exit 1; }; }
2178        fi
2179    fi    fi
2180    fi
2181    echo "$as_me:$LINENO: result: yes" >&5
2182    echo "${ECHO_T}yes" >&6
2183    
2184    rm -f a.out a.exe conftest$ac_cv_exeext
2185    ac_clean_files=$ac_clean_files_save
2186    # Check the compiler produces executables we can run.  If not, either
2187    # the compiler is broken, or we cross compile.
2188    echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2189    echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2190    echo "$as_me:$LINENO: result: $cross_compiling" >&5
2191    echo "${ECHO_T}$cross_compiling" >&6
2192    
2193    echo "$as_me:$LINENO: checking for suffix of executables" >&5
2194    echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2195    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2196      (eval $ac_link) 2>&5
2197      ac_status=$?
2198      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199      (exit $ac_status); }; then
2200      # If both `conftest.exe' and `conftest' are `present' (well, observable)
2201    # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2202    # work properly (i.e., refer to `conftest.exe'), while it won't with
2203    # `rm'.
2204    for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2205      case $ac_file in
2206        *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2207        *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2208              export ac_cv_exeext
2209              break;;
2210        * ) break;;
2211      esac
2212    done
2213  else  else
2214    echo "configure: failed program was:" >&5    { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2215    cat conftest.$ac_ext >&5  echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2216    ac_cv_prog_cc_works=no     { (exit 1); exit 1; }; }
2217  fi  fi
2218  rm -fr conftest*  
2219  ac_ext=c  rm -f conftest$ac_cv_exeext
2220  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2221  ac_cpp='$CPP $CPPFLAGS'  echo "${ECHO_T}$ac_cv_exeext" >&6
2222  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  
2223  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  rm -f conftest.$ac_ext
2224  cross_compiling=$ac_cv_prog_cc_cross  EXEEXT=$ac_cv_exeext
2225    ac_exeext=$EXEEXT
2226  echo "$ac_t""$ac_cv_prog_cc_works" 1>&6  echo "$as_me:$LINENO: checking for suffix of object files" >&5
2227  if test $ac_cv_prog_cc_works = no; then  echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2228    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }  if test "${ac_cv_objext+set}" = set; then
2229  fi    echo $ECHO_N "(cached) $ECHO_C" >&6
2230  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  else
2231  echo "configure:1236: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5    cat >conftest.$ac_ext <<_ACEOF
2232  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  #line $LINENO "configure"
2233  cross_compiling=$ac_cv_prog_cc_cross  #include "confdefs.h"
2234    
2235  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6  #ifdef F77_DUMMY_MAIN
2236  echo "configure:1241: checking whether we are using GNU C" >&5  #  ifdef __cplusplus
2237  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then       extern "C"
2238    echo $ac_n "(cached) $ac_c" 1>&6  #  endif
2239  else     int F77_DUMMY_MAIN() { return 1; }
   cat > conftest.c <<EOF  
 #ifdef __GNUC__  
   yes;  
2240  #endif  #endif
2241  EOF  int
2242  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  main ()
2243    ac_cv_prog_gcc=yes  {
2244    
2245      ;
2246      return 0;
2247    }
2248    _ACEOF
2249    rm -f conftest.o conftest.obj
2250    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2251      (eval $ac_compile) 2>&5
2252      ac_status=$?
2253      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254      (exit $ac_status); }; then
2255      for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2256      case $ac_file in
2257        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2258        *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2259           break;;
2260      esac
2261    done
2262  else  else
2263    ac_cv_prog_gcc=no    echo "$as_me: failed program was:" >&5
2264    cat conftest.$ac_ext >&5
2265    { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2266    echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2267       { (exit 1); exit 1; }; }
2268  fi  fi
2269    
2270    rm -f conftest.$ac_cv_objext conftest.$ac_ext
2271  fi  fi
2272    echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2273    echo "${ECHO_T}$ac_cv_objext" >&6
2274    OBJEXT=$ac_cv_objext
2275    ac_objext=$OBJEXT
2276    echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2277    echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2278    if test "${ac_cv_c_compiler_gnu+set}" = set; then
2279      echo $ECHO_N "(cached) $ECHO_C" >&6
2280    else
2281      cat >conftest.$ac_ext <<_ACEOF
2282    #line $LINENO "configure"
2283    #include "confdefs.h"
2284    
2285  echo "$ac_t""$ac_cv_prog_gcc" 1>&6  #ifdef F77_DUMMY_MAIN
2286    #  ifdef __cplusplus
2287         extern "C"
2288    #  endif
2289       int F77_DUMMY_MAIN() { return 1; }
2290    #endif
2291    int
2292    main ()
2293    {
2294    #ifndef __GNUC__
2295           choke me
2296    #endif
2297    
2298  if test $ac_cv_prog_gcc = yes; then    ;
2299    GCC=yes    return 0;
2300  else  }
2301    GCC=  _ACEOF
2302  fi  rm -f conftest.$ac_objext
2303    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2304      (eval $ac_compile) 2>&5
2305      ac_status=$?
2306      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307      (exit $ac_status); } &&
2308             { ac_try='test -s conftest.$ac_objext'
2309      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310      (eval $ac_try) 2>&5
2311      ac_status=$?
2312      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313      (exit $ac_status); }; }; then
2314      ac_compiler_gnu=yes
2315    else
2316      echo "$as_me: failed program was:" >&5
2317    cat conftest.$ac_ext >&5
2318    ac_compiler_gnu=no
2319    fi
2320    rm -f conftest.$ac_objext conftest.$ac_ext
2321    ac_cv_c_compiler_gnu=$ac_compiler_gnu
2322    
2323    fi
2324    echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2325    echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2326    GCC=`test $ac_compiler_gnu = yes && echo yes`
2327    ac_test_CFLAGS=${CFLAGS+set}
2328    ac_save_CFLAGS=$CFLAGS
2329    CFLAGS="-g"
2330    echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2331    echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2332    if test "${ac_cv_prog_cc_g+set}" = set; then
2333      echo $ECHO_N "(cached) $ECHO_C" >&6
2334    else
2335      cat >conftest.$ac_ext <<_ACEOF
2336    #line $LINENO "configure"
2337    #include "confdefs.h"
2338    
2339    #ifdef F77_DUMMY_MAIN
2340    #  ifdef __cplusplus
2341         extern "C"
2342    #  endif
2343       int F77_DUMMY_MAIN() { return 1; }
2344    #endif
2345    int
2346    main ()
2347    {
2348    
2349  ac_test_CFLAGS="${CFLAGS+set}"    ;
2350  ac_save_CFLAGS="$CFLAGS"    return 0;
2351  CFLAGS=  }
2352  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6  _ACEOF
2353  echo "configure:1269: checking whether ${CC-cc} accepts -g" >&5  rm -f conftest.$ac_objext
2354  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2355    echo $ac_n "(cached) $ac_c" 1>&6    (eval $ac_compile) 2>&5
2356  else    ac_status=$?
2357    echo 'void f(){}' > conftest.c    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358  if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then    (exit $ac_status); } &&
2359             { ac_try='test -s conftest.$ac_objext'
2360      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361      (eval $ac_try) 2>&5
2362      ac_status=$?
2363      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364      (exit $ac_status); }; }; then
2365    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2366  else  else
2367    ac_cv_prog_cc_g=no    echo "$as_me: failed program was:" >&5
2368    cat conftest.$ac_ext >&5
2369    ac_cv_prog_cc_g=no
2370  fi  fi
2371  rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
   
2372  fi  fi
2373    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2374  echo "$ac_t""$ac_cv_prog_cc_g" 1>&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2375  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2376    CFLAGS="$ac_save_CFLAGS"    CFLAGS=$ac_save_CFLAGS
2377  elif test $ac_cv_prog_cc_g = yes; then  elif test $ac_cv_prog_cc_g = yes; then
2378    if test "$GCC" = yes; then    if test "$GCC" = yes; then
2379      CFLAGS="-g -O2"      CFLAGS="-g -O2"
# Line 1295  else Line 2387  else
2387      CFLAGS=      CFLAGS=
2388    fi    fi
2389  fi  fi
2390    # Some people use a C++ compiler to compile C.  Since we use `exit',
2391    # in C++ we need to declare it.  In case someone uses the same compiler
2392    # for both compiling C and C++ we need to have the C++ compiler decide
2393    # the declaration of exit, since it's the most demanding environment.
2394    cat >conftest.$ac_ext <<_ACEOF
2395    #ifndef __cplusplus
2396      choke me
2397    #endif
2398    _ACEOF
2399    rm -f conftest.$ac_objext
2400    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401      (eval $ac_compile) 2>&5
2402      ac_status=$?
2403      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404      (exit $ac_status); } &&
2405             { ac_try='test -s conftest.$ac_objext'
2406      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2407      (eval $ac_try) 2>&5
2408      ac_status=$?
2409      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410      (exit $ac_status); }; }; then
2411      for ac_declaration in \
2412       ''\
2413       '#include <stdlib.h>' \
2414       'extern "C" void std::exit (int) throw (); using std::exit;' \
2415       'extern "C" void std::exit (int); using std::exit;' \
2416       'extern "C" void exit (int) throw ();' \
2417       'extern "C" void exit (int);' \
2418       'void exit (int);'
2419    do
2420      cat >conftest.$ac_ext <<_ACEOF
2421    #line $LINENO "configure"
2422    #include "confdefs.h"
2423    #include <stdlib.h>
2424    $ac_declaration
2425    #ifdef F77_DUMMY_MAIN
2426    #  ifdef __cplusplus
2427         extern "C"
2428    #  endif
2429       int F77_DUMMY_MAIN() { return 1; }
2430    #endif
2431    int
2432    main ()
2433    {
2434    exit (42);
2435      ;
2436      return 0;
2437    }
2438    _ACEOF
2439    rm -f conftest.$ac_objext
2440    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2441      (eval $ac_compile) 2>&5
2442      ac_status=$?
2443      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444      (exit $ac_status); } &&
2445             { ac_try='test -s conftest.$ac_objext'
2446      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2447      (eval $ac_try) 2>&5
2448      ac_status=$?
2449      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450      (exit $ac_status); }; }; then
2451      :
2452    else
2453      echo "$as_me: failed program was:" >&5
2454    cat conftest.$ac_ext >&5
2455    continue
2456    fi
2457    rm -f conftest.$ac_objext conftest.$ac_ext
2458      cat >conftest.$ac_ext <<_ACEOF
2459    #line $LINENO "configure"
2460    #include "confdefs.h"
2461    $ac_declaration
2462    #ifdef F77_DUMMY_MAIN
2463    #  ifdef __cplusplus
2464         extern "C"
2465    #  endif
2466       int F77_DUMMY_MAIN() { return 1; }
2467    #endif
2468    int
2469    main ()
2470    {
2471    exit (42);
2472      ;
2473      return 0;
2474    }
2475    _ACEOF
2476    rm -f conftest.$ac_objext
2477    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2478      (eval $ac_compile) 2>&5
2479      ac_status=$?
2480      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481      (exit $ac_status); } &&
2482             { ac_try='test -s conftest.$ac_objext'
2483      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484      (eval $ac_try) 2>&5
2485      ac_status=$?
2486      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487      (exit $ac_status); }; }; then
2488      break
2489    else
2490      echo "$as_me: failed program was:" >&5
2491    cat conftest.$ac_ext >&5
2492    fi
2493    rm -f conftest.$ac_objext conftest.$ac_ext
2494    done
2495    rm -f conftest*
2496    if test -n "$ac_declaration"; then
2497      echo '#ifdef __cplusplus' >>confdefs.h
2498      echo $ac_declaration      >>confdefs.h
2499      echo '#endif'             >>confdefs.h
2500    fi
2501    
2502    else
2503      echo "$as_me: failed program was:" >&5
2504    cat conftest.$ac_ext >&5
2505    fi
2506    rm -f conftest.$ac_objext conftest.$ac_ext
2507    ac_ext=c
2508    ac_cpp='$CPP $CPPFLAGS'
2509    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2510    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2511    ac_compiler_gnu=$ac_cv_c_compiler_gnu
2512    
2513    
2514  CDEBUGFLAGS=${CDEBUGFLAGS:-"-O"}  CDEBUGFLAGS=${CDEBUGFLAGS:-"-O"}
# Line 1352  powerpc-*-beos*) Line 2566  powerpc-*-beos*)
2566      CCOPTIONS="-DSYSV"      CCOPTIONS="-DSYSV"
2567      ;;      ;;
2568  *)  *)
2569      echo "configure: warning: "It is not reported if FreeWnn works on this system.  But continuing..."" 1>&2      { echo "$as_me:$LINENO: WARNING: \"It is not reported if FreeWnn works on this system.  But continuing...\"" >&5
2570      echo "configure: warning: (It may or may not work if you set CCOPTIONS properly.)" 1>&2  echo "$as_me: WARNING: \"It is not reported if FreeWnn works on this system.  But continuing...\"" >&2;}
2571        { echo "$as_me:$LINENO: WARNING: (It may or may not work if you set CCOPTIONS properly.)" >&5
2572    echo "$as_me: WARNING: (It may or may not work if you set CCOPTIONS properly.)" >&2;}
2573      ;;      ;;
2574  esac  esac
2575    
# Line 1371  echo "Set CDEBUGFLAGS and CCOPTIONS to f Line 2587  echo "Set CDEBUGFLAGS and CCOPTIONS to f
2587  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"'  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"'
2588  echo '    CCOPTIONS="'"$CCOPTIONS"'"'  echo '    CCOPTIONS="'"$CCOPTIONS"'"'
2589    
2590  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6  ac_ext=c
2591  echo "configure:1376: checking how to run the C preprocessor" >&5  ac_cpp='$CPP $CPPFLAGS'
2592    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2593    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2594    ac_compiler_gnu=$ac_cv_c_compiler_gnu
2595    echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2596    echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2597  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
2598  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
2599    CPP=    CPP=
2600  fi  fi
2601  if test -z "$CPP"; then  if test -z "$CPP"; then
2602  if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then    if test "${ac_cv_prog_CPP+set}" = set; then
2603    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2604  else  else
2605      # This must be in double quotes, not single quotes, because CPP may get        # Double quotes because CPP needs to be expanded
2606    # substituted into the Makefile and "${CC-cc}" will confuse make.      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2607    CPP="${CC-cc} -E"      do
2608          ac_preproc_ok=false
2609    for ac_c_preproc_warn_flag in '' yes
2610    do
2611      # Use a header file that comes with gcc, so configuring glibc
2612      # with a fresh cross-compiler works.
2613    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
2614    # not just through cpp.    # not just through cpp. "Syntax error" is here to catch this case.
2615    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
2616  #line 1391 "configure"  #line $LINENO "configure"
2617  #include "confdefs.h"  #include "confdefs.h"
2618  #include <assert.h>  #include <assert.h>
2619  Syntax Error                       Syntax error
2620  EOF  _ACEOF
2621  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2622  { (eval echo configure:1397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2623  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`    ac_status=$?
2624  if test -z "$ac_err"; then    egrep -v '^ *\+' conftest.er1 >conftest.err
2625      rm -f conftest.er1
2626      cat conftest.err >&5
2627      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628      (exit $ac_status); } >/dev/null; then
2629      if test -s conftest.err; then
2630        ac_cpp_err=$ac_c_preproc_warn_flag
2631      else
2632        ac_cpp_err=
2633      fi
2634    else
2635      ac_cpp_err=yes
2636    fi
2637    if test -z "$ac_cpp_err"; then
2638    :    :
2639  else  else
2640    echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
   echo "configure: failed program was:" >&5  
2641    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
2642    rm -rf conftest*    # Broken: fails on valid input.
2643    CPP="${CC-cc} -E -traditional-cpp"  continue
2644    cat > conftest.$ac_ext <<EOF  fi
2645  #line 1408 "configure"  rm -f conftest.err conftest.$ac_ext
2646  #include "confdefs.h"  
2647  #include <assert.h>    # OK, works on sane cases.  Now check whether non-existent headers
2648  Syntax Error    # can be detected and how.
2649  EOF    cat >conftest.$ac_ext <<_ACEOF
2650  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  #line $LINENO "configure"
2651  { (eval echo configure:1414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  #include "confdefs.h"
2652  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  #include <ac_nonexistent.h>
2653  if test -z "$ac_err"; then  _ACEOF
2654    :  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2655      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2656      ac_status=$?
2657      egrep -v '^ *\+' conftest.er1 >conftest.err
2658      rm -f conftest.er1
2659      cat conftest.err >&5
2660      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661      (exit $ac_status); } >/dev/null; then
2662      if test -s conftest.err; then
2663        ac_cpp_err=$ac_c_preproc_warn_flag
2664      else
2665        ac_cpp_err=
2666      fi
2667  else  else
2668    echo "$ac_err" >&5    ac_cpp_err=yes
2669    echo "configure: failed program was:" >&5  fi
2670    if test -z "$ac_cpp_err"; then
2671      # Broken: success on invalid input.
2672    continue
2673    else
2674      echo "$as_me: failed program was:" >&5
2675    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
2676    rm -rf conftest*    # Passes both tests.
2677    CPP="${CC-cc} -nologo -E"  ac_preproc_ok=:
2678    cat > conftest.$ac_ext <<EOF  break
2679  #line 1425 "configure"  fi
2680    rm -f conftest.err conftest.$ac_ext
2681    
2682    done
2683    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2684    rm -f conftest.err conftest.$ac_ext
2685    if $ac_preproc_ok; then
2686      break
2687    fi
2688    
2689        done
2690        ac_cv_prog_CPP=$CPP
2691    
2692    fi
2693      CPP=$ac_cv_prog_CPP
2694    else
2695      ac_cv_prog_CPP=$CPP
2696    fi
2697    echo "$as_me:$LINENO: result: $CPP" >&5
2698    echo "${ECHO_T}$CPP" >&6
2699    ac_preproc_ok=false
2700    for ac_c_preproc_warn_flag in '' yes
2701    do
2702      # Use a header file that comes with gcc, so configuring glibc
2703      # with a fresh cross-compiler works.
2704      # On the NeXT, cc -E runs the code through the compiler's parser,
2705      # not just through cpp. "Syntax error" is here to catch this case.
2706      cat >conftest.$ac_ext <<_ACEOF
2707    #line $LINENO "configure"
2708  #include "confdefs.h"  #include "confdefs.h"
2709  #include <assert.h>  #include <assert.h>
2710  Syntax Error                       Syntax error
2711  EOF  _ACEOF
2712  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2713  { (eval echo configure:1431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2714  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`    ac_status=$?
2715  if test -z "$ac_err"; then    egrep -v '^ *\+' conftest.er1 >conftest.err
2716      rm -f conftest.er1
2717      cat conftest.err >&5
2718      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719      (exit $ac_status); } >/dev/null; then
2720      if test -s conftest.err; then
2721        ac_cpp_err=$ac_c_preproc_warn_flag
2722      else
2723        ac_cpp_err=
2724      fi
2725    else
2726      ac_cpp_err=yes
2727    fi
2728    if test -z "$ac_cpp_err"; then
2729    :    :
2730  else  else
2731    echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
   echo "configure: failed program was:" >&5  
2732    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
2733    rm -rf conftest*    # Broken: fails on valid input.
2734    CPP=/lib/cpp  continue
 fi  
 rm -f conftest*  
2735  fi  fi
2736  rm -f conftest*  rm -f conftest.err conftest.$ac_ext
2737    
2738      # OK, works on sane cases.  Now check whether non-existent headers
2739      # can be detected and how.
2740      cat >conftest.$ac_ext <<_ACEOF
2741    #line $LINENO "configure"
2742    #include "confdefs.h"
2743    #include <ac_nonexistent.h>
2744    _ACEOF
2745    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2746      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2747      ac_status=$?
2748      egrep -v '^ *\+' conftest.er1 >conftest.err
2749      rm -f conftest.er1
2750      cat conftest.err >&5
2751      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752      (exit $ac_status); } >/dev/null; then
2753      if test -s conftest.err; then
2754        ac_cpp_err=$ac_c_preproc_warn_flag
2755      else
2756        ac_cpp_err=
2757      fi
2758    else
2759      ac_cpp_err=yes
2760  fi  fi
2761  rm -f conftest*  if test -z "$ac_cpp_err"; then
2762    ac_cv_prog_CPP="$CPP"    # Broken: success on invalid input.
2763    continue
2764    else
2765      echo "$as_me: failed program was:" >&5
2766      cat conftest.$ac_ext >&5
2767      # Passes both tests.
2768    ac_preproc_ok=:
2769    break
2770  fi  fi
2771    CPP="$ac_cv_prog_CPP"  rm -f conftest.err conftest.$ac_ext
2772    
2773    done
2774    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2775    rm -f conftest.err conftest.$ac_ext
2776    if $ac_preproc_ok; then
2777      :
2778  else  else
2779    ac_cv_prog_CPP="$CPP"    { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2780    echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2781       { (exit 1); exit 1; }; }
2782  fi  fi
2783  echo "$ac_t""$CPP" 1>&6  
2784    ac_ext=c
2785    ac_cpp='$CPP $CPPFLAGS'
2786    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2787    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2788    ac_compiler_gnu=$ac_cv_c_compiler_gnu
2789    
2790    
2791  # Find a good install program.  We prefer a C program (faster),  # Find a good install program.  We prefer a C program (faster),
# Line 1459  echo "$ac_t""$CPP" 1>&6 Line 2795  echo "$ac_t""$CPP" 1>&6
2795  # SunOS /usr/etc/install  # SunOS /usr/etc/install
2796  # IRIX /sbin/install  # IRIX /sbin/install
2797  # AIX /bin/install  # AIX /bin/install
2798    # AmigaOS /C/install, which installs bootblocks on floppy discs
2799  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2800  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2801  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2802  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2803  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2804  echo "configure:1468: checking for a BSD compatible install" >&5  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2805  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
2806  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  if test "${ac_cv_path_install+set}" = set; then
2807    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2808  else  else
2809      IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810    for ac_dir in $PATH; do  for as_dir in $PATH
2811      # Account for people who put trailing slashes in PATH elements.  do
2812      case "$ac_dir/" in    IFS=$as_save_IFS
2813      /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;    test -z "$as_dir" && as_dir=.
2814      *)    # Account for people who put trailing slashes in PATH elements.
2815        # OSF1 and SCO ODT 3.0 have their own names for install.  case $as_dir/ in
2816        # Don't use installbsd from OSF since it installs stuff as root    ./ | .// | /cC/* | \
2817        # by default.    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2818        for ac_prog in ginstall scoinst install; do    /usr/ucb/* ) ;;
2819          if test -f $ac_dir/$ac_prog; then    *)
2820            if test $ac_prog = install &&      # OSF1 and SCO ODT 3.0 have their own names for install.
2821              grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then      # Don't use installbsd from OSF since it installs stuff as root
2822              # AIX install.  It has an incompatible calling convention.      # by default.
2823              :      for ac_prog in ginstall scoinst install; do
2824            else        for ac_exec_ext in '' $ac_executable_extensions; do
2825              ac_cv_path_install="$ac_dir/$ac_prog -c"          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2826              break 2            if test $ac_prog = install &&
2827            fi              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2828          fi              # AIX install.  It has an incompatible calling convention.
2829                :
2830              elif test $ac_prog = install &&
2831                grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2832                # program-specific install script used by HP pwplus--don't use.
2833                :
2834              else
2835                ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2836                break 3
2837              fi
2838            fi
2839        done        done
2840        ;;      done
2841      esac      ;;
2842    done  esac
2843    IFS="$ac_save_IFS"  done
2844    
2845    
2846  fi  fi
2847    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
2848      INSTALL="$ac_cv_path_install"      INSTALL=$ac_cv_path_install
2849    else    else
2850      # As a last resort, use the slow shell script.  We don't cache a      # As a last resort, use the slow shell script.  We don't cache a
2851      # path for INSTALL within a source directory, because that will      # path for INSTALL within a source directory, because that will
2852      # break other packages using the cache if that directory is      # break other packages using the cache if that directory is
2853      # removed, or if the path is relative.      # removed, or if the path is relative.
2854      INSTALL="$ac_install_sh"      INSTALL=$ac_install_sh
2855    fi    fi
2856  fi  fi
2857  echo "$ac_t""$INSTALL" 1>&6  echo "$as_me:$LINENO: result: $INSTALL" >&5
2858    echo "${ECHO_T}$INSTALL" >&6
2859    
2860  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2861  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
2862  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2863    
2864  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2865    
2866  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2867    
2868  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking whether ln -s works" >&5
2869  echo "configure:1521: checking whether ln -s works" >&5  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2870  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then  LN_S=$as_ln_s
2871    echo $ac_n "(cached) $ac_c" 1>&6  if test "$LN_S" = "ln -s"; then
2872  else    echo "$as_me:$LINENO: result: yes" >&5
2873    rm -f conftestdata  echo "${ECHO_T}yes" >&6
2874  if ln -s X conftestdata 2>/dev/null  else
2875  then    echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2876    rm -f conftestdata  echo "${ECHO_T}no, using $LN_S" >&6
2877    ac_cv_prog_LN_S="ln -s"  fi
2878  else  
2879    ac_cv_prog_LN_S=ln  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
2880  fi  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2881  fi  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2882  LN_S="$ac_cv_prog_LN_S"  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2883  if test "$ac_cv_prog_LN_S" = "ln -s"; then    echo $ECHO_N "(cached) $ECHO_C" >&6
   echo "$ac_t""yes" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6  
 echo "configure:1542: checking whether ${MAKE-make} sets \${MAKE}" >&5  
 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
2884  else  else
2885    cat > conftestmake <<\EOF    cat >conftest.make <<\_ACEOF
2886  all:  all:
2887          @echo 'ac_maketemp="${MAKE}"'          @echo 'ac_maketemp="${MAKE}"'
2888  EOF  _ACEOF
2889  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2890  eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2891  if test -n "$ac_maketemp"; then  if test -n "$ac_maketemp"; then
2892    eval ac_cv_prog_make_${ac_make}_set=yes    eval ac_cv_prog_make_${ac_make}_set=yes
2893  else  else
2894    eval ac_cv_prog_make_${ac_make}_set=no    eval ac_cv_prog_make_${ac_make}_set=no
2895  fi  fi
2896  rm -f conftestmake  rm -f conftest.make
2897  fi  fi
2898  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2899    echo "$ac_t""yes" 1>&6    echo "$as_me:$LINENO: result: yes" >&5
2900    echo "${ECHO_T}yes" >&6
2901    SET_MAKE=    SET_MAKE=
2902  else  else
2903    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
2904    echo "${ECHO_T}no" >&6
2905    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
2906  fi  fi
2907    
 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6  
 echo "configure:1569: checking for Cygwin environment" >&5  
 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 1574 "configure"  
 #include "confdefs.h"  
   
 int main() {  
   
 #ifndef __CYGWIN__  
 #define __CYGWIN__ __CYGWIN32__  
 #endif  
 return __CYGWIN__;  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
   ac_cv_cygwin=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   ac_cv_cygwin=no  
 fi  
 rm -f conftest*  
 rm -f conftest*  
 fi  
   
 echo "$ac_t""$ac_cv_cygwin" 1>&6  
 CYGWIN=  
 test "$ac_cv_cygwin" = yes && CYGWIN=yes  
 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6  
 echo "configure:1602: checking for mingw32 environment" >&5  
 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 1607 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 return __MINGW32__;  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
   ac_cv_mingw32=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   ac_cv_mingw32=no  
 fi  
 rm -f conftest*  
 rm -f conftest*  
 fi  
   
 echo "$ac_t""$ac_cv_mingw32" 1>&6  
 MINGW32=  
 test "$ac_cv_mingw32" = yes && MINGW32=yes  
2908  # Check whether --enable-shared or --disable-shared was given.  # Check whether --enable-shared or --disable-shared was given.
2909  if test "${enable_shared+set}" = set; then  if test "${enable_shared+set}" = set; then
2910    enableval="$enable_shared"    enableval="$enable_shared"
# Line 1647  no) enable_shared=no ;; Line 2926  no) enable_shared=no ;;
2926  esac  esac
2927  else  else
2928    enable_shared=yes    enable_shared=yes
2929  fi  fi;
   
2930  # Check whether --enable-static or --disable-static was given.  # Check whether --enable-static or --disable-static was given.
2931  if test "${enable_static+set}" = set; then  if test "${enable_static+set}" = set; then
2932    enableval="$enable_static"    enableval="$enable_static"
# Line 1670  no) enable_static=no ;; Line 2948  no) enable_static=no ;;
2948  esac  esac
2949  else  else
2950    enable_static=yes    enable_static=yes
2951  fi  fi;
   
2952  # Check whether --enable-fast-install or --disable-fast-install was given.  # Check whether --enable-fast-install or --disable-fast-install was given.
2953  if test "${enable_fast_install+set}" = set; then  if test "${enable_fast_install+set}" = set; then
2954    enableval="$enable_fast_install"    enableval="$enable_fast_install"
# Line 1693  no) enable_fast_install=no ;; Line 2970  no) enable_fast_install=no ;;
2970  esac  esac
2971  else  else
2972    enable_fast_install=yes    enable_fast_install=yes
2973  fi  fi;
   
 echo $ac_n "checking build system type""... $ac_c" 1>&6  
 echo "configure:1700: checking build system type" >&5  
   
 build_alias=$build  
 case "$build_alias" in  
 NONE)  
   case $nonopt in  
   NONE) build_alias=$host_alias ;;  
   *) build_alias=$nonopt ;;  
   esac ;;  
 esac  
   
 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`  
 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
 echo "$ac_t""$build" 1>&6  
2974    
2975  # Check whether --with-gnu-ld or --without-gnu-ld was given.  # Check whether --with-gnu-ld or --without-gnu-ld was given.
2976  if test "${with_gnu_ld+set}" = set; then  if test "${with_gnu_ld+set}" = set; then
# Line 1719  if test "${with_gnu_ld+set}" = set; then Line 2978  if test "${with_gnu_ld+set}" = set; then
2978    test "$withval" = no || with_gnu_ld=yes    test "$withval" = no || with_gnu_ld=yes
2979  else  else
2980    with_gnu_ld=no    with_gnu_ld=no
2981  fi  fi;
   
2982  ac_prog=ld  ac_prog=ld
2983  if test "$GCC" = yes; then  if test "$GCC" = yes; then
2984    # Check if gcc -print-prog-name=ld gives a path.    # Check if gcc -print-prog-name=ld gives a path.
2985    echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6    echo "$as_me:$LINENO: checking for ld used by GCC" >&5
2986  echo "configure:1729: checking for ld used by GCC" >&5  echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
2987    case $host in    case $host in
2988    *-*-mingw*)    *-*-mingw*)
2989      # gcc leaves a trailing carriage return which upsets mingw      # gcc leaves a trailing carriage return which upsets mingw
# Line 1754  echo "configure:1729: checking for ld us Line 3012  echo "configure:1729: checking for ld us
3012      ;;      ;;
3013    esac    esac
3014  elif test "$with_gnu_ld" = yes; then  elif test "$with_gnu_ld" = yes; then
3015    echo $ac_n "checking for GNU ld""... $ac_c" 1>&6    echo "$as_me:$LINENO: checking for GNU ld" >&5
3016  echo "configure:1759: checking for GNU ld" >&5  echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3017  else  else
3018    echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6    echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3019  echo "configure:1762: checking for non-GNU ld" >&5  echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3020  fi  fi
3021  if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then  if test "${lt_cv_path_LD+set}" = set; then
3022    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3023  else  else
3024    if test -z "$LD"; then    if test -z "$LD"; then
3025    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
# Line 1787  fi Line 3045  fi
3045    
3046  LD="$lt_cv_path_LD"  LD="$lt_cv_path_LD"
3047  if test -n "$LD"; then  if test -n "$LD"; then
3048    echo "$ac_t""$LD" 1>&6    echo "$as_me:$LINENO: result: $LD" >&5
3049    echo "${ECHO_T}$LD" >&6
3050  else  else
3051    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
3052    echo "${ECHO_T}no" >&6
3053  fi  fi
3054  test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }  test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3055  echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6  echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3056  echo "configure:1797: checking if the linker ($LD) is GNU ld" >&5     { (exit 1); exit 1; }; }
3057  if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then  echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3058    echo $ac_n "(cached) $ac_c" 1>&6  echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3059    if test "${lt_cv_prog_gnu_ld+set}" = set; then
3060      echo $ECHO_N "(cached) $ECHO_C" >&6
3061  else  else
3062    # I'd rather use --version here, but apparently some GNU ld's only accept -v.    # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3063  if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then  if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
# Line 1804  else Line 3066  else
3066    lt_cv_prog_gnu_ld=no    lt_cv_prog_gnu_ld=no
3067  fi  fi
3068  fi  fi
3069    echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3070  echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6  echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3071  with_gnu_ld=$lt_cv_prog_gnu_ld  with_gnu_ld=$lt_cv_prog_gnu_ld
3072    
3073    
3074  echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3075  echo "configure:1814: checking for $LD option to reload object files" >&5  echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3076  if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then  if test "${lt_cv_ld_reload_flag+set}" = set; then
3077    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3078  else  else
3079    lt_cv_ld_reload_flag='-r'    lt_cv_ld_reload_flag='-r'
3080  fi  fi
3081    echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3082  echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6  echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3083  reload_flag=$lt_cv_ld_reload_flag  reload_flag=$lt_cv_ld_reload_flag
3084  test -n "$reload_flag" && reload_flag=" $reload_flag"  test -n "$reload_flag" && reload_flag=" $reload_flag"
3085    
3086  echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3087  echo "configure:1826: checking for BSD-compatible nm" >&5  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3088  if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then  if test "${lt_cv_path_NM+set}" = set; then
3089    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3090  else  else
3091    if test -n "$NM"; then    if test -n "$NM"; then
3092    # Let the user override the test.    # Let the user override the test.
# Line 1857  fi Line 3119  fi
3119  fi  fi
3120    
3121  NM="$lt_cv_path_NM"  NM="$lt_cv_path_NM"
3122  echo "$ac_t""$NM" 1>&6  echo "$as_me:$LINENO: result: $NM" >&5
3123    echo "${ECHO_T}$NM" >&6
3124    
3125  echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3126  echo "configure:1864: checking how to recognise dependant libraries" >&5  echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3127  if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then  if test "${lt_cv_deplibs_check_method+set}" = set; then
3128    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3129  else  else
3130    lt_cv_file_magic_cmd='$MAGIC_CMD'    lt_cv_file_magic_cmd='$MAGIC_CMD'
3131  lt_cv_file_magic_test_file=  lt_cv_file_magic_test_file=
# Line 2027  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) Line 3290  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3290  esac  esac
3291    
3292  fi  fi
3293    echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3294  echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6  echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3295  file_magic_cmd=$lt_cv_file_magic_cmd  file_magic_cmd=$lt_cv_file_magic_cmd
3296  deplibs_check_method=$lt_cv_deplibs_check_method  deplibs_check_method=$lt_cv_deplibs_check_method
3297    
 echo $ac_n "checking for object suffix""... $ac_c" 1>&6  
 echo "configure:2037: checking for object suffix" >&5  
 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   rm -f conftest*  
 echo 'int i = 1;' > conftest.$ac_ext  
 if { (eval echo configure:2043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   for ac_file in conftest.*; do  
     case $ac_file in  
     *.c) ;;  
     *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;  
     esac  
   done  
 else  
   { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }  
 fi  
 rm -f conftest*  
 fi  
   
 echo "$ac_t""$ac_cv_objext" 1>&6  
 OBJEXT=$ac_cv_objext  
 ac_objext=$ac_cv_objext  
   
   
3298    
 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6  
 echo "configure:2063: checking for executable suffix" >&5  
 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test "$CYGWIN" = yes || test "$MINGW32" = yes; then  
   ac_cv_exeext=.exe  
 else  
   rm -f conftest*  
   echo 'int main () { return 0; }' > conftest.$ac_ext  
   ac_cv_exeext=  
   if { (eval echo configure:2073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  
     for file in conftest.*; do  
       case $file in  
       *.c | *.C | *.o | *.obj | *.ilk | *.pdb) ;;  
       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;  
       esac  
     done  
   else  
     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }  
   fi  
   rm -f conftest*  
   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no  
 fi  
 fi  
3299    
 EXEEXT=""  
 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}  
 echo "$ac_t""${ac_cv_exeext}" 1>&6  
 ac_exeext=$EXEEXT  
3300    
 if test $host != $build; then  
   ac_tool_prefix=${host_alias}-  
 else  
   ac_tool_prefix=  
 fi  
3301    
3302    
3303    
3304    
3305  # Check for command to grab the raw symbol name followed by C symbol from nm.  # Check for command to grab the raw symbol name followed by C symbol from nm.
3306  echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking command to parse $NM output" >&5
3307  echo "configure:2104: checking command to parse $NM output" >&5  echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
3308  if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then  if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
3309    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3310  else  else
3311      
3312  # These are sane defaults that work on at least a few old systems.  # These are sane defaults that work on at least a few old systems.
3313  # [They come from Ultrix.  What could be older than Ultrix?!! ;)]  # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
3314    
# Line 2176  void nm_test_func(){} Line 3380  void nm_test_func(){}
3380  int main(){nm_test_var='a';nm_test_func();return(0);}  int main(){nm_test_var='a';nm_test_func();return(0);}
3381  EOF  EOF
3382    
3383    if { (eval echo configure:2180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3384      (eval $ac_compile) 2>&5
3385      ac_status=$?
3386      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387      (exit $ac_status); }; then
3388      # Now try to grab the symbols.      # Now try to grab the symbols.
3389      nlist=conftest.nm      nlist=conftest.nm
3390      if { (eval echo configure:2183: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then      if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
3391      (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
3392      ac_status=$?
3393      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394      (exit $ac_status); } && test -s "$nlist"; then
3395        # Try sorting and uniquifying the output.        # Try sorting and uniquifying the output.
3396        if sort "$nlist" | uniq > "$nlist"T; then        if sort "$nlist" | uniq > "$nlist"T; then
3397          mv -f "$nlist"T "$nlist"          mv -f "$nlist"T "$nlist"
# Line 2230  EOF Line 3442  EOF
3442            save_CFLAGS="$CFLAGS"            save_CFLAGS="$CFLAGS"
3443            LIBS="conftstm.$ac_objext"            LIBS="conftstm.$ac_objext"
3444            CFLAGS="$CFLAGS$no_builtin_flag"            CFLAGS="$CFLAGS$no_builtin_flag"
3445            if { (eval echo configure:2234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then            if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3446      (eval $ac_link) 2>&5
3447      ac_status=$?
3448      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449      (exit $ac_status); } && test -s conftest; then
3450              pipe_works=yes              pipe_works=yes
3451            fi            fi
3452            LIBS="$save_LIBS"            LIBS="$save_LIBS"
# Line 2267  else Line 3483  else
3483    global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"    global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
3484  fi  fi
3485  if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then  if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
3486    echo "$ac_t""failed" 1>&6    echo "$as_me:$LINENO: result: failed" >&5
3487    echo "${ECHO_T}failed" >&6
3488  else  else
3489    echo "$ac_t""ok" 1>&6    echo "$as_me:$LINENO: result: ok" >&5
3490    echo "${ECHO_T}ok" >&6
3491  fi  fi
3492    
3493  for ac_hdr in dlfcn.h  
3494  do  echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3495  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3496  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  if test "${ac_cv_header_stdc+set}" = set; then
3497  echo "configure:2280: checking for $ac_hdr" >&5    echo $ECHO_N "(cached) $ECHO_C" >&6
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
3498  else  else
3499    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
3500  #line 2285 "configure"  #line $LINENO "configure"
3501  #include "confdefs.h"  #include "confdefs.h"
3502  #include <$ac_hdr>  #include <stdlib.h>
3503  EOF  #include <stdarg.h>
3504  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  #include <string.h>
3505  { (eval echo configure:2290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  #include <float.h>
3506  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
3507  if test -z "$ac_err"; then  _ACEOF
3508    rm -rf conftest*  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3509    eval "ac_cv_header_$ac_safe=yes"    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3510      ac_status=$?
3511      egrep -v '^ *\+' conftest.er1 >conftest.err
3512      rm -f conftest.er1
3513      cat conftest.err >&5
3514      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515      (exit $ac_status); } >/dev/null; then
3516      if test -s conftest.err; then
3517        ac_cpp_err=$ac_c_preproc_warn_flag
3518      else
3519        ac_cpp_err=
3520      fi
3521  else  else
3522    echo "$ac_err" >&5    ac_cpp_err=yes
3523    echo "configure: failed program was:" >&5  fi
3524    if test -z "$ac_cpp_err"; then
3525      ac_cv_header_stdc=yes
3526    else
3527      echo "$as_me: failed program was:" >&5
3528    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
3529    rm -rf conftest*    ac_cv_header_stdc=no
3530    eval "ac_cv_header_$ac_safe=no"  fi
3531    rm -f conftest.err conftest.$ac_ext
3532    
3533    if test $ac_cv_header_stdc = yes; then
3534      # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3535      cat >conftest.$ac_ext <<_ACEOF
3536    #line $LINENO "configure"
3537    #include "confdefs.h"
3538    #include <string.h>
3539    
3540    _ACEOF
3541    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3542      egrep "memchr" >/dev/null 2>&1; then
3543      :
3544    else
3545      ac_cv_header_stdc=no
3546  fi  fi
3547  rm -f conftest*  rm -f conftest*
3548    
3549  fi  fi
3550  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  
3551    echo "$ac_t""yes" 1>&6  if test $ac_cv_header_stdc = yes; then
3552      ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3553    cat >> confdefs.h <<EOF    cat >conftest.$ac_ext <<_ACEOF
3554  #define $ac_tr_hdr 1  #line $LINENO "configure"
3555  EOF  #include "confdefs.h"
3556    #include <stdlib.h>
3557    
3558    _ACEOF
3559    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3560      egrep "free" >/dev/null 2>&1; then
3561      :
3562    else
3563      ac_cv_header_stdc=no
3564    fi
3565    rm -f conftest*
3566    
3567    fi
3568    
3569    if test $ac_cv_header_stdc = yes; then
3570      # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3571      if test "$cross_compiling" = yes; then
3572      :
3573    else
3574      cat >conftest.$ac_ext <<_ACEOF
3575    #line $LINENO "configure"
3576    #include "confdefs.h"
3577    #include <ctype.h>
3578    #if ((' ' & 0x0FF) == 0x020)
3579    # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3580    # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3581    #else
3582    # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3583                         || ('j' <= (c) && (c) <= 'r') \
3584                         || ('s' <= (c) && (c) <= 'z'))
3585    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3586    #endif
3587    
3588    #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3589    int
3590    main ()
3591    {
3592      int i;
3593      for (i = 0; i < 256; i++)
3594        if (XOR (islower (i), ISLOWER (i))
3595            || toupper (i) != TOUPPER (i))
3596          exit(2);
3597      exit (0);
3598    }
3599    _ACEOF
3600    rm -f conftest$ac_exeext
3601    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3602      (eval $ac_link) 2>&5
3603      ac_status=$?
3604      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3606      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3607      (eval $ac_try) 2>&5
3608      ac_status=$?
3609      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610      (exit $ac_status); }; }; then
3611      :
3612    else
3613      echo "$as_me: program exited with status $ac_status" >&5
3614    echo "$as_me: failed program was:" >&5
3615    cat conftest.$ac_ext >&5
3616    ( exit $ac_status )
3617    ac_cv_header_stdc=no
3618    fi
3619    rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3620    fi
3621    fi
3622    fi
3623    echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3624    echo "${ECHO_T}$ac_cv_header_stdc" >&6
3625    if test $ac_cv_header_stdc = yes; then
3626    
3627    cat >>confdefs.h <<\_ACEOF
3628    #define STDC_HEADERS 1
3629    _ACEOF
3630    
3631    fi
3632    
3633    # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3634    
3635    
3636    
3637    
3638    
3639    
3640    
3641    
3642    
3643    for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3644                      inttypes.h stdint.h unistd.h
3645    do
3646    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3647    echo "$as_me:$LINENO: checking for $ac_header" >&5
3648    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3649    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3650      echo $ECHO_N "(cached) $ECHO_C" >&6
3651    else
3652      cat >conftest.$ac_ext <<_ACEOF
3653    #line $LINENO "configure"
3654    #include "confdefs.h"
3655    $ac_includes_default
3656    
3657    #include <$ac_header>
3658    _ACEOF
3659    rm -f conftest.$ac_objext
3660    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3661      (eval $ac_compile) 2>&5
3662      ac_status=$?
3663      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664      (exit $ac_status); } &&
3665             { ac_try='test -s conftest.$ac_objext'
3666      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3667      (eval $ac_try) 2>&5
3668      ac_status=$?
3669      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670      (exit $ac_status); }; }; then
3671      eval "$as_ac_Header=yes"
3672    else
3673      echo "$as_me: failed program was:" >&5
3674    cat conftest.$ac_ext >&5
3675    eval "$as_ac_Header=no"
3676    fi
3677    rm -f conftest.$ac_objext conftest.$ac_ext
3678    fi
3679    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3680    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3681    if test `eval echo '${'$as_ac_Header'}'` = yes; then
3682      cat >>confdefs.h <<_ACEOF
3683    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3684    _ACEOF
3685    
3686    fi
3687    
3688    done
3689    
3690    
3691    
3692    for ac_header in dlfcn.h
3693    do
3694    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3695    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3696      echo "$as_me:$LINENO: checking for $ac_header" >&5
3697    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3698    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3699      echo $ECHO_N "(cached) $ECHO_C" >&6
3700    fi
3701    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3702    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3703    else
3704      # Is the header compilable?
3705    echo "$as_me:$LINENO: checking $ac_header usability" >&5
3706    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3707    cat >conftest.$ac_ext <<_ACEOF
3708    #line $LINENO "configure"
3709    #include "confdefs.h"
3710    $ac_includes_default
3711    #include <$ac_header>
3712    _ACEOF
3713    rm -f conftest.$ac_objext
3714    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3715      (eval $ac_compile) 2>&5
3716      ac_status=$?
3717      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718      (exit $ac_status); } &&
3719             { ac_try='test -s conftest.$ac_objext'
3720      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3721      (eval $ac_try) 2>&5
3722      ac_status=$?
3723      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724      (exit $ac_status); }; }; then
3725      ac_header_compiler=yes
3726    else
3727      echo "$as_me: failed program was:" >&5
3728    cat conftest.$ac_ext >&5
3729    ac_header_compiler=no
3730    fi
3731    rm -f conftest.$ac_objext conftest.$ac_ext
3732    echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3733    echo "${ECHO_T}$ac_header_compiler" >&6
3734    
3735    # Is the header present?
3736    echo "$as_me:$LINENO: checking $ac_header presence" >&5
3737    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3738    cat >conftest.$ac_ext <<_ACEOF
3739    #line $LINENO "configure"
3740    #include "confdefs.h"
3741    #include <$ac_header>
3742    _ACEOF
3743    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3744      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3745      ac_status=$?
3746      egrep -v '^ *\+' conftest.er1 >conftest.err
3747      rm -f conftest.er1
3748      cat conftest.err >&5
3749      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750      (exit $ac_status); } >/dev/null; then
3751      if test -s conftest.err; then
3752        ac_cpp_err=$ac_c_preproc_warn_flag
3753      else
3754        ac_cpp_err=
3755      fi
3756    else
3757      ac_cpp_err=yes
3758    fi
3759    if test -z "$ac_cpp_err"; then
3760      ac_header_preproc=yes
3761    else
3762      echo "$as_me: failed program was:" >&5
3763      cat conftest.$ac_ext >&5
3764      ac_header_preproc=no
3765    fi
3766    rm -f conftest.err conftest.$ac_ext
3767    echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3768    echo "${ECHO_T}$ac_header_preproc" >&6
3769    
3770    # So?  What about this header?
3771    case $ac_header_compiler:$ac_header_preproc in
3772      yes:no )
3773        { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3774    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3775        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3776    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3777      no:yes )
3778        { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3779    echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3780        { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3781    echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3782        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3783    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3784    esac
3785    echo "$as_me:$LINENO: checking for $ac_header" >&5
3786    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3787    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3788      echo $ECHO_N "(cached) $ECHO_C" >&6
3789  else  else
3790    echo "$ac_t""no" 1>&6    eval "$as_ac_Header=$ac_header_preproc"
3791    fi
3792    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3793    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3794    
3795    fi
3796    if test `eval echo '${'$as_ac_Header'}'` = yes; then
3797      cat >>confdefs.h <<_ACEOF
3798    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3799    _ACEOF
3800    
3801  fi  fi
3802    
3803  done  done
3804    
3805    
# Line 2320  done Line 3810  done
3810  case $deplibs_check_method in  case $deplibs_check_method in
3811  file_magic*)  file_magic*)
3812    if test "$file_magic_cmd" = '$MAGIC_CMD'; then    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3813      echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6      echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3814  echo "configure:2325: checking for ${ac_tool_prefix}file" >&5  echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3815  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3816    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3817  else  else
3818    case $MAGIC_CMD in    case $MAGIC_CMD in
3819    /*)    /*)
# Line 2375  fi Line 3865  fi
3865    
3866  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3867  if test -n "$MAGIC_CMD"; then  if test -n "$MAGIC_CMD"; then
3868    echo "$ac_t""$MAGIC_CMD" 1>&6    echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3869    echo "${ECHO_T}$MAGIC_CMD" >&6
3870  else  else
3871    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
3872    echo "${ECHO_T}no" >&6
3873  fi  fi
3874    
3875  if test -z "$lt_cv_path_MAGIC_CMD"; then  if test -z "$lt_cv_path_MAGIC_CMD"; then
3876    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
3877      echo $ac_n "checking for file""... $ac_c" 1>&6      echo "$as_me:$LINENO: checking for file" >&5
3878  echo "configure:2387: checking for file" >&5  echo $ECHO_N "checking for file... $ECHO_C" >&6
3879  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3880    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3881  else  else
3882    case $MAGIC_CMD in    case $MAGIC_CMD in
3883    /*)    /*)
# Line 2437  fi Line 3929  fi
3929    
3930  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3931  if test -n "$MAGIC_CMD"; then  if test -n "$MAGIC_CMD"; then
3932    echo "$ac_t""$MAGIC_CMD" 1>&6    echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3933    echo "${ECHO_T}$MAGIC_CMD" >&6
3934  else  else
3935    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
3936    echo "${ECHO_T}no" >&6
3937  fi  fi
3938    
3939    else    else
# Line 2451  fi Line 3945  fi
3945    ;;    ;;
3946  esac  esac
3947    
3948  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.  if test -n "$ac_tool_prefix"; then
3949      # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3950  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3951  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
3952  echo "configure:2458: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3953  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if test "${ac_cv_prog_RANLIB+set}" = set; then
3954    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3955  else  else
3956    if test -n "$RANLIB"; then    if test -n "$RANLIB"; then
3957    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3958  else  else
3959    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3960    ac_dummy="$PATH"  for as_dir in $PATH
3961    for ac_dir in $ac_dummy; do  do
3962      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
3963      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
3964        ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"    for ac_exec_ext in '' $ac_executable_extensions; do
3965        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3966      fi      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3967    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3968    IFS="$ac_save_ifs"      break 2
3969      fi
3970    done
3971    done
3972    
3973  fi  fi
3974  fi  fi
3975  RANLIB="$ac_cv_prog_RANLIB"  RANLIB=$ac_cv_prog_RANLIB
3976  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
3977    echo "$ac_t""$RANLIB" 1>&6    echo "$as_me:$LINENO: result: $RANLIB" >&5
3978    echo "${ECHO_T}$RANLIB" >&6
3979  else  else
3980    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
3981    echo "${ECHO_T}no" >&6
3982  fi  fi
3983    
3984    fi
3985  if test -z "$ac_cv_prog_RANLIB"; then  if test -z "$ac_cv_prog_RANLIB"; then
3986  if test -n "$ac_tool_prefix"; then    ac_ct_RANLIB=$RANLIB
3987    # Extract the first word of "ranlib", so it can be a program name with args.    # Extract the first word of "ranlib", so it can be a program name with args.
3988  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
3989  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
3990  echo "configure:2490: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3991  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3992    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3993  else  else
3994    if test -n "$RANLIB"; then    if test -n "$ac_ct_RANLIB"; then
3995    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3996  else  else
3997    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998    ac_dummy="$PATH"  for as_dir in $PATH
3999    for ac_dir in $ac_dummy; do  do
4000      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
4001      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
4002        ac_cv_prog_RANLIB="ranlib"    for ac_exec_ext in '' $ac_executable_extensions; do
4003        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4004      fi      ac_cv_prog_ac_ct_RANLIB="ranlib"
4005    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4006    IFS="$ac_save_ifs"      break 2
4007    test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"    fi
4008    done
4009    done
4010    
4011      test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4012  fi  fi
4013  fi  fi
4014  RANLIB="$ac_cv_prog_RANLIB"  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4015  if test -n "$RANLIB"; then  if test -n "$ac_ct_RANLIB"; then
4016    echo "$ac_t""$RANLIB" 1>&6    echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4017    echo "${ECHO_T}$ac_ct_RANLIB" >&6
4018  else  else
4019    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
4020    echo "${ECHO_T}no" >&6
4021  fi  fi
4022    
4023      RANLIB=$ac_ct_RANLIB
4024  else  else
4025    RANLIB=":"    RANLIB="$ac_cv_prog_RANLIB"
 fi  
4026  fi  fi
4027    
4028  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.  if test -n "$ac_tool_prefix"; then
4029      # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4030  set dummy ${ac_tool_prefix}strip; ac_word=$2  set dummy ${ac_tool_prefix}strip; ac_word=$2
4031  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
4032  echo "configure:2525: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4033  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if test "${ac_cv_prog_STRIP+set}" = set; then
4034    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4035  else  else
4036    if test -n "$STRIP"; then    if test -n "$STRIP"; then
4037    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4038  else  else
4039    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4040    ac_dummy="$PATH"  for as_dir in $PATH
4041    for ac_dir in $ac_dummy; do  do
4042      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
4043      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
4044        ac_cv_prog_STRIP="${ac_tool_prefix}strip"    for ac_exec_ext in '' $ac_executable_extensions; do
4045        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4046      fi      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4047    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4048    IFS="$ac_save_ifs"      break 2
4049      fi
4050    done
4051    done
4052    
4053  fi  fi
4054  fi  fi
4055  STRIP="$ac_cv_prog_STRIP"  STRIP=$ac_cv_prog_STRIP
4056  if test -n "$STRIP"; then  if test -n "$STRIP"; then
4057    echo "$ac_t""$STRIP" 1>&6    echo "$as_me:$LINENO: result: $STRIP" >&5
4058    echo "${ECHO_T}$STRIP" >&6
4059  else  else
4060    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
4061    echo "${ECHO_T}no" >&6
4062  fi  fi
4063    
4064    fi
4065  if test -z "$ac_cv_prog_STRIP"; then  if test -z "$ac_cv_prog_STRIP"; then
4066  if test -n "$ac_tool_prefix"; then    ac_ct_STRIP=$STRIP
4067    # 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.
4068  set dummy strip; ac_word=$2  set dummy strip; ac_word=$2
4069  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
4070  echo "configure:2557: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4071  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4072    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4073  else  else
4074    if test -n "$STRIP"; then    if test -n "$ac_ct_STRIP"; then
4075    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4076  else  else
4077    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078    ac_dummy="$PATH"  for as_dir in $PATH
4079    for ac_dir in $ac_dummy; do  do
4080      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
4081      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
4082        ac_cv_prog_STRIP="strip"    for ac_exec_ext in '' $ac_executable_extensions; do
4083        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4084      fi      ac_cv_prog_ac_ct_STRIP="strip"
4085    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4086    IFS="$ac_save_ifs"      break 2
4087    test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"    fi
4088    done
4089    done
4090    
4091      test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4092  fi  fi
4093  fi  fi
4094  STRIP="$ac_cv_prog_STRIP"  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4095  if test -n "$STRIP"; then  if test -n "$ac_ct_STRIP"; then
4096    echo "$ac_t""$STRIP" 1>&6    echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4097    echo "${ECHO_T}$ac_ct_STRIP" >&6
4098  else  else
4099    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
4100    echo "${ECHO_T}no" >&6
4101  fi  fi
4102    
4103      STRIP=$ac_ct_STRIP
4104  else  else
4105    STRIP=":"    STRIP="$ac_cv_prog_STRIP"
 fi  
4106  fi  fi
4107    
4108    
# Line 2592  enable_win32_dll=no Line 4112  enable_win32_dll=no
4112  # Check whether --enable-libtool-lock or --disable-libtool-lock was given.  # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4113  if test "${enable_libtool_lock+set}" = set; then  if test "${enable_libtool_lock+set}" = set; then
4114    enableval="$enable_libtool_lock"    enableval="$enable_libtool_lock"
   :  
 fi  
4115    
4116    fi;
4117  test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes  test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4118    
4119  # Some flags need to be propagated to the compiler or linker for good  # Some flags need to be propagated to the compiler or linker for good
# Line 2602  test "x$enable_libtool_lock" != xno && e Line 4121  test "x$enable_libtool_lock" != xno && e
4121  case $host in  case $host in
4122  *-*-irix6*)  *-*-irix6*)
4123    # Find out which ABI we are using.    # Find out which ABI we are using.
4124    echo '#line 2606 "configure"' > conftest.$ac_ext    echo '#line 4124 "configure"' > conftest.$ac_ext
4125    if { (eval echo configure:2607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4126      (eval $ac_compile) 2>&5
4127      ac_status=$?
4128      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129      (exit $ac_status); }; then
4130      case `/usr/bin/file conftest.$ac_objext` in      case `/usr/bin/file conftest.$ac_objext` in
4131      *32-bit*)