/[ascend]/trunk/base/unixAC213/configure
ViewVC logotype

Diff of /trunk/base/unixAC213/configure

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

revision 40 by aw0a, Wed Dec 29 19:09:41 2004 UTC revision 41 by ben.allan, Wed Feb 9 17:26:11 2005 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.59.  # Generated automatically using autoconf version 2.13
5    # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6  #  #
 # Copyright (C) 2003 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.
 ## --------------------- ##  
 ## M4sh Initialization.  ##  
 ## --------------------- ##  
   
 # Be Bourne compatible  
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  
   emulate sh  
   NULLCMD=:  
   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which  
   # is contrary to our usage.  Disable this feature.  
   alias -g '${1+"$@"}'='"$@"'  
 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then  
   set -o posix  
 fi  
 DUALCASE=1; export DUALCASE # for MKS sh  
   
 # Support unset when possible.  
 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then  
   as_unset=unset  
 else  
   as_unset=false  
 fi  
   
   
 # Work around bugs in pre-3.0 UWIN ksh.  
 $as_unset ENV MAIL MAILPATH  
 PS1='$ '  
 PS2='> '  
 PS4='+ '  
   
 # NLS nuisances.  
 for as_var in \  
   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \  
   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \  
   LC_TELEPHONE LC_TIME  
 do  
   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then  
     eval $as_var=C; export $as_var  
   else  
     $as_unset $as_var  
   fi  
 done  
   
 # Required to use basename.  
 if expr a : '\(a\)' >/dev/null 2>&1; then  
   as_expr=expr  
 else  
   as_expr=false  
 fi  
   
 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then  
   as_basename=basename  
 else  
   as_basename=false  
 fi  
   
   
 # Name of the executable.  
 as_me=`$as_basename "$0" ||  
 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  
      X"$0" : 'X\(//\)$' \| \  
      X"$0" : 'X\(/\)$' \| \  
      .     : '\(.\)' 2>/dev/null ||  
 echo X/"$0" |  
     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }  
       /^X\/\(\/\/\)$/{ s//\1/; q; }  
       /^X\/\(\/\).*/{ s//\1/; q; }  
       s/.*/./; q'`  
   
   
 # 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" >conf$$.sh  
   echo  "exit 0"   >>conf$$.sh  
   chmod +x conf$$.sh  
   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then  
     PATH_SEPARATOR=';'  
   else  
     PATH_SEPARATOR=:  
   fi  
   rm -f conf$$.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  
          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }  
          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }  
          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  
   
 if mkdir -p . 2>/dev/null; then  
   as_mkdir_p=:  
 else  
   test -d ./-p && rmdir ./-p  
   as_mkdir_p=false  
 fi  
   
 as_executable_p="test -f"  
   
 # Sed expression to map a string onto a valid CPP name.  
 as_tr_cpp="eval 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="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"  
   
9    
10  # IFS  # Defaults:
11  # We need space, tab and new line, in precisely that order.  ac_help=
 as_nl='  
 '  
 IFS="   $as_nl"  
   
 # CDPATH.  
 $as_unset 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.  
 #  
12  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
13  ac_config_libobj_dir=.  # Any additions from configure.in:
14  cross_compiling=no  ac_help="$ac_help
 subdirs=  
 MFLAGS=  
 MAKEFLAGS=  
 SHELL=${CONFIG_SHELL-/bin/sh}  
15    
16  # Maximum number of lines to put in a shell here document.  ASCEND specific options
 # 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="../generic/compiler/ascParse.y"  
 # 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"  
17    
18  ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS RANLIB ac_ct_RANLIB LN_S SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT asc_cc1 asc_cc2 asc_cc3 CPP DEBUG_LIBS EGREP YACC LEX LEXLIB LEX_OUTPUT_ROOT TCL_LIB TCL_HDR TK_LIB TK_HDR TKTABLE_LIB F77 BLASLIB LPAKLIB LSODLIB ascpwd fullpathsrcdir asc_include scanner_src typer_src MATH_LIBS X11_INCLUDES X11_LIBRARIES X11_RUN_PATH X11_EXTRA_LIBS DL_LIBS LD_FLAGS LD_SEARCH_FLAGS SHLIB_CFLAGS SHLIB_LD SHLIB_LD_LIBS SHLIB_SUFFIX ASC_LIB_SUFFIX ASC_TK_LIBRARY ASC_TCL_LIBRARY HAVE_TKTABLE asc_subdirs F77LIBS make_blaslib make_lpaklib make_lsodlib HAVE_LSOD tkdir_root tkdir_topbuilddir models_dir_root models_topbuilddir help_dir_root help_topbuilddir LIBOBJS LTLIBOBJS'  Compiler options:
19  ac_subst_files=''    --enable-gcc            allow use of gcc if avaiable"
20    ac_help="$ac_help
21      --enable-optimization   optimize the C code while building ascend"
22    ac_help="$ac_help
23      --with-x                use the X Window System"
24    ac_help="$ac_help
25    Location of Tcl, Tk, and tkTable:
26      --with-tcl=LIBRARY,HEADER
27                              The location of the Tcl8.0 library and/or header
28                              For a static Tcl8.0 library, give the full path:
29                                  --with-tcl='/usr/local/lib/libtcl8.0.a'
30                              For a dynamic library, give any -L options required:
31                                  --with-tcl='-L/usr/local/lib -ltcl8.0'
32                              To specify only the header, leave off the library:
33                                  --with-tcl=',/usr/local/include/tcl.h' "
34    ac_help="$ac_help
35      --with-tk=LIBRARY,HEADER
36                              The location of the Tk8.0 library and/or header
37                              For a static Tk8.0 library, give the full path:
38                                  --with-tk='/usr/local/lib/libtk8.3.a'
39                              For a dynamic library, give any -L options required:
40                                  --with-tk='-L/usr/local/lib -ltk8.3'
41                              To specify only the header, leave off the library:
42                                  --with-tk=',/usr/local/include/tk.h' "
43    ac_help="$ac_help
44      --with-tktable=TKTABLE  full path to a TkTable1.3 static library"
45    ac_help="$ac_help
46      --with-wish=/path/to/bin/wish
47                              The location of the wish shell executable matching
48                              the tcl/tk given by --with-tk and --with-tcl.
49                              X11 must be running during configure.   "
50    ac_help="$ac_help
51    Fortran compiler and libraries:
52      --with-fortran=F77,F77LIBS
53                              The location of your Fortran compiler and its
54                              library files.  For example, under SunOS:
55                                 --with-fortran='f77,-L/usr/lang/lib -lF77 -lM77'
56                              To specify only the compiler or libraries, leave off
57                              whatever is not needed:
58                                  --with-fortran=',-L/usr/lang/lib -lF77 -lM77'
59                              Use '--without-fortran' to not link against
60                              any Fortran libraries"
61    ac_help="$ac_help
62      --with-blas=BLASLIB     The full path to the blas library.
63                              Use '--with-blas=build' to build the blas library
64                              from the sources that come with the distribution."
65    ac_help="$ac_help
66      --with-linpack=LPAKLIB  The full path to the linpack library.
67                              Use '--with-linpack=build' to build the library
68                              from the sources that come with the distribution."
69    ac_help="$ac_help
70      --with-lsod=LSODLIB     The full path to the lsod library.
71                              Use '--with-lsod=build' to build the lsod library
72                              from the sources that come with the distribution."
73    ac_help="$ac_help
74    Generation of Makefiles:
75      --without-tkdir         do not generate Makefiles in the TK subdir"
76    ac_help="$ac_help
77      --without-models        do not generate Makefiles in the models subdir"
78    
79  # Initialize some variables set by options.  # Initialize some variables set by options.
 ac_init_help=  
 ac_init_version=false  
