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.26 by hiroo, Sat Jun 15 13:02:13 2002 UTC revision 1.27 by hiroo, Mon Jun 17 17:28:52 2002 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2    
3  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
4  # Generated by GNU Autoconf 2.53.  # Generated automatically using autoconf version 2.13
5    # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6  #  #
 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  
 # 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    
10    # Defaults:
11    ac_help=
12    ac_default_prefix=/usr/local
13    # Any additions from configure.in:
14    ac_help="$ac_help
15      --enable-debug             enable debug options [default=no]"
16    ac_help="$ac_help
17      --enable-libraries      build and install libraries [default=yes]"
18    ac_help="$ac_help
19      --enable-server         build and install server [default=yes]"
20    ac_help="$ac_help
21      --enable-client         build and install clients [default=no]"
22    ac_help="$ac_help
23      --enable-Wnn         build and install Wnn [default=yes]"
24    ac_help="$ac_help
25      --enable-cWnn         build and install cWnn [default=yes]"
26    ac_help="$ac_help
27      --enable-kWnn         build and install kWnn [default=yes]"
28    ac_help="$ac_help
29      --with-libwnn               use installed Wnn library [default=no]"
30    ac_help="$ac_help
31      --with-wnn-includes=DIR  WNN include files are in DIR"
32    ac_help="$ac_help
33      --with-wnn-libraries=DIR Search for WNN libraries in DIR[default=/usr/local/lib]"
34    ac_help="$ac_help
35      --with-libcwnn               use installed cWnn library [default=no]"
36    ac_help="$ac_help
37      --with-cwnn-includes=DIR  CWNN include files are in DIR"
38    ac_help="$ac_help
39      --with-cwnn-libraries=DIR Search for CWNN libraries in DIR[default=/usr/local/lib]"
40    ac_help="$ac_help
41      --with-libkwnn               use installed kWnn library [default=no]"
42    ac_help="$ac_help
43      --with-kwnn-includes=DIR  KWNN include files are in DIR"
44    ac_help="$ac_help
45      --with-kwnn-libraries=DIR Search for KWNN libraries in DIR[default=/usr/local/lib]"
46    ac_help="$ac_help
47      --enable-ipv6           build and install IPv6 [default=no]"
48    ac_help="$ac_help
49      --enable-unsafe-path    allow creating files in an arbitrary path [default=no]"
50    ac_help="$ac_help
51      --enable-shared[=PKGS]  build shared libraries [default=yes]"
52    ac_help="$ac_help
53      --enable-static[=PKGS]  build static libraries [default=yes]"
54    ac_help="$ac_help
55      --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
56    ac_help="$ac_help
57      --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
58    
59  # Find the correct PATH separator.  Usually this is `:', but  # Find the correct PATH separator.  Usually this is `:', but
60  # DJGPP uses `;' like DOS.  # DJGPP uses `;' like DOS.
61  if test "X${PATH_SEPARATOR+set}" != Xset; then  if test "X${PATH_SEPARATOR+set}" != Xset; then
# Line 164  if test "X$ECHO" = "X$CONFIG_SHELL $0 -- Line 213  if test "X$ECHO" = "X$CONFIG_SHELL $0 --
213  fi  fi
214    
215    
216    ac_help="$ac_help
217  if expr a : '\(a\)' >/dev/null 2>&1; then    --disable-libtool-lock  avoid locking (might break parallel builds)"
218    as_expr=expr  ac_help="$ac_help
219  else    --with-pic              try to use only PIC/non-PIC objects [default=use both]"
220    as_expr=false  ac_help="$ac_help
221  fi    --with-x                use the X Window System"
   
   
 ## --------------------- ##  
 ## M4sh Initialization.  ##  
 ## --------------------- ##  
   
 # Be Bourne compatible  
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  
   emulate sh  
   NULLCMD=:  
 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then  
   set -o posix  
 fi  
   
 # NLS nuisances.  
 # Support unset when possible.  
 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  
   as_unset=unset  
 else  
   as_unset=false  
 fi  
   
 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&  
     { $as_unset LANG || test "${LANG+set}" != set; } ||  
       { LANG=C; export LANG; }  
 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&  
     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||  
       { LC_ALL=C; export LC_ALL; }  
 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&  
     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||  
       { LC_TIME=C; export LC_TIME; }  
 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&  
     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||  
       { LC_CTYPE=C; export LC_CTYPE; }  
 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&  
     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||  
       { LANGUAGE=C; export LANGUAGE; }  
 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&  
     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||  
       { LC_COLLATE=C; export LC_COLLATE; }  
 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&  
     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||  
       { LC_NUMERIC=C; export LC_NUMERIC; }  
 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&  
     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||  
       { LC_MESSAGES=C; export LC_MESSAGES; }  
   
   
 # Name of the executable.  
 as_me=`(basename "$0") 2>/dev/null ||  
 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  
          X"$0" : 'X\(//\)$' \| \  
          X"$0" : 'X\(/\)$' \| \  
          .     : '\(.\)' 2>/dev/null ||  
 echo X/"$0" |  
     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }  
           /^X\/\(\/\/\)$/{ s//\1/; q; }  
           /^X\/\(\/\).*/{ s//\1/; q; }  
           s/.*/./; q'`  
   
 # PATH needs CR, and LINENO needs CR and PATH.  
 # Avoid depending upon Character Ranges.  
 as_cr_letters='abcdefghijklmnopqrstuvwxyz'  
 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'  
 as_cr_Letters=$as_cr_letters$as_cr_LETTERS  
 as_cr_digits='0123456789'  
 as_cr_alnum=$as_cr_Letters$as_cr_digits  
   
 # The user is always right.  
 if test "${PATH_SEPARATOR+set}" != set; then  
   echo "#! /bin/sh" >conftest.sh  
   echo  "exit 0"   >>conftest.sh  
   chmod +x conftest.sh  
   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then  
     PATH_SEPARATOR=';'  
   else  
     PATH_SEPARATOR=:  
   fi  
   rm -f conftest.sh  
 fi  
   
   
   as_lineno_1=$LINENO  
   as_lineno_2=$LINENO  
   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`  
   test "x$as_lineno_1" != "x$as_lineno_2" &&  
   test "x$as_lineno_3"  = "x$as_lineno_2"  || {  
   # Find who we are.  Look in the path if we contain no path at all  
   # relative or not.  
   case $0 in  
     *[\\/]* ) as_myself=$0 ;;  
     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break  
 done  
   
        ;;  
   esac  
   # We did not find ourselves, most probably we were run as `sh COMMAND'  
   # in which case we are not to be found in the path.  
   if test "x$as_myself" = x; then  
     as_myself=$0  
   fi  
   if test ! -f "$as_myself"; then  
     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2  
    { (exit 1); exit 1; }; }  
   fi  
   case $CONFIG_SHELL in  
   '')  
     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for as_base in sh bash ksh sh5; do  
          case $as_dir in  
          /*)  
            if ("$as_dir/$as_base" -c '  
   as_lineno_1=$LINENO  
   as_lineno_2=$LINENO  
   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`  
   test "x$as_lineno_1" != "x$as_lineno_2" &&  
   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then  
              CONFIG_SHELL=$as_dir/$as_base  
              export CONFIG_SHELL  
              exec "$CONFIG_SHELL" "$0" ${1+"$@"}  
            fi;;  
          esac  
        done  
 done  
 ;;  
   esac  
   
   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO  
   # uniformly replaced by the line number.  The first 'sed' inserts a  
   # line-number line before each line; the second 'sed' does the real  
   # work.  The second script uses 'N' to pair each line-number line  
   # with the numbered line, and appends trailing '-' during  
   # substitution so that $LINENO is not a special case at line end.  
   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the  
   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)  
   sed '=' <$as_myself |  
     sed '  
       N  
       s,$,-,  
       : loop  
       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,  
       t loop  
       s,-$,,  
       s,^['$as_cr_digits']*\n,,  
     ' >$as_me.lineno &&  
   chmod +x $as_me.lineno ||  
     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2  
    { (exit 1); exit 1; }; }  
   
   # Don't try to exec as it changes $[0], causing all sort of problems  
   # (the dirname of $[0] is not the place where we might find the  
   # original and so on.  Autoconf is especially sensible to this).  
   . ./$as_me.lineno  
   # Exit status is that of the last command.  
   exit  
 }  
   
   
 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in  
   *c*,-n*) ECHO_N= ECHO_C='  
 ' ECHO_T='      ' ;;  
   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;  
   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;  
 esac  
   
 if expr a : '\(a\)' >/dev/null 2>&1; then  
   as_expr=expr  
 else  
   as_expr=false  
 fi  
   
 rm -f conf$$ conf$$.exe conf$$.file  
 echo >conf$$.file  
 if ln -s conf$$.file conf$$ 2>/dev/null; then  
   # We could just check for DJGPP; but this test a) works b) is more generic  
   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).  
   if test -f conf$$.exe; then  
     # Don't use ln at all; we don't have any links  
     as_ln_s='cp -p'  
   else  
     as_ln_s='ln -s'  
   fi  
 elif ln conf$$.file conf$$ 2>/dev/null; then  
   as_ln_s=ln  
 else  
   as_ln_s='cp -p'  
 fi  
 rm -f conf$$ conf$$.exe conf$$.file  
   
 as_executable_p="test -f"  
   
 # Sed expression to map a string onto a valid CPP name.  
 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"  
   
 # Sed expression to map a string onto a valid variable name.  
 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"  
   
   
 # IFS  
 # We need space, tab and new line, in precisely that order.  
 as_nl='  
 '  
 IFS="   $as_nl"  
   
 # CDPATH.  
 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }  
   
   
 # Name of the host.  
 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,  
 # so uname gets run too.  
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`  
   
 exec 6>&1  
   
 #  
 # Initializations.  
 #  
 ac_default_prefix=/usr/local  
 cross_compiling=no  
 subdirs=  
 MFLAGS=  
 MAKEFLAGS=  
 SHELL=${CONFIG_SHELL-/bin/sh}  
   
 # Maximum number of lines to put in a shell here document.  
 # This variable seems obsolete.  It should probably be removed, and  
 # only ac_max_sed_lines should be used.  
 : ${ac_max_here_lines=38}  
   
 # Identity of this package.  
 PACKAGE_NAME=  
 PACKAGE_TARNAME=  
 PACKAGE_VERSION=  
 PACKAGE_STRING=  
 PACKAGE_BUGREPORT=  
   
 ac_unique_file="Wnn/conv/cvt_head.h"  
 # Factoring default headers for most tests.  
 ac_includes_default="\  
 #include <stdio.h>  
 #if HAVE_SYS_TYPES_H  
 # include <sys/types.h>  
 #endif  
 #if HAVE_SYS_STAT_H  
 # include <sys/stat.h>  
 #endif  
 #if STDC_HEADERS  
 # include <stdlib.h>  
 # include <stddef.h>  
 #else  
 # if HAVE_STDLIB_H  
 #  include <stdlib.h>  
 # endif  
 #endif  
 #if HAVE_STRING_H  
 # if !STDC_HEADERS && HAVE_MEMORY_H  
 #  include <memory.h>  
 # endif  
 # include <string.h>  
 #endif  
 #if HAVE_STRINGS_H  
 # include <strings.h>  
 #endif  
 #if HAVE_INTTYPES_H  
 # include <inttypes.h>  
 #else  
 # if HAVE_STDINT_H  
 #  include <stdint.h>  
 # endif  
 #endif  
 #if HAVE_UNISTD_H  
 # include <unistd.h>  
 #endif"  
   
222    
223  # Initialize some variables set by options.  # Initialize some variables set by options.
 ac_init_help=  
 ac_init_version=false  
224  # The variables have the same names as the options, with  # The variables have the same names as the options, with
225  # dashes changed to underlines.  # dashes changed to underlines.
226  cache_file=/dev/null  build=NONE
227    cache_file=./config.cache
228  exec_prefix=NONE  exec_prefix=NONE
229    host=NONE
230  no_create=  no_create=
231    nonopt=NONE
232  no_recursion=  no_recursion=
233  prefix=NONE  prefix=NONE
234  program_prefix=NONE  program_prefix=NONE
# Line 470  program_suffix=NONE Line 236  program_suffix=NONE
236  program_transform_name=s,x,x,  program_transform_name=s,x,x,
237  silent=  silent=
238  site=  site=
239    sitefile=
240  srcdir=  srcdir=
241    target=NONE
242  verbose=  verbose=
243  x_includes=NONE  x_includes=NONE
244  x_libraries=NONE  x_libraries=NONE
   
 # Installation directory options.  
 # These are left unexpanded so users can "make install exec_prefix=/foo"  
 # and all the variables that are supposed to be based on exec_prefix  
 # by default will actually change.  
 # Use braces instead of parens because sh, perl, etc. also accept them.  
245  bindir='${exec_prefix}/bin'  bindir='${exec_prefix}/bin'
246  sbindir='${exec_prefix}/sbin'  sbindir='${exec_prefix}/sbin'
247  libexecdir='${exec_prefix}/libexec'  libexecdir='${exec_prefix}/libexec'
# Line 493  oldincludedir='/usr/include' Line 255  oldincludedir='/usr/include'
255  infodir='${prefix}/info'  infodir='${prefix}/info'
256  mandir='${prefix}/man'  mandir='${prefix}/man'
257    
258    # Initialize some other variables.
259    subdirs=
260    MFLAGS= MAKEFLAGS=
261    SHELL=${CONFIG_SHELL-/bin/sh}
262    # Maximum number of lines to put in a shell here document.
263    ac_max_here_lines=12
264    
265  ac_prev=  ac_prev=
266  for ac_option  for ac_option
267  do  do
268    
269    # If the previous option needs an argument, assign it.    # If the previous option needs an argument, assign it.
270    if test -n "$ac_prev"; then    if test -n "$ac_prev"; then
271      eval "$ac_prev=\$ac_option"      eval "$ac_prev=\$ac_option"
# Line 503  do Line 273  do
273      continue      continue
274    fi    fi
275    
276    ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`    case "$ac_option" in
277      -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
278      *) ac_optarg= ;;
279      esac
280    
281    # Accept the important Cygnus configure options, so we can diagnose typos.    # Accept the important Cygnus configure options, so we can diagnose typos.
282    
283    case $ac_option in    case "$ac_option" in
284    
285    -bindir | --bindir | --bindi | --bind | --bin | --bi)    -bindir | --bindir | --bindi | --bind | --bin | --bi)
286      ac_prev=bindir ;;      ac_prev=bindir ;;
287    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
288      bindir=$ac_optarg ;;      bindir="$ac_optarg" ;;
289    
290    -build | --build | --buil | --bui | --bu)    -build | --build | --buil | --bui | --bu)
291      ac_prev=build_alias ;;      ac_prev=build ;;
292    -build=* | --build=* | --buil=* | --bui=* | --bu=*)    -build=* | --build=* | --buil=* | --bui=* | --bu=*)
293      build_alias=$ac_optarg ;;      build="$ac_optarg" ;;
294    
295    -cache-file | --cache-file | --cache-fil | --cache-fi \    -cache-file | --cache-file | --cache-fil | --cache-fi \
296    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
297      ac_prev=cache_file ;;      ac_prev=cache_file ;;
298    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
299    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
300      cache_file=$ac_optarg ;;      cache_file="$ac_optarg" ;;
   
   --config-cache | -C)  
     cache_file=config.cache ;;  
301    
302    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
303      ac_prev=datadir ;;      ac_prev=datadir ;;
304    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
305    | --da=*)    | --da=*)
306      datadir=$ac_optarg ;;      datadir="$ac_optarg" ;;
307    
308    -disable-* | --disable-*)    -disable-* | --disable-*)
309      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
310      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
311      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&      if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
312        { echo "$as_me: error: invalid feature name: $ac_feature" >&2        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
313     { (exit 1); exit 1; }; }      fi
314      ac_feature=`echo $ac_feature | sed 's/-/_/g'`      ac_feature=`echo $ac_feature| sed 's/-/_/g'`
315      eval "enable_$ac_feature=no" ;;      eval "enable_${ac_feature}=no" ;;
316    
317    -enable-* | --enable-*)    -enable-* | --enable-*)
318      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
319      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
320      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&      if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
321        { echo "$as_me: error: invalid feature name: $ac_feature" >&2        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
322     { (exit 1); exit 1; }; }      fi
323      ac_feature=`echo $ac_feature | sed 's/-/_/g'`      ac_feature=`echo $ac_feature| sed 's/-/_/g'`
324      case $ac_option in      case "$ac_option" in
325        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;        *=*) ;;
326        *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
327      esac      esac
328      eval "enable_$ac_feature='$ac_optarg'" ;;      eval "enable_${ac_feature}='$ac_optarg'" ;;
329    
330    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
331    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 564  do Line 334  do
334    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
335    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
336    | --exec=* | --exe=* | --ex=*)    | --exec=* | --exe=* | --ex=*)
337      exec_prefix=$ac_optarg ;;      exec_prefix="$ac_optarg" ;;
338    
339    -gas | --gas | --ga | --g)    -gas | --gas | --ga | --g)
340      # Obsolete; use --with-gas.      # Obsolete; use --with-gas.
341      with_gas=yes ;;      with_gas=yes ;;
342    
343    -help | --help | --hel | --he | -h)    -help | --help | --hel | --he)
344      ac_init_help=long ;;      # Omit some internal or obsolete options to make the list less imposing.
345    -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)      # This message is too long to be a string in the A/UX 3.1 sh.
346      ac_init_help=recursive ;;      cat << EOF
347    -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)  Usage: configure [options] [host]
348      ac_init_help=short ;;  Options: [defaults in brackets after descriptions]
349    Configuration:
350      --cache-file=FILE       cache test results in FILE
351      --help                  print this message
352      --no-create             do not create output files
353      --quiet, --silent       do not print \`checking...' messages
354      --site-file=FILE        use FILE as the site file
355      --version               print the version of autoconf that created configure
356    Directory and file names:
357      --prefix=PREFIX         install architecture-independent files in PREFIX
358                              [$ac_default_prefix]
359      --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
360                              [same as prefix]
361      --bindir=DIR            user executables in DIR [EPREFIX/bin]
362      --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
363      --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
364      --datadir=DIR           read-only architecture-independent data in DIR
365                              [PREFIX/share]
366      --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
367      --sharedstatedir=DIR    modifiable architecture-independent data in DIR
368                              [PREFIX/com]
369      --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
370      --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
371      --includedir=DIR        C header files in DIR [PREFIX/include]
372      --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
373      --infodir=DIR           info documentation in DIR [PREFIX/info]
374      --mandir=DIR            man documentation in DIR [PREFIX/man]
375      --srcdir=DIR            find the sources in DIR [configure dir or ..]
376      --program-prefix=PREFIX prepend PREFIX to installed program names
377      --program-suffix=SUFFIX append SUFFIX to installed program names
378      --program-transform-name=PROGRAM
379                              run sed PROGRAM on installed program names
380    EOF
381        cat << EOF
382    Host type:
383      --build=BUILD           configure for building on BUILD [BUILD=HOST]
384      --host=HOST             configure for HOST [guessed]
385      --target=TARGET         configure for TARGET [TARGET=HOST]
386    Features and packages:
387      --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
388      --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
389      --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
390      --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
391      --x-includes=DIR        X include files are in DIR
392      --x-libraries=DIR       X library files are in DIR
393    EOF
394        if test -n "$ac_help"; then
395          echo "--enable and --with options recognized:$ac_help"
396        fi
397        exit 0 ;;
398    
399    -host | --host | --hos | --ho)    -host | --host | --hos | --ho)
400      ac_prev=host_alias ;;      ac_prev=host ;;
401    -host=* | --host=* | --hos=* | --ho=*)    -host=* | --host=* | --hos=* | --ho=*)
402      host_alias=$ac_optarg ;;      host="$ac_optarg" ;;
403    
404    -includedir | --includedir | --includedi | --included | --include \    -includedir | --includedir | --includedi | --included | --include \
405    | --includ | --inclu | --incl | --inc)    | --includ | --inclu | --incl | --inc)
406      ac_prev=includedir ;;      ac_prev=includedir ;;
407    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
408    | --includ=* | --inclu=* | --incl=* | --inc=*)    | --includ=* | --inclu=* | --incl=* | --inc=*)
409      includedir=$ac_optarg ;;      includedir="$ac_optarg" ;;
410    
411    -infodir | --infodir | --infodi | --infod | --info | --inf)    -infodir | --infodir | --infodi | --infod | --info | --inf)
412      ac_prev=infodir ;;      ac_prev=infodir ;;
413    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
414      infodir=$ac_optarg ;;      infodir="$ac_optarg" ;;
415    
416    -libdir | --libdir | --libdi | --libd)    -libdir | --libdir | --libdi | --libd)
417      ac_prev=libdir ;;      ac_prev=libdir ;;
418    -libdir=* | --libdir=* | --libdi=* | --libd=*)    -libdir=* | --libdir=* | --libdi=* | --libd=*)
419      libdir=$ac_optarg ;;      libdir="$ac_optarg" ;;
420    
421    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
422    | --libexe | --libex | --libe)    | --libexe | --libex | --libe)
423      ac_prev=libexecdir ;;      ac_prev=libexecdir ;;
424    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
425    | --libexe=* | --libex=* | --libe=*)    | --libexe=* | --libex=* | --libe=*)
426      libexecdir=$ac_optarg ;;      libexecdir="$ac_optarg" ;;
427    
428    -localstatedir | --localstatedir | --localstatedi | --localstated \    -localstatedir | --localstatedir | --localstatedi | --localstated \
429    | --localstate | --localstat | --localsta | --localst \    | --localstate | --localstat | --localsta | --localst \
# Line 613  do Line 432  do
432    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433    | --localstate=* | --localstat=* | --localsta=* | --localst=* \    | --localstate=* | --localstat=* | --localsta=* | --localst=* \
434    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
435      localstatedir=$ac_optarg ;;      localstatedir="$ac_optarg" ;;
436    
437    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
438      ac_prev=mandir ;;      ac_prev=mandir ;;
439    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
440      mandir=$ac_optarg ;;      mandir="$ac_optarg" ;;
441    
442    -nfp | --nfp | --nf)    -nfp | --nfp | --nf)
443      # Obsolete; use --without-fp.      # Obsolete; use --without-fp.
444      with_fp=no ;;      with_fp=no ;;
445    
446    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
447    | --no-cr | --no-c | -n)    | --no-cr | --no-c)
448      no_create=yes ;;      no_create=yes ;;
449    
450    -no-recursion | --no-recursion | --no-recursio | --no-recursi \    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 639  do Line 458  do
458    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
459    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
460    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
461      oldincludedir=$ac_optarg ;;      oldincludedir="$ac_optarg" ;;
462    
463    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
464      ac_prev=prefix ;;      ac_prev=prefix ;;
465    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
466      prefix=$ac_optarg ;;      prefix="$ac_optarg" ;;
467    
468    -program-prefix | --program-prefix | --program-prefi | --program-pref \    -program-prefix | --program-prefix | --program-prefi | --program-pref \
469    | --program-pre | --program-pr | --program-p)    | --program-pre | --program-pr | --program-p)
470      ac_prev=program_prefix ;;      ac_prev=program_prefix ;;
471    -program-prefix=* | --program-prefix=* | --program-prefi=* \    -program-prefix=* | --program-prefix=* | --program-prefi=* \
472    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
473      program_prefix=$ac_optarg ;;      program_prefix="$ac_optarg" ;;
474    
475    -program-suffix | --program-suffix | --program-suffi | --program-suff \    -program-suffix | --program-suffix | --program-suffi | --program-suff \
476    | --program-suf | --program-su | --program-s)    | --program-suf | --program-su | --program-s)
477      ac_prev=program_suffix ;;      ac_prev=program_suffix ;;
478    -program-suffix=* | --program-suffix=* | --program-suffi=* \    -program-suffix=* | --program-suffix=* | --program-suffi=* \
479    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
480      program_suffix=$ac_optarg ;;      program_suffix="$ac_optarg" ;;
481    
482    -program-transform-name | --program-transform-name \    -program-transform-name | --program-transform-name \
483    | --program-transform-nam | --program-transform-na \    | --program-transform-nam | --program-transform-na \
# Line 675  do Line 494  do
494    | --program-transfo=* | --program-transf=* \    | --program-transfo=* | --program-transf=* \
495    | --program-trans=* | --program-tran=* \    | --program-trans=* | --program-tran=* \
496    | --progr-tra=* | --program-tr=* | --program-t=*)    | --progr-tra=* | --program-tr=* | --program-t=*)
497      program_transform_name=$ac_optarg ;;      program_transform_name="$ac_optarg" ;;
498    
499    -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500    | -silent | --silent | --silen | --sile | --sil)    | -silent | --silent | --silen | --sile | --sil)
# Line 685  do Line 504  do
504      ac_prev=sbindir ;;      ac_prev=sbindir ;;
505    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
506    | --sbi=* | --sb=*)    | --sbi=* | --sb=*)
507      sbindir=$ac_optarg ;;      sbindir="$ac_optarg" ;;
508    
509    -sharedstatedir | --sharedstatedir | --sharedstatedi \    -sharedstatedir | --sharedstatedir | --sharedstatedi \
510    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
# Line 696  do Line 515  do
515    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
516    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
517    | --sha=* | --sh=*)    | --sha=* | --sh=*)
518      sharedstatedir=$ac_optarg ;;      sharedstatedir="$ac_optarg" ;;
519    
520    -site | --site | --sit)    -site | --site | --sit)
521      ac_prev=site ;;      ac_prev=site ;;
522    -site=* | --site=* | --sit=*)    -site=* | --site=* | --sit=*)
523      site=$ac_optarg ;;      site="$ac_optarg" ;;
524    
525      -site-file | --site-file | --site-fil | --site-fi | --site-f)
526        ac_prev=sitefile ;;
527      -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
528        sitefile="$ac_optarg" ;;
529    
530    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
531      ac_prev=srcdir ;;      ac_prev=srcdir ;;
532    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
533      srcdir=$ac_optarg ;;      srcdir="$ac_optarg" ;;
534    
535    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
536    | --syscon | --sysco | --sysc | --sys | --sy)    | --syscon | --sysco | --sysc | --sys | --sy)
537      ac_prev=sysconfdir ;;      ac_prev=sysconfdir ;;
538    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
539    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
540      sysconfdir=$ac_optarg ;;      sysconfdir="$ac_optarg" ;;
541    
542    -target | --target | --targe | --targ | --tar | --ta | --t)    -target | --target | --targe | --targ | --tar | --ta | --t)
543      ac_prev=target_alias ;;      ac_prev=target ;;
544    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
545      target_alias=$ac_optarg ;;      target="$ac_optarg" ;;
546    
547    -v | -verbose | --verbose | --verbos | --verbo | --verb)    -v | -verbose | --verbose | --verbos | --verbo | --verb)
548      verbose=yes ;;      verbose=yes ;;
549    
550    -version | --version | --versio | --versi | --vers | -V)    -version | --version | --versio | --versi | --vers)
551      ac_init_version=: ;;      echo "configure generated by autoconf version 2.13"
552        exit 0 ;;
553    
554    -with-* | --with-*)    -with-* | --with-*)
555      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
556      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
557      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&      if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
558        { echo "$as_me: error: invalid package name: $ac_package" >&2        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
559     { (exit 1); exit 1; }; }      fi
560      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package| sed 's/-/_/g'`
561      case $ac_option in      case "$ac_option" in
562        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;        *=*) ;;
563        *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
564      esac      esac
565      eval "with_$ac_package='$ac_optarg'" ;;      eval "with_${ac_package}='$ac_optarg'" ;;
566    
567    -without-* | --without-*)    -without-* | --without-*)
568      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_package=`echo $ac_option|sed -e 's/-*without-//'`
569      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
570      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&      if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
571        { echo "$as_me: error: invalid package name: $ac_package" >&2        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
572     { (exit 1); exit 1; }; }      fi
573      ac_package=`echo $ac_package | sed 's/-/_/g'`      ac_package=`echo $ac_package| sed 's/-/_/g'`
574      eval "with_$ac_package=no" ;;      eval "with_${ac_package}=no" ;;
575    
576    --x)    --x)
577      # Obsolete; use --with-x.      # Obsolete; use --with-x.
# Line 757  do Line 582  do
582      ac_prev=x_includes ;;      ac_prev=x_includes ;;
583    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
584    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
585      x_includes=$ac_optarg ;;      x_includes="$ac_optarg" ;;
586    
587    -x-libraries | --x-libraries | --x-librarie | --x-librari \    -x-libraries | --x-libraries | --x-librarie | --x-librari \
588    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
589      ac_prev=x_libraries ;;      ac_prev=x_libraries ;;
590    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
591    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
592      x_libraries=$ac_optarg ;;      x_libraries="$ac_optarg" ;;
593    
594    -*) { echo "$as_me: error: unrecognized option: $ac_option    -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
 Try \`$0 --help' for more information." >&2  
    { (exit 1); exit 1; }; }  
595      ;;      ;;
596    
   *=*)  
     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`  
     # Reject names that are not valid shell variable names.  
     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&  
       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2  
    { (exit 1); exit 1; }; }  
     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`  
     eval "$ac_envvar='$ac_optarg'"  
     export $ac_envvar ;;  
   
597    *)    *)
598      # FIXME: should be removed in autoconf 3.0.      if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
599      echo "$as_me: WARNING: you should use --build, --host, --target" >&2        echo "configure: warning: $ac_option: invalid host type" 1>&2
600      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&      fi
601        echo "$as_me: WARNING: invalid host type: $ac_option" >&2      if test "x$nonopt" != xNONE; then
602      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}        { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
603        fi
604        nonopt="$ac_option"
605      ;;      ;;
606    
607    esac    esac
608  done  done
609    
610  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
611    ac_option=--`echo $ac_prev | sed 's/_/-/g'`    { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
   { echo "$as_me: error: missing argument to $ac_option" >&2  
    { (exit 1); exit 1; }; }  
612  fi  fi
613    
614  # Be sure to have absolute paths.  trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
615  for ac_var in exec_prefix prefix  
616  do  # File descriptor usage:
617    eval ac_val=$`echo $ac_var`  # 0 standard input
618    case $ac_val in  # 1 file creation
619      [\\/$]* | ?:[\\/]* | NONE | '' ) ;;  # 2 errors and warnings
620      *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2  # 3 some systems may open it to /dev/tty
621     { (exit 1); exit 1; }; };;  # 4 used on the Kubota Titan
622    esac  # 6 checking for... messages and results
623  done  # 5 compiler messages saved in config.log
624    if test "$silent" = yes; then
625      exec 6>/dev/null
626    else
627      exec 6>&1
628    fi
629    exec 5>./config.log
630    
631    echo "\
632    This file contains any messages produced by compilers while
633    running configure, to aid debugging if configure makes a mistake.
634    " 1>&5
635    
636  # Be sure to have absolute paths.  # Strip out --no-create and --no-recursion so they do not pile up.
637  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \  # Also quote any args containing shell metacharacters.
638                localstatedir libdir includedir oldincludedir infodir mandir  ac_configure_args=
639    for ac_arg
640  do  do
641    eval ac_val=$`echo $ac_var`    case "$ac_arg" in
642    case $ac_val in    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
643      [\\/$]* | ?:[\\/]* ) ;;    | --no-cr | --no-c) ;;
644      *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
645     { (exit 1); exit 1; }; };;    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
646      *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
647      ac_configure_args="$ac_configure_args '$ac_arg'" ;;
648      *) ac_configure_args="$ac_configure_args $ac_arg" ;;
649    esac    esac
650  done  done
651    
652  # There might be people who depend on the old broken behavior: `$host'  # NLS nuisances.
653  # used to hold the argument of --host etc.  # Only set these to C if already set.  These must not be set unconditionally
654  # FIXME: To remove some day.  # because not all systems understand e.g. LANG=C (notably SCO).
655  build=$build_alias  # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
656  host=$host_alias  # Non-C LC_CTYPE values break the ctype check.
657  target=$target_alias  if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
658    if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
659  # FIXME: To remove some day.  if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
660  if test "x$host_alias" != x; then  if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
   if test "x$build_alias" = x; then  
     cross_compiling=maybe  
     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.  
     If a cross compiler is detected then cross compile mode will be used." >&2  
   elif test "x$build_alias" != "x$host_alias"; then  
     cross_compiling=yes  
   fi  
 fi  
   
 ac_tool_prefix=  
 test -n "$host_alias" && ac_tool_prefix=$host_alias-  
661    
662  test "$silent" = yes && exec 6>/dev/null  # confdefs.h avoids OS command line length limits that DEFS can exceed.
663    rm -rf conftest* confdefs.h
664    # AIX cpp loses on an empty file, so make sure it contains at least a newline.
665    echo > confdefs.h
666    
667    # A filename unique to this package, relative to the directory that
668    # configure is in, which we can look for to find out if srcdir is correct.
669    ac_unique_file=Wnn/conv/cvt_head.h
670    
671  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
672  if test -z "$srcdir"; then  if test -z "$srcdir"; then
673    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
674    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
675    ac_confdir=`(dirname "$0") 2>/dev/null ||    ac_prog=$0
676  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \    ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
677           X"$0" : 'X\(//\)[^/]' \| \    test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
          X"$0" : 'X\(//\)$' \| \  
          X"$0" : 'X\(/\)' \| \  
          .     : '\(.\)' 2>/dev/null ||  
 echo X"$0" |  
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }  
           /^X\(\/\/\)[^/].*/{ s//\1/; q; }  
           /^X\(\/\/\)$/{ s//\1/; q; }  
           /^X\(\/\).*/{ s//\1/; q; }  
           s/.*/./; q'`  
678    srcdir=$ac_confdir    srcdir=$ac_confdir
679    if test ! -r $srcdir/$ac_unique_file; then    if test ! -r $srcdir/$ac_unique_file; then
680      srcdir=..      srcdir=..
# Line 870  else Line 684  else
684  fi  fi
685  if test ! -r $srcdir/$ac_unique_file; then  if test ! -r $srcdir/$ac_unique_file; then
686    if test "$ac_srcdir_defaulted" = yes; then    if test "$ac_srcdir_defaulted" = yes; then
687      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2      { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
    { (exit 1); exit 1; }; }  
688    else    else
689      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2      { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
    { (exit 1); exit 1; }; }  
690    fi    fi
691  fi  fi
692  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
 ac_env_build_alias_set=${build_alias+set}  
 ac_env_build_alias_value=$build_alias  
 ac_cv_env_build_alias_set=${build_alias+set}  
 ac_cv_env_build_alias_value=$build_alias  
 ac_env_host_alias_set=${host_alias+set}  
 ac_env_host_alias_value=$host_alias  
 ac_cv_env_host_alias_set=${host_alias+set}  
 ac_cv_env_host_alias_value=$host_alias  
 ac_env_target_alias_set=${target_alias+set}  
 ac_env_target_alias_value=$target_alias  
 ac_cv_env_target_alias_set=${target_alias+set}  
 ac_cv_env_target_alias_value=$target_alias  
 ac_env_CC_set=${CC+set}  
 ac_env_CC_value=$CC  
 ac_cv_env_CC_set=${CC+set}  
 ac_cv_env_CC_value=$CC  
 ac_env_CFLAGS_set=${CFLAGS+set}  
 ac_env_CFLAGS_value=$CFLAGS  
 ac_cv_env_CFLAGS_set=${CFLAGS+set}  
 ac_cv_env_CFLAGS_value=$CFLAGS  
 ac_env_LDFLAGS_set=${LDFLAGS+set}  
 ac_env_LDFLAGS_value=$LDFLAGS  
 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}  
 ac_cv_env_LDFLAGS_value=$LDFLAGS  
 ac_env_CPPFLAGS_set=${CPPFLAGS+set}  
 ac_env_CPPFLAGS_value=$CPPFLAGS  
 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}  
 ac_cv_env_CPPFLAGS_value=$CPPFLAGS  
 ac_env_CPP_set=${CPP+set}  
 ac_env_CPP_value=$CPP  
 ac_cv_env_CPP_set=${CPP+set}  
 ac_cv_env_CPP_value=$CPP  
   
 #  
 # Report the --help message.  
 #  
 if test "$ac_init_help" = "long"; then  
   # Omit some internal or obsolete options to make the list less imposing.  
   # This message is too long to be a string in the A/UX 3.1 sh.  
   cat <<_ACEOF  
 \`configure' configures this package to adapt to many kinds of systems.  
   
 Usage: $0 [OPTION]... [VAR=VALUE]...  
   
 To assign environment variables (e.g., CC, CFLAGS...), specify them as  
 VAR=VALUE.  See below for descriptions of some of the useful variables.  
   
 Defaults for the options are specified in brackets.  
   
 Configuration:  
   -h, --help              display this help and exit  
       --help=short        display options specific to this package  
       --help=recursive    display the short help of all the included packages  
   -V, --version           display version information and exit  
   -q, --quiet, --silent   do not print \`checking...' messages  
       --cache-file=FILE   cache test results in FILE [disabled]  
   -C, --config-cache      alias for \`--cache-file=config.cache'  
   -n, --no-create         do not create output files  
       --srcdir=DIR        find the sources in DIR [configure dir or \`..']  
   
 _ACEOF  
   
   cat <<_ACEOF  
 Installation directories:  
   --prefix=PREFIX         install architecture-independent files in PREFIX  
                           [$ac_default_prefix]  
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX  
                           [PREFIX]  
   
 By default, \`make install' will install all the files in  
 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify  
 an installation prefix other than \`$ac_default_prefix' using \`--prefix',  
 for instance \`--prefix=\$HOME'.  
   
 For better control, use the options below.  
   
 Fine tuning of the installation directories:  
   --bindir=DIR           user executables [EPREFIX/bin]  
   --sbindir=DIR          system admin executables [EPREFIX/sbin]  
   --libexecdir=DIR       program executables [EPREFIX/libexec]  
   --datadir=DIR          read-only architecture-independent data [PREFIX/share]  
   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]  
   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]  
   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]  
   --libdir=DIR           object code libraries [EPREFIX/lib]  
   --includedir=DIR       C header files [PREFIX/include]  
   --oldincludedir=DIR    C header files for non-gcc [/usr/include]  
   --infodir=DIR          info documentation [PREFIX/info]  
   --mandir=DIR           man documentation [PREFIX/man]  
 _ACEOF  
   
   cat <<\_ACEOF  
   
 X features:  
   --x-includes=DIR    X include files are in DIR  
   --x-libraries=DIR   X library files are in DIR  
   
 System types:  
   --build=BUILD     configure for building on BUILD [guessed]  
   --host=HOST       cross-compile to build programs to run on HOST [BUILD]  
 _ACEOF  
 fi  
   
 if test -n "$ac_init_help"; then  
   
   cat <<\_ACEOF  
693    
694  Optional Features:  # Prefer explicitly selected file to automatically selected ones.
695    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)  if test -z "$sitefile"; then
696    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    if test -z "$CONFIG_SITE"; then
697    --enable-debug             enable debug options default=no      if test "x$prefix" != xNONE; then
698    --enable-libraries      build and install libraries default=yes        CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
   --enable-server         build and install server default=yes  
   --enable-client         build and install clients default=no  
   --enable-Wnn         build and install Wnn default=yes  
   --enable-cWnn         build and install cWnn default=yes  
   --enable-kWnn         build and install kWnn default=yes  
   --enable-ipv6           build and install IPv6 default=no  
   --enable-unsafe-path    allow creating files in an arbitrary path default=no  
   --enable-shared=PKGS  build shared libraries default=yes  
   --enable-static=PKGS  build static libraries default=yes  
   --enable-fast-install=PKGS  optimize for fast installation default=yes  
   --disable-libtool-lock  avoid locking (might break parallel builds)  
   
 Optional Packages:  
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]  
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)  
   --with-libwnn               use installed Wnn library default=no  
   --with-wnn-includes=DIR  WNN include files are in DIR  
   --with-wnn-libraries=DIR Search for WNN libraries in DIRdefault=/usr/local/lib  
   --with-libcwnn               use installed cWnn library default=no  
   --with-cwnn-includes=DIR  CWNN include files are in DIR  
   --with-cwnn-libraries=DIR Search for CWNN libraries in DIRdefault=/usr/local/lib  
   --with-libkwnn               use installed kWnn library default=no  
   --with-kwnn-includes=DIR  KWNN include files are in DIR  
   --with-kwnn-libraries=DIR Search for KWNN libraries in DIRdefault=/usr/local/lib  
   --with-gnu-ld           assume the C compiler uses GNU ld default=no  
   --with-pic              try to use only PIC/non-PIC objects default=use both  
   --with-x                use the X Window System  
   
 Some influential environment variables:  
   CC          C compiler command  
   CFLAGS      C compiler flags  
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a  
               nonstandard directory <lib dir>  
   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have  
               headers in a nonstandard directory <include dir>  
   CPP         C preprocessor  
   
 Use these variables to override the choices made by `configure' or to help  
 it to find libraries and programs with nonstandard names/locations.  
   
 _ACEOF  
 fi  
   
 if test "$ac_init_help" = "recursive"; then  
   # If there are subdirs, report their specific --help.  
   ac_popdir=`pwd`  
   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue  
     test -d $ac_dir || continue  
     ac_builddir=.  
   
 if test "$ac_dir" != .; then  
   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`  
   # A "../" for each directory in $ac_dir_suffix.  
   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`  
 else  
   ac_dir_suffix= ac_top_builddir=  
 fi  
   
 case $srcdir in  
   .)  # No --srcdir option.  We are building in place.  
     ac_srcdir=.  
     if test -z "$ac_top_builddir"; then  
        ac_top_srcdir=.  
     else  
        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`  
     fi ;;  
   [\\/]* | ?:[\\/]* )  # Absolute path.  
     ac_srcdir=$srcdir$ac_dir_suffix;  
     ac_top_srcdir=$srcdir ;;  
   *) # Relative path.  
     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix  
     ac_top_srcdir=$ac_top_builddir$srcdir ;;  
 esac  
 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  
 # absolute.  
 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  
 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`  
 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  
 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  
   
     cd $ac_dir  
     # Check for guested configure; otherwise get Cygnus style configure.  
     if test -f $ac_srcdir/configure.gnu; then  
       echo  
       $SHELL $ac_srcdir/configure.gnu  --help=recursive  
     elif test -f $ac_srcdir/configure; then  
       echo  
       $SHELL $ac_srcdir/configure  --help=recursive  
     elif test -f $ac_srcdir/configure.ac ||  
            test -f $ac_srcdir/configure.in; then  
       echo  
       $ac_configure --help  
