Home | History | Annotate | Line # | Download | only in make
configure revision 1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by Autoconf 2.52 for make noversion.
      4 #
      5 # Report bugs to <bin-bug-people (at] netbsd.org>.
      6 #
      7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
      8 # Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 
     12 # Avoid depending upon Character Ranges.
     13 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     14 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     15 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     16 as_cr_digits='0123456789'
     17 as_cr_alnum=$as_cr_Letters$as_cr_digits
     18 
     19 # Sed expression to map a string onto a valid variable name.
     20 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     21 
     22 # Sed expression to map a string onto a valid CPP name.
     23 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     24 
     25 # Be Bourne compatible
     26 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     27   emulate sh
     28   NULLCMD=:
     29 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     30   set -o posix
     31 fi
     32 
     33 # Name of the executable.
     34 as_me=`echo "$0" |sed 's,.*[\\/],,'`
     35 
     36 if expr a : '\(a\)' >/dev/null 2>&1; then
     37   as_expr=expr
     38 else
     39   as_expr=false
     40 fi
     41 
     42 rm -f conf$$ conf$$.exe conf$$.file
     43 echo >conf$$.file
     44 if ln -s conf$$.file conf$$ 2>/dev/null; then
     45   # We could just check for DJGPP; but this test a) works b) is more generic
     46   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     47   if test -f conf$$.exe; then
     48     # Don't use ln at all; we don't have any links
     49     as_ln_s='cp -p'
     50   else
     51     as_ln_s='ln -s'
     52   fi
     53 elif ln conf$$.file conf$$ 2>/dev/null; then
     54   as_ln_s=ln
     55 else
     56   as_ln_s='cp -p'
     57 fi
     58 rm -f conf$$ conf$$.exe conf$$.file
     59 
     60 as_executable_p="test -f"
     61 
     62 # Support unset when possible.
     63 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     64   as_unset=unset
     65 else
     66   as_unset=false
     67 fi
     68 
     69 # NLS nuisances.
     70 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
     71 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
     72 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
     73 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
     74 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
     75 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
     76 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
     77 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
     78 
     79 # IFS
     80 # We need space, tab and new line, in precisely that order.
     81 as_nl='
     82 '
     83 IFS=" 	$as_nl"
     84 
     85 # CDPATH.
     86 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
     87 
     88 # Name of the host.
     89 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     90 # so uname gets run too.
     91 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     92 
     93 exec 6>&1
     94 
     95 #
     96 # Initializations.
     97 #
     98 ac_default_prefix=/usr/local
     99 cross_compiling=no
    100 subdirs=
    101 MFLAGS= MAKEFLAGS=
    102 SHELL=${CONFIG_SHELL-/bin/sh}
    103 
    104 # Maximum number of lines to put in a shell here document.
    105 # This variable seems obsolete.  It should probably be removed, and
    106 # only ac_max_sed_lines should be used.
    107 : ${ac_max_here_lines=38}
    108 
    109 # Initialize some variables set by options.
    110 ac_init_help=
    111 ac_init_version=false
    112 # The variables have the same names as the options, with
    113 # dashes changed to underlines.
    114 cache_file=/dev/null
    115 exec_prefix=NONE
    116 no_create=
    117 no_recursion=
    118 prefix=NONE
    119 program_prefix=NONE
    120 program_suffix=NONE
    121 program_transform_name=s,x,x,
    122 silent=
    123 site=
    124 srcdir=
    125 verbose=
    126 x_includes=NONE
    127 x_libraries=NONE
    128 
    129 # Installation directory options.
    130 # These are left unexpanded so users can "make install exec_prefix=/foo"
    131 # and all the variables that are supposed to be based on exec_prefix
    132 # by default will actually change.
    133 # Use braces instead of parens because sh, perl, etc. also accept them.
    134 bindir='${exec_prefix}/bin'
    135 sbindir='${exec_prefix}/sbin'
    136 libexecdir='${exec_prefix}/libexec'
    137 datadir='${prefix}/share'
    138 sysconfdir='${prefix}/etc'
    139 sharedstatedir='${prefix}/com'
    140 localstatedir='${prefix}/var'
    141 libdir='${exec_prefix}/lib'
    142 includedir='${prefix}/include'
    143 oldincludedir='/usr/include'
    144 infodir='${prefix}/info'
    145 mandir='${prefix}/man'
    146 
    147 # Identity of this package.
    148 PACKAGE_NAME='make'
    149 PACKAGE_TARNAME='make'
    150 PACKAGE_VERSION='noversion'
    151 PACKAGE_STRING='make noversion'
    152 PACKAGE_BUGREPORT='bin-bug-people (at] netbsd.org'
    153 
    154 ac_prev=
    155 for ac_option
    156 do
    157   # If the previous option needs an argument, assign it.
    158   if test -n "$ac_prev"; then
    159     eval "$ac_prev=\$ac_option"
    160     ac_prev=
    161     continue
    162   fi
    163 
    164   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    165 
    166   # Accept the important Cygnus configure options, so we can diagnose typos.
    167 
    168   case $ac_option in
    169 
    170   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    171     ac_prev=bindir ;;
    172   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    173     bindir=$ac_optarg ;;
    174 
    175   -build | --build | --buil | --bui | --bu)
    176     ac_prev=build_alias ;;
    177   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    178     build_alias=$ac_optarg ;;
    179 
    180   -cache-file | --cache-file | --cache-fil | --cache-fi \
    181   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    182     ac_prev=cache_file ;;
    183   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    184   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    185     cache_file=$ac_optarg ;;
    186 
    187   --config-cache | -C)
    188     cache_file=config.cache ;;
    189 
    190   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    191     ac_prev=datadir ;;
    192   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    193   | --da=*)
    194     datadir=$ac_optarg ;;
    195 
    196   -disable-* | --disable-*)
    197     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    198     # Reject names that are not valid shell variable names.
    199     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    200       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    201    { (exit 1); exit 1; }; }
    202     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    203     eval "enable_$ac_feature=no" ;;
    204 
    205   -enable-* | --enable-*)
    206     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    207     # Reject names that are not valid shell variable names.
    208     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    209       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    210    { (exit 1); exit 1; }; }
    211     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    212     case $ac_option in
    213       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    214       *) ac_optarg=yes ;;
    215     esac
    216     eval "enable_$ac_feature='$ac_optarg'" ;;
    217 
    218   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    219   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    220   | --exec | --exe | --ex)
    221     ac_prev=exec_prefix ;;
    222   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    223   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    224   | --exec=* | --exe=* | --ex=*)
    225     exec_prefix=$ac_optarg ;;
    226 
    227   -gas | --gas | --ga | --g)
    228     # Obsolete; use --with-gas.
    229     with_gas=yes ;;
    230 
    231   -help | --help | --hel | --he | -h)
    232     ac_init_help=long ;;
    233   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    234     ac_init_help=recursive ;;
    235   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    236     ac_init_help=short ;;
    237 
    238   -host | --host | --hos | --ho)
    239     ac_prev=host_alias ;;
    240   -host=* | --host=* | --hos=* | --ho=*)
    241     host_alias=$ac_optarg ;;
    242 
    243   -includedir | --includedir | --includedi | --included | --include \
    244   | --includ | --inclu | --incl | --inc)
    245     ac_prev=includedir ;;
    246   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    247   | --includ=* | --inclu=* | --incl=* | --inc=*)
    248     includedir=$ac_optarg ;;
    249 
    250   -infodir | --infodir | --infodi | --infod | --info | --inf)
    251     ac_prev=infodir ;;
    252   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    253     infodir=$ac_optarg ;;
    254 
    255   -libdir | --libdir | --libdi | --libd)
    256     ac_prev=libdir ;;
    257   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    258     libdir=$ac_optarg ;;
    259 
    260   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    261   | --libexe | --libex | --libe)
    262     ac_prev=libexecdir ;;
    263   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    264   | --libexe=* | --libex=* | --libe=*)
    265     libexecdir=$ac_optarg ;;
    266 
    267   -localstatedir | --localstatedir | --localstatedi | --localstated \
    268   | --localstate | --localstat | --localsta | --localst \
    269   | --locals | --local | --loca | --loc | --lo)
    270     ac_prev=localstatedir ;;
    271   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    272   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    273   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    274     localstatedir=$ac_optarg ;;
    275 
    276   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    277     ac_prev=mandir ;;
    278   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    279     mandir=$ac_optarg ;;
    280 
    281   -nfp | --nfp | --nf)
    282     # Obsolete; use --without-fp.
    283     with_fp=no ;;
    284 
    285   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    286   | --no-cr | --no-c)
    287     no_create=yes ;;
    288 
    289   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    290   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    291     no_recursion=yes ;;
    292 
    293   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    294   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    295   | --oldin | --oldi | --old | --ol | --o)
    296     ac_prev=oldincludedir ;;
    297   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    298   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    299   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    300     oldincludedir=$ac_optarg ;;
    301 
    302   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    303     ac_prev=prefix ;;
    304   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    305     prefix=$ac_optarg ;;
    306 
    307   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    308   | --program-pre | --program-pr | --program-p)
    309     ac_prev=program_prefix ;;
    310   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    311   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    312     program_prefix=$ac_optarg ;;
    313 
    314   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    315   | --program-suf | --program-su | --program-s)
    316     ac_prev=program_suffix ;;
    317   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    318   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    319     program_suffix=$ac_optarg ;;
    320 
    321   -program-transform-name | --program-transform-name \
    322   | --program-transform-nam | --program-transform-na \
    323   | --program-transform-n | --program-transform- \
    324   | --program-transform | --program-transfor \
    325   | --program-transfo | --program-transf \
    326   | --program-trans | --program-tran \
    327   | --progr-tra | --program-tr | --program-t)
    328     ac_prev=program_transform_name ;;
    329   -program-transform-name=* | --program-transform-name=* \
    330   | --program-transform-nam=* | --program-transform-na=* \
    331   | --program-transform-n=* | --program-transform-=* \
    332   | --program-transform=* | --program-transfor=* \
    333   | --program-transfo=* | --program-transf=* \
    334   | --program-trans=* | --program-tran=* \
    335   | --progr-tra=* | --program-tr=* | --program-t=*)
    336     program_transform_name=$ac_optarg ;;
    337 
    338   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    339   | -silent | --silent | --silen | --sile | --sil)
    340     silent=yes ;;
    341 
    342   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    343     ac_prev=sbindir ;;
    344   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    345   | --sbi=* | --sb=*)
    346     sbindir=$ac_optarg ;;
    347 
    348   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    349   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    350   | --sharedst | --shareds | --shared | --share | --shar \
    351   | --sha | --sh)
    352     ac_prev=sharedstatedir ;;
    353   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    354   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    355   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    356   | --sha=* | --sh=*)
    357     sharedstatedir=$ac_optarg ;;
    358 
    359   -site | --site | --sit)
    360     ac_prev=site ;;
    361   -site=* | --site=* | --sit=*)
    362     site=$ac_optarg ;;
    363 
    364   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    365     ac_prev=srcdir ;;
    366   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    367     srcdir=$ac_optarg ;;
    368 
    369   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    370   | --syscon | --sysco | --sysc | --sys | --sy)
    371     ac_prev=sysconfdir ;;
    372   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    373   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    374     sysconfdir=$ac_optarg ;;
    375 
    376   -target | --target | --targe | --targ | --tar | --ta | --t)
    377     ac_prev=target_alias ;;
    378   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    379     target_alias=$ac_optarg ;;
    380 
    381   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    382     verbose=yes ;;
    383 
    384   -version | --version | --versio | --versi | --vers | -V)
    385     ac_init_version=: ;;
    386 
    387   -with-* | --with-*)
    388     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    389     # Reject names that are not valid shell variable names.
    390     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    391       { echo "$as_me: error: invalid package name: $ac_package" >&2
    392    { (exit 1); exit 1; }; }
    393     ac_package=`echo $ac_package| sed 's/-/_/g'`
    394     case $ac_option in
    395       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    396       *) ac_optarg=yes ;;
    397     esac
    398     eval "with_$ac_package='$ac_optarg'" ;;
    399 
    400   -without-* | --without-*)
    401     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    402     # Reject names that are not valid shell variable names.
    403     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    404       { echo "$as_me: error: invalid package name: $ac_package" >&2
    405    { (exit 1); exit 1; }; }
    406     ac_package=`echo $ac_package | sed 's/-/_/g'`
    407     eval "with_$ac_package=no" ;;
    408 
    409   --x)
    410     # Obsolete; use --with-x.
    411     with_x=yes ;;
    412 
    413   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    414   | --x-incl | --x-inc | --x-in | --x-i)
    415     ac_prev=x_includes ;;
    416   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    417   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    418     x_includes=$ac_optarg ;;
    419 
    420   -x-libraries | --x-libraries | --x-librarie | --x-librari \
    421   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    422     ac_prev=x_libraries ;;
    423   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    424   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    425     x_libraries=$ac_optarg ;;
    426 
    427   -*) { echo "$as_me: error: unrecognized option: $ac_option
    428 Try \`$0 --help' for more information." >&2
    429    { (exit 1); exit 1; }; }
    430     ;;
    431 
    432   *=*)
    433     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    434     # Reject names that are not valid shell variable names.
    435     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    436       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    437    { (exit 1); exit 1; }; }
    438     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    439     eval "$ac_envvar='$ac_optarg'"
    440     export $ac_envvar ;;
    441 
    442   *)
    443     # FIXME: should be removed in autoconf 3.0.
    444     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    445     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    446       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    447     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    448     ;;
    449 
    450   esac
    451 done
    452 
    453 if test -n "$ac_prev"; then
    454   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    455   { echo "$as_me: error: missing argument to $ac_option" >&2
    456    { (exit 1); exit 1; }; }
    457 fi
    458 
    459 # Be sure to have absolute paths.
    460 for ac_var in exec_prefix prefix
    461 do
    462   eval ac_val=$`echo $ac_var`
    463   case $ac_val in
    464     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    465     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
    466    { (exit 1); exit 1; }; };;
    467   esac
    468 done
    469 
    470 # Be sure to have absolute paths.
    471 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    472               localstatedir libdir includedir oldincludedir infodir mandir
    473 do
    474   eval ac_val=$`echo $ac_var`
    475   case $ac_val in
    476     [\\/$]* | ?:[\\/]* ) ;;
    477     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
    478    { (exit 1); exit 1; }; };;
    479   esac
    480 done
    481 
    482 # There might be people who depend on the old broken behavior: `$host'
    483 # used to hold the argument of --host etc.
    484 build=$build_alias
    485 host=$host_alias
    486 target=$target_alias
    487 
    488 # FIXME: should be removed in autoconf 3.0.
    489 if test "x$host_alias" != x; then
    490   if test "x$build_alias" = x; then
    491     cross_compiling=maybe
    492     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    493     If a cross compiler is detected then cross compile mode will be used." >&2
    494   elif test "x$build_alias" != "x$host_alias"; then
    495     cross_compiling=yes
    496   fi
    497 fi
    498 
    499 ac_tool_prefix=
    500 test -n "$host_alias" && ac_tool_prefix=$host_alias-
    501 
    502 test "$silent" = yes && exec 6>/dev/null
    503 
    504 # Find the source files, if location was not specified.
    505 if test -z "$srcdir"; then
    506   ac_srcdir_defaulted=yes
    507   # Try the directory containing this script, then its parent.
    508   ac_prog=$0
    509   ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
    510   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
    511   srcdir=$ac_confdir
    512   if test ! -r $srcdir/$ac_unique_file; then
    513     srcdir=..
    514   fi
    515 else
    516   ac_srcdir_defaulted=no
    517 fi
    518 if test ! -r $srcdir/$ac_unique_file; then
    519   if test "$ac_srcdir_defaulted" = yes; then
    520     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
    521    { (exit 1); exit 1; }; }
    522   else
    523     { echo "$as_me: error: cannot find sources in $srcdir" >&2
    524    { (exit 1); exit 1; }; }
    525   fi
    526 fi
    527 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    528 ac_env_build_alias_set=${build_alias+set}
    529 ac_env_build_alias_value=$build_alias
    530 ac_cv_env_build_alias_set=${build_alias+set}
    531 ac_cv_env_build_alias_value=$build_alias
    532 ac_env_host_alias_set=${host_alias+set}
    533 ac_env_host_alias_value=$host_alias
    534 ac_cv_env_host_alias_set=${host_alias+set}
    535 ac_cv_env_host_alias_value=$host_alias
    536 ac_env_target_alias_set=${target_alias+set}
    537 ac_env_target_alias_value=$target_alias
    538 ac_cv_env_target_alias_set=${target_alias+set}
    539 ac_cv_env_target_alias_value=$target_alias
    540 ac_env_CC_set=${CC+set}
    541 ac_env_CC_value=$CC
    542 ac_cv_env_CC_set=${CC+set}
    543 ac_cv_env_CC_value=$CC
    544 ac_env_CFLAGS_set=${CFLAGS+set}
    545 ac_env_CFLAGS_value=$CFLAGS
    546 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    547 ac_cv_env_CFLAGS_value=$CFLAGS
    548 ac_env_LDFLAGS_set=${LDFLAGS+set}
    549 ac_env_LDFLAGS_value=$LDFLAGS
    550 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    551 ac_cv_env_LDFLAGS_value=$LDFLAGS
    552 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    553 ac_env_CPPFLAGS_value=$CPPFLAGS
    554 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    555 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    556 ac_env_CPP_set=${CPP+set}
    557 ac_env_CPP_value=$CPP
    558 ac_cv_env_CPP_set=${CPP+set}
    559 ac_cv_env_CPP_value=$CPP
    560 
    561 #
    562 # Report the --help message.
    563 #
    564 if test "$ac_init_help" = "long"; then
    565   # Omit some internal or obsolete options to make the list less imposing.
    566   # This message is too long to be a string in the A/UX 3.1 sh.
    567   cat <<EOF
    568 \`configure' configures make noversion to adapt to many kinds of systems.
    569 
    570 Usage: $0 [OPTION]... [VAR=VALUE]...
    571 
    572 To assign environment variables (e.g., CC, CFLAGS...), specify them as
    573 VAR=VALUE.  See below for descriptions of some of the useful variables.
    574 
    575 Defaults for the options are specified in brackets.
    576 
    577 Configuration:
    578   -h, --help              display this help and exit
    579       --help=short        display options specific to this package
    580       --help=recursive    display the short help of all the included packages
    581   -V, --version           display version information and exit
    582   -q, --quiet, --silent   do not print \`checking...' messages
    583       --cache-file=FILE   cache test results in FILE [disabled]
    584   -C, --config-cache      alias for \`--cache-file=config.cache'
    585   -n, --no-create         do not create output files
    586       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    587 
    588 EOF
    589 
    590   cat <<EOF
    591 Installation directories:
    592   --prefix=PREFIX         install architecture-independent files in PREFIX
    593                           [$ac_default_prefix]
    594   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    595                           [PREFIX]
    596 
    597 By default, \`make install' will install all the files in
    598 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    599 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    600 for instance \`--prefix=\$HOME'.
    601 
    602 For better control, use the options below.
    603 
    604 Fine tuning of the installation directories:
    605   --bindir=DIR           user executables [EPREFIX/bin]
    606   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    607   --libexecdir=DIR       program executables [EPREFIX/libexec]
    608   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    609   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    610   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    611   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    612   --libdir=DIR           object code libraries [EPREFIX/lib]
    613   --includedir=DIR       C header files [PREFIX/include]
    614   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    615   --infodir=DIR          info documentation [PREFIX/info]
    616   --mandir=DIR           man documentation [PREFIX/man]
    617 EOF
    618 
    619   cat <<\EOF
    620 EOF
    621 fi
    622 
    623 if test -n "$ac_init_help"; then
    624   case $ac_init_help in
    625      short | recursive ) echo "Configuration of make noversion:";;
    626    esac
    627   cat <<\EOF
    628 
    629 Some influential environment variables:
    630   CC          C compiler command
    631   CFLAGS      C compiler flags
    632   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    633               nonstandard directory <lib dir>
    634   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    635               headers in a nonstandard directory <include dir>
    636   CPP         C preprocessor
    637 
    638 Use these variables to override the choices made by `configure' or to help
    639 it to find libraries and programs with nonstandard names/locations.
    640 
    641 Report bugs to <bin-bug-people (at] netbsd.org>.
    642 EOF
    643 fi
    644 
    645 if test "$ac_init_help" = "recursive"; then
    646   # If there are subdirs, report their specific --help.
    647   ac_popdir=`pwd`
    648   for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
    649     cd $ac_subdir
    650     # A "../" for each directory in /$ac_subdir.
    651     ac_dots=`echo $ac_subdir |
    652              sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
    653 
    654     case $srcdir in
    655     .) # No --srcdir option.  We are building in place.
    656       ac_sub_srcdir=$srcdir ;;
    657     [\\/]* | ?:[\\/]* ) # Absolute path.
    658       ac_sub_srcdir=$srcdir/$ac_subdir ;;
    659     *) # Relative path.
    660       ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
    661     esac
    662 
    663     # Check for guested configure; otherwise get Cygnus style configure.
    664     if test -f $ac_sub_srcdir/configure.gnu; then
    665       echo
    666       $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
    667     elif test -f $ac_sub_srcdir/configure; then
    668       echo
    669       $SHELL $ac_sub_srcdir/configure  --help=recursive
    670     elif test -f $ac_sub_srcdir/configure.ac ||
    671            test -f $ac_sub_srcdir/configure.in; then
    672       echo
    673       $ac_configure --help
    674     else
    675       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
    676     fi
    677     cd $ac_popdir
    678   done
    679 fi
    680 
    681 test -n "$ac_init_help" && exit 0
    682 if $ac_init_version; then
    683   cat <<\EOF
    684 make configure noversion
    685 generated by GNU Autoconf 2.52
    686 
    687 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    688 Free Software Foundation, Inc.
    689 This configure script is free software; the Free Software Foundation
    690 gives unlimited permission to copy, distribute and modify it.
    691 EOF
    692   exit 0
    693 fi
    694 exec 5>config.log
    695 cat >&5 <<EOF
    696 This file contains any messages produced by compilers while
    697 running configure, to aid debugging if configure makes a mistake.
    698 
    699 It was created by make $as_me noversion, which was
    700 generated by GNU Autoconf 2.52.  Invocation command line was
    701 
    702   $ $0 $@
    703 
    704 EOF
    705 {
    706 cat <<_ASUNAME
    707 ## ---------- ##
    708 ## Platform.  ##
    709 ## ---------- ##
    710 
    711 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
    712 uname -m = `(uname -m) 2>/dev/null || echo unknown`
    713 uname -r = `(uname -r) 2>/dev/null || echo unknown`
    714 uname -s = `(uname -s) 2>/dev/null || echo unknown`
    715 uname -v = `(uname -v) 2>/dev/null || echo unknown`
    716 
    717 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
    718 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
    719 
    720 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
    721 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    722 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    723 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    724 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    725 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
    726 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
    727 
    728 PATH = $PATH
    729 
    730 _ASUNAME
    731 } >&5
    732 
    733 cat >&5 <<EOF
    734 ## ------------ ##
    735 ## Core tests.  ##
    736 ## ------------ ##
    737 
    738 EOF
    739 
    740 # Keep a trace of the command line.
    741 # Strip out --no-create and --no-recursion so they do not pile up.
    742 # Also quote any args containing shell meta-characters.
    743 ac_configure_args=
    744 ac_sep=
    745 for ac_arg
    746 do
    747   case $ac_arg in
    748   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    749   | --no-cr | --no-c) ;;
    750   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    751   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
    752   *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    753     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
    754     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    755     ac_sep=" " ;;
    756   *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
    757      ac_sep=" " ;;
    758   esac
    759   # Get rid of the leading space.
    760 done
    761 
    762 # When interrupted or exit'd, cleanup temporary files, and complete
    763 # config.log.  We remove comments because anyway the quotes in there
    764 # would cause problems or look ugly.
    765 trap 'exit_status=$?
    766   # Save into config.log some information that might help in debugging.
    767   echo >&5
    768   echo "## ----------------- ##" >&5
    769   echo "## Cache variables.  ##" >&5
    770   echo "## ----------------- ##" >&5
    771   echo >&5
    772   # The following way of writing the cache mishandles newlines in values,
    773 {
    774   (set) 2>&1 |
    775     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    776     *ac_space=\ *)
    777       sed -n \
    778         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    779     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    780       ;;
    781     *)
    782       sed -n \
    783         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    784       ;;
    785     esac;
    786 } >&5
    787   sed "/^$/d" confdefs.h >conftest.log
    788   if test -s conftest.log; then
    789     echo >&5
    790     echo "## ------------ ##" >&5
    791     echo "## confdefs.h.  ##" >&5
    792     echo "## ------------ ##" >&5
    793     echo >&5
    794     cat conftest.log >&5
    795   fi
    796   (echo; echo) >&5
    797   test "$ac_signal" != 0 &&
    798     echo "$as_me: caught signal $ac_signal" >&5
    799   echo "$as_me: exit $exit_status" >&5
    800   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
    801     exit $exit_status
    802      ' 0
    803 for ac_signal in 1 2 13 15; do
    804   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    805 done
    806 ac_signal=0
    807 
    808 # confdefs.h avoids OS command line length limits that DEFS can exceed.
    809 rm -rf conftest* confdefs.h
    810 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    811 echo >confdefs.h
    812 
    813 # Let the site file select an alternate cache file if it wants to.
    814 # Prefer explicitly selected file to automatically selected ones.
    815 if test -z "$CONFIG_SITE"; then
    816   if test "x$prefix" != xNONE; then
    817     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    818   else
    819     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    820   fi
    821 fi
    822 for ac_site_file in $CONFIG_SITE; do
    823   if test -r "$ac_site_file"; then
    824     { echo "$as_me:824: loading site script $ac_site_file" >&5
    825 echo "$as_me: loading site script $ac_site_file" >&6;}
    826     cat "$ac_site_file" >&5
    827     . "$ac_site_file"
    828   fi
    829 done
    830 
    831 if test -r "$cache_file"; then
    832   # Some versions of bash will fail to source /dev/null (special
    833   # files actually), so we avoid doing that.
    834   if test -f "$cache_file"; then
    835     { echo "$as_me:835: loading cache $cache_file" >&5
    836 echo "$as_me: loading cache $cache_file" >&6;}
    837     case $cache_file in
    838       [\\/]* | ?:[\\/]* ) . $cache_file;;
    839       *)                      . ./$cache_file;;
    840     esac
    841   fi
    842 else
    843   { echo "$as_me:843: creating cache $cache_file" >&5
    844 echo "$as_me: creating cache $cache_file" >&6;}
    845   >$cache_file
    846 fi
    847 
    848 # Check that the precious variables saved in the cache have kept the same
    849 # value.
    850 ac_cache_corrupted=false
    851 for ac_var in `(set) 2>&1 |
    852                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    853   eval ac_old_set=\$ac_cv_env_${ac_var}_set
    854   eval ac_new_set=\$ac_env_${ac_var}_set
    855   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    856   eval ac_new_val="\$ac_env_${ac_var}_value"
    857   case $ac_old_set,$ac_new_set in
    858     set,)
    859       { echo "$as_me:859: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    860 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    861       ac_cache_corrupted=: ;;
    862     ,set)
    863       { echo "$as_me:863: error: \`$ac_var' was not set in the previous run" >&5
    864 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    865       ac_cache_corrupted=: ;;
    866     ,);;
    867     *)
    868       if test "x$ac_old_val" != "x$ac_new_val"; then
    869         { echo "$as_me:869: error: \`$ac_var' has changed since the previous run:" >&5
    870 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    871         { echo "$as_me:871:   former value:  $ac_old_val" >&5
    872 echo "$as_me:   former value:  $ac_old_val" >&2;}
    873         { echo "$as_me:873:   current value: $ac_new_val" >&5
    874 echo "$as_me:   current value: $ac_new_val" >&2;}
    875         ac_cache_corrupted=:
    876       fi;;
    877   esac
    878   # Pass precious variables to config.status.  It doesn't matter if
    879   # we pass some twice (in addition to the command line arguments).
    880   if test "$ac_new_set" = set; then
    881     case $ac_new_val in
    882     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    883       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
    884       ac_configure_args="$ac_configure_args '$ac_arg'"
    885       ;;
    886     *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
    887        ;;
    888     esac
    889   fi
    890 done
    891 if $ac_cache_corrupted; then
    892   { echo "$as_me:892: error: changes in the environment can compromise the build" >&5
    893 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    894   { { echo "$as_me:894: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    895 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    896    { (exit 1); exit 1; }; }
    897 fi
    898 
    899 ac_ext=c
    900 ac_cpp='$CPP $CPPFLAGS'
    901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    904 
    905 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    906   *c*,-n*) ECHO_N= ECHO_C='
    907 ' ECHO_T='	' ;;
    908   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    909   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
    910 esac
    911 echo "#! $SHELL" >conftest.sh
    912 echo  "exit 0"   >>conftest.sh
    913 chmod +x conftest.sh
    914 if { (echo "$as_me:914: PATH=\".;.\"; conftest.sh") >&5
    915   (PATH=".;."; conftest.sh) 2>&5
    916   ac_status=$?
    917   echo "$as_me:917: \$? = $ac_status" >&5
    918   (exit $ac_status); }; then
    919   ac_path_separator=';'
    920 else
    921   ac_path_separator=:
    922 fi
    923 PATH_SEPARATOR="$ac_path_separator"
    924 rm -f conftest.sh
    925 
    926 ac_config_files="$ac_config_files buildmake.sh"
    927 
    928 # Make sure we have POSIX regex ability.
    929 ac_ext=c
    930 ac_cpp='$CPP $CPPFLAGS'
    931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    934 if test -n "$ac_tool_prefix"; then
    935   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    936 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    937 echo "$as_me:937: checking for $ac_word" >&5
    938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    939 if test "${ac_cv_prog_CC+set}" = set; then
    940   echo $ECHO_N "(cached) $ECHO_C" >&6
    941 else
    942   if test -n "$CC"; then
    943   ac_cv_prog_CC="$CC" # Let the user override the test.
    944 else
    945   ac_save_IFS=$IFS; IFS=$ac_path_separator
    946 ac_dummy="$PATH"
    947 for ac_dir in $ac_dummy; do
    948   IFS=$ac_save_IFS
    949   test -z "$ac_dir" && ac_dir=.
    950   $as_executable_p "$ac_dir/$ac_word" || continue
    951 ac_cv_prog_CC="${ac_tool_prefix}gcc"
    952 echo "$as_me:952: found $ac_dir/$ac_word" >&5
    953 break
    954 done
    955 
    956 fi
    957 fi
    958 CC=$ac_cv_prog_CC
    959 if test -n "$CC"; then
    960   echo "$as_me:960: result: $CC" >&5
    961 echo "${ECHO_T}$CC" >&6
    962 else
    963   echo "$as_me:963: result: no" >&5
    964 echo "${ECHO_T}no" >&6
    965 fi
    966 
    967 fi
    968 if test -z "$ac_cv_prog_CC"; then
    969   ac_ct_CC=$CC
    970   # Extract the first word of "gcc", so it can be a program name with args.
    971 set dummy gcc; ac_word=$2
    972 echo "$as_me:972: checking for $ac_word" >&5
    973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    974 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    975   echo $ECHO_N "(cached) $ECHO_C" >&6
    976 else
    977   if test -n "$ac_ct_CC"; then
    978   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    979 else
    980   ac_save_IFS=$IFS; IFS=$ac_path_separator
    981 ac_dummy="$PATH"
    982 for ac_dir in $ac_dummy; do
    983   IFS=$ac_save_IFS
    984   test -z "$ac_dir" && ac_dir=.
    985   $as_executable_p "$ac_dir/$ac_word" || continue
    986 ac_cv_prog_ac_ct_CC="gcc"
    987 echo "$as_me:987: found $ac_dir/$ac_word" >&5
    988 break
    989 done
    990 
    991 fi
    992 fi
    993 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    994 if test -n "$ac_ct_CC"; then
    995   echo "$as_me:995: result: $ac_ct_CC" >&5
    996 echo "${ECHO_T}$ac_ct_CC" >&6
    997 else
    998   echo "$as_me:998: result: no" >&5
    999 echo "${ECHO_T}no" >&6
   1000 fi
   1001 
   1002   CC=$ac_ct_CC
   1003 else
   1004   CC="$ac_cv_prog_CC"
   1005 fi
   1006 
   1007 if test -z "$CC"; then
   1008   if test -n "$ac_tool_prefix"; then
   1009   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   1010 set dummy ${ac_tool_prefix}cc; ac_word=$2
   1011 echo "$as_me:1011: checking for $ac_word" >&5
   1012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1013 if test "${ac_cv_prog_CC+set}" = set; then
   1014   echo $ECHO_N "(cached) $ECHO_C" >&6
   1015 else
   1016   if test -n "$CC"; then
   1017   ac_cv_prog_CC="$CC" # Let the user override the test.
   1018 else
   1019   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1020 ac_dummy="$PATH"
   1021 for ac_dir in $ac_dummy; do
   1022   IFS=$ac_save_IFS
   1023   test -z "$ac_dir" && ac_dir=.
   1024   $as_executable_p "$ac_dir/$ac_word" || continue
   1025 ac_cv_prog_CC="${ac_tool_prefix}cc"
   1026 echo "$as_me:1026: found $ac_dir/$ac_word" >&5
   1027 break
   1028 done
   1029 
   1030 fi
   1031 fi
   1032 CC=$ac_cv_prog_CC
   1033 if test -n "$CC"; then
   1034   echo "$as_me:1034: result: $CC" >&5
   1035 echo "${ECHO_T}$CC" >&6
   1036 else
   1037   echo "$as_me:1037: result: no" >&5
   1038 echo "${ECHO_T}no" >&6
   1039 fi
   1040 
   1041 fi
   1042 if test -z "$ac_cv_prog_CC"; then
   1043   ac_ct_CC=$CC
   1044   # Extract the first word of "cc", so it can be a program name with args.
   1045 set dummy cc; ac_word=$2
   1046 echo "$as_me:1046: checking for $ac_word" >&5
   1047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1048 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1049   echo $ECHO_N "(cached) $ECHO_C" >&6
   1050 else
   1051   if test -n "$ac_ct_CC"; then
   1052   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1053 else
   1054   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1055 ac_dummy="$PATH"
   1056 for ac_dir in $ac_dummy; do
   1057   IFS=$ac_save_IFS
   1058   test -z "$ac_dir" && ac_dir=.
   1059   $as_executable_p "$ac_dir/$ac_word" || continue
   1060 ac_cv_prog_ac_ct_CC="cc"
   1061 echo "$as_me:1061: found $ac_dir/$ac_word" >&5
   1062 break
   1063 done
   1064 
   1065 fi
   1066 fi
   1067 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1068 if test -n "$ac_ct_CC"; then
   1069   echo "$as_me:1069: result: $ac_ct_CC" >&5
   1070 echo "${ECHO_T}$ac_ct_CC" >&6
   1071 else
   1072   echo "$as_me:1072: result: no" >&5
   1073 echo "${ECHO_T}no" >&6
   1074 fi
   1075 
   1076   CC=$ac_ct_CC
   1077 else
   1078   CC="$ac_cv_prog_CC"
   1079 fi
   1080 
   1081 fi
   1082 if test -z "$CC"; then
   1083   # Extract the first word of "cc", so it can be a program name with args.
   1084 set dummy cc; ac_word=$2
   1085 echo "$as_me:1085: checking for $ac_word" >&5
   1086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1087 if test "${ac_cv_prog_CC+set}" = set; then
   1088   echo $ECHO_N "(cached) $ECHO_C" >&6
   1089 else
   1090   if test -n "$CC"; then
   1091   ac_cv_prog_CC="$CC" # Let the user override the test.
   1092 else
   1093   ac_prog_rejected=no
   1094   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1095 ac_dummy="$PATH"
   1096 for ac_dir in $ac_dummy; do
   1097   IFS=$ac_save_IFS
   1098   test -z "$ac_dir" && ac_dir=.
   1099   $as_executable_p "$ac_dir/$ac_word" || continue
   1100 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
   1101   ac_prog_rejected=yes
   1102   continue
   1103 fi
   1104 ac_cv_prog_CC="cc"
   1105 echo "$as_me:1105: found $ac_dir/$ac_word" >&5
   1106 break
   1107 done
   1108 
   1109 if test $ac_prog_rejected = yes; then
   1110   # We found a bogon in the path, so make sure we never use it.
   1111   set dummy $ac_cv_prog_CC
   1112   shift
   1113   if test $# != 0; then
   1114     # We chose a different compiler from the bogus one.
   1115     # However, it has the same basename, so the bogon will be chosen
   1116     # first if we set CC to just the basename; use the full file name.
   1117     shift
   1118     set dummy "$ac_dir/$ac_word" ${1+"$@"}
   1119     shift
   1120     ac_cv_prog_CC="$@"
   1121   fi
   1122 fi
   1123 fi
   1124 fi
   1125 CC=$ac_cv_prog_CC
   1126 if test -n "$CC"; then
   1127   echo "$as_me:1127: result: $CC" >&5
   1128 echo "${ECHO_T}$CC" >&6
   1129 else
   1130   echo "$as_me:1130: result: no" >&5
   1131 echo "${ECHO_T}no" >&6
   1132 fi
   1133 
   1134 fi
   1135 if test -z "$CC"; then
   1136   if test -n "$ac_tool_prefix"; then
   1137   for ac_prog in cl
   1138   do
   1139     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   1140 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   1141 echo "$as_me:1141: checking for $ac_word" >&5
   1142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1143 if test "${ac_cv_prog_CC+set}" = set; then
   1144   echo $ECHO_N "(cached) $ECHO_C" >&6
   1145 else
   1146   if test -n "$CC"; then
   1147   ac_cv_prog_CC="$CC" # Let the user override the test.
   1148 else
   1149   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1150 ac_dummy="$PATH"
   1151 for ac_dir in $ac_dummy; do
   1152   IFS=$ac_save_IFS
   1153   test -z "$ac_dir" && ac_dir=.
   1154   $as_executable_p "$ac_dir/$ac_word" || continue
   1155 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   1156 echo "$as_me:1156: found $ac_dir/$ac_word" >&5
   1157 break
   1158 done
   1159 
   1160 fi
   1161 fi
   1162 CC=$ac_cv_prog_CC
   1163 if test -n "$CC"; then
   1164   echo "$as_me:1164: result: $CC" >&5
   1165 echo "${ECHO_T}$CC" >&6
   1166 else
   1167   echo "$as_me:1167: result: no" >&5
   1168 echo "${ECHO_T}no" >&6
   1169 fi
   1170 
   1171     test -n "$CC" && break
   1172   done
   1173 fi
   1174 if test -z "$CC"; then
   1175   ac_ct_CC=$CC
   1176   for ac_prog in cl
   1177 do
   1178   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1179 set dummy $ac_prog; ac_word=$2
   1180 echo "$as_me:1180: checking for $ac_word" >&5
   1181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1182 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1183   echo $ECHO_N "(cached) $ECHO_C" >&6
   1184 else
   1185   if test -n "$ac_ct_CC"; then
   1186   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1187 else
   1188   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1189 ac_dummy="$PATH"
   1190 for ac_dir in $ac_dummy; do
   1191   IFS=$ac_save_IFS
   1192   test -z "$ac_dir" && ac_dir=.
   1193   $as_executable_p "$ac_dir/$ac_word" || continue
   1194 ac_cv_prog_ac_ct_CC="$ac_prog"
   1195 echo "$as_me:1195: found $ac_dir/$ac_word" >&5
   1196 break
   1197 done
   1198 
   1199 fi
   1200 fi
   1201 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1202 if test -n "$ac_ct_CC"; then
   1203   echo "$as_me:1203: result: $ac_ct_CC" >&5
   1204 echo "${ECHO_T}$ac_ct_CC" >&6
   1205 else
   1206   echo "$as_me:1206: result: no" >&5
   1207 echo "${ECHO_T}no" >&6
   1208 fi
   1209 
   1210   test -n "$ac_ct_CC" && break
   1211 done
   1212 
   1213   CC=$ac_ct_CC
   1214 fi
   1215 
   1216 fi
   1217 
   1218 test -z "$CC" && { { echo "$as_me:1218: error: no acceptable cc found in \$PATH" >&5
   1219 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
   1220    { (exit 1); exit 1; }; }
   1221 
   1222 # Provide some information about the compiler.
   1223 echo "$as_me:1223:" \
   1224      "checking for C compiler version" >&5
   1225 ac_compiler=`set X $ac_compile; echo $2`
   1226 { (eval echo "$as_me:1226: \"$ac_compiler --version </dev/null >&5\"") >&5
   1227   (eval $ac_compiler --version </dev/null >&5) 2>&5
   1228   ac_status=$?
   1229   echo "$as_me:1229: \$? = $ac_status" >&5
   1230   (exit $ac_status); }
   1231 { (eval echo "$as_me:1231: \"$ac_compiler -v </dev/null >&5\"") >&5
   1232   (eval $ac_compiler -v </dev/null >&5) 2>&5
   1233   ac_status=$?
   1234   echo "$as_me:1234: \$? = $ac_status" >&5
   1235   (exit $ac_status); }
   1236 { (eval echo "$as_me:1236: \"$ac_compiler -V </dev/null >&5\"") >&5
   1237   (eval $ac_compiler -V </dev/null >&5) 2>&5
   1238   ac_status=$?
   1239   echo "$as_me:1239: \$? = $ac_status" >&5
   1240   (exit $ac_status); }
   1241 
   1242 cat >conftest.$ac_ext <<_ACEOF
   1243 #line 1243 "configure"
   1244 #include "confdefs.h"
   1245 
   1246 int
   1247 main ()
   1248 {
   1249 
   1250   ;
   1251   return 0;
   1252 }
   1253 _ACEOF
   1254 ac_clean_files_save=$ac_clean_files
   1255 ac_clean_files="$ac_clean_files a.out a.exe"
   1256 # Try to create an executable without -o first, disregard a.out.
   1257 # It will help us diagnose broken compilers, and finding out an intuition
   1258 # of exeext.
   1259 echo "$as_me:1259: checking for C compiler default output" >&5
   1260 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
   1261 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   1262 if { (eval echo "$as_me:1262: \"$ac_link_default\"") >&5
   1263   (eval $ac_link_default) 2>&5
   1264   ac_status=$?
   1265   echo "$as_me:1265: \$? = $ac_status" >&5
   1266   (exit $ac_status); }; then
   1267   # Find the output, starting from the most likely.  This scheme is
   1268 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   1269 # resort.
   1270 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
   1271                 ls a.out conftest 2>/dev/null;
   1272                 ls a.* conftest.* 2>/dev/null`; do
   1273   case $ac_file in
   1274     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
   1275     a.out ) # We found the default executable, but exeext='' is most
   1276             # certainly right.
   1277             break;;
   1278     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1279           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
   1280           export ac_cv_exeext
   1281           break;;
   1282     * ) break;;
   1283   esac
   1284 done
   1285 else
   1286   echo "$as_me: failed program was:" >&5
   1287 cat conftest.$ac_ext >&5
   1288 { { echo "$as_me:1288: error: C compiler cannot create executables" >&5
   1289 echo "$as_me: error: C compiler cannot create executables" >&2;}
   1290    { (exit 77); exit 77; }; }
   1291 fi
   1292 
   1293 ac_exeext=$ac_cv_exeext
   1294 echo "$as_me:1294: result: $ac_file" >&5
   1295 echo "${ECHO_T}$ac_file" >&6
   1296 
   1297 # Check the compiler produces executables we can run.  If not, either
   1298 # the compiler is broken, or we cross compile.
   1299 echo "$as_me:1299: checking whether the C compiler works" >&5
   1300 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   1301 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   1302 # If not cross compiling, check that we can run a simple program.
   1303 if test "$cross_compiling" != yes; then
   1304   if { ac_try='./$ac_file'
   1305   { (eval echo "$as_me:1305: \"$ac_try\"") >&5
   1306   (eval $ac_try) 2>&5
   1307   ac_status=$?
   1308   echo "$as_me:1308: \$? = $ac_status" >&5
   1309   (exit $ac_status); }; }; then
   1310     cross_compiling=no
   1311   else
   1312     if test "$cross_compiling" = maybe; then
   1313 	cross_compiling=yes
   1314     else
   1315 	{ { echo "$as_me:1315: error: cannot run C compiled programs.
   1316 If you meant to cross compile, use \`--host'." >&5
   1317 echo "$as_me: error: cannot run C compiled programs.
   1318 If you meant to cross compile, use \`--host'." >&2;}
   1319    { (exit 1); exit 1; }; }
   1320     fi
   1321   fi
   1322 fi
   1323 echo "$as_me:1323: result: yes" >&5
   1324 echo "${ECHO_T}yes" >&6
   1325 
   1326 rm -f a.out a.exe conftest$ac_cv_exeext
   1327 ac_clean_files=$ac_clean_files_save
   1328 # Check the compiler produces executables we can run.  If not, either
   1329 # the compiler is broken, or we cross compile.
   1330 echo "$as_me:1330: checking whether we are cross compiling" >&5
   1331 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   1332 echo "$as_me:1332: result: $cross_compiling" >&5
   1333 echo "${ECHO_T}$cross_compiling" >&6
   1334 
   1335 echo "$as_me:1335: checking for executable suffix" >&5
   1336 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
   1337 if { (eval echo "$as_me:1337: \"$ac_link\"") >&5
   1338   (eval $ac_link) 2>&5
   1339   ac_status=$?
   1340   echo "$as_me:1340: \$? = $ac_status" >&5
   1341   (exit $ac_status); }; then
   1342   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   1343 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   1344 # work properly (i.e., refer to `conftest.exe'), while it won't with
   1345 # `rm'.
   1346 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
   1347   case $ac_file in
   1348     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
   1349     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1350           export ac_cv_exeext
   1351           break;;
   1352     * ) break;;
   1353   esac
   1354 done
   1355 else
   1356   { { echo "$as_me:1356: error: cannot compute EXEEXT: cannot compile and link" >&5
   1357 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
   1358    { (exit 1); exit 1; }; }
   1359 fi
   1360 
   1361 rm -f conftest$ac_cv_exeext
   1362 echo "$as_me:1362: result: $ac_cv_exeext" >&5
   1363 echo "${ECHO_T}$ac_cv_exeext" >&6
   1364 
   1365 rm -f conftest.$ac_ext
   1366 EXEEXT=$ac_cv_exeext
   1367 ac_exeext=$EXEEXT
   1368 echo "$as_me:1368: checking for object suffix" >&5
   1369 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
   1370 if test "${ac_cv_objext+set}" = set; then
   1371   echo $ECHO_N "(cached) $ECHO_C" >&6
   1372 else
   1373   cat >conftest.$ac_ext <<_ACEOF
   1374 #line 1374 "configure"
   1375 #include "confdefs.h"
   1376 
   1377 int
   1378 main ()
   1379 {
   1380 
   1381   ;
   1382   return 0;
   1383 }
   1384 _ACEOF
   1385 rm -f conftest.o conftest.obj
   1386 if { (eval echo "$as_me:1386: \"$ac_compile\"") >&5
   1387   (eval $ac_compile) 2>&5
   1388   ac_status=$?
   1389   echo "$as_me:1389: \$? = $ac_status" >&5
   1390   (exit $ac_status); }; then
   1391   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   1392   case $ac_file in
   1393     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
   1394     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   1395        break;;
   1396   esac
   1397 done
   1398 else
   1399   echo "$as_me: failed program was:" >&5
   1400 cat conftest.$ac_ext >&5
   1401 { { echo "$as_me:1401: error: cannot compute OBJEXT: cannot compile" >&5
   1402 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
   1403    { (exit 1); exit 1; }; }
   1404 fi
   1405 
   1406 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   1407 fi
   1408 echo "$as_me:1408: result: $ac_cv_objext" >&5
   1409 echo "${ECHO_T}$ac_cv_objext" >&6
   1410 OBJEXT=$ac_cv_objext
   1411 ac_objext=$OBJEXT
   1412 echo "$as_me:1412: checking whether we are using the GNU C compiler" >&5
   1413 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   1414 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   1415   echo $ECHO_N "(cached) $ECHO_C" >&6
   1416 else
   1417   cat >conftest.$ac_ext <<_ACEOF
   1418 #line 1418 "configure"
   1419 #include "confdefs.h"
   1420 
   1421 int
   1422 main ()
   1423 {
   1424 #ifndef __GNUC__
   1425        choke me
   1426 #endif
   1427 
   1428   ;
   1429   return 0;
   1430 }
   1431 _ACEOF
   1432 rm -f conftest.$ac_objext
   1433 if { (eval echo "$as_me:1433: \"$ac_compile\"") >&5
   1434   (eval $ac_compile) 2>&5
   1435   ac_status=$?
   1436   echo "$as_me:1436: \$? = $ac_status" >&5
   1437   (exit $ac_status); } &&
   1438          { ac_try='test -s conftest.$ac_objext'
   1439   { (eval echo "$as_me:1439: \"$ac_try\"") >&5
   1440   (eval $ac_try) 2>&5
   1441   ac_status=$?
   1442   echo "$as_me:1442: \$? = $ac_status" >&5
   1443   (exit $ac_status); }; }; then
   1444   ac_compiler_gnu=yes
   1445 else
   1446   echo "$as_me: failed program was:" >&5
   1447 cat conftest.$ac_ext >&5
   1448 ac_compiler_gnu=no
   1449 fi
   1450 rm -f conftest.$ac_objext conftest.$ac_ext
   1451 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   1452 
   1453 fi
   1454 echo "$as_me:1454: result: $ac_cv_c_compiler_gnu" >&5
   1455 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   1456 GCC=`test $ac_compiler_gnu = yes && echo yes`
   1457 ac_test_CFLAGS=${CFLAGS+set}
   1458 ac_save_CFLAGS=$CFLAGS
   1459 CFLAGS="-g"
   1460 echo "$as_me:1460: checking whether $CC accepts -g" >&5
   1461 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   1462 if test "${ac_cv_prog_cc_g+set}" = set; then
   1463   echo $ECHO_N "(cached) $ECHO_C" >&6
   1464 else
   1465   cat >conftest.$ac_ext <<_ACEOF
   1466 #line 1466 "configure"
   1467 #include "confdefs.h"
   1468 
   1469 int
   1470 main ()
   1471 {
   1472 
   1473   ;
   1474   return 0;
   1475 }
   1476 _ACEOF
   1477 rm -f conftest.$ac_objext
   1478 if { (eval echo "$as_me:1478: \"$ac_compile\"") >&5
   1479   (eval $ac_compile) 2>&5
   1480   ac_status=$?
   1481   echo "$as_me:1481: \$? = $ac_status" >&5
   1482   (exit $ac_status); } &&
   1483          { ac_try='test -s conftest.$ac_objext'
   1484   { (eval echo "$as_me:1484: \"$ac_try\"") >&5
   1485   (eval $ac_try) 2>&5
   1486   ac_status=$?
   1487   echo "$as_me:1487: \$? = $ac_status" >&5
   1488   (exit $ac_status); }; }; then
   1489   ac_cv_prog_cc_g=yes
   1490 else
   1491   echo "$as_me: failed program was:" >&5
   1492 cat conftest.$ac_ext >&5
   1493 ac_cv_prog_cc_g=no
   1494 fi
   1495 rm -f conftest.$ac_objext conftest.$ac_ext
   1496 fi
   1497 echo "$as_me:1497: result: $ac_cv_prog_cc_g" >&5
   1498 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   1499 if test "$ac_test_CFLAGS" = set; then
   1500   CFLAGS=$ac_save_CFLAGS
   1501 elif test $ac_cv_prog_cc_g = yes; then
   1502   if test "$GCC" = yes; then
   1503     CFLAGS="-g -O2"
   1504   else
   1505     CFLAGS="-g"
   1506   fi
   1507 else
   1508   if test "$GCC" = yes; then
   1509     CFLAGS="-O2"
   1510   else
   1511     CFLAGS=
   1512   fi
   1513 fi
   1514 # Some people use a C++ compiler to compile C.  Since we use `exit',
   1515 # in C++ we need to declare it.  In case someone uses the same compiler
   1516 # for both compiling C and C++ we need to have the C++ compiler decide
   1517 # the declaration of exit, since it's the most demanding environment.
   1518 cat >conftest.$ac_ext <<_ACEOF
   1519 #ifndef __cplusplus
   1520   choke me
   1521 #endif
   1522 _ACEOF
   1523 rm -f conftest.$ac_objext
   1524 if { (eval echo "$as_me:1524: \"$ac_compile\"") >&5
   1525   (eval $ac_compile) 2>&5
   1526   ac_status=$?
   1527   echo "$as_me:1527: \$? = $ac_status" >&5
   1528   (exit $ac_status); } &&
   1529          { ac_try='test -s conftest.$ac_objext'
   1530   { (eval echo "$as_me:1530: \"$ac_try\"") >&5
   1531   (eval $ac_try) 2>&5
   1532   ac_status=$?
   1533   echo "$as_me:1533: \$? = $ac_status" >&5
   1534   (exit $ac_status); }; }; then
   1535   for ac_declaration in \
   1536    ''\
   1537    '#include <stdlib.h>' \
   1538    'extern "C" void std::exit (int) throw (); using std::exit;' \
   1539    'extern "C" void std::exit (int); using std::exit;' \
   1540    'extern "C" void exit (int) throw ();' \
   1541    'extern "C" void exit (int);' \
   1542    'void exit (int);'
   1543 do
   1544   cat >conftest.$ac_ext <<_ACEOF
   1545 #line 1545 "configure"
   1546 #include "confdefs.h"
   1547 #include <stdlib.h>
   1548 $ac_declaration
   1549 int
   1550 main ()
   1551 {
   1552 exit (42);
   1553   ;
   1554   return 0;
   1555 }
   1556 _ACEOF
   1557 rm -f conftest.$ac_objext
   1558 if { (eval echo "$as_me:1558: \"$ac_compile\"") >&5
   1559   (eval $ac_compile) 2>&5
   1560   ac_status=$?
   1561   echo "$as_me:1561: \$? = $ac_status" >&5
   1562   (exit $ac_status); } &&
   1563          { ac_try='test -s conftest.$ac_objext'
   1564   { (eval echo "$as_me:1564: \"$ac_try\"") >&5
   1565   (eval $ac_try) 2>&5
   1566   ac_status=$?
   1567   echo "$as_me:1567: \$? = $ac_status" >&5
   1568   (exit $ac_status); }; }; then
   1569   :
   1570 else
   1571   echo "$as_me: failed program was:" >&5
   1572 cat conftest.$ac_ext >&5
   1573 continue
   1574 fi
   1575 rm -f conftest.$ac_objext conftest.$ac_ext
   1576   cat >conftest.$ac_ext <<_ACEOF
   1577 #line 1577 "configure"
   1578 #include "confdefs.h"
   1579 $ac_declaration
   1580 int
   1581 main ()
   1582 {
   1583 exit (42);
   1584   ;
   1585   return 0;
   1586 }
   1587 _ACEOF
   1588 rm -f conftest.$ac_objext
   1589 if { (eval echo "$as_me:1589: \"$ac_compile\"") >&5
   1590   (eval $ac_compile) 2>&5
   1591   ac_status=$?
   1592   echo "$as_me:1592: \$? = $ac_status" >&5
   1593   (exit $ac_status); } &&
   1594          { ac_try='test -s conftest.$ac_objext'
   1595   { (eval echo "$as_me:1595: \"$ac_try\"") >&5
   1596   (eval $ac_try) 2>&5
   1597   ac_status=$?
   1598   echo "$as_me:1598: \$? = $ac_status" >&5
   1599   (exit $ac_status); }; }; then
   1600   break
   1601 else
   1602   echo "$as_me: failed program was:" >&5
   1603 cat conftest.$ac_ext >&5
   1604 fi
   1605 rm -f conftest.$ac_objext conftest.$ac_ext
   1606 done
   1607 rm -f conftest*
   1608 if test -n "$ac_declaration"; then
   1609   echo '#ifdef __cplusplus' >>confdefs.h
   1610   echo $ac_declaration      >>confdefs.h
   1611   echo '#endif'             >>confdefs.h
   1612 fi
   1613 
   1614 else
   1615   echo "$as_me: failed program was:" >&5
   1616 cat conftest.$ac_ext >&5
   1617 fi
   1618 rm -f conftest.$ac_objext conftest.$ac_ext
   1619 ac_ext=c
   1620 ac_cpp='$CPP $CPPFLAGS'
   1621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1624 
   1625 ac_ext=c
   1626 ac_cpp='$CPP $CPPFLAGS'
   1627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1630 echo "$as_me:1630: checking how to run the C preprocessor" >&5
   1631 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   1632 # On Suns, sometimes $CPP names a directory.
   1633 if test -n "$CPP" && test -d "$CPP"; then
   1634   CPP=
   1635 fi
   1636 if test -z "$CPP"; then
   1637   if test "${ac_cv_prog_CPP+set}" = set; then
   1638   echo $ECHO_N "(cached) $ECHO_C" >&6
   1639 else
   1640       # Double quotes because CPP needs to be expanded
   1641     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   1642     do
   1643       ac_preproc_ok=false
   1644 for ac_c_preproc_warn_flag in '' yes
   1645 do
   1646   # Use a header file that comes with gcc, so configuring glibc
   1647   # with a fresh cross-compiler works.
   1648   # On the NeXT, cc -E runs the code through the compiler's parser,
   1649   # not just through cpp. "Syntax error" is here to catch this case.
   1650   cat >conftest.$ac_ext <<_ACEOF
   1651 #line 1651 "configure"
   1652 #include "confdefs.h"
   1653 #include <assert.h>
   1654                      Syntax error
   1655 _ACEOF
   1656 if { (eval echo "$as_me:1656: \"$ac_cpp conftest.$ac_ext\"") >&5
   1657   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   1658   ac_status=$?
   1659   egrep -v '^ *\+' conftest.er1 >conftest.err
   1660   rm -f conftest.er1
   1661   cat conftest.err >&5
   1662   echo "$as_me:1662: \$? = $ac_status" >&5
   1663   (exit $ac_status); } >/dev/null; then
   1664   if test -s conftest.err; then
   1665     ac_cpp_err=$ac_c_preproc_warn_flag
   1666   else
   1667     ac_cpp_err=
   1668   fi
   1669 else
   1670   ac_cpp_err=yes
   1671 fi
   1672 if test -z "$ac_cpp_err"; then
   1673   :
   1674 else
   1675   echo "$as_me: failed program was:" >&5
   1676   cat conftest.$ac_ext >&5
   1677   # Broken: fails on valid input.
   1678 continue
   1679 fi
   1680 rm -f conftest.err conftest.$ac_ext
   1681 
   1682   # OK, works on sane cases.  Now check whether non-existent headers
   1683   # can be detected and how.
   1684   cat >conftest.$ac_ext <<_ACEOF
   1685 #line 1685 "configure"
   1686 #include "confdefs.h"
   1687 #include <ac_nonexistent.h>
   1688 _ACEOF
   1689 if { (eval echo "$as_me:1689: \"$ac_cpp conftest.$ac_ext\"") >&5
   1690   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   1691   ac_status=$?
   1692   egrep -v '^ *\+' conftest.er1 >conftest.err
   1693   rm -f conftest.er1
   1694   cat conftest.err >&5
   1695   echo "$as_me:1695: \$? = $ac_status" >&5
   1696   (exit $ac_status); } >/dev/null; then
   1697   if test -s conftest.err; then
   1698     ac_cpp_err=$ac_c_preproc_warn_flag
   1699   else
   1700     ac_cpp_err=
   1701   fi
   1702 else
   1703   ac_cpp_err=yes
   1704 fi
   1705 if test -z "$ac_cpp_err"; then
   1706   # Broken: success on invalid input.
   1707 continue
   1708 else
   1709   echo "$as_me: failed program was:" >&5
   1710   cat conftest.$ac_ext >&5
   1711   # Passes both tests.
   1712 ac_preproc_ok=:
   1713 break
   1714 fi
   1715 rm -f conftest.err conftest.$ac_ext
   1716 
   1717 done
   1718 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   1719 rm -f conftest.err conftest.$ac_ext
   1720 if $ac_preproc_ok; then
   1721   break
   1722 fi
   1723 
   1724     done
   1725     ac_cv_prog_CPP=$CPP
   1726 
   1727 fi
   1728   CPP=$ac_cv_prog_CPP
   1729 else
   1730   ac_cv_prog_CPP=$CPP
   1731 fi
   1732 echo "$as_me:1732: result: $CPP" >&5
   1733 echo "${ECHO_T}$CPP" >&6
   1734 ac_preproc_ok=false
   1735 for ac_c_preproc_warn_flag in '' yes
   1736 do
   1737   # Use a header file that comes with gcc, so configuring glibc
   1738   # with a fresh cross-compiler works.
   1739   # On the NeXT, cc -E runs the code through the compiler's parser,
   1740   # not just through cpp. "Syntax error" is here to catch this case.
   1741   cat >conftest.$ac_ext <<_ACEOF
   1742 #line 1742 "configure"
   1743 #include "confdefs.h"
   1744 #include <assert.h>
   1745                      Syntax error
   1746 _ACEOF
   1747 if { (eval echo "$as_me:1747: \"$ac_cpp conftest.$ac_ext\"") >&5
   1748   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   1749   ac_status=$?
   1750   egrep -v '^ *\+' conftest.er1 >conftest.err
   1751   rm -f conftest.er1
   1752   cat conftest.err >&5
   1753   echo "$as_me:1753: \$? = $ac_status" >&5
   1754   (exit $ac_status); } >/dev/null; then
   1755   if test -s conftest.err; then
   1756     ac_cpp_err=$ac_c_preproc_warn_flag
   1757   else
   1758     ac_cpp_err=
   1759   fi
   1760 else
   1761   ac_cpp_err=yes
   1762 fi
   1763 if test -z "$ac_cpp_err"; then
   1764   :
   1765 else
   1766   echo "$as_me: failed program was:" >&5
   1767   cat conftest.$ac_ext >&5
   1768   # Broken: fails on valid input.
   1769 continue
   1770 fi
   1771 rm -f conftest.err conftest.$ac_ext
   1772 
   1773   # OK, works on sane cases.  Now check whether non-existent headers
   1774   # can be detected and how.
   1775   cat >conftest.$ac_ext <<_ACEOF
   1776 #line 1776 "configure"
   1777 #include "confdefs.h"
   1778 #include <ac_nonexistent.h>
   1779 _ACEOF
   1780 if { (eval echo "$as_me:1780: \"$ac_cpp conftest.$ac_ext\"") >&5
   1781   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   1782   ac_status=$?
   1783   egrep -v '^ *\+' conftest.er1 >conftest.err
   1784   rm -f conftest.er1
   1785   cat conftest.err >&5
   1786   echo "$as_me:1786: \$? = $ac_status" >&5
   1787   (exit $ac_status); } >/dev/null; then
   1788   if test -s conftest.err; then
   1789     ac_cpp_err=$ac_c_preproc_warn_flag
   1790   else
   1791     ac_cpp_err=
   1792   fi
   1793 else
   1794   ac_cpp_err=yes
   1795 fi
   1796 if test -z "$ac_cpp_err"; then
   1797   # Broken: success on invalid input.
   1798 continue
   1799 else
   1800   echo "$as_me: failed program was:" >&5
   1801   cat conftest.$ac_ext >&5
   1802   # Passes both tests.
   1803 ac_preproc_ok=:
   1804 break
   1805 fi
   1806 rm -f conftest.err conftest.$ac_ext
   1807 
   1808 done
   1809 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   1810 rm -f conftest.err conftest.$ac_ext
   1811 if $ac_preproc_ok; then
   1812   :
   1813 else
   1814   { { echo "$as_me:1814: error: C preprocessor \"$CPP\" fails sanity check" >&5
   1815 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
   1816    { (exit 1); exit 1; }; }
   1817 fi
   1818 
   1819 ac_ext=c
   1820 ac_cpp='$CPP $CPPFLAGS'
   1821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1824 
   1825 echo "$as_me:1825: checking for regex.h" >&5
   1826 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
   1827 if test "${ac_cv_header_regex_h+set}" = set; then
   1828   echo $ECHO_N "(cached) $ECHO_C" >&6
   1829 else
   1830   cat >conftest.$ac_ext <<_ACEOF
   1831 #line 1831 "configure"
   1832 #include "confdefs.h"
   1833 #include <regex.h>
   1834 _ACEOF
   1835 if { (eval echo "$as_me:1835: \"$ac_cpp conftest.$ac_ext\"") >&5
   1836   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   1837   ac_status=$?
   1838   egrep -v '^ *\+' conftest.er1 >conftest.err
   1839   rm -f conftest.er1
   1840   cat conftest.err >&5
   1841   echo "$as_me:1841: \$? = $ac_status" >&5
   1842   (exit $ac_status); } >/dev/null; then
   1843   if test -s conftest.err; then
   1844     ac_cpp_err=$ac_c_preproc_warn_flag
   1845   else
   1846     ac_cpp_err=
   1847   fi
   1848 else
   1849   ac_cpp_err=yes
   1850 fi
   1851 if test -z "$ac_cpp_err"; then
   1852   ac_cv_header_regex_h=yes
   1853 else
   1854   echo "$as_me: failed program was:" >&5
   1855   cat conftest.$ac_ext >&5
   1856   ac_cv_header_regex_h=no
   1857 fi
   1858 rm -f conftest.err conftest.$ac_ext
   1859 fi
   1860 echo "$as_me:1860: result: $ac_cv_header_regex_h" >&5
   1861 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
   1862 if test $ac_cv_header_regex_h = yes; then
   1863   :
   1864 else
   1865   { { echo "$as_me:1865: error: POSIX regex.h is required" >&5
   1866 echo "$as_me: error: POSIX regex.h is required" >&2;}
   1867    { (exit 1); exit 1; }; }
   1868 fi
   1869 
   1870 # regcomp() and regexec() are also names of functions in the old V8
   1871 # regexp package.  To avoid them, we need to find out who has regfree().
   1872 
   1873 echo "$as_me:1873: checking for regfree in -lregex" >&5
   1874 echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
   1875 if test "${ac_cv_lib_regex_regfree+set}" = set; then
   1876   echo $ECHO_N "(cached) $ECHO_C" >&6
   1877 else
   1878   ac_check_lib_save_LIBS=$LIBS
   1879 LIBS="-lregex  $LIBS"
   1880 cat >conftest.$ac_ext <<_ACEOF
   1881 #line 1881 "configure"
   1882 #include "confdefs.h"
   1883 
   1884 /* Override any gcc2 internal prototype to avoid an error.  */
   1885 #ifdef __cplusplus
   1886 extern "C"
   1887 #endif
   1888 /* We use char because int might match the return type of a gcc2
   1889    builtin and then its argument prototype would still apply.  */
   1890 char regfree ();
   1891 int
   1892 main ()
   1893 {
   1894 regfree ();
   1895   ;
   1896   return 0;
   1897 }
   1898 _ACEOF
   1899 rm -f conftest.$ac_objext conftest$ac_exeext
   1900 if { (eval echo "$as_me:1900: \"$ac_link\"") >&5
   1901   (eval $ac_link) 2>&5
   1902   ac_status=$?
   1903   echo "$as_me:1903: \$? = $ac_status" >&5
   1904   (exit $ac_status); } &&
   1905          { ac_try='test -s conftest$ac_exeext'
   1906   { (eval echo "$as_me:1906: \"$ac_try\"") >&5
   1907   (eval $ac_try) 2>&5
   1908   ac_status=$?
   1909   echo "$as_me:1909: \$? = $ac_status" >&5
   1910   (exit $ac_status); }; }; then
   1911   ac_cv_lib_regex_regfree=yes
   1912 else
   1913   echo "$as_me: failed program was:" >&5
   1914 cat conftest.$ac_ext >&5
   1915 ac_cv_lib_regex_regfree=no
   1916 fi
   1917 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   1918 LIBS=$ac_check_lib_save_LIBS
   1919 fi
   1920 echo "$as_me:1920: result: $ac_cv_lib_regex_regfree" >&5
   1921 echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
   1922 if test $ac_cv_lib_regex_regfree = yes; then
   1923   cat >>confdefs.h <<EOF
   1924 #define HAVE_LIBREGEX 1
   1925 EOF
   1926 
   1927   LIBS="-lregex $LIBS"
   1928 
   1929 fi
   1930 
   1931 echo "$as_me:1931: checking for library containing regfree" >&5
   1932 echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
   1933 if test "${ac_cv_search_regfree+set}" = set; then
   1934   echo $ECHO_N "(cached) $ECHO_C" >&6
   1935 else
   1936   ac_func_search_save_LIBS=$LIBS
   1937 ac_cv_search_regfree=no
   1938 cat >conftest.$ac_ext <<_ACEOF
   1939 #line 1939 "configure"
   1940 #include "confdefs.h"
   1941 
   1942 /* Override any gcc2 internal prototype to avoid an error.  */
   1943 #ifdef __cplusplus
   1944 extern "C"
   1945 #endif
   1946 /* We use char because int might match the return type of a gcc2
   1947    builtin and then its argument prototype would still apply.  */
   1948 char regfree ();
   1949 int
   1950 main ()
   1951 {
   1952 regfree ();
   1953   ;
   1954   return 0;
   1955 }
   1956 _ACEOF
   1957 rm -f conftest.$ac_objext conftest$ac_exeext
   1958 if { (eval echo "$as_me:1958: \"$ac_link\"") >&5
   1959   (eval $ac_link) 2>&5
   1960   ac_status=$?
   1961   echo "$as_me:1961: \$? = $ac_status" >&5
   1962   (exit $ac_status); } &&
   1963          { ac_try='test -s conftest$ac_exeext'
   1964   { (eval echo "$as_me:1964: \"$ac_try\"") >&5
   1965   (eval $ac_try) 2>&5
   1966   ac_status=$?
   1967   echo "$as_me:1967: \$? = $ac_status" >&5
   1968   (exit $ac_status); }; }; then
   1969   ac_cv_search_regfree="none required"
   1970 else
   1971   echo "$as_me: failed program was:" >&5
   1972 cat conftest.$ac_ext >&5
   1973 fi
   1974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   1975 if test "$ac_cv_search_regfree" = no; then
   1976   for ac_lib in rx posix; do
   1977     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   1978     cat >conftest.$ac_ext <<_ACEOF
   1979 #line 1979 "configure"
   1980 #include "confdefs.h"
   1981 
   1982 /* Override any gcc2 internal prototype to avoid an error.  */
   1983 #ifdef __cplusplus
   1984 extern "C"
   1985 #endif
   1986 /* We use char because int might match the return type of a gcc2
   1987    builtin and then its argument prototype would still apply.  */
   1988 char regfree ();
   1989 int
   1990 main ()
   1991 {
   1992 regfree ();
   1993   ;
   1994   return 0;
   1995 }
   1996 _ACEOF
   1997 rm -f conftest.$ac_objext conftest$ac_exeext
   1998 if { (eval echo "$as_me:1998: \"$ac_link\"") >&5
   1999   (eval $ac_link) 2>&5
   2000   ac_status=$?
   2001   echo "$as_me:2001: \$? = $ac_status" >&5
   2002   (exit $ac_status); } &&
   2003          { ac_try='test -s conftest$ac_exeext'
   2004   { (eval echo "$as_me:2004: \"$ac_try\"") >&5
   2005   (eval $ac_try) 2>&5
   2006   ac_status=$?
   2007   echo "$as_me:2007: \$? = $ac_status" >&5
   2008   (exit $ac_status); }; }; then
   2009   ac_cv_search_regfree="-l$ac_lib"
   2010 break
   2011 else
   2012   echo "$as_me: failed program was:" >&5
   2013 cat conftest.$ac_ext >&5
   2014 fi
   2015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   2016   done
   2017 fi
   2018 LIBS=$ac_func_search_save_LIBS
   2019 fi
   2020 echo "$as_me:2020: result: $ac_cv_search_regfree" >&5
   2021 echo "${ECHO_T}$ac_cv_search_regfree" >&6
   2022 if test "$ac_cv_search_regfree" != no; then
   2023   test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
   2024 
   2025 fi
   2026 
   2027 for ac_func in setenv strdup strerror strftime vsnprintf
   2028 do
   2029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   2030 echo "$as_me:2030: checking for $ac_func" >&5
   2031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   2032 if eval "test \"\${$as_ac_var+set}\" = set"; then
   2033   echo $ECHO_N "(cached) $ECHO_C" >&6
   2034 else
   2035   cat >conftest.$ac_ext <<_ACEOF
   2036 #line 2036 "configure"
   2037 #include "confdefs.h"
   2038 /* System header to define __stub macros and hopefully few prototypes,
   2039     which can conflict with char $ac_func (); below.  */
   2040 #include <assert.h>
   2041 /* Override any gcc2 internal prototype to avoid an error.  */
   2042 #ifdef __cplusplus
   2043 extern "C"
   2044 #endif
   2045 /* We use char because int might match the return type of a gcc2
   2046    builtin and then its argument prototype would still apply.  */
   2047 char $ac_func ();
   2048 char (*f) ();
   2049 
   2050 int
   2051 main ()
   2052 {
   2053 /* The GNU C library defines this for functions which it implements
   2054     to always fail with ENOSYS.  Some functions are actually named
   2055     something starting with __ and the normal name is an alias.  */
   2056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   2057 choke me
   2058 #else
   2059 f = $ac_func;
   2060 #endif
   2061 
   2062   ;
   2063   return 0;
   2064 }
   2065 _ACEOF
   2066 rm -f conftest.$ac_objext conftest$ac_exeext
   2067 if { (eval echo "$as_me:2067: \"$ac_link\"") >&5
   2068   (eval $ac_link) 2>&5
   2069   ac_status=$?
   2070   echo "$as_me:2070: \$? = $ac_status" >&5
   2071   (exit $ac_status); } &&
   2072          { ac_try='test -s conftest$ac_exeext'
   2073   { (eval echo "$as_me:2073: \"$ac_try\"") >&5
   2074   (eval $ac_try) 2>&5
   2075   ac_status=$?
   2076   echo "$as_me:2076: \$? = $ac_status" >&5
   2077   (exit $ac_status); }; }; then
   2078   eval "$as_ac_var=yes"
   2079 else
   2080   echo "$as_me: failed program was:" >&5
   2081 cat conftest.$ac_ext >&5
   2082 eval "$as_ac_var=no"
   2083 fi
   2084 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   2085 fi
   2086 echo "$as_me:2086: result: `eval echo '${'$as_ac_var'}'`" >&5
   2087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   2088 if test `eval echo '${'$as_ac_var'}'` = yes; then
   2089   cat >>confdefs.h <<EOF
   2090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   2091 EOF
   2092 
   2093 fi
   2094 done
   2095 
   2096 cat >confcache <<\_ACEOF
   2097 # This file is a shell script that caches the results of configure
   2098 # tests run on this system so they can be shared between configure
   2099 # scripts and configure runs, see configure's option --config-cache.
   2100 # It is not useful on other systems.  If it contains results you don't
   2101 # want to keep, you may remove or edit it.
   2102 #
   2103 # config.status only pays attention to the cache file if you give it
   2104 # the --recheck option to rerun configure.
   2105 #
   2106 # `ac_cv_env_foo' variables (set or unset) will be overriden when
   2107 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   2108 # following values.
   2109 
   2110 _ACEOF
   2111 
   2112 # The following way of writing the cache mishandles newlines in values,
   2113 # but we know of no workaround that is simple, portable, and efficient.
   2114 # So, don't put newlines in cache variables' values.
   2115 # Ultrix sh set writes to stderr and can't be redirected directly,
   2116 # and sets the high bit in the cache file unless we assign to the vars.
   2117 {
   2118   (set) 2>&1 |
   2119     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   2120     *ac_space=\ *)
   2121       # `set' does not quote correctly, so add quotes (double-quote
   2122       # substitution turns \\\\ into \\, and sed turns \\ into \).
   2123       sed -n \
   2124         "s/'/'\\\\''/g;
   2125     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   2126       ;;
   2127     *)
   2128       # `set' quotes correctly as required by POSIX, so do not add quotes.
   2129       sed -n \
   2130         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   2131       ;;
   2132     esac;
   2133 } |
   2134   sed '
   2135      t clear
   2136      : clear
   2137      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   2138      t end
   2139      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   2140      : end' >>confcache
   2141 if cmp -s $cache_file confcache; then :; else
   2142   if test -w $cache_file; then
   2143     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   2144     cat confcache >$cache_file
   2145   else
   2146     echo "not updating unwritable cache $cache_file"
   2147   fi
   2148 fi
   2149 rm -f confcache
   2150 
   2151 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   2152 # Let make expand exec_prefix.
   2153 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   2154 
   2155 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   2156 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   2157 # trailing colons and then remove the whole line if VPATH becomes empty
   2158 # (actually we leave an empty line to preserve line numbers).
   2159 if test "x$srcdir" = x.; then
   2160   ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
   2161 s/:*\$(srcdir):*/:/;
   2162 s/:*\${srcdir}:*/:/;
   2163 s/:*@srcdir@:*/:/;
   2164 s/^\([^=]*=[ 	]*\):*/\1/;
   2165 s/:*$//;
   2166 s/^[^=]*=[ 	]*$//;
   2167 }'
   2168 fi
   2169 
   2170 # Transform confdefs.h into DEFS.
   2171 # Protect against shell expansion while executing Makefile rules.
   2172 # Protect against Makefile macro expansion.
   2173 #
   2174 # If the first sed substitution is executed (which looks for macros that
   2175 # take arguments), then we branch to the quote section.  Otherwise,
   2176 # look for a macro that doesn't take arguments.
   2177 cat >confdef2opt.sed <<\EOF
   2178 t clear
   2179 : clear
   2180 s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*([^)]*)\)[ 	]*\(.*\),-D\1=\2,g
   2181 t quote
   2182 s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\),-D\1=\2,g
   2183 t quote
   2184 d
   2185 : quote
   2186 s,[ 	`~#$^&*(){}\\|;'"<>?],\\&,g
   2187 s,\[,\\&,g
   2188 s,\],\\&,g
   2189 s,\$,$$,g
   2190 p
   2191 EOF
   2192 # We use echo to avoid assuming a particular line-breaking character.
   2193 # The extra dot is to prevent the shell from consuming trailing
   2194 # line-breaks from the sub-command output.  A line-break within
   2195 # single-quotes doesn't work because, if this script is created in a
   2196 # platform that uses two characters for line-breaks (e.g., DOS), tr
   2197 # would break.
   2198 ac_LF_and_DOT=`echo; echo .`
   2199 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
   2200 rm -f confdef2opt.sed
   2201 
   2202 : ${CONFIG_STATUS=./config.status}
   2203 ac_clean_files_save=$ac_clean_files
   2204 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   2205 { echo "$as_me:2205: creating $CONFIG_STATUS" >&5
   2206 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   2207 cat >$CONFIG_STATUS <<_ACEOF
   2208 #! $SHELL
   2209 # Generated automatically by configure.
   2210 # Run this file to recreate the current configuration.
   2211 # Compiler output produced by configure, useful for debugging
   2212 # configure, is in config.log if it exists.
   2213 
   2214 debug=false
   2215 SHELL=\${CONFIG_SHELL-$SHELL}
   2216 ac_cs_invocation="\$0 \$@"
   2217 
   2218 _ACEOF
   2219 
   2220 cat >>$CONFIG_STATUS <<\_ACEOF
   2221 # Be Bourne compatible
   2222 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   2223   emulate sh
   2224   NULLCMD=:
   2225 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   2226   set -o posix
   2227 fi
   2228 
   2229 # Name of the executable.
   2230 as_me=`echo "$0" |sed 's,.*[\\/],,'`
   2231 
   2232 if expr a : '\(a\)' >/dev/null 2>&1; then
   2233   as_expr=expr
   2234 else
   2235   as_expr=false
   2236 fi
   2237 
   2238 rm -f conf$$ conf$$.exe conf$$.file
   2239 echo >conf$$.file
   2240 if ln -s conf$$.file conf$$ 2>/dev/null; then
   2241   # We could just check for DJGPP; but this test a) works b) is more generic
   2242   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   2243   if test -f conf$$.exe; then
   2244     # Don't use ln at all; we don't have any links
   2245     as_ln_s='cp -p'
   2246   else
   2247     as_ln_s='ln -s'
   2248   fi
   2249 elif ln conf$$.file conf$$ 2>/dev/null; then
   2250   as_ln_s=ln
   2251 else
   2252   as_ln_s='cp -p'
   2253 fi
   2254 rm -f conf$$ conf$$.exe conf$$.file
   2255 
   2256 as_executable_p="test -f"
   2257 
   2258 # Support unset when possible.
   2259 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
   2260   as_unset=unset
   2261 else
   2262   as_unset=false
   2263 fi
   2264 
   2265 # NLS nuisances.
   2266 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
   2267 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
   2268 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
   2269 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
   2270 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
   2271 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
   2272 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
   2273 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
   2274 
   2275 # IFS
   2276 # We need space, tab and new line, in precisely that order.
   2277 as_nl='
   2278 '
   2279 IFS=" 	$as_nl"
   2280 
   2281 # CDPATH.
   2282 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
   2283 
   2284 exec 6>&1
   2285 
   2286 _ACEOF
   2287 
   2288 # Files that config.status was made for.
   2289 if test -n "$ac_config_files"; then
   2290   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   2291 fi
   2292 
   2293 if test -n "$ac_config_headers"; then
   2294   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   2295 fi
   2296 
   2297 if test -n "$ac_config_links"; then
   2298   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   2299 fi
   2300 
   2301 if test -n "$ac_config_commands"; then
   2302   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   2303 fi
   2304 
   2305 cat >>$CONFIG_STATUS <<\EOF
   2306 
   2307 ac_cs_usage="\
   2308 \`$as_me' instantiates files from templates according to the
   2309 current configuration.
   2310 
   2311 Usage: $0 [OPTIONS] [FILE]...
   2312 
   2313   -h, --help       print this help, then exit
   2314   -V, --version    print version number, then exit
   2315   -d, --debug      don't remove temporary files
   2316       --recheck    update $as_me by reconfiguring in the same conditions
   2317   --file=FILE[:TEMPLATE]
   2318                    instantiate the configuration file FILE
   2319 
   2320 Configuration files:
   2321 $config_files
   2322 
   2323 Report bugs to <bug-autoconf@gnu.org>."
   2324 EOF
   2325 
   2326 cat >>$CONFIG_STATUS <<EOF
   2327 ac_cs_version="\\
   2328 make config.status noversion
   2329 configured by $0, generated by GNU Autoconf 2.52,
   2330   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   2331 
   2332 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
   2333 Free Software Foundation, Inc.
   2334 This config.status script is free software; the Free Software Foundation
   2335 gives unlimited permission to copy, distribute and modify it."
   2336 srcdir=$srcdir
   2337 EOF
   2338 
   2339 cat >>$CONFIG_STATUS <<\EOF
   2340 # If no file are specified by the user, then we need to provide default
   2341 # value.  By we need to know if files were specified by the user.
   2342 ac_need_defaults=:
   2343 while test $# != 0
   2344 do
   2345   case $1 in
   2346   --*=*)
   2347     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   2348     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   2349     shift
   2350     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
   2351     shift
   2352     ;;
   2353   -*);;
   2354   *) # This is not an option, so the user has probably given explicit
   2355      # arguments.
   2356      ac_need_defaults=false;;
   2357   esac
   2358 
   2359   case $1 in
   2360   # Handling of the options.
   2361 EOF
   2362 cat >>$CONFIG_STATUS <<EOF
   2363   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   2364     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
   2365     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
   2366 EOF
   2367 cat >>$CONFIG_STATUS <<\EOF
   2368   --version | --vers* | -V )
   2369     echo "$ac_cs_version"; exit 0 ;;
   2370   --he | --h)
   2371     # Conflict between --help and --header
   2372     { { echo "$as_me:2372: error: ambiguous option: $1
   2373 Try \`$0 --help' for more information." >&5
   2374 echo "$as_me: error: ambiguous option: $1
   2375 Try \`$0 --help' for more information." >&2;}
   2376    { (exit 1); exit 1; }; };;
   2377   --help | --hel | -h )
   2378     echo "$ac_cs_usage"; exit 0 ;;
   2379   --debug | --d* | -d )
   2380     debug=: ;;
   2381   --file | --fil | --fi | --f )
   2382     shift
   2383     CONFIG_FILES="$CONFIG_FILES $1"
   2384     ac_need_defaults=false;;
   2385   --header | --heade | --head | --hea )
   2386     shift
   2387     CONFIG_HEADERS="$CONFIG_HEADERS $1"
   2388     ac_need_defaults=false;;
   2389 
   2390   # This is an error.
   2391   -*) { { echo "$as_me:2391: error: unrecognized option: $1
   2392 Try \`$0 --help' for more information." >&5
   2393 echo "$as_me: error: unrecognized option: $1
   2394 Try \`$0 --help' for more information." >&2;}
   2395    { (exit 1); exit 1; }; } ;;
   2396 
   2397   *) ac_config_targets="$ac_config_targets $1" ;;
   2398 
   2399   esac
   2400   shift
   2401 done
   2402 
   2403 exec 5>>config.log
   2404 cat >&5 << _ACEOF
   2405 
   2406 ## ----------------------- ##
   2407 ## Running config.status.  ##
   2408 ## ----------------------- ##
   2409 
   2410 This file was extended by $as_me (make noversion) 2.52, executed with
   2411   CONFIG_FILES    = $CONFIG_FILES
   2412   CONFIG_HEADERS  = $CONFIG_HEADERS
   2413   CONFIG_LINKS    = $CONFIG_LINKS
   2414   CONFIG_COMMANDS = $CONFIG_COMMANDS
   2415   > $ac_cs_invocation
   2416 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   2417 
   2418 _ACEOF
   2419 EOF
   2420 
   2421 cat >>$CONFIG_STATUS <<\EOF
   2422 for ac_config_target in $ac_config_targets
   2423 do
   2424   case "$ac_config_target" in
   2425   # Handling of arguments.
   2426   "buildmake.sh" ) CONFIG_FILES="$CONFIG_FILES buildmake.sh" ;;
   2427   *) { { echo "$as_me:2427: error: invalid argument: $ac_config_target" >&5
   2428 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   2429    { (exit 1); exit 1; }; };;
   2430   esac
   2431 done
   2432 
   2433 # If the user did not use the arguments to specify the items to instantiate,
   2434 # then the envvar interface is used.  Set only those that are not.
   2435 # We use the long form for the default assignment because of an extremely
   2436 # bizarre bug on SunOS 4.1.3.
   2437 if $ac_need_defaults; then
   2438   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   2439 fi
   2440 
   2441 # Create a temporary directory, and hook for its removal unless debugging.
   2442 $debug ||
   2443 {
   2444   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   2445   trap '{ (exit 1); exit 1; }' 1 2 13 15
   2446 }
   2447 
   2448 # Create a (secure) tmp directory for tmp files.
   2449 : ${TMPDIR=/tmp}
   2450 {
   2451   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
   2452   test -n "$tmp" && test -d "$tmp"
   2453 }  ||
   2454 {
   2455   tmp=$TMPDIR/cs$$-$RANDOM
   2456   (umask 077 && mkdir $tmp)
   2457 } ||
   2458 {
   2459    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
   2460    { (exit 1); exit 1; }
   2461 }
   2462 
   2463 EOF
   2464 
   2465 cat >>$CONFIG_STATUS <<EOF
   2466 
   2467 #
   2468 # CONFIG_FILES section.
   2469 #
   2470 
   2471 # No need to generate the scripts if there are no CONFIG_FILES.
   2472 # This happens for instance when ./config.status config.h
   2473 if test -n "\$CONFIG_FILES"; then
   2474   # Protect against being on the right side of a sed subst in config.status.
   2475   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   2476    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   2477 s,@SHELL@,$SHELL,;t t
   2478 s,@exec_prefix@,$exec_prefix,;t t
   2479 s,@prefix@,$prefix,;t t
   2480 s,@program_transform_name@,$program_transform_name,;t t
   2481 s,@bindir@,$bindir,;t t
   2482 s,@sbindir@,$sbindir,;t t
   2483 s,@libexecdir@,$libexecdir,;t t
   2484 s,@datadir@,$datadir,;t t
   2485 s,@sysconfdir@,$sysconfdir,;t t
   2486 s,@sharedstatedir@,$sharedstatedir,;t t
   2487 s,@localstatedir@,$localstatedir,;t t
   2488 s,@libdir@,$libdir,;t t
   2489 s,@includedir@,$includedir,;t t
   2490 s,@oldincludedir@,$oldincludedir,;t t
   2491 s,@infodir@,$infodir,;t t
   2492 s,@mandir@,$mandir,;t t
   2493 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   2494 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   2495 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   2496 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   2497 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   2498 s,@build_alias@,$build_alias,;t t
   2499 s,@host_alias@,$host_alias,;t t
   2500 s,@target_alias@,$target_alias,;t t
   2501 s,@ECHO_C@,$ECHO_C,;t t
   2502 s,@ECHO_N@,$ECHO_N,;t t
   2503 s,@ECHO_T@,$ECHO_T,;t t
   2504 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   2505 s,@DEFS@,$DEFS,;t t
   2506 s,@LIBS@,$LIBS,;t t
   2507 s,@CC@,$CC,;t t
   2508 s,@CFLAGS@,$CFLAGS,;t t
   2509 s,@LDFLAGS@,$LDFLAGS,;t t
   2510 s,@CPPFLAGS@,$CPPFLAGS,;t t
   2511 s,@ac_ct_CC@,$ac_ct_CC,;t t
   2512 s,@EXEEXT@,$EXEEXT,;t t
   2513 s,@OBJEXT@,$OBJEXT,;t t
   2514 s,@CPP@,$CPP,;t t
   2515 CEOF
   2516 
   2517 EOF
   2518 
   2519   cat >>$CONFIG_STATUS <<\EOF
   2520   # Split the substitutions into bite-sized pieces for seds with
   2521   # small command number limits, like on Digital OSF/1 and HP-UX.
   2522   ac_max_sed_lines=48
   2523   ac_sed_frag=1 # Number of current file.
   2524   ac_beg=1 # First line for current file.
   2525   ac_end=$ac_max_sed_lines # Line after last line for current file.
   2526   ac_more_lines=:
   2527   ac_sed_cmds=
   2528   while $ac_more_lines; do
   2529     if test $ac_beg -gt 1; then
   2530       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   2531     else
   2532       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   2533     fi
   2534     if test ! -s $tmp/subs.frag; then
   2535       ac_more_lines=false
   2536     else
   2537       # The purpose of the label and of the branching condition is to
   2538       # speed up the sed processing (if there are no `@' at all, there
   2539       # is no need to browse any of the substitutions).
   2540       # These are the two extra sed commands mentioned above.
   2541       (echo ':t
   2542   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   2543       if test -z "$ac_sed_cmds"; then
   2544   	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   2545       else
   2546   	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   2547       fi
   2548       ac_sed_frag=`expr $ac_sed_frag + 1`
   2549       ac_beg=$ac_end
   2550       ac_end=`expr $ac_end + $ac_max_sed_lines`
   2551     fi
   2552   done
   2553   if test -z "$ac_sed_cmds"; then
   2554     ac_sed_cmds=cat
   2555   fi
   2556 fi # test -n "$CONFIG_FILES"
   2557 
   2558 EOF
   2559 cat >>$CONFIG_STATUS <<\EOF
   2560 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   2561   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   2562   case $ac_file in
   2563   - | *:- | *:-:* ) # input from stdin
   2564         cat >$tmp/stdin
   2565         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   2566         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   2567   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   2568         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   2569   * )   ac_file_in=$ac_file.in ;;
   2570   esac
   2571 
   2572   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   2573   ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   2574          X"$ac_file" : 'X\(//\)[^/]' \| \
   2575          X"$ac_file" : 'X\(//\)$' \| \
   2576          X"$ac_file" : 'X\(/\)' \| \
   2577          .     : '\(.\)' 2>/dev/null ||
   2578 echo X"$ac_file" |
   2579     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   2580   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   2581   	  /^X\(\/\/\)$/{ s//\1/; q; }
   2582   	  /^X\(\/\).*/{ s//\1/; q; }
   2583   	  s/.*/./; q'`
   2584   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
   2585     { case "$ac_dir" in
   2586   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
   2587   *)                      as_incr_dir=.;;
   2588 esac
   2589 as_dummy="$ac_dir"
   2590 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
   2591   case $as_mkdir_dir in
   2592     # Skip DOS drivespec
   2593     ?:) as_incr_dir=$as_mkdir_dir ;;
   2594     *)
   2595       as_incr_dir=$as_incr_dir/$as_mkdir_dir
   2596       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
   2597     ;;
   2598   esac
   2599 done; }
   2600 
   2601     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
   2602     # A "../" for each directory in $ac_dir_suffix.
   2603     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
   2604   else
   2605     ac_dir_suffix= ac_dots=
   2606   fi
   2607 
   2608   case $srcdir in
   2609   .)  ac_srcdir=.
   2610       if test -z "$ac_dots"; then
   2611          ac_top_srcdir=.
   2612       else
   2613          ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
   2614       fi ;;
   2615   [\\/]* | ?:[\\/]* )
   2616       ac_srcdir=$srcdir$ac_dir_suffix;
   2617       ac_top_srcdir=$srcdir ;;
   2618   *) # Relative path.
   2619     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
   2620     ac_top_srcdir=$ac_dots$srcdir ;;
   2621   esac
   2622 
   2623   if test x"$ac_file" != x-; then
   2624     { echo "$as_me:2624: creating $ac_file" >&5
   2625 echo "$as_me: creating $ac_file" >&6;}
   2626     rm -f "$ac_file"
   2627   fi
   2628   # Let's still pretend it is `configure' which instantiates (i.e., don't
   2629   # use $as_me), people would be surprised to read:
   2630   #    /* config.h.  Generated automatically by config.status.  */
   2631   configure_input="Generated automatically from `echo $ac_file_in |
   2632                                                  sed 's,.*/,,'` by configure."
   2633 
   2634   # First look for the input files in the build tree, otherwise in the
   2635   # src tree.
   2636   ac_file_inputs=`IFS=:
   2637     for f in $ac_file_in; do
   2638       case $f in
   2639       -) echo $tmp/stdin ;;
   2640       [\\/$]*)
   2641          # Absolute (can't be DOS-style, as IFS=:)
   2642          test -f "$f" || { { echo "$as_me:2642: error: cannot find input file: $f" >&5
   2643 echo "$as_me: error: cannot find input file: $f" >&2;}
   2644    { (exit 1); exit 1; }; }
   2645          echo $f;;
   2646       *) # Relative
   2647          if test -f "$f"; then
   2648            # Build tree
   2649            echo $f
   2650          elif test -f "$srcdir/$f"; then
   2651            # Source tree
   2652            echo $srcdir/$f
   2653          else
   2654            # /dev/null tree
   2655            { { echo "$as_me:2655: error: cannot find input file: $f" >&5
   2656 echo "$as_me: error: cannot find input file: $f" >&2;}
   2657    { (exit 1); exit 1; }; }
   2658          fi;;
   2659       esac
   2660     done` || { (exit 1); exit 1; }
   2661 EOF
   2662 cat >>$CONFIG_STATUS <<EOF
   2663   sed "$ac_vpsub
   2664 $extrasub
   2665 EOF
   2666 cat >>$CONFIG_STATUS <<\EOF
   2667 :t
   2668 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   2669 s,@configure_input@,$configure_input,;t t
   2670 s,@srcdir@,$ac_srcdir,;t t
   2671 s,@top_srcdir@,$ac_top_srcdir,;t t
   2672 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   2673   rm -f $tmp/stdin
   2674   if test x"$ac_file" != x-; then
   2675     mv $tmp/out $ac_file
   2676   else
   2677     cat $tmp/out
   2678     rm -f $tmp/out
   2679   fi
   2680 
   2681 done
   2682 EOF
   2683 
   2684 cat >>$CONFIG_STATUS <<\EOF
   2685 
   2686 { (exit 0); exit 0; }
   2687 EOF
   2688 chmod +x $CONFIG_STATUS
   2689 ac_clean_files=$ac_clean_files_save
   2690 
   2691 # configure is writing to config.log, and then calls config.status.
   2692 # config.status does its own redirection, appending to config.log.
   2693 # Unfortunately, on DOS this fails, as config.log is still kept open
   2694 # by configure, so config.status won't be able to write to it; its
   2695 # output is simply discarded.  So we exec the FD to /dev/null,
   2696 # effectively closing config.log, so it can be properly (re)opened and
   2697 # appended to by config.status.  When coming back to configure, we
   2698 # need to make the FD available again.
   2699 if test "$no_create" != yes; then
   2700   ac_cs_success=:
   2701   exec 5>/dev/null
   2702   $SHELL $CONFIG_STATUS || ac_cs_success=false
   2703   exec 5>>config.log
   2704   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   2705   # would make configure fail if this is the last instruction.
   2706   $ac_cs_success || { (exit 1); exit 1; }
   2707 fi
   2708 
   2709