/[CvsGraph]/cvsgraph/configure
ViewVC logotype

Diff of /cvsgraph/configure

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

revision 1.10, Sat Jul 20 20:41:40 2002 UTC revision 1.11, Thu Jul 15 09:42:58 2004 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
   
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated automatically using autoconf version 2.13  # Generated by GNU Autoconf 2.57.
 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.  
4  #  #
5    # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6    # Free Software Foundation, Inc.
7  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
8  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
9    ## --------------------- ##
10    ## M4sh Initialization.  ##
11    ## --------------------- ##
12    
13    # Be Bourne compatible
14    if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15      emulate sh
16      NULLCMD=:
17      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18      # is contrary to our usage.  Disable this feature.
19      alias -g '${1+"$@"}'='"$@"'
20    elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21      set -o posix
22    fi
23    
24    # Support unset when possible.
25    if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26      as_unset=unset
27    else
28      as_unset=false
29    fi
30    
31    
32    # Work around bugs in pre-3.0 UWIN ksh.
33    $as_unset ENV MAIL MAILPATH
34    PS1='$ '
35    PS2='> '
36    PS4='+ '
37    
38    # NLS nuisances.
39    for as_var in \
40      LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41      LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42      LC_TELEPHONE LC_TIME
43    do
44      if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45        eval $as_var=C; export $as_var
46      else
47        $as_unset $as_var
48      fi
49    done
50    
51    # Required to use basename.
52    if expr a : '\(a\)' >/dev/null 2>&1; then
53      as_expr=expr
54    else
55      as_expr=false
56    fi
57    
58    if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59      as_basename=basename
60    else
61      as_basename=false
62    fi
63    
64    
65    # Name of the executable.
66    as_me=`$as_basename "$0" ||
67    $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68             X"$0" : 'X\(//\)$' \| \
69             X"$0" : 'X\(/\)$' \| \
70             .     : '\(.\)' 2>/dev/null ||
71    echo X/"$0" |
72        sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73              /^X\/\(\/\/\)$/{ s//\1/; q; }
74              /^X\/\(\/\).*/{ s//\1/; q; }
75              s/.*/./; q'`
76    
77    
78    # PATH needs CR, and LINENO needs CR and PATH.
79    # Avoid depending upon Character Ranges.
80    as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83    as_cr_digits='0123456789'
84    as_cr_alnum=$as_cr_Letters$as_cr_digits
85    
86    # The user is always right.
87    if test "${PATH_SEPARATOR+set}" != set; then
88      echo "#! /bin/sh" >conf$$.sh
89      echo  "exit 0"   >>conf$$.sh
90      chmod +x conf$$.sh
91      if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92        PATH_SEPARATOR=';'
93      else
94        PATH_SEPARATOR=:
95      fi
96      rm -f conf$$.sh
97    fi
98    
99    
100      as_lineno_1=$LINENO
101      as_lineno_2=$LINENO
102      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103      test "x$as_lineno_1" != "x$as_lineno_2" &&
104      test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105      # Find who we are.  Look in the path if we contain no path at all
106      # relative or not.
107      case $0 in
108        *[\\/]* ) as_myself=$0 ;;
109        *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110    for as_dir in $PATH
111    do
112      IFS=$as_save_IFS
113      test -z "$as_dir" && as_dir=.
114      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115    done
116    
117           ;;
118      esac
119      # We did not find ourselves, most probably we were run as `sh COMMAND'
120      # in which case we are not to be found in the path.
121      if test "x$as_myself" = x; then
122        as_myself=$0
123      fi
124      if test ! -f "$as_myself"; then
125        { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126       { (exit 1); exit 1; }; }
127      fi
128      case $CONFIG_SHELL in
129      '')
130        as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131    for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132    do
133      IFS=$as_save_IFS
134      test -z "$as_dir" && as_dir=.
135      for as_base in sh bash ksh sh5; do
136             case $as_dir in
137             /*)
138               if ("$as_dir/$as_base" -c '
139      as_lineno_1=$LINENO
140      as_lineno_2=$LINENO
141      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142      test "x$as_lineno_1" != "x$as_lineno_2" &&
143      test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144                 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145                 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146                 CONFIG_SHELL=$as_dir/$as_base
147                 export CONFIG_SHELL
148                 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149               fi;;
150             esac
151           done
152    done
153    ;;
154      esac
155    
156      # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157      # uniformly replaced by the line number.  The first 'sed' inserts a
158      # line-number line before each line; the second 'sed' does the real
159      # work.  The second script uses 'N' to pair each line-number line
160      # with the numbered line, and appends trailing '-' during
161      # substitution so that $LINENO is not a special case at line end.
162      # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163      # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164      sed '=' <$as_myself |
165        sed '
166          N
167          s,$,-,
168          : loop
169          s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170          t loop
171          s,-$,,
172          s,^['$as_cr_digits']*\n,,
173        ' >$as_me.lineno &&
174      chmod +x $as_me.lineno ||
175        { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176       { (exit 1); exit 1; }; }
177    
178      # Don't try to exec as it changes $[0], causing all sort of problems
179      # (the dirname of $[0] is not the place where we might find the
180      # original and so on.  Autoconf is especially sensible to this).
181      . ./$as_me.lineno
182      # Exit status is that of the last command.
183      exit
184    }
185    
186    
187    case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188      *c*,-n*) ECHO_N= ECHO_C='
189    ' ECHO_T='      ' ;;
190      *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191      *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192    esac
193    
194    if expr a : '\(a\)' >/dev/null 2>&1; then
195      as_expr=expr
196    else
197      as_expr=false
198    fi
199    
200    rm -f conf$$ conf$$.exe conf$$.file
201    echo >conf$$.file
202    if ln -s conf$$.file conf$$ 2>/dev/null; then
203      # We could just check for DJGPP; but this test a) works b) is more generic
204      # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205      if test -f conf$$.exe; then
206        # Don't use ln at all; we don't have any links
207        as_ln_s='cp -p'
208      else
209        as_ln_s='ln -s'
210      fi
211    elif ln conf$$.file conf$$ 2>/dev/null; then
212      as_ln_s=ln
213    else
214      as_ln_s='cp -p'
215    fi
216    rm -f conf$$ conf$$.exe conf$$.file
217    
218    if mkdir -p . 2>/dev/null; then
219      as_mkdir_p=:
220    else
221      as_mkdir_p=false
222    fi
223    
224    as_executable_p="test -f"
225    
226    # Sed expression to map a string onto a valid CPP name.
227    as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228    
229    # Sed expression to map a string onto a valid variable name.
230    as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231    
232    
233    # IFS
234    # We need space, tab and new line, in precisely that order.
235    as_nl='
236    '
237    IFS="   $as_nl"
238    
239    # CDPATH.
240    $as_unset CDPATH
241    
242    
243    # Name of the host.
244    # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245    # so uname gets run too.
246    ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247    
248    exec 6>&1
249    
250  # Defaults:  #
251  ac_help=  # Initializations.
252    #
253  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
254  # Any additions from configure.in:  ac_config_libobj_dir=.
255  ac_help="$ac_help  cross_compiling=no
256    --with-gd-inc=DIR       location of the gd includes"  subdirs=
257  ac_help="$ac_help  MFLAGS=
258    --with-gd-lib=DIR       location of the gd library"  MAKEFLAGS=
259  ac_help="$ac_help  SHELL=${CONFIG_SHELL-/bin/sh}
260    --with-freetype-lib=DIR    location of freetype library"  
261  ac_help="$ac_help  # Maximum number of lines to put in a shell here document.
262    --with-freetype2-lib=DIR    location of freetype2 library"  # This variable seems obsolete.  It should probably be removed, and
263  ac_help="$ac_help  # only ac_max_sed_lines should be used.
264    --with-png-inc=DIR      location of png includes"  : ${ac_max_here_lines=38}
265  ac_help="$ac_help  
266    --with-png-lib=DIR      location of png library"  # Identity of this package.
267  ac_help="$ac_help  PACKAGE_NAME=
268    --with-jpeg-inc=DIR    location of jpeg includes"  PACKAGE_TARNAME=
269  ac_help="$ac_help  PACKAGE_VERSION=
270    --with-jpeg-lib=DIR    location of jpeg library"  PACKAGE_STRING=
271  ac_help="$ac_help  PACKAGE_BUGREPORT=
272    --with-z-inc=DIR        location of zlib includes"  
273  ac_help="$ac_help  ac_unique_file="cvsgraph.c"
274    --with-z-lib=DIR        location of zlib library"  # Factoring default headers for most tests.
275  ac_help="$ac_help  ac_includes_default="\
276    --disable-speed         Turn off lex table optimization reducing speed and size of executable"  #include <stdio.h>
277    #if HAVE_SYS_TYPES_H
278    # include <sys/types.h>
279    #endif
280    #if HAVE_SYS_STAT_H
281    # include <sys/stat.h>
282    #endif
283    #if STDC_HEADERS
284    # include <stdlib.h>
285    # include <stddef.h>
286    #else
287    # if HAVE_STDLIB_H
288    #  include <stdlib.h>
289    # endif
290    #endif
291    #if HAVE_STRING_H
292    # if !STDC_HEADERS && HAVE_MEMORY_H
293    #  include <memory.h>
294    # endif
295    # include <string.h>
296    #endif
297    #if HAVE_STRINGS_H
298    # include <strings.h>
299    #endif
300    #if HAVE_INTTYPES_H
301    # include <inttypes.h>
302    #else
303    # if HAVE_STDINT_H
304    #  include <stdint.h>
305    # endif
306    #endif
307    #if HAVE_UNISTD_H
308    # include <unistd.h>
309    #endif"
310    
311    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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LEX LEXLIB LEX_OUTPUT_ROOT YACC CPP EGREP LEXFLAGS INTTYPE LIBOBJS LTLIBOBJS'
312    ac_subst_files=''
313    
314  # Initialize some variables set by options.  # Initialize some variables set by options.
315    ac_init_help=
316    ac_init_version=false
317  # The variables have the same names as the options, with  # The variables have the same names as the options, with
318  # dashes changed to underlines.  # dashes changed to underlines.
319  build=NONE  cache_file=/dev/null
 cache_file=./config.cache  
320  exec_prefix=NONE  exec_prefix=NONE
 host=NONE  
321  no_create=  no_create=
 nonopt=NONE  
322  no_recursion=  no_recursion=
323  prefix=NONE  prefix=NONE
324  program_prefix=NONE  program_prefix=NONE
# Line 51  Line 327 
327  silent=  silent=
328  site=  site=
329  srcdir=  srcdir=
 target=NONE  
330  verbose=  verbose=
331  x_includes=NONE  x_includes=NONE
332  x_libraries=NONE  x_libraries=NONE
333    
334    # Installation directory options.
335    # These are left unexpanded so users can "make install exec_prefix=/foo"
336    # and all the variables that are supposed to be based on exec_prefix
337    # by default will actually change.
338    # Use braces instead of parens because sh, perl, etc. also accept them.
339  bindir='${exec_prefix}/bin'  bindir='${exec_prefix}/bin'
340  sbindir='${exec_prefix}/sbin'  sbindir='${exec_prefix}/sbin'
341  libexecdir='${exec_prefix}/libexec'  libexecdir='${exec_prefix}/libexec'
# Line 68  Line 349 
349  infodir='${prefix}/info'  infodir='${prefix}/info'
350  mandir='${prefix}/man'  mandir='${prefix}/man'
351    
 # Initialize some other variables.  
 subdirs=  
 MFLAGS= MAKEFLAGS=  
 SHELL=${CONFIG_SHELL-/bin/sh}  
 # Maximum number of lines to put in a shell here document.  
 ac_max_here_lines=12  
   
352  ac_prev=  ac_prev=
353  for ac_option  for ac_option
354  do  do
   
355    # If the previous option needs an argument, assign it.    # If the previous option needs an argument, assign it.
356    if test -n "$ac_prev"; then    if test -n "$ac_prev"; then
357      eval "$ac_prev=\$ac_option"      eval "$ac_prev=\$ac_option"
# Line 86  Line 359 
359      continue      continue
360    fi    fi
361    
362    case "$ac_option" in    ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;  
   *) ac_optarg= ;;  
   esac  
363    
364    # Accept the important Cygnus configure options, so we can diagnose typos.    # Accept the important Cygnus configure options, so we can diagnose typos.
365    
366    case "$ac_option" in    case $ac_option in
367    
368    -bindir | --bindir | --bindi | --bind | --bin | --bi)    -bindir | --bindir | --bindi | --bind | --bin | --bi)
369      ac_prev=bindir ;;      ac_prev=bindir ;;
370    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371      bindir="$ac_optarg" ;;      bindir=$ac_optarg ;;
372    
373    -build | --build | --buil | --bui | --bu)    -build | --build | --buil | --bui | --bu)
374      ac_prev=build ;;      ac_prev=build_alias ;;
375    -build=* | --build=* | --buil=* | --bui=* | --bu=*)    -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376      build="$ac_optarg" ;;      build_alias=$ac_optarg ;;
377    
378    -cache-file | --cache-file | --cache-fil | --cache-fi \    -cache-file | --cache-file | --cache-fil | --cache-fi \
379    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380      ac_prev=cache_file ;;      ac_prev=cache_file ;;
381    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383      cache_file="$ac_optarg" ;;      cache_file=$ac_optarg ;;
384    
385      --config-cache | -C)
386        cache_file=config.cache ;;
387    
388    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389      ac_prev=datadir ;;      ac_prev=datadir ;;
390    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391    | --da=*)    | --da=*)
392      datadir="$ac_optarg" ;;      datadir=$ac_optarg ;;
393    
394    -disable-* | --disable-*)    -disable-* | --disable-*)
395      ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
397      if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399      fi     { (exit 1); exit 1; }; }
400      ac_feature=`echo $ac_feature| sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401      eval "enable_${ac_feature}=no" ;;      eval "enable_$ac_feature=no" ;;
402    
403    -enable-* | --enable-*)    -enable-* | --enable-*)
404      ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
406      if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408      fi     { (exit 1); exit 1; }; }
409      ac_feature=`echo $ac_feature| sed 's/-/_/g'`      ac_feature=`echo $ac_feature | 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 "enable_${ac_feature}='$ac_optarg'" ;;      eval "enable_$ac_feature='$ac_optarg'" ;;
415    
416    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 147  Line 420 
420    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422    | --exec=* | --exe=* | --ex=*)    | --exec=* | --exe=* | --ex=*)
423      exec_prefix="$ac_optarg" ;;      exec_prefix=$ac_optarg ;;
424    
425    -gas | --gas | --ga | --g)    -gas | --gas | --ga | --g)
426      # Obsolete; use --with-gas.      # Obsolete; use --with-gas.
427      with_gas=yes ;;      with_gas=yes ;;
428    
429    -help | --help | --hel | --he)    -help | --help | --hel | --he | -h)
430      # Omit some internal or obsolete options to make the list less imposing.      ac_init_help=long ;;
431      # This message is too long to be a string in the A/UX 3.1 sh.    -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432      cat << EOF      ac_init_help=recursive ;;
433  Usage: configure [options] [host]    -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434  Options: [defaults in brackets after descriptions]      ac_init_help=short ;;
 Configuration:  
   --cache-file=FILE       cache test results in FILE  
   --help                  print this message  
   --no-create             do not create output files  
   --quiet, --silent       do not print \`checking...' messages  
   --version               print the version of autoconf that created configure  
 Directory and file names:  
   --prefix=PREFIX         install architecture-independent files in PREFIX  
                           [$ac_default_prefix]  
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX  
                           [same as prefix]  
   --bindir=DIR            user executables in DIR [EPREFIX/bin]  
   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]  
   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]  
   --datadir=DIR           read-only architecture-independent data in DIR  
                           [PREFIX/share]  
   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]  
   --sharedstatedir=DIR    modifiable architecture-independent data in DIR  
                           [PREFIX/com]  
   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]  
   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]  
   --includedir=DIR        C header files in DIR [PREFIX/include]  
   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]  
   --infodir=DIR           info documentation in DIR [PREFIX/info]  
   --mandir=DIR            man documentation in DIR [PREFIX/man]  
   --srcdir=DIR            find the sources in DIR [configure dir or ..]  
   --program-prefix=PREFIX prepend PREFIX to installed program names  
   --program-suffix=SUFFIX append SUFFIX to installed program names  
   --program-transform-name=PROGRAM  
                           run sed PROGRAM on installed program names  
 EOF  
     cat << EOF  
 Host type:  
   --build=BUILD           configure for building on BUILD [BUILD=HOST]  
   --host=HOST             configure for HOST [guessed]  
   --target=TARGET         configure for TARGET [TARGET=HOST]  
 Features and packages:  
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)  
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]  
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]  
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)  
   --x-includes=DIR        X include files are in DIR  
   --x-libraries=DIR       X library files are in DIR  
 EOF  
     if test -n "$ac_help"; then  
       echo "--enable and --with options recognized:$ac_help"  
     fi  
     exit 0 ;;  
435    
436    -host | --host | --hos | --ho)    -host | --host | --hos | --ho)
437      ac_prev=host ;;      ac_prev=host_alias ;;
438    -host=* | --host=* | --hos=* | --ho=*)    -host=* | --host=* | --hos=* | --ho=*)
439      host="$ac_optarg" ;;      host_alias=$ac_optarg ;;
440    
441    -includedir | --includedir | --includedi | --included | --include \    -includedir | --includedir | --includedi | --included | --include \
442    | --includ | --inclu | --incl | --inc)    | --includ | --inclu | --incl | --inc)
443      ac_prev=includedir ;;      ac_prev=includedir ;;
444    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445    | --includ=* | --inclu=* | --incl=* | --inc=*)    | --includ=* | --inclu=* | --incl=* | --inc=*)
446      includedir="$ac_optarg" ;;      includedir=$ac_optarg ;;
447    
448    -infodir | --infodir | --infodi | --infod | --info | --inf)    -infodir | --infodir | --infodi | --infod | --info | --inf)
449      ac_prev=infodir ;;      ac_prev=infodir ;;
450    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451      infodir="$ac_optarg" ;;      infodir=$ac_optarg ;;
452    
453    -libdir | --libdir | --libdi | --libd)    -libdir | --libdir | --libdi | --libd)
454      ac_prev=libdir ;;      ac_prev=libdir ;;
455    -libdir=* | --libdir=* | --libdi=* | --libd=*)    -libdir=* | --libdir=* | --libdi=* | --libd=*)
456      libdir="$ac_optarg" ;;      libdir=$ac_optarg ;;
457    
458    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459    | --libexe | --libex | --libe)    | --libexe | --libex | --libe)
460      ac_prev=libexecdir ;;      ac_prev=libexecdir ;;
461    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462    | --libexe=* | --libex=* | --libe=*)    | --libexe=* | --libex=* | --libe=*)
463      libexecdir="$ac_optarg" ;;      libexecdir=$ac_optarg ;;
464    
465    -localstatedir | --localstatedir | --localstatedi | --localstated \    -localstatedir | --localstatedir | --localstatedi | --localstated \
466    | --localstate | --localstat | --localsta | --localst \    | --localstate | --localstat | --localsta | --localst \
# Line 244  Line 469 
469    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470    | --localstate=* | --localstat=* | --localsta=* | --localst=* \    | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472      localstatedir="$ac_optarg" ;;      localstatedir=$ac_optarg ;;
473    
474    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475      ac_prev=mandir ;;      ac_prev=mandir ;;
476    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477      mandir="$ac_optarg" ;;      mandir=$ac_optarg ;;
478    
479    -nfp | --nfp | --nf)    -nfp | --nfp | --nf)
480      # Obsolete; use --without-fp.      # Obsolete; use --without-fp.
481      with_fp=no ;;      with_fp=no ;;
482    
483    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484    | --no-cr | --no-c)    | --no-cr | --no-c | -n)
485      no_create=yes ;;      no_create=yes ;;
486    
487    -no-recursion | --no-recursion | --no-recursio | --no-recursi \    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 270  Line 495 
495    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498      oldincludedir="$ac_optarg" ;;      oldincludedir=$ac_optarg ;;
499    
500    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501      ac_prev=prefix ;;      ac_prev=prefix ;;
502    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503      prefix="$ac_optarg" ;;      prefix=$ac_optarg ;;
504    
505    -program-prefix | --program-prefix | --program-prefi | --program-pref \    -program-prefix | --program-prefix | --program-prefi | --program-pref \
506    | --program-pre | --program-pr | --program-p)    | --program-pre | --program-pr | --program-p)
507      ac_prev=program_prefix ;;      ac_prev=program_prefix ;;
508    -program-prefix=* | --program-prefix=* | --program-prefi=* \    -program-prefix=* | --program-prefix=* | --program-prefi=* \
509    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510      program_prefix="$ac_optarg" ;;      program_prefix=$ac_optarg ;;
511    
512    -program-suffix | --program-suffix | --program-suffi | --program-suff \    -program-suffix | --program-suffix | --program-suffi | --program-suff \
513    | --program-suf | --program-su | --program-s)    | --program-suf | --program-su | --program-s)
514      ac_prev=program_suffix ;;      ac_prev=program_suffix ;;
515    -program-suffix=* | --program-suffix=* | --program-suffi=* \    -program-suffix=* | --program-suffix=* | --program-suffi=* \
516    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517      program_suffix="$ac_optarg" ;;      program_suffix=$ac_optarg ;;
518    
519    -program-transform-name | --program-transform-name \    -program-transform-name | --program-transform-name \
520    | --program-transform-nam | --program-transform-na \    | --program-transform-nam | --program-transform-na \
# Line 306  Line 531 
531    | --program-transfo=* | --program-transf=* \    | --program-transfo=* | --program-transf=* \
532    | --program-trans=* | --program-tran=* \    | --program-trans=* | --program-tran=* \
533    | --progr-tra=* | --program-tr=* | --program-t=*)    | --progr-tra=* | --program-tr=* | --program-t=*)
534      program_transform_name="$ac_optarg" ;;      program_transform_name=$ac_optarg ;;
535    
536    -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537    | -silent | --silent | --silen | --sile | --sil)    | -silent | --silent | --silen | --sile | --sil)
# Line 316  Line 541 
541      ac_prev=sbindir ;;      ac_prev=sbindir ;;
542    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543    | --sbi=* | --sb=*)    | --sbi=* | --sb=*)
544      sbindir="$ac_optarg" ;;      sbindir=$ac_optarg ;;
545    
546    -sharedstatedir | --sharedstatedir | --sharedstatedi \    -sharedstatedir | --sharedstatedir | --sharedstatedi \
547    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
# Line 327  Line 552 
552    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554    | --sha=* | --sh=*)    | --sha=* | --sh=*)
555      sharedstatedir="$ac_optarg" ;;      sharedstatedir=$ac_optarg ;;
556    
557    -site | --site | --sit)    -site | --site | --sit)
558      ac_prev=site ;;      ac_prev=site ;;
559    -site=* | --site=* | --sit=*)    -site=* | --site=* | --sit=*)
560      site="$ac_optarg" ;;      site=$ac_optarg ;;
561    
562    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563      ac_prev=srcdir ;;      ac_prev=srcdir ;;
564    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565      srcdir="$ac_optarg" ;;      srcdir=$ac_optarg ;;
566    
567    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568    | --syscon | --sysco | --sysc | --sys | --sy)    | --syscon | --sysco | --sysc | --sys | --sy)
569      ac_prev=sysconfdir ;;      ac_prev=sysconfdir ;;
570    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572      sysconfdir="$ac_optarg" ;;      sysconfdir=$ac_optarg ;;
573    
574    -target | --target | --targe | --targ | --tar | --ta | --t)    -target | --target | --targe | --targ | --tar | --ta | --t)
575      ac_prev=target ;;      ac_prev=target_alias ;;
576    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577      target="$ac_optarg" ;;      target_alias=$ac_optarg ;;
578    
579    -v | -verbose | --verbose | --verbos | --verbo | --verb)    -v | -verbose | --verbose | --verbos | --verbo | --verb)
580      verbose=yes ;;      verbose=yes ;;
581    
582    -version | --version | --versio | --versi | --vers)    -version | --version | --versio | --versi | --vers | -V)
583      echo "configure generated by autoconf version 2.13"      ac_init_version=: ;;
     exit 0 ;;  
584    
585    -with-* | --with-*)    -with-* | --with-*)
586      ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
588      if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }        { echo "$as_me: error: invalid package name: $ac_package" >&2
590      fi     { (exit 1); exit 1; }; }
591      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package| sed 's/-/_/g'`
592      case "$ac_option" in      case $ac_option in
593        *=*) ;;        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594        *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
595      esac      esac
596      eval "with_${ac_package}='$ac_optarg'" ;;      eval "with_$ac_package='$ac_optarg'" ;;
597    
598    -without-* | --without-*)    -without-* | --without-*)
599      ac_package=`echo $ac_option|sed -e 's/-*without-//'`      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
601      if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }        { echo "$as_me: error: invalid package name: $ac_package" >&2
603      fi     { (exit 1); exit 1; }; }
604      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package | sed 's/-/_/g'`
605      eval "with_${ac_package}=no" ;;      eval "with_$ac_package=no" ;;
606    
607    --x)    --x)
608      # Obsolete; use --with-x.      # Obsolete; use --with-x.
# Line 389  Line 613 
613      ac_prev=x_includes ;;      ac_prev=x_includes ;;
614    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616      x_includes="$ac_optarg" ;;      x_includes=$ac_optarg ;;
617    
618    -x-libraries | --x-libraries | --x-librarie | --x-librari \    -x-libraries | --x-libraries | --x-librarie | --x-librari \
619    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620      ac_prev=x_libraries ;;      ac_prev=x_libraries ;;
621    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623      x_libraries="$ac_optarg" ;;      x_libraries=$ac_optarg ;;
624    
625    -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }    -*) { echo "$as_me: error: unrecognized option: $ac_option
626    Try \`$0 --help' for more information." >&2
627       { (exit 1); exit 1; }; }
628      ;;      ;;
629    
630      *=*)
631        ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632        # Reject names that are not valid shell variable names.
633        expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634          { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635       { (exit 1); exit 1; }; }
636        ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637        eval "$ac_envvar='$ac_optarg'"
638        export $ac_envvar ;;
639    
640    *)    *)
641      if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then      # FIXME: should be removed in autoconf 3.0.
642        echo "configure: warning: $ac_option: invalid host type" 1>&2      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643      fi      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644      if test "x$nonopt" != xNONE; then        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645        { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     fi  
     nonopt="$ac_option"  
646      ;;      ;;
647    
648    esac    esac
649  done  done
650    
651  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
652    { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653  fi    { echo "$as_me: error: missing argument to $ac_option" >&2
654       { (exit 1); exit 1; }; }
 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15  
   
 # File descriptor usage:  
 # 0 standard input  
 # 1 file creation  
 # 2 errors and warnings  
 # 3 some systems may open it to /dev/tty  
 # 4 used on the Kubota Titan  
 # 6 checking for... messages and results  
 # 5 compiler messages saved in config.log  
 if test "$silent" = yes; then  
   exec 6>/dev/null  
 else  
   exec 6>&1  
655  fi  fi
 exec 5>./config.log  
656    
657  echo "\  # Be sure to have absolute paths.
658  This file contains any messages produced by compilers while  for ac_var in exec_prefix prefix
659  running configure, to aid debugging if configure makes a mistake.  do
660  " 1>&5    eval ac_val=$`echo $ac_var`
661      case $ac_val in
662        [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663        *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664       { (exit 1); exit 1; }; };;
665      esac
666    done
667    
668  # Strip out --no-create and --no-recursion so they do not pile up.  # Be sure to have absolute paths.
669  # Also quote any args containing shell metacharacters.  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670  ac_configure_args=                localstatedir libdir includedir oldincludedir infodir mandir
 for ac_arg  
671  do  do
672    case "$ac_arg" in    eval ac_val=$`echo $ac_var`
673    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    case $ac_val in
674    | --no-cr | --no-c) ;;      [\\/$]* | ?:[\\/]* ) ;;
675    -no-recursion | --no-recursion | --no-recursio | --no-recursi \      *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;     { (exit 1); exit 1; }; };;
   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)  
   ac_configure_args="$ac_configure_args '$ac_arg'" ;;  
   *) ac_configure_args="$ac_configure_args $ac_arg" ;;  
677    esac    esac
678  done  done
679    
680  # NLS nuisances.  # There might be people who depend on the old broken behavior: `$host'
681  # Only set these to C if already set.  These must not be set unconditionally  # used to hold the argument of --host etc.
682  # because not all systems understand e.g. LANG=C (notably SCO).  # FIXME: To remove some day.
683  # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!  build=$build_alias
684  # Non-C LC_CTYPE values break the ctype check.  host=$host_alias
685  if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi  target=$target_alias
686  if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi  
687  if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi  # FIXME: To remove some day.
688  if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi  if test "x$host_alias" != x; then
689      if test "x$build_alias" = x; then
690        cross_compiling=maybe
691        echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692        If a cross compiler is detected then cross compile mode will be used." >&2
693      elif test "x$build_alias" != "x$host_alias"; then
694        cross_compiling=yes
695      fi
696    fi
697    
698  # confdefs.h avoids OS command line length limits that DEFS can exceed.  ac_tool_prefix=
699  rm -rf conftest* confdefs.h  test -n "$host_alias" && ac_tool_prefix=$host_alias-
700  # AIX cpp loses on an empty file, so make sure it contains at least a newline.  
701  echo > confdefs.h  test "$silent" = yes && exec 6>/dev/null
702    
 # A filename unique to this package, relative to the directory that  
 # configure is in, which we can look for to find out if srcdir is correct.  
 ac_unique_file=cvsgraph.c  
703    
704  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
705  if test -z "$srcdir"; then  if test -z "$srcdir"; then
706    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
707    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
708    ac_prog=$0    ac_confdir=`(dirname "$0") 2>/dev/null ||
709    ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710    test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.           X"$0" : 'X\(//\)[^/]' \| \
711             X"$0" : 'X\(//\)$' \| \
712             X"$0" : 'X\(/\)' \| \
713             .     : '\(.\)' 2>/dev/null ||
714    echo X"$0" |
715        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717              /^X\(\/\/\)$/{ s//\1/; q; }
718              /^X\(\/\).*/{ s//\1/; q; }
719              s/.*/./; q'`
720    srcdir=$ac_confdir    srcdir=$ac_confdir
721    if test ! -r $srcdir/$ac_unique_file; then    if test ! -r $srcdir/$ac_unique_file; then
722      srcdir=..      srcdir=..
# Line 491  Line 726 
726  fi  fi
727  if test ! -r $srcdir/$ac_unique_file; then  if test ! -r $srcdir/$ac_unique_file; then
728    if test "$ac_srcdir_defaulted" = yes; then    if test "$ac_srcdir_defaulted" = yes; then
729      { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730       { (exit 1); exit 1; }; }
731    else    else
732      { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733       { (exit 1); exit 1; }; }
734    fi    fi
735  fi  fi
736  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`  (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737      { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738       { (exit 1); exit 1; }; }
739    srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740    ac_env_build_alias_set=${build_alias+set}
741    ac_env_build_alias_value=$build_alias
742    ac_cv_env_build_alias_set=${build_alias+set}
743    ac_cv_env_build_alias_value=$build_alias
744    ac_env_host_alias_set=${host_alias+set}
745    ac_env_host_alias_value=$host_alias
746    ac_cv_env_host_alias_set=${host_alias+set}
747    ac_cv_env_host_alias_value=$host_alias
748    ac_env_target_alias_set=${target_alias+set}
749    ac_env_target_alias_value=$target_alias
750    ac_cv_env_target_alias_set=${target_alias+set}
751    ac_cv_env_target_alias_value=$target_alias
752    ac_env_CC_set=${CC+set}
753    ac_env_CC_value=$CC
754    ac_cv_env_CC_set=${CC+set}
755    ac_cv_env_CC_value=$CC
756    ac_env_CFLAGS_set=${CFLAGS+set}
757    ac_env_CFLAGS_value=$CFLAGS
758    ac_cv_env_CFLAGS_set=${CFLAGS+set}
759    ac_cv_env_CFLAGS_value=$CFLAGS
760    ac_env_LDFLAGS_set=${LDFLAGS+set}
761    ac_env_LDFLAGS_value=$LDFLAGS
762    ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763    ac_cv_env_LDFLAGS_value=$LDFLAGS
764    ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765    ac_env_CPPFLAGS_value=$CPPFLAGS
766    ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767    ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768    ac_env_CPP_set=${CPP+set}
769    ac_env_CPP_value=$CPP
770    ac_cv_env_CPP_set=${CPP+set}
771    ac_cv_env_CPP_value=$CPP
772    
773    #
774    # Report the --help message.
775    #
776    if test "$ac_init_help" = "long"; then
777      # Omit some internal or obsolete options to make the list less imposing.
778      # This message is too long to be a string in the A/UX 3.1 sh.
779      cat <<_ACEOF
780    \`configure' configures this package to adapt to many kinds of systems.
781    
782    Usage: $0 [OPTION]... [VAR=VALUE]...
783    
784    To assign environment variables (e.g., CC, CFLAGS...), specify them as
785    VAR=VALUE.  See below for descriptions of some of the useful variables.
786    
787    Defaults for the options are specified in brackets.
788    
789    Configuration:
790      -h, --help              display this help and exit
791          --help=short        display options specific to this package
792          --help=recursive    display the short help of all the included packages
793      -V, --version           display version information and exit
794      -q, --quiet, --silent   do not print \`checking...' messages
795          --cache-file=FILE   cache test results in FILE [disabled]
796      -C, --config-cache      alias for \`--cache-file=config.cache'
797      -n, --no-create         do not create output files
798          --srcdir=DIR        find the sources in DIR [configure dir or \`..']
799    
800    _ACEOF
801    
802      cat <<_ACEOF
803    Installation directories:
804      --prefix=PREFIX         install architecture-independent files in PREFIX
805                              [$ac_default_prefix]
806      --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
807                              [PREFIX]
808    
809    By default, \`make install' will install all the files in
810    \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
811    an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812    for instance \`--prefix=\$HOME'.
813    
814    For better control, use the options below.
815    
816    Fine tuning of the installation directories:
817      --bindir=DIR           user executables [EPREFIX/bin]
818      --sbindir=DIR          system admin executables [EPREFIX/sbin]
819      --libexecdir=DIR       program executables [EPREFIX/libexec]
820      --datadir=DIR          read-only architecture-independent data [PREFIX/share]
821      --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
822      --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
823      --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
824      --libdir=DIR           object code libraries [EPREFIX/lib]
825      --includedir=DIR       C header files [PREFIX/include]
826      --oldincludedir=DIR    C header files for non-gcc [/usr/include]
827      --infodir=DIR          info documentation [PREFIX/info]
828      --mandir=DIR           man documentation [PREFIX/man]
829    _ACEOF
830    
831      cat <<\_ACEOF
832    _ACEOF
833    fi
834    
835    if test -n "$ac_init_help"; then
836    
837      cat <<\_ACEOF
838    
839    Optional Features:
840      --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
841      --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
842      --disable-speed         Turn off lex table optimization reducing speed and size of executable
843    
844    Optional Packages:
845      --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
846      --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
847      --with-gd-inc=DIR       location of the gd includes
848      --with-gd-lib=DIR       location of the gd library
849      --with-freetype-lib=DIR    location of freetype library
850      --with-freetype2-lib=DIR    location of freetype2 library
851      --with-png-inc=DIR      location of png includes
852      --with-png-lib=DIR      location of png library
853      --with-jpeg-inc=DIR    location of jpeg includes
854      --with-jpeg-lib=DIR    location of jpeg library
855      --with-z-inc=DIR        location of zlib includes
856      --with-z-lib=DIR        location of zlib library
857    
858    Some influential environment variables:
859      CC          C compiler command
860      CFLAGS      C compiler flags
861      LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
862                  nonstandard directory <lib dir>
863      CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
864                  headers in a nonstandard directory <include dir>
865      CPP         C preprocessor
866    
867    Use these variables to override the choices made by `configure' or to help
868    it to find libraries and programs with nonstandard names/locations.
869    
870    _ACEOF
871    fi
872    
873    if test "$ac_init_help" = "recursive"; then
874      # If there are subdirs, report their specific --help.
875      ac_popdir=`pwd`
876      for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
877        test -d $ac_dir || continue
878        ac_builddir=.
879    
880    if test "$ac_dir" != .; then
881      ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
882      # A "../" for each directory in $ac_dir_suffix.
883      ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
884    else
885      ac_dir_suffix= ac_top_builddir=
886    fi
887    
888    case $srcdir in
889      .)  # No --srcdir option.  We are building in place.
890        ac_srcdir=.
891        if test -z "$ac_top_builddir"; then
892           ac_top_srcdir=.
893        else
894           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
895        fi ;;
896      [\\/]* | ?:[\\/]* )  # Absolute path.
897        ac_srcdir=$srcdir$ac_dir_suffix;
898        ac_top_srcdir=$srcdir ;;
899      *) # Relative path.
900        ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
901        ac_top_srcdir=$ac_top_builddir$srcdir ;;
902    esac
903    # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
904    # absolute.
905    ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
906    ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
907    ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
908    ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
909    
910        cd $ac_dir
911        # Check for guested configure; otherwise get Cygnus style configure.
912        if test -f $ac_srcdir/configure.gnu; then
913          echo
914          $SHELL $ac_srcdir/configure.gnu  --help=recursive
915        elif test -f $ac_srcdir/configure; then
916          echo
917          $SHELL $ac_srcdir/configure  --help=recursive
918        elif test -f $ac_srcdir/configure.ac ||
919               test -f $ac_srcdir/configure.in; then
920          echo
921          $ac_configure --help
922        else
923          echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
924        fi
925        cd $ac_popdir
926      done
927    fi
928    
929    test -n "$ac_init_help" && exit 0
930    if $ac_init_version; then
931      cat <<\_ACEOF
932    
933    Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
934    Free Software Foundation, Inc.
935    This configure script is free software; the Free Software Foundation
936    gives unlimited permission to copy, distribute and modify it.
937    _ACEOF
938      exit 0
939    fi
940    exec 5>config.log
941    cat >&5 <<_ACEOF
942    This file contains any messages produced by compilers while
943    running configure, to aid debugging if configure makes a mistake.
944    
945    It was created by $as_me, which was
946    generated by GNU Autoconf 2.57.  Invocation command line was
947    
948      $ $0 $@
949    
950    _ACEOF
951    {
952    cat <<_ASUNAME
953    ## --------- ##
954    ## Platform. ##
955    ## --------- ##
956    
957    hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
958    uname -m = `(uname -m) 2>/dev/null || echo unknown`
959    uname -r = `(uname -r) 2>/dev/null || echo unknown`
960    uname -s = `(uname -s) 2>/dev/null || echo unknown`
961    uname -v = `(uname -v) 2>/dev/null || echo unknown`
962    
963    /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
964    /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
965    
966    /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
967    /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
968    /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
969    hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
970    /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
971    /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
972    /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
973    
974    _ASUNAME
975    
976    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
977    for as_dir in $PATH
978    do
979      IFS=$as_save_IFS
980      test -z "$as_dir" && as_dir=.
981      echo "PATH: $as_dir"
982    done
983    
984    } >&5
985    
986    cat >&5 <<_ACEOF
987    
988    
989    ## ----------- ##
990    ## Core tests. ##
991    ## ----------- ##
992    
993    _ACEOF
994    
995    
996    # Keep a trace of the command line.
997    # Strip out --no-create and --no-recursion so they do not pile up.
998    # Strip out --silent because we don't want to record it for future runs.
999    # Also quote any args containing shell meta-characters.
1000    # Make two passes to allow for proper duplicate-argument suppression.
1001    ac_configure_args=
1002    ac_configure_args0=
1003    ac_configure_args1=
1004    ac_sep=
1005    ac_must_keep_next=false
1006    for ac_pass in 1 2
1007    do
1008      for ac_arg
1009      do
1010        case $ac_arg in
1011        -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1012        -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1013        | -silent | --silent | --silen | --sile | --sil)
1014          continue ;;
1015        *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1016          ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1017        esac
1018        case $ac_pass in
1019        1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1020        2)
1021          ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1022          if test $ac_must_keep_next = true; then
1023            ac_must_keep_next=false # Got value, back to normal.
1024          else
1025            case $ac_arg in
1026              *=* | --config-cache | -C | -disable-* | --disable-* \
1027              | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1028              | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1029              | -with-* | --with-* | -without-* | --without-* | --x)
1030                case "$ac_configure_args0 " in
1031                  "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1032                esac
1033                ;;
1034              -* ) ac_must_keep_next=true ;;
1035            esac
1036          fi
1037          ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1038          # Get rid of the leading space.
1039          ac_sep=" "
1040          ;;
1041        esac
1042      done
1043    done
1044    $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1045    $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1046    
1047    # When interrupted or exit'd, cleanup temporary files, and complete
1048    # config.log.  We remove comments because anyway the quotes in there
1049    # would cause problems or look ugly.
1050    # WARNING: Be sure not to use single quotes in there, as some shells,
1051    # such as our DU 5.0 friend, will then `close' the trap.
1052    trap 'exit_status=$?
1053      # Save into config.log some information that might help in debugging.
1054      {
1055        echo
1056    
1057        cat <<\_ASBOX
1058    ## ---------------- ##
1059    ## Cache variables. ##
1060    ## ---------------- ##
1061    _ASBOX
1062        echo
1063        # The following way of writing the cache mishandles newlines in values,
1064    {
1065      (set) 2>&1 |
1066        case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1067        *ac_space=\ *)
1068          sed -n \
1069            "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1070              s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1071          ;;
1072        *)
1073          sed -n \
1074            "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1075          ;;
1076        esac;
1077    }
1078        echo
1079    
1080        cat <<\_ASBOX
1081    ## ----------------- ##
1082    ## Output variables. ##
1083    ## ----------------- ##
1084    _ASBOX
1085        echo
1086        for ac_var in $ac_subst_vars
1087        do
1088          eval ac_val=$`echo $ac_var`
1089          echo "$ac_var='"'"'$ac_val'"'"'"
1090        done | sort
1091        echo
1092    
1093        if test -n "$ac_subst_files"; then
1094          cat <<\_ASBOX
1095    ## ------------- ##
1096    ## Output files. ##
1097    ## ------------- ##
1098    _ASBOX
1099          echo
1100          for ac_var in $ac_subst_files
1101          do
1102            eval ac_val=$`echo $ac_var`
1103            echo "$ac_var='"'"'$ac_val'"'"'"
1104          done | sort
1105          echo
1106        fi
1107    
1108        if test -s confdefs.h; then
1109          cat <<\_ASBOX
1110    ## ----------- ##
1111    ## confdefs.h. ##
1112    ## ----------- ##
1113    _ASBOX
1114          echo
1115          sed "/^$/d" confdefs.h | sort
1116          echo
1117        fi
1118        test "$ac_signal" != 0 &&
1119          echo "$as_me: caught signal $ac_signal"
1120        echo "$as_me: exit $exit_status"
1121      } >&5
1122      rm -f core core.* *.core &&
1123      rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1124        exit $exit_status
1125         ' 0
1126    for ac_signal in 1 2 13 15; do
1127      trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1128    done
1129    ac_signal=0
1130    
1131    # confdefs.h avoids OS command line length limits that DEFS can exceed.
1132    rm -rf conftest* confdefs.h
1133    # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1134    echo >confdefs.h
1135    
1136    # Predefined preprocessor variables.
1137    
1138    cat >>confdefs.h <<_ACEOF
1139    #define PACKAGE_NAME "$PACKAGE_NAME"
1140    _ACEOF
1141    
1142    
1143    cat >>confdefs.h <<_ACEOF
1144    #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1145    _ACEOF
1146    
1147    
1148    cat >>confdefs.h <<_ACEOF
1149    #define PACKAGE_VERSION "$PACKAGE_VERSION"
1150    _ACEOF
1151    
1152    
1153    cat >>confdefs.h <<_ACEOF
1154    #define PACKAGE_STRING "$PACKAGE_STRING"
1155    _ACEOF
1156    
1157    
1158    cat >>confdefs.h <<_ACEOF
1159    #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1160    _ACEOF
1161    
1162    
1163    # Let the site file select an alternate cache file if it wants to.
1164  # Prefer explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
1165  if test -z "$CONFIG_SITE"; then  if test -z "$CONFIG_SITE"; then
1166    if test "x$prefix" != xNONE; then    if test "x$prefix" != xNONE; then
# Line 508  Line 1171 
1171  fi  fi
1172  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
1173    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
1174      echo "loading site script $ac_site_file"      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1175    echo "$as_me: loading site script $ac_site_file" >&6;}
1176        sed 's/^/| /' "$ac_site_file" >&5
1177      . "$ac_site_file"      . "$ac_site_file"
1178    fi    fi
1179  done  done
1180    
1181  if test -r "$cache_file"; then  if test -r "$cache_file"; then
1182    echo "loading cache $cache_file"    # Some versions of bash will fail to source /dev/null (special
1183    . $cache_file    # files actually), so we avoid doing that.
1184      if test -f "$cache_file"; then
1185        { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1186    echo "$as_me: loading cache $cache_file" >&6;}
1187        case $cache_file in
1188          [\\/]* | ?:[\\/]* ) . $cache_file;;
1189          *)                      . ./$cache_file;;
1190        esac
1191      fi
1192  else  else
1193    echo "creating cache $cache_file"    { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1194    > $cache_file  echo "$as_me: creating cache $cache_file" >&6;}
1195      >$cache_file
1196    fi
1197    
1198    # Check that the precious variables saved in the cache have kept the same
1199    # value.
1200    ac_cache_corrupted=false
1201    for ac_var in `(set) 2>&1 |
1202                   sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1203      eval ac_old_set=\$ac_cv_env_${ac_var}_set
1204      eval ac_new_set=\$ac_env_${ac_var}_set
1205      eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1206      eval ac_new_val="\$ac_env_${ac_var}_value"
1207      case $ac_old_set,$ac_new_set in
1208        set,)
1209          { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1210    echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1211          ac_cache_corrupted=: ;;
1212        ,set)
1213          { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1214    echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1215          ac_cache_corrupted=: ;;
1216        ,);;
1217        *)
1218          if test "x$ac_old_val" != "x$ac_new_val"; then
1219            { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1220    echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1221            { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1222    echo "$as_me:   former value:  $ac_old_val" >&2;}
1223            { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1224    echo "$as_me:   current value: $ac_new_val" >&2;}
1225            ac_cache_corrupted=:
1226          fi;;
1227      esac
1228      # Pass precious variables to config.status.
1229      if test "$ac_new_set" = set; then
1230        case $ac_new_val in
1231        *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1232          ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1233        *) ac_arg=$ac_var=$ac_new_val ;;
1234        esac
1235        case " $ac_configure_args " in
1236          *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1237          *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1238        esac
1239      fi
1240    done
1241    if $ac_cache_corrupted; then
1242      { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1243    echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1244      { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1245    echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1246       { (exit 1); exit 1; }; }
1247  fi  fi
1248    
1249  ac_ext=c  ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
1250  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
1251  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1252  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1253  cross_compiling=$ac_cv_prog_cc_cross  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1254    
 ac_exeext=  
 ac_objext=o  
 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  
   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  
   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then  
     ac_n= ac_c='  
 ' ac_t='        '  
   else  
     ac_n=-n ac_c= ac_t=  
   fi  
 else  
   ac_n= ac_c='\c' ac_t=  
 fi  
1255    
1256    
1257    
1258    
1259  # Extract the first word of "gcc", so it can be a program name with args.  
1260  set dummy gcc; ac_word=$2  
1261  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
1262  echo "configure:552: checking for $ac_word" >&5  
1263  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  
1264    echo $ac_n "(cached) $ac_c" 1>&6  
1265    
1266    
1267    
1268    
1269    
1270    
1271    
1272    
1273              ac_config_headers="$ac_config_headers config.h"
1274    
1275    
1276    ac_ext=c
1277    ac_cpp='$CPP $CPPFLAGS'
1278    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1279    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1280    ac_compiler_gnu=$ac_cv_c_compiler_gnu
1281    if test -n "$ac_tool_prefix"; then
1282      # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1283    set dummy ${ac_tool_prefix}gcc; ac_word=$2
1284    echo "$as_me:$LINENO: checking for $ac_word" >&5
1285    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1286    if test "${ac_cv_prog_CC+set}" = set; then
1287      echo $ECHO_N "(cached) $ECHO_C" >&6
1288  else  else
1289    if test -n "$CC"; then    if test -n "$CC"; then
1290    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1291  else  else
1292    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1293    ac_dummy="$PATH"  for as_dir in $PATH
1294    for ac_dir in $ac_dummy; do  do
1295      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
1296      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
1297        ac_cv_prog_CC="gcc"    for ac_exec_ext in '' $ac_executable_extensions; do
1298        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1299      fi      ac_cv_prog_CC="${ac_tool_prefix}gcc"
1300    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1301    IFS="$ac_save_ifs"      break 2
1302      fi
1303    done
1304    done
1305    
1306  fi  fi
1307  fi  fi
1308  CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
1309  if test -n "$CC"; then  if test -n "$CC"; then
1310    echo "$ac_t""$CC" 1>&6    echo "$as_me:$LINENO: result: $CC" >&5
1311    echo "${ECHO_T}$CC" >&6
1312  else  else
1313    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
1314    echo "${ECHO_T}no" >&6
1315  fi  fi
1316    
1317  if test -z "$CC"; then  fi
1318    # Extract the first word of "cc", so it can be a program name with args.  if test -z "$ac_cv_prog_CC"; then
1319  set dummy cc; ac_word=$2    ac_ct_CC=$CC
1320  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6    # Extract the first word of "gcc", so it can be a program name with args.
1321  echo "configure:582: checking for $ac_word" >&5  set dummy gcc; ac_word=$2
1322  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo "$as_me:$LINENO: checking for $ac_word" >&5
1323    echo $ac_n "(cached) $ac_c" 1>&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1324    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1325      echo $ECHO_N "(cached) $ECHO_C" >&6
1326  else  else
1327    if test -n "$CC"; then    if test -n "$ac_ct_CC"; then
1328    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1329  else  else
1330    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1331    ac_prog_rejected=no  for as_dir in $PATH
1332    ac_dummy="$PATH"  do
1333    for ac_dir in $ac_dummy; do    IFS=$as_save_IFS
1334      test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1335      if test -f $ac_dir/$ac_word; then    for ac_exec_ext in '' $ac_executable_extensions; do
1336        if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1337          ac_prog_rejected=yes      ac_cv_prog_ac_ct_CC="gcc"
1338          continue      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1339        fi      break 2
       ac_cv_prog_CC="cc"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
 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 $# -gt 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  
     set dummy "$ac_dir/$ac_word" "$@"  
     shift  
     ac_cv_prog_CC="$@"  
1340    fi    fi
1341    done
1342    done
1343    
1344  fi  fi
1345  fi  fi
1346    ac_ct_CC=$ac_cv_prog_ac_ct_CC
1347    if test -n "$ac_ct_CC"; then
1348      echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1349    echo "${ECHO_T}$ac_ct_CC" >&6
1350    else
1351      echo "$as_me:$LINENO: result: no" >&5
1352    echo "${ECHO_T}no" >&6
1353  fi  fi
1354  CC="$ac_cv_prog_CC"  
1355  if test -n "$CC"; then    CC=$ac_ct_CC
   echo "$ac_t""$CC" 1>&6  
1356  else  else
1357    echo "$ac_t""no" 1>&6    CC="$ac_cv_prog_CC"
1358  fi  fi
1359    
1360    if test -z "$CC"; then  if test -z "$CC"; then
1361      case "`uname -s`" in    if test -n "$ac_tool_prefix"; then
1362      *win32* | *WIN32*)    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1363        # Extract the first word of "cl", so it can be a program name with args.  set dummy ${ac_tool_prefix}cc; ac_word=$2
1364  set dummy cl; ac_word=$2  echo "$as_me:$LINENO: checking for $ac_word" >&5
1365  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1366  echo "configure:633: checking for $ac_word" >&5  if test "${ac_cv_prog_CC+set}" = set; then
1367  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then    echo $ECHO_N "(cached) $ECHO_C" >&6
   echo $ac_n "(cached) $ac_c" 1>&6  
1368  else  else
1369    if test -n "$CC"; then    if test -n "$CC"; then
1370    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1371  else  else
1372    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1373    ac_dummy="$PATH"  for as_dir in $PATH
1374    for ac_dir in $ac_dummy; do  do
1375      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
1376      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
1377        ac_cv_prog_CC="cl"    for ac_exec_ext in '' $ac_executable_extensions; do
1378        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1379      fi      ac_cv_prog_CC="${ac_tool_prefix}cc"
1380    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1381    IFS="$ac_save_ifs"      break 2
 fi  
 fi  
 CC="$ac_cv_prog_CC"  
 if test -n "$CC"; then  
   echo "$ac_t""$CC" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
  ;;  
     esac  
1382    fi    fi
1383    test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }  done
1384    done
1385    
1386    fi
1387    fi
1388    CC=$ac_cv_prog_CC
1389    if test -n "$CC"; then
1390      echo "$as_me:$LINENO: result: $CC" >&5
1391    echo "${ECHO_T}$CC" >&6
1392    else
1393      echo "$as_me:$LINENO: result: no" >&5
1394    echo "${ECHO_T}no" >&6
1395  fi  fi
1396    
1397  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6  fi
1398  echo "configure:665: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  if test -z "$ac_cv_prog_CC"; then
1399      ac_ct_CC=$CC
1400      # Extract the first word of "cc", so it can be a program name with args.
1401    set dummy cc; ac_word=$2
1402    echo "$as_me:$LINENO: checking for $ac_word" >&5
1403    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1404    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1405      echo $ECHO_N "(cached) $ECHO_C" >&6
1406    else
1407      if test -n "$ac_ct_CC"; then
1408      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1409    else
1410    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1411    for as_dir in $PATH
1412    do
1413      IFS=$as_save_IFS
1414      test -z "$as_dir" && as_dir=.
1415      for ac_exec_ext in '' $ac_executable_extensions; do
1416      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1417        ac_cv_prog_ac_ct_CC="cc"
1418        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1419        break 2
1420      fi
1421    done
1422    done
1423    
1424  ac_ext=c  fi
1425  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  fi
1426  ac_cpp='$CPP $CPPFLAGS'  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1427  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  if test -n "$ac_ct_CC"; then
1428  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1429  cross_compiling=$ac_cv_prog_cc_cross  echo "${ECHO_T}$ac_ct_CC" >&6
1430    else
1431      echo "$as_me:$LINENO: result: no" >&5
1432    echo "${ECHO_T}no" >&6
1433    fi
1434    
1435  cat > conftest.$ac_ext << EOF    CC=$ac_ct_CC
1436    else
1437      CC="$ac_cv_prog_CC"
1438    fi
1439    
1440  #line 676 "configure"  fi
1441  #include "confdefs.h"  if test -z "$CC"; then
1442      # Extract the first word of "cc", so it can be a program name with args.
1443    set dummy cc; ac_word=$2
1444    echo "$as_me:$LINENO: checking for $ac_word" >&5
1445    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1446    if test "${ac_cv_prog_CC+set}" = set; then
1447      echo $ECHO_N "(cached) $ECHO_C" >&6
1448    else
1449      if test -n "$CC"; then
1450      ac_cv_prog_CC="$CC" # Let the user override the test.
1451    else
1452      ac_prog_rejected=no
1453    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1454    for as_dir in $PATH
1455    do
1456      IFS=$as_save_IFS
1457      test -z "$as_dir" && as_dir=.
1458      for ac_exec_ext in '' $ac_executable_extensions; do
1459      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1460        if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1461           ac_prog_rejected=yes
1462           continue
1463         fi
1464        ac_cv_prog_CC="cc"
1465        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1466        break 2
1467      fi
1468    done
1469    done
1470    
1471  main(){return(0);}  if test $ac_prog_rejected = yes; then
1472  EOF    # We found a bogon in the path, so make sure we never use it.
1473  if { (eval echo configure:681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    set dummy $ac_cv_prog_CC
1474    ac_cv_prog_cc_works=yes    shift
1475    # If we can't run a trivial program, we are probably using a cross compiler.    if test $# != 0; then
1476    if (./conftest; exit) 2>/dev/null; then      # We chose a different compiler from the bogus one.
1477      ac_cv_prog_cc_cross=no      # However, it has the same basename, so the bogon will be chosen
1478    else      # first if we set CC to just the basename; use the full file name.
1479      ac_cv_prog_cc_cross=yes      shift
1480        ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1481    fi    fi
1482    fi
1483    fi
1484    fi
1485    CC=$ac_cv_prog_CC
1486    if test -n "$CC"; then
1487      echo "$as_me:$LINENO: result: $CC" >&5
1488    echo "${ECHO_T}$CC" >&6
1489  else  else
1490    echo "configure: failed program was:" >&5    echo "$as_me:$LINENO: result: no" >&5
1491    cat conftest.$ac_ext >&5  echo "${ECHO_T}no" >&6
   ac_cv_prog_cc_works=no  
1492  fi  fi
 rm -fr conftest*  
 ac_ext=c  
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  
 cross_compiling=$ac_cv_prog_cc_cross  
1493    
 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6  
 if test $ac_cv_prog_cc_works = no; then  
   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }  
1494  fi  fi
1495  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  if test -z "$CC"; then
1496  echo "configure:707: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5    if test -n "$ac_tool_prefix"; then
1497  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6    for ac_prog in cl
1498  cross_compiling=$ac_cv_prog_cc_cross    do
1499        # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1500    set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1501    echo "$as_me:$LINENO: checking for $ac_word" >&5
1502    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1503    if test "${ac_cv_prog_CC+set}" = set; then
1504      echo $ECHO_N "(cached) $ECHO_C" >&6
1505    else
1506      if test -n "$CC"; then
1507      ac_cv_prog_CC="$CC" # Let the user override the test.
1508    else
1509    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1510    for as_dir in $PATH
1511    do
1512      IFS=$as_save_IFS
1513      test -z "$as_dir" && as_dir=.
1514      for ac_exec_ext in '' $ac_executable_extensions; do
1515      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1516        ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1517        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1518        break 2
1519      fi
1520    done
1521    done
1522    
1523  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6  fi
1524  echo "configure:712: checking whether we are using GNU C" >&5  fi
1525  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  CC=$ac_cv_prog_CC
1526    echo $ac_n "(cached) $ac_c" 1>&6  if test -n "$CC"; then
1527      echo "$as_me:$LINENO: result: $CC" >&5
1528    echo "${ECHO_T}$CC" >&6
1529  else  else
1530    cat > conftest.c <<EOF    echo "$as_me:$LINENO: result: no" >&5
1531  #ifdef __GNUC__  echo "${ECHO_T}no" >&6
1532    yes;  fi
1533  #endif  
1534  EOF      test -n "$CC" && break
1535  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then    done
1536    ac_cv_prog_gcc=yes  fi
1537    if test -z "$CC"; then
1538      ac_ct_CC=$CC
1539      for ac_prog in cl
1540    do
1541      # Extract the first word of "$ac_prog", so it can be a program name with args.
1542    set dummy $ac_prog; ac_word=$2
1543    echo "$as_me:$LINENO: checking for $ac_word" >&5
1544    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1545    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1546      echo $ECHO_N "(cached) $ECHO_C" >&6
1547  else  else
1548    ac_cv_prog_gcc=no    if test -n "$ac_ct_CC"; then
1549      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1550    else
1551    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1552    for as_dir in $PATH
1553    do
1554      IFS=$as_save_IFS
1555      test -z "$as_dir" && as_dir=.
1556      for ac_exec_ext in '' $ac_executable_extensions; do
1557      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1558        ac_cv_prog_ac_ct_CC="$ac_prog"
1559        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1560        break 2
1561      fi
1562    done
1563    done
1564    
1565  fi  fi
1566  fi  fi
1567    ac_ct_CC=$ac_cv_prog_ac_ct_CC
1568    if test -n "$ac_ct_CC"; then
1569      echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1570    echo "${ECHO_T}$ac_ct_CC" >&6
1571    else
1572      echo "$as_me:$LINENO: result: no" >&5
1573    echo "${ECHO_T}no" >&6
1574    fi
1575    
1576      test -n "$ac_ct_CC" && break
1577    done
1578    
1579  echo "$ac_t""$ac_cv_prog_gcc" 1>&6    CC=$ac_ct_CC
1580    fi
1581    
1582    fi
1583    
1584  if test $ac_cv_prog_gcc = yes; then  
1585    GCC=yes  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1586    See \`config.log' for more details." >&5
1587    echo "$as_me: error: no acceptable C compiler found in \$PATH
1588    See \`config.log' for more details." >&2;}
1589       { (exit 1); exit 1; }; }
1590    
1591    # Provide some information about the compiler.
1592    echo "$as_me:$LINENO:" \
1593         "checking for C compiler version" >&5
1594    ac_compiler=`set X $ac_compile; echo $2`
1595    { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1596      (eval $ac_compiler --version </dev/null >&5) 2>&5
1597      ac_status=$?
1598      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1599      (exit $ac_status); }
1600    { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1601      (eval $ac_compiler -v </dev/null >&5) 2>&5
1602      ac_status=$?
1603      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1604      (exit $ac_status); }
1605    { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1606      (eval $ac_compiler -V </dev/null >&5) 2>&5
1607      ac_status=$?
1608      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1609      (exit $ac_status); }
1610    
1611    cat >conftest.$ac_ext <<_ACEOF
1612    #line $LINENO "configure"
1613    /* confdefs.h.  */
1614    _ACEOF
1615    cat confdefs.h >>conftest.$ac_ext
1616    cat >>conftest.$ac_ext <<_ACEOF
1617    /* end confdefs.h.  */
1618    
1619    int
1620    main ()
1621    {
1622    
1623      ;
1624      return 0;
1625    }
1626    _ACEOF
1627    ac_clean_files_save=$ac_clean_files
1628    ac_clean_files="$ac_clean_files a.out a.exe b.out"
1629    # Try to create an executable without -o first, disregard a.out.
1630    # It will help us diagnose broken compilers, and finding out an intuition
1631    # of exeext.
1632    echo "$as_me:$LINENO: checking for C compiler default output" >&5
1633    echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1634    ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1635    if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1636      (eval $ac_link_default) 2>&5
1637      ac_status=$?
1638      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1639      (exit $ac_status); }; then
1640      # Find the output, starting from the most likely.  This scheme is
1641    # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1642    # resort.
1643    
1644    # Be careful to initialize this variable, since it used to be cached.
1645    # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1646    ac_cv_exeext=
1647    # b.out is created by i960 compilers.
1648    for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1649    do
1650      test -f "$ac_file" || continue
1651      case $ac_file in
1652        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1653            ;;
1654        conftest.$ac_ext )
1655            # This is the source file.
1656            ;;
1657        [ab].out )
1658            # We found the default executable, but exeext='' is most
1659            # certainly right.
1660            break;;
1661        *.* )
1662            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1663            # FIXME: I believe we export ac_cv_exeext for Libtool,
1664            # but it would be cool to find out if it's true.  Does anybody
1665            # maintain Libtool? --akim.
1666            export ac_cv_exeext
1667            break;;
1668        * )
1669            break;;
1670      esac
1671    done
1672  else  else
1673    GCC=    echo "$as_me: failed program was:" >&5
1674    sed 's/^/| /' conftest.$ac_ext >&5
1675    
1676    { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1677    See \`config.log' for more details." >&5
1678    echo "$as_me: error: C compiler cannot create executables
1679    See \`config.log' for more details." >&2;}
1680       { (exit 77); exit 77; }; }
1681    fi
1682    
1683    ac_exeext=$ac_cv_exeext
1684    echo "$as_me:$LINENO: result: $ac_file" >&5
1685    echo "${ECHO_T}$ac_file" >&6
1686    
1687    # Check the compiler produces executables we can run.  If not, either
1688    # the compiler is broken, or we cross compile.
1689    echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1690    echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1691    # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1692    # If not cross compiling, check that we can run a simple program.
1693    if test "$cross_compiling" != yes; then
1694      if { ac_try='./$ac_file'
1695      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1696      (eval $ac_try) 2>&5
1697      ac_status=$?
1698      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1699      (exit $ac_status); }; }; then
1700        cross_compiling=no
1701      else
1702        if test "$cross_compiling" = maybe; then
1703            cross_compiling=yes
1704        else
1705            { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1706    If you meant to cross compile, use \`--host'.
1707    See \`config.log' for more details." >&5
1708    echo "$as_me: error: cannot run C compiled programs.
1709    If you meant to cross compile, use \`--host'.
1710    See \`config.log' for more details." >&2;}
1711       { (exit 1); exit 1; }; }
1712        fi
1713      fi
1714  fi  fi
1715    echo "$as_me:$LINENO: result: yes" >&5
1716    echo "${ECHO_T}yes" >&6
1717    
1718  ac_test_CFLAGS="${CFLAGS+set}"  rm -f a.out a.exe conftest$ac_cv_exeext b.out
1719  ac_save_CFLAGS="$CFLAGS"  ac_clean_files=$ac_clean_files_save
1720  CFLAGS=  # Check the compiler produces executables we can run.  If not, either
1721  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6  # the compiler is broken, or we cross compile.
1722  echo "configure:740: checking whether ${CC-cc} accepts -g" >&5  echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1723  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1724    echo $ac_n "(cached) $ac_c" 1>&6  echo "$as_me:$LINENO: result: $cross_compiling" >&5
1725    echo "${ECHO_T}$cross_compiling" >&6
1726    
1727    echo "$as_me:$LINENO: checking for suffix of executables" >&5
1728    echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1729    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1730      (eval $ac_link) 2>&5
1731      ac_status=$?
1732      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1733      (exit $ac_status); }; then
1734      # If both `conftest.exe' and `conftest' are `present' (well, observable)
1735    # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1736    # work properly (i.e., refer to `conftest.exe'), while it won't with
1737    # `rm'.
1738    for ac_file in conftest.exe conftest conftest.*; do
1739      test -f "$ac_file" || continue
1740      case $ac_file in
1741        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1742        *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1743              export ac_cv_exeext
1744              break;;
1745        * ) break;;
1746      esac
1747    done
1748  else  else
1749    echo 'void f(){}' > conftest.c    { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1750  if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then  See \`config.log' for more details." >&5
1751    echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1752    See \`config.log' for more details." >&2;}
1753       { (exit 1); exit 1; }; }
1754    fi
1755    
1756    rm -f conftest$ac_cv_exeext
1757    echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1758    echo "${ECHO_T}$ac_cv_exeext" >&6
1759    
1760    rm -f conftest.$ac_ext
1761    EXEEXT=$ac_cv_exeext
1762    ac_exeext=$EXEEXT
1763    echo "$as_me:$LINENO: checking for suffix of object files" >&5
1764    echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1765    if test "${ac_cv_objext+set}" = set; then
1766      echo $ECHO_N "(cached) $ECHO_C" >&6
1767    else
1768      cat >conftest.$ac_ext <<_ACEOF
1769    #line $LINENO "configure"
1770    /* confdefs.h.  */
1771    _ACEOF
1772    cat confdefs.h >>conftest.$ac_ext
1773    cat >>conftest.$ac_ext <<_ACEOF
1774    /* end confdefs.h.  */
1775    
1776    int
1777    main ()
1778    {
1779    
1780      ;
1781      return 0;
1782    }
1783    _ACEOF
1784    rm -f conftest.o conftest.obj
1785    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1786      (eval $ac_compile) 2>&5
1787      ac_status=$?
1788      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1789      (exit $ac_status); }; then
1790      for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1791      case $ac_file in
1792        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1793        *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1794           break;;
1795      esac
1796    done
1797    else
1798      echo "$as_me: failed program was:" >&5
1799    sed 's/^/| /' conftest.$ac_ext >&5
1800    
1801    { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1802    See \`config.log' for more details." >&5
1803    echo "$as_me: error: cannot compute suffix of object files: cannot compile
1804    See \`config.log' for more details." >&2;}
1805       { (exit 1); exit 1; }; }
1806    fi
1807    
1808    rm -f conftest.$ac_cv_objext conftest.$ac_ext
1809    fi
1810    echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1811    echo "${ECHO_T}$ac_cv_objext" >&6
1812    OBJEXT=$ac_cv_objext
1813    ac_objext=$OBJEXT
1814    echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1815    echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1816    if test "${ac_cv_c_compiler_gnu+set}" = set; then
1817      echo $ECHO_N "(cached) $ECHO_C" >&6
1818    else
1819      cat >conftest.$ac_ext <<_ACEOF
1820    #line $LINENO "configure"
1821    /* confdefs.h.  */
1822    _ACEOF
1823    cat confdefs.h >>conftest.$ac_ext
1824    cat >>conftest.$ac_ext <<_ACEOF
1825    /* end confdefs.h.  */
1826    
1827    int
1828    main ()
1829    {
1830    #ifndef __GNUC__
1831           choke me
1832    #endif
1833    
1834      ;
1835      return 0;
1836    }
1837    _ACEOF
1838    rm -f conftest.$ac_objext
1839    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1840      (eval $ac_compile) 2>&5
1841      ac_status=$?
1842      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843      (exit $ac_status); } &&
1844             { ac_try='test -s conftest.$ac_objext'
1845      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1846      (eval $ac_try) 2>&5
1847      ac_status=$?
1848      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1849      (exit $ac_status); }; }; then
1850      ac_compiler_gnu=yes
1851    else
1852      echo "$as_me: failed program was:" >&5
1853    sed 's/^/| /' conftest.$ac_ext >&5
1854    
1855    ac_compiler_gnu=no
1856    fi
1857    rm -f conftest.$ac_objext conftest.$ac_ext
1858    ac_cv_c_compiler_gnu=$ac_compiler_gnu
1859    
1860    fi
1861    echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1862    echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1863    GCC=`test $ac_compiler_gnu = yes && echo yes`
1864    ac_test_CFLAGS=${CFLAGS+set}
1865    ac_save_CFLAGS=$CFLAGS
1866    CFLAGS="-g"
1867    echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1868    echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1869    if test "${ac_cv_prog_cc_g+set}" = set; then
1870      echo $ECHO_N "(cached) $ECHO_C" >&6
1871    else
1872      cat >conftest.$ac_ext <<_ACEOF
1873    #line $LINENO "configure"
1874    /* confdefs.h.  */
1875    _ACEOF
1876    cat confdefs.h >>conftest.$ac_ext
1877    cat >>conftest.$ac_ext <<_ACEOF
1878    /* end confdefs.h.  */
1879    
1880    int
1881    main ()
1882    {
1883    
1884      ;
1885      return 0;
1886    }
1887    _ACEOF
1888    rm -f conftest.$ac_objext
1889    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1890      (eval $ac_compile) 2>&5
1891      ac_status=$?
1892      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1893      (exit $ac_status); } &&
1894             { ac_try='test -s conftest.$ac_objext'
1895      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1896      (eval $ac_try) 2>&5
1897      ac_status=$?
1898      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1899      (exit $ac_status); }; }; then
1900    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
1901  else  else
1902    ac_cv_prog_cc_g=no    echo "$as_me: failed program was:" >&5
1903  fi  sed 's/^/| /' conftest.$ac_ext >&5
 rm -f conftest*  
1904    
1905    ac_cv_prog_cc_g=no
1906  fi  fi
1907    rm -f conftest.$ac_objext conftest.$ac_ext
1908  echo "$ac_t""$ac_cv_prog_cc_g" 1>&6  fi
1909    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1910    echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1911  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
1912    CFLAGS="$ac_save_CFLAGS"    CFLAGS=$ac_save_CFLAGS
1913  elif test $ac_cv_prog_cc_g = yes; then  elif test $ac_cv_prog_cc_g = yes; then
1914    if test "$GCC" = yes; then    if test "$GCC" = yes; then
1915      CFLAGS="-g -O2"      CFLAGS="-g -O2"
# Line 766  Line 1923 
1923      CFLAGS=      CFLAGS=
1924    fi    fi
1925  fi  fi
1926    echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1927    echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1928    if test "${ac_cv_prog_cc_stdc+set}" = set; then
1929      echo $ECHO_N "(cached) $ECHO_C" >&6
1930    else
1931      ac_cv_prog_cc_stdc=no
1932    ac_save_CC=$CC
1933    cat >conftest.$ac_ext <<_ACEOF
1934    #line $LINENO "configure"
1935    /* confdefs.h.  */
1936    _ACEOF
1937    cat confdefs.h >>conftest.$ac_ext
1938    cat >>conftest.$ac_ext <<_ACEOF
1939    /* end confdefs.h.  */
1940    #include <stdarg.h>
1941    #include <stdio.h>
1942    #include <sys/types.h>
1943    #include <sys/stat.h>
1944    /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
1945    struct buf { int x; };
1946    FILE * (*rcsopen) (struct buf *, struct stat *, int);
1947    static char *e (p, i)
1948         char **p;
1949         int i;
1950    {
1951      return p[i];
1952    }
1953    static char *f (char * (*g) (char **, int), char **p, ...)
1954    {
1955      char *s;
1956      va_list v;
1957      va_start (v,p);
1958      s = g (p, va_arg (v,int));
1959      va_end (v);
1960      return s;
1961    }
1962    int test (int i, double x);
1963    struct s1 {int (*f) (int a);};
1964    struct s2 {int (*f) (double a);};
1965    int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1966    int argc;
1967    char **argv;
1968    int
1969    main ()
1970    {
1971    return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
1972      ;
1973      return 0;
1974    }
1975    _ACEOF
1976    # Don't try gcc -ansi; that turns off useful extensions and
1977    # breaks some systems' header files.
1978    # AIX                   -qlanglvl=ansi
1979    # Ultrix and OSF/1      -std1
1980    # HP-UX 10.20 and later -Ae
1981    # HP-UX older versions  -Aa -D_HPUX_SOURCE
1982    # SVR4                  -Xc -D__EXTENSIONS__
1983    for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1984    do
1985      CC="$ac_save_CC $ac_arg"
1986      rm -f conftest.$ac_objext
1987    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1988      (eval $ac_compile) 2>&5
1989      ac_status=$?
1990      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1991      (exit $ac_status); } &&
1992             { ac_try='test -s conftest.$ac_objext'
1993      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1994      (eval $ac_try) 2>&5
1995      ac_status=$?
1996      echo "$as_me:$LINENO: \$? = $ac_status" >&5
1997      (exit $ac_status); }; }; then
1998      ac_cv_prog_cc_stdc=$ac_arg
1999    break
2000    else
2001      echo "$as_me: failed program was:" >&5
2002    sed 's/^/| /' conftest.$ac_ext >&5
2003    
2004  # Extract the first word of "flex", so it can be a program name with args.  fi
2005  set dummy flex; ac_word=$2  rm -f conftest.$ac_objext
2006  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  done
2007  echo "configure:774: checking for $ac_word" >&5  rm -f conftest.$ac_ext conftest.$ac_objext
2008  if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then  CC=$ac_save_CC
2009    echo $ac_n "(cached) $ac_c" 1>&6  
2010    fi
2011    
2012    case "x$ac_cv_prog_cc_stdc" in
2013      x|xno)
2014        echo "$as_me:$LINENO: result: none needed" >&5
2015    echo "${ECHO_T}none needed" >&6 ;;
2016      *)
2017        echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2018    echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2019        CC="$CC $ac_cv_prog_cc_stdc" ;;
2020    esac
2021    
2022    # Some people use a C++ compiler to compile C.  Since we use `exit',
2023    # in C++ we need to declare it.  In case someone uses the same compiler
2024    # for both compiling C and C++ we need to have the C++ compiler decide
2025    # the declaration of exit, since it's the most demanding environment.
2026    cat >conftest.$ac_ext <<_ACEOF
2027    #ifndef __cplusplus
2028      choke me
2029    #endif
2030    _ACEOF
2031    rm -f conftest.$ac_objext
2032    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2033      (eval $ac_compile) 2>&5
2034      ac_status=$?
2035      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2036      (exit $ac_status); } &&
2037             { ac_try='test -s conftest.$ac_objext'
2038      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2039      (eval $ac_try) 2>&5
2040      ac_status=$?
2041      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042      (exit $ac_status); }; }; then
2043      for ac_declaration in \
2044       ''\
2045       '#include <stdlib.h>' \
2046       'extern "C" void std::exit (int) throw (); using std::exit;' \
2047       'extern "C" void std::exit (int); using std::exit;' \
2048       'extern "C" void exit (int) throw ();' \
2049       'extern "C" void exit (int);' \
2050       'void exit (int);'
2051    do
2052      cat >conftest.$ac_ext <<_ACEOF
2053    #line $LINENO "configure"
2054    /* confdefs.h.  */
2055    _ACEOF
2056    cat confdefs.h >>conftest.$ac_ext
2057    cat >>conftest.$ac_ext <<_ACEOF
2058    /* end confdefs.h.  */
2059    #include <stdlib.h>
2060    $ac_declaration
2061    int
2062    main ()
2063    {
2064    exit (42);
2065      ;
2066      return 0;
2067    }
2068    _ACEOF
2069    rm -f conftest.$ac_objext
2070    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2071      (eval $ac_compile) 2>&5
2072      ac_status=$?
2073      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2074      (exit $ac_status); } &&
2075             { ac_try='test -s conftest.$ac_objext'
2076      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2077      (eval $ac_try) 2>&5
2078      ac_status=$?
2079      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2080      (exit $ac_status); }; }; then
2081      :
2082    else
2083      echo "$as_me: failed program was:" >&5
2084    sed 's/^/| /' conftest.$ac_ext >&5
2085    
2086    continue
2087    fi
2088    rm -f conftest.$ac_objext conftest.$ac_ext
2089      cat >conftest.$ac_ext <<_ACEOF
2090    #line $LINENO "configure"
2091    /* confdefs.h.  */
2092    _ACEOF
2093    cat confdefs.h >>conftest.$ac_ext
2094    cat >>conftest.$ac_ext <<_ACEOF
2095    /* end confdefs.h.  */
2096    $ac_declaration
2097    int
2098    main ()
2099    {
2100    exit (42);
2101      ;
2102      return 0;
2103    }
2104    _ACEOF
2105    rm -f conftest.$ac_objext
2106    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2107      (eval $ac_compile) 2>&5
2108      ac_status=$?
2109      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110      (exit $ac_status); } &&
2111             { ac_try='test -s conftest.$ac_objext'
2112      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2113      (eval $ac_try) 2>&5
2114      ac_status=$?
2115      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116      (exit $ac_status); }; }; then
2117      break
2118    else
2119      echo "$as_me: failed program was:" >&5
2120    sed 's/^/| /' conftest.$ac_ext >&5
2121    
2122    fi
2123    rm -f conftest.$ac_objext conftest.$ac_ext
2124    done
2125    rm -f conftest*
2126    if test -n "$ac_declaration"; then
2127      echo '#ifdef __cplusplus' >>confdefs.h
2128      echo $ac_declaration      >>confdefs.h
2129      echo '#endif'             >>confdefs.h
2130    fi
2131    
2132    else
2133      echo "$as_me: failed program was:" >&5
2134    sed 's/^/| /' conftest.$ac_ext >&5
2135    
2136    fi
2137    rm -f conftest.$ac_objext conftest.$ac_ext
2138    ac_ext=c
2139    ac_cpp='$CPP $CPPFLAGS'
2140    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2141    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2142    ac_compiler_gnu=$ac_cv_c_compiler_gnu
2143    
2144    
2145    for ac_prog in flex lex
2146    do
2147      # Extract the first word of "$ac_prog", so it can be a program name with args.
2148    set dummy $ac_prog; ac_word=$2
2149    echo "$as_me:$LINENO: checking for $ac_word" >&5
2150    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2151    if test "${ac_cv_prog_LEX+set}" = set; then
2152      echo $ECHO_N "(cached) $ECHO_C" >&6
2153  else  else
2154    if test -n "$LEX"; then    if test -n "$LEX"; then
2155    ac_cv_prog_LEX="$LEX" # Let the user override the test.    ac_cv_prog_LEX="$LEX" # Let the user override the test.
2156  else  else
2157    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158    ac_dummy="$PATH"  for as_dir in $PATH
2159    for ac_dir in $ac_dummy; do  do
2160      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
2161      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
2162        ac_cv_prog_LEX="flex"    for ac_exec_ext in '' $ac_executable_extensions; do
2163        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2164      fi      ac_cv_prog_LEX="$ac_prog"
2165    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2166    IFS="$ac_save_ifs"      break 2
2167    test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"    fi
2168    done
2169    done
2170    
2171  fi  fi
2172  fi  fi
2173  LEX="$ac_cv_prog_LEX"  LEX=$ac_cv_prog_LEX
2174  if test -n "$LEX"; then  if test -n "$LEX"; then
2175    echo "$ac_t""$LEX" 1>&6    echo "$as_me:$LINENO: result: $LEX" >&5
2176    echo "${ECHO_T}$LEX" >&6
2177  else  else
2178    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
2179    echo "${ECHO_T}no" >&6
2180  fi  fi
2181    
2182      test -n "$LEX" && break
2183    done
2184    test -n "$LEX" || LEX=":"
2185    
2186  if test -z "$LEXLIB"  if test -z "$LEXLIB"
2187  then  then
2188    case "$LEX" in    echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
2189    flex*) ac_lib=fl ;;  echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
2190    *) ac_lib=l ;;  if test "${ac_cv_lib_fl_yywrap+set}" = set; then
2191    esac    echo $ECHO_N "(cached) $ECHO_C" >&6
2192    echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6  else
2193  echo "configure:808: checking for yywrap in -l$ac_lib" >&5    ac_check_lib_save_LIBS=$LIBS
2194  ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`  LIBS="-lfl  $LIBS"
2195  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  cat >conftest.$ac_ext <<_ACEOF
2196    echo $ac_n "(cached) $ac_c" 1>&6  #line $LINENO "configure"
2197  else  /* confdefs.h.  */
2198    ac_save_LIBS="$LIBS"  _ACEOF
2199  LIBS="-l$ac_lib  $LIBS"  cat confdefs.h >>conftest.$ac_ext
2200  cat > conftest.$ac_ext <<EOF  cat >>conftest.$ac_ext <<_ACEOF
2201  #line 816 "configure"  /* end confdefs.h.  */
2202  #include "confdefs.h"  
2203  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2204    #ifdef __cplusplus
2205    extern "C"
2206    #endif
2207  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
2208      builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
2209  char yywrap();  char yywrap ();
2210    int
2211    main ()
2212    {
2213    yywrap ();
2214      ;
2215      return 0;
2216    }
2217    _ACEOF
2218    rm -f conftest.$ac_objext conftest$ac_exeext
2219    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2220      (eval $ac_link) 2>&5
2221      ac_status=$?
2222      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223      (exit $ac_status); } &&
2224             { ac_try='test -s conftest$ac_exeext'
2225      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2226      (eval $ac_try) 2>&5
2227      ac_status=$?
2228      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229      (exit $ac_status); }; }; then
2230      ac_cv_lib_fl_yywrap=yes
2231    else
2232      echo "$as_me: failed program was:" >&5
2233    sed 's/^/| /' conftest.$ac_ext >&5
2234    
2235    ac_cv_lib_fl_yywrap=no
2236    fi
2237    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2238    LIBS=$ac_check_lib_save_LIBS
2239    fi
2240    echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
2241    echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
2242    if test $ac_cv_lib_fl_yywrap = yes; then
2243      LEXLIB="-lfl"
2244    else
2245      echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
2246    echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
2247    if test "${ac_cv_lib_l_yywrap+set}" = set; then
2248      echo $ECHO_N "(cached) $ECHO_C" >&6
2249    else
2250      ac_check_lib_save_LIBS=$LIBS
2251    LIBS="-ll  $LIBS"
2252    cat >conftest.$ac_ext <<_ACEOF
2253    #line $LINENO "configure"
2254    /* confdefs.h.  */
2255    _ACEOF
2256    cat confdefs.h >>conftest.$ac_ext
2257    cat >>conftest.$ac_ext <<_ACEOF
2258    /* end confdefs.h.  */
2259    
2260  int main() {  /* Override any gcc2 internal prototype to avoid an error.  */
2261  yywrap()  #ifdef __cplusplus
2262  ; return 0; }  extern "C"
2263  EOF  #endif
2264  if { (eval echo configure:827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  /* We use char because int might match the return type of a gcc2
2265    rm -rf conftest*     builtin and then its argument prototype would still apply.  */
2266    eval "ac_cv_lib_$ac_lib_var=yes"  char yywrap ();
2267  else  int
2268    echo "configure: failed program was:" >&5  main ()
2269    cat conftest.$ac_ext >&5  {
2270    rm -rf conftest*  yywrap ();
2271    eval "ac_cv_lib_$ac_lib_var=no"    ;
2272      return 0;
2273    }
2274    _ACEOF
2275    rm -f conftest.$ac_objext conftest$ac_exeext
2276    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2277      (eval $ac_link) 2>&5
2278      ac_status=$?
2279      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280      (exit $ac_status); } &&
2281             { ac_try='test -s conftest$ac_exeext'
2282      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283      (eval $ac_try) 2>&5
2284      ac_status=$?
2285      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286      (exit $ac_status); }; }; then
2287      ac_cv_lib_l_yywrap=yes
2288    else
2289      echo "$as_me: failed program was:" >&5
2290    sed 's/^/| /' conftest.$ac_ext >&5
2291    
2292    ac_cv_lib_l_yywrap=no
2293    fi
2294    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2295    LIBS=$ac_check_lib_save_LIBS
2296    fi
2297    echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
2298    echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
2299    if test $ac_cv_lib_l_yywrap = yes; then
2300      LEXLIB="-ll"
2301  fi  fi
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
2302    
2303  fi  fi
2304  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   LEXLIB="-l$ac_lib"  
 else  
   echo "$ac_t""no" 1>&6  
2305  fi  fi
2306    
2307    if test "x$LEX" != "x:"; then
2308      echo "$as_me:$LINENO: checking lex output file root" >&5
2309    echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
2310    if test "${ac_cv_prog_lex_root+set}" = set; then
2311      echo $ECHO_N "(cached) $ECHO_C" >&6
2312    else
2313      # The minimal lex program is just a single line: %%.  But some broken lexes
2314    # (Solaris, I think it was) want two %% lines, so accommodate them.
2315    cat >conftest.l <<_ACEOF
2316    %%
2317    %%
2318    _ACEOF
2319    { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
2320      (eval $LEX conftest.l) 2>&5
2321      ac_status=$?
2322      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323      (exit $ac_status); }
2324    if test -f lex.yy.c; then
2325      ac_cv_prog_lex_root=lex.yy
2326    elif test -f lexyy.c; then
2327      ac_cv_prog_lex_root=lexyy
2328    else
2329      { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
2330    echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
2331       { (exit 1); exit 1; }; }
2332    fi
2333    fi
2334    echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
2335    echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
2336    rm -f conftest.l
2337    LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2338    
2339    echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
2340    echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
2341    if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
2342      echo $ECHO_N "(cached) $ECHO_C" >&6
2343    else
2344      # POSIX says lex can declare yytext either as a pointer or an array; the
2345    # default is implementation-dependent. Figure out which it is, since
2346    # not all implementations provide the %pointer and %array declarations.
2347    ac_cv_prog_lex_yytext_pointer=no
2348    echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
2349    ac_save_LIBS=$LIBS
2350    LIBS="$LIBS $LEXLIB"
2351    cat >conftest.$ac_ext <<_ACEOF
2352    `cat $LEX_OUTPUT_ROOT.c`
2353    _ACEOF
2354    rm -f conftest.$ac_objext conftest$ac_exeext
2355    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2356      (eval $ac_link) 2>&5
2357      ac_status=$?
2358      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359      (exit $ac_status); } &&
2360             { ac_try='test -s conftest$ac_exeext'
2361      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362      (eval $ac_try) 2>&5
2363      ac_status=$?
2364      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365      (exit $ac_status); }; }; then
2366      ac_cv_prog_lex_yytext_pointer=yes
2367    else
2368      echo "$as_me: failed program was:" >&5
2369    sed 's/^/| /' conftest.$ac_ext >&5
2370    
2371    fi
2372    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2373    LIBS=$ac_save_LIBS
2374    rm -f "${LEX_OUTPUT_ROOT}.c"
2375    
2376    fi
2377    echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
2378    echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
2379    if test $ac_cv_prog_lex_yytext_pointer = yes; then
2380    
2381    cat >>confdefs.h <<\_ACEOF
2382    #define YYTEXT_POINTER 1
2383    _ACEOF
2384    
2385  fi  fi
2386    
2387    fi
2388  for ac_prog in 'bison -y' byacc  for ac_prog in 'bison -y' byacc
2389  do  do
2390  # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
2391  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2392  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking for $ac_word" >&5
2393  echo "configure:854: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2394  if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then  if test "${ac_cv_prog_YACC+set}" = set; then
2395    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2396  else  else
2397    if test -n "$YACC"; then    if test -n "$YACC"; then
2398    ac_cv_prog_YACC="$YACC" # Let the user override the test.    ac_cv_prog_YACC="$YACC" # Let the user override the test.
2399  else  else
2400    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401    ac_dummy="$PATH"  for as_dir in $PATH
2402    for ac_dir in $ac_dummy; do  do
2403      test -z "$ac_dir" && ac_dir=.    IFS=$as_save_IFS
2404      if test -f $ac_dir/$ac_word; then    test -z "$as_dir" && as_dir=.
2405        ac_cv_prog_YACC="$ac_prog"    for ac_exec_ext in '' $ac_executable_extensions; do
2406        break    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2407      fi      ac_cv_prog_YACC="$ac_prog"
2408    done      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2409    IFS="$ac_save_ifs"      break 2
2410      fi
2411    done
2412    done
2413    
2414  fi  fi
2415  fi  fi
2416  YACC="$ac_cv_prog_YACC"  YACC=$ac_cv_prog_YACC
2417  if test -n "$YACC"; then  if test -n "$YACC"; then
2418    echo "$ac_t""$YACC" 1>&6    echo "$as_me:$LINENO: result: $YACC" >&5
2419    echo "${ECHO_T}$YACC" >&6
2420  else  else
2421    echo "$ac_t""no" 1>&6    echo "$as_me:$LINENO: result: no" >&5
2422    echo "${ECHO_T}no" >&6
2423  fi  fi
2424    
2425  test -n "$YACC" && break    test -n "$YACC" && break
2426  done  done
2427  test -n "$YACC" || YACC="yacc"  test -n "$YACC" || YACC="yacc"
2428    
# Line 885  Line 2431 
2431  LEXSPEED="-Cf"  LEXSPEED="-Cf"
2432  INCL=""  INCL=""
2433    
2434    
2435  # Check whether --with-gd-inc or --without-gd-inc was given.  # Check whether --with-gd-inc or --without-gd-inc was given.
2436  if test "${with_gd_inc+set}" = set; then  if test "${with_gd_inc+set}" = set; then
2437    withval="$with_gd_inc"    withval="$with_gd_inc"
2438    INCL="${INCL} -I${withval}"    INCL="${INCL} -I${withval}"
2439    
2440  fi  fi;
2441    
2442    
2443  # Check whether --with-gd-lib or --without-gd-lib was given.  # Check whether --with-gd-lib or --without-gd-lib was given.
2444  if test "${with_gd_lib+set}" = set; then  if test "${with_gd_lib+set}" = set; then
2445    withval="$with_gd_lib"    withval="$with_gd_lib"
2446    LIBS="${LIBS} -L${withval}"    LIBS="${LIBS} -L${withval}"
   
 fi  
2447    
2448    fi;
2449    
2450  LIBS="$LIBS -lgd"  LIBS="$LIBS -lgd"
2451  LIBPATH=""  LIBPATH=""
2452    
2453    
2454  # Check whether --with-freetype-lib or --without-freetype-lib was given.  # Check whether --with-freetype-lib or --without-freetype-lib was given.
2455  if test "${with_freetype_lib+set}" = set; then  if test "${with_freetype_lib+set}" = set; then
2456    withval="$with_freetype_lib"    withval="$with_freetype_lib"
2457    LIBS="${LIBS} -L${withval}"    LIBS="${LIBS} -L${withval}"
2458    
2459  fi  fi;
2460    
2461    
2462  # Check whether --with-freetype2-lib or --without-freetype2-lib was given.  # Check whether --with-freetype2-lib or --without-freetype2-lib was given.
2463  if test "${with_freetype2_lib+set}" = set; then  if test "${with_freetype2_lib+set}" = set; then
2464    withval="$with_freetype2_lib"    withval="$with_freetype2_lib"
2465    LIBS="${LIBS} -L${withval}"    LIBS="${LIBS} -L${withval}"
2466    
2467  fi  fi;
2468    
2469    
2470  # Check whether --with-png-inc or --without-png-inc was given.  # Check whether --with-png-inc or --without-png-inc was given.
2471  if test "${with_png_inc+set}" = set; then  if test "${with_png_inc+set}" = set; then
2472    withval="$with_png_inc"    withval="$with_png_inc"
2473    INCL="${INCL} -I${withval}"    INCL="${INCL} -I${withval}"
2474    
2475  fi  fi;
2476    
2477    
2478  # Check whether --with-png-lib or --without-png-lib was given.  # Check whether --with-png-lib or --without-png-lib was given.
2479  if test "${with_png_lib+set}" = set; then  if test "${with_png_lib+set}" = set; then
2480    withval="$with_png_lib"    withval="$with_png_lib"
2481    LIBS="${LIBS} -L${withval}"    LIBS="${LIBS} -L${withval}"
2482    
2483  fi  fi;
2484    
2485    
2486  # Check whether --with-jpeg-inc or --without-jpeg-inc was given.  # Check whether --with-jpeg-inc or --without-jpeg-inc was given.
2487  if test "${with_jpeg_inc+set}" = set; then  if test "${with_jpeg_inc+set}" = set; then
2488    withval="$with_jpeg_inc"    withval="$with_jpeg_inc"
2489    INCL="${INCL} -I${withval}"    INCL="${INCL} -I${withval}"
2490    
2491  fi  fi;
2492    
2493    
2494  # Check whether --with-jpeg-lib or --without-jpeg-lib was given.  # Check whether --with-jpeg-lib or --without-jpeg-lib was given.
2495  if test "${with_jpeg_lib+set}" = set; then  if test "${with_jpeg_lib+set}" = set; then
2496    withval="$with_jpeg_lib"    withval="$with_jpeg_lib"
2497    LIBS="${LIBS} -L${withval}"    LIBS="${LIBS} -L${withval}"
2498    
2499  fi  fi;
2500    
2501    
2502  # Check whether --with-z-inc or --without-z-inc was given.  # Check whether --with-z-inc or --without-z-inc was given.
2503  if test "${with_z_inc+set}" = set; then  if test "${with_z_inc+set}" = set; then
2504    withval="$with_z_inc"    withval="$with_z_inc"
2505    INCL="${INCL} -I${withval}"    INCL="${INCL} -I${withval}"
2506    
2507  fi  fi;
2508    
2509    
2510  # Check whether --with-z-lib or --without-z-lib was given.  # Check whether --with-z-lib or --without-z-lib was given.
2511  if test "${with_z_lib+set}" = set; then  if test "${with_z_lib+set}" = set; then
2512    withval="$with_z_lib"    withval="$with_z_lib"
2513    LIBS="${LIBS} -L${withval}"    LIBS="${LIBS} -L${withval}"
   
 fi  
2514    
2515    fi;
2516    
2517  # Check whether --enable-speed or --disable-speed was given.  # Check whether --enable-speed or --disable-speed was given.
2518  if test "${enable_speed+set}" = set; then  if test "${enable_speed+set}" = set; then
2519    enableval="$enable_speed"    enableval="$enable_speed"
2520    if test "$enableval" = "no"; then LEXSPEED=""; fi    if test "$enableval" = "no"; then LEXSPEED=""; fi
2521  fi  fi;
   
2522    
2523  if test "x$LEXSPEED" != "x"  if test "x$LEXSPEED" != "x"
2524  then  then
# Line 986  Line 2531 
2531  if test "x${GCC}" = "xyes"  if test "x${GCC}" = "xyes"
2532  then  then
2533    CFLAGS="$CFLAGS -Wall"    CFLAGS="$CFLAGS -Wall"
2534    echo $ac_n "checking "for gcc strength-reduce bug"""... $ac_c" 1>&6    echo "$as_me:$LINENO: checking \"for gcc strength-reduce bug\"" >&5
2535  echo "configure:991: checking "for gcc strength-reduce bug"" >&5  echo $ECHO_N "checking \"for gcc strength-reduce bug\"... $ECHO_C" >&6
2536  if eval "test \"`echo '$''{'ac_cv_c_gcc_strength_bug'+set}'`\" = set"; then  if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
2537    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2538  else  else
2539    if test "$cross_compiling" = yes; then    if test "$cross_compiling" = yes; then
2540    ac_cv_c_gcc_strength_bug="yes"    ac_cv_c_gcc_strength_bug="yes"
2541  else  else
2542    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
2543  #line 999 "configure"  #line $LINENO "configure"
2544  #include "confdefs.h"  /* confdefs.h.  */
2545    _ACEOF
2546    cat confdefs.h >>conftest.$ac_ext
2547    cat >>conftest.$ac_ext <<_ACEOF
2548    /* end confdefs.h.  */
2549    
2550  int main(void) {  int main(void) {
2551    static int Array[3];    static int Array[3];
# Line 1005  Line 2554 
2554    for(i=0; i<B; i++) Array[i] = i - 3;    for(i=0; i<B; i++) Array[i] = i - 3;
2555    exit( Array[1] != -2 );    exit( Array[1] != -2 );
2556  }  }
2557  EOF  _ACEOF
2558  if { (eval echo configure:1010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  rm -f conftest$ac_exeext
2559  then  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2560      (eval $ac_link) 2>&5
2561      ac_status=$?
2562      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2564      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565      (eval $ac_try) 2>&5
2566      ac_status=$?
2567      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568      (exit $ac_status); }; }; then
2569    ac_cv_c_gcc_strength_bug="no"    ac_cv_c_gcc_strength_bug="no"
2570  else  else
2571    echo "configure: failed program was:" >&5    echo "$as_me: program exited with status $ac_status" >&5
2572    cat conftest.$ac_ext >&5  echo "$as_me: failed program was:" >&5
2573    rm -fr conftest*  sed 's/^/| /' conftest.$ac_ext >&5
2574    ac_cv_c_gcc_strength_bug="yes"  
2575    ( exit $ac_status )
2576    ac_cv_c_gcc_strength_bug="yes"
2577  fi  fi
2578  rm -fr conftest*  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2579  fi  fi
   
2580  fi  fi
2581    echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
2582  echo "$ac_t""$ac_cv_c_gcc_strength_bug" 1>&6  echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
2583    if test "$ac_cv_c_gcc_strength_bug" = "yes"    if test "$ac_cv_c_gcc_strength_bug" = "yes"
2584    then    then
2585      CFLAGS="$CFLAGS -fno-strength-reduce"      CFLAGS="$CFLAGS -fno-strength-reduce"
2586    fi    fi
2587  fi  fi
2588    
2589  echo $ac_n "checking "sizes of int and void *"""... $ac_c" 1>&6  echo "$as_me:$LINENO: checking \"sizes of int and void *\"" >&5
2590  echo "configure:1032: checking "sizes of int and void *"" >&5  echo $ECHO_N "checking \"sizes of int and void *\"... $ECHO_C" >&6
2591  if eval "test \"`echo '$''{'ac_cv_c_size_int_ptr'+set}'`\" = set"; then  if test "${ac_cv_c_size_int_ptr+set}" = set; then
2592    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2593  else  else
2594    if test "$cross_compiling" = yes; then    if test "$cross_compiling" = yes; then
2595    ac_cv_c_size_int_ptr="yes"    ac_cv_c_size_int_ptr="yes"
2596  else  else
2597    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
2598  #line 1040 "configure"  #line $LINENO "configure"
2599  #include "confdefs.h"  /* confdefs.h.  */
2600    _ACEOF
2601    cat confdefs.h >>conftest.$ac_ext
2602    cat >>conftest.$ac_ext <<_ACEOF
2603    /* end confdefs.h.  */
2604    
2605  int main(void) {  int main(void) {
2606    return sizeof(int) == sizeof(void *);    return sizeof(int) == sizeof(void *);
2607  }  }
2608  EOF  _ACEOF
2609  if { (eval echo configure:1047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  rm -f conftest$ac_exeext
2610  then  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2611      (eval $ac_link) 2>&5
2612      ac_status=$?
2613      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2615      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2616      (eval $ac_try) 2>&5
2617      ac_status=$?
2618      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619      (exit $ac_status); }; }; then
2620    ac_cv_c_size_int_ptr="no"    ac_cv_c_size_int_ptr="no"
2621  else  else
2622    echo "configure: failed program was:" >&5    echo "$as_me: program exited with status $ac_status" >&5
2623    cat conftest.$ac_ext >&5  echo "$as_me: failed program was:" >&5
2624    rm -fr conftest*  sed 's/^/| /' conftest.$ac_ext >&5
2625    ac_cv_c_size_int_ptr="yes"  
2626    ( exit $ac_status )
2627    ac_cv_c_size_int_ptr="yes"
2628    fi
2629    rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2630    fi
2631    fi
2632    echo "$as_me:$LINENO: result: $ac_cv_c_size_int_ptr" >&5
2633    echo "${ECHO_T}$ac_cv_c_size_int_ptr" >&6
2634    
2635    echo "$as_me:$LINENO: checking \"sizes of long and void *\"" >&5
2636    echo $ECHO_N "checking \"sizes of long and void *\"... $ECHO_C" >&6
2637    if test "${ac_cv_c_size_long_ptr+set}" = set; then
2638      echo $ECHO_N "(cached) $ECHO_C" >&6
2639    else
2640      if test "$cross_compiling" = yes; then
2641      ac_cv_c_size_long_ptr="yes"
2642    else
2643      cat >conftest.$ac_ext <<_ACEOF
2644    #line $LINENO "configure"
2645    /* confdefs.h.  */
2646    _ACEOF
2647    cat confdefs.h >>conftest.$ac_ext
2648    cat >>conftest.$ac_ext <<_ACEOF
2649    /* end confdefs.h.  */
2650    
2651    int main(void) {
2652      return sizeof(long) == sizeof(void *);
2653    }
2654    _ACEOF
2655    rm -f conftest$ac_exeext
2656    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2657      (eval $ac_link) 2>&5
2658      ac_status=$?
2659      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2661      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2662      (eval $ac_try) 2>&5
2663      ac_status=$?
2664      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665      (exit $ac_status); }; }; then
2666      ac_cv_c_size_long_ptr="no"
2667    else
2668      echo "$as_me: program exited with status $ac_status" >&5
2669    echo "$as_me: failed program was:" >&5
2670    sed 's/^/| /' conftest.$ac_ext >&5
2671    
2672    ( exit $ac_status )
2673    ac_cv_c_size_long_ptr="yes"
2674    fi
2675    rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2676    fi
2677    fi
2678    echo "$as_me:$LINENO: result: $ac_cv_c_size_long_ptr" >&5
2679    echo "${ECHO_T}$ac_cv_c_size_long_ptr" >&6
2680    
2681    echo "$as_me:$LINENO: checking \"sizes of long long and void *\"" >&5
2682    echo $ECHO_N "checking \"sizes of long long and void *\"... $ECHO_C" >&6
2683    if test "${ac_cv_c_size_longlong_ptr+set}" = set; then
2684      echo $ECHO_N "(cached) $ECHO_C" >&6
2685    else
2686      if test "$cross_compiling" = yes; then
2687      ac_cv_c_size_longlong_ptr="yes"
2688    else
2689      cat >conftest.$ac_ext <<_ACEOF
2690    #line $LINENO "configure"
2691    /* confdefs.h.  */
2692    _ACEOF
2693    cat confdefs.h >>conftest.$ac_ext
2694    cat >>conftest.$ac_ext <<_ACEOF
2695    /* end confdefs.h.  */
2696    
2697    int main(void) {
2698      return sizeof(long long) == sizeof(void *);
2699    }
2700    _ACEOF
2701    rm -f conftest$ac_exeext
2702    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2703      (eval $ac_link) 2>&5
2704      ac_status=$?
2705      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2707      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2708      (eval $ac_try) 2>&5
2709      ac_status=$?
2710      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711      (exit $ac_status); }; }; then
2712      ac_cv_c_size_longlong_ptr="no"
2713    else
2714      echo "$as_me: program exited with status $ac_status" >&5
2715    echo "$as_me: failed program was:" >&5
2716    sed 's/^/| /' conftest.$ac_ext >&5
2717    
2718    ( exit $ac_status )
2719    ac_cv_c_size_longlong_ptr="yes"
2720  fi  fi
2721  rm -fr conftest*  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2722  fi  fi
   
2723  fi  fi
2724    echo "$as_me:$LINENO: result: $ac_cv_c_size_longlong_ptr" >&5
2725    echo "${ECHO_T}$ac_cv_c_size_longlong_ptr" >&6
2726    
 echo "$ac_t""$ac_cv_c_size_int_ptr" 1>&6  
2727  if test "$ac_cv_c_size_int_ptr" = "no"  if test "$ac_cv_c_size_int_ptr" = "no"
2728  then  then
2729          echo "** The size of an integer is not equal to a pointer."          if test "$ac_cv_c_size_long_ptr" = "no"
2730          echo "   There are currently assumtions in the app that"          then
2731          echo "   prevents it from running if these sizes are not"                  if test "$ac_cv_c_size_longlong_ptr" = "no"
2732          echo "   equal."                  then
2733          echo "   Please configure with a compiler that uses the"                          echo "** The size of an integer is not equal to a pointer."
2734          echo "   same sizes for ints and pointers."                          echo "   There are currently assumtions in the app that"
2735          exit 1                          echo "   prevents it from running if these sizes are not"
2736                            echo "   equal."
2737                            echo "   Please configure with a compiler that uses the"
2738                            echo "   same sizes for ints and pointers."
2739                            exit 1
2740                    else
2741                            INTTYPE="long long"
2742                    fi
2743            else
2744                    INTTYPE="long"
2745            fi
2746    else
2747            INTTYPE="int"
2748  fi  fi
2749    
2750  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6  ac_ext=c
2751  echo "configure:1074: checking how to run the C preprocessor" >&5  ac_cpp='$CPP $CPPFLAGS'
2752    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2753    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2754    ac_compiler_gnu=$ac_cv_c_compiler_gnu
2755    echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2756    echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2757  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
2758  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
2759    CPP=    CPP=
2760  fi  fi
2761  if test -z "$CPP"; then  if test -z "$CPP"; then
2762  if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then    if test "${ac_cv_prog_CPP+set}" = set; then
2763    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2764  else  else
2765      # This must be in double quotes, not single quotes, because CPP may get        # Double quotes because CPP needs to be expanded
2766    # substituted into the Makefile and "${CC-cc}" will confuse make.      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2767    CPP="${CC-cc} -E"      do
2768          ac_preproc_ok=false
2769    for ac_c_preproc_warn_flag in '' yes
2770    do
2771      # Use a header file that comes with gcc, so configuring glibc
2772      # with a fresh cross-compiler works.
2773      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2774      # <limits.h> exists even on freestanding compilers.
2775    # 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,
2776    # not just through cpp.    # not just through cpp. "Syntax error" is here to catch this case.
2777    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
2778  #line 1089 "configure"  #line $LINENO "configure"
2779  #include "confdefs.h"  /* confdefs.h.  */
2780  #include <assert.h>  _ACEOF
2781  Syntax Error  cat confdefs.h >>conftest.$ac_ext
2782  EOF  cat >>conftest.$ac_ext <<_ACEOF
2783  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  /* end confdefs.h.  */
2784  { (eval echo configure:1095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  #ifdef __STDC__
2785  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  # include <limits.h>
2786  if test -z "$ac_err"; then  #else
2787    # include <assert.h>
2788    #endif
2789                         Syntax error
2790    _ACEOF
2791    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2792      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2793      ac_status=$?
2794      grep -v '^ *+' conftest.er1 >conftest.err
2795      rm -f conftest.er1
2796      cat conftest.err >&5
2797      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798      (exit $ac_status); } >/dev/null; then
2799      if test -s conftest.err; then
2800        ac_cpp_err=$ac_c_preproc_warn_flag
2801      else
2802        ac_cpp_err=
2803      fi
2804    else
2805      ac_cpp_err=yes
2806    fi
2807    if test -z "$ac_cpp_err"; then
2808    :    :
2809  else  else
2810    echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
2811    echo "configure: failed program was:" >&5  sed 's/^/| /' conftest.$ac_ext >&5
2812    cat conftest.$ac_ext >&5  
2813    rm -rf conftest*    # Broken: fails on valid input.
2814    CPP="${CC-cc} -E -traditional-cpp"  continue
2815    cat > conftest.$ac_ext <<EOF  fi
2816  #line 1106 "configure"  rm -f conftest.err conftest.$ac_ext
2817  #include "confdefs.h"  
2818  #include <assert.h>    # OK, works on sane cases.  Now check whether non-existent headers
2819  Syntax Error    # can be detected and how.
2820  EOF    cat >conftest.$ac_ext <<_ACEOF
2821  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  #line $LINENO "configure"
2822  { (eval echo configure:1112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  /* confdefs.h.  */
2823  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  _ACEOF
2824  if test -z "$ac_err"; then  cat confdefs.h >>conftest.$ac_ext
2825    cat >>conftest.$ac_ext <<_ACEOF
2826    /* end confdefs.h.  */
2827    #include <ac_nonexistent.h>
2828    _ACEOF
2829    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2830      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2831      ac_status=$?
2832      grep -v '^ *+' conftest.er1 >conftest.err
2833      rm -f conftest.er1
2834      cat conftest.err >&5
2835      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836      (exit $ac_status); } >/dev/null; then
2837      if test -s conftest.err; then
2838        ac_cpp_err=$ac_c_preproc_warn_flag
2839      else
2840        ac_cpp_err=
2841      fi
2842    else
2843      ac_cpp_err=yes
2844    fi
2845    if test -z "$ac_cpp_err"; then
2846      # Broken: success on invalid input.
2847    continue
2848    else
2849      echo "$as_me: failed program was:" >&5
2850    sed 's/^/| /' conftest.$ac_ext >&5
2851    
2852      # Passes both tests.
2853    ac_preproc_ok=:
2854    break
2855    fi
2856    rm -f conftest.err conftest.$ac_ext
2857    
2858    done
2859    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2860    rm -f conftest.err conftest.$ac_ext
2861    if $ac_preproc_ok; then
2862      break
2863    fi
2864    
2865        done
2866        ac_cv_prog_CPP=$CPP
2867    
2868    fi
2869      CPP=$ac_cv_prog_CPP
2870    else
2871      ac_cv_prog_CPP=$CPP
2872    fi
2873    echo "$as_me:$LINENO: result: $CPP" >&5
2874    echo "${ECHO_T}$CPP" >&6
2875    ac_preproc_ok=false
2876    for ac_c_preproc_warn_flag in '' yes
2877    do
2878      # Use a header file that comes with gcc, so configuring glibc
2879      # with a fresh cross-compiler works.
2880      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2881      # <limits.h> exists even on freestanding compilers.
2882      # On the NeXT, cc -E runs the code through the compiler's parser,
2883      # not just through cpp. "Syntax error" is here to catch this case.
2884      cat >conftest.$ac_ext <<_ACEOF
2885    #line $LINENO "configure"
2886    /* confdefs.h.  */
2887    _ACEOF
2888    cat confdefs.h >>conftest.$ac_ext
2889    cat >>conftest.$ac_ext <<_ACEOF
2890    /* end confdefs.h.  */
2891    #ifdef __STDC__
2892    # include <limits.h>
2893    #else
2894    # include <assert.h>
2895    #endif
2896                         Syntax error
2897    _ACEOF
2898    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2899      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2900      ac_status=$?
2901      grep -v '^ *+' conftest.er1 >conftest.err
2902      rm -f conftest.er1
2903      cat conftest.err >&5
2904      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905      (exit $ac_status); } >/dev/null; then
2906      if test -s conftest.err; then
2907        ac_cpp_err=$ac_c_preproc_warn_flag
2908      else
2909        ac_cpp_err=
2910      fi
2911    else
2912      ac_cpp_err=yes
2913    fi
2914    if test -z "$ac_cpp_err"; then
2915    :    :
2916  else  else
2917    echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
2918    echo "configure: failed program was:" >&5  sed 's/^/| /' conftest.$ac_ext >&5
2919    cat conftest.$ac_ext >&5  
2920    rm -rf conftest*    # Broken: fails on valid input.
2921    CPP="${CC-cc} -nologo -E"  continue
2922    cat > conftest.$ac_ext <<EOF  fi
2923  #line 1123 "configure"  rm -f conftest.err conftest.$ac_ext
2924  #include "confdefs.h"  
2925  #include <assert.h>    # OK, works on sane cases.  Now check whether non-existent headers
2926  Syntax Error    # can be detected and how.
2927  EOF    cat >conftest.$ac_ext <<_ACEOF
2928  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  #line $LINENO "configure"
2929  { (eval echo configure:1129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  /* confdefs.h.  */
2930  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  _ACEOF
2931  if test -z "$ac_err"; then  cat confdefs.h >>conftest.$ac_ext
2932    cat >>conftest.$ac_ext <<_ACEOF
2933    /* end confdefs.h.  */
2934    #include <ac_nonexistent.h>
2935    _ACEOF
2936    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2937      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2938      ac_status=$?
2939      grep -v '^ *+' conftest.er1 >conftest.err
2940      rm -f conftest.er1
2941      cat conftest.err >&5
2942      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943      (exit $ac_status); } >/dev/null; then
2944      if test -s conftest.err; then
2945        ac_cpp_err=$ac_c_preproc_warn_flag
2946      else
2947        ac_cpp_err=
2948      fi
2949    else
2950      ac_cpp_err=yes
2951    fi
2952    if test -z "$ac_cpp_err"; then
2953      # Broken: success on invalid input.
2954    continue
2955    else
2956      echo "$as_me: failed program was:" >&5
2957    sed 's/^/| /' conftest.$ac_ext >&5
2958    
2959      # Passes both tests.
2960    ac_preproc_ok=:
2961    break
2962    fi
2963    rm -f conftest.err conftest.$ac_ext
2964    
2965    done
2966    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2967    rm -f conftest.err conftest.$ac_ext
2968    if $ac_preproc_ok; then
2969    :    :
2970  else  else
2971    echo "$ac_err" >&5    { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2972    echo "configure: failed program was:" >&5  See \`config.log' for more details." >&5
2973    cat conftest.$ac_ext >&5  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2974    rm -rf conftest*  See \`config.log' for more details." >&2;}
2975    CPP=/lib/cpp     { (exit 1); exit 1; }; }
2976  fi  fi
2977  rm -f conftest*  
2978    ac_ext=c
2979    ac_cpp='$CPP $CPPFLAGS'
2980    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2982    ac_compiler_gnu=$ac_cv_c_compiler_gnu
2983    
2984    
2985    echo "$as_me:$LINENO: checking for egrep" >&5
2986    echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2987    if test "${ac_cv_prog_egrep+set}" = set; then
2988      echo $ECHO_N "(cached) $ECHO_C" >&6
2989    else
2990      if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2991        then ac_cv_prog_egrep='grep -E'
2992        else ac_cv_prog_egrep='egrep'
2993        fi
2994  fi  fi
2995  rm -f conftest*  echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2996    echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2997     EGREP=$ac_cv_prog_egrep
2998    
2999    
3000    echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3001    echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3002    if test "${ac_cv_header_stdc+set}" = set; then
3003      echo $ECHO_N "(cached) $ECHO_C" >&6
3004    else
3005      cat >conftest.$ac_ext <<_ACEOF
3006    #line $LINENO "configure"
3007    /* confdefs.h.  */
3008    _ACEOF
3009    cat confdefs.h >>conftest.$ac_ext
3010    cat >>conftest.$ac_ext <<_ACEOF
3011    /* end confdefs.h.  */
3012    #include <stdlib.h>
3013    #include <stdarg.h>
3014    #include <string.h>
3015    #include <float.h>
3016    
3017    int
3018    main ()
3019    {
3020    
3021      ;
3022      return 0;
3023    }
3024    _ACEOF
3025    rm -f conftest.$ac_objext
3026    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3027      (eval $ac_compile) 2>&5
3028      ac_status=$?
3029      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030      (exit $ac_status); } &&
3031             { ac_try='test -s conftest.$ac_objext'
3032      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3033      (eval $ac_try) 2>&5
3034      ac_status=$?
3035      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036      (exit $ac_status); }; }; then
3037      ac_cv_header_stdc=yes
3038    else
3039      echo "$as_me: failed program was:" >&5
3040    sed 's/^/| /' conftest.$ac_ext >&5
3041    
3042    ac_cv_header_stdc=no
3043    fi
3044    rm -f conftest.$ac_objext conftest.$ac_ext
3045    
3046    if test $ac_cv_header_stdc = yes; then
3047      # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3048      cat >conftest.$ac_ext <<_ACEOF
3049    #line $LINENO "configure"
3050    /* confdefs.h.  */
3051    _ACEOF
3052    cat confdefs.h >>conftest.$ac_ext
3053    cat >>conftest.$ac_ext <<_ACEOF
3054    /* end confdefs.h.  */
3055    #include <string.h>
3056    
3057    _ACEOF
3058    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3059      $EGREP "memchr" >/dev/null 2>&1; then
3060      :
3061    else
3062      ac_cv_header_stdc=no
3063  fi  fi
3064  rm -f conftest*  rm -f conftest*
3065    ac_cv_prog_CPP="$CPP"  
3066  fi  fi
3067    CPP="$ac_cv_prog_CPP"  
3068    if test $ac_cv_header_stdc = yes; then
3069      # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3070      cat >conftest.$ac_ext <<_ACEOF
3071    #line $LINENO "configure"
3072    /* confdefs.h.  */
3073    _ACEOF
3074    cat confdefs.h >>conftest.$ac_ext
3075    cat >>conftest.$ac_ext <<_ACEOF
3076    /* end confdefs.h.  */
3077    #include <stdlib.h>
3078    
3079    _ACEOF
3080    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3081      $EGREP "free" >/dev/null 2>&1; then
3082      :
3083  else  else
3084    ac_cv_prog_CPP="$CPP"    ac_cv_header_stdc=no
3085  fi  fi
3086  echo "$ac_t""$CPP" 1>&6  rm -f conftest*
3087    
3088  ac_safe=`echo "getopt.h" | sed 'y%./+-%__p_%'`  fi
3089  echo $ac_n "checking for getopt.h""... $ac_c" 1>&6  
3090  echo "configure:1155: checking for getopt.h" >&5  if test $ac_cv_header_stdc = yes; then
3091  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3092    echo $ac_n "(cached) $ac_c" 1>&6    if test "$cross_compiling" = yes; then
3093      :
3094  else  else
3095    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
3096  #line 1160 "configure"  #line $LINENO "configure"
3097  #include "confdefs.h"  /* confdefs.h.  */
3098    _ACEOF
3099    cat confdefs.h >>conftest.$ac_ext
3100    cat >>conftest.$ac_ext <<_ACEOF
3101    /* end confdefs.h.  */
3102    #include <ctype.h>
3103    #if ((' ' & 0x0FF) == 0x020)
3104    # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3105    # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3106    #else
3107    # define ISLOWER(c) \
3108                       (('a' <= (c) && (c) <= 'i') \
3109                         || ('j' <= (c) && (c) <= 'r') \
3110                         || ('s' <= (c) && (c) <= 'z'))
3111    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3112    #endif
3113    
3114    #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3115    int
3116    main ()
3117    {
3118      int i;
3119      for (i = 0; i < 256; i++)
3120        if (XOR (islower (i), ISLOWER (i))
3121            || toupper (i) != TOUPPER (i))
3122          exit(2);
3123      exit (0);
3124    }
3125    _ACEOF
3126    rm -f conftest$ac_exeext
3127    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3128      (eval $ac_link) 2>&5
3129      ac_status=$?
3130      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3132      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133      (eval $ac_try) 2>&5
3134      ac_status=$?
3135      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136      (exit $ac_status); }; }; then
3137      :
3138    else
3139      echo "$as_me: program exited with status $ac_status" >&5
3140    echo "$as_me: failed program was:" >&5
3141    sed 's/^/| /' conftest.$ac_ext >&5
3142    
3143    ( exit $ac_status )
3144    ac_cv_header_stdc=no
3145    fi
3146    rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3147    fi
3148    fi
3149    fi
3150    echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3151    echo "${ECHO_T}$ac_cv_header_stdc" >&6
3152    if test $ac_cv_header_stdc = yes; then
3153    
3154    cat >>confdefs.h <<\_ACEOF
3155    #define STDC_HEADERS 1
3156    _ACEOF
3157    
3158    fi
3159    
3160    # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3161    
3162    
3163    
3164    
3165    
3166    
3167    
3168    
3169    
3170    for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3171                      inttypes.h stdint.h unistd.h
3172    do
3173    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3174    echo "$as_me:$LINENO: checking for $ac_header" >&5
3175    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3176    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3177      echo $ECHO_N "(cached) $ECHO_C" >&6
3178    else
3179      cat >conftest.$ac_ext <<_ACEOF
3180    #line $LINENO "configure"
3181    /* confdefs.h.  */
3182    _ACEOF
3183    cat confdefs.h >>conftest.$ac_ext
3184    cat >>conftest.$ac_ext <<_ACEOF
3185    /* end confdefs.h.  */
3186    $ac_includes_default
3187    
3188    #include <$ac_header>
3189    _ACEOF
3190    rm -f conftest.$ac_objext
3191    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3192      (eval $ac_compile) 2>&5
3193      ac_status=$?
3194      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195      (exit $ac_status); } &&
3196             { ac_try='test -s conftest.$ac_objext'
3197      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198      (eval $ac_try) 2>&5
3199      ac_status=$?
3200      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201      (exit $ac_status); }; }; then
3202      eval "$as_ac_Header=yes"
3203    else
3204      echo "$as_me: failed program was:" >&5
3205    sed 's/^/| /' conftest.$ac_ext >&5
3206    
3207    eval "$as_ac_Header=no"
3208    fi
3209    rm -f conftest.$ac_objext conftest.$ac_ext
3210    fi
3211    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3212    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3213    if test `eval echo '${'$as_ac_Header'}'` = yes; then
3214      cat >>confdefs.h <<_ACEOF
3215    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3216    _ACEOF
3217    
3218    fi
3219    
3220    done
3221    
3222    
3223    if test "${ac_cv_header_getopt_h+set}" = set; then
3224      echo "$as_me:$LINENO: checking for getopt.h" >&5
3225    echo $ECHO_N "checking for getopt.h... $ECHO_C" >&6
3226    if test "${ac_cv_header_getopt_h+set}" = set; then
3227      echo $ECHO_N "(cached) $ECHO_C" >&6
3228    fi
3229    echo "$as_me:$LINENO: result: $ac_cv_header_getopt_h" >&5
3230    echo "${ECHO_T}$ac_cv_header_getopt_h" >&6
3231    else
3232      # Is the header compilable?
3233    echo "$as_me:$LINENO: checking getopt.h usability" >&5
3234    echo $ECHO_N "checking getopt.h usability... $ECHO_C" >&6
3235    cat >conftest.$ac_ext <<_ACEOF
3236    #line $LINENO "configure"
3237    /* confdefs.h.  */
3238    _ACEOF
3239    cat confdefs.h >>conftest.$ac_ext
3240    cat >>conftest.$ac_ext <<_ACEOF
3241    /* end confdefs.h.  */
3242    $ac_includes_default
3243    #include <getopt.h>
3244    _ACEOF
3245    rm -f conftest.$ac_objext
3246    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3247      (eval $ac_compile) 2>&5
3248      ac_status=$?
3249      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250      (exit $ac_status); } &&
3251             { ac_try='test -s conftest.$ac_objext'
3252      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3253      (eval $ac_try) 2>&5
3254      ac_status=$?
3255      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256      (exit $ac_status); }; }; then
3257      ac_header_compiler=yes
3258    else
3259      echo "$as_me: failed program was:" >&5
3260    sed 's/^/| /' conftest.$ac_ext >&5
3261    
3262    ac_header_compiler=no
3263    fi
3264    rm -f conftest.$ac_objext conftest.$ac_ext
3265    echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3266    echo "${ECHO_T}$ac_header_compiler" >&6
3267    
3268    # Is the header present?
3269    echo "$as_me:$LINENO: checking getopt.h presence" >&5
3270    echo $ECHO_N "checking getopt.h presence... $ECHO_C" >&6
3271    cat >conftest.$ac_ext <<_ACEOF
3272    #line $LINENO "configure"
3273    /* confdefs.h.  */
3274    _ACEOF
3275    cat confdefs.h >>conftest.$ac_ext
3276    cat >>conftest.$ac_ext <<_ACEOF
3277    /* end confdefs.h.  */
3278  #include <getopt.h>  #include <getopt.h>
3279  EOF  _ACEOF
3280  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3281  { (eval echo configure:1165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3282  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`    ac_status=$?
3283  if test -z "$ac_err"; then    grep -v '^ *+' conftest.er1 >conftest.err
3284    rm -rf conftest*    rm -f conftest.er1
3285    eval "ac_cv_header_$ac_safe=yes"    cat conftest.err >&5
3286  else    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287    echo "$ac_err" >&5    (exit $ac_status); } >/dev/null; then
3288    echo "configure: failed program was:" >&5    if test -s conftest.err; then
3289    cat conftest.$ac_ext >&5      ac_cpp_err=$ac_c_preproc_warn_flag
3290    rm -rf conftest*    else
3291    eval "ac_cv_header_$ac_safe=no"      ac_cpp_err=
3292      fi
3293    else
3294      ac_cpp_err=yes
3295  fi  fi
3296  rm -f conftest*  if test -z "$ac_cpp_err"; then
3297      ac_header_preproc=yes
3298    else
3299      echo "$as_me: failed program was:" >&5
3300    sed 's/^/| /' conftest.$ac_ext >&5
3301    
3302      ac_header_preproc=no
3303    fi
3304    rm -f conftest.err conftest.$ac_ext
3305    echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3306    echo "${ECHO_T}$ac_header_preproc" >&6
3307    
3308    # So?  What about this header?
3309    case $ac_header_compiler:$ac_header_preproc in
3310      yes:no )
3311        { echo "$as_me:$LINENO: WARNING: getopt.h: accepted by the compiler, rejected by the preprocessor!" >&5
3312    echo "$as_me: WARNING: getopt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3313        { echo "$as_me:$LINENO: WARNING: getopt.h: proceeding with the preprocessor's result" >&5
3314    echo "$as_me: WARNING: getopt.h: proceeding with the preprocessor's result" >&2;}
3315        (
3316          cat <<\_ASBOX
3317    ## ------------------------------------ ##
3318    ## Report this to bug-autoconf@gnu.org. ##
3319    ## ------------------------------------ ##
3320    _ASBOX
3321        ) |
3322          sed "s/^/$as_me: WARNING:     /" >&2
3323        ;;
3324      no:yes )
3325        { echo "$as_me:$LINENO: WARNING: getopt.h: present but cannot be compiled" >&5
3326    echo "$as_me: WARNING: getopt.h: present but cannot be compiled" >&2;}
3327        { echo "$as_me:$LINENO: WARNING: getopt.h: check for missing prerequisite headers?" >&5
3328    echo "$as_me: WARNING: getopt.h: check for missing prerequisite headers?" >&2;}
3329        { echo "$as_me:$LINENO: WARNING: getopt.h: proceeding with the preprocessor's result" >&5
3330    echo "$as_me: WARNING: getopt.h: proceeding with the preprocessor's result" >&2;}
3331        (
3332          cat <<\_ASBOX
3333    ## ------------------------------------ ##
3334    ## Report this to bug-autoconf@gnu.org. ##