699      else      else
700        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2        CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
701      fi      fi
     cd $ac_popdir  
   done  
 fi  
   
 test -n "$ac_init_help" && exit 0  
 if $ac_init_version; then  
   cat <<\_ACEOF  
   
 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  
 Free Software Foundation, Inc.  
 This configure script is free software; the Free Software Foundation  
 gives unlimited permission to copy, distribute and modify it.  
 _ACEOF  
   exit 0  
 fi  
 exec 5>config.log  
 cat >&5 <<_ACEOF  
 This file contains any messages produced by compilers while  
 running configure, to aid debugging if configure makes a mistake.  
   
 It was created by $as_me, which was  
 generated by GNU Autoconf 2.53.  Invocation command line was  
   
   $ $0 $@  
   
 _ACEOF  
 {  
 cat <<_ASUNAME  
 ## --------- ##  
 ## Platform. ##  
 ## --------- ##  
   
 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`  
 uname -m = `(uname -m) 2>/dev/null || echo unknown`  
 uname -r = `(uname -r) 2>/dev/null || echo unknown`  
 uname -s = `(uname -s) 2>/dev/null || echo unknown`  
 uname -v = `(uname -v) 2>/dev/null || echo unknown`  
   
 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`  
 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`  
   
 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`  
 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`  
 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`  
 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`  
 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`  
 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`  
 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`  
   
 _ASUNAME  
   
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   echo "PATH: $as_dir"  
 done  
   
 } >&5  
   
 cat >&5 <<_ACEOF  
   
   
 ## ----------- ##  
 ## Core tests. ##  
 ## ----------- ##  
   
 _ACEOF  
   
   
 # Keep a trace of the command line.  
 # Strip out --no-create and --no-recursion so they do not pile up.  
 # Also quote any args containing shell meta-characters.  
 ac_configure_args=  
 ac_sep=  
 for ac_arg  
 do  
   case $ac_arg in  
   -no-create | --no-create | --no-creat | --no-crea | --no-cre \  
   | --no-cr | --no-c | -n ) continue ;;  
   -no-recursion | --no-recursion | --no-recursio | --no-recursi \  
   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)  
     continue ;;  
   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)  
     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;  
   esac  
   case " $ac_configure_args " in  
     *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.  
     *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"  
        ac_sep=" " ;;  
   esac  
   # Get rid of the leading space.  
 done  
   
 # When interrupted or exit'd, cleanup temporary files, and complete  
 # config.log.  We remove comments because anyway the quotes in there  
 # would cause problems or look ugly.  
 # WARNING: Be sure not to use single quotes in there, as some shells,  
 # such as our DU 5.0 friend, will then `close' the trap.  
 trap 'exit_status=$?  
   # Save into config.log some information that might help in debugging.  
   {  
     echo  
     cat <<\_ASBOX  
 ## ---------------- ##  
 ## Cache variables. ##  
 ## ---------------- ##  
 _ASBOX  
     echo  
     # The following way of writing the cache mishandles newlines in values,  
 {  
   (set) 2>&1 |  
     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in  
     *ac_space=\ *)  
       sed -n \  
         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;  
           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"  
       ;;  
     *)  
       sed -n \  
         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"  
       ;;  
     esac;  
 }  
     echo  
     if test -s confdefs.h; then  
       cat <<\_ASBOX  
 ## ----------- ##  
 ## confdefs.h. ##  
 ## ----------- ##  
 _ASBOX  
       echo  
       sed "/^$/d" confdefs.h  
       echo  
     fi  
     test "$ac_signal" != 0 &&  
       echo "$as_me: caught signal $ac_signal"  
     echo "$as_me: exit $exit_status"  
   } >&5  
   rm -f core core.* *.core &&  
   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&  
     exit $exit_status  
      ' 0  
 for ac_signal in 1 2 13 15; do  
   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal  
 done  
 ac_signal=0  
   
 # confdefs.h avoids OS command line length limits that DEFS can exceed.  
 rm -rf conftest* confdefs.h  
 # AIX cpp loses on an empty file, so make sure it contains at least a newline.  
 echo >confdefs.h  
   
 # Predefined preprocessor variables.  
   
 cat >>confdefs.h <<_ACEOF  
 #define PACKAGE_NAME "$PACKAGE_NAME"  
 _ACEOF  
   
   
 cat >>confdefs.h <<_ACEOF  
 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"  
 _ACEOF  
   
   
 cat >>confdefs.h <<_ACEOF  
 #define PACKAGE_VERSION "$PACKAGE_VERSION"  
 _ACEOF  
   
   
 cat >>confdefs.h <<_ACEOF  
 #define PACKAGE_STRING "$PACKAGE_STRING"  
 _ACEOF  
   
   
 cat >>confdefs.h <<_ACEOF  
 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"  
 _ACEOF  
   
   
 # Let the site file select an alternate cache file if it wants to.  
 # Prefer explicitly selected file to automatically selected ones.  
 if test -z "$CONFIG_SITE"; then  
   if test "x$prefix" != xNONE; then  
     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"  
   else  
     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"  
