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.22 by h-abe, Sun Mar 31 11:30:21 2002 UTC revision 1.23 by hiroo, Wed May 1 20:27:16 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 237  program_transform_name=s,x,x, Line 471  program_transform_name=s,x,x,
471  silent=  silent=
472  site=  site=
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 252  libdir='${exec_prefix}/lib' Line 491  libdir='${exec_prefix}/lib'
491  includedir='${prefix}/include'  includedir='${prefix}/include'
492  oldincludedir='/usr/include'  oldincludedir='/usr/include'
493  infodir='${prefix}/info'  infodir='${prefix}/info'
 guidedir='${prefix}/guide'  
 htmldir='${prefix}/html'  
 psdir='${prefix}/ps'  
 dvidir='${prefix}/dvi'  
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 276  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 337  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  
   --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]  
   --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]  
   --htmldir=DIR           HTML documentation in DIR [PREFIX/html]  
   --psdir=DIR             postscript documentation in DIR [PREFIX/ps]  
   --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]  
   --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 ;;
   
  -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)  
    ac_prev=guidedir ;;  
  -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;  
   
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm)  
    ac_prev=htmldir ;;  
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* |--htm=*)+    htmldir="$ac_optarg" ;;  
   
  -psdir | --psdir | --psdi | --psd | --ps)  
    ac_prev=psdir ;;  
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;  
   
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)  
    ac_prev=dvidir ;;  
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$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 454  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 480  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 516  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 526  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 537  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 ;;
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 599  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  fi    { echo "$as_me: error: missing argument to $ac_option" >&2
798       { (exit 1); exit 1; }; }
 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15  
   
 # File descriptor usage:  
 # 0 standard input  
 # 1 file creation  
 # 2 errors and warnings  
 # 3 some systems may open it to /dev/tty  
 # 4 used on the Kubota Titan  
 # 6 checking for... messages and results  
 # 5 compiler messages saved in config.log  
 if test "$silent" = yes; then  
   exec 6>/dev/null  
 else  
   exec 6>&1  
799  fi  fi
 exec 5>./config.log  
800    
801  echo "\  # Be sure to have absolute paths.
802  This file contains any messages produced by compilers while  for ac_var in exec_prefix prefix
803  running configure, to aid debugging if configure makes a mistake.  do
804  " 1>&5    eval ac_val=$`echo $ac_var`
805      case $ac_val in
806        [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
807        *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
808       { (exit 1); exit 1; }; };;
809      esac
810    done
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 701  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    #
915    # Report the --help message.
916    #
917    if test "$ac_init_help" = "long"; then
918      # 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
1086          echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1087        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.  # Prefer explicitly selected file to automatically selected ones.
1271  if test -z "$CONFIG_SITE"; then  if test -z "$CONFIG_SITE"; then
1272    if test "x$prefix" != xNONE; then    if test "x$prefix" != xNONE; then
# Line 718  if test -z "$CONFIG_SITE"; then Line 1277  if test -z "$CONFIG_SITE"; then
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.  
1365    if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then  
1366      ac_n= ac_c='  
1367  ' ac_t='        '  
1368    else  
1369      ac_n=-n ac_c= ac_t=  
   fi  
 else  
   ac_n= ac_c='\c' ac_t=  
 fi  
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 766  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:786: 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 810  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 823  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 836  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 849  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 878  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 901  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 915  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 929  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 943  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 960  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 969  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 984  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 1003  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 1013  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 1028  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 1045  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 1058  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 1072  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  fi
1754    
1755  # Extract the first word of "gcc", so it can be a program name with args.  ac_ext=c
1756  set dummy gcc; ac_word=$2  ac_cpp='$CPP $CPPFLAGS'
1757  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1758  echo "configure:1094: checking for $ac_word" >&5  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1759  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1760    echo $ac_n "(cached) $ac_c" 1>&6  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  else
1768    if test -n "$CC"; then    if test -n "$CC"; then
1769    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1770  else  else
1771    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1772    ac_dummy="$PATH"  for as_dir in $PATH
1773    for ac_dir in $ac_dummy; do  do
1774      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
1775      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
1776        ac_cv_prog_CC="gcc"    for ac_exec_ext in '' $ac_executable_extensions; do
1777        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1778      fi      ac_cv_prog_CC="${ac_tool_prefix}gcc"
1779    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1780    IFS="$ac_save_ifs"      break 2
1781      fi
1782    done
1783    done
1784    
1785  fi  fi
1786  fi  fi
1787  CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
1788  if test -n "$CC"; then  if test -n "$CC"; then
1789    echo "$ac_t""$CC" 1>&6    echo "$as_me:$LINENO: result: $CC" >&5
1790    echo "${ECHO_T}$CC" >&6
1791  else  else
1792    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
1793    echo "${ECHO_T}no" >&6
1794  fi  fi
1795    
1796  if test -z "$CC"; then  fi
1797    # Extract the first word of "bcc", so it can be a program name with args.  if test -z "$ac_cv_prog_CC"; then
1798  set dummy bcc; ac_word=$2    ac_ct_CC=$CC
1799  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6    # Extract the first word of "gcc", so it can be a program name with args.
1800  echo "configure:1124: checking for $ac_word" >&5  set dummy gcc; ac_word=$2
1801  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo "$as_me:$LINENO: checking for $ac_word" >&5
1802    echo $ac_n "(cached) $ac_c" 1>&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1803    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1804      echo $ECHO_N "(cached) $ECHO_C" >&6
1805  else  else
1806    if test -n "$CC"; then    if test -n "$ac_ct_CC"; then
1807    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1808  else  else
1809    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1810    ac_dummy="$PATH"  for as_dir in $PATH
1811    for ac_dir in $ac_dummy; do  do
1812      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
1813      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
1814        ac_cv_prog_CC="bcc"    for ac_exec_ext in '' $ac_executable_extensions; do
1815        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816      fi      ac_cv_prog_ac_ct_CC="gcc"
1817    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1818    IFS="$ac_save_ifs"      break 2
1819      fi
1820    done
1821    done
1822    
1823  fi  fi
1824  fi  fi
1825  CC="$ac_cv_prog_CC"  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1826  if test -n "$CC"; then  if test -n "$ac_ct_CC"; then
1827    echo "$ac_t""$CC" 1>&6    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1828    echo "${ECHO_T}$ac_ct_CC" >&6
1829  else  else
1830    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
1831    echo "${ECHO_T}no" >&6
1832  fi  fi
1833    
1834      CC=$ac_ct_CC
1835    else
1836      CC="$ac_cv_prog_CC"
1837  fi  fi
1838    
1839  if test -z "$CC"; then  if test -z "$CC"; then
1840    machine=`(uname -m 2>/dev/null)` || machine=unknown    if test -n "$ac_tool_prefix"; then
1841    case "$machine" in    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1842      BePC) # Extract the first word of "mwccx86", so it can be a program name with args.  set dummy ${ac_tool_prefix}cc; ac_word=$2
1843  set dummy mwccx86; ac_word=$2  echo "$as_me:$LINENO: checking for $ac_word" >&5
1844  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1845  echo "configure:1157: checking for $ac_word" >&5  if test "${ac_cv_prog_CC+set}" = set; then
1846  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then    echo $ECHO_N "(cached) $ECHO_C" >&6
   echo $ac_n "(cached) $ac_c" 1>&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="mwccx86"    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  else