80  # The variables have the same names as the options, with  # The variables have the same names as the options, with
81  # dashes changed to underlines.  # dashes changed to underlines.
82  cache_file=/dev/null  build=NONE
83    cache_file=./config.cache
84  exec_prefix=NONE  exec_prefix=NONE
85    host=NONE
86  no_create=  no_create=
87    nonopt=NONE
88  no_recursion=  no_recursion=
89  prefix=NONE  prefix=NONE
90  program_prefix=NONE  program_prefix=NONE
# Line 328  program_transform_name=s,x,x, Line 93  program_transform_name=s,x,x,
93  silent=  silent=
94  site=  site=
95  srcdir=  srcdir=
96    target=NONE
97  verbose=  verbose=
98  x_includes=NONE  x_includes=NONE
99  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.  
100  bindir='${exec_prefix}/bin'  bindir='${exec_prefix}/bin'
101  sbindir='${exec_prefix}/sbin'  sbindir='${exec_prefix}/sbin'
102  libexecdir='${exec_prefix}/libexec'  libexecdir='${exec_prefix}/libexec'
# Line 350  oldincludedir='/usr/include' Line 110  oldincludedir='/usr/include'
110  infodir='${prefix}/info'  infodir='${prefix}/info'
111  mandir='${prefix}/man'  mandir='${prefix}/man'
112    
113    # Initialize some other variables.
114    subdirs=
115    MFLAGS= MAKEFLAGS=
116    SHELL=${CONFIG_SHELL-/bin/sh}
117    # Maximum number of lines to put in a shell here document.
118    ac_max_here_lines=12
119    
120  ac_prev=  ac_prev=
121  for ac_option  for ac_option
122  do  do
123    
124    # If the previous option needs an argument, assign it.    # If the previous option needs an argument, assign it.
125    if test -n "$ac_prev"; then    if test -n "$ac_prev"; then
126      eval "$ac_prev=\$ac_option"      eval "$ac_prev=\$ac_option"
# Line 360  do Line 128  do
128      continue      continue
129    fi    fi
130    
131    ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`    case "$ac_option" in
132      -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
133      *) ac_optarg= ;;
134      esac
135    
136    # Accept the important Cygnus configure options, so we can diagnose typos.    # Accept the important Cygnus configure options, so we can diagnose typos.
137    
138    case $ac_option in    case "$ac_option" in
139    
140    -bindir | --bindir | --bindi | --bind | --bin | --bi)    -bindir | --bindir | --bindi | --bind | --bin | --bi)
141      ac_prev=bindir ;;      ac_prev=bindir ;;
142    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
143      bindir=$ac_optarg ;;      bindir="$ac_optarg" ;;
144    
145    -build | --build | --buil | --bui | --bu)    -build | --build | --buil | --bui | --bu)
146      ac_prev=build_alias ;;      ac_prev=build ;;
147    -build=* | --build=* | --buil=* | --bui=* | --bu=*)    -build=* | --build=* | --buil=* | --bui=* | --bu=*)
148      build_alias=$ac_optarg ;;      build="$ac_optarg" ;;
149    
150    -cache-file | --cache-file | --cache-fil | --cache-fi \    -cache-file | --cache-file | --cache-fil | --cache-fi \
151    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
152      ac_prev=cache_file ;;      ac_prev=cache_file ;;
153    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
154    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
155      cache_file=$ac_optarg ;;      cache_file="$ac_optarg" ;;
   
   --config-cache | -C)  
     cache_file=config.cache ;;  
156    
157    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
158      ac_prev=datadir ;;      ac_prev=datadir ;;
159    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
160    | --da=*)    | --da=*)
161      datadir=$ac_optarg ;;      datadir="$ac_optarg" ;;
162    
163    -disable-* | --disable-*)    -disable-* | --disable-*)
164      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
165      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
166      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&      if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
167        { echo "$as_me: error: invalid feature name: $ac_feature" >&2        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
168     { (exit 1); exit 1; }; }      fi
169      ac_feature=`echo $ac_feature | sed 's/-/_/g'`      ac_feature=`echo $ac_feature| sed 's/-/_/g'`
170      eval "enable_$ac_feature=no" ;;      eval "enable_${ac_feature}=no" ;;
171    
172    -enable-* | --enable-*)    -enable-* | --enable-*)
173      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
174      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
175      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&      if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
176        { echo "$as_me: error: invalid feature name: $ac_feature" >&2        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
177     { (exit 1); exit 1; }; }      fi
178      ac_feature=`echo $ac_feature | sed 's/-/_/g'`      ac_feature=`echo $ac_feature| sed 's/-/_/g'`
179      case $ac_option in      case "$ac_option" in
180        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;        *=*) ;;
181        *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
182      esac      esac
183      eval "enable_$ac_feature='$ac_optarg'" ;;      eval "enable_${ac_feature}='$ac_optarg'" ;;
184    
185    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
186    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 421  do Line 189  do
189    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
190    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
191    | --exec=* | --exe=* | --ex=*)    | --exec=* | --exe=* | --ex=*)
192      exec_prefix=$ac_optarg ;;      exec_prefix="$ac_optarg" ;;
193    
194    -gas | --gas | --ga | --g)    -gas | --gas | --ga | --g)
195      # Obsolete; use --with-gas.      # Obsolete; use --with-gas.
196      with_gas=yes ;;      with_gas=yes ;;
197    
198    -help | --help | --hel | --he | -h)    -help | --help | --hel | --he)
199      ac_init_help=long ;;      # Omit some internal or obsolete options to make the list less imposing.
200    -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.
201      ac_init_help=recursive ;;      cat << EOF
202    -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)  Usage: configure [options] [host]
203      ac_init_help=short ;;  Options: [defaults in brackets after descriptions]
204    Configuration:
205      --cache-file=FILE       cache test results in FILE
206      --help                  print this message
207      --no-create             do not create output files
208      --quiet, --silent       do not print \`checking...' messages
209      --version               print the version of autoconf that created configure
210    Directory and file names:
211      --prefix=PREFIX         install architecture-independent files in PREFIX
212                              [$ac_default_prefix]
213      --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
214                              [same as prefix]
215      --bindir=DIR            user executables in DIR [EPREFIX/bin]
216      --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
217      --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
218      --datadir=DIR           read-only architecture-independent data in DIR
219                              [PREFIX/share]
220      --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
221      --sharedstatedir=DIR    modifiable architecture-independent data in DIR
222                              [PREFIX/com]
223      --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
224      --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
225      --includedir=DIR        C header files in DIR [PREFIX/include]
226      --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
227      --infodir=DIR           info documentation in DIR [PREFIX/info]
228      --mandir=DIR            man documentation in DIR [PREFIX/man]
229      --srcdir=DIR            find the sources in DIR [configure dir or ..]
230      --program-prefix=PREFIX prepend PREFIX to installed program names
231      --program-suffix=SUFFIX append SUFFIX to installed program names
232      --program-transform-name=PROGRAM
233                              run sed PROGRAM on installed program names
234    EOF
235        cat << EOF
236    Host type:
237      --build=BUILD           configure for building on BUILD [BUILD=HOST]
238      --host=HOST             configure for HOST [guessed]
239      --target=TARGET         configure for TARGET [TARGET=HOST]
240    Features and packages:
241      --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
242      --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
243      --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
244      --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
245      --x-includes=DIR        X include files are in DIR
246      --x-libraries=DIR       X library files are in DIR
247    EOF
248        if test -n "$ac_help"; then
249          echo "--enable and --with options recognized:$ac_help"
250        fi
251        exit 0 ;;
252    
253    -host | --host | --hos | --ho)    -host | --host | --hos | --ho)
254      ac_prev=host_alias ;;      ac_prev=host ;;
255    -host=* | --host=* | --hos=* | --ho=*)    -host=* | --host=* | --hos=* | --ho=*)
256      host_alias=$ac_optarg ;;      host="$ac_optarg" ;;
257    
258    -includedir | --includedir | --includedi | --included | --include \    -includedir | --includedir | --includedi | --included | --include \
259    | --includ | --inclu | --incl | --inc)    | --includ | --inclu | --incl | --inc)
260      ac_prev=includedir ;;      ac_prev=includedir ;;
261    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
262    | --includ=* | --inclu=* | --incl=* | --inc=*)    | --includ=* | --inclu=* | --incl=* | --inc=*)
263      includedir=$ac_optarg ;;      includedir="$ac_optarg" ;;
264    
265    -infodir | --infodir | --infodi | --infod | --info | --inf)    -infodir | --infodir | --infodi | --infod | --info | --inf)
266      ac_prev=infodir ;;      ac_prev=infodir ;;
267    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
268      infodir=$ac_optarg ;;      infodir="$ac_optarg" ;;
269    
270    -libdir | --libdir | --libdi | --libd)    -libdir | --libdir | --libdi | --libd)
271      ac_prev=libdir ;;      ac_prev=libdir ;;
272    -libdir=* | --libdir=* | --libdi=* | --libd=*)    -libdir=* | --libdir=* | --libdi=* | --libd=*)
273      libdir=$ac_optarg ;;      libdir="$ac_optarg" ;;
274    
275    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
276    | --libexe | --libex | --libe)    | --libexe | --libex | --libe)
277      ac_prev=libexecdir ;;      ac_prev=libexecdir ;;
278    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
279    | --libexe=* | --libex=* | --libe=*)    | --libexe=* | --libex=* | --libe=*)
280      libexecdir=$ac_optarg ;;      libexecdir="$ac_optarg" ;;
281    
282    -localstatedir | --localstatedir | --localstatedi | --localstated \    -localstatedir | --localstatedir | --localstatedi | --localstated \
283    | --localstate | --localstat | --localsta | --localst \    | --localstate | --localstat | --localsta | --localst \
# Line 470  do Line 286  do
286    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
287    | --localstate=* | --localstat=* | --localsta=* | --localst=* \    | --localstate=* | --localstat=* | --localsta=* | --localst=* \
288    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
289      localstatedir=$ac_optarg ;;      localstatedir="$ac_optarg" ;;
290    
291    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
292      ac_prev=mandir ;;      ac_prev=mandir ;;
293    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
294      mandir=$ac_optarg ;;      mandir="$ac_optarg" ;;
295    
296    -nfp | --nfp | --nf)    -nfp | --nfp | --nf)
297      # Obsolete; use --without-fp.      # Obsolete; use --without-fp.
298      with_fp=no ;;      with_fp=no ;;
299    
300    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
301    | --no-cr | --no-c | -n)    | --no-cr | --no-c)
302      no_create=yes ;;      no_create=yes ;;
303    
304    -no-recursion | --no-recursion | --no-recursio | --no-recursi \    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 496  do Line 312  do
312    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
313    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
314    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
315      oldincludedir=$ac_optarg ;;      oldincludedir="$ac_optarg" ;;
316    
317    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
318      ac_prev=prefix ;;      ac_prev=prefix ;;
319    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
320      prefix=$ac_optarg ;;      prefix="$ac_optarg" ;;
321    
322    -program-prefix | --program-prefix | --program-prefi | --program-pref \    -program-prefix | --program-prefix | --program-prefi | --program-pref \
323    | --program-pre | --program-pr | --program-p)    | --program-pre | --program-pr | --program-p)
324      ac_prev=program_prefix ;;      ac_prev=program_prefix ;;
325    -program-prefix=* | --program-prefix=* | --program-prefi=* \    -program-prefix=* | --program-prefix=* | --program-prefi=* \
326    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
327      program_prefix=$ac_optarg ;;      program_prefix="$ac_optarg" ;;
328    
329    -program-suffix | --program-suffix | --program-suffi | --program-suff \    -program-suffix | --program-suffix | --program-suffi | --program-suff \
330    | --program-suf | --program-su | --program-s)    | --program-suf | --program-su | --program-s)
331      ac_prev=program_suffix ;;      ac_prev=program_suffix ;;
332    -program-suffix=* | --program-suffix=* | --program-suffi=* \    -program-suffix=* | --program-suffix=* | --program-suffi=* \
333    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
334      program_suffix=$ac_optarg ;;      program_suffix="$ac_optarg" ;;
335    
336    -program-transform-name | --program-transform-name \    -program-transform-name | --program-transform-name \
337    | --program-transform-nam | --program-transform-na \    | --program-transform-nam | --program-transform-na \
# Line 532  do Line 348  do
348    | --program-transfo=* | --program-transf=* \    | --program-transfo=* | --program-transf=* \
349    | --program-trans=* | --program-tran=* \    | --program-trans=* | --program-tran=* \
350    | --progr-tra=* | --program-tr=* | --program-t=*)    | --progr-tra=* | --program-tr=* | --program-t=*)
351      program_transform_name=$ac_optarg ;;      program_transform_name="$ac_optarg" ;;
352    
353    -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
354    | -silent | --silent | --silen | --sile | --sil)    | -silent | --silent | --silen | --sile | --sil)
# Line 542  do Line 358  do
358      ac_prev=sbindir ;;      ac_prev=sbindir ;;
359    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
360    | --sbi=* | --sb=*)    | --sbi=* | --sb=*)
361      sbindir=$ac_optarg ;;      sbindir="$ac_optarg" ;;
362    
363    -sharedstatedir | --sharedstatedir | --sharedstatedi \    -sharedstatedir | --sharedstatedir | --sharedstatedi \
364    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
# Line 553  do Line 369  do
369    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
370    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
371    | --sha=* | --sh=*)    | --sha=* | --sh=*)
372      sharedstatedir=$ac_optarg ;;      sharedstatedir="$ac_optarg" ;;
373    
374    -site | --site | --sit)    -site | --site | --sit)
375      ac_prev=site ;;      ac_prev=site ;;
376    -site=* | --site=* | --sit=*)    -site=* | --site=* | --sit=*)
377      site=$ac_optarg ;;      site="$ac_optarg" ;;
378    
379    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
380      ac_prev=srcdir ;;      ac_prev=srcdir ;;
381    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
382      srcdir=$ac_optarg ;;      srcdir="$ac_optarg" ;;
383    
384    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
385    | --syscon | --sysco | --sysc | --sys | --sy)    | --syscon | --sysco | --sysc | --sys | --sy)
386      ac_prev=sysconfdir ;;      ac_prev=sysconfdir ;;
387    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
388    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
389      sysconfdir=$ac_optarg ;;      sysconfdir="$ac_optarg" ;;
390    
391    -target | --target | --targe | --targ | --tar | --ta | --t)    -target | --target | --targe | --targ | --tar | --ta | --t)
392      ac_prev=target_alias ;;      ac_prev=target ;;
393    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
394      target_alias=$ac_optarg ;;      target="$ac_optarg" ;;
395    
396    -v | -verbose | --verbose | --verbos | --verbo | --verb)    -v | -verbose | --verbose | --verbos | --verbo | --verb)
397      verbose=yes ;;      verbose=yes ;;
398    
399    -version | --version | --versio | --versi | --vers | -V)    -version | --version | --versio | --versi | --vers)
400      ac_init_version=: ;;      echo "configure generated by autoconf version 2.13"
401        exit 0 ;;
402    
403    -with-* | --with-*)    -with-* | --with-*)
404      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
405      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
406      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&      if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
407        { echo "$as_me: error: invalid package name: $ac_package" >&2        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
408     { (exit 1); exit 1; }; }      fi
409      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package| sed 's/-/_/g'`
410      case $ac_option in      case "$ac_option" in
411        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;        *=*) ;;
412        *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
413      esac      esac
414      eval "with_$ac_package='$ac_optarg'" ;;      eval "with_${ac_package}='$ac_optarg'" ;;
415    
416    -without-* | --without-*)    -without-* | --without-*)
417      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_package=`echo $ac_option|sed -e 's/-*without-//'`
418      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
419      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&      if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
420        { echo "$as_me: error: invalid package name: $ac_package" >&2        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
421     { (exit 1); exit 1; }; }      fi
422      ac_package=`echo $ac_package | sed 's/-/_/g'`      ac_package=`echo $ac_package| sed 's/-/_/g'`
423      eval "with_$ac_package=no" ;;      eval "with_${ac_package}=no" ;;
424    
425    --x)    --x)
426      # Obsolete; use --with-x.      # Obsolete; use --with-x.
# Line 614  do Line 431  do
431      ac_prev=x_includes ;;      ac_prev=x_includes ;;
432    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
433    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
434      x_includes=$ac_optarg ;;      x_includes="$ac_optarg" ;;
435    
436    -x-libraries | --x-libraries | --x-librarie | --x-librari \    -x-libraries | --x-libraries | --x-librarie | --x-librari \
437    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
438      ac_prev=x_libraries ;;      ac_prev=x_libraries ;;
439    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
440    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
441      x_libraries=$ac_optarg ;;      x_libraries="$ac_optarg" ;;
442    
443    -*) { 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; }; }  
444      ;;      ;;
445    
   *=*)  
     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 ;;  
   