702    fi    fi
703    else
704      CONFIG_SITE="$sitefile"
705  fi  fi
706  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
707    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
708      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5      echo "loading site script $ac_site_file"
 echo "$as_me: loading site script $ac_site_file" >&6;}  
     sed 's/^/| /' "$ac_site_file" >&5  
709      . "$ac_site_file"      . "$ac_site_file"
710    fi    fi
711  done  done
712    
713  if test -r "$cache_file"; then  if test -r "$cache_file"; then
714    # Some versions of bash will fail to source /dev/null (special    echo "loading cache $cache_file"
715    # files actually), so we avoid doing that.    . $cache_file
   if test -f "$cache_file"; then  
     { echo "$as_me:$LINENO: loading cache $cache_file" >&5  
 echo "$as_me: loading cache $cache_file" >&6;}  
     case $cache_file in  
       [\\/]* | ?:[\\/]* ) . $cache_file;;  
       *)                      . ./$cache_file;;  
     esac  
   fi  
716  else  else
717    { echo "$as_me:$LINENO: creating cache $cache_file" >&5    echo "creating cache $cache_file"
718  echo "$as_me: creating cache $cache_file" >&6;}    > $cache_file
   >$cache_file  
 fi  
   
 # Check that the precious variables saved in the cache have kept the same  
 # value.  
 ac_cache_corrupted=false  
 for ac_var in `(set) 2>&1 |  
                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do  
   eval ac_old_set=\$ac_cv_env_${ac_var}_set  
   eval ac_new_set=\$ac_env_${ac_var}_set  
   eval ac_old_val="\$ac_cv_env_${ac_var}_value"  
   eval ac_new_val="\$ac_env_${ac_var}_value"  
   case $ac_old_set,$ac_new_set in  
     set,)  
       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5  
 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}  
       ac_cache_corrupted=: ;;  
     ,set)  
       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5  
 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}  
       ac_cache_corrupted=: ;;  
     ,);;  
     *)  
       if test "x$ac_old_val" != "x$ac_new_val"; then  
         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5  
 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}  
         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5  
 echo "$as_me:   former value:  $ac_old_val" >&2;}  
         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5  
 echo "$as_me:   current value: $ac_new_val" >&2;}  
         ac_cache_corrupted=:  
       fi;;  
   esac  
   # Pass precious variables to config.status.  
   if test "$ac_new_set" = set; then  
     case $ac_new_val in  
     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)  
       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;  
     *) ac_arg=$ac_var=$ac_new_val ;;  
     esac  
     case " $ac_configure_args " in  
       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.  
       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;  
     esac  
   fi  
 done  
 if $ac_cache_corrupted; then  
   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5  
 echo "$as_me: error: changes in the environment can compromise the build" >&2;}  
   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5  
 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}  
    { (exit 1); exit 1; }; }  
719  fi  fi
720    
721  ac_ext=c  ac_ext=c
722    # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
723  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
724  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
725  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
726  ac_compiler_gnu=$ac_cv_c_compiler_gnu  cross_compiling=$ac_cv_prog_cc_cross
727    
728    ac_exeext=
729    ac_objext=o
730    if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
731      # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
732      if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
733        ac_n= ac_c='
734    ' ac_t='        '
735      else
736        ac_n=-n ac_c= ac_t=
737      fi
738    else
739      ac_n= ac_c='\c' ac_t=
740    fi
   
   
741    
742    
 ac_config_headers="$ac_config_headers config.h"  
743    
744    
745    
# Line 1389  for ac_dir in $srcdir $srcdir/.. $srcdir Line 753  for ac_dir in $srcdir $srcdir/.. $srcdir
753      ac_aux_dir=$ac_dir      ac_aux_dir=$ac_dir
754      ac_install_sh="$ac_aux_dir/install.sh -c"      ac_install_sh="$ac_aux_dir/install.sh -c"
755      break      break
   elif test -f $ac_dir/shtool; then  
     ac_aux_dir=$ac_dir  
     ac_install_sh="$ac_aux_dir/shtool install -c"  
     break  
756    fi    fi
757  done  done
758  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
759    { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5    { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
760  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}  fi
761     { (exit 1); exit 1; }; }  ac_config_guess=$ac_aux_dir/config.guess
762  fi  ac_config_sub=$ac_aux_dir/config.sub
763  ac_config_guess="$SHELL $ac_aux_dir/config.guess"  ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
764  ac_config_sub="$SHELL $ac_aux_dir/config.sub"  
 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.  
765    
766  # Make sure we can run config.sub.  # Make sure we can run config.sub.
767  $ac_config_sub sun4 >/dev/null 2>&1 ||  if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
768    { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5  else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
769  echo "$as_me: error: cannot run $ac_config_sub" >&2;}  fi
770     { (exit 1); exit 1; }; }  
771    echo $ac_n "checking host system type""... $ac_c" 1>&6
772  echo "$as_me:$LINENO: checking build system type" >&5  echo "configure:773: checking host system type" >&5
 echo $ECHO_N "checking build system type... $ECHO_C" >&6  
 if test "${ac_cv_build+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_cv_build_alias=$build_alias  
 test -z "$ac_cv_build_alias" &&  
   ac_cv_build_alias=`$ac_config_guess`  
 test -z "$ac_cv_build_alias" &&  
   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5  
 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}  
    { (exit 1); exit 1; }; }  
 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||  
   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5  
 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}  
    { (exit 1); exit 1; }; }  
   
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_build" >&5  
 echo "${ECHO_T}$ac_cv_build" >&6  
 build=$ac_cv_build  
 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
   
   
 echo "$as_me:$LINENO: checking host system type" >&5  
 echo $ECHO_N "checking host system type... $ECHO_C" >&6  
 if test "${ac_cv_host+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_cv_host_alias=$host_alias  
 test -z "$ac_cv_host_alias" &&  
   ac_cv_host_alias=$ac_cv_build_alias  
 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||  
   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5  
 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}  
    { (exit 1); exit 1; }; }  
   
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_host" >&5  
 echo "${ECHO_T}$ac_cv_host" >&6  
 host=$ac_cv_host  
 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
773    
774    host_alias=$host
775    case "$host_alias" in
776    NONE)
777      case $nonopt in
778      NONE)
779        if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
780        else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
781        fi ;;
782      *) host_alias=$nonopt ;;
783      esac ;;
784    esac
785    
786    host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
787    host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
788    host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
789    host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
790    echo "$ac_t""$host" 1>&6
791    
792    
793    
# Line 1466  if test "${enable_debug+set}" = set; the Line 797  if test "${enable_debug+set}" = set; the
797    case "${enableval}" in    case "${enableval}" in
798     yes) debug=true ;;     yes) debug=true ;;
799     no)  debug=false ;;     no)  debug=false ;;
800     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-debug" >&5     *)   { echo "configure: error: bad value for --enable-debug" 1>&2; exit 1; }
 echo "$as_me: error: bad value for --enable-debug" >&2;}  
    { (exit 1); exit 1; }; }  
801  esac  esac
802  else  else
803    debug=false    debug=false
804  fi;  fi
805    
806    
807  # Check whether --enable-libraries or --disable-libraries was given.  # Check whether --enable-libraries or --disable-libraries was given.
808  if test "${enable_libraries+set}" = set; then  if test "${enable_libraries+set}" = set; then
# Line 1480  if test "${enable_libraries+set}" = set; Line 810  if test "${enable_libraries+set}" = set;
810    case "${enableval}" in    case "${enableval}" in
811     yes) libraries=true ;;     yes) libraries=true ;;
812     no)  libraries=false ;;     no)  libraries=false ;;
813     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-libraries" >&5     *)   { echo "configure: error: bad value for --enable-libraries" 1>&2; exit 1; } ;;
 echo "$as_me: error: bad value for --enable-libraries" >&2;}  
    { (exit 1); exit 1; }; } ;;  
814  esac  esac
815  else  else
816    libraries=true    libraries=true
817  fi;  fi
818    
819    
820  # Check whether --enable-server or --disable-server was given.  # Check whether --enable-server or --disable-server was given.
821  if test "${enable_server+set}" = set; then  if test "${enable_server+set}" = set; then
# Line 1494  if test "${enable_server+set}" = set; th Line 823  if test "${enable_server+set}" = set; th
823    case "${enableval}" in    case "${enableval}" in
824     yes) server=true ;;     yes) server=true ;;
825     no)  server=false ;;     no)  server=false ;;
826     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-server" >&5     *)   { echo "configure: error: bad value for --enable-server" 1>&2; exit 1; } ;;
 echo "$as_me: error: bad value for --enable-server" >&2;}  
    { (exit 1); exit 1; }; } ;;  
827  esac  esac
828  else  else
829    server=true    server=true
830  fi;  fi
831    
832    
833  # Check whether --enable-client or --disable-client was given.  # Check whether --enable-client or --disable-client was given.
834  if test "${enable_client+set}" = set; then  if test "${enable_client+set}" = set; then
# Line 1508  if test "${enable_client+set}" = set; th Line 836  if test "${enable_client+set}" = set; th
836    case "${enableval}" in    case "${enableval}" in
837     yes) client=true ;;     yes) client=true ;;
838     no)  client=false ;;     no)  client=false ;;
839     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-client" >&5     *)   { echo "configure: error: bad value for --enable-client" 1>&2; exit 1; } ;;
 echo "$as_me: error: bad value for --enable-client" >&2;}  
    { (exit 1); exit 1; }; } ;;  
840  esac  esac
841  else  else
842    client=false    client=false
843  fi;  fi
844    
845    
846  if test $libraries = true; then  if test $libraries = true; then
847          SUBDIRS="\$(LIB_SUBDIRS)"          SUBDIRS="\$(LIB_SUBDIRS)"
# Line 1538  if test "${enable_Wnn+set}" = set; then Line 865  if test "${enable_Wnn+set}" = set; then
865    case "${enableval}" in    case "${enableval}" in
866     yes) Wnn="Wnn";;     yes) Wnn="Wnn";;
867     no)  Wnn="" ;;     no)  Wnn="" ;;
868     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-Wnn" >&5     *)   { echo "configure: error: bad value for --enable-Wnn" 1>&2; exit 1; } ;;
 echo "$as_me: error: bad value for --enable-Wnn" >&2;}  
    { (exit 1); exit 1; }; } ;;  
869  esac  esac
870  else  else
871    Wnn="Wnn"    Wnn="Wnn"
872  fi;  fi
873    
874    
875    
876  if test "$server" = true -a "$Wnn" = Wnn; then  if test "$server" = true -a "$Wnn" = Wnn; then
# Line 1562  if test "${enable_cWnn+set}" = set; then Line 888  if test "${enable_cWnn+set}" = set; then
888    case "${enableval}" in    case "${enableval}" in
889     yes) cWnn="cWnn" ;;     yes) cWnn="cWnn" ;;
890     no)  cWnn="" ;;     no)  cWnn="" ;;
891     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-cWnn" >&5     *)   { echo "configure: error: bad value for --enable-cWnn" 1>&2; exit 1; } ;;
 echo "$as_me: error: bad value for --enable-cWnn" >&2;}  
    { (exit 1); exit 1; }; } ;;  
892  esac  esac
893  else  else
894    cWnn="cWnn"    cWnn="cWnn"
895  fi;  fi
896    
897    
898    
899  # Check whether --enable-kWnn or --disable-kWnn was given.  # Check whether --enable-kWnn or --disable-kWnn was given.
# Line 1577  if test "${enable_kWnn+set}" = set; then Line 902  if test "${enable_kWnn+set}" = set; then
902    case "${enableval}" in    case "${enableval}" in
903     yes) kWnn="kWnn" ;;     yes) kWnn="kWnn" ;;
904     no)  kWnn="" ;;     no)  kWnn="" ;;
905     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-kWnn" >&5     *)   { echo "configure: error: bad value for --enable-kWnn" 1>&2; exit 1; } ;;
 echo "$as_me: error: bad value for --enable-kWnn" >&2;}  
    { (exit 1); exit 1; }; } ;;  
906  esac  esac
907  else  else
908    kWnn="kWnn"    kWnn="kWnn"
909  fi;  fi
910    
911    
912    
# Line 1593  fi; Line 916  fi;
916  if test "${with_libwnn+set}" = set; then  if test "${with_libwnn+set}" = set; then
917    withval="$with_libwnn"    withval="$with_libwnn"
918      with_libwnn="${withval}"      with_libwnn="${withval}"
   
919  # Check whether --with-wnn-includes or --without-wnn-includes was given.  # Check whether --with-wnn-includes or --without-wnn-includes was given.
920  if test "${with_wnn_includes+set}" = set; then  if test "${with_wnn_includes+set}" = set; then
921    withval="$with_wnn_includes"    withval="$with_wnn_includes"
922    wnnincludedir="-I${withval}"    wnnincludedir="-I${withval}"
923  else  else
924    wnnincludedir=''    wnnincludedir=''
925  fi;  fi
926    
927  # Check whether --with-wnn-libraries or --without-wnn-libraries was given.  # Check whether --with-wnn-libraries or --without-wnn-libraries was given.
928  if test "${with_wnn_libraries+set}" = set; then  if test "${with_wnn_libraries+set}" = set; then
# Line 1608  if test "${with_wnn_libraries+set}" = se Line 930  if test "${with_wnn_libraries+set}" = se
930    wnnlibdir="${withval}"    wnnlibdir="${withval}"
931  else  else
932    wnnlibdir='/usr/local/lib'    wnnlibdir='/usr/local/lib'
933  fi;  fi
934    
935          if test "X${with_libwnn}" = X-lwnn; then          if test "X${with_libwnn}" = X-lwnn; then
936                  WNNJLIB="-L${wnnlibdir} -lwnn"                  WNNJLIB="-L${wnnlibdir} -lwnn"
937          elif test X"`echo ${with_libwnn} | grep '^/.*'`" != X ; then          elif test X"`echo ${with_libwnn} | grep '^/.*'`" != X ; then
# Line 1624  else Line 947  else
947          DEPWNNJLIB="\$(WNNJLIB)"          DEPWNNJLIB="\$(WNNJLIB)"
948          HINSI_DATA="\$(WNNJDSRC)/hinsi.data"          HINSI_DATA="\$(WNNJDSRC)/hinsi.data"
949    
950  fi;  fi
951    
952    
953    
# Line 1633  fi; Line 956  fi;
956  # Check whether --with-libcwnn or --without-libcwnn was given.  # Check whether --with-libcwnn or --without-libcwnn was given.
957  if test "${with_libcwnn+set}" = set; then  if test "${with_libcwnn+set}" = set; then
958    withval="$with_libcwnn"    withval="$with_libcwnn"
959      
   
960  # Check whether --with-cwnn-includes or --without-cwnn-includes was given.  # Check whether --with-cwnn-includes or --without-cwnn-includes was given.
961  if test "${with_cwnn_includes+set}" = set; then  if test "${with_cwnn_includes+set}" = set; then
962    withval="$with_cwnn_includes"    withval="$with_cwnn_includes"
963    cwnnincludedir="-I${withval}"    cwnnincludedir="-I${withval}"
964  else  else
965    cwnnincludedir=''    cwnnincludedir=''
966  fi;  fi
967    
968  # Check whether --with-cwnn-libraries or --without-cwnn-libraries was given.  # Check whether --with-cwnn-libraries or --without-cwnn-libraries was given.
969  if test "${with_cwnn_libraries+set}" = set; then  if test "${with_cwnn_libraries+set}" = set; then
# Line 1649  if test "${with_cwnn_libraries+set}" = s Line 971  if test "${with_cwnn_libraries+set}" = s
971    cwnnlibdir="${withval}"    cwnnlibdir="${withval}"
972  else  else
973    cwnnlibdir='/usr/local/lib'    cwnnlibdir='/usr/local/lib'
974  fi;  fi
975    
976          if test "X${with_libcwnn}" = X-lcwnn; then          if test "X${with_libcwnn}" = X-lcwnn; then
977                  CWNNJLIB="-L${cwnnlibdir} -lcwnn"                  CWNNJLIB="-L${cwnnlibdir} -lcwnn"
978          elif test X"`echo ${with_libcwnn} | grep '^/.*'`" != X ; then          elif test X"`echo ${with_libcwnn} | grep '^/.*'`" != X ; then
# Line 1667  else Line 990  else
990          CHINSI_DATA="\$(CWNNCDSRC)/cixing.data"          CHINSI_DATA="\$(CWNNCDSRC)/cixing.data"
991          THINSI_DATA="\$(TWNNTDSRC)/cixing.data"          THINSI_DATA="\$(TWNNTDSRC)/cixing.data"
992    
993  fi;  fi
994    
995    
996    
# Line 1677  fi; Line 1000  fi;
1000  # Check whether --with-libkwnn or --without-libkwnn was given.  # Check whether --with-libkwnn or --without-libkwnn was given.
1001  if test "${with_libkwnn+set}" = set; then  if test "${with_libkwnn+set}" = set; then
1002    withval="$with_libkwnn"    withval="$with_libkwnn"
1003      
   
1004  # Check whether --with-kwnn-includes or --without-kwnn-includes was given.  # Check whether --with-kwnn-includes or --without-kwnn-includes was given.
1005  if test "${with_kwnn_includes+set}" = set; then  if test "${with_kwnn_includes+set}" = set; then
1006    withval="$with_kwnn_includes"    withval="$with_kwnn_includes"
1007    kwnnincludedir="-I${withval}"    kwnnincludedir="-I${withval}"
1008  else  else
1009    kwnnincludedir=''    kwnnincludedir=''
1010  fi;  fi
1011    
1012  # Check whether --with-kwnn-libraries or --without-kwnn-libraries was given.  # Check whether --with-kwnn-libraries or --without-kwnn-libraries was given.
1013  if test "${with_kwnn_libraries+set}" = set; then  if test "${with_kwnn_libraries+set}" = set; then
# Line 1693  if test "${with_kwnn_libraries+set}" = s Line 1015  if test "${with_kwnn_libraries+set}" = s
1015    kwnnlibdir="${withval}"    kwnnlibdir="${withval}"
1016  else  else
1017    kwnnlibdir='/usr/local/lib'    kwnnlibdir='/usr/local/lib'
1018  fi;  fi
1019    
1020          if test "X${with_libkwnn}" = X-lkwnn; then          if test "X${with_libkwnn}" = X-lkwnn; then
1021                  KWNNJLIB="-L${kwnnlibdir} -lkwnn"                  KWNNJLIB="-L${kwnnlibdir} -lkwnn"
1022          elif test X"`echo ${with_libkwnn} | grep '^/.*'`" != X ; then          elif test X"`echo ${with_libkwnn} | grep '^/.*'`" != X ; then
# Line 1709  else Line 1032  else
1032          DEPKWNNJLIB="\$(KWNNJLIB)"          DEPKWNNJLIB="\$(KWNNJLIB)"
1033          KHINSI_DATA="\$(KWNNKDSRC)/hinsi.data"          KHINSI_DATA="\$(KWNNKDSRC)/hinsi.data"
1034    
1035  fi;  fi
1036    
1037    
1038    
1039    
# Line 1721  if test "${enable_ipv6+set}" = set; then Line 1045  if test "${enable_ipv6+set}" = set; then
1045    case "${enableval}" in    case "${enableval}" in
1046     yes) ipv6="-DINET6";;     yes) ipv6="-DINET6";;
1047     no)  ipv6="" ;;     no)  ipv6="" ;;
1048     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-ipv6" >&5     *)   { echo "configure: error: bad value for --enable-ipv6" 1>&2; exit 1; } ;;
 echo "$as_me: error: bad value for --enable-ipv6" >&2;}  
    { (exit 1); exit 1; }; } ;;  
1049  esac  esac
1050  else  else
1051    ipv6=""    ipv6=""
1052  fi;  fi
1053    
1054    
1055    
1056  # Check whether --enable-unsafe-path or --disable-unsafe-path was given.  # Check whether --enable-unsafe-path or --disable-unsafe-path was given.
# Line 1736  if test "${enable_unsafe_path+set}" = se Line 1059  if test "${enable_unsafe_path+set}" = se
1059    case "${enableval}" in    case "${enableval}" in
1060     yes) unsafe_path=true;;     yes) unsafe_path=true;;
1061     no)  unsafe_path=false;;     no)  unsafe_path=false;;
1062     *)   { { echo "$as_me:$LINENO: error: bad value for --enable-unsafe-path" >&5     *)   { echo "configure: error: bad value for --enable-unsafe-path" 1>&2; exit 1; } ;;
 echo "$as_me: error: bad value for --enable-unsafe-path" >&2;}  
    { (exit 1); exit 1; }; } ;;  
1063  esac  esac
1064  else  else
1065    unsafe_path=false    unsafe_path=false
1066  fi;  fi
1067    
1068    
1069    
1070  if test ${unsafe_path} = true; then  if test ${unsafe_path} = true; then
1071          cat >>confdefs.h <<\_ACEOF          cat >> confdefs.h <<\EOF
1072  #define WNN_ALLOW_UNSAFE_PATH 1  #define WNN_ALLOW_UNSAFE_PATH 1
1073  _ACEOF  EOF
   
 fi  
   
 ac_ext=c  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  
 if test -n "$ac_tool_prefix"; then  
   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.  
 set dummy ${ac_tool_prefix}gcc; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_CC+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$CC"; then  
   ac_cv_prog_CC="$CC" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_CC="${ac_tool_prefix}gcc"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
1074    
1075  fi  fi
 fi  
 CC=$ac_cv_prog_CC  
 if test -n "$CC"; then  
   echo "$as_me:$LINENO: result: $CC" >&5  
 echo "${ECHO_T}$CC" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
1076    
1077  fi  # Extract the first word of "gcc", so it can be a program name with args.
 if test -z "$ac_cv_prog_CC"; then  
   ac_ct_CC=$CC  
   # Extract the first word of "gcc", so it can be a program name with args.  
1078  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1079  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1080  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo "configure:1081: checking for $ac_word" >&5
1081  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1082    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  
   if test -n "$ac_ct_CC"; then  
   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_ac_ct_CC="gcc"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
 fi  
 fi  
 ac_ct_CC=$ac_cv_prog_ac_ct_CC  
 if test -n "$ac_ct_CC"; then  
   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5  
 echo "${ECHO_T}$ac_ct_CC" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
   
   CC=$ac_ct_CC  
 else  
   CC="$ac_cv_prog_CC"  
 fi  
   
 if test -z "$CC"; then  
   if test -n "$ac_tool_prefix"; then  
   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.  
 set dummy ${ac_tool_prefix}cc; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_CC+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
1083  else  else
1084    if test -n "$CC"; then    if test -n "$CC"; then
1085    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1086  else  else
1087  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1088  for as_dir in $PATH    ac_dummy="$PATH"
1089  do    for ac_dir in $ac_dummy; do
1090    IFS=$as_save_IFS      test -z "$ac_dir" && ac_dir=.
1091    test -z "$as_dir" && as_dir=.      if test -f $ac_dir/$ac_word; then
1092    for ac_exec_ext in '' $ac_executable_extensions; do        ac_cv_prog_CC="gcc"
1093    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then        break
1094      ac_cv_prog_CC="${ac_tool_prefix}cc"      fi
1095      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    done
1096      break 2    IFS="$ac_save_ifs"
   fi  
 done  
 done  
   
1097  fi  fi
1098  fi  fi
1099  CC=$ac_cv_prog_CC  CC="$ac_cv_prog_CC"
1100  if test -n "$CC"; then  if test -n "$CC"; then
1101    echo "$as_me:$LINENO: result: $CC" >&5    echo "$ac_t""$CC" 1>&6
 echo "${ECHO_T}$CC" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
   
 fi  
 if test -z "$ac_cv_prog_CC"; then  
   ac_ct_CC=$CC  
   # Extract the first word of "cc", so it can be a program name with args.  
 set dummy cc; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$ac_ct_CC"; then  
   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_ac_ct_CC="cc"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
 fi  
 fi  
 ac_ct_CC=$ac_cv_prog_ac_ct_CC  
 if test -n "$ac_ct_CC"; then  
   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5  
 echo "${ECHO_T}$ac_ct_CC" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
   
   CC=$ac_ct_CC  
1102  else  else
1103    CC="$ac_cv_prog_CC"    echo "$ac_t""no" 1>&6
1104  fi  fi
1105    
 fi  
1106  if test -z "$CC"; then  if test -z "$CC"; then
1107    # 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.
1108  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1109  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1110  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo "configure:1111: checking for $ac_word" >&5
1111  if test "${ac_cv_prog_CC+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1112    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
1113  else  else
1114    if test -n "$CC"; then    if test -n "$CC"; then
1115    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1116  else  else
1117      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1118    ac_prog_rejected=no    ac_prog_rejected=no
1119  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    ac_dummy="$PATH"
1120  for as_dir in $PATH    for ac_dir in $ac_dummy; do
1121  do      test -z "$ac_dir" && ac_dir=.
1122    IFS=$as_save_IFS      if test -f $ac_dir/$ac_word; then
1123    test -z "$as_dir" && as_dir=.        if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1124    for ac_exec_ext in '' $ac_executable_extensions; do          ac_prog_rejected=yes
1125    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then          continue
1126      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then        fi
1127         ac_prog_rejected=yes        ac_cv_prog_CC="cc"
1128         continue        break
1129       fi      fi
1130      ac_cv_prog_CC="cc"    done
1131      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    IFS="$ac_save_ifs"
     break 2  
   fi  
 done  
 done  
   
1132  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
1133    # 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.
1134    set dummy $ac_cv_prog_CC    set dummy $ac_cv_prog_CC
1135    shift    shift
1136    if test $# != 0; then    if test $# -gt 0; then
1137      # We chose a different compiler from the bogus one.      # We chose a different compiler from the bogus one.
1138      # However, it has the same basename, so the bogon will be chosen      # However, it has the same basename, so the bogon will be chosen
1139      # 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.
1140      shift      shift
1141      set dummy "$as_dir/$ac_word" ${1+"$@"}      set dummy "$ac_dir/$ac_word" "$@"
1142      shift      shift
1143      ac_cv_prog_CC="$@"      ac_cv_prog_CC="$@"
1144    fi    fi
1145  fi  fi
1146  fi  fi
1147  fi  fi
1148  CC=$ac_cv_prog_CC  CC="$ac_cv_prog_CC"
1149  if test -n "$CC"; then  if test -n "$CC"; then
1150    echo "$as_me:$LINENO: result: $CC" >&5    echo "$ac_t""$CC" 1>&6
 echo "${ECHO_T}$CC" >&6  
1151  else  else
1152    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
1153  fi  fi
1154    
1155  fi    if test -z "$CC"; then
1156  if test -z "$CC"; then      case "`uname -s`" in
1157    if test -n "$ac_tool_prefix"; then      *win32* | *WIN32*)
1158    for ac_prog in cl        # Extract the first word of "cl", so it can be a program name with args.
1159    do  set dummy cl; ac_word=$2
1160      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1161  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  echo "configure:1162: checking for $ac_word" >&5
1162  echo "$as_me:$LINENO: checking for $ac_word" >&5  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1163  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
 if test "${ac_cv_prog_CC+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
1164  else  else
1165    if test -n "$CC"; then    if test -n "$CC"; then
1166    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1167  else  else
1168  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1169  for as_dir in $PATH    ac_dummy="$PATH"
1170  do    for ac_dir in $ac_dummy; do
1171    IFS=$as_save_IFS      test -z "$ac_dir" && ac_dir=.
1172    test -z "$as_dir" && as_dir=.      if test -f $ac_dir/$ac_word; then
1173    for ac_exec_ext in '' $ac_executable_extensions; do        ac_cv_prog_CC="cl"
1174    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then        break
1175      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"      fi
1176      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    done
1177      break 2    IFS="$ac_save_ifs"
   fi  
 done  
 done  
   
1178  fi  fi
1179  fi  fi
1180  CC=$ac_cv_prog_CC  CC="$ac_cv_prog_CC"
1181  if test -n "$CC"; then  if test -n "$CC"; then
1182    echo "$as_me:$LINENO: result: $CC" >&5    echo "$ac_t""$CC" 1>&6
 echo "${ECHO_T}$CC" >&6  
1183  else  else
1184    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
1185  fi  fi
1186     ;;
1187      test -n "$CC" && break      esac
   done  
 fi  
 if test -z "$CC"; then  
   ac_ct_CC=$CC  
   for ac_prog in cl  
 do  
   # Extract the first word of "$ac_prog", so it can be a program name with args.  
 set dummy $ac_prog; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$ac_ct_CC"; then  
   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_ac_ct_CC="$ac_prog"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
1188    fi    fi
1189  done    test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
 done  
   
 fi  
 fi  
 ac_ct_CC=$ac_cv_prog_ac_ct_CC  
 if test -n "$ac_ct_CC"; then  
   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5  
 echo "${ECHO_T}$ac_ct_CC" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
1190  fi  fi
1191    
1192    test -n "$ac_ct_CC" && break  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1193  done  echo "configure:1194: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
   
   CC=$ac_ct_CC  
 fi  
1194    
1195  fi  ac_ext=c
1196    # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1197    ac_cpp='$CPP $CPPFLAGS'
1198    ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1199    ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1200    cross_compiling=$ac_cv_prog_cc_cross
1201    
1202    cat > conftest.$ac_ext << EOF
1203    
1204  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5  #line 1205 "configure"
1205  echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}  #include "confdefs.h"
    { (exit 1); exit 1; }; }  
   
 # Provide some information about the compiler.  
 echo "$as_me:$LINENO:" \  
      "checking for C compiler version" >&5  
 ac_compiler=`set X $ac_compile; echo $2`  
 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5  
   (eval $ac_compiler --version </dev/null >&5) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }  
 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5  
   (eval $ac_compiler -v </dev/null >&5) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }  
 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5  
   (eval $ac_compiler -V </dev/null >&5) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }  
   
 cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 #include "confdefs.h"  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
1206    
1207    ;  main(){return(0);}
1208    return 0;  EOF
1209  }  if { (eval echo configure:1210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1210  _ACEOF    ac_cv_prog_cc_works=yes
1211  ac_clean_files_save=$ac_clean_files    # If we can't run a trivial program, we are probably using a cross compiler.
1212  ac_clean_files="$ac_clean_files a.out a.exe"    if (./conftest; exit) 2>/dev/null; then
1213  # Try to create an executable without -o first, disregard a.out.      ac_cv_prog_cc_cross=no
 # It will help us diagnose broken compilers, and finding out an intuition  
 # of exeext.  
 echo "$as_me:$LINENO: checking for C compiler default output" >&5  
 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  
 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  
 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5  
   (eval $ac_link_default) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; then  
   # Find the output, starting from the most likely.  This scheme is  
 # not robust to junk in `.', hence go to wildcards (a.*) only as a last  
 # resort.  
   
 # Be careful to initialize this variable, since it used to be cached.  
 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.  
 ac_cv_exeext=  
 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;  
                 ls a.out conftest 2>/dev/null;  
                 ls a.* conftest.* 2>/dev/null`; do  
   case $ac_file in  
     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;  
     a.out ) # We found the default executable, but exeext='' is most  
             # certainly right.  
             break;;  
     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`  
           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.  
           export ac_cv_exeext  
           break;;  
     * ) break;;  
   esac  
 done  
 else  
   echo "$as_me: failed program was:" >&5  
 cat conftest.$ac_ext >&5  
 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5  
 echo "$as_me: error: C compiler cannot create executables" >&2;}  
    { (exit 77); exit 77; }; }  
 fi  
   
 ac_exeext=$ac_cv_exeext  
 echo "$as_me:$LINENO: result: $ac_file" >&5  
 echo "${ECHO_T}$ac_file" >&6  
   
 # Check the compiler produces executables we can run.  If not, either  
 # the compiler is broken, or we cross compile.  
 echo "$as_me:$LINENO: checking whether the C compiler works" >&5  
 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  
 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  
 # If not cross compiling, check that we can run a simple program.  
 if test "$cross_compiling" != yes; then  
   if { ac_try='./$ac_file'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
     cross_compiling=no  
1214    else    else
1215      if test "$cross_compiling" = maybe; then      ac_cv_prog_cc_cross=yes
         cross_compiling=yes  
     else  
         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.  
 If you meant to cross compile, use \`--host'." >&5  
 echo "$as_me: error: cannot run C compiled programs.  
 If you meant to cross compile, use \`--host'." >&2;}  
    { (exit 1); exit 1; }; }  
     fi  
1216    fi    fi
 fi  
 echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6  
   
 rm -f a.out a.exe conftest$ac_cv_exeext  
 ac_clean_files=$ac_clean_files_save  
 # Check the compiler produces executables we can run.  If not, either  
 # the compiler is broken, or we cross compile.  
 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5  
 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6  
 echo "$as_me:$LINENO: result: $cross_compiling" >&5  
 echo "${ECHO_T}$cross_compiling" >&6  
   
 echo "$as_me:$LINENO: checking for suffix of executables" >&5  
 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; then  
   # If both `conftest.exe' and `conftest' are `present' (well, observable)  
 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  
 # work properly (i.e., refer to `conftest.exe'), while it won't with  
 # `rm'.  
 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do  
   case $ac_file in  
     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;  
     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`  
           export ac_cv_exeext  
           break;;  
     * ) break;;  
   esac  
 done  
1217  else  else
1218    { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5    echo "configure: failed program was:" >&5
1219  echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}    cat conftest.$ac_ext >&5
1220     { (exit 1); exit 1; }; }    ac_cv_prog_cc_works=no
1221  fi  fi
1222    rm -fr conftest*
1223  rm -f conftest$ac_cv_exeext  ac_ext=c
1224  echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1225  echo "${ECHO_T}$ac_cv_exeext" >&6  ac_cpp='$CPP $CPPFLAGS'
1226    ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1227  rm -f conftest.$ac_ext  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1228  EXEEXT=$ac_cv_exeext  cross_compiling=$ac_cv_prog_cc_cross
1229  ac_exeext=$EXEEXT  
1230  echo "$as_me:$LINENO: checking for suffix of object files" >&5  echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1231  echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6  if test $ac_cv_prog_cc_works = no; then
1232  if test "${ac_cv_objext+set}" = set; then    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1233    echo $ECHO_N "(cached) $ECHO_C" >&6  fi
1234  else  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1235    cat >conftest.$ac_ext <<_ACEOF  echo "configure:1236: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1236  #line $LINENO "configure"  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1237  #include "confdefs.h"  cross_compiling=$ac_cv_prog_cc_cross
1238    
1239  #ifdef F77_DUMMY_MAIN  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1240  #  ifdef __cplusplus  echo "configure:1241: checking whether we are using GNU C" >&5
1241       extern "C"  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1242  #  endif    echo $ac_n "(cached) $ac_c" 1>&6
1243     int F77_DUMMY_MAIN() { return 1; }  else
1244      cat > conftest.c <<EOF
1245    #ifdef __GNUC__
1246      yes;
1247  #endif  #endif
1248  int  EOF
1249  main ()  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1250  {    ac_cv_prog_gcc=yes
   
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.o conftest.obj  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; then  
   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do  
   case $ac_file in  
     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;  
     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`  
        break;;  
   esac  
 done  
1251  else  else
1252    echo "$as_me: failed program was:" >&5    ac_cv_prog_gcc=no
 cat conftest.$ac_ext >&5  
 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5  
 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}  
    { (exit 1); exit 1; }; }  