1872    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
1873    echo "${ECHO_T}no" >&6
1874  fi  fi
1875   ;;  
1876      BeBox | BeMac ) # Extract the first word of "mwcc", so it can be a program name with args.  fi
1877  set dummy mwcc; ac_word=$2  if test -z "$ac_cv_prog_CC"; then
1878  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6    ac_ct_CC=$CC
1879  echo "configure:1186: checking for $ac_word" >&5    # Extract the first word of "cc", so it can be a program name with args.
1880  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  set dummy cc; ac_word=$2
1881    echo $ac_n "(cached) $ac_c" 1>&6  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  else
1886    if test -n "$CC"; then    if test -n "$ac_ct_CC"; then
1887    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1888  else  else
1889    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890    ac_dummy="$PATH"  for as_dir in $PATH
1891    for ac_dir in $ac_dummy; do  do
1892      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
1893      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
1894        ac_cv_prog_CC="mwcc"    for ac_exec_ext in '' $ac_executable_extensions; do
1895        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1896      fi      ac_cv_prog_ac_ct_CC="cc"
1897    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898    IFS="$ac_save_ifs"      break 2
1899      fi
1900    done
1901    done
1902    
1903  fi  fi
1904  fi  fi
1905  CC="$ac_cv_prog_CC"  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1906  if test -n "$CC"; then  if test -n "$ac_ct_CC"; then
1907    echo "$ac_t""$CC" 1>&6    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1908    echo "${ECHO_T}$ac_ct_CC" >&6
1909  else  else
1910    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
1911    echo "${ECHO_T}no" >&6
1912  fi  fi
1913   ;;  
1914      *) ;;    CC=$ac_ct_CC
1915    esac  else
1916      CC="$ac_cv_prog_CC"
1917    fi
1918    
1919  fi  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:1219: 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  fi  fi
1976  if test -z "$CC"; then  if test -z "$CC"; then
1977    case "`uname -s`" in    if test -n "$ac_tool_prefix"; then
1978    *win32* | *WIN32*)    for ac_prog in cl
1979      # Extract the first word of "cl", so it can be a program name with args.    do
1980  set dummy cl; ac_word=$2      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1981  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1982  echo "configure:1271: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1983  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1984    echo $ac_n "(cached) $ac_c" 1>&6  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
2043    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
 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }  
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:1302: 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 1313 "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:1318: \"$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:1344: 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:1349: 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:1358: \"$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:1377: 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 1403  else Line 2387  else
2387      CFLAGS=      CFLAGS=
2388    fi    fi
2389  fi  fi
2390  case "$CC" in  # Some people use a C++ compiler to compile C.  Since we use `exit',
2391    bcc )  # in C++ we need to declare it.  In case someone uses the same compiler
2392      AR=${AR-mwld}  # for both compiling C and C++ we need to have the C++ compiler decide
2393      LD=${LD-mwld}  # the declaration of exit, since it's the most demanding environment.
2394      RANLIB=${RANLIB-true};;  cat >conftest.$ac_ext <<_ACEOF
2395    mwcc )  #ifndef __cplusplus
2396      CC="mwcc -I- -I. -I/boot/apps/GeekGadgets/include -L/boot/apps/GeekGadgets/lib -opt global -nodup"    choke me
2397      AR=${AR-mwld}  #endif
2398      LD=${LD-mwld}  _ACEOF
2399      RANLIB=${RANLIB-true};;  rm -f conftest.$ac_objext
2400    mwccx86 )  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401      CC="mwccx86 -I- -I. -I/boot/apps/GeekGadgets/include -L/boot/apps/GeekGadgets/lib"    (eval $ac_compile) 2>&5
2402      AR=${AR-mwldx86}    ac_status=$?
2403      LD=${LD-mwldx86}    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404      RANLIB=${RANLIB-true};;    (exit $ac_status); } &&
2405    ${host_alias}-gcc)           { ac_try='test -s conftest.$ac_objext'
2406      ;;    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2407    *)    (eval $ac_try) 2>&5
2408      AR=${AR-ar}    ac_status=$?
2409      LD=${LD-ld}    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410      RANLIB=${RANLIB-ranlib};;    (exit $ac_status); }; }; then
2411  esac    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"}
2515  case $host in  case $host in
# Line 1485  powerpc-*-beos*) Line 2568  powerpc-*-beos*)
2568      CCOPTIONS="-DSYSV"      CCOPTIONS="-DSYSV"
2569      ;;      ;;
2570  *)  *)
2571      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
2572      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;}
2573        { echo "$as_me:$LINENO: WARNING: (It may or may not work if you set CCOPTIONS properly.)" >&5
2574    echo "$as_me: WARNING: (It may or may not work if you set CCOPTIONS properly.)" >&2;}
2575      ;;      ;;
2576  esac  esac
2577    
# Line 1507  echo "Set CDEBUGFLAGS and CCOPTIONS to f Line 2592  echo "Set CDEBUGFLAGS and CCOPTIONS to f
2592  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"'  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"'
2593  echo '    CCOPTIONS="'"$CCOPTIONS"'"'  echo '    CCOPTIONS="'"$CCOPTIONS"'"'
2594    
2595  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6  ac_ext=c
2596  echo "configure:1512: checking how to run the C preprocessor" >&5  ac_cpp='$CPP $CPPFLAGS'
2597    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2598    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2599    ac_compiler_gnu=$ac_cv_c_compiler_gnu
2600    echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2601    echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2602  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
2603  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
2604    CPP=    CPP=
2605  fi  fi
2606  if test -z "$CPP"; then  if test -z "$CPP"; then
2607  if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then    if test "${ac_cv_prog_CPP+set}" = set; then
2608    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2609  else  else
2610      # This must be in double quotes, not single quotes, because CPP may get        # Double quotes because CPP needs to be expanded
2611    # substituted into the Makefile and "${CC-cc}" will confuse make.      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2612    CPP="${CC-cc} -E"      do
2613          ac_preproc_ok=false
2614    for ac_c_preproc_warn_flag in '' yes
2615    do
2616      # Use a header file that comes with gcc, so configuring glibc
2617      # with a fresh cross-compiler works.
2618    # 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,
2619    # not just through cpp.    # not just through cpp. "Syntax error" is here to catch this case.
2620    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
2621  #line 1527 "configure"  #line $LINENO "configure"
2622  #include "confdefs.h"  #include "confdefs.h"
2623  #include <assert.h>  #include <assert.h>
2624  Syntax Error                       Syntax error
2625  EOF  _ACEOF
2626  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2627  { (eval echo configure:1533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2628  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`    ac_status=$?
2629  if test -z "$ac_err"; then    egrep -v '^ *\+' conftest.er1 >conftest.err
2630      rm -f conftest.er1
2631      cat conftest.err >&5
2632      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633      (exit $ac_status); } >/dev/null; then
2634      if test -s conftest.err; then
2635        ac_cpp_err=$ac_c_preproc_warn_flag
2636      else
2637        ac_cpp_err=
2638      fi
2639    else
2640      ac_cpp_err=yes
2641    fi
2642    if test -z "$ac_cpp_err"; then
2643    :    :
2644  else  else
2645    echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
   echo "configure: failed program was:" >&5  
2646    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
2647    rm -rf conftest*    # Broken: fails on valid input.
2648    CPP="${CC-cc} -E -traditional-cpp"  continue
2649    cat > conftest.$ac_ext <<EOF  fi
2650  #line 1544 "configure"  rm -f conftest.err conftest.$ac_ext
2651  #include "confdefs.h"  
2652  #include <assert.h>    # OK, works on sane cases.  Now check whether non-existent headers
2653  Syntax Error    # can be detected and how.
2654  EOF    cat >conftest.$ac_ext <<_ACEOF
2655  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  #line $LINENO "configure"
2656  { (eval echo configure:1550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  #include "confdefs.h"
2657  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  #include <ac_nonexistent.h>
2658  if test -z "$ac_err"; then  _ACEOF
2659    :  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2660      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2661      ac_status=$?
2662      egrep -v '^ *\+' conftest.er1 >conftest.err
2663      rm -f conftest.er1
2664      cat conftest.err >&5
2665      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666      (exit $ac_status); } >/dev/null; then
2667      if test -s conftest.err; then
2668        ac_cpp_err=$ac_c_preproc_warn_flag
2669      else
2670        ac_cpp_err=
2671      fi
2672    else
2673      ac_cpp_err=yes
2674    fi
2675    if test -z "$ac_cpp_err"; then
2676      # Broken: success on invalid input.
2677    continue
2678  else  else
2679    echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
   echo "configure: failed program was:" >&5  
2680    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
2681    rm -rf conftest*    # Passes both tests.
2682    CPP="${CC-cc} -nologo -E"  ac_preproc_ok=:
2683    cat > conftest.$ac_ext <<EOF  break
2684  #line 1561 "configure"  fi
2685    rm -f conftest.err conftest.$ac_ext
2686    
2687    done
2688    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2689    rm -f conftest.err conftest.$ac_ext
2690    if $ac_preproc_ok; then
2691      break
2692    fi
2693    
2694        done
2695        ac_cv_prog_CPP=$CPP
2696    
2697    fi
2698      CPP=$ac_cv_prog_CPP
2699    else
2700      ac_cv_prog_CPP=$CPP
2701    fi
2702    echo "$as_me:$LINENO: result: $CPP" >&5
2703    echo "${ECHO_T}$CPP" >&6
2704    ac_preproc_ok=false
2705    for ac_c_preproc_warn_flag in '' yes
2706    do
2707      # Use a header file that comes with gcc, so configuring glibc
2708      # with a fresh cross-compiler works.
2709      # On the NeXT, cc -E runs the code through the compiler's parser,
2710      # not just through cpp. "Syntax error" is here to catch this case.
2711      cat >conftest.$ac_ext <<_ACEOF
2712    #line $LINENO "configure"
2713  #include "confdefs.h"  #include "confdefs.h"
2714  #include <assert.h>  #include <assert.h>
2715  Syntax Error                       Syntax error
2716  EOF  _ACEOF
2717  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2718  { (eval echo configure:1567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2719  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`    ac_status=$?
2720  if test -z "$ac_err"; then    egrep -v '^ *\+' conftest.er1 >conftest.err
2721      rm -f conftest.er1
2722      cat conftest.err >&5
2723      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724      (exit $ac_status); } >/dev/null; then
2725      if test -s conftest.err; then
2726        ac_cpp_err=$ac_c_preproc_warn_flag
2727      else
2728        ac_cpp_err=
2729      fi
2730    else
2731      ac_cpp_err=yes
2732    fi
2733    if test -z "$ac_cpp_err"; then
2734    :    :
2735  else  else
2736    echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
   echo "configure: failed program was:" >&5  
2737    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
2738    rm -rf conftest*    # Broken: fails on valid input.
2739    CPP=/lib/cpp  continue
 fi  
 rm -f conftest*  
2740  fi  fi
2741  rm -f conftest*  rm -f conftest.err conftest.$ac_ext
2742    
2743      # OK, works on sane cases.  Now check whether non-existent headers
2744      # can be detected and how.
2745      cat >conftest.$ac_ext <<_ACEOF
2746    #line $LINENO "configure"
2747    #include "confdefs.h"
2748    #include <ac_nonexistent.h>
2749    _ACEOF
2750    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2751      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2752      ac_status=$?
2753      egrep -v '^ *\+' conftest.er1 >conftest.err
2754      rm -f conftest.er1
2755      cat conftest.err >&5
2756      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757      (exit $ac_status); } >/dev/null; then
2758      if test -s conftest.err; then
2759        ac_cpp_err=$ac_c_preproc_warn_flag
2760      else
2761        ac_cpp_err=
2762      fi
2763    else
2764      ac_cpp_err=yes
2765  fi  fi
2766  rm -f conftest*  if test -z "$ac_cpp_err"; then
2767    ac_cv_prog_CPP="$CPP"    # Broken: success on invalid input.
2768    continue
2769    else
2770      echo "$as_me: failed program was:" >&5
2771      cat conftest.$ac_ext >&5
2772      # Passes both tests.
2773    ac_preproc_ok=:
2774    break
2775  fi  fi
2776    CPP="$ac_cv_prog_CPP"  rm -f conftest.err conftest.$ac_ext
2777    
2778    done
2779    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2780    rm -f conftest.err conftest.$ac_ext
2781    if $ac_preproc_ok; then
2782      :
2783  else  else
2784    ac_cv_prog_CPP="$CPP"    { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2785    echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2786       { (exit 1); exit 1; }; }
2787  fi  fi
2788  echo "$ac_t""$CPP" 1>&6  
2789    ac_ext=c
2790    ac_cpp='$CPP $CPPFLAGS'
2791    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2792    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2793    ac_compiler_gnu=$ac_cv_c_compiler_gnu
2794    
2795    
2796  # Find a good install program.  We prefer a C program (faster),  # Find a good install program.  We prefer a C program (faster),
# Line 1595  echo "$ac_t""$CPP" 1>&6 Line 2800  echo "$ac_t""$CPP" 1>&6
2800  # SunOS /usr/etc/install  # SunOS /usr/etc/install
2801  # IRIX /sbin/install  # IRIX /sbin/install
2802  # AIX /bin/install  # AIX /bin/install
2803  # AmigaOS /c/install  # AmigaOS /C/install, which installs bootblocks on floppy discs
2804  # 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
2805  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2806  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2807  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2808  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2809  echo "configure:1605: checking for a BSD compatible install" >&5  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2810  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
2811  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  if test "${ac_cv_path_install+set}" = set; then
2812    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2813  else  else
2814      IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2815    for ac_dir in $PATH; do  for as_dir in $PATH
2816      # Account for people who put trailing slashes in PATH elements.  do
2817      case "$ac_dir/" in    IFS=$as_save_IFS
2818      /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;    test -z "$as_dir" && as_dir=.
2819      *)    # Account for people who put trailing slashes in PATH elements.
2820        # OSF1 and SCO ODT 3.0 have their own names for install.  case $as_dir/ in
2821        # Don't use installbsd from OSF since it installs stuff as root    ./ | .// | /cC/* | \
2822        # by default.    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2823        for ac_prog in ginstall scoinst install; do    /usr/ucb/* ) ;;
2824          if test -f $ac_dir/$ac_prog; then    *)
2825            if test $ac_prog = install &&      # OSF1 and SCO ODT 3.0 have their own names for install.
2826              grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then      # Don't use installbsd from OSF since it installs stuff as root
2827              # AIX install.  It has an incompatible calling convention.      # by default.
2828              :      for ac_prog in ginstall scoinst install; do
2829            else        for ac_exec_ext in '' $ac_executable_extensions; do
2830              ac_cv_path_install="$ac_dir/$ac_prog -c"          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2831              break 2            if test $ac_prog = install &&
2832            fi              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2833          fi              # AIX install.  It has an incompatible calling convention.
2834                :
2835              elif test $ac_prog = install &&
2836                grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2837                # program-specific install script used by HP pwplus--don't use.
2838                :
2839              else
2840                ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2841                break 3
2842              fi
2843            fi
2844        done        done
2845        ;;      done
2846      esac      ;;
2847    done  esac
2848    IFS="$ac_save_IFS"  done
2849    
2850    
2851  fi  fi
2852    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
2853      INSTALL="$ac_cv_path_install"      INSTALL=$ac_cv_path_install
2854    else    else
2855      # 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
2856      # path for INSTALL within a source directory, because that will      # path for INSTALL within a source directory, because that will
2857      # break other packages using the cache if that directory is      # break other packages using the cache if that directory is
2858      # removed, or if the path is relative.      # removed, or if the path is relative.
2859      INSTALL="$ac_install_sh"      INSTALL=$ac_install_sh
2860    fi    fi
2861  fi  fi
2862  echo "$ac_t""$INSTALL" 1>&6  echo "$as_me:$LINENO: result: $INSTALL" >&5
2863    echo "${ECHO_T}$INSTALL" >&6
2864    
2865  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2866  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
2867  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2868    
2869  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2870    
2871  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2872    
2873  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking whether ln -s works" >&5
2874  echo "configure:1658: checking whether ln -s works" >&5  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2875  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then  LN_S=$as_ln_s
2876    echo $ac_n "(cached) $ac_c" 1>&6  if test "$LN_S" = "ln -s"; then
2877  else    echo "$as_me:$LINENO: result: yes" >&5
2878    rm -f conftestdata  echo "${ECHO_T}yes" >&6
2879  if ln -s X conftestdata 2>/dev/null  else
2880  then    echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2881    rm -f conftestdata  echo "${ECHO_T}no, using $LN_S" >&6
2882    ac_cv_prog_LN_S="ln -s"  fi
2883  else  
2884    if ln X conftestdata 2>/dev/null  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
2885    then  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2886      rm -f conftestdata  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2887      ac_cv_prog_LN_S=ln  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2888    else    echo $ECHO_N "(cached) $ECHO_C" >&6
     ac_cv_prog_LN_S=cp  
   fi  
 fi  
 fi  
 LN_S="$ac_cv_prog_LN_S"  
 if test "$ac_cv_prog_LN_S" = "ln -s"; then  
   echo "$ac_t""yes" 1>&6  
 else  
   if test "$ac_cv_prog_LN_S" = "ln"; then  
     echo "$ac_t""no, using ln" 1>&6  
   else  
     echo "$ac_t""no, and neither does ln, so using cp" 1>&6  
   fi  
 fi  
   
 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6  
 echo "configure:1689: 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  