446    *)    *)
447      # FIXME: should be removed in autoconf 3.0.      if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
448      echo "$as_me: WARNING: you should use --build, --host, --target" >&2        echo "configure: warning: $ac_option: invalid host type" 1>&2
449      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&      fi
450        echo "$as_me: WARNING: invalid host type: $ac_option" >&2      if test "x$nonopt" != xNONE; then
451      : ${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; }
452        fi
453        nonopt="$ac_option"
454      ;;      ;;
455    
456    esac    esac
457  done  done
458    
459  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
460    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; }; }  
461  fi  fi
462    
463  # Be sure to have absolute paths.  trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
464  for ac_var in exec_prefix prefix  
465  do  # File descriptor usage:
466    eval ac_val=$`echo $ac_var`  # 0 standard input
467    case $ac_val in  # 1 file creation
468      [\\/$]* | ?:[\\/]* | NONE | '' ) ;;  # 2 errors and warnings
469      *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2  # 3 some systems may open it to /dev/tty
470     { (exit 1); exit 1; }; };;  # 4 used on the Kubota Titan
471    esac  # 6 checking for... messages and results
472  done  # 5 compiler messages saved in config.log
473    if test "$silent" = yes; then
474      exec 6>/dev/null
475    else
476      exec 6>&1
477    fi
478    exec 5>./config.log
479    
480    echo "\
481    This file contains any messages produced by compilers while
482    running configure, to aid debugging if configure makes a mistake.
483    " 1>&5
484    
485  # Be sure to have absolute paths.  # Strip out --no-create and --no-recursion so they do not pile up.
486  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \  # Also quote any args containing shell metacharacters.
487            localstatedir libdir includedir oldincludedir infodir mandir  ac_configure_args=
488    for ac_arg
489  do  do
490    eval ac_val=$`echo $ac_var`    case "$ac_arg" in
491    case $ac_val in    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
492      [\\/$]* | ?:[\\/]* ) ;;    | --no-cr | --no-c) ;;
493      *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
494     { (exit 1); exit 1; }; };;    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
495      *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
496      ac_configure_args="$ac_configure_args '$ac_arg'" ;;
497      *) ac_configure_args="$ac_configure_args $ac_arg" ;;
498    esac    esac
499  done  done
500    
501  # There might be people who depend on the old broken behavior: `$host'  # NLS nuisances.
502  # used to hold the argument of --host etc.  # Only set these to C if already set.  These must not be set unconditionally
503  # FIXME: To remove some day.  # because not all systems understand e.g. LANG=C (notably SCO).
504  build=$build_alias  # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
505  host=$host_alias  # Non-C LC_CTYPE values break the ctype check.
506  target=$target_alias  if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
507    if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
508  # FIXME: To remove some day.  if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
509  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-  
510    
511  test "$silent" = yes && exec 6>/dev/null  # confdefs.h avoids OS command line length limits that DEFS can exceed.
512    rm -rf conftest* confdefs.h
513    # AIX cpp loses on an empty file, so make sure it contains at least a newline.
514    echo > confdefs.h
515    
516    # A filename unique to this package, relative to the directory that
517    # configure is in, which we can look for to find out if srcdir is correct.
518    ac_unique_file=../generic/compiler/ascParse.y
519    
520  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
521  if test -z "$srcdir"; then  if test -z "$srcdir"; then
522    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
523    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
524    ac_confdir=`(dirname "$0") 2>/dev/null ||    ac_prog=$0
525  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \    ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
526       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'`  
527    srcdir=$ac_confdir    srcdir=$ac_confdir
528    if test ! -r $srcdir/$ac_unique_file; then    if test ! -r $srcdir/$ac_unique_file; then
529      srcdir=..      srcdir=..
# Line 727  else Line 533  else
533  fi  fi
534  if test ! -r $srcdir/$ac_unique_file; then  if test ! -r $srcdir/$ac_unique_file; then
535    if test "$ac_srcdir_defaulted" = yes; then    if test "$ac_srcdir_defaulted" = yes; then
536      { 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; }; }  
537    else    else
538      { 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; }; }  
539    fi    fi
540  fi  fi
541  (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2  
    { (exit 1); exit 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.  
542    
543  Usage: $0 [OPTION]... [VAR=VALUE]...  # Prefer explicitly selected file to automatically selected ones.
544    if test -z "$CONFIG_SITE"; then
545      if test "x$prefix" != xNONE; then
546        CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
547      else
548        CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
549      fi
550    fi
551    for ac_site_file in $CONFIG_SITE; do
552      if test -r "$ac_site_file"; then
553        echo "loading site script $ac_site_file"
554        . "$ac_site_file"
555      fi
556    done
557    
 To assign environment variables (e.g., CC, CFLAGS...), specify them as  
 VAR=VALUE.  See below for descriptions of some of the useful variables.  
558    
559  Defaults for the options are specified in brackets.  ac_ext=c
560    # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
561    ac_cpp='$CPP $CPPFLAGS'
562    ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
563    ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
564    cross_compiling=$ac_cv_prog_cc_cross
565    
566    ac_exeext=
567    ac_objext=o
568    if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
569      # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
570      if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
571        ac_n= ac_c='
572    ' ac_t='    '
573      else
574        ac_n=-n ac_c= ac_t=
575      fi
576    else
577      ac_n= ac_c='\c' ac_t=
578    fi
579    
 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 \`..']  
580    
 _ACEOF  
581    
   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]  
582    
583  By default, \`make install' will install all the files in  #--------------------------------------------------------------------
584  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify  #  CVS Most Recent Revision Data
585  an installation prefix other than \`$ac_default_prefix' using \`--prefix',  #   Put this data after AC_INIT since we want this information
586  for instance \`--prefix=\$HOME'.  #   to also appear in configure and autoconf, when creating
587    #   configure, strips all comments that appear in configure.in
588  For better control, use the options below.  #   before AC_INIT
589    #    $Revision: 1.38 $
590  Fine tuning of the installation directories:  #    $Date: 2003/11/23 19:36:39 $
591    --bindir=DIR           user executables [EPREFIX/bin]  #    $Author: ballan $
592    --sbindir=DIR          system admin executables [EPREFIX/sbin]  #    $Source: /afs/cs.cmu.edu/project/ascend/Repository/configure.in,v $
593    --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  
594    
   cat <<\_ACEOF  
595    
596  X features:  #--------------------------------------------------------------------
597    --x-includes=DIR    X include files are in DIR  #   Where configure should look for files it needs.
598    --x-libraries=DIR   X library files are in DIR  #--------------------------------------------------------------------
599    ac_aux_dir=
600  System types:  for ac_dir in config $srcdir/config; do
601    --build=BUILD     configure for building on BUILD [guessed]    if test -f $ac_dir/install-sh; then
602    --host=HOST       cross-compile to build programs to run on HOST [BUILD]      ac_aux_dir=$ac_dir
603  _ACEOF      ac_install_sh="$ac_aux_dir/install-sh -c"
604        break
605      elif test -f $ac_dir/install.sh; then
606        ac_aux_dir=$ac_dir
607        ac_install_sh="$ac_aux_dir/install.sh -c"
608        break
609      fi
610    done
611    if test -z "$ac_aux_dir"; then
612      { echo "configure: error: can not find install-sh or install.sh in config $srcdir/config" 1>&2; exit 1; }
613  fi  fi
614    ac_config_guess=$ac_aux_dir/config.guess
615    ac_config_sub=$ac_aux_dir/config.sub
616    ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
617    
 if test -n "$ac_init_help"; then  
618    
619    cat <<\_ACEOF  #--------------------------------------------------------------------
620    #   Set the output variables prefix and exec_prefix that
621  Optional Features:  #   determine where things will be installed.
622    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)  #--------------------------------------------------------------------
623    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]  if test "${prefix}" = "NONE"; then
624        prefix=/usr/local
625    fi
626    if test "${exec_prefix}" = "NONE"; then
627        exec_prefix=$prefix
628    fi
629    
 ASCEND specific options  
630    
631  Compiler options:  #--------------------------------------------------------------------
632    --enable-gcc            allow use of gcc if avaiable  #   For the Fortran support libraries and the TCL/TK libraries
633    --enable-optimization   optimize the C code while building ascend  #   and header files, we unfortunately need the full path to
634    #   these files.  The problem with having the full path is that
635  Optional Packages:  #   if the user moves the source tree, things will break unless
636    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]  #   the user re-runs configure.
637    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)  #--------------------------------------------------------------------
   --with-x                use the X Window System  
 Location of Tcl, Tk, and tkTable:  
   --with-tcl=LIBRARY,HEADER  
                           The location of the Tcl8.0 library and/or header  
                           For a static Tcl8.0 library, give the full path:  
                               --with-tcl='/usr/local/lib/libtcl8.0.a'  
                           For a dynamic library, give any -L options required:  
                               --with-tcl='-L/usr/local/lib -ltcl8.0'  
                           To specify only the header, leave off the library:  
                               --with-tcl=',/usr/local/include/tcl.h'  
   --with-tk=LIBRARY,HEADER  
                           The location of the Tk8.0 library and/or header  
                           For a static Tk8.0 library, give the full path:  
                               --with-tk='/usr/local/lib/libtk8.3.a'  
                           For a dynamic library, give any -L options required:  
                               --with-tk='-L/usr/local/lib -ltk8.3'  
                           To specify only the header, leave off the library:  
                               --with-tk=',/usr/local/include/tk.h'  
   --with-tktable=TKTABLE  full path to a TkTable1.3 static library  
   --with-wish=/path/to/bin/wish  
                           The location of the wish shell executable matching  
                           the tcl/tk given by --with-tk and --with-tcl.  
                           X11 must be running during configure.  
 Fortran compiler and libraries:  
   --with-fortran=F77,F77LIBS  
                           The location of your Fortran compiler and its  
                           library files.  For example, under SunOS:  
                              --with-fortran='f77,-L/usr/lang/lib -lF77 -lM77'  
                           To specify only the compiler or libraries, leave off  
                           whatever is not needed:  
                               --with-fortran=',-L/usr/lang/lib -lF77 -lM77'  
                           Use '--without-fortran' to not link against  
                           any Fortran libraries  
   --with-blas=BLASLIB     The full path to the blas library.  
                           Use '--with-blas=build' to build the blas library  
                           from the sources that come with the distribution.  
   --with-linpack=LPAKLIB  The full path to the linpack library.  
                           Use '--with-linpack=build' to build the library  
                           from the sources that come with the distribution.  
   --with-lsod=LSODLIB     The full path to the lsod library.  
                           Use '--with-lsod=build' to build the lsod library  
                           from the sources that come with the distribution.  
 Generation of Makefiles:  
   --without-tkdir         do not generate Makefiles in the TK subdir  
   --without-models        do not generate Makefiles in the models subdir  
   
 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  
   
 # Do not use `cd foo && pwd` to compute absolute paths, because  
 # the directories may not exist.  
 case `pwd` in  
 .) ac_abs_builddir="$ac_dir";;  
 *)  
   case "$ac_dir" in  
   .) ac_abs_builddir=`pwd`;;  
   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;  
   *) ac_abs_builddir=`pwd`/"$ac_dir";;  
   esac;;  
 esac  
 case $ac_abs_builddir in  
 .) ac_abs_top_builddir=${ac_top_builddir}.;;  
 *)  
   case ${ac_top_builddir}. in  
   .) ac_abs_top_builddir=$ac_abs_builddir;;  
   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;  
   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;  
   esac;;  
 esac  
 case $ac_abs_builddir in  
 .) ac_abs_srcdir=$ac_srcdir;;  
 *)  
   case $ac_srcdir in  
   .) ac_abs_srcdir=$ac_abs_builddir;;  
   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;  
   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;  
   esac;;  
 esac  
 case $ac_abs_builddir in  
 .) ac_abs_top_srcdir=$ac_top_srcdir;;  
 *)  
   case $ac_top_srcdir in  
   .) ac_abs_top_srcdir=$ac_abs_builddir;;  
   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;  
   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;  
   esac;;  
 esac  
   
     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  
     else  
       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2  
     fi  
     cd $ac_popdir  
   done  
 fi  
   
 test -n "$ac_init_help" && exit 0  
 if $ac_init_version; then  
   cat <<\_ACEOF  
   
 Copyright (C) 2003 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.59.  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.  
 # Strip out --silent because we don't want to record it for future runs.  
 # Also quote any args containing shell meta-characters.  
 # Make two passes to allow for proper duplicate-argument suppression.  
 ac_configure_args=  
 ac_configure_args0=  
 ac_configure_args1=  
 ac_sep=  
 ac_must_keep_next=false  
 for ac_pass in 1 2  
 do  
   for ac_arg  
   do  
     case $ac_arg in  
     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;  
     -q | -quiet | --quiet | --quie | --qui | --qu | --q \  
     | -silent | --silent | --silen | --sile | --sil)  
       continue ;;  
     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)  
       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;  
     esac  
     case $ac_pass in  
     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;  
     2)  
       ac_configure_args1="$ac_configure_args1 '$ac_arg'"  
       if test $ac_must_keep_next = true; then  
     ac_must_keep_next=false # Got value, back to normal.  
       else  
     case $ac_arg in  
       *=* | --config-cache | -C | -disable-* | --disable-* \  
       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \  
       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \  
       | -with-* | --with-* | -without-* | --without-* | --x)  
         case "$ac_configure_args0 " in  
           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;  
         esac  
         ;;  
       -* ) ac_must_keep_next=true ;;  
     esac  
       fi  
       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"  
       # Get rid of the leading space.  
       ac_sep=" "  
       ;;  
     esac  
   done  
 done  
 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }  
 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }  
   
 # 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  
   
     cat <<\_ASBOX  
 ## ----------------- ##  
 ## Output variables. ##  
 ## ----------------- ##  
 _ASBOX  
     echo  
     for ac_var in $ac_subst_vars  
     do  
       eval ac_val=$`echo $ac_var`  
       echo "$ac_var='"'"'$ac_val'"'"'"  
     done | sort  
     echo  
   
     if test -n "$ac_subst_files"; then  
       cat <<\_ASBOX  
 ## ------------- ##  
 ## Output files. ##  
 ## ------------- ##  
 _ASBOX  
       echo  
       for ac_var in $ac_subst_files  
       do  
     eval ac_val=$`echo $ac_var`  
     echo "$ac_var='"'"'$ac_val'"'"'"  
       done | sort  
       echo  
     fi  
   
     if test -s confdefs.h; then  
       cat <<\_ASBOX  
 ## ----------- ##  
 ## confdefs.h. ##  
 ## ----------- ##  
 _ASBOX  
       echo  
       sed "/^$/d" confdefs.h | sort  
       echo  
     fi  
     test "$ac_signal" != 0 &&  
       echo "$as_me: caught signal $ac_signal"  
     echo "$as_me: exit $exit_status"  
   } >&5  
   rm -f 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"  
   fi  
 fi  
 for ac_site_file in $CONFIG_SITE; do  
   if test -r "$ac_site_file"; then  
     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5  
 echo "$as_me: loading site script $ac_site_file" >&6;}  
     sed 's/^/| /' "$ac_site_file" >&5  
     . "$ac_site_file"  
   fi  
 done  
   
   
 # 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; }; }  
 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  
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 #--------------------------------------------------------------------  
 #  CVS Most Recent Revision Data  
 #   Put this data after AC_INIT since we want this information  
 #   to also appear in configure and autoconf, when creating  
 #   configure, strips all comments that appear in configure.in  
 #   before AC_INIT  
 #    $Revision: 1.38 $  
 #    $Date: 2003/11/23 19:36:39 $  
 #    $Author: ballan $  
 #    $Source: /afs/cs.cmu.edu/project/ascend/Repository/configure.in,v $  
 #--------------------------------------------------------------------  
   
   
 #--------------------------------------------------------------------  
 #   Where configure should look for files it needs.  
 #--------------------------------------------------------------------  
 ac_aux_dir=  
 for ac_dir in config $srcdir/config; do  
   if test -f $ac_dir/install-sh; then  
     ac_aux_dir=$ac_dir  
     ac_install_sh="$ac_aux_dir/install-sh -c"  
     break  
   elif test -f $ac_dir/install.sh; then  
     ac_aux_dir=$ac_dir  
     ac_install_sh="$ac_aux_dir/install.sh -c"  
     break  
   elif test -f $ac_dir/shtool; then  
     ac_aux_dir=$ac_dir  
     ac_install_sh="$ac_aux_dir/shtool install -c"  
     break  
   fi  
 done  
 if test -z "$ac_aux_dir"; then  
   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5  
 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}  
    { (exit 1); exit 1; }; }  
 fi  
 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  
 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  
 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.  
   
   
 #--------------------------------------------------------------------  
 #   Set the output variables prefix and exec_prefix that  
 #   determine where things will be installed.  
 #--------------------------------------------------------------------  
 if test "${prefix}" = "NONE"; then  
     prefix=/usr/local  
 fi  
 if test "${exec_prefix}" = "NONE"; then  
     exec_prefix=$prefix  
 fi  
   
   
 #--------------------------------------------------------------------  
 #   For the Fortran support libraries and the TCL/TK libraries  
 #   and header files, we unfortunately need the full path to  
 #   these files.  The problem with having the full path is that  
 #   if the user moves the source tree, things will break unless  
 #   the user re-runs configure.  
 #--------------------------------------------------------------------  
638    
639  #--------------------------------------------------------------------  #--------------------------------------------------------------------
640  ##AWW  ##AWW
# Line 1453  fi Line 690  fi
690  ##AWW  ##AWW
691  ##AWW   A safe include path should assume one is a directory with any  ##AWW   A safe include path should assume one is a directory with any
692  ##AWW   of these .h and .c files and one needs to find a .h file in  ##AWW   of these .h and .c files and one needs to find a .h file in
693  ##AWW   any other of them.  The following paths should do it.  ##AWW   any other of them.  The following paths should do it.  
694  ##AWW  ##AWW  
695  ##AWW   If in compiler, general, packages, solver, utilities  ##AWW   If in compiler, general, packages, solver, utilities
696  ##AWW       ..                        for general, packages, etc  ##AWW       ..                        for general, packages, etc
697  ##AWW       ../../../tcltk98/generic  for interface  ##AWW       ../../../tcltk98/generic  for interface
# Line 1468  fi Line 705  fi
705  #   the ascend4 OBJECT directory. --rewrite - not clear.  #   the ascend4 OBJECT directory. --rewrite - not clear.
706  #AWW    To compile a new ASCEND executable, one should move into the  #AWW    To compile a new ASCEND executable, one should move into the
707  #AWW    directory in which one wants the ASCEND object/executable  #AWW    directory in which one wants the ASCEND object/executable
708  #AWW    to reside (call this objTree) and from there run  #AWW    to reside (call this objTree) and from there run
709  #AWW    ../base/unixAC213/configure.  #AWW    ../base/unixAC213/configure.
710  #AWW    In the following code asc_include is set to the path from  #AWW    In the following code asc_include is set to the path from
711    
# Line 1501  esac Line 738  esac
738  #     subdirectories.  Unfortunately, it won't work if the user  #     subdirectories.  Unfortunately, it won't work if the user
739  #     moves the source tree.  #     moves the source tree.
740  #--------------------------------------------------------------------  #--------------------------------------------------------------------
741  if test -n "$ac_tool_prefix"; then  # Extract the first word of "ranlib", so it can be a program name with args.
742    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.  set dummy ranlib; ac_word=$2
743  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
744  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo "configure:745: checking for $ac_word" >&5
745  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
746  if test "${ac_cv_prog_RANLIB+set}" = set; then    echo $ac_n "(cached) $ac_c" 1>&6
   echo $ECHO_N "(cached) $ECHO_C" >&6  
747  else  else
748    if test -n "$RANLIB"; then    if test -n "$RANLIB"; then
749    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
750  else  else
751  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
752  for as_dir in $PATH    ac_dummy="$PATH"
753  do    for ac_dir in $ac_dummy; do
754    IFS=$as_save_IFS      test -z "$ac_dir" && ac_dir=.
755    test -z "$as_dir" && as_dir=.      if test -f $ac_dir/$ac_word; then
756    for ac_exec_ext in '' $ac_executable_extensions; do        ac_cv_prog_RANLIB="ranlib"
757    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then        break
758      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"      fi
759      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    done
760      break 2    IFS="$ac_save_ifs"
761    fi    test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
 done  
 done  
   
762  fi  fi
763  fi  fi
764  RANLIB=$ac_cv_prog_RANLIB  RANLIB="$ac_cv_prog_RANLIB"
765  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
766    echo "$as_me:$LINENO: result: $RANLIB" >&5    echo "$ac_t""$RANLIB" 1>&6
 echo "${ECHO_T}$RANLIB" >&6  
767  else  else
768    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
769  fi  fi
770    
771  fi  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
772  if test -z "$ac_cv_prog_RANLIB"; then  echo "configure:773: checking whether ln -s works" >&5
773    ac_ct_RANLIB=$RANLIB  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
774    # Extract the first word of "ranlib", so it can be a program name with args.    echo $ac_n "(cached) $ac_c" 1>&6
 set dummy ranlib; 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_RANLIB+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$ac_ct_RANLIB"; then  
   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.  
775  else  else
776  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    rm -f conftestdata
777  for as_dir in $PATH  if ln -s X conftestdata 2>/dev/null
778  do  then
779    IFS=$as_save_IFS    rm -f conftestdata
780    test -z "$as_dir" && as_dir=.    ac_cv_prog_LN_S="ln -s"
   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_RANLIB="ranlib"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"  
 fi  
 fi  
 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  
 if test -n "$ac_ct_RANLIB"; then  
   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5  
 echo "${ECHO_T}$ac_ct_RANLIB" >&6  
781  else  else
782    echo "$as_me:$LINENO: result: no" >&5    ac_cv_prog_LN_S=ln
 echo "${ECHO_T}no" >&6  
783  fi  fi
   
   RANLIB=$ac_ct_RANLIB  
 else  
   RANLIB="$ac_cv_prog_RANLIB"  
784  fi  fi
785    LN_S="$ac_cv_prog_LN_S"
786  echo "$as_me:$LINENO: checking whether ln -s works" >&5  if test "$ac_cv_prog_LN_S" = "ln -s"; then
787  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6    echo "$ac_t""yes" 1>&6
 LN_S=$as_ln_s  
 if test "$LN_S" = "ln -s"; then  
   echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6  
788  else  else
789    echo "$as_me:$LINENO: result: no, using $LN_S" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no, using $LN_S" >&6  
790  fi  fi
791    
792  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
793  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6  echo "configure:794: checking whether ${MAKE-make} sets \${MAKE}" >&5
794  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
795  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
796    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
797  else  else
798    cat >conftest.make <<\_ACEOF    cat > conftestmake <<\EOF
799  all:  all:
800      @echo 'ac_maketemp="$(MAKE)"'      @echo 'ac_maketemp="${MAKE}"'
801  _ACEOF  EOF
802  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
803  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`  eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
804  if test -n "$ac_maketemp"; then  if test -n "$ac_maketemp"; then
805    eval ac_cv_prog_make_${ac_make}_set=yes    eval ac_cv_prog_make_${ac_make}_set=yes
806  else  else
807    eval ac_cv_prog_make_${ac_make}_set=no    eval ac_cv_prog_make_${ac_make}_set=no
808  fi  fi
809  rm -f conftest.make  rm -f conftestmake
810  fi  fi
811  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
812    echo "$as_me:$LINENO: result: yes" >&5    echo "$ac_t""yes" 1>&6
 echo "${ECHO_T}yes" >&6  
813    SET_MAKE=    SET_MAKE=
814  else  else
815    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
816    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
817  fi  fi
818    
# Line 1628  fi Line 823  fi
823  # SunOS /usr/etc/install  # SunOS /usr/etc/install
824  # IRIX /sbin/install  # IRIX /sbin/install
825  # AIX /bin/install  # AIX /bin/install
 # AmigaOS /C/install, which installs bootblocks on floppy discs  
826  # 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
827  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
828  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 # OS/2's system install, which has a completely different semantic  
829  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
830  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
831  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6  echo "configure:832: checking for a BSD compatible install" >&5
832  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
833  if test "${ac_cv_path_install+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
834    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
835  else  else
836    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR      IFS="${IFS=     }"; ac_save_IFS="$IFS"; IFS=":"
837  for as_dir in $PATH    for ac_dir in $PATH; do
838  do      # Account for people who put trailing slashes in PATH elements.
839    IFS=$as_save_IFS      case "$ac_dir/" in
840    test -z "$as_dir" && as_dir=.      /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
841    # Account for people who put trailing slashes in PATH elements.      *)
842  case $as_dir/ in        # OSF1 and SCO ODT 3.0 have their own names for install.
843    ./ | .// | /cC/* | \        # Don't use installbsd from OSF since it installs stuff as root
844    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \        # by default.
845    ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \        for ac_prog in ginstall scoinst install; do
846    /usr/ucb/* ) ;;          if test -f $ac_dir/$ac_prog; then
   *)  
     # OSF1 and SCO ODT 3.0 have their own names for install.  
     # Don't use installbsd from OSF since it installs stuff as root  
     # by default.  
     for ac_prog in ginstall scoinst install; do  
       for ac_exec_ext in '' $ac_executable_extensions; do  
     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then  
847        if test $ac_prog = install &&        if test $ac_prog = install &&
848          grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then              grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
849          # AIX install.  It has an incompatible calling convention.          # AIX install.  It has an incompatible calling convention.
850          :          :
       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.  
         :  
851        else        else
852          ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"          ac_cv_path_install="$ac_dir/$ac_prog -c"
853          break 3          break 2
854        fi        fi
855      fi      fi
856        done        done
857      done        ;;
858      ;;      esac
859  esac    done
860  done    IFS="$ac_save_IFS"
   
861    
862  fi  fi
863    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
864      INSTALL=$ac_cv_path_install      INSTALL="$ac_cv_path_install"
865    else    else
866      # 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
867      # path for INSTALL within a source directory, because that will      # path for INSTALL within a source directory, because that will
868      # break other packages using the cache if that directory is      # break other packages using the cache if that directory is
869      # removed, or if the path is relative.      # removed, or if the path is relative.
870      INSTALL=$ac_install_sh      INSTALL="$ac_install_sh"
871    fi    fi
872  fi  fi
873  echo "$as_me:$LINENO: result: $INSTALL" >&5  echo "$ac_t""$INSTALL" 1>&6
 echo "${ECHO_T}$INSTALL" >&6  
874    
875  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
876  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
877  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
878    
879  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
880    
881  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
882    
# Line 1713  esac Line 893  esac
893  #--------------------------------------------------------------------  #--------------------------------------------------------------------
894  #   Get the host type for various checks along the way  #   Get the host type for various checks along the way
895  #--------------------------------------------------------------------  #--------------------------------------------------------------------
896    
897  # Make sure we can run config.sub.  # Make sure we can run config.sub.
898  $ac_config_sub sun4 >/dev/null 2>&1 ||  if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
899    { { 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; }
900  echo "$as_me: error: cannot run $ac_config_sub" >&2;}  fi
901     { (exit 1); exit 1; }; }  
902    echo $ac_n "checking host system type""... $ac_c" 1>&6
903  echo "$as_me:$LINENO: checking build system type" >&5  echo "configure:904: checking host system type" >&5
904  echo $ECHO_N "checking build system type... $ECHO_C" >&6  
905  if test "${ac_cv_build+set}" = set; then  host_alias=$host
906    echo $ECHO_N "(cached) $ECHO_C" >&6  case "$host_alias" in
907  else  NONE)
908    ac_cv_build_alias=$build_alias    case $nonopt in
909  test -z "$ac_cv_build_alias" &&    NONE)
910    ac_cv_build_alias=`$ac_config_guess`      if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
911  test -z "$ac_cv_build_alias" &&      else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
912    { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5      fi ;;
913  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}    *) host_alias=$nonopt ;;
914     { (exit 1); exit 1; }; }    esac ;;
915  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||  esac
   { { 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/'`  
916    
917    host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
918    host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
919    host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
920    host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
921    echo "$ac_t""$host" 1>&6
922    
923    
924    
# Line 1798  if test "${enable_gcc+set}" = set; then Line 951  if test "${enable_gcc+set}" = set; then
951    asc_gcc_ok=$enableval    asc_gcc_ok=$enableval
952  else  else
953    asc_gcc_ok=no    asc_gcc_ok=no
954  fi;  fi
955    
956  if test ! "$asc_gcc_ok" = "yes"; then  if test ! "$asc_gcc_ok" = "yes"; then
957      CC=${CC-cc}      CC=${CC-cc}
958  fi  fi
# Line 1807  asc_orig_cc=$CC Line 961  asc_orig_cc=$CC
961  if test "X$asc_gcc_ok" = "Xyes" ; then  if test "X$asc_gcc_ok" = "Xyes" ; then
962      asc_ansi_ok=yes      asc_ansi_ok=yes
963  else  else
964      echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5      echo $ac_n "checking whether $CC understands const, void*, and function prototypes""... $ac_c" 1>&6
965  echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6  echo "configure:966: checking whether $CC understands const, void*, and function prototypes" >&5
966      ac_ext=c      cat > conftest.$ac_ext <<EOF
967  ac_cpp='$CPP $CPPFLAGS'  #line 968 "configure"
968  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  #include "confdefs.h"
969  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
970  ac_compiler_gnu=$ac_cv_c_compiler_gnu  int main() {
 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  
971    
972              int tstproto(int arg1, char * arg2);
973              int tstconst(const int arg1, const char *arg2);
974              int tstvoidp(const int arg1, const void *arg2);
975    ; return 0; }
976    EOF
977    if { (eval echo configure:978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
978      rm -rf conftest*
979       asc_ansi_ok=yes
980    else
981      echo "configure: failed program was:" >&5
982      cat conftest.$ac_ext >&5
983      rm -rf conftest*
984       asc_ansi_ok=no
985  fi  fi
986    rm -f conftest*
987        echo "$ac_t""$asc_ansi_ok" 1>&6
988  fi  fi
989  CC=$ac_cv_prog_CC  
990  if test -n "$CC"; then  if test "$asc_ansi_ok" = no ; then
991    echo "$as_me:$LINENO: result: $CC" >&5      # Extract the first word of "c89", so it can be a program name with args.
992  echo "${ECHO_T}$CC" >&6  set dummy c89; ac_word=$2
993    echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
994    echo "configure:995: checking for $ac_word" >&5
995    if eval "test \"`echo '$''{'ac_cv_prog_asc_cc1'+set}'`\" = set"; then
996      echo $ac_n "(cached) $ac_c" 1>&6
997  else  else
998    echo "$as_me:$LINENO: result: no" >&5    if test -n "$asc_cc1"; then
999  echo "${ECHO_T}no" >&6    ac_cv_prog_asc_cc1="$asc_cc1" # Let the user override the test.
1000    else
1001      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1002      ac_dummy="$PATH"
1003      for ac_dir in $ac_dummy; do
1004        test -z "$ac_dir" && ac_dir=.
1005        if test -f $ac_dir/$ac_word; then
1006          ac_cv_prog_asc_cc1="c89"
1007          break
1008        fi
1009      done
1010      IFS="$ac_save_ifs"
1011      test -z "$ac_cv_prog_asc_cc1" && ac_cv_prog_asc_cc1="NONE"
1012  fi  fi
   
1013  fi  fi
1014  if test -z "$ac_cv_prog_CC"; then  asc_cc1="$ac_cv_prog_asc_cc1"
1015    ac_ct_CC=$CC  if test -n "$asc_cc1"; then
1016    # Extract the first word of "gcc", so it can be a program name with args.    echo "$ac_t""$asc_cc1" 1>&6
 set dummy 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_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.  
1017  else  else
1018  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    echo "$ac_t""no" 1>&6
 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  
 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}cc"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
 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  
   
 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  
 else  
   CC="$ac_cv_prog_CC"  
 fi  
   
 fi  
 if test -z "$CC"; then  
   # 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_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  
   ac_prog_rejected=no  
 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  
     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then  
        ac_prog_rejected=yes  
        continue  
      fi  
     ac_cv_prog_CC="cc"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
 if test $ac_prog_rejected = yes; then  
   # We found a bogon in the path, so make sure we never use it.  
   set dummy $ac_cv_prog_CC  
   shift  
   if test $# != 0; then  
     # We chose a different compiler from the bogus one.  
     # However, it has the same basename, so the bogon will be chosen  
     # first if we set CC to just the basename; use the full file name.  
     shift  
     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"  
   fi  
 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  
   
 fi  
 if test -z "$CC"; then  
   if test -n "$ac_tool_prefix"; then  
   for ac_prog in cl  
   do  
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.  
 set dummy $ac_tool_prefix$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_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$ac_prog"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
 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  
   
     test -n "$CC" && break  
   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  
   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  
   
   test -n "$ac_ct_CC" && break  
 done  
   
   CC=$ac_ct_CC  
 fi  
   
 fi  
   
   
 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH  
 See \`config.log' for more details." >&5  
 echo "$as_me: error: no acceptable C compiler found in \$PATH  
 See \`config.log' for more details." >&2;}  
    { (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  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 int  
 main ()  
 {  
   
   ;  
   return 0;  
 }  
 _ACEOF  
 ac_clean_files_save=$ac_clean_files  
 ac_clean_files="$ac_clean_files a.out a.exe b.out"  
 # Try to create an executable without -o first, disregard a.out.  
 # It will help us diagnose broken compilers, and finding out an intuition  
 # of exeext.  
 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5  
 echo $ECHO_N "checking for C compiler default output file name... $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=  
 # b.out is created by i960 compilers.  
 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out  
 do  
   test -f "$ac_file" || continue  
   case $ac_file in  
     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )  
     ;;  
     conftest.$ac_ext )  
     # This is the source file.  
     ;;  
     [ab].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,  
     # but it would be cool to find out if it's true.  Does anybody  
     # maintain Libtool? --akim.  
     export ac_cv_exeext  
     break;;  
     * )  
     break;;  
   esac  
 done  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 { { echo "$as_me:$LINENO: error: C compiler cannot create executables  
 See \`config.log' for more details." >&5  
 echo "$as_me: error: C compiler cannot create executables  
 See \`config.log' for more details." >&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  
   else  
     if test "$cross_compiling" = maybe; then  
     cross_compiling=yes  
     else  
     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.  
 If you meant to cross compile, use \`--host'.  
 See \`config.log' for more details." >&5  
 echo "$as_me: error: cannot run C compiled programs.  
 If you meant to cross compile, use \`--host'.  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }  
     fi  
   fi  
 fi  
 echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6  
   
 rm -f a.out a.exe conftest$ac_cv_exeext b.out  
 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 conftest.exe conftest conftest.*; do  
   test -f "$ac_file" || continue  
   case $ac_file in  
     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;  
     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`  
       export ac_cv_exeext  
       break;;  
     * ) break;;  
   esac  
 done  
 else  
   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link  
 See \`config.log' for more details." >&5  
 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }  
 fi  
   
 rm -f conftest$ac_cv_exeext  
 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5  
 echo "${ECHO_T}$ac_cv_exeext" >&6  
   
 rm -f conftest.$ac_ext  
 EXEEXT=$ac_cv_exeext  
 ac_exeext=$EXEEXT  
 echo "$as_me:$LINENO: checking for suffix of object files" >&5  
 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6  
 if test "${ac_cv_objext+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 int  
 main ()  
 {  
   
   ;  
   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 | *.xSYM | *.bb | *.bbg ) ;;  
     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`  
        break;;  
   esac  
 done  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile  
 See \`config.log' for more details." >&5  
 echo "$as_me: error: cannot compute suffix of object files: cannot compile  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }  
 fi  
   
 rm -f conftest.$ac_cv_objext conftest.$ac_ext  
 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  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 int  
 main ()  
 {  
 #ifndef __GNUC__  
        choke me  
 #endif  
   
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_compiler_gnu=no  
 fi  
 rm -f conftest.err 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  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 int  
 main ()  
 {  
   
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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_cv_prog_cc_g=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_prog_cc_g=no  
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  
 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  
 if test "$ac_test_CFLAGS" = set; then  
   CFLAGS=$ac_save_CFLAGS  
 elif test $ac_cv_prog_cc_g = yes; then  
   if test "$GCC" = yes; then  
     CFLAGS="-g -O2"  
   else  
     CFLAGS="-g"  
   fi  
 else  
   if test "$GCC" = yes; then  
     CFLAGS="-O2"  
   else  
     CFLAGS=  
   fi  
 fi  
 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5  
 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6  
 if test "${ac_cv_prog_cc_stdc+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_cv_prog_cc_stdc=no  
 ac_save_CC=$CC  
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <stdarg.h>  
 #include <stdio.h>  
 #include <sys/types.h>  
 #include <sys/stat.h>  
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */  
 struct buf { int x; };  
 FILE * (*rcsopen) (struct buf *, struct stat *, int);  
 static char *e (p, i)  
      char **p;  
      int i;  
 {  
   return p[i];  
 }  
 static char *f (char * (*g) (char **, int), char **p, ...)  
 {  
   char *s;  
   va_list v;  
   va_start (v,p);  
   s = g (p, va_arg (v,int));  
   va_end (v);  
   return s;  
 }  
   
 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has  
    function prototypes and stuff, but not '\xHH' hex character constants.  
    These don't provoke an error unfortunately, instead are silently treated  
    as 'x'.  The following induces an error, until -std1 is added to get  
    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an  
    array size at least.  It's necessary to write '\x00'==0 to get something  
    that's true only with -std1.  */  
 int osf4_cc_array ['\x00' == 0 ? 1 : -1];  
   
 int test (int i, double x);  
 struct s1 {int (*f) (int a);};  
 struct s2 {int (*f) (double a);};  
 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);  
 int argc;  
 char **argv;  
 int  
 main ()  
 {  
 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];  
   ;  
   return 0;  
 }  
 _ACEOF  
 # Don't try gcc -ansi; that turns off useful extensions and  
 # breaks some systems' header files.  
 # AIX           -qlanglvl=ansi  
 # Ultrix and OSF/1  -std1  
 # HP-UX 10.20 and later -Ae  
 # HP-UX older versions  -Aa -D_HPUX_SOURCE  
 # SVR4          -Xc -D__EXTENSIONS__  
 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"  
 do  
   CC="$ac_save_CC $ac_arg"  
   rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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_cv_prog_cc_stdc=$ac_arg  
 break  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 fi  
 rm -f conftest.err conftest.$ac_objext  
 done  
 rm -f conftest.$ac_ext conftest.$ac_objext  
 CC=$ac_save_CC  
   
 fi  
   
 case "x$ac_cv_prog_cc_stdc" in  
   x|xno)  
     echo "$as_me:$LINENO: result: none needed" >&5  
 echo "${ECHO_T}none needed" >&6 ;;  
   *)  
     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5  
 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6  
     CC="$CC $ac_cv_prog_cc_stdc" ;;  
 esac  
   
 # 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>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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 \  
    '' \  
    '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  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_declaration  
 #include <stdlib.h>  
 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>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 continue  
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_declaration  
 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>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 fi  
 rm -f conftest.err 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  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 fi  
 rm -f conftest.err 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  
   
   
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 int  
 main ()  
 {  
   
           int tstproto(int arg1, char * arg2);  
           int tstconst(const int arg1, const char *arg2);  
           int tstvoidp(const int arg1, const void *arg2);  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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  
    asc_ansi_ok=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
  asc_ansi_ok=no  
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
     echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5  
 echo "${ECHO_T}$asc_ansi_ok" >&6  
 fi  
   
 if test "$asc_ansi_ok" = no ; then  
     # Extract the first word of "c89", so it can be a program name with args.  
 set dummy c89; 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_asc_cc1+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$asc_cc1"; then  
   ac_cv_prog_asc_cc1="$asc_cc1" # 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_asc_cc1="c89"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
   test -z "$ac_cv_prog_asc_cc1" && ac_cv_prog_asc_cc1="NONE"  
 fi  
 fi  
 asc_cc1=$ac_cv_prog_asc_cc1  
 if test -n "$asc_cc1"; then  
   echo "$as_me:$LINENO: result: $asc_cc1" >&5  
 echo "${ECHO_T}$asc_cc1" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
1019  fi  fi
1020    
1021      if test ! "$asc_cc1" = NONE ; then      if test ! "$asc_cc1" = NONE ; then
1022          CC=$asc_cc1          CC=$asc_cc1
1023          echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5          echo $ac_n "checking whether $CC understands const, void*, and function prototypes""... $ac_c" 1>&6
1024  echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6  echo "configure:1025: checking whether $CC understands const, void*, and function prototypes" >&5
1025          cat >conftest.$ac_ext <<_ACEOF          cat > conftest.$ac_ext <<EOF
1026  /* confdefs.h.  */  #line 1027 "configure"
1027  _ACEOF  #include "confdefs.h"
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
1028    
1029  int  int main() {
 main ()  
 {  
1030    
1031                int tstproto(int arg1, char * arg2);                int tstproto(int arg1, char * arg2);
1032                int tstconst(const int arg1, const char *arg2);                int tstconst(const int arg1, const char *arg2);
1033                int tstvoidp(const int arg1, const void *arg2);                int tstvoidp(const int arg1, const void *arg2);
1034    ;  ; return 0; }
1035    return 0;  EOF
1036  }  if { (eval echo configure:1037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1037  _ACEOF    rm -rf conftest*
1038  rm -f conftest.$ac_objext     asc_ansi_ok=yes
1039  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  else
1040    (eval $ac_compile) 2>conftest.er1    echo "configure: failed program was:" >&5
1041    ac_status=$?    cat conftest.$ac_ext >&5
1042    grep -v '^ *+' conftest.er1 >conftest.err    rm -rf conftest*
1043    rm -f conftest.er1     asc_ansi_ok=no
1044    cat conftest.err >&5  fi
1045    echo "$as_me:$LINENO: \$? = $ac_status" >&5  rm -f conftest*
1046    (exit $ac_status); } &&          echo "$ac_t""$asc_ansi_ok" 1>&6
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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  
    asc_ansi_ok=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
  asc_ansi_ok=no  
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
         echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5  
 echo "${ECHO_T}$asc_ansi_ok" >&6  
1047      fi      fi
1048  fi  fi
1049    
1050  if test "$asc_ansi_ok" = no ; then  if test "$asc_ansi_ok" = no ; then
1051      # Extract the first word of "xlc", so it can be a program name with args.      # Extract the first word of "xlc", so it can be a program name with args.
1052  set dummy xlc; ac_word=$2  set dummy xlc; ac_word=$2
1053  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1054  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo "configure:1055: checking for $ac_word" >&5
1055  if test "${ac_cv_prog_asc_cc2+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_prog_asc_cc2'+set}'`\" = set"; then
1056    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
1057  else  else
1058    if test -n "$asc_cc2"; then    if test -n "$asc_cc2"; then
1059    ac_cv_prog_asc_cc2="$asc_cc2" # Let the user override the test.    ac_cv_prog_asc_cc2="$asc_cc2" # Let the user override the test.
1060  else  else
1061  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1062  for as_dir in $PATH    ac_dummy="$PATH"
1063  do    for ac_dir in $ac_dummy; do
1064    IFS=$as_save_IFS      test -z "$ac_dir" && ac_dir=.
1065    test -z "$as_dir" && as_dir=.      if test -f $ac_dir/$ac_word; then
1066    for ac_exec_ext in '' $ac_executable_extensions; do        ac_cv_prog_asc_cc2="xlc"
1067    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then        break
1068      ac_cv_prog_asc_cc2="xlc"      fi
1069      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    done
1070      break 2    IFS="$ac_save_ifs"
   fi  
 done  
 done  
   
1071    test -z "$ac_cv_prog_asc_cc2" && ac_cv_prog_asc_cc2="NONE"    test -z "$ac_cv_prog_asc_cc2" && ac_cv_prog_asc_cc2="NONE"
1072  fi  fi
1073  fi  fi
1074  asc_cc2=$ac_cv_prog_asc_cc2  asc_cc2="$ac_cv_prog_asc_cc2"
1075  if test -n "$asc_cc2"; then  if test -n "$asc_cc2"; then
1076    echo "$as_me:$LINENO: result: $asc_cc2" >&5    echo "$ac_t""$asc_cc2" 1>&6
 echo "${ECHO_T}$asc_cc2" >&6  
1077  else  else
1078    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
1079  fi  fi
1080    
1081      if test ! "$asc_cc2" = NONE ; then      if test ! "$asc_cc2" = NONE ; then
1082          CC=$asc_cc2          CC=$asc_cc2
1083          echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5          echo $ac_n "checking whether $CC understands const, void*, and function prototypes""... $ac_c" 1>&6
1084  echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6  echo "configure:1085: checking whether $CC understands const, void*, and function prototypes" >&5
1085          cat >conftest.$ac_ext <<_ACEOF          cat > conftest.$ac_ext <<EOF
1086  /* confdefs.h.  */  #line 1087 "configure"
1087  _ACEOF  #include "confdefs.h"
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
1088    
1089  int  int main() {
 main ()  
 {  
1090    
1091                int tstproto(int arg1, char * arg2);                int tstproto(int arg1, char * arg2);
1092                int tstconst(const int arg1, const char *arg2);                int tstconst(const int arg1, const char *arg2);
1093                int tstvoidp(const int arg1, const void *arg2);                int tstvoidp(const int arg1, const void *arg2);
1094    ;  ; return 0; }
1095    return 0;  EOF
1096  }  if { (eval echo configure:1097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1097  _ACEOF    rm -rf conftest*
1098  rm -f conftest.$ac_objext     asc_ansi_ok=yes
1099  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  else
1100    (eval $ac_compile) 2>conftest.er1    echo "configure: failed program was:" >&5
1101    ac_status=$?    cat conftest.$ac_ext >&5
1102    grep -v '^ *+' conftest.er1 >conftest.err    rm -rf conftest*
1103    rm -f conftest.er1     asc_ansi_ok=no
1104    cat conftest.err >&5  fi
1105    echo "$as_me:$LINENO: \$? = $ac_status" >&5  rm -f conftest*
1106    (exit $ac_status); } &&          echo "$ac_t""$asc_ansi_ok" 1>&6
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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  
    asc_ansi_ok=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
  asc_ansi_ok=no  
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
         echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5  
 echo "${ECHO_T}$asc_ansi_ok" >&6  
1107      fi      fi
1108  fi  fi
1109    
1110  if test "$asc_ansi_ok" = no ; then  if test "$asc_ansi_ok" = no ; then
1111      # Extract the first word of "acc", so it can be a program name with args.      # Extract the first word of "acc", so it can be a program name with args.
1112  set dummy acc; ac_word=$2  set dummy acc; ac_word=$2
1113  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1114  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo "configure:1115: checking for $ac_word" >&5
1115  if test "${ac_cv_prog_asc_cc3+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_prog_asc_cc3'+set}'`\" = set"; then
1116    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
1117  else  else
1118    if test -n "$asc_cc3"; then    if test -n "$asc_cc3"; then
1119    ac_cv_prog_asc_cc3="$asc_cc3" # Let the user override the test.    ac_cv_prog_asc_cc3="$asc_cc3" # Let the user override the test.
1120  else  else
1121  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1122  for as_dir in $PATH    ac_dummy="$PATH"
1123  do    for ac_dir in $ac_dummy; do
1124    IFS=$as_save_IFS      test -z "$ac_dir" && ac_dir=.
1125    test -z "$as_dir" && as_dir=.      if test -f $ac_dir/$ac_word; then
1126    for ac_exec_ext in '' $ac_executable_extensions; do        ac_cv_prog_asc_cc3="acc"
1127    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then        break
1128      ac_cv_prog_asc_cc3="acc"      fi
1129      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    done
1130      break 2    IFS="$ac_save_ifs"
   fi  
 done  
 done  
   
1131    test -z "$ac_cv_prog_asc_cc3" && ac_cv_prog_asc_cc3="NONE"    test -z "$ac_cv_prog_asc_cc3" && ac_cv_prog_asc_cc3="NONE"
1132  fi  fi
1133  fi  fi
1134  asc_cc3=$ac_cv_prog_asc_cc3  asc_cc3="$ac_cv_prog_asc_cc3"
1135  if test -n "$asc_cc3"; then  if test -n "$asc_cc3"; then
1136    echo "$as_me:$LINENO: result: $asc_cc3" >&5    echo "$ac_t""$asc_cc3" 1>&6
 echo "${ECHO_T}$asc_cc3" >&6  
1137  else  else
1138    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
1139  fi  fi
1140    
1141      if test ! "$asc_cc3" = NONE ; then      if test ! "$asc_cc3" = NONE ; then
1142          CC=$asc_cc3          CC=$asc_cc3
1143          echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5          echo $ac_n "checking whether $CC understands const, void*, and function prototypes""... $ac_c" 1>&6
1144  echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6  echo "configure:1145: checking whether $CC understands const, void*, and function prototypes" >&5
1145          cat >conftest.$ac_ext <<_ACEOF          cat > conftest.$ac_ext <<EOF
1146  /* confdefs.h.  */  #line 1147 "configure"
1147  _ACEOF  #include "confdefs.h"
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
1148    
1149  int  int main() {
 main ()  
 {  
1150    
1151                int tstproto(int arg1, char * arg2);                int tstproto(int arg1, char * arg2);
1152                int tstconst(const int arg1, const char *arg2);                int tstconst(const int arg1, const char *arg2);
1153                int tstvoidp(const int arg1, const void *arg2);                int tstvoidp(const int arg1, const void *arg2);
1154    ;  ; return 0; }
1155    return 0;  EOF
1156  }  if { (eval echo configure:1157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1157  _ACEOF    rm -rf conftest*
1158  rm -f conftest.$ac_objext     asc_ansi_ok=yes
1159  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  else
1160    (eval $ac_compile) 2>conftest.er1    echo "configure: failed program was:" >&5
1161    ac_status=$?    cat conftest.$ac_ext >&5
1162    grep -v '^ *+' conftest.er1 >conftest.err    rm -rf conftest*
1163    rm -f conftest.er1     asc_ansi_ok=no
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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  
    asc_ansi_ok=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
  asc_ansi_ok=no  
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
         echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5  
 echo "${ECHO_T}$asc_ansi_ok" >&6  
     fi  
 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  
   
 fi  
1164  fi  fi
1165  CC=$ac_cv_prog_CC  rm -f conftest*
1166  if test -n "$CC"; then          echo "$ac_t""$asc_ansi_ok" 1>&6
1167    echo "$as_me:$LINENO: result: $CC" >&5      fi
 echo "${ECHO_T}$CC" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
1168  fi  fi
1169    
1170  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.  
1171  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1172  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1173  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo "configure:1174: checking for $ac_word" >&5
1174  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1175    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  
1176  else  else
1177    if test -n "$CC"; then    if test -n "$CC"; then
1178    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1179  else  else
1180  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1181  for as_dir in $PATH    ac_dummy="$PATH"
1182  do    for ac_dir in $ac_dummy; do
1183    IFS=$as_save_IFS      test -z "$ac_dir" && ac_dir=.
1184    test -z "$as_dir" && as_dir=.      if test -f $ac_dir/$ac_word; then
1185    for ac_exec_ext in '' $ac_executable_extensions; do        ac_cv_prog_CC="gcc"
1186    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then        break
1187      ac_cv_prog_CC="${ac_tool_prefix}cc"      fi
1188      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    done
1189      break 2    IFS="$ac_save_ifs"
   fi  
 done  
 done  
   
1190  fi  fi
1191  fi  fi
1192  CC=$ac_cv_prog_CC  CC="$ac_cv_prog_CC"
1193  if test -n "$CC"; then  if test -n "$CC"; then
1194    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  
1195  else  else
1196    CC="$ac_cv_prog_CC"    echo "$ac_t""no" 1>&6
1197  fi  fi
1198    
 fi  
1199  if test -z "$CC"; then  if test -z "$CC"; then
1200    # 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.
1201  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1202  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1203  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo "configure:1204: checking for $ac_word" >&5
1204  if test "${ac_cv_prog_CC+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1205    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
1206  else  else
1207    if test -n "$CC"; then    if test -n "$CC"; then
1208    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1209  else  else
1210      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1211    ac_prog_rejected=no    ac_prog_rejected=no
1212  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    ac_dummy="$PATH"
1213  for as_dir in $PATH    for ac_dir in $ac_dummy; do
1214  do      test -z "$ac_dir" && ac_dir=.
1215    IFS=$as_save_IFS      if test -f $ac_dir/$ac_word; then
1216    test -z "$as_dir" && as_dir=.        if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1217    for ac_exec_ext in '' $ac_executable_extensions; do          ac_prog_rejected=yes
1218    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then      continue
1219      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then        fi
1220         ac_prog_rejected=yes        ac_cv_prog_CC="cc"
1221         continue        break
1222       fi      fi
1223      ac_cv_prog_CC="cc"    done
1224      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    IFS="$ac_save_ifs"
     break 2  
   fi  
 done  
 done  
   
1225  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
1226    # 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.
1227    set dummy $ac_cv_prog_CC    set dummy $ac_cv_prog_CC
1228    shift    shift
1229    if test $# != 0; then    if test $# -gt 0; then
1230      # We chose a different compiler from the bogus one.      # We chose a different compiler from the bogus one.
1231      # However, it has the same basename, so the bogon will be chosen      # However, it has the same basename, so the bogon will be chosen
1232      # 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.
1233      shift      shift
1234      ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"      set dummy "$ac_dir/$ac_word" "$@"
1235        shift
1236        ac_cv_prog_CC="$@"
1237    fi    fi
1238  fi  fi
1239  fi  fi
1240  fi  fi
1241  CC=$ac_cv_prog_CC  CC="$ac_cv_prog_CC"
1242  if test -n "$CC"; then  if test -n "$CC"; then
1243    echo "$as_me:$LINENO: result: $CC" >&5    echo "$ac_t""$CC" 1>&6
 echo "${ECHO_T}$CC" >&6  
1244  else  else
1245    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
1246  fi  fi
1247    
1248  fi    if test -z "$CC"; then
1249  if test -z "$CC"; then      case "`uname -s`" in
1250    if test -n "$ac_tool_prefix"; then      *win32* | *WIN32*)
1251    for ac_prog in cl        # Extract the first word of "cl", so it can be a program name with args.
1252    do  set dummy cl; ac_word=$2
1253      # 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
1254  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  echo "configure:1255: checking for $ac_word" >&5
1255  echo "$as_me:$LINENO: checking for $ac_word" >&5  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1256  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  
1257  else  else
1258    if test -n "$CC"; then    if test -n "$CC"; then
1259    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1260  else  else
1261  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1262  for as_dir in $PATH    ac_dummy="$PATH"
1263  do    for ac_dir in $ac_dummy; do
1264    IFS=$as_save_IFS      test -z "$ac_dir" && ac_dir=.
1265    test -z "$as_dir" && as_dir=.      if test -f $ac_dir/$ac_word; then
1266    for ac_exec_ext in '' $ac_executable_extensions; do        ac_cv_prog_CC="cl"
1267    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then        break
1268      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"      fi
1269      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    done
1270      break 2    IFS="$ac_save_ifs"
   fi  
 done  
 done  
   
1271  fi  fi
1272  fi  fi
1273  CC=$ac_cv_prog_CC  CC="$ac_cv_prog_CC"
1274  if test -n "$CC"; then  if test -n "$CC"; then
1275    echo "$as_me:$LINENO: result: $CC" >&5    echo "$ac_t""$CC" 1>&6
 echo "${ECHO_T}$CC" >&6  
1276  else  else
1277    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
 fi  
   
     test -n "$CC" && break  
   done  
1278  fi  fi
1279  if test -z "$CC"; then   ;;
1280    ac_ct_CC=$CC      esac
   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  
1281    fi    fi
1282  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  
1283  fi  fi
1284    
1285    test -n "$ac_ct_CC" && break  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1286  done  echo "configure:1287: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1287    
1288    CC=$ac_ct_CC  ac_ext=c
1289    # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1290    ac_cpp='$CPP $CPPFLAGS'
1291    ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1292    ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1293    cross_compiling=$ac_cv_prog_cc_cross
1294    
1295    cat > conftest.$ac_ext << EOF
1296    
1297    #line 1298 "configure"
1298    #include "confdefs.h"
1299    
1300    main(){return(0);}
1301    EOF
1302    if { (eval echo configure:1303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1303      ac_cv_prog_cc_works=yes
1304      # If we can't run a trivial program, we are probably using a cross compiler.
1305      if (./conftest; exit) 2>/dev/null; then
1306        ac_cv_prog_cc_cross=no
1307      else
1308        ac_cv_prog_cc_cross=yes
1309      fi
1310    else
1311      echo "configure: failed program was:" >&5
1312      cat conftest.$ac_ext >&5
1313      ac_cv_prog_cc_works=no
1314  fi  fi
1315    rm -fr conftest*
1316    ac_ext=c
1317    # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1318    ac_cpp='$CPP $CPPFLAGS'
1319    ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1320    ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1321    cross_compiling=$ac_cv_prog_cc_cross
1322    
1323    echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1324    if test $ac_cv_prog_cc_works = no; then
1325      { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1326  fi  fi
1327    echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1328    echo "configure:1329: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1329    echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1330    cross_compiling=$ac_cv_prog_cc_cross
1331    
1332    echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1333  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH  echo "configure:1334: checking whether we are using GNU C" >&5
1334  See \`config.log' for more details." >&5  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1335  echo "$as_me: error: no acceptable C compiler found in \$PATH    echo $ac_n "(cached) $ac_c" 1>&6
 See \`config.log' for more details." >&2;}  
    { (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); }  
   
 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  
1336  else  else
1337    cat >conftest.$ac_ext <<_ACEOF    cat > conftest.c <<EOF
1338  /* confdefs.h.  */  #ifdef __GNUC__
1339  _ACEOF    yes;
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 int  
 main ()  
 {  
 #ifndef __GNUC__  
        choke me  
1340  #endif  #endif
1341    EOF
1342    ;  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1343    return 0;    ac_cv_prog_gcc=yes
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_compiler_gnu=no  
 fi  
 rm -f conftest.err 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  
1344  else  else
1345    cat >conftest.$ac_ext <<_ACEOF    ac_cv_prog_gcc=no
1346  /* confdefs.h.  */  fi
1347  _ACEOF  fi
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
1348    
1349  int  echo "$ac_t""$ac_cv_prog_gcc" 1>&6
 main ()  
 {  
1350    
1351    ;  if test $ac_cv_prog_gcc = yes; then
1352    return 0;    GCC=yes
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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_cv_prog_cc_g=yes  
1353  else  else
1354    echo "$as_me: failed program was:" >&5    GCC=
1355  sed 's/^/| /' conftest.$ac_ext >&5  fi
1356    
1357  ac_cv_prog_cc_g=no  ac_test_CFLAGS="${CFLAGS+set}"
1358    ac_save_CFLAGS="$CFLAGS"
1359    CFLAGS=
1360    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1361    echo "configure:1362: checking whether ${CC-cc} accepts -g" >&5
1362    if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1363      echo $ac_n "(cached) $ac_c" 1>&6
1364    else
1365      echo 'void f(){}' > conftest.c
1366    if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1367      ac_cv_prog_cc_g=yes
1368    else
1369      ac_cv_prog_cc_g=no
1370  fi  fi
1371  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f conftest*
1372    
1373  fi  fi
1374  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  
1375  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1376  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
1377    CFLAGS=$ac_save_CFLAGS    CFLAGS="$ac_save_CFLAGS"
1378  elif test $ac_cv_prog_cc_g = yes; then  elif test $ac_cv_prog_cc_g = yes; then
1379    if test "$GCC" = yes; then    if test "$GCC" = yes; then
1380      CFLAGS="-g -O2"      CFLAGS="-g -O2"
# Line 3539  else Line 1388  else
1388      CFLAGS=      CFLAGS=
1389    fi    fi
1390  fi  fi
 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5  
 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6  
 if test "${ac_cv_prog_cc_stdc+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_cv_prog_cc_stdc=no  
 ac_save_CC=$CC  
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <stdarg.h>  
 #include <stdio.h>  
 #include <sys/types.h>  
 #include <sys/stat.h>  
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */  
 struct buf { int x; };  
 FILE * (*rcsopen) (struct buf *, struct stat *, int);  
 static char *e (p, i)  
      char **p;  
      int i;  
 {  
   return p[i];  
 }  
 static char *f (char * (*g) (char **, int), char **p, ...)  
 {  
   char *s;  
   va_list v;  
   va_start (v,p);  
   s = g (p, va_arg (v,int));  
   va_end (v);  
   return s;  
 }  
   
 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has  
    function prototypes and stuff, but not '\xHH' hex character constants.  
    These don't provoke an error unfortunately, instead are silently treated  
    as 'x'.  The following induces an error, until -std1 is added to get  
    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an  
    array size at least.  It's necessary to write '\x00'==0 to get something  
    that's true only with -std1.  */  
 int osf4_cc_array ['\x00' == 0 ? 1 : -1];  
   
 int test (int i, double x);  
 struct s1 {int (*f) (int a);};  
 struct s2 {int (*f) (double a);};  
 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);  
 int argc;  
 char **argv;  
 int  
 main ()  
 {  
 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];  
   ;  
   return 0;  
 }  
 _ACEOF  
 # Don't try gcc -ansi; that turns off useful extensions and  
 # breaks some systems' header files.  
 # AIX           -qlanglvl=ansi  
 # Ultrix and OSF/1  -std1  
 # HP-UX 10.20 and later -Ae  
 # HP-UX older versions  -Aa -D_HPUX_SOURCE  
 # SVR4          -Xc -D__EXTENSIONS__  
 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"  
 do  
   CC="$ac_save_CC $ac_arg"  
   rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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_cv_prog_cc_stdc=$ac_arg  
 break  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 fi  
 rm -f conftest.err conftest.$ac_objext  
 done  
 rm -f conftest.$ac_ext conftest.$ac_objext  
 CC=$ac_save_CC  
   
 fi  
   
 case "x$ac_cv_prog_cc_stdc" in  
   x|xno)  
     echo "$as_me:$LINENO: result: none needed" >&5  
 echo "${ECHO_T}none needed" >&6 ;;  
   *)  
     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5  
 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6  
     CC="$CC $ac_cv_prog_cc_stdc" ;;  
 esac  
   
 # 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>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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 \  
    '' \  
    '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  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_declaration  
 #include <stdlib.h>  
 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>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 continue  
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_declaration  
 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>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 fi  
 rm -f conftest.err 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  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 fi  
 rm -f conftest.err 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  
1391    
1392    
1393  if test "$asc_ansi_ok" = no ; then  if test "$asc_ansi_ok" = no ; then
1394      CC=$asc_orig_cc      CC=$asc_orig_cc
1395      { { echo "$as_me:$LINENO: error: Cannot find an ANSI C compiler.  ASCEND will not build      { echo "configure: error: Cannot find an ANSI C compiler.  ASCEND will not build
     without an ANSI compiler.  If you have an ANSI compiler which  
     configure is not finding, set the CC environment variable to  
     the full path fo the compiler and rerun configure." >&5  
 echo "$as_me: error: Cannot find an ANSI C compiler.  ASCEND will not build  
1396      without an ANSI compiler.  If you have an ANSI compiler which      without an ANSI compiler.  If you have an ANSI compiler which
1397      configure is not finding, set the CC environment variable to      configure is not finding, set the CC environment variable to
1398      the full path fo the compiler and rerun configure." >&2;}      the full path fo the compiler and rerun configure." 1>&2; exit 1; }
    { (exit 1); exit 1; }; }  
1399  fi  fi
1400    
1401    
# Line 3831  fi Line 1412  fi
1412  #  #
1413  #   Check if we're running on AIX; if so, add `-D_ALL_SOURCE'  #   Check if we're running on AIX; if so, add `-D_ALL_SOURCE'
1414  #   to CFLAGS.  #   to CFLAGS.
1415  #  #
1416  #   Check if we're running on HPUX; if so, add -D_HPUX_SOURCE'  #   Check if we're running on HPUX; if so, add -D_HPUX_SOURCE'
1417  #   to CFLAGS unless the C preprocessor goes it for us.  #   to CFLAGS unless the C preprocessor goes it for us.
1418  #--------------------------------------------------------------------  #--------------------------------------------------------------------
   
 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  
 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  
 # On Suns, sometimes $CPP names a directory.  
 if test -n "$CPP" && test -d "$CPP"; then  
   CPP=  
 fi  
 if test -z "$CPP"; then  
   if test "${ac_cv_prog_CPP+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
       # Double quotes because CPP needs to be expanded  
     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"  
     do  
       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.  
   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since  
   # <limits.h> exists even on freestanding compilers.  
   # 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  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #ifdef __STDC__  
 # include <limits.h>  
 #else  
 # include <assert.h>  
 #endif  
              Syntax error  
 _ACEOF  
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag  
   else  
     ac_cpp_err=  
   fi  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
   :  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   # Broken: fails on valid input.  
 continue  
 fi  
 rm -f conftest.err conftest.$ac_ext  
   
   # OK, works on sane cases.  Now check whether non-existent headers  
   # can be detected and how.  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end 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=$?  
   grep -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  
     ac_cpp_err=$ac_cpp_err$ac_c_werror_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  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   # Passes both tests.  
 ac_preproc_ok=:  
 break  
 fi  
 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  
1419    
1420    echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1421    echo "configure:1422: checking how to run the C preprocessor" >&5
1422    # On Suns, sometimes $CPP names a directory.
1423    if test -n "$CPP" && test -d "$CPP"; then
1424      CPP=
1425  fi  fi
1426    CPP=$ac_cv_prog_CPP  if test -z "$CPP"; then
1427    if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1428      echo $ac_n "(cached) $ac_c" 1>&6
1429  else  else
1430    ac_cv_prog_CPP=$CPP      # This must be in double quotes, not single quotes, because CPP may get
1431  fi    # substituted into the Makefile and "${CC-cc}" will confuse make.
1432  echo "$as_me:$LINENO: result: $CPP" >&5    CPP="${CC-cc} -E"
 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.  
   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since  
   # <limits.h> exists even on freestanding compilers.  
1433    # 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,
1434    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp.
1435    cat >conftest.$ac_ext <<_ACEOF    cat > conftest.$ac_ext <<EOF
1436  /* confdefs.h.  */  #line 1437 "configure"
1437  _ACEOF  #include "confdefs.h"
1438  cat confdefs.h >>conftest.$ac_ext  #include <assert.h>
1439  cat >>conftest.$ac_ext <<_ACEOF  Syntax Error
1440  /* end confdefs.h.  */  EOF
1441  #ifdef __STDC__  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1442  # include <limits.h>  { (eval echo configure:1443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1443  #else  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1444  # include <assert.h>  if test -z "$ac_err"; then
1445  #endif    :
              Syntax error  
 _ACEOF  
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag  
   else  
     ac_cpp_err=  
   fi  
1446  else  else
1447    ac_cpp_err=yes    echo "$ac_err" >&5
1448  fi    echo "configure: failed program was:" >&5
1449  if test -z "$ac_cpp_err"; then    cat conftest.$ac_ext >&5
1450      rm -rf conftest*
1451      CPP="${CC-cc} -E -traditional-cpp"
1452      cat > conftest.$ac_ext <<EOF
1453    #line 1454 "configure"
1454    #include "confdefs.h"
1455    #include <assert.h>
1456    Syntax Error
1457    EOF
1458    ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1459    { (eval echo configure:1460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1460    ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1461    if test -z "$ac_err"; then
1462    :    :
1463  else  else
1464    echo "$as_me: failed program was:" >&5    echo "$ac_err" >&5
1465  sed 's/^/| /' conftest.$ac_ext >&5    echo "configure: failed program was:" >&5
1466      cat conftest.$ac_ext >&5
1467    # Broken: fails on valid input.    rm -rf conftest*
1468  continue    CPP="${CC-cc} -nologo -E"
1469  fi    cat > conftest.$ac_ext <<EOF
1470  rm -f conftest.err conftest.$ac_ext  #line 1471 "configure"
1471    #include "confdefs.h"
1472    # OK, works on sane cases.  Now check whether non-existent headers  #include <assert.h>
1473    # can be detected and how.  Syntax Error
1474    cat >conftest.$ac_ext <<_ACEOF  EOF
1475  /* confdefs.h.  */  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1476  _ACEOF  { (eval echo configure:1477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1477  cat confdefs.h >>conftest.$ac_ext  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1478  cat >>conftest.$ac_ext <<_ACEOF  if test -z "$ac_err"; then
1479  /* end 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=$?  
   grep -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  
     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag  
   else  
     ac_cpp_err=  
   fi  
1480  else  else
1481    ac_cpp_err=yes    echo "$ac_err" >&5
1482      echo "configure: failed program was:" >&5
1483      cat conftest.$ac_ext >&5
1484      rm -rf conftest*
1485      CPP=/lib/cpp
1486  fi  fi
1487  if test -z "$ac_cpp_err"; then  rm -f conftest*
   # Broken: success on invalid input.  
 continue  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   # Passes both tests.  
 ac_preproc_ok=:  
 break  
1488  fi  fi
1489  rm -f conftest.err conftest.$ac_ext  rm -f conftest*
1490    fi
1491  done  rm -f conftest*
1492  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.    ac_cv_prog_CPP="$CPP"
1493  rm -f conftest.err conftest.$ac_ext  fi
1494  if $ac_preproc_ok; then    CPP="$ac_cv_prog_CPP"
   :  
1495  else  else
1496    { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check    ac_cv_prog_CPP="$CPP"
 See \`config.log' for more details." >&5  
 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }  
1497  fi  fi
1498    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  
1499    
1500    
1501  # Check whether --enable-optimization or --disable-optimization was given.  # Check whether --enable-optimization or --disable-optimization was given.
# Line 4077  if test "${enable_optimization+set}" = s Line 1504  if test "${enable_optimization+set}" = s
1504    asc_do_opt="$enableval"    asc_do_opt="$enableval"
1505  else  else
1506    asc_do_opt=no    asc_do_opt=no
1507  fi;  fi
1508    
1509  if test "$asc_do_opt" = yes; then  if test "$asc_do_opt" = yes; then
1510      CFLAGS=`echo "-O $CFLAGS " | sed 's/ -g / /g'`      CFLAGS=`echo "-O $CFLAGS " | sed 's/ -g / /g'`
1511      cat >>confdefs.h <<\_ACEOF      cat >> confdefs.h <<\EOF
1512  #define NDEBUG 1  #define NDEBUG 1
1513  _ACEOF  EOF
1514    
1515  else  else
1516      # Extract the first word of "end.o", so it can be a program name with args.      # Extract the first word of "end.o", so it can be a program name with args.
1517  set dummy end.o; ac_word=$2  set dummy end.o; ac_word=$2
1518  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1519  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo "configure:1520: checking for $ac_word" >&5
1520  if test "${ac_cv_path_DEBUG_LIBS+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_path_DEBUG_LIBS'+set}'`\" = set"; then
1521    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
1522  else  else
1523    case $DEBUG_LIBS in    case "$DEBUG_LIBS" in
1524    [\\/]* | ?:[\\/]*)    /*)
1525    ac_cv_path_DEBUG_LIBS="$DEBUG_LIBS" # Let the user override the test with a path.    ac_cv_path_DEBUG_LIBS="$DEBUG_LIBS" # Let the user override the test with a path.
1526    ;;    ;;
1527      ?:/*)          
1528      ac_cv_path_DEBUG_LIBS="$DEBUG_LIBS" # Let the user override the test with a dos path.
1529      ;;
1530    *)    *)
1531    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1532  for as_dir in /usr/lib    ac_dummy="/usr/lib"
1533  do    for ac_dir in $ac_dummy; do
1534    IFS=$as_save_IFS      test -z "$ac_dir" && ac_dir=.
1535    test -z "$as_dir" && as_dir=.      if test -f $ac_dir/$ac_word; then
1536    for ac_exec_ext in '' $ac_executable_extensions; do        ac_cv_path_DEBUG_LIBS="$ac_dir/$ac_word"
1537    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then        break
1538      ac_cv_path_DEBUG_LIBS="$as_dir/$ac_word$ac_exec_ext"      fi
1539      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    done
1540      break 2    IFS="$ac_save_ifs"
   fi  
 done  
 done  
   
1541    ;;    ;;
1542  esac  esac
1543  fi  fi
1544  DEBUG_LIBS=$ac_cv_path_DEBUG_LIBS  DEBUG_LIBS="$ac_cv_path_DEBUG_LIBS"
   
1545  if test -n "$DEBUG_LIBS"; then  if test -n "$DEBUG_LIBS"; then
1546    echo "$as_me:$LINENO: result: $DEBUG_LIBS" >&5    echo "$ac_t""$DEBUG_LIBS" 1>&6
 echo "${ECHO_T}$DEBUG_LIBS" >&6  
1547  else  else
1548    echo "$as_me:$LINENO: result: no" >&5    echo "$ac_t""no" 1>&6
 echo "${ECHO_T}no" >&6  
 fi  
   
1549  fi  fi
1550    
 echo "$as_me:$LINENO: checking for AIX" >&5  
 echo $ECHO_N "checking for AIX... $ECHO_C" >&6  
   
 echo "$as_me:$LINENO: checking for egrep" >&5  
 echo $ECHO_N "checking for egrep... $ECHO_C" >&6  
 if test "${ac_cv_prog_egrep+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if echo a | (grep -E '(a|b)') >/dev/null 2>&1  
     then ac_cv_prog_egrep='grep -E'  
     else ac_cv_prog_egrep='egrep'  
     fi  
1551  fi  fi
 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5  
 echo "${ECHO_T}$ac_cv_prog_egrep" >&6  
  EGREP=$ac_cv_prog_egrep  
1552    
1553    echo $ac_n "checking for AIX""... $ac_c" 1>&6
1554  cat >conftest.$ac_ext <<_ACEOF  echo "configure:1555: checking for AIX" >&5
1555  /* confdefs.h.  */  cat > conftest.$ac_ext <<EOF
1556  _ACEOF  #line 1557 "configure"
1557  cat confdefs.h >>conftest.$ac_ext  #include "confdefs.h"
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
1558    
1559  #ifdef _AIX  #ifdef _AIX
1560      yes      yes
1561  #endif  #endif
1562    
1563  _ACEOF  EOF
1564  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1565    $EGREP "yes" >/dev/null 2>&1; then    egrep "yes" >/dev/null 2>&1; then
1566     asc_aix=yes ; cat >>confdefs.h <<\_ACEOF    rm -rf conftest*
1567       asc_aix=yes ; cat >> confdefs.h <<\EOF
1568  #define _ALL_SOURCE 1  #define _ALL_SOURCE 1
1569  _ACEOF  EOF
1570    
1571  else  else
1572      rm -rf conftest*
1573    asc_aix=no    asc_aix=no
1574  fi  fi
1575  rm -f conftest*  rm -f conftest*
1576    
1577  echo "$as_me:$LINENO: result: $asc_aix" >&5  echo "$ac_t""$asc_aix" 1>&6
 echo "${ECHO_T}$asc_aix" >&6  
1578    
1579  echo "$as_me:$LINENO: checking whether -D_HPUX_SOURCE is needed" >&5  echo $ac_n "checking whether -D_HPUX_SOURCE is needed""... $ac_c" 1>&6
1580  echo $ECHO_N "checking whether -D_HPUX_SOURCE is needed... $ECHO_C" >&6  echo "configure:1581: checking whether -D_HPUX_SOURCE is needed" >&5
1581  cat >conftest.$ac_ext <<_ACEOF  cat > conftest.$ac_ext <<EOF
1582  /* confdefs.h.  */  #line 1583 "configure"
1583  _ACEOF  #include "confdefs.h"
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
1584    
1585  #ifdef __hpux  #ifdef __hpux
1586  #ifndef _HPUX_SOURCE  #ifndef _HPUX_SOURCE
# Line 4185  cat >>conftest.$ac_ext <<_ACEOF Line 1588  cat >>conftest.$ac_ext <<_ACEOF
1588  #endif  #endif
1589  #endif  #endif
1590    
1591  _ACEOF  EOF
1592  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1593    $EGREP "yes" >/dev/null 2>&1; then    egrep "yes" >/dev/null 2>&1; then
1594     asc_hpux=yes ; cat >>confdefs.h <<\_ACEOF    rm -rf conftest*
1595       asc_hpux=yes ; cat >> confdefs.h <<\EOF
1596  #define _HPUX_SOURCE 1  #define _HPUX_SOURCE 1
1597  _ACEOF  EOF
1598    
1599  else  else
1600      rm -rf conftest*
1601    asc_hpux=no    asc_hpux=no
1602  fi  fi
1603  rm -f conftest*  rm -f conftest*
1604    
1605  echo "$as_me:$LINENO: result: $asc_hpux" >&5  echo "$ac_t""$asc_hpux" 1>&6
 echo "${ECHO_T}$asc_hpux" >&6  
1606    
1607  # Check the size of pointers; if cross compiling, assume 32 bit pointers  # Check the size of pointers; if cross compiling, assume 32 bit pointers
1608  echo "$as_me:$LINENO: checking for ANSI C header files" >&5  echo $ac_n "checking size of void *""... $ac_c" 1>&6
1609  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo "configure:1610: checking size of void *" >&5
1610  if test "${ac_cv_header_stdc+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
1611    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <stdlib.h>  
 #include <stdarg.h>  
 #include <string.h>  
 #include <float.h>  
   
 int  
 main ()  
 {  
   
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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_cv_header_stdc=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_header_stdc=no  
 fi  
 rm -f conftest.err conftest.$ac_objext 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  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end 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  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end 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  
 fi  
 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  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end 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  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ( exit $ac_status )  
 ac_cv_header_stdc=no  
 fi  
 rm -f core *.core gmon.out bb.out 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  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end 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>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 eval "$as_ac_Header=no"  
 fi  
 rm -f conftest.err 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  
   
 fi  
   
 done  
   
   
 echo "$as_me:$LINENO: checking for void *" >&5  
 echo $ECHO_N "checking for void *... $ECHO_C" >&6  
 if test "${ac_cv_type_void_p+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_includes_default  
 int  
 main ()  
 {  
 if ((void * *) 0)  
   return 0;  
 if (sizeof (void *))  
   return 0;  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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_cv_type_void_p=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_type_void_p=no  
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5  
 echo "${ECHO_T}$ac_cv_type_void_p" >&6  
   
 echo "$as_me:$LINENO: checking size of void *" >&5  
 echo $ECHO_N "checking size of void *... $ECHO_C" >&6  
 if test "${ac_cv_sizeof_void_p+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test "$ac_cv_type_void_p" = yes; then  
   # The cast to unsigned long works around a bug in the HP C Compiler  
   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects  
   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.  
   # This bug is HP SR number 8606223364.  
   if test "$cross_compiling" = yes; then  
   # Depending upon the size, compute the lo and hi bounds.  
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_includes_default  
 int  
 main ()  
 {  
 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];  
 test_array [0] = 0  
   
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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_lo=0 ac_mid=0  
   while :; do  
     cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_includes_default  
 int  
 main ()  
 {  
 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];  
 test_array [0] = 0  
   
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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_hi=$ac_mid; break  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_lo=`expr $ac_mid + 1`  
             if test $ac_lo -le $ac_mid; then  
               ac_lo= ac_hi=  
               break  
             fi  
             ac_mid=`expr 2 '*' $ac_mid + 1`  
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
   done  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_includes_default  
 int  
 main ()  
 {  
 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];  
 test_array [0] = 0  
   
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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_hi=-1 ac_mid=-1  
   while :; do  
     cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_includes_default  
 int  
 main ()  
 {  
 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];  
 test_array [0] = 0  
   
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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_lo=$ac_mid; break  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_hi=`expr '(' $ac_mid ')' - 1`  
                if test $ac_mid -le $ac_hi; then  
              ac_lo= ac_hi=  
              break  
                fi  
                ac_mid=`expr 2 '*' $ac_mid`  
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
   done  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_lo= ac_hi=  
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
 # Binary search between lo and hi bounds.  
 while test "x$ac_lo" != "x$ac_hi"; do  
   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_includes_default  
 int  
 main ()  
 {  
 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];  
 test_array [0] = 0  
   
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
      { ac_try='test -z "$ac_c_werror_flag"  
              || test ! -s conftest.err'  
   { (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); }; } &&  
      { 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_hi=$ac_mid  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_lo=`expr '(' $ac_mid ')' + 1`  
 fi  
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  
 done  
 case $ac_lo in  
 ?*) ac_cv_sizeof_void_p=$ac_lo;;  
 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77  
 See \`config.log' for more details." >&5  
 echo "$as_me: error: cannot compute sizeof (void *), 77  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; } ;;  
 esac  
1612  else  else
1613    if test "$cross_compiling" = yes; then    if test "$cross_compiling" = yes; then
1614    { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling    ac_cv_sizeof_void_p=4
 See \`config.log' for more details." >&5  
 echo "$as_me: error: cannot run test program while cross compiling  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }  
1615  else  else
1616    cat >conftest.$ac_ext <<_ACEOF    cat > conftest.$ac_ext <<EOF
1617  /* confdefs.h.  */  #line 1618 "configure"
1618  _ACEOF  #include "confdefs.h"
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_includes_default  
 long longval () { return (long) (sizeof (void *)); }  
 unsigned long ulongval () { return (long) (sizeof (void *)); }  
1619  #include <stdio.h>  #include <stdio.h>
1620  #include <stdlib.h>  int main()
 int  
 main ()  
1621  {  {
1622      FILE *f=fopen("conftestval", "w");
1623    FILE *f = fopen ("conftest.val", "w");    if (!f) return(1);
1624    if (! f)    fprintf(f, "%d\n", sizeof(void *));
1625      exit (1);    return(0);
   if (((long) (sizeof (void *))) < 0)  
     {  
       long i = longval ();  
       if (i != ((long) (sizeof (void *))))  
     exit (1);  
       fprintf (f, "%ld\n", i);  
     }  
   else  
     {  
       unsigned long i = ulongval ();  
       if (i != ((long) (sizeof (void *))))  
     exit (1);  
       fprintf (f, "%lu\n", i);  
     }  
   exit (ferror (f) || fclose (f) != 0);  
   
   ;  
   return 0;  
1626  }  }
1627  _ACEOF  EOF
1628  rm -f conftest$ac_exeext  if { (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1629  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  then
1630    (eval $ac_link) 2>&5    ac_cv_sizeof_void_p=`cat conftestval`
   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  
   ac_cv_sizeof_void_p=`cat conftest.val`  
 else  
   echo "$as_me: program exited with status $ac_status" >&5  
 echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ( exit $ac_status )  
 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77  
 See \`config.log' for more details." >&5  
 echo "$as_me: error: cannot compute sizeof (void *), 77  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }  
 fi  
 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  
 fi  
 fi  
 rm -f conftest.val  
1631  else  else
1632      echo "configure: failed program was:" >&5
1633      cat conftest.$ac_ext >&5
1634      rm -fr conftest*
1635    ac_cv_sizeof_void_p=0    ac_cv_sizeof_void_p=0
1636  fi  fi
1637    rm -fr conftest*
1638  fi  fi
1639  echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5  
1640  echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6  fi
1641  cat >>confdefs.h <<_ACEOF  echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
1642    cat >> confdefs.h <<EOF
1643  #define SIZEOF_VOID_P $ac_cv_sizeof_void_p  #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
1644  _ACEOF  EOF
1645    
1646    
1647    
# Line 4863  _ACEOF Line 1654  _ACEOF
1654  asc_found_yacc=0  asc_found_yacc=0
1655  # Extract the first word of "yacc", so it can be a program name with args.  # Extract the first word of "yacc", so it can be a program name with args.
1656  set dummy yacc; ac_word=$2  set dummy yacc; ac_word=$2
1657  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1658  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo "configure:1659: checking for $ac_word" >&5
1659  if test "${ac_cv_prog_YACC+set}" = set; then  if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1660    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ac_n "(cached) $ac_c" 1>&6
1661  else  else
1662    if test -n "$YACC"; then    if test -n "$YACC"; then
1663    ac_cv_prog_YACC="$YACC" # Let the user override the test.    ac_cv_prog_YACC="$YACC" # Let the user override the test.
1664  else  else
1665  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1666  for as_dir in $PATH    ac_dummy="$PATH"
1667  do    for ac_dir in $ac_dummy; do
1668    IFS=$as_save_IFS      test -z "$ac_dir" && ac_dir=.
1669    test -z "$as_dir" && as_dir=.      if test -f $ac_dir/$ac_word; then
1670    for ac_exec_ext in '' $ac_executable_extensions; do        ac_cv_prog_YACC="yacc"
1671    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then        break
1672      ac_cv_prog_YACC="yacc"      fi
1673      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    done
1674      break 2    IFS="$ac_save_ifs"
   fi  
 done  
 done  
   
1675    test -z "$ac_cv_prog_YACC" && ac_cv_prog_YACC="asc_found_yacc=no"    test -z "$ac_cv_prog_YACC" && ac_cv_prog_YACC="asc_found_yacc=no"
1676  fi  fi
1677  fi  fi
1678