1253  fi  fi
   
 rm -f conftest.$ac_cv_objext conftest.$ac_ext  
1254  fi  fi
 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5  
 echo "${ECHO_T}$ac_cv_objext" >&6  
 OBJEXT=$ac_cv_objext  
 ac_objext=$OBJEXT  
 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5  
 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6  
 if test "${ac_cv_c_compiler_gnu+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 #include "confdefs.h"  
1255    
1256  #ifdef F77_DUMMY_MAIN  echo "$ac_t""$ac_cv_prog_gcc" 1>&6
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
 #ifndef __GNUC__  
        choke me  
 #endif  
1257    
1258    ;  if test $ac_cv_prog_gcc = yes; then
1259    return 0;    GCC=yes
1260  }  else
1261  _ACEOF    GCC=
1262  rm -f conftest.$ac_objext  fi
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_compiler_gnu=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 cat conftest.$ac_ext >&5  
 ac_compiler_gnu=no  
 fi  
 rm -f conftest.$ac_objext conftest.$ac_ext  
 ac_cv_c_compiler_gnu=$ac_compiler_gnu  
   
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5  
 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  
 GCC=`test $ac_compiler_gnu = yes && echo yes`  
 ac_test_CFLAGS=${CFLAGS+set}  
 ac_save_CFLAGS=$CFLAGS  
 CFLAGS="-g"  
 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5  
 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  
 if test "${ac_cv_prog_cc_g+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 #include "confdefs.h"  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
