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