2889  else  else
2890    cat > conftestmake <<\EOF    cat >conftest.make <<\_ACEOF
2891  all:  all:
2892          @echo 'ac_maketemp="${MAKE}"'          @echo 'ac_maketemp="${MAKE}"'
2893  EOF  _ACEOF
2894  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2895  eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2896  if test -n "$ac_maketemp"; then  if test -n "$ac_maketemp"; then
2897    eval ac_cv_prog_make_${ac_make}_set=yes    eval ac_cv_prog_make_${ac_make}_set=yes
2898  else  else
2899    eval ac_cv_prog_make_${ac_make}_set=no    eval ac_cv_prog_make_${ac_make}_set=no
2900  fi  fi
2901  rm -f conftestmake  rm -f conftest.make
2902  fi  fi
2903  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
2904    echo "$ac_t""yes" 1>&6    echo "$as_me:$LINENO: result: yes" >&5
2905    echo "${ECHO_T}yes" >&6
2906    SET_MAKE=    SET_MAKE=
2907  else  else
2908    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
2909    echo "${ECHO_T}no" >&6
2910    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
2911  fi  fi
2912    
 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6  
 echo "configure:1716: 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 1721 "configure"  
 #include "confdefs.h"  
   
 int main() {  
   
 #ifndef __CYGWIN__  
 #define __CYGWIN__ __CYGWIN32__  
 #endif  
 return __CYGWIN__;  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1732: \"$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:1749: 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 1754 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 return __MINGW32__;  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1761: \"$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  
2913  # Check whether --enable-shared or --disable-shared was given.  # Check whether --enable-shared or --disable-shared was given.
2914  if test "${enable_shared+set}" = set; then  if test "${enable_shared+set}" = set; then
2915    enableval="$enable_shared"    enableval="$enable_shared"
# Line 1794  no) enable_shared=no ;; Line 2931  no) enable_shared=no ;;
2931  esac  esac
2932  else  else
2933    enable_shared=yes    enable_shared=yes
2934  fi  fi;
   
2935  # Check whether --enable-static or --disable-static was given.  # Check whether --enable-static or --disable-static was given.
2936  if test "${enable_static+set}" = set; then  if test "${enable_static+set}" = set; then
2937    enableval="$enable_static"    enableval="$enable_static"
# Line 1817  no) enable_static=no ;; Line 2953  no) enable_static=no ;;
2953  esac  esac
2954  else  else
2955    enable_static=yes    enable_static=yes
2956  fi  fi;
   
2957  # Check whether --enable-fast-install or --disable-fast-install was given.  # Check whether --enable-fast-install or --disable-fast-install was given.
2958  if test "${enable_fast_install+set}" = set; then  if test "${enable_fast_install+set}" = set; then
2959    enableval="$enable_fast_install"    enableval="$enable_fast_install"
# Line 1840  no) enable_fast_install=no ;; Line 2975  no) enable_fast_install=no ;;
2975  esac  esac
2976  else  else
2977    enable_fast_install=yes    enable_fast_install=yes
2978  fi  fi;
   
 echo $ac_n "checking build system type""... $ac_c" 1>&6  
 echo "configure:1847: 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  
2979    
2980  # Check whether --with-gnu-ld or --without-gnu-ld was given.  # Check whether --with-gnu-ld or --without-gnu-ld was given.
2981  if test "${with_gnu_ld+set}" = set; then  if test "${with_gnu_ld+set}" = set; then
# Line 1866  if test "${with_gnu_ld+set}" = set; then Line 2983  if test "${with_gnu_ld+set}" = set; then
2983    test "$withval" = no || with_gnu_ld=yes    test "$withval" = no || with_gnu_ld=yes
2984  else  else
2985    with_gnu_ld=no    with_gnu_ld=no
2986  fi  fi;
   
2987  ac_prog=ld  ac_prog=ld
2988  if test "$GCC" = yes; then  if test "$GCC" = yes; then
2989    # Check if gcc -print-prog-name=ld gives a path.    # Check if gcc -print-prog-name=ld gives a path.
2990    echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6    echo "$as_me:$LINENO: checking for ld used by GCC" >&5
2991  echo "configure:1876: checking for ld used by GCC" >&5  echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
2992    case $host in    case $host in
2993    *-*-mingw*)    *-*-mingw*)
2994      # gcc leaves a trailing carriage return which upsets mingw      # gcc leaves a trailing carriage return which upsets mingw
# Line 1901  echo "configure:1876: checking for ld us Line 3017  echo "configure:1876: checking for ld us
3017      ;;      ;;
3018    esac    esac
3019  elif test "$with_gnu_ld" = yes; then  elif test "$with_gnu_ld" = yes; then
3020    echo $ac_n "checking for GNU ld""... $ac_c" 1>&6    echo "$as_me:$LINENO: checking for GNU ld" >&5
3021  echo "configure:1906: checking for GNU ld" >&5  echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3022  else  else
3023    echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6    echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3024  echo "configure:1909: checking for non-GNU ld" >&5  echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3025  fi  fi
3026  if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then  if test "${lt_cv_path_LD+set}" = set; then
3027    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3028  else  else
3029    if test -z "$LD"; then    if test -z "$LD"; then
3030    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
# Line 1934  fi Line 3050  fi
3050    
3051  LD="$lt_cv_path_LD"  LD="$lt_cv_path_LD"
3052  if test -n "$LD"; then  if test -n "$LD"; then
3053    echo "$ac_t""$LD" 1>&6    echo "$as_me:$LINENO: result: $LD" >&5
3054    echo "${ECHO_T}$LD" >&6
3055  else  else
3056    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
3057    echo "${ECHO_T}no" >&6
3058  fi  fi
3059  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
3060  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;}
3061  echo "configure:1944: checking if the linker ($LD) is GNU ld" >&5     { (exit 1); exit 1; }; }
3062  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
3063    echo $ac_n "(cached) $ac_c" 1>&6  echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3064    if test "${lt_cv_prog_gnu_ld+set}" = set; then
3065      echo $ECHO_N "(cached) $ECHO_C" >&6
3066  else  else
3067    # 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.
3068  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 1951  else Line 3071  else
3071    lt_cv_prog_gnu_ld=no    lt_cv_prog_gnu_ld=no
3072  fi  fi
3073  fi  fi
3074    echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3075  echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6  echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3076  with_gnu_ld=$lt_cv_prog_gnu_ld  with_gnu_ld=$lt_cv_prog_gnu_ld
3077    
3078    
3079  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
3080  echo "configure:1961: checking for $LD option to reload object files" >&5  echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3081  if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then  if test "${lt_cv_ld_reload_flag+set}" = set; then
3082    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3083  else  else
3084    lt_cv_ld_reload_flag='-r'    lt_cv_ld_reload_flag='-r'
3085  fi  fi
3086    echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3087  echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6  echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3088  reload_flag=$lt_cv_ld_reload_flag  reload_flag=$lt_cv_ld_reload_flag
3089  test -n "$reload_flag" && reload_flag=" $reload_flag"  test -n "$reload_flag" && reload_flag=" $reload_flag"
3090    
3091  echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3092  echo "configure:1973: checking for BSD-compatible nm" >&5  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3093  if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then  if test "${lt_cv_path_NM+set}" = set; then
3094    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3095  else  else
3096    if test -n "$NM"; then    if test -n "$NM"; then
3097    # Let the user override the test.    # Let the user override the test.
# Line 2004  fi Line 3124  fi
3124  fi  fi
3125    
3126  NM="$lt_cv_path_NM"  NM="$lt_cv_path_NM"
3127  echo "$ac_t""$NM" 1>&6  echo "$as_me:$LINENO: result: $NM" >&5
3128    echo "${ECHO_T}$NM" >&6
3129    
3130  echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3131  echo "configure:2011: checking how to recognise dependant libraries" >&5  echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3132  if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then  if test "${lt_cv_deplibs_check_method+set}" = set; then
3133    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3134  else  else
3135    lt_cv_file_magic_cmd='$MAGIC_CMD'    lt_cv_file_magic_cmd='$MAGIC_CMD'
3136  lt_cv_file_magic_test_file=  lt_cv_file_magic_test_file=
# Line 2174  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) Line 3295  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3295  esac  esac
3296    
3297  fi  fi
3298    echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3299  echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6  echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3300  file_magic_cmd=$lt_cv_file_magic_cmd  file_magic_cmd=$lt_cv_file_magic_cmd
3301  deplibs_check_method=$lt_cv_deplibs_check_method  deplibs_check_method=$lt_cv_deplibs_check_method
3302    
 echo $ac_n "checking for object suffix""... $ac_c" 1>&6  
 echo "configure:2184: 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:2190: \"$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  