1263    
1264    ;  ac_test_CFLAGS="${CFLAGS+set}"
1265    return 0;  ac_save_CFLAGS="$CFLAGS"
1266  }  CFLAGS=
1267  _ACEOF  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1268  rm -f conftest.$ac_objext  echo "configure:1269: checking whether ${CC-cc} accepts -g" >&5
1269  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1270    (eval $ac_compile) 2>&5    echo $ac_n "(cached) $ac_c" 1>&6
1271    ac_status=$?  else
1272    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo 'void f(){}' > conftest.c
1273    (exit $ac_status); } &&  if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
1274    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
1275  else  else
1276    echo "$as_me: failed program was:" >&5    ac_cv_prog_cc_g=no
 cat conftest.$ac_ext >&5  
 ac_cv_prog_cc_g=no  
1277  fi  fi
1278  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest*
1279    
1280  fi  fi
1281  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  
1282  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1283  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
1284    CFLAGS=$ac_save_CFLAGS    CFLAGS="$ac_save_CFLAGS"
1285  elif test $ac_cv_prog_cc_g = yes; then  elif test $ac_cv_prog_cc_g = yes; then
1286    if test "$GCC" = yes; then    if test "$GCC" = yes; then
1287      CFLAGS="-g -O2"      CFLAGS="-g -O2"
# Line 2387  else Line 1295  else
1295      CFLAGS=      CFLAGS=
1296    fi    fi
1297  fi  fi
 # Some people use a C++ compiler to compile C.  Since we use `exit',  
 # in C++ we need to declare it.  In case someone uses the same compiler  
 # for both compiling C and C++ we need to have the C++ compiler decide  
 # the declaration of exit, since it's the most demanding environment.  
 cat >conftest.$ac_ext <<_ACEOF  
 #ifndef __cplusplus  
   choke me  
 #endif  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   for ac_declaration in \  
    ''\  
    '#include <stdlib.h>' \  
    'extern "C" void std::exit (int) throw (); using std::exit;' \  
    'extern "C" void std::exit (int); using std::exit;' \  
    'extern "C" void exit (int) throw ();' \  
    'extern "C" void exit (int);' \  
    'void exit (int);'  
 do  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 #include "confdefs.h"  
 #include <stdlib.h>  
 $ac_declaration  
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
 exit (42);  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   :  
 else  
   echo "$as_me: failed program was:" >&5  
 cat conftest.$ac_ext >&5  
 continue  
 fi  
 rm -f conftest.$ac_objext conftest.$ac_ext  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 #include "confdefs.h"  
 $ac_declaration  
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
 exit (42);  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   break  
 else  
   echo "$as_me: failed program was:" >&5  
 cat conftest.$ac_ext >&5  
 fi  
 rm -f conftest.$ac_objext conftest.$ac_ext  
 done  
 rm -f conftest*  
 if test -n "$ac_declaration"; then  
   echo '#ifdef __cplusplus' >>confdefs.h  
   echo $ac_declaration      >>confdefs.h  
   echo '#endif'             >>confdefs.h  
 fi  
   
 else  
   echo "$as_me: failed program was:" >&5  
 cat conftest.$ac_ext >&5  
 fi  
 rm -f conftest.$ac_objext conftest.$ac_ext  
 ac_ext=c  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  
1298    
1299    
1300  CDEBUGFLAGS=${CDEBUGFLAGS:-"-O"}  CDEBUGFLAGS=${CDEBUGFLAGS:-"-O"}
# Line 2566  powerpc-*-beos*) Line 1352  powerpc-*-beos*)
1352      CCOPTIONS="-DSYSV"      CCOPTIONS="-DSYSV"
1353      ;;      ;;
1354  *)  *)
1355      { echo "$as_me:$LINENO: WARNING: \"It is not reported if FreeWnn works on this system.  But continuing...\"" >&5      echo "configure: warning: "It is not reported if FreeWnn works on this system.  But continuing..."" 1>&2
1356  echo "$as_me: WARNING: \"It is not reported if FreeWnn works on this system.  But continuing...\"" >&2;}      echo "configure: warning: (It may or may not work if you set CCOPTIONS properly.)" 1>&2
     { echo "$as_me:$LINENO: WARNING: (It may or may not work if you set CCOPTIONS properly.)" >&5  
 echo "$as_me: WARNING: (It may or may not work if you set CCOPTIONS properly.)" >&2;}  
1357      ;;      ;;
1358  esac  esac
1359    
# Line 2587  echo "Set CDEBUGFLAGS and CCOPTIONS to f Line 1371  echo "Set CDEBUGFLAGS and CCOPTIONS to f
1371  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"'  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"'
1372  echo '    CCOPTIONS="'"$CCOPTIONS"'"'  echo '    CCOPTIONS="'"$CCOPTIONS"'"'
1373    
1374  ac_ext=c  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1375  ac_cpp='$CPP $CPPFLAGS'  echo "configure:1376: checking how to run the C preprocessor" >&5
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  
 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5  
 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6  
1376  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
1377  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
1378    CPP=    CPP=
1379  fi  fi
1380  if test -z "$CPP"; then  if test -z "$CPP"; then
1381    if test "${ac_cv_prog_CPP+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1382    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
1383  else  else
1384        # Double quotes because CPP needs to be expanded      # This must be in double quotes, not single quotes, because CPP may get
1385      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"    # substituted into the Makefile and "${CC-cc}" will confuse make.
1386      do    CPP="${CC-cc} -E"
       ac_preproc_ok=false  
 for ac_c_preproc_warn_flag in '' yes  
 do  
   # Use a header file that comes with gcc, so configuring glibc  
   # with a fresh cross-compiler works.  
1387    # 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,
1388    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp.
1389    cat >conftest.$ac_ext <<_ACEOF    cat > conftest.$ac_ext <<EOF
1390  #line $LINENO "configure"  #line 1391 "configure"
1391  #include "confdefs.h"  #include "confdefs.h"
1392  #include <assert.h>  #include <assert.h>
1393                       Syntax error  Syntax Error
1394  _ACEOF  EOF
1395  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1396    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  { (eval echo configure:1397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1397    ac_status=$?  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1398    egrep -v '^ *\+' conftest.er1 >conftest.err  if test -z "$ac_err"; then
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
   fi  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
1399    :    :
1400  else  else
1401    echo "$as_me: failed program was:" >&5    echo "$ac_err" >&5
1402      echo "configure: failed program was:" >&5
1403    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
1404    # Broken: fails on valid input.    rm -rf conftest*
1405  continue    CPP="${CC-cc} -E -traditional-cpp"
1406  fi    cat > conftest.$ac_ext <<EOF
1407  rm -f conftest.err conftest.$ac_ext  #line 1408 "configure"
1408    #include "confdefs.h"
1409    # OK, works on sane cases.  Now check whether non-existent headers  #include <assert.h>
1410    # can be detected and how.  Syntax Error
1411    cat >conftest.$ac_ext <<_ACEOF  EOF
1412  #line $LINENO "configure"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1413  #include "confdefs.h"  { (eval echo configure:1414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1414  #include <ac_nonexistent.h>  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1415  _ACEOF  if test -z "$ac_err"; then
1416  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5    :
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
   ac_status=$?  
   egrep -v '^ *\+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
   fi  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
   # Broken: success on invalid input.  
 continue  
1417  else  else
1418    echo "$as_me: failed program was:" >&5    echo "$ac_err" >&5
1419      echo "configure: failed program was:" >&5
1420    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
1421    # Passes both tests.    rm -rf conftest*
1422  ac_preproc_ok=:    CPP="${CC-cc} -nologo -E"
1423  break    cat > conftest.$ac_ext <<EOF
1424  fi  #line 1425 "configure"
 rm -f conftest.err conftest.$ac_ext  
   
 done  
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  
 rm -f conftest.err conftest.$ac_ext  
 if $ac_preproc_ok; then  
   break  
 fi  
   
     done  
     ac_cv_prog_CPP=$CPP  
   
 fi  
   CPP=$ac_cv_prog_CPP  
 else  
   ac_cv_prog_CPP=$CPP  
 fi  
 echo "$as_me:$LINENO: result: $CPP" >&5  
 echo "${ECHO_T}$CPP" >&6  
 ac_preproc_ok=false  
 for ac_c_preproc_warn_flag in '' yes  
 do  
   # Use a header file that comes with gcc, so configuring glibc  
   # with a fresh cross-compiler works.  
   # On the NeXT, cc -E runs the code through the compiler's parser,  
   # not just through cpp. "Syntax error" is here to catch this case.  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
1425  #include "confdefs.h"  #include "confdefs.h"
1426  #include <assert.h>  #include <assert.h>
1427                       Syntax error  Syntax Error
1428  _ACEOF  EOF
1429  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1430    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  { (eval echo configure:1431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1431    ac_status=$?  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1432    egrep -v '^ *\+' conftest.er1 >conftest.err  if test -z "$ac_err"; then
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
   fi  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
1433    :    :
1434  else  else
1435    echo "$as_me: failed program was:" >&5    echo "$ac_err" >&5
1436      echo "configure: failed program was:" >&5
1437    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
1438    # Broken: fails on valid input.    rm -rf conftest*
1439  continue    CPP=/lib/cpp
1440  fi  fi
1441  rm -f conftest.err conftest.$ac_ext  rm -f conftest*
   
   # OK, works on sane cases.  Now check whether non-existent headers  
   # can be detected and how.  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 #include "confdefs.h"  
 #include <ac_nonexistent.h>  
 _ACEOF  
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
   ac_status=$?  
   egrep -v '^ *\+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
   fi  
 else  
   ac_cpp_err=yes  
1442  fi  fi
1443  if test -z "$ac_cpp_err"; then  rm -f conftest*
   # Broken: success on invalid input.  
 continue  
 else  
   echo "$as_me: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   # Passes both tests.  
 ac_preproc_ok=:  
 break  
1444  fi  fi
1445  rm -f conftest.err conftest.$ac_ext  rm -f conftest*
1446      ac_cv_prog_CPP="$CPP"
1447  done  fi
1448  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.    CPP="$ac_cv_prog_CPP"
 rm -f conftest.err conftest.$ac_ext  
 if $ac_preproc_ok; then  
   :  
1449  else  else
1450    { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5    ac_cv_prog_CPP="$CPP"
 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  
    { (exit 1); exit 1; }; }  
1451  fi  fi
1452    echo "$ac_t""$CPP" 1>&6
 ac_ext=c  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  
1453    
1454    
1455  # Find a good install program.  We prefer a C program (faster),  # Find a good install program.  We prefer a C program (faster),
# Line 2795  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1459  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1459  # SunOS /usr/etc/install  # SunOS /usr/etc/install
1460  # IRIX /sbin/install  # IRIX /sbin/install
1461  # AIX /bin/install  # AIX /bin/install
 # AmigaOS /C/install, which installs bootblocks on floppy discs  
1462  # 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
1463  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1464  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1465  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
1466  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1467  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6  echo "configure:1468: checking for a BSD compatible install" >&5
1468  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
1469  if test "${ac_cv_path_install+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1470    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
1471  else  else
1472    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR      IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
1473  for as_dir in $PATH    for ac_dir in $PATH; do
1474  do      # Account for people who put trailing slashes in PATH elements.
1475    IFS=$as_save_IFS      case "$ac_dir/" in
1476    test -z "$as_dir" && as_dir=.      /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1477    # Account for people who put trailing slashes in PATH elements.      *)
1478  case $as_dir/ in        # OSF1 and SCO ODT 3.0 have their own names for install.
1479    ./ | .// | /cC/* | \        # Don't use installbsd from OSF since it installs stuff as root
1480    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \        # by default.
1481    /usr/ucb/* ) ;;        for ac_prog in ginstall scoinst install; do
1482    *)          if test -f $ac_dir/$ac_prog; then
1483      # OSF1 and SCO ODT 3.0 have their own names for install.            if test $ac_prog = install &&
1484      # Don't use installbsd from OSF since it installs stuff as root              grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1485      # by default.              # AIX install.  It has an incompatible calling convention.
1486      for ac_prog in ginstall scoinst install; do              :
1487        for ac_exec_ext in '' $ac_executable_extensions; do            else
1488          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then              ac_cv_path_install="$ac_dir/$ac_prog -c"
1489            if test $ac_prog = install &&              break 2
1490              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then            fi
1491              # AIX install.  It has an incompatible calling convention.          fi
             :  
           elif test $ac_prog = install &&  
             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then  
             # program-specific install script used by HP pwplus--don't use.  
             :  
           else  
             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"  
             break 3  
           fi  
         fi  
1492        done        done
1493      done        ;;
1494      ;;      esac
1495  esac    done
1496  done    IFS="$ac_save_IFS"
   
1497    
1498  fi  fi
1499    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
1500      INSTALL=$ac_cv_path_install      INSTALL="$ac_cv_path_install"
1501    else    else
1502      # 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
1503      # path for INSTALL within a source directory, because that will      # path for INSTALL within a source directory, because that will
1504      # break other packages using the cache if that directory is      # break other packages using the cache if that directory is
1505      # removed, or if the path is relative.      # removed, or if the path is relative.
1506      INSTALL=$ac_install_sh      INSTALL="$ac_install_sh"
1507    fi    fi
1508  fi  fi
1509  echo "$as_me:$LINENO: result: $INSTALL" >&5  echo "$ac_t""$INSTALL" 1>&6
 echo "${ECHO_T}$INSTALL" >&6  
1510    
1511  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1512  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
1513  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1514    
1515  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1516    
1517  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1518    
1519  echo "$as_me:$LINENO: checking whether ln -s works" >&5  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1520  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6  echo "configure:1521: checking whether ln -s works" >&5
1521  LN_S=$as_ln_s  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1522  if test "$LN_S" = "ln -s"; then    echo $ac_n "(cached) $ac_c" 1>&6
1523    echo "$as_me:$LINENO: result: yes" >&5  else
1524  echo "${ECHO_T}yes" >&6    rm -f conftestdata
1525  else  if ln -s X conftestdata 2>/dev/null
1526    echo "$as_me:$LINENO: result: no, using $LN_S" >&5  then
1527  echo "${ECHO_T}no, using $LN_S" >&6    rm -f conftestdata
1528  fi    ac_cv_prog_LN_S="ln -s"
1529    else
1530  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5    ac_cv_prog_LN_S=ln
1531  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6  fi
1532  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  fi
1533  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  LN_S="$ac_cv_prog_LN_S"
1534    echo $ECHO_N "(cached) $ECHO_C" >&6  if test "$ac_cv_prog_LN_S" = "ln -s"; then
1535      echo "$ac_t""yes" 1>&6
1536    else
1537      echo "$ac_t""no" 1>&6
1538    fi
1539    
1540    echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1541    echo "configure:1542: checking whether ${MAKE-make} sets \${MAKE}" >&5
1542    set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1543    if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1544      echo $ac_n "(cached) $ac_c" 1>&6
1545  else  else
1546    cat >conftest.make <<\_ACEOF    cat > conftestmake <<\EOF
1547  all:  all:
1548          @echo 'ac_maketemp="${MAKE}"'          @echo 'ac_maketemp="${MAKE}"'
1549  _ACEOF  EOF
1550  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1551  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`  eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1552  if test -n "$ac_maketemp"; then  if test -n "$ac_maketemp"; then
1553    eval ac_cv_prog_make_${ac_make}_set=yes    eval ac_cv_prog_make_${ac_make}_set=yes
1554  else  else
1555    eval ac_cv_prog_make_${ac_make}_set=no    eval ac_cv_prog_make_${ac_make}_set=no
1556  fi  fi
1557  rm -f conftest.make  rm -f conftestmake
1558  fi  fi
1559  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
1560    echo "$as_me:$LINENO: result: yes" >&5    echo "$ac_t""yes" 1>&6
 echo "${ECHO_T}yes" >&6  
1561    SET_MAKE=    SET_MAKE=
1562  else  else
1563    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
1564    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
1565  fi  fi
1566    
1567    echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
1568    echo "configure:1569: checking for Cygwin environment" >&5
1569    if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
1570      echo $ac_n "(cached) $ac_c" 1>&6
1571    else
1572      cat > conftest.$ac_ext <<EOF
1573    #line 1574 "configure"
1574    #include "confdefs.h"
1575    
1576    int main() {
1577    
1578    #ifndef __CYGWIN__
1579    #define __CYGWIN__ __CYGWIN32__
1580    #endif
1581    return __CYGWIN__;
1582    ; return 0; }
1583    EOF
1584    if { (eval echo configure:1585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1585      rm -rf conftest*
1586      ac_cv_cygwin=yes
1587    else
1588      echo "configure: failed program was:" >&5
1589      cat conftest.$ac_ext >&5
1590      rm -rf conftest*
1591      ac_cv_cygwin=no
1592    fi
1593    rm -f conftest*
1594    rm -f conftest*
1595    fi
1596    
1597    echo "$ac_t""$ac_cv_cygwin" 1>&6
1598    CYGWIN=
1599    test "$ac_cv_cygwin" = yes && CYGWIN=yes
1600    echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1601    echo "configure:1602: checking for mingw32 environment" >&5
1602    if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1603      echo $ac_n "(cached) $ac_c" 1>&6
1604    else
1605      cat > conftest.$ac_ext <<EOF
1606    #line 1607 "configure"
1607    #include "confdefs.h"
1608    
1609    int main() {
1610    return __MINGW32__;
1611    ; return 0; }
1612    EOF
1613    if { (eval echo configure:1614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1614      rm -rf conftest*
1615      ac_cv_mingw32=yes
1616    else
1617      echo "configure: failed program was:" >&5
1618      cat conftest.$ac_ext >&5
1619      rm -rf conftest*
1620      ac_cv_mingw32=no
1621    fi
1622    rm -f conftest*
1623    rm -f conftest*
1624    fi
1625    
1626    echo "$ac_t""$ac_cv_mingw32" 1>&6
1627    MINGW32=
1628    test "$ac_cv_mingw32" = yes && MINGW32=yes
1629  # Check whether --enable-shared or --disable-shared was given.  # Check whether --enable-shared or --disable-shared was given.
1630  if test "${enable_shared+set}" = set; then  if test "${enable_shared+set}" = set; then
1631    enableval="$enable_shared"    enableval="$enable_shared"
# Line 2926  no) enable_shared=no ;; Line 1647  no) enable_shared=no ;;
1647  esac  esac
1648  else  else
1649    enable_shared=yes    enable_shared=yes
1650  fi;  fi
1651    
1652  # Check whether --enable-static or --disable-static was given.  # Check whether --enable-static or --disable-static was given.
1653  if test "${enable_static+set}" = set; then  if test "${enable_static+set}" = set; then
1654    enableval="$enable_static"    enableval="$enable_static"
# Line 2948  no) enable_static=no ;; Line 1670  no) enable_static=no ;;
1670  esac  esac
1671  else  else
1672    enable_static=yes    enable_static=yes
1673  fi;  fi
1674    
1675  # Check whether --enable-fast-install or --disable-fast-install was given.  # Check whether --enable-fast-install or --disable-fast-install was given.
1676  if test "${enable_fast_install+set}" = set; then  if test "${enable_fast_install+set}" = set; then
1677    enableval="$enable_fast_install"    enableval="$enable_fast_install"
# Line 2970  no) enable_fast_install=no ;; Line 1693  no) enable_fast_install=no ;;
1693  esac  esac
1694  else  else
1695    enable_fast_install=yes    enable_fast_install=yes
1696  fi;  fi
1697    
1698    echo $ac_n "checking build system type""... $ac_c" 1>&6
1699    echo "configure:1700: checking build system type" >&5
1700    
1701    build_alias=$build
1702    case "$build_alias" in
1703    NONE)
1704      case $nonopt in
1705      NONE) build_alias=$host_alias ;;
1706      *) build_alias=$nonopt ;;
1707      esac ;;
1708    esac
1709    
1710    build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1711    build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1712    build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1713    build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1714    echo "$ac_t""$build" 1>&6
1715    
1716  # Check whether --with-gnu-ld or --without-gnu-ld was given.  # Check whether --with-gnu-ld or --without-gnu-ld was given.
1717  if test "${with_gnu_ld+set}" = set; then  if test "${with_gnu_ld+set}" = set; then
# Line 2978  if test "${with_gnu_ld+set}" = set; then Line 1719  if test "${with_gnu_ld+set}" = set; then
1719    test "$withval" = no || with_gnu_ld=yes    test "$withval" = no || with_gnu_ld=yes
1720  else  else
1721    with_gnu_ld=no    with_gnu_ld=no
1722  fi;  fi
1723    
1724  ac_prog=ld  ac_prog=ld
1725  if test "$GCC" = yes; then  if test "$GCC" = yes; then
1726    # Check if gcc -print-prog-name=ld gives a path.    # Check if gcc -print-prog-name=ld gives a path.
1727    echo "$as_me:$LINENO: checking for ld used by GCC" >&5    echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1728  echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6  echo "configure:1729: checking for ld used by GCC" >&5
1729    case $host in    case $host in
1730    *-*-mingw*)    *-*-mingw*)
1731      # gcc leaves a trailing carriage return which upsets mingw      # gcc leaves a trailing carriage return which upsets mingw
# Line 3012  echo $ECHO_N "checking for ld used by GC Line 1754  echo $ECHO_N "checking for ld used by GC
1754      ;;      ;;
1755    esac    esac
1756  elif test "$with_gnu_ld" = yes; then  elif test "$with_gnu_ld" = yes; then
1757    echo "$as_me:$LINENO: checking for GNU ld" >&5    echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1758  echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6  echo "configure:1759: checking for GNU ld" >&5
1759  else  else
1760    echo "$as_me:$LINENO: checking for non-GNU ld" >&5    echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1761  echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6  echo "configure:1762: checking for non-GNU ld" >&5
1762  fi  fi
1763  if test "${lt_cv_path_LD+set}" = set; then  if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1764    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
1765  else  else
1766    if test -z "$LD"; then    if test -z "$LD"; then
1767    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
# Line 3045  fi Line 1787  fi
1787    
1788  LD="$lt_cv_path_LD"  LD="$lt_cv_path_LD"
1789  if test -n "$LD"; then  if test -n "$LD"; then
1790    echo "$as_me:$LINENO: result: $LD" >&5    echo "$ac_t""$LD" 1>&6
 echo "${ECHO_T}$LD" >&6  
1791  else  else
1792    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
1793  fi  fi
1794  test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5  test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1795  echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}  echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1796     { (exit 1); exit 1; }; }  echo "configure:1797: checking if the linker ($LD) is GNU ld" >&5
1797  echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5  if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1798  echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
 if test "${lt_cv_prog_gnu_ld+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
1799  else  else
1800    # 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.
1801  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 3066  else Line 1804  else
1804    lt_cv_prog_gnu_ld=no    lt_cv_prog_gnu_ld=no
1805  fi  fi
1806  fi  fi
1807  echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5  
1808  echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6  echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1809  with_gnu_ld=$lt_cv_prog_gnu_ld  with_gnu_ld=$lt_cv_prog_gnu_ld
1810    
1811    
1812  echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5  echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1813  echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6  echo "configure:1814: checking for $LD option to reload object files" >&5
1814  if test "${lt_cv_ld_reload_flag+set}" = set; then  if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1815    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
1816  else  else
1817    lt_cv_ld_reload_flag='-r'    lt_cv_ld_reload_flag='-r'
1818  fi  fi
1819  echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5  
1820  echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6  echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1821  reload_flag=$lt_cv_ld_reload_flag  reload_flag=$lt_cv_ld_reload_flag
1822  test -n "$reload_flag" && reload_flag=" $reload_flag"  test -n "$reload_flag" && reload_flag=" $reload_flag"
1823    
1824  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5  echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1825  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6  echo "configure:1826: checking for BSD-compatible nm" >&5
1826  if test "${lt_cv_path_NM+set}" = set; then  if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1827    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
1828  else  else
1829    if test -n "$NM"; then    if test -n "$NM"; then
1830    # Let the user override the test.    # Let the user override the test.
# Line 3119  fi Line 1857  fi
1857  fi  fi
1858    
1859  NM="$lt_cv_path_NM"  NM="$lt_cv_path_NM"
1860  echo "$as_me:$LINENO: result: $NM" >&5  echo "$ac_t""$NM" 1>&6
 echo "${ECHO_T}$NM" >&6  
1861    
1862  echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5  echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1863  echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6  echo "configure:1864: checking how to recognise dependant libraries" >&5
1864  if test "${lt_cv_deplibs_check_method+set}" = set; then  if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1865    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
1866  else  else
1867    lt_cv_file_magic_cmd='$MAGIC_CMD'    lt_cv_file_magic_cmd='$MAGIC_CMD'
1868  lt_cv_file_magic_test_file=  lt_cv_file_magic_test_file=
# Line 3290  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) Line 2027  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2027  esac  esac
2028    
2029  fi  fi
2030  echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5  
2031  echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6  echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2032  file_magic_cmd=$lt_cv_file_magic_cmd  file_magic_cmd=$lt_cv_file_magic_cmd
2033  deplibs_check_method=$lt_cv_deplibs_check_method  deplibs_check_method=$lt_cv_deplibs_check_method
2034    
2035    echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2036    echo "configure:2037: checking for object suffix" >&5
2037    if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2038      echo $ac_n "(cached) $ac_c" 1>&6
2039    else
2040      rm -f conftest*
2041    echo 'int i = 1;' > conftest.$ac_ext
2042    if { (eval echo configure:2043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2043      for ac_file in conftest.*; do
2044        case $ac_file in
2045        *.c) ;;
2046        *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2047        esac
2048      done
2049    else
2050      { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2051    fi
2052    rm -f conftest*
2053    fi
2054    
2055    echo "$ac_t""$ac_cv_objext" 1>&6
2056    OBJEXT=$ac_cv_objext
2057    ac_objext=$ac_cv_objext
2058    
2059    
2060    
2061    echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
2062    echo "configure:2063: checking for executable suffix" >&5
2063    if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
2064      echo $ac_n "(cached) $ac_c" 1>&6
2065    else
2066      if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
2067      ac_cv_exeext=.exe
2068    else
2069      rm -f conftest*
2070      echo 'int main () { return 0; }' > conftest.$ac_ext
2071      ac_cv_exeext=
2072      if { (eval echo configure:2073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
2073        for file in conftest.*; do
2074          case $file in
2075          *.c | *.C | *.o | *.obj | *.ilk | *.pdb) ;;
2076          *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
2077          esac
2078        done
2079      else
2080        { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
2081      fi
2082      rm -f conftest*
2083      test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
2084    fi
2085    fi
2086    
2087    EXEEXT=""
2088    test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
2089    echo "$ac_t""${ac_cv_exeext}" 1>&6
2090    ac_exeext=$EXEEXT
2091    
2092    if test $host != $build; then
2093      ac_tool_prefix=${host_alias}-
2094    else
2095      ac_tool_prefix=
2096    fi
2097    
2098    
2099    
2100    
2101  # 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.
2102  echo "$as_me:$LINENO: checking command to parse $NM output" >&5  echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
2103  echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6  echo "configure:2104: checking command to parse $NM output" >&5
2104  if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then  if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
2105    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
2106  else  else
2107      
2108  # 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.
2109  # [They come from Ultrix.  What could be older than Ultrix?!! ;)]  # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
2110    
# Line 3380  void nm_test_func(){} Line 2176  void nm_test_func(){}
2176  int main(){nm_test_var='a';nm_test_func();return(0);}  int main(){nm_test_var='a';nm_test_func();return(0);}
2177  EOF  EOF
2178    
2179    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    if { (eval echo configure:2180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; then  
2180      # Now try to grab the symbols.      # Now try to grab the symbols.
2181      nlist=conftest.nm      nlist=conftest.nm
2182      if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5      if { (eval echo configure:2183: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && test -s "$nlist"; then  
2183        # Try sorting and uniquifying the output.        # Try sorting and uniquifying the output.
2184        if sort "$nlist" | uniq > "$nlist"T; then        if sort "$nlist" | uniq > "$nlist"T; then
2185          mv -f "$nlist"T "$nlist"          mv -f "$nlist"T "$nlist"
# Line 3442  EOF Line 2230  EOF
2230            save_CFLAGS="$CFLAGS"            save_CFLAGS="$CFLAGS"
2231            LIBS="conftstm.$ac_objext"            LIBS="conftstm.$ac_objext"
2232            CFLAGS="$CFLAGS$no_builtin_flag"            CFLAGS="$CFLAGS$no_builtin_flag"
2233            if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5            if { (eval echo configure:2234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   (eval $ac_link) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && test -s conftest; then  
2234              pipe_works=yes              pipe_works=yes
2235            fi            fi
2236            LIBS="$save_LIBS"            LIBS="$save_LIBS"
# Line 3483  else Line 2267  else
2267    global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"    global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
2268  fi  fi
2269  if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then  if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
2270    echo "$as_me:$LINENO: result: failed" >&5    echo "$ac_t""failed" 1>&6
 echo "${ECHO_T}failed" >&6  
2271  else  else
2272    echo "$as_me:$LINENO: result: ok" >&5    echo "$ac_t""ok" 1>&6
 echo "${ECHO_T}ok" >&6  
2273  fi  fi
2274    
2275    for ac_hdr in dlfcn.h
2276  echo "$as_me:$LINENO: checking for ANSI C header files" >&5  do
2277  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2278  if test "${ac_cv_header_stdc+set}" = set; then  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2279    echo $ECHO_N "(cached) $ECHO_C" >&6  echo "configure:2280: checking for $ac_hdr" >&5
2280    if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2281      echo $ac_n "(cached) $ac_c" 1>&6
2282  else  else
2283    cat >conftest.$ac_ext <<_ACEOF    cat > conftest.$ac_ext <<EOF
2284  #line $LINENO "configure"  #line 2285 "configure"
2285  #include "confdefs.h"  #include "confdefs.h"
2286  #include <stdlib.h>  #include <$ac_hdr>
2287  #include <stdarg.h>  EOF
2288  #include <string.h>  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2289  #include <float.h>  { (eval echo configure:2290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2290    ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2291  _ACEOF  if test -z "$ac_err"; then
2292  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5    rm -rf conftest*
2293    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    eval "ac_cv_header_$ac_safe=yes"
   ac_status=$?  
   egrep -v '^ *\+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
   fi  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
   ac_cv_header_stdc=yes  
2294  else  else
2295    echo "$as_me: failed program was:" >&5    echo "$ac_err" >&5
2296      echo "configure: failed program was:" >&5
2297    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
2298    ac_cv_header_stdc=no    rm -rf conftest*
2299  fi    eval "ac_cv_header_$ac_safe=no"
 rm -f conftest.err conftest.$ac_ext  
   
 if test $ac_cv_header_stdc = yes; then  
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 #include "confdefs.h"  
 #include <string.h>  
   
 _ACEOF  
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  
   egrep "memchr" >/dev/null 2>&1; then  
   :  
 else  
   ac_cv_header_stdc=no  
 fi  
 rm -f conftest*  
   
 fi  
   
 if test $ac_cv_header_stdc = yes; then  
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 #include "confdefs.h"  
 #include <stdlib.h>  
   
 _ACEOF  
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  
   egrep "free" >/dev/null 2>&1; then  
   :  
 else  
   ac_cv_header_stdc=no  
2300  fi  fi
2301  rm -f conftest*  rm -f conftest*
   
 fi  
   
 if test $ac_cv_header_stdc = yes; then  
   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.  
   if test "$cross_compiling" = yes; then  
   :  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 #include "confdefs.h"  
 #include <ctype.h>  
 #if ((' ' & 0x0FF) == 0x020)  
 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  
 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  
 #else  
 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \  
                      || ('j' <= (c) && (c) <= 'r') \  
                      || ('s' <= (c) && (c) <= 'z'))  
 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  
 #endif  
   
 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))  
 int  
 main ()  
 {  
   int i;  
   for (i = 0; i < 256; i++)  
     if (XOR (islower (i), ISLOWER (i))  
         || toupper (i) != TOUPPER (i))  
       exit(2);  
   exit (0);  
 }  
 _ACEOF  
 rm -f conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   :  
 else  
   echo "$as_me: program exited with status $ac_status" >&5  
 echo "$as_me: failed program was:" >&5  
 cat conftest.$ac_ext >&5  
 ( exit $ac_status )  
 ac_cv_header_stdc=no  
 fi  
 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  
 fi  
 fi  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5  
 echo "${ECHO_T}$ac_cv_header_stdc" >&6  
 if test $ac_cv_header_stdc = yes; then  
   
 cat >>confdefs.h <<\_ACEOF  
 #define STDC_HEADERS 1  
 _ACEOF  
   
 fi  
   
 # On IRIX 5.3, sys/types and inttypes.h are conflicting.  
   
   
   
   
   
   
   
   
   
 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \  
                   inttypes.h stdint.h unistd.h  
 do  
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  
 echo "$as_me:$LINENO: checking for $ac_header" >&5  
 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  
 if eval "test \"\${$as_ac_Header+set}\" = set"; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 #include "confdefs.h"  
 $ac_includes_default  
   
 #include <$ac_header>  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   eval "$as_ac_Header=yes"  
 else  
   echo "$as_me: failed program was:" >&5  
 cat conftest.$ac_ext >&5  
 eval "$as_ac_Header=no"  
 fi  
 rm -f conftest.$ac_objext conftest.$ac_ext  
 fi  
 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  
 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  
 if test `eval echo '${'$as_ac_Header'}'` = yes; then  
   cat >>confdefs.h <<_ACEOF  
 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  
 _ACEOF  
   
2302  fi  fi
2303    if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2304  done    echo "$ac_t""yes" 1>&6
2305        ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2306      cat >> confdefs.h <<EOF
2307    #define $ac_tr_hdr 1
2308  for ac_header in dlfcn.h  EOF
2309  do  
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  
 if eval "test \"\${$as_ac_Header+set}\" = set"; then  
   echo "$as_me:$LINENO: checking for $ac_header" >&5  
 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  
 if eval "test \"\${$as_ac_Header+set}\" = set"; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 fi  
 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  
 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  
 else  
   # Is the header compilable?  
 echo "$as_me:$LINENO: checking $ac_header usability" >&5  
 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  
 cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 #include "confdefs.h"  
 $ac_includes_default  
 #include <$ac_header>  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_header_compiler=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 cat conftest.$ac_ext >&5  
 ac_header_compiler=no  
 fi  
 rm -f conftest.$ac_objext conftest.$ac_ext  
 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5  
 echo "${ECHO_T}$ac_header_compiler" >&6  
   
 # Is the header present?  
 echo "$as_me:$LINENO: checking $ac_header presence" >&5  
 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  
 cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 #include "confdefs.h"  
 #include <$ac_header>  
 _ACEOF  
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
   ac_status=$?  
   egrep -v '^ *\+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
   fi  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
   ac_header_preproc=yes  
 else  
   echo "$as_me: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   ac_header_preproc=no  
 fi  
 rm -f conftest.err conftest.$ac_ext  
 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5  
 echo "${ECHO_T}$ac_header_preproc" >&6  
   
 # So?  What about this header?  
 case $ac_header_compiler:$ac_header_preproc in  
   yes:no )  
     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5  
 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}  
     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5  
 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  
   no:yes )  
     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5  
 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  
     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5  
 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  
     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5  
 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  
 esac  
 echo "$as_me:$LINENO: checking for $ac_header" >&5  
 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  
 if eval "test \"\${$as_ac_Header+set}\" = set"; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
2310  else  else
2311    eval "$as_ac_Header=$ac_header_preproc"    echo "$ac_t""no" 1>&6
 fi  
 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  
 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  
   
 fi  
 if test `eval echo '${'$as_ac_Header'}'` = yes; then  
   cat >>confdefs.h <<_ACEOF  
 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  
 _ACEOF  
   
2312  fi  fi
   
2313  done  done
2314    
2315    
# Line 3810  done Line 2320  done
2320  case $deplibs_check_method in  case $deplibs_check_method in
2321  file_magic*)  file_magic*)
2322    if test "$file_magic_cmd" = '$MAGIC_CMD'; then    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2323      echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5      echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2324  echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6  echo "configure:2325: checking for ${ac_tool_prefix}file" >&5
2325  if test "${lt_cv_path_MAGIC_CMD+set}" = set; then  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2326    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
2327  else  else
2328    case $MAGIC_CMD in    case $MAGIC_CMD in
2329    /*)    /*)
# Line 3865  fi Line 2375  fi
2375    
2376  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2377  if test -n "$MAGIC_CMD"; then  if test -n "$MAGIC_CMD"; then
2378    echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5    echo "$ac_t""$MAGIC_CMD" 1>&6
 echo "${ECHO_T}$MAGIC_CMD" >&6  
2379  else  else
2380    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
2381  fi  fi
2382    
2383  if test -z "$lt_cv_path_MAGIC_CMD"; then  if test -z "$lt_cv_path_MAGIC_CMD"; then
2384    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2385      echo "$as_me:$LINENO: checking for file" >&5      echo $ac_n "checking for file""... $ac_c" 1>&6
2386  echo $ECHO_N "checking for file... $ECHO_C" >&6  echo "configure:2387: checking for file" >&5
2387  if test "${lt_cv_path_MAGIC_CMD+set}" = set; then  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2388    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
2389  else  else
2390    case $MAGIC_CMD in    case $MAGIC_CMD in
2391    /*)    /*)
# Line 3929  fi Line 2437  fi
2437    
2438  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2439  if test -n "$MAGIC_CMD"; then  if test -n "$MAGIC_CMD"; then
2440    echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5    echo "$ac_t""$MAGIC_CMD" 1>&6
 echo "${ECHO_T}$MAGIC_CMD" >&6  
2441  else  else
2442    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
2443  fi  fi
2444    
2445    else    else
# Line 3945  fi Line 2451  fi
2451    ;;    ;;
2452  esac  esac
2453    
2454  if test -n "$ac_tool_prefix"; then  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.  
2455  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2456  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2457  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo "configure:2458: checking for $ac_word" >&5
2458  if test "${ac_cv_prog_RANLIB+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2459    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
2460  else  else
2461    if test -n "$RANLIB"; then    if test -n "$RANLIB"; then
2462    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2463  else  else
2464  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2465  for as_dir in $PATH    ac_dummy="$PATH"
2466  do    for ac_dir in $ac_dummy; do
2467    IFS=$as_save_IFS      test -z "$ac_dir" && ac_dir=.
2468    test -z "$as_dir" && as_dir=.      if test -f $ac_dir/$ac_word; then
2469    for ac_exec_ext in '' $ac_executable_extensions; do        ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2470    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then        break
2471      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"      fi
2472      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    done
2473      break 2    IFS="$ac_save_ifs"
   fi  
 done  
 done  
   
2474  fi  fi
2475  fi  fi
2476  RANLIB=$ac_cv_prog_RANLIB  RANLIB="$ac_cv_prog_RANLIB"
2477  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
2478    echo "$as_me:$LINENO: result: $RANLIB" >&5    echo "$ac_t""$RANLIB" 1>&6
 echo "${ECHO_T}$RANLIB" >&6  
2479  else  else
2480    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
2481  fi  fi
2482    
2483  fi  
2484  if test -z "$ac_cv_prog_RANLIB"; then  if test -z "$ac_cv_prog_RANLIB"; then
2485    ac_ct_RANLIB=$RANLIB  if test -n "$ac_tool_prefix"; then
2486    # 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.
2487  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
2488  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2489  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo "configure:2490: checking for $ac_word" >&5
2490  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2491    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
2492  else  else
2493    if test -n "$ac_ct_RANLIB"; then    if test -n "$RANLIB"; then
2494    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2495  else  else
2496  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2497  for as_dir in $PATH    ac_dummy="$PATH"
2498  do    for ac_dir in $ac_dummy; do
2499    IFS=$as_save_IFS      test -z "$ac_dir" && ac_dir=.
2500    test -z "$as_dir" && as_dir=.      if test -f $ac_dir/$ac_word; then
2501    for ac_exec_ext in '' $ac_executable_extensions; do        ac_cv_prog_RANLIB="ranlib"
2502    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then        break
2503      ac_cv_prog_ac_ct_RANLIB="ranlib"      fi
2504      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    done
2505      break 2    IFS="$ac_save_ifs"
2506    fi    test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
 done  
 done  
   
   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"  
2507  fi  fi
2508  fi  fi
2509  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  RANLIB="$ac_cv_prog_RANLIB"
2510  if test -n "$ac_ct_RANLIB"; then  if test -n "$RANLIB"; then
2511    echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5    echo "$ac_t""$RANLIB" 1>&6
 echo "${ECHO_T}$ac_ct_RANLIB" >&6  
2512  else  else
2513    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
2514  fi  fi
2515    
   RANLIB=$ac_ct_RANLIB  
2516  else  else
2517    RANLIB="$ac_cv_prog_RANLIB"    RANLIB=":"
2518    fi
2519  fi  fi
2520    
2521  if test -n "$ac_tool_prefix"; then  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.  
2522  set dummy ${ac_tool_prefix}strip; ac_word=$2  set dummy ${ac_tool_prefix}strip; ac_word=$2
2523  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2524  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo "configure:2525: checking for $ac_word" >&5
2525  if test "${ac_cv_prog_STRIP+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2526    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
2527  else  else
2528    if test -n "$STRIP"; then    if test -n "$STRIP"; then
2529    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2530  else  else
2531  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2532  for as_dir in $PATH    ac_dummy="$PATH"
2533  do    for ac_dir in $ac_dummy; do
2534    IFS=$as_save_IFS      test -z "$ac_dir" && ac_dir=.
2535    test -z "$as_dir" && as_dir=.      if test -f $ac_dir/$ac_word; then
2536    for ac_exec_ext in '' $ac_executable_extensions; do        ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2537    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then        break
2538      ac_cv_prog_STRIP="${ac_tool_prefix}strip"      fi
2539      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    done
2540      break 2    IFS="$ac_save_ifs"
   fi  
 done  
 done  
   
2541  fi  fi
2542  fi  fi
2543  STRIP=$ac_cv_prog_STRIP  STRIP="$ac_cv_prog_STRIP"
2544  if test -n "$STRIP"; then  if test -n "$STRIP"; then
2545    echo "$as_me:$LINENO: result: $STRIP" >&5    echo "$ac_t""$STRIP" 1>&6
 echo "${ECHO_T}$STRIP" >&6  
2546  else  else
2547    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
2548  fi  fi
2549    
2550  fi  
2551  if test -z "$ac_cv_prog_STRIP"; then  if test -z "$ac_cv_prog_STRIP"; then
2552    ac_ct_STRIP=$STRIP  if test -n "$ac_tool_prefix"; then
2553    # 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.
2554  set dummy strip; ac_word=$2  set dummy strip; ac_word=$2
2555  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2556  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo "configure:2557: checking for $ac_word" >&5
2557  if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2558    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
2559  else  else
2560    if test -n "$ac_ct_STRIP"; then    if test -n "$STRIP"; then
2561    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2562  else  else
2563  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2564  for as_dir in $PATH    ac_dummy="$PATH"
2565  do    for ac_dir in $ac_dummy; do
2566    IFS=$as_save_IFS      test -z "$ac_dir" && ac_dir=.
2567    test -z "$as_dir" && as_dir=.      if test -f $ac_dir/$ac_word; then
2568    for ac_exec_ext in '' $ac_executable_extensions; do        ac_cv_prog_STRIP="strip"
2569    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then        break
2570      ac_cv_prog_ac_ct_STRIP="strip"      fi
2571      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    done
2572      break 2    IFS="$ac_save_ifs"
2573    fi    test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
 done  
 done  
   
   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"  
2574  fi  fi
2575  fi  fi
2576  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP  STRIP="$ac_cv_prog_STRIP"
2577  if test -n "$ac_ct_STRIP"; then  if test -n "$STRIP"; then
2578    echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5    echo "$ac_t""$STRIP" 1>&6
 echo "${ECHO_T}$ac_ct_STRIP" >&6  
2579  else  else
2580    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
2581  fi  fi
2582    
   STRIP=$ac_ct_STRIP  
2583  else  else
2584    STRIP="$ac_cv_prog_STRIP"    STRIP=":"
2585    fi
2586  fi  fi
2587    
2588    
# Line 4112  enable_win32_dll=no Line 2592  enable_win32_dll=no
2592  # Check whether --enable-libtool-lock or --disable-libtool-lock was given.  # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2593  if test "${enable_libtool_lock+set}" = set; then  if test "${enable_libtool_lock+set}" = set; then
2594    enableval="$enable_libtool_lock"    enableval="$enable_libtool_lock"
2595      :
2596    fi
2597    
 fi;  
2598  test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes  test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
2599    
2600  # Some flags need to be propagated to the compiler or linker for good  # Some flags need to be propagated to the compiler or linker for good
# Line 4121  test "x$enable_libtool_lock" != xno && e Line 2602  test "x$enable_libtool_lock" != xno && e
2602  case $host in  case $host in
2603  *-*-irix6*)  *-*-irix6*)
2604    # Find out which ABI we are using.    # Find out which ABI we are using.
2605    echo '#line 4124 "configure"' > conftest.$ac_ext    echo '#line 2606 "configure"' > conftest.$ac_ext
2606    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    if { (eval echo configure:2607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; then  
2607      case `/usr/bin/file conftest.$ac_objext` in      case `/usr/bin/file conftest.$ac_objext` in
2608      *32-bit*)      *32-bit*)
2609        LD="${LD-ld} -32"        LD="${LD-ld} -32"
# Line 4146  case $host in Line 2623  case $host in
2623    # On SCO OpenServer 5, we need -belf to get full-featured binaries.    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2624    SAVE_CFLAGS="$CFLAGS"    SAVE_CFLAGS="$CFLAGS"
2625    CFLAGS="$CFLAGS -belf"    CFLAGS="$CFLAGS -belf"
2626    echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5    echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2627  echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6  echo "configure:2628: checking whether the C compiler needs -belf" >&5
2628  if test "${lt_cv_cc_needs_belf+set}" = set; then  if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2629    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
2630  else  else
2631      
   
2632       ac_ext=c       ac_ext=c
2633    # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2634  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
2635  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2636  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2637  ac_compiler_gnu=$ac_cv_c_compiler_gnu  cross_compiling=$ac_cv_prog_cc_cross
2638    
2639       cat >conftest.$ac_ext <<_ACEOF       cat > conftest.$ac_ext <<EOF
2640  #line $LINENO "configure"  #line 2641 "configure"
2641  #include "confdefs.h"  #include "confdefs.h"
2642    
2643  #ifdef F77_DUMMY_MAIN  int main() {
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
2644    
2645    ;  ; return 0; }
2646    return 0;  EOF
2647  }  if { (eval echo configure:2648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2648  _ACEOF    rm -rf conftest*
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
2649    lt_cv_cc_needs_belf=yes    lt_cv_cc_needs_belf=yes
2650  else  else
2651    echo "$as_me: failed program was:" >&5    echo "configure: failed program was:" >&5
2652  cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
2653  lt_cv_cc_needs_belf=no    rm -rf conftest*
2654      lt_cv_cc_needs_belf=no
2655  fi  fi
2656  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest*
2657       ac_ext=c       ac_ext=c
2658    # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2659  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
2660  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2661  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2662  ac_compiler_gnu=$ac_cv_c_compiler_gnu  cross_compiling=$ac_cv_prog_cc_cross
2663    
2664  fi  fi
2665  echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5  
2666  echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6  echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2667    if test x"$lt_cv_cc_needs_belf" != x"yes"; then    if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2668      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2669      CFLAGS="$SAVE_CFLAGS"      CFLAGS="$SAVE_CFLAGS"
# Line 4297  fi Line 2756  fi
2756  set dummy $CC  set dummy $CC
2757  compiler="$2"  compiler="$2"
2758    
2759  echo "$as_me:$LINENO: checking for objdir" >&5  echo $ac_n "checking for objdir""... $ac_c" 1>&6
2760  echo $ECHO_N "checking for objdir... $ECHO_C" >&6  echo "configure:2761: checking for objdir" >&5
2761  rm -f .libs 2>/dev/null  rm -f .libs 2>/dev/null
2762  mkdir .libs 2>/dev/null  mkdir .libs 2>/dev/null
2763  if test -d .libs; then  if test -d .libs; then
# Line 4308  else Line 2767  else
2767    objdir=_libs    objdir=_libs
2768  fi  fi
2769  rmdir .libs 2>/dev/null  rmdir .libs 2>/dev/null
2770  echo "$as_me:$LINENO: result: $objdir" >&5  echo "$ac_t""$objdir" 1>&6
 echo "${ECHO_T}$objdir" >&6  
   
2771    
2772    
2773  # Check whether --with-pic or --without-pic was given.  # Check whether --with-pic or --without-pic was given.
# Line 4319  if test "${with_pic+set}" = set; then Line 2776  if test "${with_pic+set}" = set; then
2776    pic_mode="$withval"    pic_mode="$withval"
2777  else  else
2778    pic_mode=default    pic_mode=default
2779  fi;  fi
2780    
2781  test -z "$pic_mode" && pic_mode=default  test -z "$pic_mode" && pic_mode=default
2782    
2783  # We assume here that the value for lt_cv_prog_cc_pic will not be cached  # We assume here that the value for lt_cv_prog_cc_pic will not be cached
2784  # in isolation, and that seeing it set (from the cache) indicates that  # in isolation, and that seeing it set (from the cache) indicates that
2785  # the associated values are set (in the cache) correctly too.  # the associated values are set (in the cache) correctly too.
2786  echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5  echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6
2787  echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6  echo "configure:2788: checking for $compiler option to produce PIC" >&5
2788  if test "${lt_cv_prog_cc_pic+set}" = set; then  if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
2789    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
2790  else  else
2791     lt_cv_prog_cc_pic=     lt_cv_prog_cc_pic=
2792    lt_cv_prog_cc_shlib=    lt_cv_prog_cc_shlib=
# Line 4472  else Line 2930  else
2930  fi  fi
2931    
2932  if test -z "$lt_cv_prog_cc_pic"; then  if test -z "$lt_cv_prog_cc_pic"; then
2933    echo "$as_me:$LINENO: result: none" >&5    echo "$ac_t""none" 1>&6
 echo "${ECHO_T}none" >&6  
2934  else  else
2935    echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5    echo "$ac_t""$lt_cv_prog_cc_pic" 1>&6
 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6  
2936    
2937    # Check to make sure the pic_flag actually works.    # Check to make sure the pic_flag actually works.
2938    echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5    echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6
2939  echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6  echo "configure:2940: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
2940    if test "${lt_cv_prog_cc_pic_works+set}" = set; then    if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then
2941    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
2942  else  else
2943        save_CFLAGS="$CFLAGS"        save_CFLAGS="$CFLAGS"
2944      CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"      CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
2945      cat >conftest.$ac_ext <<_ACEOF      cat > conftest.$ac_ext <<EOF
2946  #line $LINENO "configure"  #line 2947 "configure"
2947  #include "confdefs.h"  #include "confdefs.h"
2948    
2949  #ifdef F77_DUMMY_MAIN  int main() {
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
2950    
2951    ;  ; return 0; }
2952    return 0;  EOF
2953  }  if { (eval echo configure:2954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2954  _ACEOF    rm -rf conftest*
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
2955          case $host_os in          case $host_os in
2956        hpux9* | hpux10* | hpux11*)        hpux9* | hpux10* | hpux11*)
2957          # On HP-UX, both CC and GCC only warn that PIC is supported... then          # On HP-UX, both CC and GCC only warn that PIC is supported... then
# Line 4531  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2967  if { (eval echo "$as_me:$LINENO: \"$ac_c
2967          lt_cv_prog_cc_pic_works=yes          lt_cv_prog_cc_pic_works=yes
2968          ;;          ;;
2969        esac        esac
2970        
2971  else  else
2972    echo "$as_me: failed program was:" >&5    echo "configure: failed program was:" >&5
2973  cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
2974        lt_cv_prog_cc_pic_works=no    rm -rf conftest*
2975            lt_cv_prog_cc_pic_works=no
2976        
2977  fi  fi
2978  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest*
2979      CFLAGS="$save_CFLAGS"      CFLAGS="$save_CFLAGS"
2980      
2981  fi  fi
2982    
2983    
# Line 4551  fi Line 2988  fi
2988      lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"      lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
2989    fi    fi
2990    
2991    echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5    echo "$ac_t""$lt_cv_prog_cc_pic_works" 1>&6
 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6  
2992  fi  fi
2993    
2994  # Check for any special shared library compilation flags.  # Check for any special shared library compilation flags.
2995  if test -n "$lt_cv_prog_cc_shlib"; then  if test -n "$lt_cv_prog_cc_shlib"; then
2996    { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5    echo "configure: warning: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" 1>&2
 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}  
2997    if echo "$old_CC $old_CFLAGS " | egrep -e "[  ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :    if echo "$old_CC $old_CFLAGS " | egrep -e "[  ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :
2998    else    else
2999     { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5     echo "configure: warning: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" 1>&2
 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}  
3000      lt_cv_prog_cc_can_build_shared=no      lt_cv_prog_cc_can_build_shared=no
3001    fi    fi
3002  fi  fi
3003    
3004  echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5  echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6
3005  echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6  echo "configure:3006: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
3006  if test "${lt_cv_prog_cc_static_works+set}" = set; then  if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then
3007    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
3008  else  else
3009      lt_cv_prog_cc_static_works=no      lt_cv_prog_cc_static_works=no
3010    save_LDFLAGS="$LDFLAGS"    save_LDFLAGS="$LDFLAGS"
3011    LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"    LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
3012    cat >conftest.$ac_ext <<_ACEOF    cat > conftest.$ac_ext <<EOF
3013  #line $LINENO "configure"  #line 3014 "configure"
3014  #include "confdefs.h"  #include "confdefs.h"
3015    
3016  #ifdef F77_DUMMY_MAIN  int main() {
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
3017    
3018    ;  ; return 0; }
3019    return 0;  EOF
3020  }  if { (eval echo configure:3021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3021  _ACEOF    rm -rf conftest*
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
3022    lt_cv_prog_cc_static_works=yes    lt_cv_prog_cc_static_works=yes
3023  else  else
3024    echo "$as_me: failed program was:" >&5    echo "configure: failed program was:" >&5
3025  cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
3026  fi  fi
3027  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest*
3028    LDFLAGS="$save_LDFLAGS"    LDFLAGS="$save_LDFLAGS"
3029    
3030  fi  fi
# Line 4618  fi Line 3032  fi
3032    
3033  # Belt *and* braces to stop my trousers falling down:  # Belt *and* braces to stop my trousers falling down:
3034  test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=  test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
3035  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5  echo "$ac_t""$lt_cv_prog_cc_static_works" 1>&6
 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6  
3036    
3037  pic_flag="$lt_cv_prog_cc_pic"  pic_flag="$lt_cv_prog_cc_pic"
3038  special_shlib_compile_flags="$lt_cv_prog_cc_shlib"  special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
# Line 4630  can_build_shared="$lt_cv_prog_cc_can_bui Line 3043  can_build_shared="$lt_cv_prog_cc_can_bui
3043    
3044    
3045  # Check to see if options -o and -c are simultaneously supported by compiler  # Check to see if options -o and -c are simultaneously supported by compiler
3046  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5  echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6
3047  echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6  echo "configure:3048: checking if $compiler supports -c -o file.$ac_objext" >&5
3048  if test "${lt_cv_compiler_c_o+set}" = set; then  if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
3049    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
3050  else  else
3051      
3052  $rm -r conftest 2>/dev/null  $rm -r conftest 2>/dev/null
3053  mkdir conftest  mkdir conftest
3054  cd conftest  cd conftest
# Line 4650  chmod -w . Line 3063  chmod -w .
3063  save_CFLAGS="$CFLAGS"  save_CFLAGS="$CFLAGS"
3064  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
3065  compiler_c_o=no  compiler_c_o=no
3066  if { (eval echo configure:4653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then  if { (eval echo configure:3067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
3067    # The compiler can only warn and ignore the option if not recognized    # The compiler can only warn and ignore the option if not recognized
3068    # So say no if there are warnings    # So say no if there are warnings
3069    if test -s out/conftest.err; then    if test -s out/conftest.err; then
# Line 4674  $rm -r conftest 2>/dev/null Line 3087  $rm -r conftest 2>/dev/null
3087  fi  fi
3088    
3089  compiler_c_o=$lt_cv_compiler_c_o  compiler_c_o=$lt_cv_compiler_c_o
3090  echo "$as_me:$LINENO: result: $compiler_c_o" >&5  echo "$ac_t""$compiler_c_o" 1>&6
 echo "${ECHO_T}$compiler_c_o" >&6  
3091    
3092  if test x"$compiler_c_o" = x"yes"; then  if test x"$compiler_c_o" = x"yes"; then
3093    # Check to see if we can write to a .lo    # Check to see if we can write to a .lo
3094    echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5    echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6
3095  echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6  echo "configure:3096: checking if $compiler supports -c -o file.lo" >&5
3096    if test "${lt_cv_compiler_o_lo+set}" = set; then    if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
3097    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
3098  else  else
3099      
3100    lt_cv_compiler_o_lo=no    lt_cv_compiler_o_lo=no
3101    save_CFLAGS="$CFLAGS"    save_CFLAGS="$CFLAGS"
3102    CFLAGS="$CFLAGS -c -o conftest.lo"    CFLAGS="$CFLAGS -c -o conftest.lo"
3103    cat >conftest.$ac_ext <<_ACEOF    cat > conftest.$ac_ext <<EOF
3104  #line $LINENO "configure"  #line 3105 "configure"
3105  #include "confdefs.h"  #include "confdefs.h"
3106    
3107  #ifdef F77_DUMMY_MAIN  int main() {
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
3108  int some_variable = 0;  int some_variable = 0;
3109    ;  ; return 0; }
3110    return 0;  EOF
3111  }  if { (eval echo configure:3112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3112  _ACEOF    rm -rf conftest*
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
3113        # The compiler can only warn and ignore the option if not recognized        # The compiler can only warn and ignore the option if not recognized
3114      # So say no if there are warnings      # So say no if there are warnings
3115      if test -s conftest.err; then      if test -s conftest.err; then
# Line 4725  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3117  if { (eval echo "$as_me:$LINENO: \"$ac_c
3117      else      else
3118        lt_cv_compiler_o_lo=yes        lt_cv_compiler_o_lo=yes
3119      fi      fi
3120      
3121  else  else
3122    echo "$as_me: failed program was:" >&5    echo "configure: failed program was:" >&5
3123  cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
3124  fi  fi
3125  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest*
3126    CFLAGS="$save_CFLAGS"    CFLAGS="$save_CFLAGS"
3127      
3128  fi  fi
3129    
3130    compiler_o_lo=$lt_cv_compiler_o_lo    compiler_o_lo=$lt_cv_compiler_o_lo
3131    echo "$as_me:$LINENO: result: $compiler_c_lo" >&5    echo "$ac_t""$compiler_c_lo" 1>&6
 echo "${ECHO_T}$compiler_c_lo" >&6  
3132  else  else
3133    compiler_o_lo=no    compiler_o_lo=no
3134  fi  fi
# Line 4746  fi Line 3137  fi
3137  hard_links="nottested"  hard_links="nottested"
3138  if test "$compiler_c_o" = no && test "$need_locks" != no; then  if test "$compiler_c_o" = no && test "$need_locks" != no; then
3139    # do not overwrite the value of need_locks provided by the user    # do not overwrite the value of need_locks provided by the user
3140    echo "$as_me:$LINENO: checking if we can lock with hard links" >&5    echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6
3141  echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6  echo "configure:3142: checking if we can lock with hard links" >&5
3142    hard_links=yes    hard_links=yes
3143    $rm conftest*    $rm conftest*
3144    ln conftest.a conftest.b 2>/dev/null && hard_links=no    ln conftest.a conftest.b 2>/dev/null && hard_links=no
3145    touch conftest.a    touch conftest.a
3146    ln conftest.a conftest.b 2>&5 || hard_links=no    ln conftest.a conftest.b 2>&5 || hard_links=no
3147    ln conftest.a conftest.b 2>/dev/null && hard_links=no    ln conftest.a conftest.b 2>/dev/null && hard_links=no
3148    echo "$as_me:$LINENO: result: $hard_links" >&5    echo "$ac_t""$hard_links" 1>&6
 echo "${ECHO_T}$hard_links" >&6  
3149    if test "$hard_links" = no; then    if test "$hard_links" = no; then
3150      { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5      echo "configure: warning: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" 1>&2
 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}  
3151      need_locks=warn      need_locks=warn
3152    fi    fi
3153  else  else
# Line 4767  fi Line 3156  fi
3156    
3157  if test "$GCC" = yes; then  if test "$GCC" = yes; then
3158    # Check to see if options -fno-rtti -fno-exceptions are supported by compiler    # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
3159    echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5    echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6
3160  echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6  echo "configure:3161: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
3161    echo "int some_variable = 0;" > conftest.$ac_ext    echo "int some_variable = 0;" > conftest.$ac_ext
3162    save_CFLAGS="$CFLAGS"    save_CFLAGS="$CFLAGS"
3163    CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"    CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
3164    compiler_rtti_exceptions=no    compiler_rtti_exceptions=no
3165    cat >conftest.$ac_ext <<_ACEOF    cat > conftest.$ac_ext <<EOF
3166  #line $LINENO "configure"  #line 3167 "configure"
3167  #include "confdefs.h"  #include "confdefs.h"
3168    
3169  #ifdef F77_DUMMY_MAIN  int main() {
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
3170  int some_variable = 0;  int some_variable = 0;
3171    ;  ; return 0; }
3172    return 0;  EOF
3173  }  if { (eval echo configure:3174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3174  _ACEOF    rm -rf conftest*
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
3175        # The compiler can only warn and ignore the option if not recognized        # The compiler can only warn and ignore the option if not recognized
3176      # So say no if there are warnings      # So say no if there are warnings
3177      if test -s conftest.err; then      if test -s conftest.err; then
# Line 4810  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3179  if { (eval echo "$as_me:$LINENO: \"$ac_c
3179      else      else
3180        compiler_rtti_exceptions=yes        compiler_rtti_exceptions=yes
3181      fi      fi
3182      
3183  else  else
3184    echo "$as_me: failed program was:" >&5    echo "configure: failed program was:" >&5
3185  cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
3186  fi  fi
3187  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest*
3188    CFLAGS="$save_CFLAGS"    CFLAGS="$save_CFLAGS"
3189    echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5    echo "$ac_t""$compiler_rtti_exceptions" 1>&6
 echo "${ECHO_T}$compiler_rtti_exceptions" >&6  
3190    
3191    if test "$compiler_rtti_exceptions" = "yes"; then    if test "$compiler_rtti_exceptions" = "yes"; then
3192      no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'      no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
# Line 4828  echo "${ECHO_T}$compiler_rtti_exceptions Line 3196  echo "${ECHO_T}$compiler_rtti_exceptions
3196  fi  fi
3197    
3198  # See if the linker supports building shared libraries.  # See if the linker supports building shared libraries.
3199  echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5  echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6
3200  echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6  echo "configure:3201: checking whether the linker ($LD) supports shared libraries" >&5
3201    
3202  allow_undefined_flag=  allow_undefined_flag=
3203  no_undefined_flag=  no_undefined_flag=
# Line 5440  else Line 3808  else
3808      ;;      ;;
3809    esac    esac
3810  fi  fi
3811  echo "$as_me:$LINENO: result: $ld_shlibs" >&5  echo "$ac_t""$ld_shlibs" 1>&6
 echo "${ECHO_T}$ld_shlibs" >&6  
3812  test "$ld_shlibs" = no && can_build_shared=no  test "$ld_shlibs" = no && can_build_shared=no
3813    
3814  # Check hardcoding attributes.  # Check hardcoding attributes.
3815  echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5  echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6
3816  echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6  echo "configure:3817: checking how to hardcode library paths into programs" >&5
3817  hardcode_action=  hardcode_action=
3818  if test -n "$hardcode_libdir_flag_spec" || \  if test -n "$hardcode_libdir_flag_spec" || \
3819     test -n "$runpath_var"; then     test -n "$runpath_var"; then
# Line 5469  else Line 3836  else
3836    # directories.    # directories.
3837    hardcode_action=unsupported    hardcode_action=unsupported
3838  fi  fi
3839  echo "$as_me:$LINENO: result: $hardcode_action" >&5  echo "$ac_t""$hardcode_action" 1>&6
 echo "${ECHO_T}$hardcode_action" >&6  
3840    
3841  striplib=  striplib=
3842  old_striplib=  old_striplib=
3843  echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5  echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
3844  echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6  echo "configure:3845: checking whether stripping libraries is possible" >&5
3845  if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then  if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
3846    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
3847    test -z "$striplib" && striplib="$STRIP --strip-unneeded"    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
3848    echo "$as_me:$LINENO: result: yes" >&5    echo "$ac_t""yes" 1>&6
 echo "${ECHO_T}yes" >&6  
3849  else  else
3850    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
3851  fi  fi
3852    
3853  reload_cmds='$LD$reload_flag -o $output$reload_objs'  reload_cmds='$LD$reload_flag -o $output$reload_objs'
3854  test -z "$deplibs_check_method" && deplibs_check_method=unknown  test -z "$deplibs_check_method" && deplibs_check_method=unknown
3855    
3856  # PORTME Fill in your ld.so characteristics  # PORTME Fill in your ld.so characteristics
3857  echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5  echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
3858  echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6  echo "configure:3859: checking dynamic linker characteristics" >&5
3859  library_names_spec=  library_names_spec=
3860  libname_spec='lib$name'  libname_spec='lib$name'
3861  soname_spec=  soname_spec=
# Line 5872  sysv4*MP*) Line 4236  sysv4*MP*)
4236    dynamic_linker=no    dynamic_linker=no
4237    ;;    ;;
4238  esac  esac
4239  echo "$as_me:$LINENO: result: $dynamic_linker" >&5  echo "$ac_t""$dynamic_linker" 1>&6
 echo "${ECHO_T}$dynamic_linker" >&6  
4240  test "$dynamic_linker" = no && can_build_shared=no  test "$dynamic_linker" = no && can_build_shared=no
4241    
4242  # Report the final consequences.  # Report the final consequences.
4243  echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5  echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
4244  echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6  echo "configure:4245: checking if libtool supports shared libraries" >&5
4245  echo "$as_me:$LINENO: result: $can_build_shared" >&5  echo "$ac_t""$can_build_shared" 1>&6
 echo "${ECHO_T}$can_build_shared" >&6  
4246    
4247  if test "$hardcode_action" = relink; then  if test "$hardcode_action" = relink; then
4248    # Fast installation is not supported    # Fast installation is not supported
# Line 5917  else Line 4279  else
4279     ;;     ;;
4280    
4281    *)    *)
4282      echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5      echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
4283  echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6  echo "configure:4284: checking for dlopen in -ldl" >&5
4284  if test "${ac_cv_lib_dl_dlopen+set}" = set; then  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
4285    echo $ECHO_N "(cached) $ECHO_C" >&6  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4286      echo $ac_n "(cached) $ac_c" 1>&6
4287  else  else
4288    ac_check_lib_save_LIBS=$LIBS    ac_save_LIBS="$LIBS"
4289  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
4290  cat >conftest.$ac_ext <<_ACEOF  cat > conftest.$ac_ext <<EOF
4291  #line $LINENO "configure"  #line 4292 "configure"
4292  #include "confdefs.h"  #include "confdefs.h"
   
4293  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus  
 extern "C"  
 #endif  
4294  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4295     builtin and then its argument prototype would still apply.  */      builtin and then its argument prototype would still apply.  */
4296  char dlopen ();  char dlopen();
4297  #ifdef F77_DUMMY_MAIN  
4298  #  ifdef __cplusplus  int main() {
4299       extern "C"  dlopen()
4300  #  endif  ; return 0; }
4301     int F77_DUMMY_MAIN() { return 1; }  EOF
4302  #endif  if { (eval echo configure:4303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4303  int    rm -rf conftest*
4304  main ()    eval "ac_cv_lib_$ac_lib_var=yes"
4305  {  else
4306  dlopen ();    echo "configure: failed program was:" >&5
4307    ;    cat conftest.$ac_ext >&5
4308    return 0;    rm -rf conftest*
4309  }    eval "ac_cv_lib_$ac_lib_var=no"
4310  _ACEOF  fi
4311  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest*
4312  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  LIBS="$ac_save_LIBS"
4313    (eval $ac_link) 2>&5  
4314    ac_status=$?  fi
4315    echo "$as_me:$LINENO: \$? = $ac_status" >&5  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4316    (exit $ac_status); } &&    echo "$ac_t""yes" 1>&6
          { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_lib_dl_dlopen=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 cat conftest.$ac_ext >&5  
 ac_cv_lib_dl_dlopen=no  
 fi  
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  
 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6  
 if test $ac_cv_lib_dl_dlopen = yes; then  
4317    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
4318  else  else
4319    echo "$as_me:$LINENO: checking for dlopen" >&5    echo "$ac_t""no" 1>&6
4320  echo $ECHO_N "checking for dlopen... $ECHO_C" >&6  echo $ac_n "checking for dlopen""... $ac_c" 1>&6
4321  if test "${ac_cv_func_dlopen+set}" = set; then  echo "configure:4322: checking for dlopen" >&5
4322    echo $ECHO_N "(cached) $ECHO_C" >&6  if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
4323      echo $ac_n "(cached) $ac_c" 1>&6
4324  else  else
4325    cat >conftest.$ac_ext <<_ACEOF    cat > conftest.$ac_ext <<EOF
4326  #line $LINENO "configure"  #line 4327 "configure"
4327  #include "confdefs.h"  #include "confdefs.h"
4328  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4329      which can conflict with char dlopen (); below.  */      which can conflict with char dlopen(); below.  */
4330  #include <assert.h>  #include <assert.h>
4331  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus  
 extern "C"  
 #endif  
4332  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4333     builtin and then its argument prototype would still apply.  */      builtin and then its argument prototype would still apply.  */
4334  char dlopen ();  char dlopen();
4335  char (*f) ();  
4336    int main() {
4337  #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
4338  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
4339      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
4340      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
4341  #if defined (__stub_dlopen) || defined (__stub___dlopen)  #if defined (__stub_dlopen) || defined (__stub___dlopen)
4342  choke me  choke me
4343  #else  #else
4344  f = dlopen;  dlopen();
4345  #endif  #endif
4346    
4347    ;  ; return 0; }
4348    return 0;  EOF
4349  }  if { (eval echo configure:4350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4350  _ACEOF    rm -rf conftest*
4351  rm -f conftest.$ac_objext conftest$ac_exeext    eval "ac_cv_func_dlopen=yes"
4352  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  else
4353    (eval $ac_link) 2>&5    echo "configure: failed program was:" >&5
4354    ac_status=$?    cat conftest.$ac_ext >&5
4355    echo "$as_me:$LINENO: \$? = $ac_status" >&5    rm -rf conftest*
4356    (exit $ac_status); } &&    eval "ac_cv_func_dlopen=no"
4357           { ac_try='test -s conftest$ac_exeext'  fi
4358    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  rm -f conftest*
4359    (eval $ac_try) 2>&5  fi
4360    ac_status=$?  
4361    echo "$as_me:$LINENO: \$? = $ac_status" >&5  if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then
4362    (exit $ac_status); }; }; then    echo "$ac_t""yes" 1>&6
   ac_cv_func_dlopen=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 cat conftest.$ac_ext >&5  
 ac_cv_func_dlopen=no  
 fi  
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5  
 echo "${ECHO_T}$ac_cv_func_dlopen" >&6  
 if test $ac_cv_func_dlopen = yes; then  
4363    lt_cv_dlopen="dlopen"    lt_cv_dlopen="dlopen"
4364  else  else
4365    echo "$as_me:$LINENO: checking for shl_load" >&5    echo "$ac_t""no" 1>&6
4366  echo $ECHO_N "checking for shl_load... $ECHO_C" >&6  echo $ac_n "checking for shl_load""... $ac_c" 1>&6
4367  if test "${ac_cv_func_shl_load+set}" = set; then  echo "configure:4368: checking for shl_load" >&5
4368    echo $ECHO_N "(cached) $ECHO_C" >&6  if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
4369      echo $ac_n "(cached) $ac_c" 1>&6
4370  else  else
4371    cat >conftest.$ac_ext <<_ACEOF    cat > conftest.$ac_ext <<EOF
4372  #line $LINENO "configure"  #line 4373 "configure"
4373  #include "confdefs.h"  #include "confdefs.h"
4374  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4375      which can conflict with char shl_load (); below.  */      which can conflict with char shl_load(); below.  */
4376  #include <assert.h>  #include <assert.h>
4377  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus  
 extern "C"  
 #endif  
4378  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4379     builtin and then its argument prototype would still apply.  */      builtin and then its argument prototype would still apply.  */
4380  char shl_load ();  char shl_load();
4381  char (*f) ();  
4382    int main() {
4383  #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
4384  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
4385      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
4386      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
4387  #if defined (__stub_shl_load) || defined (__stub___shl_load)  #if defined (__stub_shl_load) || defined (__stub___shl_load)
4388  choke me  choke me
4389  #else  #else
4390  f = shl_load;  shl_load();
4391  #endif  #endif
4392    
4393    ;  ; return 0; }
4394    return 0;  EOF
4395  }  if { (eval echo configure:4396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4396  _ACEOF    rm -rf conftest*
4397  rm -f conftest.$ac_objext conftest$ac_exeext    eval "ac_cv_func_shl_load=yes"
4398  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  else
4399    (eval $ac_link) 2>&5    echo "configure: failed program was:" >&5
4400    ac_status=$?    cat conftest.$ac_ext >&5
4401    echo "$as_me:$LINENO: \$? = $ac_status" >&5    rm -rf conftest*
4402    (exit $ac_status); } &&    eval "ac_cv_func_shl_load=no"
4403           { ac_try='test -s conftest$ac_exeext'  fi
4404    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  rm -f conftest*
4405    (eval $ac_try) 2>&5  fi
4406    ac_status=$?  
4407    echo "$as_me:$LINENO: \$? = $ac_status" >&5  if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then
4408    (exit $ac_status); }; }; then    echo "$ac_t""yes" 1>&6
   ac_cv_func_shl_load=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 cat conftest.$ac_ext >&5  
 ac_cv_func_shl_load=no  
 fi  
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5  
 echo "${ECHO_T}$ac_cv_func_shl_load" >&6  
 if test $ac_cv_func_shl_load = yes; then  
4409    lt_cv_dlopen="shl_load"    lt_cv_dlopen="shl_load"
4410  else  else
4411    echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5    echo "$ac_t""no" 1>&6
4412  echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6  echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
4413  if test "${ac_cv_lib_svld_dlopen+set}" = set; then  echo "configure:4414: checking for dlopen in -lsvld" >&5
4414    echo $ECHO_N "(cached) $ECHO_C" >&6  ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
4415    if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4416      echo $ac_n "(cached) $ac_c" 1>&6
4417  else  else
4418    ac_check_lib_save_LIBS=$LIBS    ac_save_LIBS="$LIBS"
4419  LIBS="-lsvld  $LIBS"  LIBS="-lsvld  $LIBS"
4420  cat >conftest.$ac_ext <<_ACEOF  cat > conftest.$ac_ext <<EOF
4421  #line $LINENO "configure"  #line 4422 "configure"
4422  #include "confdefs.h"  #include "confdefs.h"
   
4423  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus  
 extern "C"  
 #endif  
4424  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4425     builtin and then its argument prototype would still apply.  */      builtin and then its argument prototype would still apply.  */