3303    
 echo "$ac_t""$ac_cv_objext" 1>&6  
 OBJEXT=$ac_cv_objext  
 ac_objext=$ac_cv_objext  
3304    
3305    
3306    
 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6  
 echo "configure:2210: 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:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  
     for file in conftest.*; do  
       case $file in  
       *.c | *.o | *.obj | *.xSYM) ;;  
       *) 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  
   
 EXEEXT=""  
 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}  
 echo "$ac_t""${ac_cv_exeext}" 1>&6  
 ac_exeext=$EXEEXT  
   
 if test $host != $build; then  
   ac_tool_prefix=${host_alias}-  
 else  
   ac_tool_prefix=  
 fi  
   
3307    
3308    
3309    
3310  # 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.
3311  echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking command to parse $NM output" >&5
3312  echo "configure:2251: checking command to parse $NM output" >&5  echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
3313  if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then  if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
3314    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3315  else  else
3316      
3317  # 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.
3318  # [They come from Ultrix.  What could be older than Ultrix?!! ;)]  # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
3319    
# Line 2323  void nm_test_func(){} Line 3385  void nm_test_func(){}
3385  int main(){nm_test_var='a';nm_test_func();return(0);}  int main(){nm_test_var='a';nm_test_func();return(0);}
3386  EOF  EOF
3387    
3388    if { (eval echo configure:2327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3389      (eval $ac_compile) 2>&5
3390      ac_status=$?
3391      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392      (exit $ac_status); }; then
3393      # Now try to grab the symbols.      # Now try to grab the symbols.
3394      nlist=conftest.nm      nlist=conftest.nm
3395      if { (eval echo configure:2330: \"$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
3396      (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
3397      ac_status=$?
3398      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399      (exit $ac_status); } && test -s "$nlist"; then
3400        # Try sorting and uniquifying the output.        # Try sorting and uniquifying the output.
3401        if sort "$nlist" | uniq > "$nlist"T; then        if sort "$nlist" | uniq > "$nlist"T; then
3402          mv -f "$nlist"T "$nlist"          mv -f "$nlist"T "$nlist"
# Line 2377  EOF Line 3447  EOF
3447            save_CFLAGS="$CFLAGS"            save_CFLAGS="$CFLAGS"
3448            LIBS="conftstm.$ac_objext"            LIBS="conftstm.$ac_objext"
3449            CFLAGS="$CFLAGS$no_builtin_flag"            CFLAGS="$CFLAGS$no_builtin_flag"
3450            if { (eval echo configure:2381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then            if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3451      (eval $ac_link) 2>&5
3452      ac_status=$?
3453      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454      (exit $ac_status); } && test -s conftest; then
3455              pipe_works=yes              pipe_works=yes
3456            fi            fi
3457            LIBS="$save_LIBS"            LIBS="$save_LIBS"
# Line 2414  else Line 3488  else
3488    global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"    global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
3489  fi  fi
3490  if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then  if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
3491    echo "$ac_t""failed" 1>&6    echo "$as_me:$LINENO: result: failed" >&5
3492    echo "${ECHO_T}failed" >&6
3493  else  else
3494    echo "$ac_t""ok" 1>&6    echo "$as_me:$LINENO: result: ok" >&5
3495    echo "${ECHO_T}ok" >&6
3496  fi  fi
3497    
3498  for ac_hdr in dlfcn.h  
3499  do  echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3500  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3501  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  if test "${ac_cv_header_stdc+set}" = set; then
3502  echo "configure:2427: 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  
3503  else  else
3504    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
3505  #line 2432 "configure"  #line $LINENO "configure"
3506  #include "confdefs.h"  #include "confdefs.h"
3507  #include <$ac_hdr>  #include <stdlib.h>
3508  EOF  #include <stdarg.h>
3509  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  #include <string.h>
3510  { (eval echo configure:2437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  #include <float.h>
3511  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
3512  if test -z "$ac_err"; then  _ACEOF
3513    rm -rf conftest*  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3514    eval "ac_cv_header_$ac_safe=yes"    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3515      ac_status=$?
3516      egrep -v '^ *\+' conftest.er1 >conftest.err
3517      rm -f conftest.er1
3518      cat conftest.err >&5
3519      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520      (exit $ac_status); } >/dev/null; then
3521      if test -s conftest.err; then
3522        ac_cpp_err=$ac_c_preproc_warn_flag
3523      else
3524        ac_cpp_err=
3525      fi
3526    else
3527      ac_cpp_err=yes
3528    fi
3529    if test -z "$ac_cpp_err"; then
3530      ac_cv_header_stdc=yes
3531  else  else
3532    echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
   echo "configure: failed program was:" >&5  
3533    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
3534    rm -rf conftest*    ac_cv_header_stdc=no
3535    eval "ac_cv_header_$ac_safe=no"  fi
3536    rm -f conftest.err conftest.$ac_ext
3537    
3538    if test $ac_cv_header_stdc = yes; then
3539      # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3540      cat >conftest.$ac_ext <<_ACEOF
3541    #line $LINENO "configure"
3542    #include "confdefs.h"
3543    #include <string.h>
3544    
3545    _ACEOF
3546    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3547      egrep "memchr" >/dev/null 2>&1; then
3548      :
3549    else
3550      ac_cv_header_stdc=no
3551  fi  fi
3552  rm -f conftest*  rm -f conftest*
3553    
3554  fi  fi
3555  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  
3556    echo "$ac_t""yes" 1>&6  if test $ac_cv_header_stdc = yes; then
3557      ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3558    cat >> confdefs.h <<EOF    cat >conftest.$ac_ext <<_ACEOF
3559  #define $ac_tr_hdr 1  #line $LINENO "configure"
3560  EOF  #include "confdefs.h"
3561    #include <stdlib.h>
3562    
3563    _ACEOF
3564    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3565      egrep "free" >/dev/null 2>&1; then
3566      :
3567  else  else
3568    echo "$ac_t""no" 1>&6    ac_cv_header_stdc=no
3569    fi
3570    rm -f conftest*
3571    
3572  fi  fi
3573    
3574    if test $ac_cv_header_stdc = yes; then
3575      # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3576      if test "$cross_compiling" = yes; then
3577      :
3578    else
3579      cat >conftest.$ac_ext <<_ACEOF
3580    #line $LINENO "configure"
3581    #include "confdefs.h"
3582    #include <ctype.h>
3583    #if ((' ' & 0x0FF) == 0x020)
3584    # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3585    # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3586    #else
3587    # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3588                         || ('j' <= (c) && (c) <= 'r') \
3589                         || ('s' <= (c) && (c) <= 'z'))
3590    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3591    #endif
3592    
3593    #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3594    int
3595    main ()
3596    {
3597      int i;
3598      for (i = 0; i < 256; i++)
3599        if (XOR (islower (i), ISLOWER (i))
3600            || toupper (i) != TOUPPER (i))
3601          exit(2);
3602      exit (0);
3603    }
3604    _ACEOF
3605    rm -f conftest$ac_exeext
3606    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3607      (eval $ac_link) 2>&5
3608      ac_status=$?
3609      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3611      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3612      (eval $ac_try) 2>&5
3613      ac_status=$?
3614      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615      (exit $ac_status); }; }; then
3616      :
3617    else
3618      echo "$as_me: program exited with status $ac_status" >&5
3619    echo "$as_me: failed program was:" >&5
3620    cat conftest.$ac_ext >&5
3621    ( exit $ac_status )
3622    ac_cv_header_stdc=no
3623    fi
3624    rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3625    fi
3626    fi
3627    fi
3628    echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3629    echo "${ECHO_T}$ac_cv_header_stdc" >&6
3630    if test $ac_cv_header_stdc = yes; then
3631    
3632    cat >>confdefs.h <<\_ACEOF
3633    #define STDC_HEADERS 1
3634    _ACEOF
3635    
3636    fi
3637    
3638    # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3639    
3640    
3641    
3642    
3643    
3644    
3645    
3646    
3647    
3648    for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3649                      inttypes.h stdint.h unistd.h
3650    do
3651    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3652    echo "$as_me:$LINENO: checking for $ac_header" >&5
3653    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3654    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3655      echo $ECHO_N "(cached) $ECHO_C" >&6
3656    else
3657      cat >conftest.$ac_ext <<_ACEOF
3658    #line $LINENO "configure"
3659    #include "confdefs.h"
3660    $ac_includes_default
3661    
3662    #include <$ac_header>
3663    _ACEOF
3664    rm -f conftest.$ac_objext
3665    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3666      (eval $ac_compile) 2>&5
3667      ac_status=$?
3668      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669      (exit $ac_status); } &&
3670             { ac_try='test -s conftest.$ac_objext'
3671      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672      (eval $ac_try) 2>&5
3673      ac_status=$?
3674      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675      (exit $ac_status); }; }; then
3676      eval "$as_ac_Header=yes"
3677    else
3678      echo "$as_me: failed program was:" >&5
3679    cat conftest.$ac_ext >&5
3680    eval "$as_ac_Header=no"
3681    fi
3682    rm -f conftest.$ac_objext conftest.$ac_ext
3683    fi
3684    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3685    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3686    if test `eval echo '${'$as_ac_Header'}'` = yes; then
3687      cat >>confdefs.h <<_ACEOF
3688    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3689    _ACEOF
3690    
3691    fi
3692    
3693    done
3694    
3695    
3696    
3697    for ac_header in dlfcn.h
3698    do
3699    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3700    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3701      echo "$as_me:$LINENO: checking for $ac_header" >&5
3702    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3703    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3704      echo $ECHO_N "(cached) $ECHO_C" >&6
3705    fi
3706    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3707    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3708    else
3709      # Is the header compilable?
3710    echo "$as_me:$LINENO: checking $ac_header usability" >&5
3711    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3712    cat >conftest.$ac_ext <<_ACEOF
3713    #line $LINENO "configure"
3714    #include "confdefs.h"
3715    $ac_includes_default
3716    #include <$ac_header>
3717    _ACEOF
3718    rm -f conftest.$ac_objext
3719    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3720      (eval $ac_compile) 2>&5
3721      ac_status=$?
3722      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723      (exit $ac_status); } &&
3724             { ac_try='test -s conftest.$ac_objext'
3725      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3726      (eval $ac_try) 2>&5
3727      ac_status=$?
3728      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729      (exit $ac_status); }; }; then
3730      ac_header_compiler=yes
3731    else
3732      echo "$as_me: failed program was:" >&5
3733    cat conftest.$ac_ext >&5
3734    ac_header_compiler=no
3735    fi
3736    rm -f conftest.$ac_objext conftest.$ac_ext
3737    echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3738    echo "${ECHO_T}$ac_header_compiler" >&6
3739    
3740    # Is the header present?
3741    echo "$as_me:$LINENO: checking $ac_header presence" >&5
3742    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3743    cat >conftest.$ac_ext <<_ACEOF
3744    #line $LINENO "configure"
3745    #include "confdefs.h"
3746    #include <$ac_header>
3747    _ACEOF
3748    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3749      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3750      ac_status=$?
3751      egrep -v '^ *\+' conftest.er1 >conftest.err
3752      rm -f conftest.er1
3753      cat conftest.err >&5
3754      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755      (exit $ac_status); } >/dev/null; then
3756      if test -s conftest.err; then
3757        ac_cpp_err=$ac_c_preproc_warn_flag
3758      else
3759        ac_cpp_err=
3760      fi
3761    else
3762      ac_cpp_err=yes
3763    fi
3764    if test -z "$ac_cpp_err"; then
3765      ac_header_preproc=yes
3766    else
3767      echo "$as_me: failed program was:" >&5
3768      cat conftest.$ac_ext >&5
3769      ac_header_preproc=no
3770    fi
3771    rm -f conftest.err conftest.$ac_ext
3772    echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3773    echo "${ECHO_T}$ac_header_preproc" >&6
3774    
3775    # So?  What about this header?
3776    case $ac_header_compiler:$ac_header_preproc in
3777      yes:no )
3778        { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3779    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3780        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3781    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3782      no:yes )
3783        { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3784    echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3785        { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3786    echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3787        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3788    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3789    esac
3790    echo "$as_me:$LINENO: checking for $ac_header" >&5
3791    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3792    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3793      echo $ECHO_N "(cached) $ECHO_C" >&6
3794    else
3795      eval "$as_ac_Header=$ac_header_preproc"
3796    fi
3797    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3798    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3799    
3800    fi
3801    if test `eval echo '${'$as_ac_Header'}'` = yes; then
3802      cat >>confdefs.h <<_ACEOF
3803    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3804    _ACEOF
3805    
3806    fi
3807    
3808  done  done
3809    
3810    
# Line 2467  done Line 3815  done
3815  case $deplibs_check_method in  case $deplibs_check_method in
3816  file_magic*)  file_magic*)
3817    if test "$file_magic_cmd" = '$MAGIC_CMD'; then    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3818      echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6      echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3819  echo "configure:2472: checking for ${ac_tool_prefix}file" >&5  echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3820  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3821    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3822  else  else
3823    case $MAGIC_CMD in    case $MAGIC_CMD in
3824    /*)    /*)
# Line 2522  fi Line 3870  fi
3870    
3871  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3872  if test -n "$MAGIC_CMD"; then  if test -n "$MAGIC_CMD"; then
3873    echo "$ac_t""$MAGIC_CMD" 1>&6    echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3874    echo "${ECHO_T}$MAGIC_CMD" >&6
3875  else  else
3876    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
3877    echo "${ECHO_T}no" >&6
3878  fi  fi
3879    
3880  if test -z "$lt_cv_path_MAGIC_CMD"; then  if test -z "$lt_cv_path_MAGIC_CMD"; then
3881    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
3882      echo $ac_n "checking for file""... $ac_c" 1>&6      echo "$as_me:$LINENO: checking for file" >&5
3883  echo "configure:2534: checking for file" >&5  echo $ECHO_N "checking for file... $ECHO_C" >&6
3884  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3885    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3886  else  else
3887    case $MAGIC_CMD in    case $MAGIC_CMD in
3888    /*)    /*)
# Line 2584  fi Line 3934  fi
3934    
3935  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3936  if test -n "$MAGIC_CMD"; then  if test -n "$MAGIC_CMD"; then
3937    echo "$ac_t""$MAGIC_CMD" 1>&6    echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3938    echo "${ECHO_T}$MAGIC_CMD" >&6
3939  else  else
3940    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
3941    echo "${ECHO_T}no" >&6
3942  fi  fi
3943    
3944    else    else
# Line 2598  fi Line 3950  fi
3950    ;;    ;;
3951  esac  esac
3952    
3953  # 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
3954      # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3955  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3956  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
3957  echo "configure:2605: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3958  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if test "${ac_cv_prog_RANLIB+set}" = set; then
3959    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3960  else  else
3961    if test -n "$RANLIB"; then    if test -n "$RANLIB"; then
3962    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3963  else  else
3964    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3965    ac_dummy="$PATH"  for as_dir in $PATH
3966    for ac_dir in $ac_dummy; do  do
3967      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
3968      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
3969        ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"    for ac_exec_ext in '' $ac_executable_extensions; do
3970        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3971      fi      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3972    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3973    IFS="$ac_save_ifs"      break 2
3974      fi
3975    done
3976    done
3977    
3978  fi  fi
3979  fi  fi
3980  RANLIB="$ac_cv_prog_RANLIB"  RANLIB=$ac_cv_prog_RANLIB
3981  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
3982    echo "$ac_t""$RANLIB" 1>&6    echo "$as_me:$LINENO: result: $RANLIB" >&5
3983    echo "${ECHO_T}$RANLIB" >&6
3984  else  else
3985    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
3986    echo "${ECHO_T}no" >&6
3987  fi  fi
3988    
3989    fi
3990  if test -z "$ac_cv_prog_RANLIB"; then  if test -z "$ac_cv_prog_RANLIB"; then
3991  if test -n "$ac_tool_prefix"; then    ac_ct_RANLIB=$RANLIB
3992    # 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.
3993  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
3994  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
3995  echo "configure:2637: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3996  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3997    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3998  else  else
3999    if test -n "$RANLIB"; then    if test -n "$ac_ct_RANLIB"; then
4000    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.
4001  else  else
4002    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003    ac_dummy="$PATH"  for as_dir in $PATH
4004    for ac_dir in $ac_dummy; do  do
4005      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
4006      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
4007        ac_cv_prog_RANLIB="ranlib"    for ac_exec_ext in '' $ac_executable_extensions; do
4008        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4009      fi      ac_cv_prog_ac_ct_RANLIB="ranlib"
4010    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4011    IFS="$ac_save_ifs"      break 2
4012    test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"    fi
4013    done
4014    done
4015    
4016      test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4017  fi  fi
4018  fi  fi
4019  RANLIB="$ac_cv_prog_RANLIB"  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4020  if test -n "$RANLIB"; then  if test -n "$ac_ct_RANLIB"; then
4021    echo "$ac_t""$RANLIB" 1>&6    echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4022    echo "${ECHO_T}$ac_ct_RANLIB" >&6
4023  else  else
4024    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
4025    echo "${ECHO_T}no" >&6
4026  fi  fi
4027    
4028      RANLIB=$ac_ct_RANLIB
4029  else  else
4030    RANLIB=":"    RANLIB="$ac_cv_prog_RANLIB"
 fi  
4031  fi  fi
4032    
4033  # 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
4034      # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4035  set dummy ${ac_tool_prefix}strip; ac_word=$2  set dummy ${ac_tool_prefix}strip; ac_word=$2
4036  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
4037  echo "configure:2672: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4038  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if test "${ac_cv_prog_STRIP+set}" = set; then
4039    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4040  else  else
4041    if test -n "$STRIP"; then    if test -n "$STRIP"; then
4042    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4043  else  else
4044    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045    ac_dummy="$PATH"  for as_dir in $PATH
4046    for ac_dir in $ac_dummy; do  do
4047      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
4048      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
4049        ac_cv_prog_STRIP="${ac_tool_prefix}strip"    for ac_exec_ext in '' $ac_executable_extensions; do
4050        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4051      fi      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4052    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4053    IFS="$ac_save_ifs"      break 2
4054      fi
4055    done
4056    done
4057    
4058  fi  fi
4059  fi  fi
4060  STRIP="$ac_cv_prog_STRIP"  STRIP=$ac_cv_prog_STRIP
4061  if test -n "$STRIP"; then  if test -n "$STRIP"; then
4062    echo "$ac_t""$STRIP" 1>&6    echo "$as_me:$LINENO: result: $STRIP" >&5
4063    echo "${ECHO_T}$STRIP" >&6
4064  else  else
4065    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
4066    echo "${ECHO_T}no" >&6
4067  fi  fi
4068    
4069    fi
4070  if test -z "$ac_cv_prog_STRIP"; then  if test -z "$ac_cv_prog_STRIP"; then
4071  if test -n "$ac_tool_prefix"; then    ac_ct_STRIP=$STRIP
4072    # 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.
4073  set dummy strip; ac_word=$2  set dummy strip; ac_word=$2
4074  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
4075  echo "configure:2704: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4076  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4077    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4078  else  else
4079    if test -n "$STRIP"; then    if test -n "$ac_ct_STRIP"; then
4080    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.
4081  else  else
4082    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4083    ac_dummy="$PATH"  for as_dir in $PATH
4084    for ac_dir in $ac_dummy; do  do
4085      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
4086      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
4087        ac_cv_prog_STRIP="strip"    for ac_exec_ext in '' $ac_executable_extensions; do
4088        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4089      fi      ac_cv_prog_ac_ct_STRIP="strip"
4090    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4091    IFS="$ac_save_ifs"      break 2
4092    test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"    fi
4093    done
4094    done
4095    
4096      test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4097  fi  fi
4098  fi  fi
4099  STRIP="$ac_cv_prog_STRIP"  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4100  if test -n "$STRIP"; then  if test -n "$ac_ct_STRIP"; then
4101    echo "$ac_t""$STRIP" 1>&6    echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4102    echo "${ECHO_T}$ac_ct_STRIP" >&6
4103  else  else
4104    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
4105    echo "${ECHO_T}no" >&6
4106  fi  fi
4107    
4108      STRIP=$ac_ct_STRIP
4109  else  else
4110    STRIP=":"    STRIP="$ac_cv_prog_STRIP"
 fi  
4111  fi  fi
4112    
4113    
#