Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1
      1  1.1  christos #! /bin/sh
      2  1.1  christos # Guess values for system-dependent variables and create Makefiles.
      3  1.1  christos # Generated by GNU Autoconf 2.59 for the fast lexical analyser generator 2.5.35.
      4  1.1  christos #
      5  1.1  christos # Report bugs to <flex-help (at] lists.sourceforge.net>.
      6  1.1  christos #
      7  1.1  christos # Copyright (C) 2003 Free Software Foundation, Inc.
      8  1.1  christos # This configure script is free software; the Free Software Foundation
      9  1.1  christos # gives unlimited permission to copy, distribute and modify it.
     10  1.1  christos ## --------------------- ##
     11  1.1  christos ## M4sh Initialization.  ##
     12  1.1  christos ## --------------------- ##
     13  1.1  christos 
     14  1.1  christos # Be Bourne compatible
     15  1.1  christos if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     16  1.1  christos   emulate sh
     17  1.1  christos   NULLCMD=:
     18  1.1  christos   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     19  1.1  christos   # is contrary to our usage.  Disable this feature.
     20  1.1  christos   alias -g '${1+"$@"}'='"$@"'
     21  1.1  christos elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     22  1.1  christos   set -o posix
     23  1.1  christos fi
     24  1.1  christos DUALCASE=1; export DUALCASE # for MKS sh
     25  1.1  christos 
     26  1.1  christos # Support unset when possible.
     27  1.1  christos if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     28  1.1  christos   as_unset=unset
     29  1.1  christos else
     30  1.1  christos   as_unset=false
     31  1.1  christos fi
     32  1.1  christos 
     33  1.1  christos 
     34  1.1  christos # Work around bugs in pre-3.0 UWIN ksh.
     35  1.1  christos $as_unset ENV MAIL MAILPATH
     36  1.1  christos PS1='$ '
     37  1.1  christos PS2='> '
     38  1.1  christos PS4='+ '
     39  1.1  christos 
     40  1.1  christos # NLS nuisances.
     41  1.1  christos for as_var in \
     42  1.1  christos   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     43  1.1  christos   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     44  1.1  christos   LC_TELEPHONE LC_TIME
     45  1.1  christos do
     46  1.1  christos   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     47  1.1  christos     eval $as_var=C; export $as_var
     48  1.1  christos   else
     49  1.1  christos     $as_unset $as_var
     50  1.1  christos   fi
     51  1.1  christos done
     52  1.1  christos 
     53  1.1  christos # Required to use basename.
     54  1.1  christos if expr a : '\(a\)' >/dev/null 2>&1; then
     55  1.1  christos   as_expr=expr
     56  1.1  christos else
     57  1.1  christos   as_expr=false
     58  1.1  christos fi
     59  1.1  christos 
     60  1.1  christos if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     61  1.1  christos   as_basename=basename
     62  1.1  christos else
     63  1.1  christos   as_basename=false
     64  1.1  christos fi
     65  1.1  christos 
     66  1.1  christos 
     67  1.1  christos # Name of the executable.
     68  1.1  christos as_me=`$as_basename "$0" ||
     69  1.1  christos $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     70  1.1  christos 	 X"$0" : 'X\(//\)$' \| \
     71  1.1  christos 	 X"$0" : 'X\(/\)$' \| \
     72  1.1  christos 	 .     : '\(.\)' 2>/dev/null ||
     73  1.1  christos echo X/"$0" |
     74  1.1  christos     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     75  1.1  christos   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
     76  1.1  christos   	  /^X\/\(\/\).*/{ s//\1/; q; }
     77  1.1  christos   	  s/.*/./; q'`
     78  1.1  christos 
     79  1.1  christos 
     80  1.1  christos # PATH needs CR, and LINENO needs CR and PATH.
     81  1.1  christos # Avoid depending upon Character Ranges.
     82  1.1  christos as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     83  1.1  christos as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     84  1.1  christos as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     85  1.1  christos as_cr_digits='0123456789'
     86  1.1  christos as_cr_alnum=$as_cr_Letters$as_cr_digits
     87  1.1  christos 
     88  1.1  christos # The user is always right.
     89  1.1  christos if test "${PATH_SEPARATOR+set}" != set; then
     90  1.1  christos   echo "#! /bin/sh" >conf$$.sh
     91  1.1  christos   echo  "exit 0"   >>conf$$.sh
     92  1.1  christos   chmod +x conf$$.sh
     93  1.1  christos   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     94  1.1  christos     PATH_SEPARATOR=';'
     95  1.1  christos   else
     96  1.1  christos     PATH_SEPARATOR=:
     97  1.1  christos   fi
     98  1.1  christos   rm -f conf$$.sh
     99  1.1  christos fi
    100  1.1  christos 
    101  1.1  christos 
    102  1.1  christos   as_lineno_1=$LINENO
    103  1.1  christos   as_lineno_2=$LINENO
    104  1.1  christos   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    105  1.1  christos   test "x$as_lineno_1" != "x$as_lineno_2" &&
    106  1.1  christos   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    107  1.1  christos   # Find who we are.  Look in the path if we contain no path at all
    108  1.1  christos   # relative or not.
    109  1.1  christos   case $0 in
    110  1.1  christos     *[\\/]* ) as_myself=$0 ;;
    111  1.1  christos     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    112  1.1  christos for as_dir in $PATH
    113  1.1  christos do
    114  1.1  christos   IFS=$as_save_IFS
    115  1.1  christos   test -z "$as_dir" && as_dir=.
    116  1.1  christos   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    117  1.1  christos done
    118  1.1  christos 
    119  1.1  christos        ;;
    120  1.1  christos   esac
    121  1.1  christos   # We did not find ourselves, most probably we were run as `sh COMMAND'
    122  1.1  christos   # in which case we are not to be found in the path.
    123  1.1  christos   if test "x$as_myself" = x; then
    124  1.1  christos     as_myself=$0
    125  1.1  christos   fi
    126  1.1  christos   if test ! -f "$as_myself"; then
    127  1.1  christos     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    128  1.1  christos    { (exit 1); exit 1; }; }
    129  1.1  christos   fi
    130  1.1  christos   case $CONFIG_SHELL in
    131  1.1  christos   '')
    132  1.1  christos     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    133  1.1  christos for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    134  1.1  christos do
    135  1.1  christos   IFS=$as_save_IFS
    136  1.1  christos   test -z "$as_dir" && as_dir=.
    137  1.1  christos   for as_base in sh bash ksh sh5; do
    138  1.1  christos 	 case $as_dir in
    139  1.1  christos 	 /*)
    140  1.1  christos 	   if ("$as_dir/$as_base" -c '
    141  1.1  christos   as_lineno_1=$LINENO
    142  1.1  christos   as_lineno_2=$LINENO
    143  1.1  christos   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    144  1.1  christos   test "x$as_lineno_1" != "x$as_lineno_2" &&
    145  1.1  christos   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    146  1.1  christos 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    147  1.1  christos 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    148  1.1  christos 	     CONFIG_SHELL=$as_dir/$as_base
    149  1.1  christos 	     export CONFIG_SHELL
    150  1.1  christos 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    151  1.1  christos 	   fi;;
    152  1.1  christos 	 esac
    153  1.1  christos        done
    154  1.1  christos done
    155  1.1  christos ;;
    156  1.1  christos   esac
    157  1.1  christos 
    158  1.1  christos   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    159  1.1  christos   # uniformly replaced by the line number.  The first 'sed' inserts a
    160  1.1  christos   # line-number line before each line; the second 'sed' does the real
    161  1.1  christos   # work.  The second script uses 'N' to pair each line-number line
    162  1.1  christos   # with the numbered line, and appends trailing '-' during
    163  1.1  christos   # substitution so that $LINENO is not a special case at line end.
    164  1.1  christos   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    165  1.1  christos   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    166  1.1  christos   sed '=' <$as_myself |
    167  1.1  christos     sed '
    168  1.1  christos       N
    169  1.1  christos       s,$,-,
    170  1.1  christos       : loop
    171  1.1  christos       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    172  1.1  christos       t loop
    173  1.1  christos       s,-$,,
    174  1.1  christos       s,^['$as_cr_digits']*\n,,
    175  1.1  christos     ' >$as_me.lineno &&
    176  1.1  christos   chmod +x $as_me.lineno ||
    177  1.1  christos     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    178  1.1  christos    { (exit 1); exit 1; }; }
    179  1.1  christos 
    180  1.1  christos   # Don't try to exec as it changes $[0], causing all sort of problems
    181  1.1  christos   # (the dirname of $[0] is not the place where we might find the
    182  1.1  christos   # original and so on.  Autoconf is especially sensible to this).
    183  1.1  christos   . ./$as_me.lineno
    184  1.1  christos   # Exit status is that of the last command.
    185  1.1  christos   exit
    186  1.1  christos }
    187  1.1  christos 
    188  1.1  christos 
    189  1.1  christos case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    190  1.1  christos   *c*,-n*) ECHO_N= ECHO_C='
    191  1.1  christos ' ECHO_T='	' ;;
    192  1.1  christos   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    193  1.1  christos   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    194  1.1  christos esac
    195  1.1  christos 
    196  1.1  christos if expr a : '\(a\)' >/dev/null 2>&1; then
    197  1.1  christos   as_expr=expr
    198  1.1  christos else
    199  1.1  christos   as_expr=false
    200  1.1  christos fi
    201  1.1  christos 
    202  1.1  christos rm -f conf$$ conf$$.exe conf$$.file
    203  1.1  christos echo >conf$$.file
    204  1.1  christos if ln -s conf$$.file conf$$ 2>/dev/null; then
    205  1.1  christos   # We could just check for DJGPP; but this test a) works b) is more generic
    206  1.1  christos   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    207  1.1  christos   if test -f conf$$.exe; then
    208  1.1  christos     # Don't use ln at all; we don't have any links
    209  1.1  christos     as_ln_s='cp -p'
    210  1.1  christos   else
    211  1.1  christos     as_ln_s='ln -s'
    212  1.1  christos   fi
    213  1.1  christos elif ln conf$$.file conf$$ 2>/dev/null; then
    214  1.1  christos   as_ln_s=ln
    215  1.1  christos else
    216  1.1  christos   as_ln_s='cp -p'
    217  1.1  christos fi
    218  1.1  christos rm -f conf$$ conf$$.exe conf$$.file
    219  1.1  christos 
    220  1.1  christos if mkdir -p . 2>/dev/null; then
    221  1.1  christos   as_mkdir_p=:
    222  1.1  christos else
    223  1.1  christos   test -d ./-p && rmdir ./-p
    224  1.1  christos   as_mkdir_p=false
    225  1.1  christos fi
    226  1.1  christos 
    227  1.1  christos as_executable_p="test -f"
    228  1.1  christos 
    229  1.1  christos # Sed expression to map a string onto a valid CPP name.
    230  1.1  christos as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    231  1.1  christos 
    232  1.1  christos # Sed expression to map a string onto a valid variable name.
    233  1.1  christos as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    234  1.1  christos 
    235  1.1  christos 
    236  1.1  christos # IFS
    237  1.1  christos # We need space, tab and new line, in precisely that order.
    238  1.1  christos as_nl='
    239  1.1  christos '
    240  1.1  christos IFS=" 	$as_nl"
    241  1.1  christos 
    242  1.1  christos # CDPATH.
    243  1.1  christos $as_unset CDPATH
    244  1.1  christos 
    245  1.1  christos 
    246  1.1  christos # Name of the host.
    247  1.1  christos # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    248  1.1  christos # so uname gets run too.
    249  1.1  christos ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    250  1.1  christos 
    251  1.1  christos exec 6>&1
    252  1.1  christos 
    253  1.1  christos #
    254  1.1  christos # Initializations.
    255  1.1  christos #
    256  1.1  christos ac_default_prefix=/usr/local
    257  1.1  christos ac_config_libobj_dir=.
    258  1.1  christos cross_compiling=no
    259  1.1  christos subdirs=
    260  1.1  christos MFLAGS=
    261  1.1  christos MAKEFLAGS=
    262  1.1  christos SHELL=${CONFIG_SHELL-/bin/sh}
    263  1.1  christos 
    264  1.1  christos # Maximum number of lines to put in a shell here document.
    265  1.1  christos # This variable seems obsolete.  It should probably be removed, and
    266  1.1  christos # only ac_max_sed_lines should be used.
    267  1.1  christos : ${ac_max_here_lines=38}
    268  1.1  christos 
    269  1.1  christos # Identity of this package.
    270  1.1  christos PACKAGE_NAME='the fast lexical analyser generator'
    271  1.1  christos PACKAGE_TARNAME='flex'
    272  1.1  christos PACKAGE_VERSION='2.5.35'
    273  1.1  christos PACKAGE_STRING='the fast lexical analyser generator 2.5.35'
    274  1.1  christos PACKAGE_BUGREPORT='flex-help (at] lists.sourceforge.net'
    275  1.1  christos 
    276  1.1  christos ac_unique_file="scan.l"
    277  1.1  christos # Factoring default headers for most tests.
    278  1.1  christos ac_includes_default="\
    279  1.1  christos #include <stdio.h>
    280  1.1  christos #if HAVE_SYS_TYPES_H
    281  1.1  christos # include <sys/types.h>
    282  1.1  christos #endif
    283  1.1  christos #if HAVE_SYS_STAT_H
    284  1.1  christos # include <sys/stat.h>
    285  1.1  christos #endif
    286  1.1  christos #if STDC_HEADERS
    287  1.1  christos # include <stdlib.h>
    288  1.1  christos # include <stddef.h>
    289  1.1  christos #else
    290  1.1  christos # if HAVE_STDLIB_H
    291  1.1  christos #  include <stdlib.h>
    292  1.1  christos # endif
    293  1.1  christos #endif
    294  1.1  christos #if HAVE_STRING_H
    295  1.1  christos # if !STDC_HEADERS && HAVE_MEMORY_H
    296  1.1  christos #  include <memory.h>
    297  1.1  christos # endif
    298  1.1  christos # include <string.h>
    299  1.1  christos #endif
    300  1.1  christos #if HAVE_STRINGS_H
    301  1.1  christos # include <strings.h>
    302  1.1  christos #endif
    303  1.1  christos #if HAVE_INTTYPES_H
    304  1.1  christos # include <inttypes.h>
    305  1.1  christos #else
    306  1.1  christos # if HAVE_STDINT_H
    307  1.1  christos #  include <stdint.h>
    308  1.1  christos # endif
    309  1.1  christos #endif
    310  1.1  christos #if HAVE_UNISTD_H
    311  1.1  christos # include <unistd.h>
    312  1.1  christos #endif"
    313  1.1  christos 
    314  1.1  christos ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB YACC LEX LEXLIB LEX_OUTPUT_ROOT CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE LN_S RANLIB ac_ct_RANLIB BISON HELP2MAN M4 INDENT ALLOCA CPP EGREP LIBOBJS LTLIBOBJS'
    315  1.1  christos ac_subst_files=''
    316  1.1  christos 
    317  1.1  christos # Initialize some variables set by options.
    318  1.1  christos ac_init_help=
    319  1.1  christos ac_init_version=false
    320  1.1  christos # The variables have the same names as the options, with
    321  1.1  christos # dashes changed to underlines.
    322  1.1  christos cache_file=/dev/null
    323  1.1  christos exec_prefix=NONE
    324  1.1  christos no_create=
    325  1.1  christos no_recursion=
    326  1.1  christos prefix=NONE
    327  1.1  christos program_prefix=NONE
    328  1.1  christos program_suffix=NONE
    329  1.1  christos program_transform_name=s,x,x,
    330  1.1  christos silent=
    331  1.1  christos site=
    332  1.1  christos srcdir=
    333  1.1  christos verbose=
    334  1.1  christos x_includes=NONE
    335  1.1  christos x_libraries=NONE
    336  1.1  christos 
    337  1.1  christos # Installation directory options.
    338  1.1  christos # These are left unexpanded so users can "make install exec_prefix=/foo"
    339  1.1  christos # and all the variables that are supposed to be based on exec_prefix
    340  1.1  christos # by default will actually change.
    341  1.1  christos # Use braces instead of parens because sh, perl, etc. also accept them.
    342  1.1  christos bindir='${exec_prefix}/bin'
    343  1.1  christos sbindir='${exec_prefix}/sbin'
    344  1.1  christos libexecdir='${exec_prefix}/libexec'
    345  1.1  christos datadir='${prefix}/share'
    346  1.1  christos sysconfdir='${prefix}/etc'
    347  1.1  christos sharedstatedir='${prefix}/com'
    348  1.1  christos localstatedir='${prefix}/var'
    349  1.1  christos libdir='${exec_prefix}/lib'
    350  1.1  christos includedir='${prefix}/include'
    351  1.1  christos oldincludedir='/usr/include'
    352  1.1  christos infodir='${prefix}/info'
    353  1.1  christos mandir='${prefix}/man'
    354  1.1  christos 
    355  1.1  christos ac_prev=
    356  1.1  christos for ac_option
    357  1.1  christos do
    358  1.1  christos   # If the previous option needs an argument, assign it.
    359  1.1  christos   if test -n "$ac_prev"; then
    360  1.1  christos     eval "$ac_prev=\$ac_option"
    361  1.1  christos     ac_prev=
    362  1.1  christos     continue
    363  1.1  christos   fi
    364  1.1  christos 
    365  1.1  christos   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    366  1.1  christos 
    367  1.1  christos   # Accept the important Cygnus configure options, so we can diagnose typos.
    368  1.1  christos 
    369  1.1  christos   case $ac_option in
    370  1.1  christos 
    371  1.1  christos   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    372  1.1  christos     ac_prev=bindir ;;
    373  1.1  christos   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    374  1.1  christos     bindir=$ac_optarg ;;
    375  1.1  christos 
    376  1.1  christos   -build | --build | --buil | --bui | --bu)
    377  1.1  christos     ac_prev=build_alias ;;
    378  1.1  christos   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    379  1.1  christos     build_alias=$ac_optarg ;;
    380  1.1  christos 
    381  1.1  christos   -cache-file | --cache-file | --cache-fil | --cache-fi \
    382  1.1  christos   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    383  1.1  christos     ac_prev=cache_file ;;
    384  1.1  christos   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    385  1.1  christos   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    386  1.1  christos     cache_file=$ac_optarg ;;
    387  1.1  christos 
    388  1.1  christos   --config-cache | -C)
    389  1.1  christos     cache_file=config.cache ;;
    390  1.1  christos 
    391  1.1  christos   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    392  1.1  christos     ac_prev=datadir ;;
    393  1.1  christos   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    394  1.1  christos   | --da=*)
    395  1.1  christos     datadir=$ac_optarg ;;
    396  1.1  christos 
    397  1.1  christos   -disable-* | --disable-*)
    398  1.1  christos     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    399  1.1  christos     # Reject names that are not valid shell variable names.
    400  1.1  christos     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    401  1.1  christos       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    402  1.1  christos    { (exit 1); exit 1; }; }
    403  1.1  christos     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    404  1.1  christos     eval "enable_$ac_feature=no" ;;
    405  1.1  christos 
    406  1.1  christos   -enable-* | --enable-*)
    407  1.1  christos     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    408  1.1  christos     # Reject names that are not valid shell variable names.
    409  1.1  christos     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    410  1.1  christos       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    411  1.1  christos    { (exit 1); exit 1; }; }
    412  1.1  christos     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    413  1.1  christos     case $ac_option in
    414  1.1  christos       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    415  1.1  christos       *) ac_optarg=yes ;;
    416  1.1  christos     esac
    417  1.1  christos     eval "enable_$ac_feature='$ac_optarg'" ;;
    418  1.1  christos 
    419  1.1  christos   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    420  1.1  christos   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    421  1.1  christos   | --exec | --exe | --ex)
    422  1.1  christos     ac_prev=exec_prefix ;;
    423  1.1  christos   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    424  1.1  christos   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    425  1.1  christos   | --exec=* | --exe=* | --ex=*)
    426  1.1  christos     exec_prefix=$ac_optarg ;;
    427  1.1  christos 
    428  1.1  christos   -gas | --gas | --ga | --g)
    429  1.1  christos     # Obsolete; use --with-gas.
    430  1.1  christos     with_gas=yes ;;
    431  1.1  christos 
    432  1.1  christos   -help | --help | --hel | --he | -h)
    433  1.1  christos     ac_init_help=long ;;
    434  1.1  christos   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    435  1.1  christos     ac_init_help=recursive ;;
    436  1.1  christos   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    437  1.1  christos     ac_init_help=short ;;
    438  1.1  christos 
    439  1.1  christos   -host | --host | --hos | --ho)
    440  1.1  christos     ac_prev=host_alias ;;
    441  1.1  christos   -host=* | --host=* | --hos=* | --ho=*)
    442  1.1  christos     host_alias=$ac_optarg ;;
    443  1.1  christos 
    444  1.1  christos   -includedir | --includedir | --includedi | --included | --include \
    445  1.1  christos   | --includ | --inclu | --incl | --inc)
    446  1.1  christos     ac_prev=includedir ;;
    447  1.1  christos   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    448  1.1  christos   | --includ=* | --inclu=* | --incl=* | --inc=*)
    449  1.1  christos     includedir=$ac_optarg ;;
    450  1.1  christos 
    451  1.1  christos   -infodir | --infodir | --infodi | --infod | --info | --inf)
    452  1.1  christos     ac_prev=infodir ;;
    453  1.1  christos   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    454  1.1  christos     infodir=$ac_optarg ;;
    455  1.1  christos 
    456  1.1  christos   -libdir | --libdir | --libdi | --libd)
    457  1.1  christos     ac_prev=libdir ;;
    458  1.1  christos   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    459  1.1  christos     libdir=$ac_optarg ;;
    460  1.1  christos 
    461  1.1  christos   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    462  1.1  christos   | --libexe | --libex | --libe)
    463  1.1  christos     ac_prev=libexecdir ;;
    464  1.1  christos   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    465  1.1  christos   | --libexe=* | --libex=* | --libe=*)
    466  1.1  christos     libexecdir=$ac_optarg ;;
    467  1.1  christos 
    468  1.1  christos   -localstatedir | --localstatedir | --localstatedi | --localstated \
    469  1.1  christos   | --localstate | --localstat | --localsta | --localst \
    470  1.1  christos   | --locals | --local | --loca | --loc | --lo)
    471  1.1  christos     ac_prev=localstatedir ;;
    472  1.1  christos   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    473  1.1  christos   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    474  1.1  christos   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    475  1.1  christos     localstatedir=$ac_optarg ;;
    476  1.1  christos 
    477  1.1  christos   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    478  1.1  christos     ac_prev=mandir ;;
    479  1.1  christos   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    480  1.1  christos     mandir=$ac_optarg ;;
    481  1.1  christos 
    482  1.1  christos   -nfp | --nfp | --nf)
    483  1.1  christos     # Obsolete; use --without-fp.
    484  1.1  christos     with_fp=no ;;
    485  1.1  christos 
    486  1.1  christos   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    487  1.1  christos   | --no-cr | --no-c | -n)
    488  1.1  christos     no_create=yes ;;
    489  1.1  christos 
    490  1.1  christos   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    491  1.1  christos   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    492  1.1  christos     no_recursion=yes ;;
    493  1.1  christos 
    494  1.1  christos   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    495  1.1  christos   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    496  1.1  christos   | --oldin | --oldi | --old | --ol | --o)
    497  1.1  christos     ac_prev=oldincludedir ;;
    498  1.1  christos   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    499  1.1  christos   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    500  1.1  christos   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    501  1.1  christos     oldincludedir=$ac_optarg ;;
    502  1.1  christos 
    503  1.1  christos   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    504  1.1  christos     ac_prev=prefix ;;
    505  1.1  christos   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    506  1.1  christos     prefix=$ac_optarg ;;
    507  1.1  christos 
    508  1.1  christos   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    509  1.1  christos   | --program-pre | --program-pr | --program-p)
    510  1.1  christos     ac_prev=program_prefix ;;
    511  1.1  christos   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    512  1.1  christos   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    513  1.1  christos     program_prefix=$ac_optarg ;;
    514  1.1  christos 
    515  1.1  christos   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    516  1.1  christos   | --program-suf | --program-su | --program-s)
    517  1.1  christos     ac_prev=program_suffix ;;
    518  1.1  christos   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    519  1.1  christos   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    520  1.1  christos     program_suffix=$ac_optarg ;;
    521  1.1  christos 
    522  1.1  christos   -program-transform-name | --program-transform-name \
    523  1.1  christos   | --program-transform-nam | --program-transform-na \
    524  1.1  christos   | --program-transform-n | --program-transform- \
    525  1.1  christos   | --program-transform | --program-transfor \
    526  1.1  christos   | --program-transfo | --program-transf \
    527  1.1  christos   | --program-trans | --program-tran \
    528  1.1  christos   | --progr-tra | --program-tr | --program-t)
    529  1.1  christos     ac_prev=program_transform_name ;;
    530  1.1  christos   -program-transform-name=* | --program-transform-name=* \
    531  1.1  christos   | --program-transform-nam=* | --program-transform-na=* \
    532  1.1  christos   | --program-transform-n=* | --program-transform-=* \
    533  1.1  christos   | --program-transform=* | --program-transfor=* \
    534  1.1  christos   | --program-transfo=* | --program-transf=* \
    535  1.1  christos   | --program-trans=* | --program-tran=* \
    536  1.1  christos   | --progr-tra=* | --program-tr=* | --program-t=*)
    537  1.1  christos     program_transform_name=$ac_optarg ;;
    538  1.1  christos 
    539  1.1  christos   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    540  1.1  christos   | -silent | --silent | --silen | --sile | --sil)
    541  1.1  christos     silent=yes ;;
    542  1.1  christos 
    543  1.1  christos   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    544  1.1  christos     ac_prev=sbindir ;;
    545  1.1  christos   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    546  1.1  christos   | --sbi=* | --sb=*)
    547  1.1  christos     sbindir=$ac_optarg ;;
    548  1.1  christos 
    549  1.1  christos   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    550  1.1  christos   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    551  1.1  christos   | --sharedst | --shareds | --shared | --share | --shar \
    552  1.1  christos   | --sha | --sh)
    553  1.1  christos     ac_prev=sharedstatedir ;;
    554  1.1  christos   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    555  1.1  christos   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    556  1.1  christos   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    557  1.1  christos   | --sha=* | --sh=*)
    558  1.1  christos     sharedstatedir=$ac_optarg ;;
    559  1.1  christos 
    560  1.1  christos   -site | --site | --sit)
    561  1.1  christos     ac_prev=site ;;
    562  1.1  christos   -site=* | --site=* | --sit=*)
    563  1.1  christos     site=$ac_optarg ;;
    564  1.1  christos 
    565  1.1  christos   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    566  1.1  christos     ac_prev=srcdir ;;
    567  1.1  christos   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    568  1.1  christos     srcdir=$ac_optarg ;;
    569  1.1  christos 
    570  1.1  christos   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    571  1.1  christos   | --syscon | --sysco | --sysc | --sys | --sy)
    572  1.1  christos     ac_prev=sysconfdir ;;
    573  1.1  christos   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    574  1.1  christos   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    575  1.1  christos     sysconfdir=$ac_optarg ;;
    576  1.1  christos 
    577  1.1  christos   -target | --target | --targe | --targ | --tar | --ta | --t)
    578  1.1  christos     ac_prev=target_alias ;;
    579  1.1  christos   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    580  1.1  christos     target_alias=$ac_optarg ;;
    581  1.1  christos 
    582  1.1  christos   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    583  1.1  christos     verbose=yes ;;
    584  1.1  christos 
    585  1.1  christos   -version | --version | --versio | --versi | --vers | -V)
    586  1.1  christos     ac_init_version=: ;;
    587  1.1  christos 
    588  1.1  christos   -with-* | --with-*)
    589  1.1  christos     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    590  1.1  christos     # Reject names that are not valid shell variable names.
    591  1.1  christos     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    592  1.1  christos       { echo "$as_me: error: invalid package name: $ac_package" >&2
    593  1.1  christos    { (exit 1); exit 1; }; }
    594  1.1  christos     ac_package=`echo $ac_package| sed 's/-/_/g'`
    595  1.1  christos     case $ac_option in
    596  1.1  christos       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    597  1.1  christos       *) ac_optarg=yes ;;
    598  1.1  christos     esac
    599  1.1  christos     eval "with_$ac_package='$ac_optarg'" ;;
    600  1.1  christos 
    601  1.1  christos   -without-* | --without-*)
    602  1.1  christos     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    603  1.1  christos     # Reject names that are not valid shell variable names.
    604  1.1  christos     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    605  1.1  christos       { echo "$as_me: error: invalid package name: $ac_package" >&2
    606  1.1  christos    { (exit 1); exit 1; }; }
    607  1.1  christos     ac_package=`echo $ac_package | sed 's/-/_/g'`
    608  1.1  christos     eval "with_$ac_package=no" ;;
    609  1.1  christos 
    610  1.1  christos   --x)
    611  1.1  christos     # Obsolete; use --with-x.
    612  1.1  christos     with_x=yes ;;
    613  1.1  christos 
    614  1.1  christos   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    615  1.1  christos   | --x-incl | --x-inc | --x-in | --x-i)
    616  1.1  christos     ac_prev=x_includes ;;
    617  1.1  christos   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    618  1.1  christos   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    619  1.1  christos     x_includes=$ac_optarg ;;
    620  1.1  christos 
    621  1.1  christos   -x-libraries | --x-libraries | --x-librarie | --x-librari \
    622  1.1  christos   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    623  1.1  christos     ac_prev=x_libraries ;;
    624  1.1  christos   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    625  1.1  christos   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    626  1.1  christos     x_libraries=$ac_optarg ;;
    627  1.1  christos 
    628  1.1  christos   -*) { echo "$as_me: error: unrecognized option: $ac_option
    629  1.1  christos Try \`$0 --help' for more information." >&2
    630  1.1  christos    { (exit 1); exit 1; }; }
    631  1.1  christos     ;;
    632  1.1  christos 
    633  1.1  christos   *=*)
    634  1.1  christos     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    635  1.1  christos     # Reject names that are not valid shell variable names.
    636  1.1  christos     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    637  1.1  christos       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    638  1.1  christos    { (exit 1); exit 1; }; }
    639  1.1  christos     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    640  1.1  christos     eval "$ac_envvar='$ac_optarg'"
    641  1.1  christos     export $ac_envvar ;;
    642  1.1  christos 
    643  1.1  christos   *)
    644  1.1  christos     # FIXME: should be removed in autoconf 3.0.
    645  1.1  christos     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    646  1.1  christos     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    647  1.1  christos       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    648  1.1  christos     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    649  1.1  christos     ;;
    650  1.1  christos 
    651  1.1  christos   esac
    652  1.1  christos done
    653  1.1  christos 
    654  1.1  christos if test -n "$ac_prev"; then
    655  1.1  christos   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    656  1.1  christos   { echo "$as_me: error: missing argument to $ac_option" >&2
    657  1.1  christos    { (exit 1); exit 1; }; }
    658  1.1  christos fi
    659  1.1  christos 
    660  1.1  christos # Be sure to have absolute paths.
    661  1.1  christos for ac_var in exec_prefix prefix
    662  1.1  christos do
    663  1.1  christos   eval ac_val=$`echo $ac_var`
    664  1.1  christos   case $ac_val in
    665  1.1  christos     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    666  1.1  christos     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    667  1.1  christos    { (exit 1); exit 1; }; };;
    668  1.1  christos   esac
    669  1.1  christos done
    670  1.1  christos 
    671  1.1  christos # Be sure to have absolute paths.
    672  1.1  christos for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    673  1.1  christos 	      localstatedir libdir includedir oldincludedir infodir mandir
    674  1.1  christos do
    675  1.1  christos   eval ac_val=$`echo $ac_var`
    676  1.1  christos   case $ac_val in
    677  1.1  christos     [\\/$]* | ?:[\\/]* ) ;;
    678  1.1  christos     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    679  1.1  christos    { (exit 1); exit 1; }; };;
    680  1.1  christos   esac
    681  1.1  christos done
    682  1.1  christos 
    683  1.1  christos # There might be people who depend on the old broken behavior: `$host'
    684  1.1  christos # used to hold the argument of --host etc.
    685  1.1  christos # FIXME: To remove some day.
    686  1.1  christos build=$build_alias
    687  1.1  christos host=$host_alias
    688  1.1  christos target=$target_alias
    689  1.1  christos 
    690  1.1  christos # FIXME: To remove some day.
    691  1.1  christos if test "x$host_alias" != x; then
    692  1.1  christos   if test "x$build_alias" = x; then
    693  1.1  christos     cross_compiling=maybe
    694  1.1  christos     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    695  1.1  christos     If a cross compiler is detected then cross compile mode will be used." >&2
    696  1.1  christos   elif test "x$build_alias" != "x$host_alias"; then
    697  1.1  christos     cross_compiling=yes
    698  1.1  christos   fi
    699  1.1  christos fi
    700  1.1  christos 
    701  1.1  christos ac_tool_prefix=
    702  1.1  christos test -n "$host_alias" && ac_tool_prefix=$host_alias-
    703  1.1  christos 
    704  1.1  christos test "$silent" = yes && exec 6>/dev/null
    705  1.1  christos 
    706  1.1  christos 
    707  1.1  christos # Find the source files, if location was not specified.
    708  1.1  christos if test -z "$srcdir"; then
    709  1.1  christos   ac_srcdir_defaulted=yes
    710  1.1  christos   # Try the directory containing this script, then its parent.
    711  1.1  christos   ac_confdir=`(dirname "$0") 2>/dev/null ||
    712  1.1  christos $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    713  1.1  christos 	 X"$0" : 'X\(//\)[^/]' \| \
    714  1.1  christos 	 X"$0" : 'X\(//\)$' \| \
    715  1.1  christos 	 X"$0" : 'X\(/\)' \| \
    716  1.1  christos 	 .     : '\(.\)' 2>/dev/null ||
    717  1.1  christos echo X"$0" |
    718  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    719  1.1  christos   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    720  1.1  christos   	  /^X\(\/\/\)$/{ s//\1/; q; }
    721  1.1  christos   	  /^X\(\/\).*/{ s//\1/; q; }
    722  1.1  christos   	  s/.*/./; q'`
    723  1.1  christos   srcdir=$ac_confdir
    724  1.1  christos   if test ! -r $srcdir/$ac_unique_file; then
    725  1.1  christos     srcdir=..
    726  1.1  christos   fi
    727  1.1  christos else
    728  1.1  christos   ac_srcdir_defaulted=no
    729  1.1  christos fi
    730  1.1  christos if test ! -r $srcdir/$ac_unique_file; then
    731  1.1  christos   if test "$ac_srcdir_defaulted" = yes; then
    732  1.1  christos     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    733  1.1  christos    { (exit 1); exit 1; }; }
    734  1.1  christos   else
    735  1.1  christos     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    736  1.1  christos    { (exit 1); exit 1; }; }
    737  1.1  christos   fi
    738  1.1  christos fi
    739  1.1  christos (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    740  1.1  christos   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    741  1.1  christos    { (exit 1); exit 1; }; }
    742  1.1  christos srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    743  1.1  christos ac_env_build_alias_set=${build_alias+set}
    744  1.1  christos ac_env_build_alias_value=$build_alias
    745  1.1  christos ac_cv_env_build_alias_set=${build_alias+set}
    746  1.1  christos ac_cv_env_build_alias_value=$build_alias
    747  1.1  christos ac_env_host_alias_set=${host_alias+set}
    748  1.1  christos ac_env_host_alias_value=$host_alias
    749  1.1  christos ac_cv_env_host_alias_set=${host_alias+set}
    750  1.1  christos ac_cv_env_host_alias_value=$host_alias
    751  1.1  christos ac_env_target_alias_set=${target_alias+set}
    752  1.1  christos ac_env_target_alias_value=$target_alias
    753  1.1  christos ac_cv_env_target_alias_set=${target_alias+set}
    754  1.1  christos ac_cv_env_target_alias_value=$target_alias
    755  1.1  christos ac_env_CC_set=${CC+set}
    756  1.1  christos ac_env_CC_value=$CC
    757  1.1  christos ac_cv_env_CC_set=${CC+set}
    758  1.1  christos ac_cv_env_CC_value=$CC
    759  1.1  christos ac_env_CFLAGS_set=${CFLAGS+set}
    760  1.1  christos ac_env_CFLAGS_value=$CFLAGS
    761  1.1  christos ac_cv_env_CFLAGS_set=${CFLAGS+set}
    762  1.1  christos ac_cv_env_CFLAGS_value=$CFLAGS
    763  1.1  christos ac_env_LDFLAGS_set=${LDFLAGS+set}
    764  1.1  christos ac_env_LDFLAGS_value=$LDFLAGS
    765  1.1  christos ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    766  1.1  christos ac_cv_env_LDFLAGS_value=$LDFLAGS
    767  1.1  christos ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    768  1.1  christos ac_env_CPPFLAGS_value=$CPPFLAGS
    769  1.1  christos ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    770  1.1  christos ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    771  1.1  christos ac_env_CXX_set=${CXX+set}
    772  1.1  christos ac_env_CXX_value=$CXX
    773  1.1  christos ac_cv_env_CXX_set=${CXX+set}
    774  1.1  christos ac_cv_env_CXX_value=$CXX
    775  1.1  christos ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    776  1.1  christos ac_env_CXXFLAGS_value=$CXXFLAGS
    777  1.1  christos ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    778  1.1  christos ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    779  1.1  christos ac_env_CPP_set=${CPP+set}
    780  1.1  christos ac_env_CPP_value=$CPP
    781  1.1  christos ac_cv_env_CPP_set=${CPP+set}
    782  1.1  christos ac_cv_env_CPP_value=$CPP
    783  1.1  christos 
    784  1.1  christos #
    785  1.1  christos # Report the --help message.
    786  1.1  christos #
    787  1.1  christos if test "$ac_init_help" = "long"; then
    788  1.1  christos   # Omit some internal or obsolete options to make the list less imposing.
    789  1.1  christos   # This message is too long to be a string in the A/UX 3.1 sh.
    790  1.1  christos   cat <<_ACEOF
    791  1.1  christos \`configure' configures the fast lexical analyser generator 2.5.35 to adapt to many kinds of systems.
    792  1.1  christos 
    793  1.1  christos Usage: $0 [OPTION]... [VAR=VALUE]...
    794  1.1  christos 
    795  1.1  christos To assign environment variables (e.g., CC, CFLAGS...), specify them as
    796  1.1  christos VAR=VALUE.  See below for descriptions of some of the useful variables.
    797  1.1  christos 
    798  1.1  christos Defaults for the options are specified in brackets.
    799  1.1  christos 
    800  1.1  christos Configuration:
    801  1.1  christos   -h, --help              display this help and exit
    802  1.1  christos       --help=short        display options specific to this package
    803  1.1  christos       --help=recursive    display the short help of all the included packages
    804  1.1  christos   -V, --version           display version information and exit
    805  1.1  christos   -q, --quiet, --silent   do not print \`checking...' messages
    806  1.1  christos       --cache-file=FILE   cache test results in FILE [disabled]
    807  1.1  christos   -C, --config-cache      alias for \`--cache-file=config.cache'
    808  1.1  christos   -n, --no-create         do not create output files
    809  1.1  christos       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    810  1.1  christos 
    811  1.1  christos _ACEOF
    812  1.1  christos 
    813  1.1  christos   cat <<_ACEOF
    814  1.1  christos Installation directories:
    815  1.1  christos   --prefix=PREFIX         install architecture-independent files in PREFIX
    816  1.1  christos 			  [$ac_default_prefix]
    817  1.1  christos   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    818  1.1  christos 			  [PREFIX]
    819  1.1  christos 
    820  1.1  christos By default, \`make install' will install all the files in
    821  1.1  christos \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    822  1.1  christos an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    823  1.1  christos for instance \`--prefix=\$HOME'.
    824  1.1  christos 
    825  1.1  christos For better control, use the options below.
    826  1.1  christos 
    827  1.1  christos Fine tuning of the installation directories:
    828  1.1  christos   --bindir=DIR           user executables [EPREFIX/bin]
    829  1.1  christos   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    830  1.1  christos   --libexecdir=DIR       program executables [EPREFIX/libexec]
    831  1.1  christos   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    832  1.1  christos   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    833  1.1  christos   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    834  1.1  christos   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    835  1.1  christos   --libdir=DIR           object code libraries [EPREFIX/lib]
    836  1.1  christos   --includedir=DIR       C header files [PREFIX/include]
    837  1.1  christos   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    838  1.1  christos   --infodir=DIR          info documentation [PREFIX/info]
    839  1.1  christos   --mandir=DIR           man documentation [PREFIX/man]
    840  1.1  christos _ACEOF
    841  1.1  christos 
    842  1.1  christos   cat <<\_ACEOF
    843  1.1  christos 
    844  1.1  christos Program names:
    845  1.1  christos   --program-prefix=PREFIX            prepend PREFIX to installed program names
    846  1.1  christos   --program-suffix=SUFFIX            append SUFFIX to installed program names
    847  1.1  christos   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
    848  1.1  christos 
    849  1.1  christos System types:
    850  1.1  christos   --build=BUILD     configure for building on BUILD [guessed]
    851  1.1  christos   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    852  1.1  christos _ACEOF
    853  1.1  christos fi
    854  1.1  christos 
    855  1.1  christos if test -n "$ac_init_help"; then
    856  1.1  christos   case $ac_init_help in
    857  1.1  christos      short | recursive ) echo "Configuration of the fast lexical analyser generator 2.5.35:";;
    858  1.1  christos    esac
    859  1.1  christos   cat <<\_ACEOF
    860  1.1  christos 
    861  1.1  christos Optional Features:
    862  1.1  christos   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    863  1.1  christos   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    864  1.1  christos   --disable-nls           do not use Native Language Support
    865  1.1  christos   --disable-dependency-tracking  speeds up one-time build
    866  1.1  christos   --enable-dependency-tracking   do not reject slow dependency extractors
    867  1.1  christos   --disable-rpath         do not hardcode runtime library paths
    868  1.1  christos 
    869  1.1  christos Optional Packages:
    870  1.1  christos   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    871  1.1  christos   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    872  1.1  christos   --with-gnu-ld           assume the C compiler uses GNU ld default=no
    873  1.1  christos   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
    874  1.1  christos   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
    875  1.1  christos   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
    876  1.1  christos   --without-libintl-prefix     don't search for libintl in includedir and libdir
    877  1.1  christos 
    878  1.1  christos Some influential environment variables:
    879  1.1  christos   CC          C compiler command
    880  1.1  christos   CFLAGS      C compiler flags
    881  1.1  christos   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    882  1.1  christos               nonstandard directory <lib dir>
    883  1.1  christos   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    884  1.1  christos               headers in a nonstandard directory <include dir>
    885  1.1  christos   CXX         C++ compiler command
    886  1.1  christos   CXXFLAGS    C++ compiler flags
    887  1.1  christos   CPP         C preprocessor
    888  1.1  christos 
    889  1.1  christos Use these variables to override the choices made by `configure' or to help
    890  1.1  christos it to find libraries and programs with nonstandard names/locations.
    891  1.1  christos 
    892  1.1  christos Report bugs to <flex-help@lists.sourceforge.net>.
    893  1.1  christos _ACEOF
    894  1.1  christos fi
    895  1.1  christos 
    896  1.1  christos if test "$ac_init_help" = "recursive"; then
    897  1.1  christos   # If there are subdirs, report their specific --help.
    898  1.1  christos   ac_popdir=`pwd`
    899  1.1  christos   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    900  1.1  christos     test -d $ac_dir || continue
    901  1.1  christos     ac_builddir=.
    902  1.1  christos 
    903  1.1  christos if test "$ac_dir" != .; then
    904  1.1  christos   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    905  1.1  christos   # A "../" for each directory in $ac_dir_suffix.
    906  1.1  christos   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    907  1.1  christos else
    908  1.1  christos   ac_dir_suffix= ac_top_builddir=
    909  1.1  christos fi
    910  1.1  christos 
    911  1.1  christos case $srcdir in
    912  1.1  christos   .)  # No --srcdir option.  We are building in place.
    913  1.1  christos     ac_srcdir=.
    914  1.1  christos     if test -z "$ac_top_builddir"; then
    915  1.1  christos        ac_top_srcdir=.
    916  1.1  christos     else
    917  1.1  christos        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    918  1.1  christos     fi ;;
    919  1.1  christos   [\\/]* | ?:[\\/]* )  # Absolute path.
    920  1.1  christos     ac_srcdir=$srcdir$ac_dir_suffix;
    921  1.1  christos     ac_top_srcdir=$srcdir ;;
    922  1.1  christos   *) # Relative path.
    923  1.1  christos     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    924  1.1  christos     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    925  1.1  christos esac
    926  1.1  christos 
    927  1.1  christos # Do not use `cd foo && pwd` to compute absolute paths, because
    928  1.1  christos # the directories may not exist.
    929  1.1  christos case `pwd` in
    930  1.1  christos .) ac_abs_builddir="$ac_dir";;
    931  1.1  christos *)
    932  1.1  christos   case "$ac_dir" in
    933  1.1  christos   .) ac_abs_builddir=`pwd`;;
    934  1.1  christos   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    935  1.1  christos   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    936  1.1  christos   esac;;
    937  1.1  christos esac
    938  1.1  christos case $ac_abs_builddir in
    939  1.1  christos .) ac_abs_top_builddir=${ac_top_builddir}.;;
    940  1.1  christos *)
    941  1.1  christos   case ${ac_top_builddir}. in
    942  1.1  christos   .) ac_abs_top_builddir=$ac_abs_builddir;;
    943  1.1  christos   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    944  1.1  christos   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    945  1.1  christos   esac;;
    946  1.1  christos esac
    947  1.1  christos case $ac_abs_builddir in
    948  1.1  christos .) ac_abs_srcdir=$ac_srcdir;;
    949  1.1  christos *)
    950  1.1  christos   case $ac_srcdir in
    951  1.1  christos   .) ac_abs_srcdir=$ac_abs_builddir;;
    952  1.1  christos   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    953  1.1  christos   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    954  1.1  christos   esac;;
    955  1.1  christos esac
    956  1.1  christos case $ac_abs_builddir in
    957  1.1  christos .) ac_abs_top_srcdir=$ac_top_srcdir;;
    958  1.1  christos *)
    959  1.1  christos   case $ac_top_srcdir in
    960  1.1  christos   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    961  1.1  christos   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    962  1.1  christos   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    963  1.1  christos   esac;;
    964  1.1  christos esac
    965  1.1  christos 
    966  1.1  christos     cd $ac_dir
    967  1.1  christos     # Check for guested configure; otherwise get Cygnus style configure.
    968  1.1  christos     if test -f $ac_srcdir/configure.gnu; then
    969  1.1  christos       echo
    970  1.1  christos       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    971  1.1  christos     elif test -f $ac_srcdir/configure; then
    972  1.1  christos       echo
    973  1.1  christos       $SHELL $ac_srcdir/configure  --help=recursive
    974  1.1  christos     elif test -f $ac_srcdir/configure.ac ||
    975  1.1  christos 	   test -f $ac_srcdir/configure.in; then
    976  1.1  christos       echo
    977  1.1  christos       $ac_configure --help
    978  1.1  christos     else
    979  1.1  christos       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    980  1.1  christos     fi
    981  1.1  christos     cd "$ac_popdir"
    982  1.1  christos   done
    983  1.1  christos fi
    984  1.1  christos 
    985  1.1  christos test -n "$ac_init_help" && exit 0
    986  1.1  christos if $ac_init_version; then
    987  1.1  christos   cat <<\_ACEOF
    988  1.1  christos the fast lexical analyser generator configure 2.5.35
    989  1.1  christos generated by GNU Autoconf 2.59
    990  1.1  christos 
    991  1.1  christos Copyright (C) 2003 Free Software Foundation, Inc.
    992  1.1  christos This configure script is free software; the Free Software Foundation
    993  1.1  christos gives unlimited permission to copy, distribute and modify it.
    994  1.1  christos _ACEOF
    995  1.1  christos   exit 0
    996  1.1  christos fi
    997  1.1  christos exec 5>config.log
    998  1.1  christos cat >&5 <<_ACEOF
    999  1.1  christos This file contains any messages produced by compilers while
   1000  1.1  christos running configure, to aid debugging if configure makes a mistake.
   1001  1.1  christos 
   1002  1.1  christos It was created by the fast lexical analyser generator $as_me 2.5.35, which was
   1003  1.1  christos generated by GNU Autoconf 2.59.  Invocation command line was
   1004  1.1  christos 
   1005  1.1  christos   $ $0 $@
   1006  1.1  christos 
   1007  1.1  christos _ACEOF
   1008  1.1  christos {
   1009  1.1  christos cat <<_ASUNAME
   1010  1.1  christos ## --------- ##
   1011  1.1  christos ## Platform. ##
   1012  1.1  christos ## --------- ##
   1013  1.1  christos 
   1014  1.1  christos hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1015  1.1  christos uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1016  1.1  christos uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1017  1.1  christos uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1018  1.1  christos uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1019  1.1  christos 
   1020  1.1  christos /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1021  1.1  christos /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1022  1.1  christos 
   1023  1.1  christos /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1024  1.1  christos /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1025  1.1  christos /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1026  1.1  christos hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
   1027  1.1  christos /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1028  1.1  christos /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1029  1.1  christos /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1030  1.1  christos 
   1031  1.1  christos _ASUNAME
   1032  1.1  christos 
   1033  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1034  1.1  christos for as_dir in $PATH
   1035  1.1  christos do
   1036  1.1  christos   IFS=$as_save_IFS
   1037  1.1  christos   test -z "$as_dir" && as_dir=.
   1038  1.1  christos   echo "PATH: $as_dir"
   1039  1.1  christos done
   1040  1.1  christos 
   1041  1.1  christos } >&5
   1042  1.1  christos 
   1043  1.1  christos cat >&5 <<_ACEOF
   1044  1.1  christos 
   1045  1.1  christos 
   1046  1.1  christos ## ----------- ##
   1047  1.1  christos ## Core tests. ##
   1048  1.1  christos ## ----------- ##
   1049  1.1  christos 
   1050  1.1  christos _ACEOF
   1051  1.1  christos 
   1052  1.1  christos 
   1053  1.1  christos # Keep a trace of the command line.
   1054  1.1  christos # Strip out --no-create and --no-recursion so they do not pile up.
   1055  1.1  christos # Strip out --silent because we don't want to record it for future runs.
   1056  1.1  christos # Also quote any args containing shell meta-characters.
   1057  1.1  christos # Make two passes to allow for proper duplicate-argument suppression.
   1058  1.1  christos ac_configure_args=
   1059  1.1  christos ac_configure_args0=
   1060  1.1  christos ac_configure_args1=
   1061  1.1  christos ac_sep=
   1062  1.1  christos ac_must_keep_next=false
   1063  1.1  christos for ac_pass in 1 2
   1064  1.1  christos do
   1065  1.1  christos   for ac_arg
   1066  1.1  christos   do
   1067  1.1  christos     case $ac_arg in
   1068  1.1  christos     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1069  1.1  christos     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1070  1.1  christos     | -silent | --silent | --silen | --sile | --sil)
   1071  1.1  christos       continue ;;
   1072  1.1  christos     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1073  1.1  christos       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1074  1.1  christos     esac
   1075  1.1  christos     case $ac_pass in
   1076  1.1  christos     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1077  1.1  christos     2)
   1078  1.1  christos       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1079  1.1  christos       if test $ac_must_keep_next = true; then
   1080  1.1  christos 	ac_must_keep_next=false # Got value, back to normal.
   1081  1.1  christos       else
   1082  1.1  christos 	case $ac_arg in
   1083  1.1  christos 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1084  1.1  christos 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1085  1.1  christos 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1086  1.1  christos 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1087  1.1  christos 	    case "$ac_configure_args0 " in
   1088  1.1  christos 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1089  1.1  christos 	    esac
   1090  1.1  christos 	    ;;
   1091  1.1  christos 	  -* ) ac_must_keep_next=true ;;
   1092  1.1  christos 	esac
   1093  1.1  christos       fi
   1094  1.1  christos       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
   1095  1.1  christos       # Get rid of the leading space.
   1096  1.1  christos       ac_sep=" "
   1097  1.1  christos       ;;
   1098  1.1  christos     esac
   1099  1.1  christos   done
   1100  1.1  christos done
   1101  1.1  christos $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1102  1.1  christos $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1103  1.1  christos 
   1104  1.1  christos # When interrupted or exit'd, cleanup temporary files, and complete
   1105  1.1  christos # config.log.  We remove comments because anyway the quotes in there
   1106  1.1  christos # would cause problems or look ugly.
   1107  1.1  christos # WARNING: Be sure not to use single quotes in there, as some shells,
   1108  1.1  christos # such as our DU 5.0 friend, will then `close' the trap.
   1109  1.1  christos trap 'exit_status=$?
   1110  1.1  christos   # Save into config.log some information that might help in debugging.
   1111  1.1  christos   {
   1112  1.1  christos     echo
   1113  1.1  christos 
   1114  1.1  christos     cat <<\_ASBOX
   1115  1.1  christos ## ---------------- ##
   1116  1.1  christos ## Cache variables. ##
   1117  1.1  christos ## ---------------- ##
   1118  1.1  christos _ASBOX
   1119  1.1  christos     echo
   1120  1.1  christos     # The following way of writing the cache mishandles newlines in values,
   1121  1.1  christos {
   1122  1.1  christos   (set) 2>&1 |
   1123  1.1  christos     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
   1124  1.1  christos     *ac_space=\ *)
   1125  1.1  christos       sed -n \
   1126  1.1  christos 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
   1127  1.1  christos 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
   1128  1.1  christos       ;;
   1129  1.1  christos     *)
   1130  1.1  christos       sed -n \
   1131  1.1  christos 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   1132  1.1  christos       ;;
   1133  1.1  christos     esac;
   1134  1.1  christos }
   1135  1.1  christos     echo
   1136  1.1  christos 
   1137  1.1  christos     cat <<\_ASBOX
   1138  1.1  christos ## ----------------- ##
   1139  1.1  christos ## Output variables. ##
   1140  1.1  christos ## ----------------- ##
   1141  1.1  christos _ASBOX
   1142  1.1  christos     echo
   1143  1.1  christos     for ac_var in $ac_subst_vars
   1144  1.1  christos     do
   1145  1.1  christos       eval ac_val=$`echo $ac_var`
   1146  1.1  christos       echo "$ac_var='"'"'$ac_val'"'"'"
   1147  1.1  christos     done | sort
   1148  1.1  christos     echo
   1149  1.1  christos 
   1150  1.1  christos     if test -n "$ac_subst_files"; then
   1151  1.1  christos       cat <<\_ASBOX
   1152  1.1  christos ## ------------- ##
   1153  1.1  christos ## Output files. ##
   1154  1.1  christos ## ------------- ##
   1155  1.1  christos _ASBOX
   1156  1.1  christos       echo
   1157  1.1  christos       for ac_var in $ac_subst_files
   1158  1.1  christos       do
   1159  1.1  christos 	eval ac_val=$`echo $ac_var`
   1160  1.1  christos 	echo "$ac_var='"'"'$ac_val'"'"'"
   1161  1.1  christos       done | sort
   1162  1.1  christos       echo
   1163  1.1  christos     fi
   1164  1.1  christos 
   1165  1.1  christos     if test -s confdefs.h; then
   1166  1.1  christos       cat <<\_ASBOX
   1167  1.1  christos ## ----------- ##
   1168  1.1  christos ## confdefs.h. ##
   1169  1.1  christos ## ----------- ##
   1170  1.1  christos _ASBOX
   1171  1.1  christos       echo
   1172  1.1  christos       sed "/^$/d" confdefs.h | sort
   1173  1.1  christos       echo
   1174  1.1  christos     fi
   1175  1.1  christos     test "$ac_signal" != 0 &&
   1176  1.1  christos       echo "$as_me: caught signal $ac_signal"
   1177  1.1  christos     echo "$as_me: exit $exit_status"
   1178  1.1  christos   } >&5
   1179  1.1  christos   rm -f core *.core &&
   1180  1.1  christos   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
   1181  1.1  christos     exit $exit_status
   1182  1.1  christos      ' 0
   1183  1.1  christos for ac_signal in 1 2 13 15; do
   1184  1.1  christos   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1185  1.1  christos done
   1186  1.1  christos ac_signal=0
   1187  1.1  christos 
   1188  1.1  christos # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1189  1.1  christos rm -rf conftest* confdefs.h
   1190  1.1  christos # AIX cpp loses on an empty file, so make sure it contains at least a newline.
   1191  1.1  christos echo >confdefs.h
   1192  1.1  christos 
   1193  1.1  christos # Predefined preprocessor variables.
   1194  1.1  christos 
   1195  1.1  christos cat >>confdefs.h <<_ACEOF
   1196  1.1  christos #define PACKAGE_NAME "$PACKAGE_NAME"
   1197  1.1  christos _ACEOF
   1198  1.1  christos 
   1199  1.1  christos 
   1200  1.1  christos cat >>confdefs.h <<_ACEOF
   1201  1.1  christos #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1202  1.1  christos _ACEOF
   1203  1.1  christos 
   1204  1.1  christos 
   1205  1.1  christos cat >>confdefs.h <<_ACEOF
   1206  1.1  christos #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1207  1.1  christos _ACEOF
   1208  1.1  christos 
   1209  1.1  christos 
   1210  1.1  christos cat >>confdefs.h <<_ACEOF
   1211  1.1  christos #define PACKAGE_STRING "$PACKAGE_STRING"
   1212  1.1  christos _ACEOF
   1213  1.1  christos 
   1214  1.1  christos 
   1215  1.1  christos cat >>confdefs.h <<_ACEOF
   1216  1.1  christos #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1217  1.1  christos _ACEOF
   1218  1.1  christos 
   1219  1.1  christos 
   1220  1.1  christos # Let the site file select an alternate cache file if it wants to.
   1221  1.1  christos # Prefer explicitly selected file to automatically selected ones.
   1222  1.1  christos if test -z "$CONFIG_SITE"; then
   1223  1.1  christos   if test "x$prefix" != xNONE; then
   1224  1.1  christos     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
   1225  1.1  christos   else
   1226  1.1  christos     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1227  1.1  christos   fi
   1228  1.1  christos fi
   1229  1.1  christos for ac_site_file in $CONFIG_SITE; do
   1230  1.1  christos   if test -r "$ac_site_file"; then
   1231  1.1  christos     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1232  1.1  christos echo "$as_me: loading site script $ac_site_file" >&6;}
   1233  1.1  christos     sed 's/^/| /' "$ac_site_file" >&5
   1234  1.1  christos     . "$ac_site_file"
   1235  1.1  christos   fi
   1236  1.1  christos done
   1237  1.1  christos 
   1238  1.1  christos if test -r "$cache_file"; then
   1239  1.1  christos   # Some versions of bash will fail to source /dev/null (special
   1240  1.1  christos   # files actually), so we avoid doing that.
   1241  1.1  christos   if test -f "$cache_file"; then
   1242  1.1  christos     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1243  1.1  christos echo "$as_me: loading cache $cache_file" >&6;}
   1244  1.1  christos     case $cache_file in
   1245  1.1  christos       [\\/]* | ?:[\\/]* ) . $cache_file;;
   1246  1.1  christos       *)                      . ./$cache_file;;
   1247  1.1  christos     esac
   1248  1.1  christos   fi
   1249  1.1  christos else
   1250  1.1  christos   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1251  1.1  christos echo "$as_me: creating cache $cache_file" >&6;}
   1252  1.1  christos   >$cache_file
   1253  1.1  christos fi
   1254  1.1  christos 
   1255  1.1  christos # Check that the precious variables saved in the cache have kept the same
   1256  1.1  christos # value.
   1257  1.1  christos ac_cache_corrupted=false
   1258  1.1  christos for ac_var in `(set) 2>&1 |
   1259  1.1  christos 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
   1260  1.1  christos   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1261  1.1  christos   eval ac_new_set=\$ac_env_${ac_var}_set
   1262  1.1  christos   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
   1263  1.1  christos   eval ac_new_val="\$ac_env_${ac_var}_value"
   1264  1.1  christos   case $ac_old_set,$ac_new_set in
   1265  1.1  christos     set,)
   1266  1.1  christos       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1267  1.1  christos echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1268  1.1  christos       ac_cache_corrupted=: ;;
   1269  1.1  christos     ,set)
   1270  1.1  christos       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1271  1.1  christos echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1272  1.1  christos       ac_cache_corrupted=: ;;
   1273  1.1  christos     ,);;
   1274  1.1  christos     *)
   1275  1.1  christos       if test "x$ac_old_val" != "x$ac_new_val"; then
   1276  1.1  christos 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1277  1.1  christos echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1278  1.1  christos 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1279  1.1  christos echo "$as_me:   former value:  $ac_old_val" >&2;}
   1280  1.1  christos 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1281  1.1  christos echo "$as_me:   current value: $ac_new_val" >&2;}
   1282  1.1  christos 	ac_cache_corrupted=:
   1283  1.1  christos       fi;;
   1284  1.1  christos   esac
   1285  1.1  christos   # Pass precious variables to config.status.
   1286  1.1  christos   if test "$ac_new_set" = set; then
   1287  1.1  christos     case $ac_new_val in
   1288  1.1  christos     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1289  1.1  christos       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1290  1.1  christos     *) ac_arg=$ac_var=$ac_new_val ;;
   1291  1.1  christos     esac
   1292  1.1  christos     case " $ac_configure_args " in
   1293  1.1  christos       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1294  1.1  christos       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1295  1.1  christos     esac
   1296  1.1  christos   fi
   1297  1.1  christos done
   1298  1.1  christos if $ac_cache_corrupted; then
   1299  1.1  christos   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1300  1.1  christos echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1301  1.1  christos   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1302  1.1  christos echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1303  1.1  christos    { (exit 1); exit 1; }; }
   1304  1.1  christos fi
   1305  1.1  christos 
   1306  1.1  christos ac_ext=c
   1307  1.1  christos ac_cpp='$CPP $CPPFLAGS'
   1308  1.1  christos ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1309  1.1  christos ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1310  1.1  christos ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1311  1.1  christos 
   1312  1.1  christos 
   1313  1.1  christos 
   1314  1.1  christos 
   1315  1.1  christos 
   1316  1.1  christos 
   1317  1.1  christos 
   1318  1.1  christos 
   1319  1.1  christos 
   1320  1.1  christos 
   1321  1.1  christos 
   1322  1.1  christos 
   1323  1.1  christos 
   1324  1.1  christos 
   1325  1.1  christos 
   1326  1.1  christos 
   1327  1.1  christos 
   1328  1.1  christos 
   1329  1.1  christos 
   1330  1.1  christos 
   1331  1.1  christos 
   1332  1.1  christos 
   1333  1.1  christos 
   1334  1.1  christos 
   1335  1.1  christos 
   1336  1.1  christos 
   1337  1.1  christos 
   1338  1.1  christos 
   1339  1.1  christos am__api_version="1.9"
   1340  1.1  christos ac_aux_dir=
   1341  1.1  christos for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
   1342  1.1  christos   if test -f $ac_dir/install-sh; then
   1343  1.1  christos     ac_aux_dir=$ac_dir
   1344  1.1  christos     ac_install_sh="$ac_aux_dir/install-sh -c"
   1345  1.1  christos     break
   1346  1.1  christos   elif test -f $ac_dir/install.sh; then
   1347  1.1  christos     ac_aux_dir=$ac_dir
   1348  1.1  christos     ac_install_sh="$ac_aux_dir/install.sh -c"
   1349  1.1  christos     break
   1350  1.1  christos   elif test -f $ac_dir/shtool; then
   1351  1.1  christos     ac_aux_dir=$ac_dir
   1352  1.1  christos     ac_install_sh="$ac_aux_dir/shtool install -c"
   1353  1.1  christos     break
   1354  1.1  christos   fi
   1355  1.1  christos done
   1356  1.1  christos if test -z "$ac_aux_dir"; then
   1357  1.1  christos   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
   1358  1.1  christos echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
   1359  1.1  christos    { (exit 1); exit 1; }; }
   1360  1.1  christos fi
   1361  1.1  christos ac_config_guess="$SHELL $ac_aux_dir/config.guess"
   1362  1.1  christos ac_config_sub="$SHELL $ac_aux_dir/config.sub"
   1363  1.1  christos ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   1364  1.1  christos 
   1365  1.1  christos # Find a good install program.  We prefer a C program (faster),
   1366  1.1  christos # so one script is as good as another.  But avoid the broken or
   1367  1.1  christos # incompatible versions:
   1368  1.1  christos # SysV /etc/install, /usr/sbin/install
   1369  1.1  christos # SunOS /usr/etc/install
   1370  1.1  christos # IRIX /sbin/install
   1371  1.1  christos # AIX /bin/install
   1372  1.1  christos # AmigaOS /C/install, which installs bootblocks on floppy discs
   1373  1.1  christos # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   1374  1.1  christos # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   1375  1.1  christos # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   1376  1.1  christos # OS/2's system install, which has a completely different semantic
   1377  1.1  christos # ./install, which can be erroneously created by make from ./install.sh.
   1378  1.1  christos echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   1379  1.1  christos echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   1380  1.1  christos if test -z "$INSTALL"; then
   1381  1.1  christos if test "${ac_cv_path_install+set}" = set; then
   1382  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   1383  1.1  christos else
   1384  1.1  christos   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1385  1.1  christos for as_dir in $PATH
   1386  1.1  christos do
   1387  1.1  christos   IFS=$as_save_IFS
   1388  1.1  christos   test -z "$as_dir" && as_dir=.
   1389  1.1  christos   # Account for people who put trailing slashes in PATH elements.
   1390  1.1  christos case $as_dir/ in
   1391  1.1  christos   ./ | .// | /cC/* | \
   1392  1.1  christos   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   1393  1.1  christos   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   1394  1.1  christos   /usr/ucb/* ) ;;
   1395  1.1  christos   *)
   1396  1.1  christos     # OSF1 and SCO ODT 3.0 have their own names for install.
   1397  1.1  christos     # Don't use installbsd from OSF since it installs stuff as root
   1398  1.1  christos     # by default.
   1399  1.1  christos     for ac_prog in ginstall scoinst install; do
   1400  1.1  christos       for ac_exec_ext in '' $ac_executable_extensions; do
   1401  1.1  christos 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   1402  1.1  christos 	  if test $ac_prog = install &&
   1403  1.1  christos 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1404  1.1  christos 	    # AIX install.  It has an incompatible calling convention.
   1405  1.1  christos 	    :
   1406  1.1  christos 	  elif test $ac_prog = install &&
   1407  1.1  christos 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1408  1.1  christos 	    # program-specific install script used by HP pwplus--don't use.
   1409  1.1  christos 	    :
   1410  1.1  christos 	  else
   1411  1.1  christos 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   1412  1.1  christos 	    break 3
   1413  1.1  christos 	  fi
   1414  1.1  christos 	fi
   1415  1.1  christos       done
   1416  1.1  christos     done
   1417  1.1  christos     ;;
   1418  1.1  christos esac
   1419  1.1  christos done
   1420  1.1  christos 
   1421  1.1  christos 
   1422  1.1  christos fi
   1423  1.1  christos   if test "${ac_cv_path_install+set}" = set; then
   1424  1.1  christos     INSTALL=$ac_cv_path_install
   1425  1.1  christos   else
   1426  1.1  christos     # As a last resort, use the slow shell script.  We don't cache a
   1427  1.1  christos     # path for INSTALL within a source directory, because that will
   1428  1.1  christos     # break other packages using the cache if that directory is
   1429  1.1  christos     # removed, or if the path is relative.
   1430  1.1  christos     INSTALL=$ac_install_sh
   1431  1.1  christos   fi
   1432  1.1  christos fi
   1433  1.1  christos echo "$as_me:$LINENO: result: $INSTALL" >&5
   1434  1.1  christos echo "${ECHO_T}$INSTALL" >&6
   1435  1.1  christos 
   1436  1.1  christos # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   1437  1.1  christos # It thinks the first close brace ends the variable substitution.
   1438  1.1  christos test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   1439  1.1  christos 
   1440  1.1  christos test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   1441  1.1  christos 
   1442  1.1  christos test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   1443  1.1  christos 
   1444  1.1  christos echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   1445  1.1  christos echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
   1446  1.1  christos # Just in case
   1447  1.1  christos sleep 1
   1448  1.1  christos echo timestamp > conftest.file
   1449  1.1  christos # Do `set' in a subshell so we don't clobber the current shell's
   1450  1.1  christos # arguments.  Must try -L first in case configure is actually a
   1451  1.1  christos # symlink; some systems play weird games with the mod time of symlinks
   1452  1.1  christos # (eg FreeBSD returns the mod time of the symlink's containing
   1453  1.1  christos # directory).
   1454  1.1  christos if (
   1455  1.1  christos    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   1456  1.1  christos    if test "$*" = "X"; then
   1457  1.1  christos       # -L didn't work.
   1458  1.1  christos       set X `ls -t $srcdir/configure conftest.file`
   1459  1.1  christos    fi
   1460  1.1  christos    rm -f conftest.file
   1461  1.1  christos    if test "$*" != "X $srcdir/configure conftest.file" \
   1462  1.1  christos       && test "$*" != "X conftest.file $srcdir/configure"; then
   1463  1.1  christos 
   1464  1.1  christos       # If neither matched, then we have a broken ls.  This can happen
   1465  1.1  christos       # if, for instance, CONFIG_SHELL is bash and it inherits a
   1466  1.1  christos       # broken ls alias from the environment.  This has actually
   1467  1.1  christos       # happened.  Such a system could not be considered "sane".
   1468  1.1  christos       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   1469  1.1  christos alias in your environment" >&5
   1470  1.1  christos echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   1471  1.1  christos alias in your environment" >&2;}
   1472  1.1  christos    { (exit 1); exit 1; }; }
   1473  1.1  christos    fi
   1474  1.1  christos 
   1475  1.1  christos    test "$2" = conftest.file
   1476  1.1  christos    )
   1477  1.1  christos then
   1478  1.1  christos    # Ok.
   1479  1.1  christos    :
   1480  1.1  christos else
   1481  1.1  christos    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   1482  1.1  christos Check your system clock" >&5
   1483  1.1  christos echo "$as_me: error: newly created file is older than distributed files!
   1484  1.1  christos Check your system clock" >&2;}
   1485  1.1  christos    { (exit 1); exit 1; }; }
   1486  1.1  christos fi
   1487  1.1  christos echo "$as_me:$LINENO: result: yes" >&5
   1488  1.1  christos echo "${ECHO_T}yes" >&6
   1489  1.1  christos test "$program_prefix" != NONE &&
   1490  1.1  christos   program_transform_name="s,^,$program_prefix,;$program_transform_name"
   1491  1.1  christos # Use a double $ so make ignores it.
   1492  1.1  christos test "$program_suffix" != NONE &&
   1493  1.1  christos   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
   1494  1.1  christos # Double any \ or $.  echo might interpret backslashes.
   1495  1.1  christos # By default was `s,x,x', remove it if useless.
   1496  1.1  christos cat <<\_ACEOF >conftest.sed
   1497  1.1  christos s/[\\$]/&&/g;s/;s,x,x,$//
   1498  1.1  christos _ACEOF
   1499  1.1  christos program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   1500  1.1  christos rm conftest.sed
   1501  1.1  christos 
   1502  1.1  christos # expand $ac_aux_dir to an absolute path
   1503  1.1  christos am_aux_dir=`cd $ac_aux_dir && pwd`
   1504  1.1  christos 
   1505  1.1  christos test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   1506  1.1  christos # Use eval to expand $SHELL
   1507  1.1  christos if eval "$MISSING --run true"; then
   1508  1.1  christos   am_missing_run="$MISSING --run "
   1509  1.1  christos else
   1510  1.1  christos   am_missing_run=
   1511  1.1  christos   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   1512  1.1  christos echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   1513  1.1  christos fi
   1514  1.1  christos 
   1515  1.1  christos if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
   1516  1.1  christos   # We used to keeping the `.' as first argument, in order to
   1517  1.1  christos   # allow $(mkdir_p) to be used without argument.  As in
   1518  1.1  christos   #   $(mkdir_p) $(somedir)
   1519  1.1  christos   # where $(somedir) is conditionally defined.  However this is wrong
   1520  1.1  christos   # for two reasons:
   1521  1.1  christos   #  1. if the package is installed by a user who cannot write `.'
   1522  1.1  christos   #     make install will fail,
   1523  1.1  christos   #  2. the above comment should most certainly read
   1524  1.1  christos   #     $(mkdir_p) $(DESTDIR)$(somedir)
   1525  1.1  christos   #     so it does not work when $(somedir) is undefined and
   1526  1.1  christos   #     $(DESTDIR) is not.
   1527  1.1  christos   #  To support the latter case, we have to write
   1528  1.1  christos   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
   1529  1.1  christos   #  so the `.' trick is pointless.
   1530  1.1  christos   mkdir_p='mkdir -p --'
   1531  1.1  christos else
   1532  1.1  christos   # On NextStep and OpenStep, the `mkdir' command does not
   1533  1.1  christos   # recognize any option.  It will interpret all options as
   1534  1.1  christos   # directories to create, and then abort because `.' already
   1535  1.1  christos   # exists.
   1536  1.1  christos   for d in ./-p ./--version;
   1537  1.1  christos   do
   1538  1.1  christos     test -d $d && rmdir $d
   1539  1.1  christos   done
   1540  1.1  christos   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
   1541  1.1  christos   if test -f "$ac_aux_dir/mkinstalldirs"; then
   1542  1.1  christos     mkdir_p='$(mkinstalldirs)'
   1543  1.1  christos   else
   1544  1.1  christos     mkdir_p='$(install_sh) -d'
   1545  1.1  christos   fi
   1546  1.1  christos fi
   1547  1.1  christos 
   1548  1.1  christos for ac_prog in gawk mawk nawk awk
   1549  1.1  christos do
   1550  1.1  christos   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1551  1.1  christos set dummy $ac_prog; ac_word=$2
   1552  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   1553  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1554  1.1  christos if test "${ac_cv_prog_AWK+set}" = set; then
   1555  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   1556  1.1  christos else
   1557  1.1  christos   if test -n "$AWK"; then
   1558  1.1  christos   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   1559  1.1  christos else
   1560  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1561  1.1  christos for as_dir in $PATH
   1562  1.1  christos do
   1563  1.1  christos   IFS=$as_save_IFS
   1564  1.1  christos   test -z "$as_dir" && as_dir=.
   1565  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   1566  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1567  1.1  christos     ac_cv_prog_AWK="$ac_prog"
   1568  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1569  1.1  christos     break 2
   1570  1.1  christos   fi
   1571  1.1  christos done
   1572  1.1  christos done
   1573  1.1  christos 
   1574  1.1  christos fi
   1575  1.1  christos fi
   1576  1.1  christos AWK=$ac_cv_prog_AWK
   1577  1.1  christos if test -n "$AWK"; then
   1578  1.1  christos   echo "$as_me:$LINENO: result: $AWK" >&5
   1579  1.1  christos echo "${ECHO_T}$AWK" >&6
   1580  1.1  christos else
   1581  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   1582  1.1  christos echo "${ECHO_T}no" >&6
   1583  1.1  christos fi
   1584  1.1  christos 
   1585  1.1  christos   test -n "$AWK" && break
   1586  1.1  christos done
   1587  1.1  christos 
   1588  1.1  christos echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   1589  1.1  christos echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
   1590  1.1  christos set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
   1591  1.1  christos if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
   1592  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   1593  1.1  christos else
   1594  1.1  christos   cat >conftest.make <<\_ACEOF
   1595  1.1  christos all:
   1596  1.1  christos 	@echo 'ac_maketemp="$(MAKE)"'
   1597  1.1  christos _ACEOF
   1598  1.1  christos # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   1599  1.1  christos eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
   1600  1.1  christos if test -n "$ac_maketemp"; then
   1601  1.1  christos   eval ac_cv_prog_make_${ac_make}_set=yes
   1602  1.1  christos else
   1603  1.1  christos   eval ac_cv_prog_make_${ac_make}_set=no
   1604  1.1  christos fi
   1605  1.1  christos rm -f conftest.make
   1606  1.1  christos fi
   1607  1.1  christos if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   1608  1.1  christos   echo "$as_me:$LINENO: result: yes" >&5
   1609  1.1  christos echo "${ECHO_T}yes" >&6
   1610  1.1  christos   SET_MAKE=
   1611  1.1  christos else
   1612  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   1613  1.1  christos echo "${ECHO_T}no" >&6
   1614  1.1  christos   SET_MAKE="MAKE=${MAKE-make}"
   1615  1.1  christos fi
   1616  1.1  christos 
   1617  1.1  christos rm -rf .tst 2>/dev/null
   1618  1.1  christos mkdir .tst 2>/dev/null
   1619  1.1  christos if test -d .tst; then
   1620  1.1  christos   am__leading_dot=.
   1621  1.1  christos else
   1622  1.1  christos   am__leading_dot=_
   1623  1.1  christos fi
   1624  1.1  christos rmdir .tst 2>/dev/null
   1625  1.1  christos 
   1626  1.1  christos # test to see if srcdir already configured
   1627  1.1  christos if test "`cd $srcdir && pwd`" != "`pwd`" &&
   1628  1.1  christos    test -f $srcdir/config.status; then
   1629  1.1  christos   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   1630  1.1  christos echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   1631  1.1  christos    { (exit 1); exit 1; }; }
   1632  1.1  christos fi
   1633  1.1  christos 
   1634  1.1  christos # test whether we have cygpath
   1635  1.1  christos if test -z "$CYGPATH_W"; then
   1636  1.1  christos   if (cygpath --version) >/dev/null 2>/dev/null; then
   1637  1.1  christos     CYGPATH_W='cygpath -w'
   1638  1.1  christos   else
   1639  1.1  christos     CYGPATH_W=echo
   1640  1.1  christos   fi
   1641  1.1  christos fi
   1642  1.1  christos 
   1643  1.1  christos 
   1644  1.1  christos # Define the identity of the package.
   1645  1.1  christos  PACKAGE='flex'
   1646  1.1  christos  VERSION='2.5.35'
   1647  1.1  christos 
   1648  1.1  christos 
   1649  1.1  christos cat >>confdefs.h <<_ACEOF
   1650  1.1  christos #define PACKAGE "$PACKAGE"
   1651  1.1  christos _ACEOF
   1652  1.1  christos 
   1653  1.1  christos 
   1654  1.1  christos cat >>confdefs.h <<_ACEOF
   1655  1.1  christos #define VERSION "$VERSION"
   1656  1.1  christos _ACEOF
   1657  1.1  christos 
   1658  1.1  christos # Some tools Automake needs.
   1659  1.1  christos 
   1660  1.1  christos ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   1661  1.1  christos 
   1662  1.1  christos 
   1663  1.1  christos AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   1664  1.1  christos 
   1665  1.1  christos 
   1666  1.1  christos AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   1667  1.1  christos 
   1668  1.1  christos 
   1669  1.1  christos AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   1670  1.1  christos 
   1671  1.1  christos 
   1672  1.1  christos MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   1673  1.1  christos 
   1674  1.1  christos install_sh=${install_sh-"$am_aux_dir/install-sh"}
   1675  1.1  christos 
   1676  1.1  christos # Installed binaries are usually stripped using `strip' when the user
   1677  1.1  christos # run `make install-strip'.  However `strip' might not be the right
   1678  1.1  christos # tool to use in cross-compilation environments, therefore Automake
   1679  1.1  christos # will honor the `STRIP' environment variable to overrule this program.
   1680  1.1  christos if test "$cross_compiling" != no; then
   1681  1.1  christos   if test -n "$ac_tool_prefix"; then
   1682  1.1  christos   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   1683  1.1  christos set dummy ${ac_tool_prefix}strip; ac_word=$2
   1684  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   1685  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1686  1.1  christos if test "${ac_cv_prog_STRIP+set}" = set; then
   1687  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   1688  1.1  christos else
   1689  1.1  christos   if test -n "$STRIP"; then
   1690  1.1  christos   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   1691  1.1  christos else
   1692  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1693  1.1  christos for as_dir in $PATH
   1694  1.1  christos do
   1695  1.1  christos   IFS=$as_save_IFS
   1696  1.1  christos   test -z "$as_dir" && as_dir=.
   1697  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   1698  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1699  1.1  christos     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   1700  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1701  1.1  christos     break 2
   1702  1.1  christos   fi
   1703  1.1  christos done
   1704  1.1  christos done
   1705  1.1  christos 
   1706  1.1  christos fi
   1707  1.1  christos fi
   1708  1.1  christos STRIP=$ac_cv_prog_STRIP
   1709  1.1  christos if test -n "$STRIP"; then
   1710  1.1  christos   echo "$as_me:$LINENO: result: $STRIP" >&5
   1711  1.1  christos echo "${ECHO_T}$STRIP" >&6
   1712  1.1  christos else
   1713  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   1714  1.1  christos echo "${ECHO_T}no" >&6
   1715  1.1  christos fi
   1716  1.1  christos 
   1717  1.1  christos fi
   1718  1.1  christos if test -z "$ac_cv_prog_STRIP"; then
   1719  1.1  christos   ac_ct_STRIP=$STRIP
   1720  1.1  christos   # Extract the first word of "strip", so it can be a program name with args.
   1721  1.1  christos set dummy strip; ac_word=$2
   1722  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   1723  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1724  1.1  christos if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   1725  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   1726  1.1  christos else
   1727  1.1  christos   if test -n "$ac_ct_STRIP"; then
   1728  1.1  christos   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   1729  1.1  christos else
   1730  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1731  1.1  christos for as_dir in $PATH
   1732  1.1  christos do
   1733  1.1  christos   IFS=$as_save_IFS
   1734  1.1  christos   test -z "$as_dir" && as_dir=.
   1735  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   1736  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1737  1.1  christos     ac_cv_prog_ac_ct_STRIP="strip"
   1738  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1739  1.1  christos     break 2
   1740  1.1  christos   fi
   1741  1.1  christos done
   1742  1.1  christos done
   1743  1.1  christos 
   1744  1.1  christos   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   1745  1.1  christos fi
   1746  1.1  christos fi
   1747  1.1  christos ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   1748  1.1  christos if test -n "$ac_ct_STRIP"; then
   1749  1.1  christos   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   1750  1.1  christos echo "${ECHO_T}$ac_ct_STRIP" >&6
   1751  1.1  christos else
   1752  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   1753  1.1  christos echo "${ECHO_T}no" >&6
   1754  1.1  christos fi
   1755  1.1  christos 
   1756  1.1  christos   STRIP=$ac_ct_STRIP
   1757  1.1  christos else
   1758  1.1  christos   STRIP="$ac_cv_prog_STRIP"
   1759  1.1  christos fi
   1760  1.1  christos 
   1761  1.1  christos fi
   1762  1.1  christos INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
   1763  1.1  christos 
   1764  1.1  christos # We need awk for the "check" target.  The system "awk" is bad on
   1765  1.1  christos # some platforms.
   1766  1.1  christos # Always define AMTAR for backward compatibility.
   1767  1.1  christos 
   1768  1.1  christos AMTAR=${AMTAR-"${am_missing_run}tar"}
   1769  1.1  christos 
   1770  1.1  christos am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   1771  1.1  christos 
   1772  1.1  christos 
   1773  1.1  christos 
   1774  1.1  christos 
   1775  1.1  christos 
   1776  1.1  christos           ac_config_headers="$ac_config_headers config.h:conf.in"
   1777  1.1  christos 
   1778  1.1  christos 
   1779  1.1  christos # checks for programs
   1780  1.1  christos 
   1781  1.1  christos 
   1782  1.1  christos         MKINSTALLDIRS=
   1783  1.1  christos   if test -n "$ac_aux_dir"; then
   1784  1.1  christos     case "$ac_aux_dir" in
   1785  1.1  christos       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   1786  1.1  christos       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   1787  1.1  christos     esac
   1788  1.1  christos   fi
   1789  1.1  christos   if test -z "$MKINSTALLDIRS"; then
   1790  1.1  christos     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   1791  1.1  christos   fi
   1792  1.1  christos 
   1793  1.1  christos 
   1794  1.1  christos 
   1795  1.1  christos   echo "$as_me:$LINENO: checking whether NLS is requested" >&5
   1796  1.1  christos echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
   1797  1.1  christos     # Check whether --enable-nls or --disable-nls was given.
   1798  1.1  christos if test "${enable_nls+set}" = set; then
   1799  1.1  christos   enableval="$enable_nls"
   1800  1.1  christos   USE_NLS=$enableval
   1801  1.1  christos else
   1802  1.1  christos   USE_NLS=yes
   1803  1.1  christos fi;
   1804  1.1  christos   echo "$as_me:$LINENO: result: $USE_NLS" >&5
   1805  1.1  christos echo "${ECHO_T}$USE_NLS" >&6
   1806  1.1  christos 
   1807  1.1  christos 
   1808  1.1  christos 
   1809  1.1  christos 
   1810  1.1  christos 
   1811  1.1  christos 
   1812  1.1  christos # Prepare PATH_SEPARATOR.
   1813  1.1  christos # The user is always right.
   1814  1.1  christos if test "${PATH_SEPARATOR+set}" != set; then
   1815  1.1  christos   echo "#! /bin/sh" >conf$$.sh
   1816  1.1  christos   echo  "exit 0"   >>conf$$.sh
   1817  1.1  christos   chmod +x conf$$.sh
   1818  1.1  christos   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   1819  1.1  christos     PATH_SEPARATOR=';'
   1820  1.1  christos   else
   1821  1.1  christos     PATH_SEPARATOR=:
   1822  1.1  christos   fi
   1823  1.1  christos   rm -f conf$$.sh
   1824  1.1  christos fi
   1825  1.1  christos 
   1826  1.1  christos # Find out how to test for executable files. Don't use a zero-byte file,
   1827  1.1  christos # as systems may use methods other than mode bits to determine executability.
   1828  1.1  christos cat >conf$$.file <<_ASEOF
   1829  1.1  christos #! /bin/sh
   1830  1.1  christos exit 0
   1831  1.1  christos _ASEOF
   1832  1.1  christos chmod +x conf$$.file
   1833  1.1  christos if test -x conf$$.file >/dev/null 2>&1; then
   1834  1.1  christos   ac_executable_p="test -x"
   1835  1.1  christos else
   1836  1.1  christos   ac_executable_p="test -f"
   1837  1.1  christos fi
   1838  1.1  christos rm -f conf$$.file
   1839  1.1  christos 
   1840  1.1  christos # Extract the first word of "msgfmt", so it can be a program name with args.
   1841  1.1  christos set dummy msgfmt; ac_word=$2
   1842  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   1843  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1844  1.1  christos if test "${ac_cv_path_MSGFMT+set}" = set; then
   1845  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   1846  1.1  christos else
   1847  1.1  christos   case "$MSGFMT" in
   1848  1.1  christos   [\\/]* | ?:[\\/]*)
   1849  1.1  christos     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   1850  1.1  christos     ;;
   1851  1.1  christos   *)
   1852  1.1  christos     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   1853  1.1  christos     for ac_dir in $PATH; do
   1854  1.1  christos       IFS="$ac_save_IFS"
   1855  1.1  christos       test -z "$ac_dir" && ac_dir=.
   1856  1.1  christos       for ac_exec_ext in '' $ac_executable_extensions; do
   1857  1.1  christos         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   1858  1.1  christos           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   1859  1.1  christos      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   1860  1.1  christos             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   1861  1.1  christos             break 2
   1862  1.1  christos           fi
   1863  1.1  christos         fi
   1864  1.1  christos       done
   1865  1.1  christos     done
   1866  1.1  christos     IFS="$ac_save_IFS"
   1867  1.1  christos   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   1868  1.1  christos     ;;
   1869  1.1  christos esac
   1870  1.1  christos fi
   1871  1.1  christos MSGFMT="$ac_cv_path_MSGFMT"
   1872  1.1  christos if test "$MSGFMT" != ":"; then
   1873  1.1  christos   echo "$as_me:$LINENO: result: $MSGFMT" >&5
   1874  1.1  christos echo "${ECHO_T}$MSGFMT" >&6
   1875  1.1  christos else
   1876  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   1877  1.1  christos echo "${ECHO_T}no" >&6
   1878  1.1  christos fi
   1879  1.1  christos 
   1880  1.1  christos   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   1881  1.1  christos set dummy gmsgfmt; ac_word=$2
   1882  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   1883  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1884  1.1  christos if test "${ac_cv_path_GMSGFMT+set}" = set; then
   1885  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   1886  1.1  christos else
   1887  1.1  christos   case $GMSGFMT in
   1888  1.1  christos   [\\/]* | ?:[\\/]*)
   1889  1.1  christos   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   1890  1.1  christos   ;;
   1891  1.1  christos   *)
   1892  1.1  christos   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1893  1.1  christos for as_dir in $PATH
   1894  1.1  christos do
   1895  1.1  christos   IFS=$as_save_IFS
   1896  1.1  christos   test -z "$as_dir" && as_dir=.
   1897  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   1898  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1899  1.1  christos     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   1900  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1901  1.1  christos     break 2
   1902  1.1  christos   fi
   1903  1.1  christos done
   1904  1.1  christos done
   1905  1.1  christos 
   1906  1.1  christos   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   1907  1.1  christos   ;;
   1908  1.1  christos esac
   1909  1.1  christos fi
   1910  1.1  christos GMSGFMT=$ac_cv_path_GMSGFMT
   1911  1.1  christos 
   1912  1.1  christos if test -n "$GMSGFMT"; then
   1913  1.1  christos   echo "$as_me:$LINENO: result: $GMSGFMT" >&5
   1914  1.1  christos echo "${ECHO_T}$GMSGFMT" >&6
   1915  1.1  christos else
   1916  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   1917  1.1  christos echo "${ECHO_T}no" >&6
   1918  1.1  christos fi
   1919  1.1  christos 
   1920  1.1  christos 
   1921  1.1  christos 
   1922  1.1  christos # Prepare PATH_SEPARATOR.
   1923  1.1  christos # The user is always right.
   1924  1.1  christos if test "${PATH_SEPARATOR+set}" != set; then
   1925  1.1  christos   echo "#! /bin/sh" >conf$$.sh
   1926  1.1  christos   echo  "exit 0"   >>conf$$.sh
   1927  1.1  christos   chmod +x conf$$.sh
   1928  1.1  christos   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   1929  1.1  christos     PATH_SEPARATOR=';'
   1930  1.1  christos   else
   1931  1.1  christos     PATH_SEPARATOR=:
   1932  1.1  christos   fi
   1933  1.1  christos   rm -f conf$$.sh
   1934  1.1  christos fi
   1935  1.1  christos 
   1936  1.1  christos # Find out how to test for executable files. Don't use a zero-byte file,
   1937  1.1  christos # as systems may use methods other than mode bits to determine executability.
   1938  1.1  christos cat >conf$$.file <<_ASEOF
   1939  1.1  christos #! /bin/sh
   1940  1.1  christos exit 0
   1941  1.1  christos _ASEOF
   1942  1.1  christos chmod +x conf$$.file
   1943  1.1  christos if test -x conf$$.file >/dev/null 2>&1; then
   1944  1.1  christos   ac_executable_p="test -x"
   1945  1.1  christos else
   1946  1.1  christos   ac_executable_p="test -f"
   1947  1.1  christos fi
   1948  1.1  christos rm -f conf$$.file
   1949  1.1  christos 
   1950  1.1  christos # Extract the first word of "xgettext", so it can be a program name with args.
   1951  1.1  christos set dummy xgettext; ac_word=$2
   1952  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   1953  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1954  1.1  christos if test "${ac_cv_path_XGETTEXT+set}" = set; then
   1955  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   1956  1.1  christos else
   1957  1.1  christos   case "$XGETTEXT" in
   1958  1.1  christos   [\\/]* | ?:[\\/]*)
   1959  1.1  christos     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   1960  1.1  christos     ;;
   1961  1.1  christos   *)
   1962  1.1  christos     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   1963  1.1  christos     for ac_dir in $PATH; do
   1964  1.1  christos       IFS="$ac_save_IFS"
   1965  1.1  christos       test -z "$ac_dir" && ac_dir=.
   1966  1.1  christos       for ac_exec_ext in '' $ac_executable_extensions; do
   1967  1.1  christos         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   1968  1.1  christos           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   1969  1.1  christos      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   1970  1.1  christos             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   1971  1.1  christos             break 2
   1972  1.1  christos           fi
   1973  1.1  christos         fi
   1974  1.1  christos       done
   1975  1.1  christos     done
   1976  1.1  christos     IFS="$ac_save_IFS"
   1977  1.1  christos   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   1978  1.1  christos     ;;
   1979  1.1  christos esac
   1980  1.1  christos fi
   1981  1.1  christos XGETTEXT="$ac_cv_path_XGETTEXT"
   1982  1.1  christos if test "$XGETTEXT" != ":"; then
   1983  1.1  christos   echo "$as_me:$LINENO: result: $XGETTEXT" >&5
   1984  1.1  christos echo "${ECHO_T}$XGETTEXT" >&6
   1985  1.1  christos else
   1986  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   1987  1.1  christos echo "${ECHO_T}no" >&6
   1988  1.1  christos fi
   1989  1.1  christos 
   1990  1.1  christos     rm -f messages.po
   1991  1.1  christos 
   1992  1.1  christos 
   1993  1.1  christos # Prepare PATH_SEPARATOR.
   1994  1.1  christos # The user is always right.
   1995  1.1  christos if test "${PATH_SEPARATOR+set}" != set; then
   1996  1.1  christos   echo "#! /bin/sh" >conf$$.sh
   1997  1.1  christos   echo  "exit 0"   >>conf$$.sh
   1998  1.1  christos   chmod +x conf$$.sh
   1999  1.1  christos   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   2000  1.1  christos     PATH_SEPARATOR=';'
   2001  1.1  christos   else
   2002  1.1  christos     PATH_SEPARATOR=:
   2003  1.1  christos   fi
   2004  1.1  christos   rm -f conf$$.sh
   2005  1.1  christos fi
   2006  1.1  christos 
   2007  1.1  christos # Find out how to test for executable files. Don't use a zero-byte file,
   2008  1.1  christos # as systems may use methods other than mode bits to determine executability.
   2009  1.1  christos cat >conf$$.file <<_ASEOF
   2010  1.1  christos #! /bin/sh
   2011  1.1  christos exit 0
   2012  1.1  christos _ASEOF
   2013  1.1  christos chmod +x conf$$.file
   2014  1.1  christos if test -x conf$$.file >/dev/null 2>&1; then
   2015  1.1  christos   ac_executable_p="test -x"
   2016  1.1  christos else
   2017  1.1  christos   ac_executable_p="test -f"
   2018  1.1  christos fi
   2019  1.1  christos rm -f conf$$.file
   2020  1.1  christos 
   2021  1.1  christos # Extract the first word of "msgmerge", so it can be a program name with args.
   2022  1.1  christos set dummy msgmerge; ac_word=$2
   2023  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   2024  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2025  1.1  christos if test "${ac_cv_path_MSGMERGE+set}" = set; then
   2026  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2027  1.1  christos else
   2028  1.1  christos   case "$MSGMERGE" in
   2029  1.1  christos   [\\/]* | ?:[\\/]*)
   2030  1.1  christos     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   2031  1.1  christos     ;;
   2032  1.1  christos   *)
   2033  1.1  christos     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   2034  1.1  christos     for ac_dir in $PATH; do
   2035  1.1  christos       IFS="$ac_save_IFS"
   2036  1.1  christos       test -z "$ac_dir" && ac_dir=.
   2037  1.1  christos       for ac_exec_ext in '' $ac_executable_extensions; do
   2038  1.1  christos         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   2039  1.1  christos           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   2040  1.1  christos             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   2041  1.1  christos             break 2
   2042  1.1  christos           fi
   2043  1.1  christos         fi
   2044  1.1  christos       done
   2045  1.1  christos     done
   2046  1.1  christos     IFS="$ac_save_IFS"
   2047  1.1  christos   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   2048  1.1  christos     ;;
   2049  1.1  christos esac
   2050  1.1  christos fi
   2051  1.1  christos MSGMERGE="$ac_cv_path_MSGMERGE"
   2052  1.1  christos if test "$MSGMERGE" != ":"; then
   2053  1.1  christos   echo "$as_me:$LINENO: result: $MSGMERGE" >&5
   2054  1.1  christos echo "${ECHO_T}$MSGMERGE" >&6
   2055  1.1  christos else
   2056  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   2057  1.1  christos echo "${ECHO_T}no" >&6
   2058  1.1  christos fi
   2059  1.1  christos 
   2060  1.1  christos 
   2061  1.1  christos       if test "$GMSGFMT" != ":"; then
   2062  1.1  christos             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   2063  1.1  christos        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   2064  1.1  christos       : ;
   2065  1.1  christos     else
   2066  1.1  christos       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   2067  1.1  christos       echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   2068  1.1  christos echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
   2069  1.1  christos       GMSGFMT=":"
   2070  1.1  christos     fi
   2071  1.1  christos   fi
   2072  1.1  christos 
   2073  1.1  christos       if test "$XGETTEXT" != ":"; then
   2074  1.1  christos             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   2075  1.1  christos        (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   2076  1.1  christos       : ;
   2077  1.1  christos     else
   2078  1.1  christos       echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
   2079  1.1  christos echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
   2080  1.1  christos       XGETTEXT=":"
   2081  1.1  christos     fi
   2082  1.1  christos         rm -f messages.po
   2083  1.1  christos   fi
   2084  1.1  christos 
   2085  1.1  christos             ac_config_commands="$ac_config_commands default-1"
   2086  1.1  christos 
   2087  1.1  christos 
   2088  1.1  christos 
   2089  1.1  christos       if test "X$prefix" = "XNONE"; then
   2090  1.1  christos     acl_final_prefix="$ac_default_prefix"
   2091  1.1  christos   else
   2092  1.1  christos     acl_final_prefix="$prefix"
   2093  1.1  christos   fi
   2094  1.1  christos   if test "X$exec_prefix" = "XNONE"; then
   2095  1.1  christos     acl_final_exec_prefix='${prefix}'
   2096  1.1  christos   else
   2097  1.1  christos     acl_final_exec_prefix="$exec_prefix"
   2098  1.1  christos   fi
   2099  1.1  christos   acl_save_prefix="$prefix"
   2100  1.1  christos   prefix="$acl_final_prefix"
   2101  1.1  christos   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   2102  1.1  christos   prefix="$acl_save_prefix"
   2103  1.1  christos 
   2104  1.1  christos DEPDIR="${am__leading_dot}deps"
   2105  1.1  christos 
   2106  1.1  christos           ac_config_commands="$ac_config_commands depfiles"
   2107  1.1  christos 
   2108  1.1  christos 
   2109  1.1  christos am_make=${MAKE-make}
   2110  1.1  christos cat > confinc << 'END'
   2111  1.1  christos am__doit:
   2112  1.1  christos 	@echo done
   2113  1.1  christos .PHONY: am__doit
   2114  1.1  christos END
   2115  1.1  christos # If we don't find an include directive, just comment out the code.
   2116  1.1  christos echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2117  1.1  christos echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
   2118  1.1  christos am__include="#"
   2119  1.1  christos am__quote=
   2120  1.1  christos _am_result=none
   2121  1.1  christos # First try GNU make style include.
   2122  1.1  christos echo "include confinc" > confmf
   2123  1.1  christos # We grep out `Entering directory' and `Leaving directory'
   2124  1.1  christos # messages which can occur if `w' ends up in MAKEFLAGS.
   2125  1.1  christos # In particular we don't look at `^make:' because GNU make might
   2126  1.1  christos # be invoked under some other name (usually "gmake"), in which
   2127  1.1  christos # case it prints its new name instead of `make'.
   2128  1.1  christos if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2129  1.1  christos    am__include=include
   2130  1.1  christos    am__quote=
   2131  1.1  christos    _am_result=GNU
   2132  1.1  christos fi
   2133  1.1  christos # Now try BSD make style include.
   2134  1.1  christos if test "$am__include" = "#"; then
   2135  1.1  christos    echo '.include "confinc"' > confmf
   2136  1.1  christos    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2137  1.1  christos       am__include=.include
   2138  1.1  christos       am__quote="\""
   2139  1.1  christos       _am_result=BSD
   2140  1.1  christos    fi
   2141  1.1  christos fi
   2142  1.1  christos 
   2143  1.1  christos 
   2144  1.1  christos echo "$as_me:$LINENO: result: $_am_result" >&5
   2145  1.1  christos echo "${ECHO_T}$_am_result" >&6
   2146  1.1  christos rm -f confinc confmf
   2147  1.1  christos 
   2148  1.1  christos # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
   2149  1.1  christos if test "${enable_dependency_tracking+set}" = set; then
   2150  1.1  christos   enableval="$enable_dependency_tracking"
   2151  1.1  christos 
   2152  1.1  christos fi;
   2153  1.1  christos if test "x$enable_dependency_tracking" != xno; then
   2154  1.1  christos   am_depcomp="$ac_aux_dir/depcomp"
   2155  1.1  christos   AMDEPBACKSLASH='\'
   2156  1.1  christos fi
   2157  1.1  christos 
   2158  1.1  christos 
   2159  1.1  christos if test "x$enable_dependency_tracking" != xno; then
   2160  1.1  christos   AMDEP_TRUE=
   2161  1.1  christos   AMDEP_FALSE='#'
   2162  1.1  christos else
   2163  1.1  christos   AMDEP_TRUE='#'
   2164  1.1  christos   AMDEP_FALSE=
   2165  1.1  christos fi
   2166  1.1  christos 
   2167  1.1  christos 
   2168  1.1  christos 
   2169  1.1  christos ac_ext=c
   2170  1.1  christos ac_cpp='$CPP $CPPFLAGS'
   2171  1.1  christos ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2172  1.1  christos ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2173  1.1  christos ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2174  1.1  christos if test -n "$ac_tool_prefix"; then
   2175  1.1  christos   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2176  1.1  christos set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2177  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   2178  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2179  1.1  christos if test "${ac_cv_prog_CC+set}" = set; then
   2180  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2181  1.1  christos else
   2182  1.1  christos   if test -n "$CC"; then
   2183  1.1  christos   ac_cv_prog_CC="$CC" # Let the user override the test.
   2184  1.1  christos else
   2185  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2186  1.1  christos for as_dir in $PATH
   2187  1.1  christos do
   2188  1.1  christos   IFS=$as_save_IFS
   2189  1.1  christos   test -z "$as_dir" && as_dir=.
   2190  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2191  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2192  1.1  christos     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2193  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2194  1.1  christos     break 2
   2195  1.1  christos   fi
   2196  1.1  christos done
   2197  1.1  christos done
   2198  1.1  christos 
   2199  1.1  christos fi
   2200  1.1  christos fi
   2201  1.1  christos CC=$ac_cv_prog_CC
   2202  1.1  christos if test -n "$CC"; then
   2203  1.1  christos   echo "$as_me:$LINENO: result: $CC" >&5
   2204  1.1  christos echo "${ECHO_T}$CC" >&6
   2205  1.1  christos else
   2206  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   2207  1.1  christos echo "${ECHO_T}no" >&6
   2208  1.1  christos fi
   2209  1.1  christos 
   2210  1.1  christos fi
   2211  1.1  christos if test -z "$ac_cv_prog_CC"; then
   2212  1.1  christos   ac_ct_CC=$CC
   2213  1.1  christos   # Extract the first word of "gcc", so it can be a program name with args.
   2214  1.1  christos set dummy gcc; ac_word=$2
   2215  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   2216  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2217  1.1  christos if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2218  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2219  1.1  christos else
   2220  1.1  christos   if test -n "$ac_ct_CC"; then
   2221  1.1  christos   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2222  1.1  christos else
   2223  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2224  1.1  christos for as_dir in $PATH
   2225  1.1  christos do
   2226  1.1  christos   IFS=$as_save_IFS
   2227  1.1  christos   test -z "$as_dir" && as_dir=.
   2228  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2229  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2230  1.1  christos     ac_cv_prog_ac_ct_CC="gcc"
   2231  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2232  1.1  christos     break 2
   2233  1.1  christos   fi
   2234  1.1  christos done
   2235  1.1  christos done
   2236  1.1  christos 
   2237  1.1  christos fi
   2238  1.1  christos fi
   2239  1.1  christos ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2240  1.1  christos if test -n "$ac_ct_CC"; then
   2241  1.1  christos   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2242  1.1  christos echo "${ECHO_T}$ac_ct_CC" >&6
   2243  1.1  christos else
   2244  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   2245  1.1  christos echo "${ECHO_T}no" >&6
   2246  1.1  christos fi
   2247  1.1  christos 
   2248  1.1  christos   CC=$ac_ct_CC
   2249  1.1  christos else
   2250  1.1  christos   CC="$ac_cv_prog_CC"
   2251  1.1  christos fi
   2252  1.1  christos 
   2253  1.1  christos if test -z "$CC"; then
   2254  1.1  christos   if test -n "$ac_tool_prefix"; then
   2255  1.1  christos   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2256  1.1  christos set dummy ${ac_tool_prefix}cc; ac_word=$2
   2257  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   2258  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2259  1.1  christos if test "${ac_cv_prog_CC+set}" = set; then
   2260  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2261  1.1  christos else
   2262  1.1  christos   if test -n "$CC"; then
   2263  1.1  christos   ac_cv_prog_CC="$CC" # Let the user override the test.
   2264  1.1  christos else
   2265  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2266  1.1  christos for as_dir in $PATH
   2267  1.1  christos do
   2268  1.1  christos   IFS=$as_save_IFS
   2269  1.1  christos   test -z "$as_dir" && as_dir=.
   2270  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2271  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2272  1.1  christos     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2273  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2274  1.1  christos     break 2
   2275  1.1  christos   fi
   2276  1.1  christos done
   2277  1.1  christos done
   2278  1.1  christos 
   2279  1.1  christos fi
   2280  1.1  christos fi
   2281  1.1  christos CC=$ac_cv_prog_CC
   2282  1.1  christos if test -n "$CC"; then
   2283  1.1  christos   echo "$as_me:$LINENO: result: $CC" >&5
   2284  1.1  christos echo "${ECHO_T}$CC" >&6
   2285  1.1  christos else
   2286  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   2287  1.1  christos echo "${ECHO_T}no" >&6
   2288  1.1  christos fi
   2289  1.1  christos 
   2290  1.1  christos fi
   2291  1.1  christos if test -z "$ac_cv_prog_CC"; then
   2292  1.1  christos   ac_ct_CC=$CC
   2293  1.1  christos   # Extract the first word of "cc", so it can be a program name with args.
   2294  1.1  christos set dummy cc; ac_word=$2
   2295  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   2296  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2297  1.1  christos if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2298  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2299  1.1  christos else
   2300  1.1  christos   if test -n "$ac_ct_CC"; then
   2301  1.1  christos   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2302  1.1  christos else
   2303  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2304  1.1  christos for as_dir in $PATH
   2305  1.1  christos do
   2306  1.1  christos   IFS=$as_save_IFS
   2307  1.1  christos   test -z "$as_dir" && as_dir=.
   2308  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2309  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2310  1.1  christos     ac_cv_prog_ac_ct_CC="cc"
   2311  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2312  1.1  christos     break 2
   2313  1.1  christos   fi
   2314  1.1  christos done
   2315  1.1  christos done
   2316  1.1  christos 
   2317  1.1  christos fi
   2318  1.1  christos fi
   2319  1.1  christos ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2320  1.1  christos if test -n "$ac_ct_CC"; then
   2321  1.1  christos   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2322  1.1  christos echo "${ECHO_T}$ac_ct_CC" >&6
   2323  1.1  christos else
   2324  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   2325  1.1  christos echo "${ECHO_T}no" >&6
   2326  1.1  christos fi
   2327  1.1  christos 
   2328  1.1  christos   CC=$ac_ct_CC
   2329  1.1  christos else
   2330  1.1  christos   CC="$ac_cv_prog_CC"
   2331  1.1  christos fi
   2332  1.1  christos 
   2333  1.1  christos fi
   2334  1.1  christos if test -z "$CC"; then
   2335  1.1  christos   # Extract the first word of "cc", so it can be a program name with args.
   2336  1.1  christos set dummy cc; ac_word=$2
   2337  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   2338  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2339  1.1  christos if test "${ac_cv_prog_CC+set}" = set; then
   2340  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2341  1.1  christos else
   2342  1.1  christos   if test -n "$CC"; then
   2343  1.1  christos   ac_cv_prog_CC="$CC" # Let the user override the test.
   2344  1.1  christos else
   2345  1.1  christos   ac_prog_rejected=no
   2346  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2347  1.1  christos for as_dir in $PATH
   2348  1.1  christos do
   2349  1.1  christos   IFS=$as_save_IFS
   2350  1.1  christos   test -z "$as_dir" && as_dir=.
   2351  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2352  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2353  1.1  christos     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2354  1.1  christos        ac_prog_rejected=yes
   2355  1.1  christos        continue
   2356  1.1  christos      fi
   2357  1.1  christos     ac_cv_prog_CC="cc"
   2358  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2359  1.1  christos     break 2
   2360  1.1  christos   fi
   2361  1.1  christos done
   2362  1.1  christos done
   2363  1.1  christos 
   2364  1.1  christos if test $ac_prog_rejected = yes; then
   2365  1.1  christos   # We found a bogon in the path, so make sure we never use it.
   2366  1.1  christos   set dummy $ac_cv_prog_CC
   2367  1.1  christos   shift
   2368  1.1  christos   if test $# != 0; then
   2369  1.1  christos     # We chose a different compiler from the bogus one.
   2370  1.1  christos     # However, it has the same basename, so the bogon will be chosen
   2371  1.1  christos     # first if we set CC to just the basename; use the full file name.
   2372  1.1  christos     shift
   2373  1.1  christos     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2374  1.1  christos   fi
   2375  1.1  christos fi
   2376  1.1  christos fi
   2377  1.1  christos fi
   2378  1.1  christos CC=$ac_cv_prog_CC
   2379  1.1  christos if test -n "$CC"; then
   2380  1.1  christos   echo "$as_me:$LINENO: result: $CC" >&5
   2381  1.1  christos echo "${ECHO_T}$CC" >&6
   2382  1.1  christos else
   2383  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   2384  1.1  christos echo "${ECHO_T}no" >&6
   2385  1.1  christos fi
   2386  1.1  christos 
   2387  1.1  christos fi
   2388  1.1  christos if test -z "$CC"; then
   2389  1.1  christos   if test -n "$ac_tool_prefix"; then
   2390  1.1  christos   for ac_prog in cl
   2391  1.1  christos   do
   2392  1.1  christos     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2393  1.1  christos set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2394  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   2395  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2396  1.1  christos if test "${ac_cv_prog_CC+set}" = set; then
   2397  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2398  1.1  christos else
   2399  1.1  christos   if test -n "$CC"; then
   2400  1.1  christos   ac_cv_prog_CC="$CC" # Let the user override the test.
   2401  1.1  christos else
   2402  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2403  1.1  christos for as_dir in $PATH
   2404  1.1  christos do
   2405  1.1  christos   IFS=$as_save_IFS
   2406  1.1  christos   test -z "$as_dir" && as_dir=.
   2407  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2408  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2409  1.1  christos     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2410  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2411  1.1  christos     break 2
   2412  1.1  christos   fi
   2413  1.1  christos done
   2414  1.1  christos done
   2415  1.1  christos 
   2416  1.1  christos fi
   2417  1.1  christos fi
   2418  1.1  christos CC=$ac_cv_prog_CC
   2419  1.1  christos if test -n "$CC"; then
   2420  1.1  christos   echo "$as_me:$LINENO: result: $CC" >&5
   2421  1.1  christos echo "${ECHO_T}$CC" >&6
   2422  1.1  christos else
   2423  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   2424  1.1  christos echo "${ECHO_T}no" >&6
   2425  1.1  christos fi
   2426  1.1  christos 
   2427  1.1  christos     test -n "$CC" && break
   2428  1.1  christos   done
   2429  1.1  christos fi
   2430  1.1  christos if test -z "$CC"; then
   2431  1.1  christos   ac_ct_CC=$CC
   2432  1.1  christos   for ac_prog in cl
   2433  1.1  christos do
   2434  1.1  christos   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2435  1.1  christos set dummy $ac_prog; ac_word=$2
   2436  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   2437  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2438  1.1  christos if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2439  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2440  1.1  christos else
   2441  1.1  christos   if test -n "$ac_ct_CC"; then
   2442  1.1  christos   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2443  1.1  christos else
   2444  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2445  1.1  christos for as_dir in $PATH
   2446  1.1  christos do
   2447  1.1  christos   IFS=$as_save_IFS
   2448  1.1  christos   test -z "$as_dir" && as_dir=.
   2449  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2450  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2451  1.1  christos     ac_cv_prog_ac_ct_CC="$ac_prog"
   2452  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2453  1.1  christos     break 2
   2454  1.1  christos   fi
   2455  1.1  christos done
   2456  1.1  christos done
   2457  1.1  christos 
   2458  1.1  christos fi
   2459  1.1  christos fi
   2460  1.1  christos ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2461  1.1  christos if test -n "$ac_ct_CC"; then
   2462  1.1  christos   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2463  1.1  christos echo "${ECHO_T}$ac_ct_CC" >&6
   2464  1.1  christos else
   2465  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   2466  1.1  christos echo "${ECHO_T}no" >&6
   2467  1.1  christos fi
   2468  1.1  christos 
   2469  1.1  christos   test -n "$ac_ct_CC" && break
   2470  1.1  christos done
   2471  1.1  christos 
   2472  1.1  christos   CC=$ac_ct_CC
   2473  1.1  christos fi
   2474  1.1  christos 
   2475  1.1  christos fi
   2476  1.1  christos 
   2477  1.1  christos 
   2478  1.1  christos test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2479  1.1  christos See \`config.log' for more details." >&5
   2480  1.1  christos echo "$as_me: error: no acceptable C compiler found in \$PATH
   2481  1.1  christos See \`config.log' for more details." >&2;}
   2482  1.1  christos    { (exit 1); exit 1; }; }
   2483  1.1  christos 
   2484  1.1  christos # Provide some information about the compiler.
   2485  1.1  christos echo "$as_me:$LINENO:" \
   2486  1.1  christos      "checking for C compiler version" >&5
   2487  1.1  christos ac_compiler=`set X $ac_compile; echo $2`
   2488  1.1  christos { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   2489  1.1  christos   (eval $ac_compiler --version </dev/null >&5) 2>&5
   2490  1.1  christos   ac_status=$?
   2491  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2492  1.1  christos   (exit $ac_status); }
   2493  1.1  christos { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   2494  1.1  christos   (eval $ac_compiler -v </dev/null >&5) 2>&5
   2495  1.1  christos   ac_status=$?
   2496  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2497  1.1  christos   (exit $ac_status); }
   2498  1.1  christos { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   2499  1.1  christos   (eval $ac_compiler -V </dev/null >&5) 2>&5
   2500  1.1  christos   ac_status=$?
   2501  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2502  1.1  christos   (exit $ac_status); }
   2503  1.1  christos 
   2504  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   2505  1.1  christos /* confdefs.h.  */
   2506  1.1  christos _ACEOF
   2507  1.1  christos cat confdefs.h >>conftest.$ac_ext
   2508  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   2509  1.1  christos /* end confdefs.h.  */
   2510  1.1  christos 
   2511  1.1  christos int
   2512  1.1  christos main ()
   2513  1.1  christos {
   2514  1.1  christos 
   2515  1.1  christos   ;
   2516  1.1  christos   return 0;
   2517  1.1  christos }
   2518  1.1  christos _ACEOF
   2519  1.1  christos ac_clean_files_save=$ac_clean_files
   2520  1.1  christos ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2521  1.1  christos # Try to create an executable without -o first, disregard a.out.
   2522  1.1  christos # It will help us diagnose broken compilers, and finding out an intuition
   2523  1.1  christos # of exeext.
   2524  1.1  christos echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2525  1.1  christos echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
   2526  1.1  christos ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2527  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
   2528  1.1  christos   (eval $ac_link_default) 2>&5
   2529  1.1  christos   ac_status=$?
   2530  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2531  1.1  christos   (exit $ac_status); }; then
   2532  1.1  christos   # Find the output, starting from the most likely.  This scheme is
   2533  1.1  christos # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   2534  1.1  christos # resort.
   2535  1.1  christos 
   2536  1.1  christos # Be careful to initialize this variable, since it used to be cached.
   2537  1.1  christos # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
   2538  1.1  christos ac_cv_exeext=
   2539  1.1  christos # b.out is created by i960 compilers.
   2540  1.1  christos for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
   2541  1.1  christos do
   2542  1.1  christos   test -f "$ac_file" || continue
   2543  1.1  christos   case $ac_file in
   2544  1.1  christos     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
   2545  1.1  christos 	;;
   2546  1.1  christos     conftest.$ac_ext )
   2547  1.1  christos 	# This is the source file.
   2548  1.1  christos 	;;
   2549  1.1  christos     [ab].out )
   2550  1.1  christos 	# We found the default executable, but exeext='' is most
   2551  1.1  christos 	# certainly right.
   2552  1.1  christos 	break;;
   2553  1.1  christos     *.* )
   2554  1.1  christos 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2555  1.1  christos 	# FIXME: I believe we export ac_cv_exeext for Libtool,
   2556  1.1  christos 	# but it would be cool to find out if it's true.  Does anybody
   2557  1.1  christos 	# maintain Libtool? --akim.
   2558  1.1  christos 	export ac_cv_exeext
   2559  1.1  christos 	break;;
   2560  1.1  christos     * )
   2561  1.1  christos 	break;;
   2562  1.1  christos   esac
   2563  1.1  christos done
   2564  1.1  christos else
   2565  1.1  christos   echo "$as_me: failed program was:" >&5
   2566  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   2567  1.1  christos 
   2568  1.1  christos { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2569  1.1  christos See \`config.log' for more details." >&5
   2570  1.1  christos echo "$as_me: error: C compiler cannot create executables
   2571  1.1  christos See \`config.log' for more details." >&2;}
   2572  1.1  christos    { (exit 77); exit 77; }; }
   2573  1.1  christos fi
   2574  1.1  christos 
   2575  1.1  christos ac_exeext=$ac_cv_exeext
   2576  1.1  christos echo "$as_me:$LINENO: result: $ac_file" >&5
   2577  1.1  christos echo "${ECHO_T}$ac_file" >&6
   2578  1.1  christos 
   2579  1.1  christos # Check the compiler produces executables we can run.  If not, either
   2580  1.1  christos # the compiler is broken, or we cross compile.
   2581  1.1  christos echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2582  1.1  christos echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   2583  1.1  christos # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2584  1.1  christos # If not cross compiling, check that we can run a simple program.
   2585  1.1  christos if test "$cross_compiling" != yes; then
   2586  1.1  christos   if { ac_try='./$ac_file'
   2587  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2588  1.1  christos   (eval $ac_try) 2>&5
   2589  1.1  christos   ac_status=$?
   2590  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2591  1.1  christos   (exit $ac_status); }; }; then
   2592  1.1  christos     cross_compiling=no
   2593  1.1  christos   else
   2594  1.1  christos     if test "$cross_compiling" = maybe; then
   2595  1.1  christos 	cross_compiling=yes
   2596  1.1  christos     else
   2597  1.1  christos 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2598  1.1  christos If you meant to cross compile, use \`--host'.
   2599  1.1  christos See \`config.log' for more details." >&5
   2600  1.1  christos echo "$as_me: error: cannot run C compiled programs.
   2601  1.1  christos If you meant to cross compile, use \`--host'.
   2602  1.1  christos See \`config.log' for more details." >&2;}
   2603  1.1  christos    { (exit 1); exit 1; }; }
   2604  1.1  christos     fi
   2605  1.1  christos   fi
   2606  1.1  christos fi
   2607  1.1  christos echo "$as_me:$LINENO: result: yes" >&5
   2608  1.1  christos echo "${ECHO_T}yes" >&6
   2609  1.1  christos 
   2610  1.1  christos rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2611  1.1  christos ac_clean_files=$ac_clean_files_save
   2612  1.1  christos # Check the compiler produces executables we can run.  If not, either
   2613  1.1  christos # the compiler is broken, or we cross compile.
   2614  1.1  christos echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2615  1.1  christos echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   2616  1.1  christos echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2617  1.1  christos echo "${ECHO_T}$cross_compiling" >&6
   2618  1.1  christos 
   2619  1.1  christos echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2620  1.1  christos echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
   2621  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2622  1.1  christos   (eval $ac_link) 2>&5
   2623  1.1  christos   ac_status=$?
   2624  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2625  1.1  christos   (exit $ac_status); }; then
   2626  1.1  christos   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2627  1.1  christos # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2628  1.1  christos # work properly (i.e., refer to `conftest.exe'), while it won't with
   2629  1.1  christos # `rm'.
   2630  1.1  christos for ac_file in conftest.exe conftest conftest.*; do
   2631  1.1  christos   test -f "$ac_file" || continue
   2632  1.1  christos   case $ac_file in
   2633  1.1  christos     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
   2634  1.1  christos     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2635  1.1  christos 	  export ac_cv_exeext
   2636  1.1  christos 	  break;;
   2637  1.1  christos     * ) break;;
   2638  1.1  christos   esac
   2639  1.1  christos done
   2640  1.1  christos else
   2641  1.1  christos   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2642  1.1  christos See \`config.log' for more details." >&5
   2643  1.1  christos echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2644  1.1  christos See \`config.log' for more details." >&2;}
   2645  1.1  christos    { (exit 1); exit 1; }; }
   2646  1.1  christos fi
   2647  1.1  christos 
   2648  1.1  christos rm -f conftest$ac_cv_exeext
   2649  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2650  1.1  christos echo "${ECHO_T}$ac_cv_exeext" >&6
   2651  1.1  christos 
   2652  1.1  christos rm -f conftest.$ac_ext
   2653  1.1  christos EXEEXT=$ac_cv_exeext
   2654  1.1  christos ac_exeext=$EXEEXT
   2655  1.1  christos echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2656  1.1  christos echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
   2657  1.1  christos if test "${ac_cv_objext+set}" = set; then
   2658  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2659  1.1  christos else
   2660  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   2661  1.1  christos /* confdefs.h.  */
   2662  1.1  christos _ACEOF
   2663  1.1  christos cat confdefs.h >>conftest.$ac_ext
   2664  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   2665  1.1  christos /* end confdefs.h.  */
   2666  1.1  christos 
   2667  1.1  christos int
   2668  1.1  christos main ()
   2669  1.1  christos {
   2670  1.1  christos 
   2671  1.1  christos   ;
   2672  1.1  christos   return 0;
   2673  1.1  christos }
   2674  1.1  christos _ACEOF
   2675  1.1  christos rm -f conftest.o conftest.obj
   2676  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2677  1.1  christos   (eval $ac_compile) 2>&5
   2678  1.1  christos   ac_status=$?
   2679  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2680  1.1  christos   (exit $ac_status); }; then
   2681  1.1  christos   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   2682  1.1  christos   case $ac_file in
   2683  1.1  christos     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
   2684  1.1  christos     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2685  1.1  christos        break;;
   2686  1.1  christos   esac
   2687  1.1  christos done
   2688  1.1  christos else
   2689  1.1  christos   echo "$as_me: failed program was:" >&5
   2690  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   2691  1.1  christos 
   2692  1.1  christos { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2693  1.1  christos See \`config.log' for more details." >&5
   2694  1.1  christos echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2695  1.1  christos See \`config.log' for more details." >&2;}
   2696  1.1  christos    { (exit 1); exit 1; }; }
   2697  1.1  christos fi
   2698  1.1  christos 
   2699  1.1  christos rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2700  1.1  christos fi
   2701  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2702  1.1  christos echo "${ECHO_T}$ac_cv_objext" >&6
   2703  1.1  christos OBJEXT=$ac_cv_objext
   2704  1.1  christos ac_objext=$OBJEXT
   2705  1.1  christos echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2706  1.1  christos echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   2707  1.1  christos if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2708  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2709  1.1  christos else
   2710  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   2711  1.1  christos /* confdefs.h.  */
   2712  1.1  christos _ACEOF
   2713  1.1  christos cat confdefs.h >>conftest.$ac_ext
   2714  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   2715  1.1  christos /* end confdefs.h.  */
   2716  1.1  christos 
   2717  1.1  christos int
   2718  1.1  christos main ()
   2719  1.1  christos {
   2720  1.1  christos #ifndef __GNUC__
   2721  1.1  christos        choke me
   2722  1.1  christos #endif
   2723  1.1  christos 
   2724  1.1  christos   ;
   2725  1.1  christos   return 0;
   2726  1.1  christos }
   2727  1.1  christos _ACEOF
   2728  1.1  christos rm -f conftest.$ac_objext
   2729  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2730  1.1  christos   (eval $ac_compile) 2>conftest.er1
   2731  1.1  christos   ac_status=$?
   2732  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   2733  1.1  christos   rm -f conftest.er1
   2734  1.1  christos   cat conftest.err >&5
   2735  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2736  1.1  christos   (exit $ac_status); } &&
   2737  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2738  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2739  1.1  christos   (eval $ac_try) 2>&5
   2740  1.1  christos   ac_status=$?
   2741  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2742  1.1  christos   (exit $ac_status); }; } &&
   2743  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   2744  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2745  1.1  christos   (eval $ac_try) 2>&5
   2746  1.1  christos   ac_status=$?
   2747  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2748  1.1  christos   (exit $ac_status); }; }; then
   2749  1.1  christos   ac_compiler_gnu=yes
   2750  1.1  christos else
   2751  1.1  christos   echo "$as_me: failed program was:" >&5
   2752  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   2753  1.1  christos 
   2754  1.1  christos ac_compiler_gnu=no
   2755  1.1  christos fi
   2756  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2757  1.1  christos ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2758  1.1  christos 
   2759  1.1  christos fi
   2760  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2761  1.1  christos echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   2762  1.1  christos GCC=`test $ac_compiler_gnu = yes && echo yes`
   2763  1.1  christos ac_test_CFLAGS=${CFLAGS+set}
   2764  1.1  christos ac_save_CFLAGS=$CFLAGS
   2765  1.1  christos CFLAGS="-g"
   2766  1.1  christos echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2767  1.1  christos echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   2768  1.1  christos if test "${ac_cv_prog_cc_g+set}" = set; then
   2769  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2770  1.1  christos else
   2771  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   2772  1.1  christos /* confdefs.h.  */
   2773  1.1  christos _ACEOF
   2774  1.1  christos cat confdefs.h >>conftest.$ac_ext
   2775  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   2776  1.1  christos /* end confdefs.h.  */
   2777  1.1  christos 
   2778  1.1  christos int
   2779  1.1  christos main ()
   2780  1.1  christos {
   2781  1.1  christos 
   2782  1.1  christos   ;
   2783  1.1  christos   return 0;
   2784  1.1  christos }
   2785  1.1  christos _ACEOF
   2786  1.1  christos rm -f conftest.$ac_objext
   2787  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2788  1.1  christos   (eval $ac_compile) 2>conftest.er1
   2789  1.1  christos   ac_status=$?
   2790  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   2791  1.1  christos   rm -f conftest.er1
   2792  1.1  christos   cat conftest.err >&5
   2793  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2794  1.1  christos   (exit $ac_status); } &&
   2795  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2796  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2797  1.1  christos   (eval $ac_try) 2>&5
   2798  1.1  christos   ac_status=$?
   2799  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2800  1.1  christos   (exit $ac_status); }; } &&
   2801  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   2802  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2803  1.1  christos   (eval $ac_try) 2>&5
   2804  1.1  christos   ac_status=$?
   2805  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2806  1.1  christos   (exit $ac_status); }; }; then
   2807  1.1  christos   ac_cv_prog_cc_g=yes
   2808  1.1  christos else
   2809  1.1  christos   echo "$as_me: failed program was:" >&5
   2810  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   2811  1.1  christos 
   2812  1.1  christos ac_cv_prog_cc_g=no
   2813  1.1  christos fi
   2814  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2815  1.1  christos fi
   2816  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   2817  1.1  christos echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   2818  1.1  christos if test "$ac_test_CFLAGS" = set; then
   2819  1.1  christos   CFLAGS=$ac_save_CFLAGS
   2820  1.1  christos elif test $ac_cv_prog_cc_g = yes; then
   2821  1.1  christos   if test "$GCC" = yes; then
   2822  1.1  christos     CFLAGS="-g -O2"
   2823  1.1  christos   else
   2824  1.1  christos     CFLAGS="-g"
   2825  1.1  christos   fi
   2826  1.1  christos else
   2827  1.1  christos   if test "$GCC" = yes; then
   2828  1.1  christos     CFLAGS="-O2"
   2829  1.1  christos   else
   2830  1.1  christos     CFLAGS=
   2831  1.1  christos   fi
   2832  1.1  christos fi
   2833  1.1  christos echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   2834  1.1  christos echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   2835  1.1  christos if test "${ac_cv_prog_cc_stdc+set}" = set; then
   2836  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2837  1.1  christos else
   2838  1.1  christos   ac_cv_prog_cc_stdc=no
   2839  1.1  christos ac_save_CC=$CC
   2840  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   2841  1.1  christos /* confdefs.h.  */
   2842  1.1  christos _ACEOF
   2843  1.1  christos cat confdefs.h >>conftest.$ac_ext
   2844  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   2845  1.1  christos /* end confdefs.h.  */
   2846  1.1  christos #include <stdarg.h>
   2847  1.1  christos #include <stdio.h>
   2848  1.1  christos #include <sys/types.h>
   2849  1.1  christos #include <sys/stat.h>
   2850  1.1  christos /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2851  1.1  christos struct buf { int x; };
   2852  1.1  christos FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2853  1.1  christos static char *e (p, i)
   2854  1.1  christos      char **p;
   2855  1.1  christos      int i;
   2856  1.1  christos {
   2857  1.1  christos   return p[i];
   2858  1.1  christos }
   2859  1.1  christos static char *f (char * (*g) (char **, int), char **p, ...)
   2860  1.1  christos {
   2861  1.1  christos   char *s;
   2862  1.1  christos   va_list v;
   2863  1.1  christos   va_start (v,p);
   2864  1.1  christos   s = g (p, va_arg (v,int));
   2865  1.1  christos   va_end (v);
   2866  1.1  christos   return s;
   2867  1.1  christos }
   2868  1.1  christos 
   2869  1.1  christos /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2870  1.1  christos    function prototypes and stuff, but not '\xHH' hex character constants.
   2871  1.1  christos    These don't provoke an error unfortunately, instead are silently treated
   2872  1.1  christos    as 'x'.  The following induces an error, until -std1 is added to get
   2873  1.1  christos    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2874  1.1  christos    array size at least.  It's necessary to write '\x00'==0 to get something
   2875  1.1  christos    that's true only with -std1.  */
   2876  1.1  christos int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2877  1.1  christos 
   2878  1.1  christos int test (int i, double x);
   2879  1.1  christos struct s1 {int (*f) (int a);};
   2880  1.1  christos struct s2 {int (*f) (double a);};
   2881  1.1  christos int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2882  1.1  christos int argc;
   2883  1.1  christos char **argv;
   2884  1.1  christos int
   2885  1.1  christos main ()
   2886  1.1  christos {
   2887  1.1  christos return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2888  1.1  christos   ;
   2889  1.1  christos   return 0;
   2890  1.1  christos }
   2891  1.1  christos _ACEOF
   2892  1.1  christos # Don't try gcc -ansi; that turns off useful extensions and
   2893  1.1  christos # breaks some systems' header files.
   2894  1.1  christos # AIX			-qlanglvl=ansi
   2895  1.1  christos # Ultrix and OSF/1	-std1
   2896  1.1  christos # HP-UX 10.20 and later	-Ae
   2897  1.1  christos # HP-UX older versions	-Aa -D_HPUX_SOURCE
   2898  1.1  christos # SVR4			-Xc -D__EXTENSIONS__
   2899  1.1  christos for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2900  1.1  christos do
   2901  1.1  christos   CC="$ac_save_CC $ac_arg"
   2902  1.1  christos   rm -f conftest.$ac_objext
   2903  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2904  1.1  christos   (eval $ac_compile) 2>conftest.er1
   2905  1.1  christos   ac_status=$?
   2906  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   2907  1.1  christos   rm -f conftest.er1
   2908  1.1  christos   cat conftest.err >&5
   2909  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2910  1.1  christos   (exit $ac_status); } &&
   2911  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2912  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2913  1.1  christos   (eval $ac_try) 2>&5
   2914  1.1  christos   ac_status=$?
   2915  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2916  1.1  christos   (exit $ac_status); }; } &&
   2917  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   2918  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2919  1.1  christos   (eval $ac_try) 2>&5
   2920  1.1  christos   ac_status=$?
   2921  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2922  1.1  christos   (exit $ac_status); }; }; then
   2923  1.1  christos   ac_cv_prog_cc_stdc=$ac_arg
   2924  1.1  christos break
   2925  1.1  christos else
   2926  1.1  christos   echo "$as_me: failed program was:" >&5
   2927  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   2928  1.1  christos 
   2929  1.1  christos fi
   2930  1.1  christos rm -f conftest.err conftest.$ac_objext
   2931  1.1  christos done
   2932  1.1  christos rm -f conftest.$ac_ext conftest.$ac_objext
   2933  1.1  christos CC=$ac_save_CC
   2934  1.1  christos 
   2935  1.1  christos fi
   2936  1.1  christos 
   2937  1.1  christos case "x$ac_cv_prog_cc_stdc" in
   2938  1.1  christos   x|xno)
   2939  1.1  christos     echo "$as_me:$LINENO: result: none needed" >&5
   2940  1.1  christos echo "${ECHO_T}none needed" >&6 ;;
   2941  1.1  christos   *)
   2942  1.1  christos     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   2943  1.1  christos echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   2944  1.1  christos     CC="$CC $ac_cv_prog_cc_stdc" ;;
   2945  1.1  christos esac
   2946  1.1  christos 
   2947  1.1  christos # Some people use a C++ compiler to compile C.  Since we use `exit',
   2948  1.1  christos # in C++ we need to declare it.  In case someone uses the same compiler
   2949  1.1  christos # for both compiling C and C++ we need to have the C++ compiler decide
   2950  1.1  christos # the declaration of exit, since it's the most demanding environment.
   2951  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   2952  1.1  christos #ifndef __cplusplus
   2953  1.1  christos   choke me
   2954  1.1  christos #endif
   2955  1.1  christos _ACEOF
   2956  1.1  christos rm -f conftest.$ac_objext
   2957  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2958  1.1  christos   (eval $ac_compile) 2>conftest.er1
   2959  1.1  christos   ac_status=$?
   2960  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   2961  1.1  christos   rm -f conftest.er1
   2962  1.1  christos   cat conftest.err >&5
   2963  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2964  1.1  christos   (exit $ac_status); } &&
   2965  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2966  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2967  1.1  christos   (eval $ac_try) 2>&5
   2968  1.1  christos   ac_status=$?
   2969  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2970  1.1  christos   (exit $ac_status); }; } &&
   2971  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   2972  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2973  1.1  christos   (eval $ac_try) 2>&5
   2974  1.1  christos   ac_status=$?
   2975  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2976  1.1  christos   (exit $ac_status); }; }; then
   2977  1.1  christos   for ac_declaration in \
   2978  1.1  christos    '' \
   2979  1.1  christos    'extern "C" void std::exit (int) throw (); using std::exit;' \
   2980  1.1  christos    'extern "C" void std::exit (int); using std::exit;' \
   2981  1.1  christos    'extern "C" void exit (int) throw ();' \
   2982  1.1  christos    'extern "C" void exit (int);' \
   2983  1.1  christos    'void exit (int);'
   2984  1.1  christos do
   2985  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   2986  1.1  christos /* confdefs.h.  */
   2987  1.1  christos _ACEOF
   2988  1.1  christos cat confdefs.h >>conftest.$ac_ext
   2989  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   2990  1.1  christos /* end confdefs.h.  */
   2991  1.1  christos $ac_declaration
   2992  1.1  christos #include <stdlib.h>
   2993  1.1  christos int
   2994  1.1  christos main ()
   2995  1.1  christos {
   2996  1.1  christos exit (42);
   2997  1.1  christos   ;
   2998  1.1  christos   return 0;
   2999  1.1  christos }
   3000  1.1  christos _ACEOF
   3001  1.1  christos rm -f conftest.$ac_objext
   3002  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3003  1.1  christos   (eval $ac_compile) 2>conftest.er1
   3004  1.1  christos   ac_status=$?
   3005  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   3006  1.1  christos   rm -f conftest.er1
   3007  1.1  christos   cat conftest.err >&5
   3008  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3009  1.1  christos   (exit $ac_status); } &&
   3010  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3011  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3012  1.1  christos   (eval $ac_try) 2>&5
   3013  1.1  christos   ac_status=$?
   3014  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3015  1.1  christos   (exit $ac_status); }; } &&
   3016  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   3017  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3018  1.1  christos   (eval $ac_try) 2>&5
   3019  1.1  christos   ac_status=$?
   3020  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3021  1.1  christos   (exit $ac_status); }; }; then
   3022  1.1  christos   :
   3023  1.1  christos else
   3024  1.1  christos   echo "$as_me: failed program was:" >&5
   3025  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   3026  1.1  christos 
   3027  1.1  christos continue
   3028  1.1  christos fi
   3029  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3030  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   3031  1.1  christos /* confdefs.h.  */
   3032  1.1  christos _ACEOF
   3033  1.1  christos cat confdefs.h >>conftest.$ac_ext
   3034  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   3035  1.1  christos /* end confdefs.h.  */
   3036  1.1  christos $ac_declaration
   3037  1.1  christos int
   3038  1.1  christos main ()
   3039  1.1  christos {
   3040  1.1  christos exit (42);
   3041  1.1  christos   ;
   3042  1.1  christos   return 0;
   3043  1.1  christos }
   3044  1.1  christos _ACEOF
   3045  1.1  christos rm -f conftest.$ac_objext
   3046  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3047  1.1  christos   (eval $ac_compile) 2>conftest.er1
   3048  1.1  christos   ac_status=$?
   3049  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   3050  1.1  christos   rm -f conftest.er1
   3051  1.1  christos   cat conftest.err >&5
   3052  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3053  1.1  christos   (exit $ac_status); } &&
   3054  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3055  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3056  1.1  christos   (eval $ac_try) 2>&5
   3057  1.1  christos   ac_status=$?
   3058  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3059  1.1  christos   (exit $ac_status); }; } &&
   3060  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   3061  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3062  1.1  christos   (eval $ac_try) 2>&5
   3063  1.1  christos   ac_status=$?
   3064  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3065  1.1  christos   (exit $ac_status); }; }; then
   3066  1.1  christos   break
   3067  1.1  christos else
   3068  1.1  christos   echo "$as_me: failed program was:" >&5
   3069  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   3070  1.1  christos 
   3071  1.1  christos fi
   3072  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3073  1.1  christos done
   3074  1.1  christos rm -f conftest*
   3075  1.1  christos if test -n "$ac_declaration"; then
   3076  1.1  christos   echo '#ifdef __cplusplus' >>confdefs.h
   3077  1.1  christos   echo $ac_declaration      >>confdefs.h
   3078  1.1  christos   echo '#endif'             >>confdefs.h
   3079  1.1  christos fi
   3080  1.1  christos 
   3081  1.1  christos else
   3082  1.1  christos   echo "$as_me: failed program was:" >&5
   3083  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   3084  1.1  christos 
   3085  1.1  christos fi
   3086  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3087  1.1  christos ac_ext=c
   3088  1.1  christos ac_cpp='$CPP $CPPFLAGS'
   3089  1.1  christos ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3090  1.1  christos ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3091  1.1  christos ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3092  1.1  christos 
   3093  1.1  christos depcc="$CC"   am_compiler_list=
   3094  1.1  christos 
   3095  1.1  christos echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3096  1.1  christos echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   3097  1.1  christos if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3098  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3099  1.1  christos else
   3100  1.1  christos   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3101  1.1  christos   # We make a subdir and do the tests there.  Otherwise we can end up
   3102  1.1  christos   # making bogus files that we don't know about and never remove.  For
   3103  1.1  christos   # instance it was reported that on HP-UX the gcc test will end up
   3104  1.1  christos   # making a dummy file named `D' -- because `-MD' means `put the output
   3105  1.1  christos   # in D'.
   3106  1.1  christos   mkdir conftest.dir
   3107  1.1  christos   # Copy depcomp to subdir because otherwise we won't find it if we're
   3108  1.1  christos   # using a relative directory.
   3109  1.1  christos   cp "$am_depcomp" conftest.dir
   3110  1.1  christos   cd conftest.dir
   3111  1.1  christos   # We will build objects and dependencies in a subdirectory because
   3112  1.1  christos   # it helps to detect inapplicable dependency modes.  For instance
   3113  1.1  christos   # both Tru64's cc and ICC support -MD to output dependencies as a
   3114  1.1  christos   # side effect of compilation, but ICC will put the dependencies in
   3115  1.1  christos   # the current directory while Tru64 will put them in the object
   3116  1.1  christos   # directory.
   3117  1.1  christos   mkdir sub
   3118  1.1  christos 
   3119  1.1  christos   am_cv_CC_dependencies_compiler_type=none
   3120  1.1  christos   if test "$am_compiler_list" = ""; then
   3121  1.1  christos      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3122  1.1  christos   fi
   3123  1.1  christos   for depmode in $am_compiler_list; do
   3124  1.1  christos     # Setup a source with many dependencies, because some compilers
   3125  1.1  christos     # like to wrap large dependency lists on column 80 (with \), and
   3126  1.1  christos     # we should not choose a depcomp mode which is confused by this.
   3127  1.1  christos     #
   3128  1.1  christos     # We need to recreate these files for each test, as the compiler may
   3129  1.1  christos     # overwrite some of them when testing with obscure command lines.
   3130  1.1  christos     # This happens at least with the AIX C compiler.
   3131  1.1  christos     : > sub/conftest.c
   3132  1.1  christos     for i in 1 2 3 4 5 6; do
   3133  1.1  christos       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3134  1.1  christos       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3135  1.1  christos       # Solaris 8's {/usr,}/bin/sh.
   3136  1.1  christos       touch sub/conftst$i.h
   3137  1.1  christos     done
   3138  1.1  christos     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3139  1.1  christos 
   3140  1.1  christos     case $depmode in
   3141  1.1  christos     nosideeffect)
   3142  1.1  christos       # after this tag, mechanisms are not by side-effect, so they'll
   3143  1.1  christos       # only be used when explicitly requested
   3144  1.1  christos       if test "x$enable_dependency_tracking" = xyes; then
   3145  1.1  christos 	continue
   3146  1.1  christos       else
   3147  1.1  christos 	break
   3148  1.1  christos       fi
   3149  1.1  christos       ;;
   3150  1.1  christos     none) break ;;
   3151  1.1  christos     esac
   3152  1.1  christos     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3153  1.1  christos     # mode.  It turns out that the SunPro C++ compiler does not properly
   3154  1.1  christos     # handle `-M -o', and we need to detect this.
   3155  1.1  christos     if depmode=$depmode \
   3156  1.1  christos        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3157  1.1  christos        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3158  1.1  christos        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3159  1.1  christos          >/dev/null 2>conftest.err &&
   3160  1.1  christos        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3161  1.1  christos        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3162  1.1  christos        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3163  1.1  christos       # icc doesn't choke on unknown options, it will just issue warnings
   3164  1.1  christos       # or remarks (even with -Werror).  So we grep stderr for any message
   3165  1.1  christos       # that says an option was ignored or not supported.
   3166  1.1  christos       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3167  1.1  christos       #   icc: Command line warning: ignoring option '-M'; no argument required
   3168  1.1  christos       # The diagnosis changed in icc 8.0:
   3169  1.1  christos       #   icc: Command line remark: option '-MP' not supported
   3170  1.1  christos       if (grep 'ignoring option' conftest.err ||
   3171  1.1  christos           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3172  1.1  christos         am_cv_CC_dependencies_compiler_type=$depmode
   3173  1.1  christos         break
   3174  1.1  christos       fi
   3175  1.1  christos     fi
   3176  1.1  christos   done
   3177  1.1  christos 
   3178  1.1  christos   cd ..
   3179  1.1  christos   rm -rf conftest.dir
   3180  1.1  christos else
   3181  1.1  christos   am_cv_CC_dependencies_compiler_type=none
   3182  1.1  christos fi
   3183  1.1  christos 
   3184  1.1  christos fi
   3185  1.1  christos echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3186  1.1  christos echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
   3187  1.1  christos CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3188  1.1  christos 
   3189  1.1  christos 
   3190  1.1  christos 
   3191  1.1  christos if
   3192  1.1  christos   test "x$enable_dependency_tracking" != xno \
   3193  1.1  christos   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3194  1.1  christos   am__fastdepCC_TRUE=
   3195  1.1  christos   am__fastdepCC_FALSE='#'
   3196  1.1  christos else
   3197  1.1  christos   am__fastdepCC_TRUE='#'
   3198  1.1  christos   am__fastdepCC_FALSE=
   3199  1.1  christos fi
   3200  1.1  christos 
   3201  1.1  christos 
   3202  1.1  christos # Make sure we can run config.sub.
   3203  1.1  christos $ac_config_sub sun4 >/dev/null 2>&1 ||
   3204  1.1  christos   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
   3205  1.1  christos echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   3206  1.1  christos    { (exit 1); exit 1; }; }
   3207  1.1  christos 
   3208  1.1  christos echo "$as_me:$LINENO: checking build system type" >&5
   3209  1.1  christos echo $ECHO_N "checking build system type... $ECHO_C" >&6
   3210  1.1  christos if test "${ac_cv_build+set}" = set; then
   3211  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3212  1.1  christos else
   3213  1.1  christos   ac_cv_build_alias=$build_alias
   3214  1.1  christos test -z "$ac_cv_build_alias" &&
   3215  1.1  christos   ac_cv_build_alias=`$ac_config_guess`
   3216  1.1  christos test -z "$ac_cv_build_alias" &&
   3217  1.1  christos   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3218  1.1  christos echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3219  1.1  christos    { (exit 1); exit 1; }; }
   3220  1.1  christos ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
   3221  1.1  christos   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
   3222  1.1  christos echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
   3223  1.1  christos    { (exit 1); exit 1; }; }
   3224  1.1  christos 
   3225  1.1  christos fi
   3226  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3227  1.1  christos echo "${ECHO_T}$ac_cv_build" >&6
   3228  1.1  christos build=$ac_cv_build
   3229  1.1  christos build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   3230  1.1  christos build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   3231  1.1  christos build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   3232  1.1  christos 
   3233  1.1  christos 
   3234  1.1  christos echo "$as_me:$LINENO: checking host system type" >&5
   3235  1.1  christos echo $ECHO_N "checking host system type... $ECHO_C" >&6
   3236  1.1  christos if test "${ac_cv_host+set}" = set; then
   3237  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3238  1.1  christos else
   3239  1.1  christos   ac_cv_host_alias=$host_alias
   3240  1.1  christos test -z "$ac_cv_host_alias" &&
   3241  1.1  christos   ac_cv_host_alias=$ac_cv_build_alias
   3242  1.1  christos ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
   3243  1.1  christos   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
   3244  1.1  christos echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
   3245  1.1  christos    { (exit 1); exit 1; }; }
   3246  1.1  christos 
   3247  1.1  christos fi
   3248  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3249  1.1  christos echo "${ECHO_T}$ac_cv_host" >&6
   3250  1.1  christos host=$ac_cv_host
   3251  1.1  christos host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   3252  1.1  christos host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   3253  1.1  christos host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   3254  1.1  christos 
   3255  1.1  christos 
   3256  1.1  christos 
   3257  1.1  christos # Check whether --with-gnu-ld or --without-gnu-ld was given.
   3258  1.1  christos if test "${with_gnu_ld+set}" = set; then
   3259  1.1  christos   withval="$with_gnu_ld"
   3260  1.1  christos   test "$withval" = no || with_gnu_ld=yes
   3261  1.1  christos else
   3262  1.1  christos   with_gnu_ld=no
   3263  1.1  christos fi;
   3264  1.1  christos # Prepare PATH_SEPARATOR.
   3265  1.1  christos # The user is always right.
   3266  1.1  christos if test "${PATH_SEPARATOR+set}" != set; then
   3267  1.1  christos   echo "#! /bin/sh" >conf$$.sh
   3268  1.1  christos   echo  "exit 0"   >>conf$$.sh
   3269  1.1  christos   chmod +x conf$$.sh
   3270  1.1  christos   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   3271  1.1  christos     PATH_SEPARATOR=';'
   3272  1.1  christos   else
   3273  1.1  christos     PATH_SEPARATOR=:
   3274  1.1  christos   fi
   3275  1.1  christos   rm -f conf$$.sh
   3276  1.1  christos fi
   3277  1.1  christos ac_prog=ld
   3278  1.1  christos if test "$GCC" = yes; then
   3279  1.1  christos   # Check if gcc -print-prog-name=ld gives a path.
   3280  1.1  christos   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
   3281  1.1  christos echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
   3282  1.1  christos   case $host in
   3283  1.1  christos   *-*-mingw*)
   3284  1.1  christos     # gcc leaves a trailing carriage return which upsets mingw
   3285  1.1  christos     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3286  1.1  christos   *)
   3287  1.1  christos     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3288  1.1  christos   esac
   3289  1.1  christos   case $ac_prog in
   3290  1.1  christos     # Accept absolute paths.
   3291  1.1  christos     [\\/]* | [A-Za-z]:[\\/]*)
   3292  1.1  christos       re_direlt='/[^/][^/]*/\.\./'
   3293  1.1  christos       # Canonicalize the path of ld
   3294  1.1  christos       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   3295  1.1  christos       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   3296  1.1  christos 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   3297  1.1  christos       done
   3298  1.1  christos       test -z "$LD" && LD="$ac_prog"
   3299  1.1  christos       ;;
   3300  1.1  christos   "")
   3301  1.1  christos     # If it fails, then pretend we aren't using GCC.
   3302  1.1  christos     ac_prog=ld
   3303  1.1  christos     ;;
   3304  1.1  christos   *)
   3305  1.1  christos     # If it is relative, then search for the first ld in PATH.
   3306  1.1  christos     with_gnu_ld=unknown
   3307  1.1  christos     ;;
   3308  1.1  christos   esac
   3309  1.1  christos elif test "$with_gnu_ld" = yes; then
   3310  1.1  christos   echo "$as_me:$LINENO: checking for GNU ld" >&5
   3311  1.1  christos echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
   3312  1.1  christos else
   3313  1.1  christos   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   3314  1.1  christos echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
   3315  1.1  christos fi
   3316  1.1  christos if test "${acl_cv_path_LD+set}" = set; then
   3317  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3318  1.1  christos else
   3319  1.1  christos   if test -z "$LD"; then
   3320  1.1  christos   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   3321  1.1  christos   for ac_dir in $PATH; do
   3322  1.1  christos     test -z "$ac_dir" && ac_dir=.
   3323  1.1  christos     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   3324  1.1  christos       acl_cv_path_LD="$ac_dir/$ac_prog"
   3325  1.1  christos       # Check to see if the program is GNU ld.  I'd rather use --version,
   3326  1.1  christos       # but apparently some GNU ld's only accept -v.
   3327  1.1  christos       # Break only if it was the GNU/non-GNU ld that we prefer.
   3328  1.1  christos       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
   3329  1.1  christos 	test "$with_gnu_ld" != no && break
   3330  1.1  christos       else
   3331  1.1  christos 	test "$with_gnu_ld" != yes && break
   3332  1.1  christos       fi
   3333  1.1  christos     fi
   3334  1.1  christos   done
   3335  1.1  christos   IFS="$ac_save_ifs"
   3336  1.1  christos else
   3337  1.1  christos   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   3338  1.1  christos fi
   3339  1.1  christos fi
   3340  1.1  christos 
   3341  1.1  christos LD="$acl_cv_path_LD"
   3342  1.1  christos if test -n "$LD"; then
   3343  1.1  christos   echo "$as_me:$LINENO: result: $LD" >&5
   3344  1.1  christos echo "${ECHO_T}$LD" >&6
   3345  1.1  christos else
   3346  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   3347  1.1  christos echo "${ECHO_T}no" >&6
   3348  1.1  christos fi
   3349  1.1  christos test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   3350  1.1  christos echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   3351  1.1  christos    { (exit 1); exit 1; }; }
   3352  1.1  christos echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   3353  1.1  christos echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
   3354  1.1  christos if test "${acl_cv_prog_gnu_ld+set}" = set; then
   3355  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3356  1.1  christos else
   3357  1.1  christos   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   3358  1.1  christos if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
   3359  1.1  christos   acl_cv_prog_gnu_ld=yes
   3360  1.1  christos else
   3361  1.1  christos   acl_cv_prog_gnu_ld=no
   3362  1.1  christos fi
   3363  1.1  christos fi
   3364  1.1  christos echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
   3365  1.1  christos echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
   3366  1.1  christos with_gnu_ld=$acl_cv_prog_gnu_ld
   3367  1.1  christos 
   3368  1.1  christos 
   3369  1.1  christos 
   3370  1.1  christos                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
   3371  1.1  christos echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
   3372  1.1  christos if test "${acl_cv_rpath+set}" = set; then
   3373  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3374  1.1  christos else
   3375  1.1  christos 
   3376  1.1  christos     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   3377  1.1  christos     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   3378  1.1  christos     . ./conftest.sh
   3379  1.1  christos     rm -f ./conftest.sh
   3380  1.1  christos     acl_cv_rpath=done
   3381  1.1  christos 
   3382  1.1  christos fi
   3383  1.1  christos echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
   3384  1.1  christos echo "${ECHO_T}$acl_cv_rpath" >&6
   3385  1.1  christos   wl="$acl_cv_wl"
   3386  1.1  christos   libext="$acl_cv_libext"
   3387  1.1  christos   shlibext="$acl_cv_shlibext"
   3388  1.1  christos   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   3389  1.1  christos   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   3390  1.1  christos   hardcode_direct="$acl_cv_hardcode_direct"
   3391  1.1  christos   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   3392  1.1  christos     # Check whether --enable-rpath or --disable-rpath was given.
   3393  1.1  christos if test "${enable_rpath+set}" = set; then
   3394  1.1  christos   enableval="$enable_rpath"
   3395  1.1  christos   :
   3396  1.1  christos else
   3397  1.1  christos   enable_rpath=yes
   3398  1.1  christos fi;
   3399  1.1  christos 
   3400  1.1  christos 
   3401  1.1  christos 
   3402  1.1  christos 
   3403  1.1  christos 
   3404  1.1  christos 
   3405  1.1  christos 
   3406  1.1  christos     use_additional=yes
   3407  1.1  christos 
   3408  1.1  christos   acl_save_prefix="$prefix"
   3409  1.1  christos   prefix="$acl_final_prefix"
   3410  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3411  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3412  1.1  christos 
   3413  1.1  christos     eval additional_includedir=\"$includedir\"
   3414  1.1  christos     eval additional_libdir=\"$libdir\"
   3415  1.1  christos 
   3416  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3417  1.1  christos   prefix="$acl_save_prefix"
   3418  1.1  christos 
   3419  1.1  christos 
   3420  1.1  christos # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
   3421  1.1  christos if test "${with_libiconv_prefix+set}" = set; then
   3422  1.1  christos   withval="$with_libiconv_prefix"
   3423  1.1  christos 
   3424  1.1  christos     if test "X$withval" = "Xno"; then
   3425  1.1  christos       use_additional=no
   3426  1.1  christos     else
   3427  1.1  christos       if test "X$withval" = "X"; then
   3428  1.1  christos 
   3429  1.1  christos   acl_save_prefix="$prefix"
   3430  1.1  christos   prefix="$acl_final_prefix"
   3431  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3432  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3433  1.1  christos 
   3434  1.1  christos           eval additional_includedir=\"$includedir\"
   3435  1.1  christos           eval additional_libdir=\"$libdir\"
   3436  1.1  christos 
   3437  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3438  1.1  christos   prefix="$acl_save_prefix"
   3439  1.1  christos 
   3440  1.1  christos       else
   3441  1.1  christos         additional_includedir="$withval/include"
   3442  1.1  christos         additional_libdir="$withval/lib"
   3443  1.1  christos       fi
   3444  1.1  christos     fi
   3445  1.1  christos 
   3446  1.1  christos fi;
   3447  1.1  christos       LIBICONV=
   3448  1.1  christos   LTLIBICONV=
   3449  1.1  christos   INCICONV=
   3450  1.1  christos   rpathdirs=
   3451  1.1  christos   ltrpathdirs=
   3452  1.1  christos   names_already_handled=
   3453  1.1  christos   names_next_round='iconv '
   3454  1.1  christos   while test -n "$names_next_round"; do
   3455  1.1  christos     names_this_round="$names_next_round"
   3456  1.1  christos     names_next_round=
   3457  1.1  christos     for name in $names_this_round; do
   3458  1.1  christos       already_handled=
   3459  1.1  christos       for n in $names_already_handled; do
   3460  1.1  christos         if test "$n" = "$name"; then
   3461  1.1  christos           already_handled=yes
   3462  1.1  christos           break
   3463  1.1  christos         fi
   3464  1.1  christos       done
   3465  1.1  christos       if test -z "$already_handled"; then
   3466  1.1  christos         names_already_handled="$names_already_handled $name"
   3467  1.1  christos                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   3468  1.1  christos         eval value=\"\$HAVE_LIB$uppername\"
   3469  1.1  christos         if test -n "$value"; then
   3470  1.1  christos           if test "$value" = yes; then
   3471  1.1  christos             eval value=\"\$LIB$uppername\"
   3472  1.1  christos             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   3473  1.1  christos             eval value=\"\$LTLIB$uppername\"
   3474  1.1  christos             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   3475  1.1  christos           else
   3476  1.1  christos                                     :
   3477  1.1  christos           fi
   3478  1.1  christos         else
   3479  1.1  christos                               found_dir=
   3480  1.1  christos           found_la=
   3481  1.1  christos           found_so=
   3482  1.1  christos           found_a=
   3483  1.1  christos           if test $use_additional = yes; then
   3484  1.1  christos             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   3485  1.1  christos               found_dir="$additional_libdir"
   3486  1.1  christos               found_so="$additional_libdir/lib$name.$shlibext"
   3487  1.1  christos               if test -f "$additional_libdir/lib$name.la"; then
   3488  1.1  christos                 found_la="$additional_libdir/lib$name.la"
   3489  1.1  christos               fi
   3490  1.1  christos             else
   3491  1.1  christos               if test -f "$additional_libdir/lib$name.$libext"; then
   3492  1.1  christos                 found_dir="$additional_libdir"
   3493  1.1  christos                 found_a="$additional_libdir/lib$name.$libext"
   3494  1.1  christos                 if test -f "$additional_libdir/lib$name.la"; then
   3495  1.1  christos                   found_la="$additional_libdir/lib$name.la"
   3496  1.1  christos                 fi
   3497  1.1  christos               fi
   3498  1.1  christos             fi
   3499  1.1  christos           fi
   3500  1.1  christos           if test "X$found_dir" = "X"; then
   3501  1.1  christos             for x in $LDFLAGS $LTLIBICONV; do
   3502  1.1  christos 
   3503  1.1  christos   acl_save_prefix="$prefix"
   3504  1.1  christos   prefix="$acl_final_prefix"
   3505  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3506  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3507  1.1  christos   eval x=\"$x\"
   3508  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3509  1.1  christos   prefix="$acl_save_prefix"
   3510  1.1  christos 
   3511  1.1  christos               case "$x" in
   3512  1.1  christos                 -L*)
   3513  1.1  christos                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   3514  1.1  christos                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   3515  1.1  christos                     found_dir="$dir"
   3516  1.1  christos                     found_so="$dir/lib$name.$shlibext"
   3517  1.1  christos                     if test -f "$dir/lib$name.la"; then
   3518  1.1  christos                       found_la="$dir/lib$name.la"
   3519  1.1  christos                     fi
   3520  1.1  christos                   else
   3521  1.1  christos                     if test -f "$dir/lib$name.$libext"; then
   3522  1.1  christos                       found_dir="$dir"
   3523  1.1  christos                       found_a="$dir/lib$name.$libext"
   3524  1.1  christos                       if test -f "$dir/lib$name.la"; then
   3525  1.1  christos                         found_la="$dir/lib$name.la"
   3526  1.1  christos                       fi
   3527  1.1  christos                     fi
   3528  1.1  christos                   fi
   3529  1.1  christos                   ;;
   3530  1.1  christos               esac
   3531  1.1  christos               if test "X$found_dir" != "X"; then
   3532  1.1  christos                 break
   3533  1.1  christos               fi
   3534  1.1  christos             done
   3535  1.1  christos           fi
   3536  1.1  christos           if test "X$found_dir" != "X"; then
   3537  1.1  christos                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   3538  1.1  christos             if test "X$found_so" != "X"; then
   3539  1.1  christos                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   3540  1.1  christos                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   3541  1.1  christos               else
   3542  1.1  christos                                                                                 haveit=
   3543  1.1  christos                 for x in $ltrpathdirs; do
   3544  1.1  christos                   if test "X$x" = "X$found_dir"; then
   3545  1.1  christos                     haveit=yes
   3546  1.1  christos                     break
   3547  1.1  christos                   fi
   3548  1.1  christos                 done
   3549  1.1  christos                 if test -z "$haveit"; then
   3550  1.1  christos                   ltrpathdirs="$ltrpathdirs $found_dir"
   3551  1.1  christos                 fi
   3552  1.1  christos                                 if test "$hardcode_direct" = yes; then
   3553  1.1  christos                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   3554  1.1  christos                 else
   3555  1.1  christos                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   3556  1.1  christos                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   3557  1.1  christos                                                             haveit=
   3558  1.1  christos                     for x in $rpathdirs; do
   3559  1.1  christos                       if test "X$x" = "X$found_dir"; then
   3560  1.1  christos                         haveit=yes
   3561  1.1  christos                         break
   3562  1.1  christos                       fi
   3563  1.1  christos                     done
   3564  1.1  christos                     if test -z "$haveit"; then
   3565  1.1  christos                       rpathdirs="$rpathdirs $found_dir"
   3566  1.1  christos                     fi
   3567  1.1  christos                   else
   3568  1.1  christos                                                                                 haveit=
   3569  1.1  christos                     for x in $LDFLAGS $LIBICONV; do
   3570  1.1  christos 
   3571  1.1  christos   acl_save_prefix="$prefix"
   3572  1.1  christos   prefix="$acl_final_prefix"
   3573  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3574  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3575  1.1  christos   eval x=\"$x\"
   3576  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3577  1.1  christos   prefix="$acl_save_prefix"
   3578  1.1  christos 
   3579  1.1  christos                       if test "X$x" = "X-L$found_dir"; then
   3580  1.1  christos                         haveit=yes
   3581  1.1  christos                         break
   3582  1.1  christos                       fi
   3583  1.1  christos                     done
   3584  1.1  christos                     if test -z "$haveit"; then
   3585  1.1  christos                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   3586  1.1  christos                     fi
   3587  1.1  christos                     if test "$hardcode_minus_L" != no; then
   3588  1.1  christos                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   3589  1.1  christos                     else
   3590  1.1  christos                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   3591  1.1  christos                     fi
   3592  1.1  christos                   fi
   3593  1.1  christos                 fi
   3594  1.1  christos               fi
   3595  1.1  christos             else
   3596  1.1  christos               if test "X$found_a" != "X"; then
   3597  1.1  christos                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   3598  1.1  christos               else
   3599  1.1  christos                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   3600  1.1  christos               fi
   3601  1.1  christos             fi
   3602  1.1  christos                         additional_includedir=
   3603  1.1  christos             case "$found_dir" in
   3604  1.1  christos               */lib | */lib/)
   3605  1.1  christos                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   3606  1.1  christos                 additional_includedir="$basedir/include"
   3607  1.1  christos                 ;;
   3608  1.1  christos             esac
   3609  1.1  christos             if test "X$additional_includedir" != "X"; then
   3610  1.1  christos                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   3611  1.1  christos                 haveit=
   3612  1.1  christos                 if test "X$additional_includedir" = "X/usr/local/include"; then
   3613  1.1  christos                   if test -n "$GCC"; then
   3614  1.1  christos                     case $host_os in
   3615  1.1  christos                       linux*) haveit=yes;;
   3616  1.1  christos                     esac
   3617  1.1  christos                   fi
   3618  1.1  christos                 fi
   3619  1.1  christos                 if test -z "$haveit"; then
   3620  1.1  christos                   for x in $CPPFLAGS $INCICONV; do
   3621  1.1  christos 
   3622  1.1  christos   acl_save_prefix="$prefix"
   3623  1.1  christos   prefix="$acl_final_prefix"
   3624  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3625  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3626  1.1  christos   eval x=\"$x\"
   3627  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3628  1.1  christos   prefix="$acl_save_prefix"
   3629  1.1  christos 
   3630  1.1  christos                     if test "X$x" = "X-I$additional_includedir"; then
   3631  1.1  christos                       haveit=yes
   3632  1.1  christos                       break
   3633  1.1  christos                     fi
   3634  1.1  christos                   done
   3635  1.1  christos                   if test -z "$haveit"; then
   3636  1.1  christos                     if test -d "$additional_includedir"; then
   3637  1.1  christos                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   3638  1.1  christos                     fi
   3639  1.1  christos                   fi
   3640  1.1  christos                 fi
   3641  1.1  christos               fi
   3642  1.1  christos             fi
   3643  1.1  christos                         if test -n "$found_la"; then
   3644  1.1  christos                                                         save_libdir="$libdir"
   3645  1.1  christos               case "$found_la" in
   3646  1.1  christos                 */* | *\\*) . "$found_la" ;;
   3647  1.1  christos                 *) . "./$found_la" ;;
   3648  1.1  christos               esac
   3649  1.1  christos               libdir="$save_libdir"
   3650  1.1  christos                             for dep in $dependency_libs; do
   3651  1.1  christos                 case "$dep" in
   3652  1.1  christos                   -L*)
   3653  1.1  christos                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   3654  1.1  christos                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   3655  1.1  christos                       haveit=
   3656  1.1  christos                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   3657  1.1  christos                         if test -n "$GCC"; then
   3658  1.1  christos                           case $host_os in
   3659  1.1  christos                             linux*) haveit=yes;;
   3660  1.1  christos                           esac
   3661  1.1  christos                         fi
   3662  1.1  christos                       fi
   3663  1.1  christos                       if test -z "$haveit"; then
   3664  1.1  christos                         haveit=
   3665  1.1  christos                         for x in $LDFLAGS $LIBICONV; do
   3666  1.1  christos 
   3667  1.1  christos   acl_save_prefix="$prefix"
   3668  1.1  christos   prefix="$acl_final_prefix"
   3669  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3670  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3671  1.1  christos   eval x=\"$x\"
   3672  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3673  1.1  christos   prefix="$acl_save_prefix"
   3674  1.1  christos 
   3675  1.1  christos                           if test "X$x" = "X-L$additional_libdir"; then
   3676  1.1  christos                             haveit=yes
   3677  1.1  christos                             break
   3678  1.1  christos                           fi
   3679  1.1  christos                         done
   3680  1.1  christos                         if test -z "$haveit"; then
   3681  1.1  christos                           if test -d "$additional_libdir"; then
   3682  1.1  christos                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   3683  1.1  christos                           fi
   3684  1.1  christos                         fi
   3685  1.1  christos                         haveit=
   3686  1.1  christos                         for x in $LDFLAGS $LTLIBICONV; do
   3687  1.1  christos 
   3688  1.1  christos   acl_save_prefix="$prefix"
   3689  1.1  christos   prefix="$acl_final_prefix"
   3690  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3691  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3692  1.1  christos   eval x=\"$x\"
   3693  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3694  1.1  christos   prefix="$acl_save_prefix"
   3695  1.1  christos 
   3696  1.1  christos                           if test "X$x" = "X-L$additional_libdir"; then
   3697  1.1  christos                             haveit=yes
   3698  1.1  christos                             break
   3699  1.1  christos                           fi
   3700  1.1  christos                         done
   3701  1.1  christos                         if test -z "$haveit"; then
   3702  1.1  christos                           if test -d "$additional_libdir"; then
   3703  1.1  christos                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   3704  1.1  christos                           fi
   3705  1.1  christos                         fi
   3706  1.1  christos                       fi
   3707  1.1  christos                     fi
   3708  1.1  christos                     ;;
   3709  1.1  christos                   -R*)
   3710  1.1  christos                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   3711  1.1  christos                     if test "$enable_rpath" != no; then
   3712  1.1  christos                                                                   haveit=
   3713  1.1  christos                       for x in $rpathdirs; do
   3714  1.1  christos                         if test "X$x" = "X$dir"; then
   3715  1.1  christos                           haveit=yes
   3716  1.1  christos                           break
   3717  1.1  christos                         fi
   3718  1.1  christos                       done
   3719  1.1  christos                       if test -z "$haveit"; then
   3720  1.1  christos                         rpathdirs="$rpathdirs $dir"
   3721  1.1  christos                       fi
   3722  1.1  christos                                                                   haveit=
   3723  1.1  christos                       for x in $ltrpathdirs; do
   3724  1.1  christos                         if test "X$x" = "X$dir"; then
   3725  1.1  christos                           haveit=yes
   3726  1.1  christos                           break
   3727  1.1  christos                         fi
   3728  1.1  christos                       done
   3729  1.1  christos                       if test -z "$haveit"; then
   3730  1.1  christos                         ltrpathdirs="$ltrpathdirs $dir"
   3731  1.1  christos                       fi
   3732  1.1  christos                     fi
   3733  1.1  christos                     ;;
   3734  1.1  christos                   -l*)
   3735  1.1  christos                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   3736  1.1  christos                     ;;
   3737  1.1  christos                   *.la)
   3738  1.1  christos                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   3739  1.1  christos                     ;;
   3740  1.1  christos                   *)
   3741  1.1  christos                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   3742  1.1  christos                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   3743  1.1  christos                     ;;
   3744  1.1  christos                 esac
   3745  1.1  christos               done
   3746  1.1  christos             fi
   3747  1.1  christos           else
   3748  1.1  christos                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   3749  1.1  christos             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   3750  1.1  christos           fi
   3751  1.1  christos         fi
   3752  1.1  christos       fi
   3753  1.1  christos     done
   3754  1.1  christos   done
   3755  1.1  christos   if test "X$rpathdirs" != "X"; then
   3756  1.1  christos     if test -n "$hardcode_libdir_separator"; then
   3757  1.1  christos                         alldirs=
   3758  1.1  christos       for found_dir in $rpathdirs; do
   3759  1.1  christos         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   3760  1.1  christos       done
   3761  1.1  christos             acl_save_libdir="$libdir"
   3762  1.1  christos       libdir="$alldirs"
   3763  1.1  christos       eval flag=\"$hardcode_libdir_flag_spec\"
   3764  1.1  christos       libdir="$acl_save_libdir"
   3765  1.1  christos       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   3766  1.1  christos     else
   3767  1.1  christos             for found_dir in $rpathdirs; do
   3768  1.1  christos         acl_save_libdir="$libdir"
   3769  1.1  christos         libdir="$found_dir"
   3770  1.1  christos         eval flag=\"$hardcode_libdir_flag_spec\"
   3771  1.1  christos         libdir="$acl_save_libdir"
   3772  1.1  christos         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   3773  1.1  christos       done
   3774  1.1  christos     fi
   3775  1.1  christos   fi
   3776  1.1  christos   if test "X$ltrpathdirs" != "X"; then
   3777  1.1  christos             for found_dir in $ltrpathdirs; do
   3778  1.1  christos       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   3779  1.1  christos     done
   3780  1.1  christos   fi
   3781  1.1  christos 
   3782  1.1  christos 
   3783  1.1  christos 
   3784  1.1  christos 
   3785  1.1  christos 
   3786  1.1  christos 
   3787  1.1  christos 
   3788  1.1  christos 
   3789  1.1  christos 
   3790  1.1  christos 
   3791  1.1  christos 
   3792  1.1  christos 
   3793  1.1  christos 
   3794  1.1  christos 
   3795  1.1  christos 
   3796  1.1  christos 
   3797  1.1  christos 
   3798  1.1  christos 
   3799  1.1  christos 
   3800  1.1  christos   echo "$as_me:$LINENO: checking whether NLS is requested" >&5
   3801  1.1  christos echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
   3802  1.1  christos     # Check whether --enable-nls or --disable-nls was given.
   3803  1.1  christos if test "${enable_nls+set}" = set; then
   3804  1.1  christos   enableval="$enable_nls"
   3805  1.1  christos   USE_NLS=$enableval
   3806  1.1  christos else
   3807  1.1  christos   USE_NLS=yes
   3808  1.1  christos fi;
   3809  1.1  christos   echo "$as_me:$LINENO: result: $USE_NLS" >&5
   3810  1.1  christos echo "${ECHO_T}$USE_NLS" >&6
   3811  1.1  christos 
   3812  1.1  christos 
   3813  1.1  christos 
   3814  1.1  christos 
   3815  1.1  christos   LIBINTL=
   3816  1.1  christos   LTLIBINTL=
   3817  1.1  christos   POSUB=
   3818  1.1  christos 
   3819  1.1  christos     if test "$USE_NLS" = "yes"; then
   3820  1.1  christos     gt_use_preinstalled_gnugettext=no
   3821  1.1  christos 
   3822  1.1  christos 
   3823  1.1  christos 
   3824  1.1  christos 
   3825  1.1  christos 
   3826  1.1  christos 
   3827  1.1  christos         echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
   3828  1.1  christos echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
   3829  1.1  christos if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
   3830  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3831  1.1  christos else
   3832  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   3833  1.1  christos /* confdefs.h.  */
   3834  1.1  christos _ACEOF
   3835  1.1  christos cat confdefs.h >>conftest.$ac_ext
   3836  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   3837  1.1  christos /* end confdefs.h.  */
   3838  1.1  christos #include <libintl.h>
   3839  1.1  christos extern int _nl_msg_cat_cntr;
   3840  1.1  christos extern int *_nl_domain_bindings;
   3841  1.1  christos int
   3842  1.1  christos main ()
   3843  1.1  christos {
   3844  1.1  christos bindtextdomain ("", "");
   3845  1.1  christos return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
   3846  1.1  christos   ;
   3847  1.1  christos   return 0;
   3848  1.1  christos }
   3849  1.1  christos _ACEOF
   3850  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   3851  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3852  1.1  christos   (eval $ac_link) 2>conftest.er1
   3853  1.1  christos   ac_status=$?
   3854  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   3855  1.1  christos   rm -f conftest.er1
   3856  1.1  christos   cat conftest.err >&5
   3857  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3858  1.1  christos   (exit $ac_status); } &&
   3859  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3860  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3861  1.1  christos   (eval $ac_try) 2>&5
   3862  1.1  christos   ac_status=$?
   3863  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3864  1.1  christos   (exit $ac_status); }; } &&
   3865  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   3866  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3867  1.1  christos   (eval $ac_try) 2>&5
   3868  1.1  christos   ac_status=$?
   3869  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3870  1.1  christos   (exit $ac_status); }; }; then
   3871  1.1  christos   gt_cv_func_gnugettext1_libc=yes
   3872  1.1  christos else
   3873  1.1  christos   echo "$as_me: failed program was:" >&5
   3874  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   3875  1.1  christos 
   3876  1.1  christos gt_cv_func_gnugettext1_libc=no
   3877  1.1  christos fi
   3878  1.1  christos rm -f conftest.err conftest.$ac_objext \
   3879  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   3880  1.1  christos fi
   3881  1.1  christos echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
   3882  1.1  christos echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
   3883  1.1  christos 
   3884  1.1  christos         if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
   3885  1.1  christos 
   3886  1.1  christos 
   3887  1.1  christos 
   3888  1.1  christos 
   3889  1.1  christos 
   3890  1.1  christos           am_save_CPPFLAGS="$CPPFLAGS"
   3891  1.1  christos 
   3892  1.1  christos   for element in $INCICONV; do
   3893  1.1  christos     haveit=
   3894  1.1  christos     for x in $CPPFLAGS; do
   3895  1.1  christos 
   3896  1.1  christos   acl_save_prefix="$prefix"
   3897  1.1  christos   prefix="$acl_final_prefix"
   3898  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3899  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3900  1.1  christos   eval x=\"$x\"
   3901  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3902  1.1  christos   prefix="$acl_save_prefix"
   3903  1.1  christos 
   3904  1.1  christos       if test "X$x" = "X$element"; then
   3905  1.1  christos         haveit=yes
   3906  1.1  christos         break
   3907  1.1  christos       fi
   3908  1.1  christos     done
   3909  1.1  christos     if test -z "$haveit"; then
   3910  1.1  christos       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   3911  1.1  christos     fi
   3912  1.1  christos   done
   3913  1.1  christos 
   3914  1.1  christos 
   3915  1.1  christos   echo "$as_me:$LINENO: checking for iconv" >&5
   3916  1.1  christos echo $ECHO_N "checking for iconv... $ECHO_C" >&6
   3917  1.1  christos if test "${am_cv_func_iconv+set}" = set; then
   3918  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3919  1.1  christos else
   3920  1.1  christos 
   3921  1.1  christos     am_cv_func_iconv="no, consider installing GNU libiconv"
   3922  1.1  christos     am_cv_lib_iconv=no
   3923  1.1  christos     cat >conftest.$ac_ext <<_ACEOF
   3924  1.1  christos /* confdefs.h.  */
   3925  1.1  christos _ACEOF
   3926  1.1  christos cat confdefs.h >>conftest.$ac_ext
   3927  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   3928  1.1  christos /* end confdefs.h.  */
   3929  1.1  christos #include <stdlib.h>
   3930  1.1  christos #include <iconv.h>
   3931  1.1  christos int
   3932  1.1  christos main ()
   3933  1.1  christos {
   3934  1.1  christos iconv_t cd = iconv_open("","");
   3935  1.1  christos        iconv(cd,NULL,NULL,NULL,NULL);
   3936  1.1  christos        iconv_close(cd);
   3937  1.1  christos   ;
   3938  1.1  christos   return 0;
   3939  1.1  christos }
   3940  1.1  christos _ACEOF
   3941  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   3942  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3943  1.1  christos   (eval $ac_link) 2>conftest.er1
   3944  1.1  christos   ac_status=$?
   3945  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   3946  1.1  christos   rm -f conftest.er1
   3947  1.1  christos   cat conftest.err >&5
   3948  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3949  1.1  christos   (exit $ac_status); } &&
   3950  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3951  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3952  1.1  christos   (eval $ac_try) 2>&5
   3953  1.1  christos   ac_status=$?
   3954  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3955  1.1  christos   (exit $ac_status); }; } &&
   3956  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   3957  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3958  1.1  christos   (eval $ac_try) 2>&5
   3959  1.1  christos   ac_status=$?
   3960  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3961  1.1  christos   (exit $ac_status); }; }; then
   3962  1.1  christos   am_cv_func_iconv=yes
   3963  1.1  christos else
   3964  1.1  christos   echo "$as_me: failed program was:" >&5
   3965  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   3966  1.1  christos 
   3967  1.1  christos fi
   3968  1.1  christos rm -f conftest.err conftest.$ac_objext \
   3969  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   3970  1.1  christos     if test "$am_cv_func_iconv" != yes; then
   3971  1.1  christos       am_save_LIBS="$LIBS"
   3972  1.1  christos       LIBS="$LIBS $LIBICONV"
   3973  1.1  christos       cat >conftest.$ac_ext <<_ACEOF
   3974  1.1  christos /* confdefs.h.  */
   3975  1.1  christos _ACEOF
   3976  1.1  christos cat confdefs.h >>conftest.$ac_ext
   3977  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   3978  1.1  christos /* end confdefs.h.  */
   3979  1.1  christos #include <stdlib.h>
   3980  1.1  christos #include <iconv.h>
   3981  1.1  christos int
   3982  1.1  christos main ()
   3983  1.1  christos {
   3984  1.1  christos iconv_t cd = iconv_open("","");
   3985  1.1  christos          iconv(cd,NULL,NULL,NULL,NULL);
   3986  1.1  christos          iconv_close(cd);
   3987  1.1  christos   ;
   3988  1.1  christos   return 0;
   3989  1.1  christos }
   3990  1.1  christos _ACEOF
   3991  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   3992  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3993  1.1  christos   (eval $ac_link) 2>conftest.er1
   3994  1.1  christos   ac_status=$?
   3995  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   3996  1.1  christos   rm -f conftest.er1
   3997  1.1  christos   cat conftest.err >&5
   3998  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3999  1.1  christos   (exit $ac_status); } &&
   4000  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4001  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4002  1.1  christos   (eval $ac_try) 2>&5
   4003  1.1  christos   ac_status=$?
   4004  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4005  1.1  christos   (exit $ac_status); }; } &&
   4006  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   4007  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4008  1.1  christos   (eval $ac_try) 2>&5
   4009  1.1  christos   ac_status=$?
   4010  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4011  1.1  christos   (exit $ac_status); }; }; then
   4012  1.1  christos   am_cv_lib_iconv=yes
   4013  1.1  christos         am_cv_func_iconv=yes
   4014  1.1  christos else
   4015  1.1  christos   echo "$as_me: failed program was:" >&5
   4016  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   4017  1.1  christos 
   4018  1.1  christos fi
   4019  1.1  christos rm -f conftest.err conftest.$ac_objext \
   4020  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   4021  1.1  christos       LIBS="$am_save_LIBS"
   4022  1.1  christos     fi
   4023  1.1  christos 
   4024  1.1  christos fi
   4025  1.1  christos echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
   4026  1.1  christos echo "${ECHO_T}$am_cv_func_iconv" >&6
   4027  1.1  christos   if test "$am_cv_func_iconv" = yes; then
   4028  1.1  christos 
   4029  1.1  christos cat >>confdefs.h <<\_ACEOF
   4030  1.1  christos #define HAVE_ICONV 1
   4031  1.1  christos _ACEOF
   4032  1.1  christos 
   4033  1.1  christos   fi
   4034  1.1  christos   if test "$am_cv_lib_iconv" = yes; then
   4035  1.1  christos     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
   4036  1.1  christos echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
   4037  1.1  christos     echo "$as_me:$LINENO: result: $LIBICONV" >&5
   4038  1.1  christos echo "${ECHO_T}$LIBICONV" >&6
   4039  1.1  christos   else
   4040  1.1  christos             CPPFLAGS="$am_save_CPPFLAGS"
   4041  1.1  christos     LIBICONV=
   4042  1.1  christos     LTLIBICONV=
   4043  1.1  christos   fi
   4044  1.1  christos 
   4045  1.1  christos 
   4046  1.1  christos 
   4047  1.1  christos 
   4048  1.1  christos 
   4049  1.1  christos 
   4050  1.1  christos     use_additional=yes
   4051  1.1  christos 
   4052  1.1  christos   acl_save_prefix="$prefix"
   4053  1.1  christos   prefix="$acl_final_prefix"
   4054  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4055  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4056  1.1  christos 
   4057  1.1  christos     eval additional_includedir=\"$includedir\"
   4058  1.1  christos     eval additional_libdir=\"$libdir\"
   4059  1.1  christos 
   4060  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4061  1.1  christos   prefix="$acl_save_prefix"
   4062  1.1  christos 
   4063  1.1  christos 
   4064  1.1  christos # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
   4065  1.1  christos if test "${with_libintl_prefix+set}" = set; then
   4066  1.1  christos   withval="$with_libintl_prefix"
   4067  1.1  christos 
   4068  1.1  christos     if test "X$withval" = "Xno"; then
   4069  1.1  christos       use_additional=no
   4070  1.1  christos     else
   4071  1.1  christos       if test "X$withval" = "X"; then
   4072  1.1  christos 
   4073  1.1  christos   acl_save_prefix="$prefix"
   4074  1.1  christos   prefix="$acl_final_prefix"
   4075  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4076  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4077  1.1  christos 
   4078  1.1  christos           eval additional_includedir=\"$includedir\"
   4079  1.1  christos           eval additional_libdir=\"$libdir\"
   4080  1.1  christos 
   4081  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4082  1.1  christos   prefix="$acl_save_prefix"
   4083  1.1  christos 
   4084  1.1  christos       else
   4085  1.1  christos         additional_includedir="$withval/include"
   4086  1.1  christos         additional_libdir="$withval/lib"
   4087  1.1  christos       fi
   4088  1.1  christos     fi
   4089  1.1  christos 
   4090  1.1  christos fi;
   4091  1.1  christos       LIBINTL=
   4092  1.1  christos   LTLIBINTL=
   4093  1.1  christos   INCINTL=
   4094  1.1  christos   rpathdirs=
   4095  1.1  christos   ltrpathdirs=
   4096  1.1  christos   names_already_handled=
   4097  1.1  christos   names_next_round='intl '
   4098  1.1  christos   while test -n "$names_next_round"; do
   4099  1.1  christos     names_this_round="$names_next_round"
   4100  1.1  christos     names_next_round=
   4101  1.1  christos     for name in $names_this_round; do
   4102  1.1  christos       already_handled=
   4103  1.1  christos       for n in $names_already_handled; do
   4104  1.1  christos         if test "$n" = "$name"; then
   4105  1.1  christos           already_handled=yes
   4106  1.1  christos           break
   4107  1.1  christos         fi
   4108  1.1  christos       done
   4109  1.1  christos       if test -z "$already_handled"; then
   4110  1.1  christos         names_already_handled="$names_already_handled $name"
   4111  1.1  christos                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   4112  1.1  christos         eval value=\"\$HAVE_LIB$uppername\"
   4113  1.1  christos         if test -n "$value"; then
   4114  1.1  christos           if test "$value" = yes; then
   4115  1.1  christos             eval value=\"\$LIB$uppername\"
   4116  1.1  christos             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   4117  1.1  christos             eval value=\"\$LTLIB$uppername\"
   4118  1.1  christos             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   4119  1.1  christos           else
   4120  1.1  christos                                     :
   4121  1.1  christos           fi
   4122  1.1  christos         else
   4123  1.1  christos                               found_dir=
   4124  1.1  christos           found_la=
   4125  1.1  christos           found_so=
   4126  1.1  christos           found_a=
   4127  1.1  christos           if test $use_additional = yes; then
   4128  1.1  christos             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   4129  1.1  christos               found_dir="$additional_libdir"
   4130  1.1  christos               found_so="$additional_libdir/lib$name.$shlibext"
   4131  1.1  christos               if test -f "$additional_libdir/lib$name.la"; then
   4132  1.1  christos                 found_la="$additional_libdir/lib$name.la"
   4133  1.1  christos               fi
   4134  1.1  christos             else
   4135  1.1  christos               if test -f "$additional_libdir/lib$name.$libext"; then
   4136  1.1  christos                 found_dir="$additional_libdir"
   4137  1.1  christos                 found_a="$additional_libdir/lib$name.$libext"
   4138  1.1  christos                 if test -f "$additional_libdir/lib$name.la"; then
   4139  1.1  christos                   found_la="$additional_libdir/lib$name.la"
   4140  1.1  christos                 fi
   4141  1.1  christos               fi
   4142  1.1  christos             fi
   4143  1.1  christos           fi
   4144  1.1  christos           if test "X$found_dir" = "X"; then
   4145  1.1  christos             for x in $LDFLAGS $LTLIBINTL; do
   4146  1.1  christos 
   4147  1.1  christos   acl_save_prefix="$prefix"
   4148  1.1  christos   prefix="$acl_final_prefix"
   4149  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4150  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4151  1.1  christos   eval x=\"$x\"
   4152  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4153  1.1  christos   prefix="$acl_save_prefix"
   4154  1.1  christos 
   4155  1.1  christos               case "$x" in
   4156  1.1  christos                 -L*)
   4157  1.1  christos                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   4158  1.1  christos                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   4159  1.1  christos                     found_dir="$dir"
   4160  1.1  christos                     found_so="$dir/lib$name.$shlibext"
   4161  1.1  christos                     if test -f "$dir/lib$name.la"; then
   4162  1.1  christos                       found_la="$dir/lib$name.la"
   4163  1.1  christos                     fi
   4164  1.1  christos                   else
   4165  1.1  christos                     if test -f "$dir/lib$name.$libext"; then
   4166  1.1  christos                       found_dir="$dir"
   4167  1.1  christos                       found_a="$dir/lib$name.$libext"
   4168  1.1  christos                       if test -f "$dir/lib$name.la"; then
   4169  1.1  christos                         found_la="$dir/lib$name.la"
   4170  1.1  christos                       fi
   4171  1.1  christos                     fi
   4172  1.1  christos                   fi
   4173  1.1  christos                   ;;
   4174  1.1  christos               esac
   4175  1.1  christos               if test "X$found_dir" != "X"; then
   4176  1.1  christos                 break
   4177  1.1  christos               fi
   4178  1.1  christos             done
   4179  1.1  christos           fi
   4180  1.1  christos           if test "X$found_dir" != "X"; then
   4181  1.1  christos                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   4182  1.1  christos             if test "X$found_so" != "X"; then
   4183  1.1  christos                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   4184  1.1  christos                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   4185  1.1  christos               else
   4186  1.1  christos                                                                                 haveit=
   4187  1.1  christos                 for x in $ltrpathdirs; do
   4188  1.1  christos                   if test "X$x" = "X$found_dir"; then
   4189  1.1  christos                     haveit=yes
   4190  1.1  christos                     break
   4191  1.1  christos                   fi
   4192  1.1  christos                 done
   4193  1.1  christos                 if test -z "$haveit"; then
   4194  1.1  christos                   ltrpathdirs="$ltrpathdirs $found_dir"
   4195  1.1  christos                 fi
   4196  1.1  christos                                 if test "$hardcode_direct" = yes; then
   4197  1.1  christos                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   4198  1.1  christos                 else
   4199  1.1  christos                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   4200  1.1  christos                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   4201  1.1  christos                                                             haveit=
   4202  1.1  christos                     for x in $rpathdirs; do
   4203  1.1  christos                       if test "X$x" = "X$found_dir"; then
   4204  1.1  christos                         haveit=yes
   4205  1.1  christos                         break
   4206  1.1  christos                       fi
   4207  1.1  christos                     done
   4208  1.1  christos                     if test -z "$haveit"; then
   4209  1.1  christos                       rpathdirs="$rpathdirs $found_dir"
   4210  1.1  christos                     fi
   4211  1.1  christos                   else
   4212  1.1  christos                                                                                 haveit=
   4213  1.1  christos                     for x in $LDFLAGS $LIBINTL; do
   4214  1.1  christos 
   4215  1.1  christos   acl_save_prefix="$prefix"
   4216  1.1  christos   prefix="$acl_final_prefix"
   4217  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4218  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4219  1.1  christos   eval x=\"$x\"
   4220  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4221  1.1  christos   prefix="$acl_save_prefix"
   4222  1.1  christos 
   4223  1.1  christos                       if test "X$x" = "X-L$found_dir"; then
   4224  1.1  christos                         haveit=yes
   4225  1.1  christos                         break
   4226  1.1  christos                       fi
   4227  1.1  christos                     done
   4228  1.1  christos                     if test -z "$haveit"; then
   4229  1.1  christos                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   4230  1.1  christos                     fi
   4231  1.1  christos                     if test "$hardcode_minus_L" != no; then
   4232  1.1  christos                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   4233  1.1  christos                     else
   4234  1.1  christos                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   4235  1.1  christos                     fi
   4236  1.1  christos                   fi
   4237  1.1  christos                 fi
   4238  1.1  christos               fi
   4239  1.1  christos             else
   4240  1.1  christos               if test "X$found_a" != "X"; then
   4241  1.1  christos                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   4242  1.1  christos               else
   4243  1.1  christos                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   4244  1.1  christos               fi
   4245  1.1  christos             fi
   4246  1.1  christos                         additional_includedir=
   4247  1.1  christos             case "$found_dir" in
   4248  1.1  christos               */lib | */lib/)
   4249  1.1  christos                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   4250  1.1  christos                 additional_includedir="$basedir/include"
   4251  1.1  christos                 ;;
   4252  1.1  christos             esac
   4253  1.1  christos             if test "X$additional_includedir" != "X"; then
   4254  1.1  christos                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   4255  1.1  christos                 haveit=
   4256  1.1  christos                 if test "X$additional_includedir" = "X/usr/local/include"; then
   4257  1.1  christos                   if test -n "$GCC"; then
   4258  1.1  christos                     case $host_os in
   4259  1.1  christos                       linux*) haveit=yes;;
   4260  1.1  christos                     esac
   4261  1.1  christos                   fi
   4262  1.1  christos                 fi
   4263  1.1  christos                 if test -z "$haveit"; then
   4264  1.1  christos                   for x in $CPPFLAGS $INCINTL; do
   4265  1.1  christos 
   4266  1.1  christos   acl_save_prefix="$prefix"
   4267  1.1  christos   prefix="$acl_final_prefix"
   4268  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4269  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4270  1.1  christos   eval x=\"$x\"
   4271  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4272  1.1  christos   prefix="$acl_save_prefix"
   4273  1.1  christos 
   4274  1.1  christos                     if test "X$x" = "X-I$additional_includedir"; then
   4275  1.1  christos                       haveit=yes
   4276  1.1  christos                       break
   4277  1.1  christos                     fi
   4278  1.1  christos                   done
   4279  1.1  christos                   if test -z "$haveit"; then
   4280  1.1  christos                     if test -d "$additional_includedir"; then
   4281  1.1  christos                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   4282  1.1  christos                     fi
   4283  1.1  christos                   fi
   4284  1.1  christos                 fi
   4285  1.1  christos               fi
   4286  1.1  christos             fi
   4287  1.1  christos                         if test -n "$found_la"; then
   4288  1.1  christos                                                         save_libdir="$libdir"
   4289  1.1  christos               case "$found_la" in
   4290  1.1  christos                 */* | *\\*) . "$found_la" ;;
   4291  1.1  christos                 *) . "./$found_la" ;;
   4292  1.1  christos               esac
   4293  1.1  christos               libdir="$save_libdir"
   4294  1.1  christos                             for dep in $dependency_libs; do
   4295  1.1  christos                 case "$dep" in
   4296  1.1  christos                   -L*)
   4297  1.1  christos                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   4298  1.1  christos                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   4299  1.1  christos                       haveit=
   4300  1.1  christos                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   4301  1.1  christos                         if test -n "$GCC"; then
   4302  1.1  christos                           case $host_os in
   4303  1.1  christos                             linux*) haveit=yes;;
   4304  1.1  christos                           esac
   4305  1.1  christos                         fi
   4306  1.1  christos                       fi
   4307  1.1  christos                       if test -z "$haveit"; then
   4308  1.1  christos                         haveit=
   4309  1.1  christos                         for x in $LDFLAGS $LIBINTL; do
   4310  1.1  christos 
   4311  1.1  christos   acl_save_prefix="$prefix"
   4312  1.1  christos   prefix="$acl_final_prefix"
   4313  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4314  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4315  1.1  christos   eval x=\"$x\"
   4316  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4317  1.1  christos   prefix="$acl_save_prefix"
   4318  1.1  christos 
   4319  1.1  christos                           if test "X$x" = "X-L$additional_libdir"; then
   4320  1.1  christos                             haveit=yes
   4321  1.1  christos                             break
   4322  1.1  christos                           fi
   4323  1.1  christos                         done
   4324  1.1  christos                         if test -z "$haveit"; then
   4325  1.1  christos                           if test -d "$additional_libdir"; then
   4326  1.1  christos                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   4327  1.1  christos                           fi
   4328  1.1  christos                         fi
   4329  1.1  christos                         haveit=
   4330  1.1  christos                         for x in $LDFLAGS $LTLIBINTL; do
   4331  1.1  christos 
   4332  1.1  christos   acl_save_prefix="$prefix"
   4333  1.1  christos   prefix="$acl_final_prefix"
   4334  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4335  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4336  1.1  christos   eval x=\"$x\"
   4337  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4338  1.1  christos   prefix="$acl_save_prefix"
   4339  1.1  christos 
   4340  1.1  christos                           if test "X$x" = "X-L$additional_libdir"; then
   4341  1.1  christos                             haveit=yes
   4342  1.1  christos                             break
   4343  1.1  christos                           fi
   4344  1.1  christos                         done
   4345  1.1  christos                         if test -z "$haveit"; then
   4346  1.1  christos                           if test -d "$additional_libdir"; then
   4347  1.1  christos                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   4348  1.1  christos                           fi
   4349  1.1  christos                         fi
   4350  1.1  christos                       fi
   4351  1.1  christos                     fi
   4352  1.1  christos                     ;;
   4353  1.1  christos                   -R*)
   4354  1.1  christos                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   4355  1.1  christos                     if test "$enable_rpath" != no; then
   4356  1.1  christos                                                                   haveit=
   4357  1.1  christos                       for x in $rpathdirs; do
   4358  1.1  christos                         if test "X$x" = "X$dir"; then
   4359  1.1  christos                           haveit=yes
   4360  1.1  christos                           break
   4361  1.1  christos                         fi
   4362  1.1  christos                       done
   4363  1.1  christos                       if test -z "$haveit"; then
   4364  1.1  christos                         rpathdirs="$rpathdirs $dir"
   4365  1.1  christos                       fi
   4366  1.1  christos                                                                   haveit=
   4367  1.1  christos                       for x in $ltrpathdirs; do
   4368  1.1  christos                         if test "X$x" = "X$dir"; then
   4369  1.1  christos                           haveit=yes
   4370  1.1  christos                           break
   4371  1.1  christos                         fi
   4372  1.1  christos                       done
   4373  1.1  christos                       if test -z "$haveit"; then
   4374  1.1  christos                         ltrpathdirs="$ltrpathdirs $dir"
   4375  1.1  christos                       fi
   4376  1.1  christos                     fi
   4377  1.1  christos                     ;;
   4378  1.1  christos                   -l*)
   4379  1.1  christos                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   4380  1.1  christos                     ;;
   4381  1.1  christos                   *.la)
   4382  1.1  christos                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   4383  1.1  christos                     ;;
   4384  1.1  christos                   *)
   4385  1.1  christos                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   4386  1.1  christos                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   4387  1.1  christos                     ;;
   4388  1.1  christos                 esac
   4389  1.1  christos               done
   4390  1.1  christos             fi
   4391  1.1  christos           else
   4392  1.1  christos                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   4393  1.1  christos             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   4394  1.1  christos           fi
   4395  1.1  christos         fi
   4396  1.1  christos       fi
   4397  1.1  christos     done
   4398  1.1  christos   done
   4399  1.1  christos   if test "X$rpathdirs" != "X"; then
   4400  1.1  christos     if test -n "$hardcode_libdir_separator"; then
   4401  1.1  christos                         alldirs=
   4402  1.1  christos       for found_dir in $rpathdirs; do
   4403  1.1  christos         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   4404  1.1  christos       done
   4405  1.1  christos             acl_save_libdir="$libdir"
   4406  1.1  christos       libdir="$alldirs"
   4407  1.1  christos       eval flag=\"$hardcode_libdir_flag_spec\"
   4408  1.1  christos       libdir="$acl_save_libdir"
   4409  1.1  christos       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   4410  1.1  christos     else
   4411  1.1  christos             for found_dir in $rpathdirs; do
   4412  1.1  christos         acl_save_libdir="$libdir"
   4413  1.1  christos         libdir="$found_dir"
   4414  1.1  christos         eval flag=\"$hardcode_libdir_flag_spec\"
   4415  1.1  christos         libdir="$acl_save_libdir"
   4416  1.1  christos         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   4417  1.1  christos       done
   4418  1.1  christos     fi
   4419  1.1  christos   fi
   4420  1.1  christos   if test "X$ltrpathdirs" != "X"; then
   4421  1.1  christos             for found_dir in $ltrpathdirs; do
   4422  1.1  christos       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   4423  1.1  christos     done
   4424  1.1  christos   fi
   4425  1.1  christos 
   4426  1.1  christos           echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
   4427  1.1  christos echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
   4428  1.1  christos if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
   4429  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   4430  1.1  christos else
   4431  1.1  christos   gt_save_CPPFLAGS="$CPPFLAGS"
   4432  1.1  christos             CPPFLAGS="$CPPFLAGS $INCINTL"
   4433  1.1  christos             gt_save_LIBS="$LIBS"
   4434  1.1  christos             LIBS="$LIBS $LIBINTL"
   4435  1.1  christos                         cat >conftest.$ac_ext <<_ACEOF
   4436  1.1  christos /* confdefs.h.  */
   4437  1.1  christos _ACEOF
   4438  1.1  christos cat confdefs.h >>conftest.$ac_ext
   4439  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   4440  1.1  christos /* end confdefs.h.  */
   4441  1.1  christos #include <libintl.h>
   4442  1.1  christos extern int _nl_msg_cat_cntr;
   4443  1.1  christos extern
   4444  1.1  christos #ifdef __cplusplus
   4445  1.1  christos "C"
   4446  1.1  christos #endif
   4447  1.1  christos const char *_nl_expand_alias ();
   4448  1.1  christos int
   4449  1.1  christos main ()
   4450  1.1  christos {
   4451  1.1  christos bindtextdomain ("", "");
   4452  1.1  christos return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
   4453  1.1  christos   ;
   4454  1.1  christos   return 0;
   4455  1.1  christos }
   4456  1.1  christos _ACEOF
   4457  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   4458  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4459  1.1  christos   (eval $ac_link) 2>conftest.er1
   4460  1.1  christos   ac_status=$?
   4461  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   4462  1.1  christos   rm -f conftest.er1
   4463  1.1  christos   cat conftest.err >&5
   4464  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4465  1.1  christos   (exit $ac_status); } &&
   4466  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4467  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4468  1.1  christos   (eval $ac_try) 2>&5
   4469  1.1  christos   ac_status=$?
   4470  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4471  1.1  christos   (exit $ac_status); }; } &&
   4472  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   4473  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4474  1.1  christos   (eval $ac_try) 2>&5
   4475  1.1  christos   ac_status=$?
   4476  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4477  1.1  christos   (exit $ac_status); }; }; then
   4478  1.1  christos   gt_cv_func_gnugettext1_libintl=yes
   4479  1.1  christos else
   4480  1.1  christos   echo "$as_me: failed program was:" >&5
   4481  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   4482  1.1  christos 
   4483  1.1  christos gt_cv_func_gnugettext1_libintl=no
   4484  1.1  christos fi
   4485  1.1  christos rm -f conftest.err conftest.$ac_objext \
   4486  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   4487  1.1  christos                         if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
   4488  1.1  christos               LIBS="$LIBS $LIBICONV"
   4489  1.1  christos               cat >conftest.$ac_ext <<_ACEOF
   4490  1.1  christos /* confdefs.h.  */
   4491  1.1  christos _ACEOF
   4492  1.1  christos cat confdefs.h >>conftest.$ac_ext
   4493  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   4494  1.1  christos /* end confdefs.h.  */
   4495  1.1  christos #include <libintl.h>
   4496  1.1  christos extern int _nl_msg_cat_cntr;
   4497  1.1  christos extern
   4498  1.1  christos #ifdef __cplusplus
   4499  1.1  christos "C"
   4500  1.1  christos #endif
   4501  1.1  christos const char *_nl_expand_alias ();
   4502  1.1  christos int
   4503  1.1  christos main ()
   4504  1.1  christos {
   4505  1.1  christos bindtextdomain ("", "");
   4506  1.1  christos return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
   4507  1.1  christos   ;
   4508  1.1  christos   return 0;
   4509  1.1  christos }
   4510  1.1  christos _ACEOF
   4511  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   4512  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4513  1.1  christos   (eval $ac_link) 2>conftest.er1
   4514  1.1  christos   ac_status=$?
   4515  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   4516  1.1  christos   rm -f conftest.er1
   4517  1.1  christos   cat conftest.err >&5
   4518  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4519  1.1  christos   (exit $ac_status); } &&
   4520  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4521  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4522  1.1  christos   (eval $ac_try) 2>&5
   4523  1.1  christos   ac_status=$?
   4524  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4525  1.1  christos   (exit $ac_status); }; } &&
   4526  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   4527  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4528  1.1  christos   (eval $ac_try) 2>&5
   4529  1.1  christos   ac_status=$?
   4530  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4531  1.1  christos   (exit $ac_status); }; }; then
   4532  1.1  christos   LIBINTL="$LIBINTL $LIBICONV"
   4533  1.1  christos                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   4534  1.1  christos                 gt_cv_func_gnugettext1_libintl=yes
   4535  1.1  christos 
   4536  1.1  christos else
   4537  1.1  christos   echo "$as_me: failed program was:" >&5
   4538  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   4539  1.1  christos 
   4540  1.1  christos fi
   4541  1.1  christos rm -f conftest.err conftest.$ac_objext \
   4542  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   4543  1.1  christos             fi
   4544  1.1  christos             CPPFLAGS="$gt_save_CPPFLAGS"
   4545  1.1  christos             LIBS="$gt_save_LIBS"
   4546  1.1  christos fi
   4547  1.1  christos echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
   4548  1.1  christos echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
   4549  1.1  christos         fi
   4550  1.1  christos 
   4551  1.1  christos                                         if test "$gt_cv_func_gnugettext1_libc" = "yes" \
   4552  1.1  christos            || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
   4553  1.1  christos                 && test "$PACKAGE" != gettext-runtime \
   4554  1.1  christos                 && test "$PACKAGE" != gettext-tools; }; then
   4555  1.1  christos           gt_use_preinstalled_gnugettext=yes
   4556  1.1  christos         else
   4557  1.1  christos                     LIBINTL=
   4558  1.1  christos           LTLIBINTL=
   4559  1.1  christos           INCINTL=
   4560  1.1  christos         fi
   4561  1.1  christos 
   4562  1.1  christos 
   4563  1.1  christos 
   4564  1.1  christos     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   4565  1.1  christos        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   4566  1.1  christos 
   4567  1.1  christos cat >>confdefs.h <<\_ACEOF
   4568  1.1  christos #define ENABLE_NLS 1
   4569  1.1  christos _ACEOF
   4570  1.1  christos 
   4571  1.1  christos     else
   4572  1.1  christos       USE_NLS=no
   4573  1.1  christos     fi
   4574  1.1  christos   fi
   4575  1.1  christos 
   4576  1.1  christos   echo "$as_me:$LINENO: checking whether to use NLS" >&5
   4577  1.1  christos echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
   4578  1.1  christos   echo "$as_me:$LINENO: result: $USE_NLS" >&5
   4579  1.1  christos echo "${ECHO_T}$USE_NLS" >&6
   4580  1.1  christos   if test "$USE_NLS" = "yes"; then
   4581  1.1  christos     echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
   4582  1.1  christos echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
   4583  1.1  christos     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   4584  1.1  christos       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   4585  1.1  christos         gt_source="external libintl"
   4586  1.1  christos       else
   4587  1.1  christos         gt_source="libc"
   4588  1.1  christos       fi
   4589  1.1  christos     else
   4590  1.1  christos       gt_source="included intl directory"
   4591  1.1  christos     fi
   4592  1.1  christos     echo "$as_me:$LINENO: result: $gt_source" >&5
   4593  1.1  christos echo "${ECHO_T}$gt_source" >&6
   4594  1.1  christos   fi
   4595  1.1  christos 
   4596  1.1  christos   if test "$USE_NLS" = "yes"; then
   4597  1.1  christos 
   4598  1.1  christos     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   4599  1.1  christos       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   4600  1.1  christos         echo "$as_me:$LINENO: checking how to link with libintl" >&5
   4601  1.1  christos echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
   4602  1.1  christos         echo "$as_me:$LINENO: result: $LIBINTL" >&5
   4603  1.1  christos echo "${ECHO_T}$LIBINTL" >&6
   4604  1.1  christos 
   4605  1.1  christos   for element in $INCINTL; do
   4606  1.1  christos     haveit=
   4607  1.1  christos     for x in $CPPFLAGS; do
   4608  1.1  christos 
   4609  1.1  christos   acl_save_prefix="$prefix"
   4610  1.1  christos   prefix="$acl_final_prefix"
   4611  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4612  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4613  1.1  christos   eval x=\"$x\"
   4614  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4615  1.1  christos   prefix="$acl_save_prefix"
   4616  1.1  christos 
   4617  1.1  christos       if test "X$x" = "X$element"; then
   4618  1.1  christos         haveit=yes
   4619  1.1  christos         break
   4620  1.1  christos       fi
   4621  1.1  christos     done
   4622  1.1  christos     if test -z "$haveit"; then
   4623  1.1  christos       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   4624  1.1  christos     fi
   4625  1.1  christos   done
   4626  1.1  christos 
   4627  1.1  christos       fi
   4628  1.1  christos 
   4629  1.1  christos 
   4630  1.1  christos cat >>confdefs.h <<\_ACEOF
   4631  1.1  christos #define HAVE_GETTEXT 1
   4632  1.1  christos _ACEOF
   4633  1.1  christos 
   4634  1.1  christos 
   4635  1.1  christos cat >>confdefs.h <<\_ACEOF
   4636  1.1  christos #define HAVE_DCGETTEXT 1
   4637  1.1  christos _ACEOF
   4638  1.1  christos 
   4639  1.1  christos     fi
   4640  1.1  christos 
   4641  1.1  christos         POSUB=po
   4642  1.1  christos   fi
   4643  1.1  christos 
   4644  1.1  christos 
   4645  1.1  christos 
   4646  1.1  christos     INTLLIBS="$LIBINTL"
   4647  1.1  christos 
   4648  1.1  christos 
   4649  1.1  christos 
   4650  1.1  christos 
   4651  1.1  christos 
   4652  1.1  christos 
   4653  1.1  christos 
   4654  1.1  christos 
   4655  1.1  christos for ac_prog in 'bison -y' byacc
   4656  1.1  christos do
   4657  1.1  christos   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4658  1.1  christos set dummy $ac_prog; ac_word=$2
   4659  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   4660  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4661  1.1  christos if test "${ac_cv_prog_YACC+set}" = set; then
   4662  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   4663  1.1  christos else
   4664  1.1  christos   if test -n "$YACC"; then
   4665  1.1  christos   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   4666  1.1  christos else
   4667  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4668  1.1  christos for as_dir in $PATH
   4669  1.1  christos do
   4670  1.1  christos   IFS=$as_save_IFS
   4671  1.1  christos   test -z "$as_dir" && as_dir=.
   4672  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   4673  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4674  1.1  christos     ac_cv_prog_YACC="$ac_prog"
   4675  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4676  1.1  christos     break 2
   4677  1.1  christos   fi
   4678  1.1  christos done
   4679  1.1  christos done
   4680  1.1  christos 
   4681  1.1  christos fi
   4682  1.1  christos fi
   4683  1.1  christos YACC=$ac_cv_prog_YACC
   4684  1.1  christos if test -n "$YACC"; then
   4685  1.1  christos   echo "$as_me:$LINENO: result: $YACC" >&5
   4686  1.1  christos echo "${ECHO_T}$YACC" >&6
   4687  1.1  christos else
   4688  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   4689  1.1  christos echo "${ECHO_T}no" >&6
   4690  1.1  christos fi
   4691  1.1  christos 
   4692  1.1  christos   test -n "$YACC" && break
   4693  1.1  christos done
   4694  1.1  christos test -n "$YACC" || YACC="yacc"
   4695  1.1  christos 
   4696  1.1  christos for ac_prog in flex lex
   4697  1.1  christos do
   4698  1.1  christos   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4699  1.1  christos set dummy $ac_prog; ac_word=$2
   4700  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   4701  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4702  1.1  christos if test "${ac_cv_prog_LEX+set}" = set; then
   4703  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   4704  1.1  christos else
   4705  1.1  christos   if test -n "$LEX"; then
   4706  1.1  christos   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   4707  1.1  christos else
   4708  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4709  1.1  christos for as_dir in $PATH
   4710  1.1  christos do
   4711  1.1  christos   IFS=$as_save_IFS
   4712  1.1  christos   test -z "$as_dir" && as_dir=.
   4713  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   4714  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4715  1.1  christos     ac_cv_prog_LEX="$ac_prog"
   4716  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4717  1.1  christos     break 2
   4718  1.1  christos   fi
   4719  1.1  christos done
   4720  1.1  christos done
   4721  1.1  christos 
   4722  1.1  christos fi
   4723  1.1  christos fi
   4724  1.1  christos LEX=$ac_cv_prog_LEX
   4725  1.1  christos if test -n "$LEX"; then
   4726  1.1  christos   echo "$as_me:$LINENO: result: $LEX" >&5
   4727  1.1  christos echo "${ECHO_T}$LEX" >&6
   4728  1.1  christos else
   4729  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   4730  1.1  christos echo "${ECHO_T}no" >&6
   4731  1.1  christos fi
   4732  1.1  christos 
   4733  1.1  christos   test -n "$LEX" && break
   4734  1.1  christos done
   4735  1.1  christos test -n "$LEX" || LEX=":"
   4736  1.1  christos 
   4737  1.1  christos if test -z "$LEXLIB"
   4738  1.1  christos then
   4739  1.1  christos   echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
   4740  1.1  christos echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
   4741  1.1  christos if test "${ac_cv_lib_fl_yywrap+set}" = set; then
   4742  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   4743  1.1  christos else
   4744  1.1  christos   ac_check_lib_save_LIBS=$LIBS
   4745  1.1  christos LIBS="-lfl  $LIBS"
   4746  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   4747  1.1  christos /* confdefs.h.  */
   4748  1.1  christos _ACEOF
   4749  1.1  christos cat confdefs.h >>conftest.$ac_ext
   4750  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   4751  1.1  christos /* end confdefs.h.  */
   4752  1.1  christos 
   4753  1.1  christos /* Override any gcc2 internal prototype to avoid an error.  */
   4754  1.1  christos #ifdef __cplusplus
   4755  1.1  christos extern "C"
   4756  1.1  christos #endif
   4757  1.1  christos /* We use char because int might match the return type of a gcc2
   4758  1.1  christos    builtin and then its argument prototype would still apply.  */
   4759  1.1  christos char yywrap ();
   4760  1.1  christos int
   4761  1.1  christos main ()
   4762  1.1  christos {
   4763  1.1  christos yywrap ();
   4764  1.1  christos   ;
   4765  1.1  christos   return 0;
   4766  1.1  christos }
   4767  1.1  christos _ACEOF
   4768  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   4769  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4770  1.1  christos   (eval $ac_link) 2>conftest.er1
   4771  1.1  christos   ac_status=$?
   4772  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   4773  1.1  christos   rm -f conftest.er1
   4774  1.1  christos   cat conftest.err >&5
   4775  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4776  1.1  christos   (exit $ac_status); } &&
   4777  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4778  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4779  1.1  christos   (eval $ac_try) 2>&5
   4780  1.1  christos   ac_status=$?
   4781  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4782  1.1  christos   (exit $ac_status); }; } &&
   4783  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   4784  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4785  1.1  christos   (eval $ac_try) 2>&5
   4786  1.1  christos   ac_status=$?
   4787  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4788  1.1  christos   (exit $ac_status); }; }; then
   4789  1.1  christos   ac_cv_lib_fl_yywrap=yes
   4790  1.1  christos else
   4791  1.1  christos   echo "$as_me: failed program was:" >&5
   4792  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   4793  1.1  christos 
   4794  1.1  christos ac_cv_lib_fl_yywrap=no
   4795  1.1  christos fi
   4796  1.1  christos rm -f conftest.err conftest.$ac_objext \
   4797  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   4798  1.1  christos LIBS=$ac_check_lib_save_LIBS
   4799  1.1  christos fi
   4800  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
   4801  1.1  christos echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
   4802  1.1  christos if test $ac_cv_lib_fl_yywrap = yes; then
   4803  1.1  christos   LEXLIB="-lfl"
   4804  1.1  christos else
   4805  1.1  christos   echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
   4806  1.1  christos echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
   4807  1.1  christos if test "${ac_cv_lib_l_yywrap+set}" = set; then
   4808  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   4809  1.1  christos else
   4810  1.1  christos   ac_check_lib_save_LIBS=$LIBS
   4811  1.1  christos LIBS="-ll  $LIBS"
   4812  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   4813  1.1  christos /* confdefs.h.  */
   4814  1.1  christos _ACEOF
   4815  1.1  christos cat confdefs.h >>conftest.$ac_ext
   4816  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   4817  1.1  christos /* end confdefs.h.  */
   4818  1.1  christos 
   4819  1.1  christos /* Override any gcc2 internal prototype to avoid an error.  */
   4820  1.1  christos #ifdef __cplusplus
   4821  1.1  christos extern "C"
   4822  1.1  christos #endif
   4823  1.1  christos /* We use char because int might match the return type of a gcc2
   4824  1.1  christos    builtin and then its argument prototype would still apply.  */
   4825  1.1  christos char yywrap ();
   4826  1.1  christos int
   4827  1.1  christos main ()
   4828  1.1  christos {
   4829  1.1  christos yywrap ();
   4830  1.1  christos   ;
   4831  1.1  christos   return 0;
   4832  1.1  christos }
   4833  1.1  christos _ACEOF
   4834  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   4835  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4836  1.1  christos   (eval $ac_link) 2>conftest.er1
   4837  1.1  christos   ac_status=$?
   4838  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   4839  1.1  christos   rm -f conftest.er1
   4840  1.1  christos   cat conftest.err >&5
   4841  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4842  1.1  christos   (exit $ac_status); } &&
   4843  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4844  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4845  1.1  christos   (eval $ac_try) 2>&5
   4846  1.1  christos   ac_status=$?
   4847  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4848  1.1  christos   (exit $ac_status); }; } &&
   4849  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   4850  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4851  1.1  christos   (eval $ac_try) 2>&5
   4852  1.1  christos   ac_status=$?
   4853  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4854  1.1  christos   (exit $ac_status); }; }; then
   4855  1.1  christos   ac_cv_lib_l_yywrap=yes
   4856  1.1  christos else
   4857  1.1  christos   echo "$as_me: failed program was:" >&5
   4858  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   4859  1.1  christos 
   4860  1.1  christos ac_cv_lib_l_yywrap=no
   4861  1.1  christos fi
   4862  1.1  christos rm -f conftest.err conftest.$ac_objext \
   4863  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   4864  1.1  christos LIBS=$ac_check_lib_save_LIBS
   4865  1.1  christos fi
   4866  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
   4867  1.1  christos echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
   4868  1.1  christos if test $ac_cv_lib_l_yywrap = yes; then
   4869  1.1  christos   LEXLIB="-ll"
   4870  1.1  christos fi
   4871  1.1  christos 
   4872  1.1  christos fi
   4873  1.1  christos 
   4874  1.1  christos fi
   4875  1.1  christos 
   4876  1.1  christos if test "x$LEX" != "x:"; then
   4877  1.1  christos   echo "$as_me:$LINENO: checking lex output file root" >&5
   4878  1.1  christos echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
   4879  1.1  christos if test "${ac_cv_prog_lex_root+set}" = set; then
   4880  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   4881  1.1  christos else
   4882  1.1  christos   # The minimal lex program is just a single line: %%.  But some broken lexes
   4883  1.1  christos # (Solaris, I think it was) want two %% lines, so accommodate them.
   4884  1.1  christos cat >conftest.l <<_ACEOF
   4885  1.1  christos %%
   4886  1.1  christos %%
   4887  1.1  christos _ACEOF
   4888  1.1  christos { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
   4889  1.1  christos   (eval $LEX conftest.l) 2>&5
   4890  1.1  christos   ac_status=$?
   4891  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4892  1.1  christos   (exit $ac_status); }
   4893  1.1  christos if test -f lex.yy.c; then
   4894  1.1  christos   ac_cv_prog_lex_root=lex.yy
   4895  1.1  christos elif test -f lexyy.c; then
   4896  1.1  christos   ac_cv_prog_lex_root=lexyy
   4897  1.1  christos else
   4898  1.1  christos   { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
   4899  1.1  christos echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
   4900  1.1  christos    { (exit 1); exit 1; }; }
   4901  1.1  christos fi
   4902  1.1  christos fi
   4903  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
   4904  1.1  christos echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
   4905  1.1  christos rm -f conftest.l
   4906  1.1  christos LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
   4907  1.1  christos 
   4908  1.1  christos echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
   4909  1.1  christos echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
   4910  1.1  christos if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
   4911  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   4912  1.1  christos else
   4913  1.1  christos   # POSIX says lex can declare yytext either as a pointer or an array; the
   4914  1.1  christos # default is implementation-dependent. Figure out which it is, since
   4915  1.1  christos # not all implementations provide the %pointer and %array declarations.
   4916  1.1  christos ac_cv_prog_lex_yytext_pointer=no
   4917  1.1  christos echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
   4918  1.1  christos ac_save_LIBS=$LIBS
   4919  1.1  christos LIBS="$LIBS $LEXLIB"
   4920  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   4921  1.1  christos `cat $LEX_OUTPUT_ROOT.c`
   4922  1.1  christos _ACEOF
   4923  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   4924  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4925  1.1  christos   (eval $ac_link) 2>conftest.er1
   4926  1.1  christos   ac_status=$?
   4927  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   4928  1.1  christos   rm -f conftest.er1
   4929  1.1  christos   cat conftest.err >&5
   4930  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4931  1.1  christos   (exit $ac_status); } &&
   4932  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4933  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4934  1.1  christos   (eval $ac_try) 2>&5
   4935  1.1  christos   ac_status=$?
   4936  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4937  1.1  christos   (exit $ac_status); }; } &&
   4938  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   4939  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4940  1.1  christos   (eval $ac_try) 2>&5
   4941  1.1  christos   ac_status=$?
   4942  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4943  1.1  christos   (exit $ac_status); }; }; then
   4944  1.1  christos   ac_cv_prog_lex_yytext_pointer=yes
   4945  1.1  christos else
   4946  1.1  christos   echo "$as_me: failed program was:" >&5
   4947  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   4948  1.1  christos 
   4949  1.1  christos fi
   4950  1.1  christos rm -f conftest.err conftest.$ac_objext \
   4951  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   4952  1.1  christos LIBS=$ac_save_LIBS
   4953  1.1  christos rm -f "${LEX_OUTPUT_ROOT}.c"
   4954  1.1  christos 
   4955  1.1  christos fi
   4956  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
   4957  1.1  christos echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
   4958  1.1  christos if test $ac_cv_prog_lex_yytext_pointer = yes; then
   4959  1.1  christos 
   4960  1.1  christos cat >>confdefs.h <<\_ACEOF
   4961  1.1  christos #define YYTEXT_POINTER 1
   4962  1.1  christos _ACEOF
   4963  1.1  christos 
   4964  1.1  christos fi
   4965  1.1  christos 
   4966  1.1  christos fi
   4967  1.1  christos if test "$LEX" = :; then
   4968  1.1  christos   LEX=${am_missing_run}flex
   4969  1.1  christos fi
   4970  1.1  christos ac_ext=c
   4971  1.1  christos ac_cpp='$CPP $CPPFLAGS'
   4972  1.1  christos ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4973  1.1  christos ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4974  1.1  christos ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4975  1.1  christos if test -n "$ac_tool_prefix"; then
   4976  1.1  christos   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4977  1.1  christos set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4978  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   4979  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4980  1.1  christos if test "${ac_cv_prog_CC+set}" = set; then
   4981  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   4982  1.1  christos else
   4983  1.1  christos   if test -n "$CC"; then
   4984  1.1  christos   ac_cv_prog_CC="$CC" # Let the user override the test.
   4985  1.1  christos else
   4986  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4987  1.1  christos for as_dir in $PATH
   4988  1.1  christos do
   4989  1.1  christos   IFS=$as_save_IFS
   4990  1.1  christos   test -z "$as_dir" && as_dir=.
   4991  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   4992  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4993  1.1  christos     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4994  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4995  1.1  christos     break 2
   4996  1.1  christos   fi
   4997  1.1  christos done
   4998  1.1  christos done
   4999  1.1  christos 
   5000  1.1  christos fi
   5001  1.1  christos fi
   5002  1.1  christos CC=$ac_cv_prog_CC
   5003  1.1  christos if test -n "$CC"; then
   5004  1.1  christos   echo "$as_me:$LINENO: result: $CC" >&5
   5005  1.1  christos echo "${ECHO_T}$CC" >&6
   5006  1.1  christos else
   5007  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   5008  1.1  christos echo "${ECHO_T}no" >&6
   5009  1.1  christos fi
   5010  1.1  christos 
   5011  1.1  christos fi
   5012  1.1  christos if test -z "$ac_cv_prog_CC"; then
   5013  1.1  christos   ac_ct_CC=$CC
   5014  1.1  christos   # Extract the first word of "gcc", so it can be a program name with args.
   5015  1.1  christos set dummy gcc; ac_word=$2
   5016  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   5017  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5018  1.1  christos if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   5019  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   5020  1.1  christos else
   5021  1.1  christos   if test -n "$ac_ct_CC"; then
   5022  1.1  christos   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5023  1.1  christos else
   5024  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5025  1.1  christos for as_dir in $PATH
   5026  1.1  christos do
   5027  1.1  christos   IFS=$as_save_IFS
   5028  1.1  christos   test -z "$as_dir" && as_dir=.
   5029  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   5030  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5031  1.1  christos     ac_cv_prog_ac_ct_CC="gcc"
   5032  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5033  1.1  christos     break 2
   5034  1.1  christos   fi
   5035  1.1  christos done
   5036  1.1  christos done
   5037  1.1  christos 
   5038  1.1  christos fi
   5039  1.1  christos fi
   5040  1.1  christos ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5041  1.1  christos if test -n "$ac_ct_CC"; then
   5042  1.1  christos   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   5043  1.1  christos echo "${ECHO_T}$ac_ct_CC" >&6
   5044  1.1  christos else
   5045  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   5046  1.1  christos echo "${ECHO_T}no" >&6
   5047  1.1  christos fi
   5048  1.1  christos 
   5049  1.1  christos   CC=$ac_ct_CC
   5050  1.1  christos else
   5051  1.1  christos   CC="$ac_cv_prog_CC"
   5052  1.1  christos fi
   5053  1.1  christos 
   5054  1.1  christos if test -z "$CC"; then
   5055  1.1  christos   if test -n "$ac_tool_prefix"; then
   5056  1.1  christos   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   5057  1.1  christos set dummy ${ac_tool_prefix}cc; ac_word=$2
   5058  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   5059  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5060  1.1  christos if test "${ac_cv_prog_CC+set}" = set; then
   5061  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   5062  1.1  christos else
   5063  1.1  christos   if test -n "$CC"; then
   5064  1.1  christos   ac_cv_prog_CC="$CC" # Let the user override the test.
   5065  1.1  christos else
   5066  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5067  1.1  christos for as_dir in $PATH
   5068  1.1  christos do
   5069  1.1  christos   IFS=$as_save_IFS
   5070  1.1  christos   test -z "$as_dir" && as_dir=.
   5071  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   5072  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5073  1.1  christos     ac_cv_prog_CC="${ac_tool_prefix}cc"
   5074  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5075  1.1  christos     break 2
   5076  1.1  christos   fi
   5077  1.1  christos done
   5078  1.1  christos done
   5079  1.1  christos 
   5080  1.1  christos fi
   5081  1.1  christos fi
   5082  1.1  christos CC=$ac_cv_prog_CC
   5083  1.1  christos if test -n "$CC"; then
   5084  1.1  christos   echo "$as_me:$LINENO: result: $CC" >&5
   5085  1.1  christos echo "${ECHO_T}$CC" >&6
   5086  1.1  christos else
   5087  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   5088  1.1  christos echo "${ECHO_T}no" >&6
   5089  1.1  christos fi
   5090  1.1  christos 
   5091  1.1  christos fi
   5092  1.1  christos if test -z "$ac_cv_prog_CC"; then
   5093  1.1  christos   ac_ct_CC=$CC
   5094  1.1  christos   # Extract the first word of "cc", so it can be a program name with args.
   5095  1.1  christos set dummy cc; ac_word=$2
   5096  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   5097  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5098  1.1  christos if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   5099  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   5100  1.1  christos else
   5101  1.1  christos   if test -n "$ac_ct_CC"; then
   5102  1.1  christos   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5103  1.1  christos else
   5104  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5105  1.1  christos for as_dir in $PATH
   5106  1.1  christos do
   5107  1.1  christos   IFS=$as_save_IFS
   5108  1.1  christos   test -z "$as_dir" && as_dir=.
   5109  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   5110  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5111  1.1  christos     ac_cv_prog_ac_ct_CC="cc"
   5112  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5113  1.1  christos     break 2
   5114  1.1  christos   fi
   5115  1.1  christos done
   5116  1.1  christos done
   5117  1.1  christos 
   5118  1.1  christos fi
   5119  1.1  christos fi
   5120  1.1  christos ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5121  1.1  christos if test -n "$ac_ct_CC"; then
   5122  1.1  christos   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   5123  1.1  christos echo "${ECHO_T}$ac_ct_CC" >&6
   5124  1.1  christos else
   5125  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   5126  1.1  christos echo "${ECHO_T}no" >&6
   5127  1.1  christos fi
   5128  1.1  christos 
   5129  1.1  christos   CC=$ac_ct_CC
   5130  1.1  christos else
   5131  1.1  christos   CC="$ac_cv_prog_CC"
   5132  1.1  christos fi
   5133  1.1  christos 
   5134  1.1  christos fi
   5135  1.1  christos if test -z "$CC"; then
   5136  1.1  christos   # Extract the first word of "cc", so it can be a program name with args.
   5137  1.1  christos set dummy cc; ac_word=$2
   5138  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   5139  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5140  1.1  christos if test "${ac_cv_prog_CC+set}" = set; then
   5141  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   5142  1.1  christos else
   5143  1.1  christos   if test -n "$CC"; then
   5144  1.1  christos   ac_cv_prog_CC="$CC" # Let the user override the test.
   5145  1.1  christos else
   5146  1.1  christos   ac_prog_rejected=no
   5147  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5148  1.1  christos for as_dir in $PATH
   5149  1.1  christos do
   5150  1.1  christos   IFS=$as_save_IFS
   5151  1.1  christos   test -z "$as_dir" && as_dir=.
   5152  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   5153  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5154  1.1  christos     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   5155  1.1  christos        ac_prog_rejected=yes
   5156  1.1  christos        continue
   5157  1.1  christos      fi
   5158  1.1  christos     ac_cv_prog_CC="cc"
   5159  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5160  1.1  christos     break 2
   5161  1.1  christos   fi
   5162  1.1  christos done
   5163  1.1  christos done
   5164  1.1  christos 
   5165  1.1  christos if test $ac_prog_rejected = yes; then
   5166  1.1  christos   # We found a bogon in the path, so make sure we never use it.
   5167  1.1  christos   set dummy $ac_cv_prog_CC
   5168  1.1  christos   shift
   5169  1.1  christos   if test $# != 0; then
   5170  1.1  christos     # We chose a different compiler from the bogus one.
   5171  1.1  christos     # However, it has the same basename, so the bogon will be chosen
   5172  1.1  christos     # first if we set CC to just the basename; use the full file name.
   5173  1.1  christos     shift
   5174  1.1  christos     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   5175  1.1  christos   fi
   5176  1.1  christos fi
   5177  1.1  christos fi
   5178  1.1  christos fi
   5179  1.1  christos CC=$ac_cv_prog_CC
   5180  1.1  christos if test -n "$CC"; then
   5181  1.1  christos   echo "$as_me:$LINENO: result: $CC" >&5
   5182  1.1  christos echo "${ECHO_T}$CC" >&6
   5183  1.1  christos else
   5184  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   5185  1.1  christos echo "${ECHO_T}no" >&6
   5186  1.1  christos fi
   5187  1.1  christos 
   5188  1.1  christos fi
   5189  1.1  christos if test -z "$CC"; then
   5190  1.1  christos   if test -n "$ac_tool_prefix"; then
   5191  1.1  christos   for ac_prog in cl
   5192  1.1  christos   do
   5193  1.1  christos     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5194  1.1  christos set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5195  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   5196  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5197  1.1  christos if test "${ac_cv_prog_CC+set}" = set; then
   5198  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   5199  1.1  christos else
   5200  1.1  christos   if test -n "$CC"; then
   5201  1.1  christos   ac_cv_prog_CC="$CC" # Let the user override the test.
   5202  1.1  christos else
   5203  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5204  1.1  christos for as_dir in $PATH
   5205  1.1  christos do
   5206  1.1  christos   IFS=$as_save_IFS
   5207  1.1  christos   test -z "$as_dir" && as_dir=.
   5208  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   5209  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5210  1.1  christos     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   5211  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5212  1.1  christos     break 2
   5213  1.1  christos   fi
   5214  1.1  christos done
   5215  1.1  christos done
   5216  1.1  christos 
   5217  1.1  christos fi
   5218  1.1  christos fi
   5219  1.1  christos CC=$ac_cv_prog_CC
   5220  1.1  christos if test -n "$CC"; then
   5221  1.1  christos   echo "$as_me:$LINENO: result: $CC" >&5
   5222  1.1  christos echo "${ECHO_T}$CC" >&6
   5223  1.1  christos else
   5224  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   5225  1.1  christos echo "${ECHO_T}no" >&6
   5226  1.1  christos fi
   5227  1.1  christos 
   5228  1.1  christos     test -n "$CC" && break
   5229  1.1  christos   done
   5230  1.1  christos fi
   5231  1.1  christos if test -z "$CC"; then
   5232  1.1  christos   ac_ct_CC=$CC
   5233  1.1  christos   for ac_prog in cl
   5234  1.1  christos do
   5235  1.1  christos   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5236  1.1  christos set dummy $ac_prog; ac_word=$2
   5237  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   5238  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5239  1.1  christos if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   5240  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   5241  1.1  christos else
   5242  1.1  christos   if test -n "$ac_ct_CC"; then
   5243  1.1  christos   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5244  1.1  christos else
   5245  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5246  1.1  christos for as_dir in $PATH
   5247  1.1  christos do
   5248  1.1  christos   IFS=$as_save_IFS
   5249  1.1  christos   test -z "$as_dir" && as_dir=.
   5250  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   5251  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5252  1.1  christos     ac_cv_prog_ac_ct_CC="$ac_prog"
   5253  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5254  1.1  christos     break 2
   5255  1.1  christos   fi
   5256  1.1  christos done
   5257  1.1  christos done
   5258  1.1  christos 
   5259  1.1  christos fi
   5260  1.1  christos fi
   5261  1.1  christos ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5262  1.1  christos if test -n "$ac_ct_CC"; then
   5263  1.1  christos   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   5264  1.1  christos echo "${ECHO_T}$ac_ct_CC" >&6
   5265  1.1  christos else
   5266  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   5267  1.1  christos echo "${ECHO_T}no" >&6
   5268  1.1  christos fi
   5269  1.1  christos 
   5270  1.1  christos   test -n "$ac_ct_CC" && break
   5271  1.1  christos done
   5272  1.1  christos 
   5273  1.1  christos   CC=$ac_ct_CC
   5274  1.1  christos fi
   5275  1.1  christos 
   5276  1.1  christos fi
   5277  1.1  christos 
   5278  1.1  christos 
   5279  1.1  christos test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   5280  1.1  christos See \`config.log' for more details." >&5
   5281  1.1  christos echo "$as_me: error: no acceptable C compiler found in \$PATH
   5282  1.1  christos See \`config.log' for more details." >&2;}
   5283  1.1  christos    { (exit 1); exit 1; }; }
   5284  1.1  christos 
   5285  1.1  christos # Provide some information about the compiler.
   5286  1.1  christos echo "$as_me:$LINENO:" \
   5287  1.1  christos      "checking for C compiler version" >&5
   5288  1.1  christos ac_compiler=`set X $ac_compile; echo $2`
   5289  1.1  christos { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   5290  1.1  christos   (eval $ac_compiler --version </dev/null >&5) 2>&5
   5291  1.1  christos   ac_status=$?
   5292  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5293  1.1  christos   (exit $ac_status); }
   5294  1.1  christos { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   5295  1.1  christos   (eval $ac_compiler -v </dev/null >&5) 2>&5
   5296  1.1  christos   ac_status=$?
   5297  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5298  1.1  christos   (exit $ac_status); }
   5299  1.1  christos { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   5300  1.1  christos   (eval $ac_compiler -V </dev/null >&5) 2>&5
   5301  1.1  christos   ac_status=$?
   5302  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5303  1.1  christos   (exit $ac_status); }
   5304  1.1  christos 
   5305  1.1  christos echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   5306  1.1  christos echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   5307  1.1  christos if test "${ac_cv_c_compiler_gnu+set}" = set; then
   5308  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   5309  1.1  christos else
   5310  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   5311  1.1  christos /* confdefs.h.  */
   5312  1.1  christos _ACEOF
   5313  1.1  christos cat confdefs.h >>conftest.$ac_ext
   5314  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   5315  1.1  christos /* end confdefs.h.  */
   5316  1.1  christos 
   5317  1.1  christos int
   5318  1.1  christos main ()
   5319  1.1  christos {
   5320  1.1  christos #ifndef __GNUC__
   5321  1.1  christos        choke me
   5322  1.1  christos #endif
   5323  1.1  christos 
   5324  1.1  christos   ;
   5325  1.1  christos   return 0;
   5326  1.1  christos }
   5327  1.1  christos _ACEOF
   5328  1.1  christos rm -f conftest.$ac_objext
   5329  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5330  1.1  christos   (eval $ac_compile) 2>conftest.er1
   5331  1.1  christos   ac_status=$?
   5332  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   5333  1.1  christos   rm -f conftest.er1
   5334  1.1  christos   cat conftest.err >&5
   5335  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5336  1.1  christos   (exit $ac_status); } &&
   5337  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5338  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5339  1.1  christos   (eval $ac_try) 2>&5
   5340  1.1  christos   ac_status=$?
   5341  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5342  1.1  christos   (exit $ac_status); }; } &&
   5343  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   5344  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5345  1.1  christos   (eval $ac_try) 2>&5
   5346  1.1  christos   ac_status=$?
   5347  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5348  1.1  christos   (exit $ac_status); }; }; then
   5349  1.1  christos   ac_compiler_gnu=yes
   5350  1.1  christos else
   5351  1.1  christos   echo "$as_me: failed program was:" >&5
   5352  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   5353  1.1  christos 
   5354  1.1  christos ac_compiler_gnu=no
   5355  1.1  christos fi
   5356  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5357  1.1  christos ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5358  1.1  christos 
   5359  1.1  christos fi
   5360  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   5361  1.1  christos echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   5362  1.1  christos GCC=`test $ac_compiler_gnu = yes && echo yes`
   5363  1.1  christos ac_test_CFLAGS=${CFLAGS+set}
   5364  1.1  christos ac_save_CFLAGS=$CFLAGS
   5365  1.1  christos CFLAGS="-g"
   5366  1.1  christos echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   5367  1.1  christos echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   5368  1.1  christos if test "${ac_cv_prog_cc_g+set}" = set; then
   5369  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   5370  1.1  christos else
   5371  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   5372  1.1  christos /* confdefs.h.  */
   5373  1.1  christos _ACEOF
   5374  1.1  christos cat confdefs.h >>conftest.$ac_ext
   5375  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   5376  1.1  christos /* end confdefs.h.  */
   5377  1.1  christos 
   5378  1.1  christos int
   5379  1.1  christos main ()
   5380  1.1  christos {
   5381  1.1  christos 
   5382  1.1  christos   ;
   5383  1.1  christos   return 0;
   5384  1.1  christos }
   5385  1.1  christos _ACEOF
   5386  1.1  christos rm -f conftest.$ac_objext
   5387  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5388  1.1  christos   (eval $ac_compile) 2>conftest.er1
   5389  1.1  christos   ac_status=$?
   5390  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   5391  1.1  christos   rm -f conftest.er1
   5392  1.1  christos   cat conftest.err >&5
   5393  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5394  1.1  christos   (exit $ac_status); } &&
   5395  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5396  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5397  1.1  christos   (eval $ac_try) 2>&5
   5398  1.1  christos   ac_status=$?
   5399  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5400  1.1  christos   (exit $ac_status); }; } &&
   5401  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   5402  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5403  1.1  christos   (eval $ac_try) 2>&5
   5404  1.1  christos   ac_status=$?
   5405  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5406  1.1  christos   (exit $ac_status); }; }; then
   5407  1.1  christos   ac_cv_prog_cc_g=yes
   5408  1.1  christos else
   5409  1.1  christos   echo "$as_me: failed program was:" >&5
   5410  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   5411  1.1  christos 
   5412  1.1  christos ac_cv_prog_cc_g=no
   5413  1.1  christos fi
   5414  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5415  1.1  christos fi
   5416  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   5417  1.1  christos echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   5418  1.1  christos if test "$ac_test_CFLAGS" = set; then
   5419  1.1  christos   CFLAGS=$ac_save_CFLAGS
   5420  1.1  christos elif test $ac_cv_prog_cc_g = yes; then
   5421  1.1  christos   if test "$GCC" = yes; then
   5422  1.1  christos     CFLAGS="-g -O2"
   5423  1.1  christos   else
   5424  1.1  christos     CFLAGS="-g"
   5425  1.1  christos   fi
   5426  1.1  christos else
   5427  1.1  christos   if test "$GCC" = yes; then
   5428  1.1  christos     CFLAGS="-O2"
   5429  1.1  christos   else
   5430  1.1  christos     CFLAGS=
   5431  1.1  christos   fi
   5432  1.1  christos fi
   5433  1.1  christos echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   5434  1.1  christos echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   5435  1.1  christos if test "${ac_cv_prog_cc_stdc+set}" = set; then
   5436  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   5437  1.1  christos else
   5438  1.1  christos   ac_cv_prog_cc_stdc=no
   5439  1.1  christos ac_save_CC=$CC
   5440  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   5441  1.1  christos /* confdefs.h.  */
   5442  1.1  christos _ACEOF
   5443  1.1  christos cat confdefs.h >>conftest.$ac_ext
   5444  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   5445  1.1  christos /* end confdefs.h.  */
   5446  1.1  christos #include <stdarg.h>
   5447  1.1  christos #include <stdio.h>
   5448  1.1  christos #include <sys/types.h>
   5449  1.1  christos #include <sys/stat.h>
   5450  1.1  christos /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   5451  1.1  christos struct buf { int x; };
   5452  1.1  christos FILE * (*rcsopen) (struct buf *, struct stat *, int);
   5453  1.1  christos static char *e (p, i)
   5454  1.1  christos      char **p;
   5455  1.1  christos      int i;
   5456  1.1  christos {
   5457  1.1  christos   return p[i];
   5458  1.1  christos }
   5459  1.1  christos static char *f (char * (*g) (char **, int), char **p, ...)
   5460  1.1  christos {
   5461  1.1  christos   char *s;
   5462  1.1  christos   va_list v;
   5463  1.1  christos   va_start (v,p);
   5464  1.1  christos   s = g (p, va_arg (v,int));
   5465  1.1  christos   va_end (v);
   5466  1.1  christos   return s;
   5467  1.1  christos }
   5468  1.1  christos 
   5469  1.1  christos /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   5470  1.1  christos    function prototypes and stuff, but not '\xHH' hex character constants.
   5471  1.1  christos    These don't provoke an error unfortunately, instead are silently treated
   5472  1.1  christos    as 'x'.  The following induces an error, until -std1 is added to get
   5473  1.1  christos    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   5474  1.1  christos    array size at least.  It's necessary to write '\x00'==0 to get something
   5475  1.1  christos    that's true only with -std1.  */
   5476  1.1  christos int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   5477  1.1  christos 
   5478  1.1  christos int test (int i, double x);
   5479  1.1  christos struct s1 {int (*f) (int a);};
   5480  1.1  christos struct s2 {int (*f) (double a);};
   5481  1.1  christos int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5482  1.1  christos int argc;
   5483  1.1  christos char **argv;
   5484  1.1  christos int
   5485  1.1  christos main ()
   5486  1.1  christos {
   5487  1.1  christos return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5488  1.1  christos   ;
   5489  1.1  christos   return 0;
   5490  1.1  christos }
   5491  1.1  christos _ACEOF
   5492  1.1  christos # Don't try gcc -ansi; that turns off useful extensions and
   5493  1.1  christos # breaks some systems' header files.
   5494  1.1  christos # AIX			-qlanglvl=ansi
   5495  1.1  christos # Ultrix and OSF/1	-std1
   5496  1.1  christos # HP-UX 10.20 and later	-Ae
   5497  1.1  christos # HP-UX older versions	-Aa -D_HPUX_SOURCE
   5498  1.1  christos # SVR4			-Xc -D__EXTENSIONS__
   5499  1.1  christos for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5500  1.1  christos do
   5501  1.1  christos   CC="$ac_save_CC $ac_arg"
   5502  1.1  christos   rm -f conftest.$ac_objext
   5503  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5504  1.1  christos   (eval $ac_compile) 2>conftest.er1
   5505  1.1  christos   ac_status=$?
   5506  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   5507  1.1  christos   rm -f conftest.er1
   5508  1.1  christos   cat conftest.err >&5
   5509  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5510  1.1  christos   (exit $ac_status); } &&
   5511  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5512  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5513  1.1  christos   (eval $ac_try) 2>&5
   5514  1.1  christos   ac_status=$?
   5515  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5516  1.1  christos   (exit $ac_status); }; } &&
   5517  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   5518  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5519  1.1  christos   (eval $ac_try) 2>&5
   5520  1.1  christos   ac_status=$?
   5521  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5522  1.1  christos   (exit $ac_status); }; }; then
   5523  1.1  christos   ac_cv_prog_cc_stdc=$ac_arg
   5524  1.1  christos break
   5525  1.1  christos else
   5526  1.1  christos   echo "$as_me: failed program was:" >&5
   5527  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   5528  1.1  christos 
   5529  1.1  christos fi
   5530  1.1  christos rm -f conftest.err conftest.$ac_objext
   5531  1.1  christos done
   5532  1.1  christos rm -f conftest.$ac_ext conftest.$ac_objext
   5533  1.1  christos CC=$ac_save_CC
   5534  1.1  christos 
   5535  1.1  christos fi
   5536  1.1  christos 
   5537  1.1  christos case "x$ac_cv_prog_cc_stdc" in
   5538  1.1  christos   x|xno)
   5539  1.1  christos     echo "$as_me:$LINENO: result: none needed" >&5
   5540  1.1  christos echo "${ECHO_T}none needed" >&6 ;;
   5541  1.1  christos   *)
   5542  1.1  christos     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   5543  1.1  christos echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   5544  1.1  christos     CC="$CC $ac_cv_prog_cc_stdc" ;;
   5545  1.1  christos esac
   5546  1.1  christos 
   5547  1.1  christos # Some people use a C++ compiler to compile C.  Since we use `exit',
   5548  1.1  christos # in C++ we need to declare it.  In case someone uses the same compiler
   5549  1.1  christos # for both compiling C and C++ we need to have the C++ compiler decide
   5550  1.1  christos # the declaration of exit, since it's the most demanding environment.
   5551  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   5552  1.1  christos #ifndef __cplusplus
   5553  1.1  christos   choke me
   5554  1.1  christos #endif
   5555  1.1  christos _ACEOF
   5556  1.1  christos rm -f conftest.$ac_objext
   5557  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5558  1.1  christos   (eval $ac_compile) 2>conftest.er1
   5559  1.1  christos   ac_status=$?
   5560  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   5561  1.1  christos   rm -f conftest.er1
   5562  1.1  christos   cat conftest.err >&5
   5563  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5564  1.1  christos   (exit $ac_status); } &&
   5565  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5566  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5567  1.1  christos   (eval $ac_try) 2>&5
   5568  1.1  christos   ac_status=$?
   5569  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5570  1.1  christos   (exit $ac_status); }; } &&
   5571  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   5572  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5573  1.1  christos   (eval $ac_try) 2>&5
   5574  1.1  christos   ac_status=$?
   5575  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5576  1.1  christos   (exit $ac_status); }; }; then
   5577  1.1  christos   for ac_declaration in \
   5578  1.1  christos    '' \
   5579  1.1  christos    'extern "C" void std::exit (int) throw (); using std::exit;' \
   5580  1.1  christos    'extern "C" void std::exit (int); using std::exit;' \
   5581  1.1  christos    'extern "C" void exit (int) throw ();' \
   5582  1.1  christos    'extern "C" void exit (int);' \
   5583  1.1  christos    'void exit (int);'
   5584  1.1  christos do
   5585  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   5586  1.1  christos /* confdefs.h.  */
   5587  1.1  christos _ACEOF
   5588  1.1  christos cat confdefs.h >>conftest.$ac_ext
   5589  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   5590  1.1  christos /* end confdefs.h.  */
   5591  1.1  christos $ac_declaration
   5592  1.1  christos #include <stdlib.h>
   5593  1.1  christos int
   5594  1.1  christos main ()
   5595  1.1  christos {
   5596  1.1  christos exit (42);
   5597  1.1  christos   ;
   5598  1.1  christos   return 0;
   5599  1.1  christos }
   5600  1.1  christos _ACEOF
   5601  1.1  christos rm -f conftest.$ac_objext
   5602  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5603  1.1  christos   (eval $ac_compile) 2>conftest.er1
   5604  1.1  christos   ac_status=$?
   5605  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   5606  1.1  christos   rm -f conftest.er1
   5607  1.1  christos   cat conftest.err >&5
   5608  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5609  1.1  christos   (exit $ac_status); } &&
   5610  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5611  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5612  1.1  christos   (eval $ac_try) 2>&5
   5613  1.1  christos   ac_status=$?
   5614  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5615  1.1  christos   (exit $ac_status); }; } &&
   5616  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   5617  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5618  1.1  christos   (eval $ac_try) 2>&5
   5619  1.1  christos   ac_status=$?
   5620  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5621  1.1  christos   (exit $ac_status); }; }; then
   5622  1.1  christos   :
   5623  1.1  christos else
   5624  1.1  christos   echo "$as_me: failed program was:" >&5
   5625  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   5626  1.1  christos 
   5627  1.1  christos continue
   5628  1.1  christos fi
   5629  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5630  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   5631  1.1  christos /* confdefs.h.  */
   5632  1.1  christos _ACEOF
   5633  1.1  christos cat confdefs.h >>conftest.$ac_ext
   5634  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   5635  1.1  christos /* end confdefs.h.  */
   5636  1.1  christos $ac_declaration
   5637  1.1  christos int
   5638  1.1  christos main ()
   5639  1.1  christos {
   5640  1.1  christos exit (42);
   5641  1.1  christos   ;
   5642  1.1  christos   return 0;
   5643  1.1  christos }
   5644  1.1  christos _ACEOF
   5645  1.1  christos rm -f conftest.$ac_objext
   5646  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5647  1.1  christos   (eval $ac_compile) 2>conftest.er1
   5648  1.1  christos   ac_status=$?
   5649  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   5650  1.1  christos   rm -f conftest.er1
   5651  1.1  christos   cat conftest.err >&5
   5652  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5653  1.1  christos   (exit $ac_status); } &&
   5654  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5655  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5656  1.1  christos   (eval $ac_try) 2>&5
   5657  1.1  christos   ac_status=$?
   5658  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5659  1.1  christos   (exit $ac_status); }; } &&
   5660  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   5661  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5662  1.1  christos   (eval $ac_try) 2>&5
   5663  1.1  christos   ac_status=$?
   5664  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5665  1.1  christos   (exit $ac_status); }; }; then
   5666  1.1  christos   break
   5667  1.1  christos else
   5668  1.1  christos   echo "$as_me: failed program was:" >&5
   5669  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   5670  1.1  christos 
   5671  1.1  christos fi
   5672  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5673  1.1  christos done
   5674  1.1  christos rm -f conftest*
   5675  1.1  christos if test -n "$ac_declaration"; then
   5676  1.1  christos   echo '#ifdef __cplusplus' >>confdefs.h
   5677  1.1  christos   echo $ac_declaration      >>confdefs.h
   5678  1.1  christos   echo '#endif'             >>confdefs.h
   5679  1.1  christos fi
   5680  1.1  christos 
   5681  1.1  christos else
   5682  1.1  christos   echo "$as_me: failed program was:" >&5
   5683  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   5684  1.1  christos 
   5685  1.1  christos fi
   5686  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5687  1.1  christos ac_ext=c
   5688  1.1  christos ac_cpp='$CPP $CPPFLAGS'
   5689  1.1  christos ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5690  1.1  christos ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5691  1.1  christos ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5692  1.1  christos 
   5693  1.1  christos depcc="$CC"   am_compiler_list=
   5694  1.1  christos 
   5695  1.1  christos echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5696  1.1  christos echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   5697  1.1  christos if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   5698  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   5699  1.1  christos else
   5700  1.1  christos   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5701  1.1  christos   # We make a subdir and do the tests there.  Otherwise we can end up
   5702  1.1  christos   # making bogus files that we don't know about and never remove.  For
   5703  1.1  christos   # instance it was reported that on HP-UX the gcc test will end up
   5704  1.1  christos   # making a dummy file named `D' -- because `-MD' means `put the output
   5705  1.1  christos   # in D'.
   5706  1.1  christos   mkdir conftest.dir
   5707  1.1  christos   # Copy depcomp to subdir because otherwise we won't find it if we're
   5708  1.1  christos   # using a relative directory.
   5709  1.1  christos   cp "$am_depcomp" conftest.dir
   5710  1.1  christos   cd conftest.dir
   5711  1.1  christos   # We will build objects and dependencies in a subdirectory because
   5712  1.1  christos   # it helps to detect inapplicable dependency modes.  For instance
   5713  1.1  christos   # both Tru64's cc and ICC support -MD to output dependencies as a
   5714  1.1  christos   # side effect of compilation, but ICC will put the dependencies in
   5715  1.1  christos   # the current directory while Tru64 will put them in the object
   5716  1.1  christos   # directory.
   5717  1.1  christos   mkdir sub
   5718  1.1  christos 
   5719  1.1  christos   am_cv_CC_dependencies_compiler_type=none
   5720  1.1  christos   if test "$am_compiler_list" = ""; then
   5721  1.1  christos      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5722  1.1  christos   fi
   5723  1.1  christos   for depmode in $am_compiler_list; do
   5724  1.1  christos     # Setup a source with many dependencies, because some compilers
   5725  1.1  christos     # like to wrap large dependency lists on column 80 (with \), and
   5726  1.1  christos     # we should not choose a depcomp mode which is confused by this.
   5727  1.1  christos     #
   5728  1.1  christos     # We need to recreate these files for each test, as the compiler may
   5729  1.1  christos     # overwrite some of them when testing with obscure command lines.
   5730  1.1  christos     # This happens at least with the AIX C compiler.
   5731  1.1  christos     : > sub/conftest.c
   5732  1.1  christos     for i in 1 2 3 4 5 6; do
   5733  1.1  christos       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5734  1.1  christos       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5735  1.1  christos       # Solaris 8's {/usr,}/bin/sh.
   5736  1.1  christos       touch sub/conftst$i.h
   5737  1.1  christos     done
   5738  1.1  christos     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5739  1.1  christos 
   5740  1.1  christos     case $depmode in
   5741  1.1  christos     nosideeffect)
   5742  1.1  christos       # after this tag, mechanisms are not by side-effect, so they'll
   5743  1.1  christos       # only be used when explicitly requested
   5744  1.1  christos       if test "x$enable_dependency_tracking" = xyes; then
   5745  1.1  christos 	continue
   5746  1.1  christos       else
   5747  1.1  christos 	break
   5748  1.1  christos       fi
   5749  1.1  christos       ;;
   5750  1.1  christos     none) break ;;
   5751  1.1  christos     esac
   5752  1.1  christos     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5753  1.1  christos     # mode.  It turns out that the SunPro C++ compiler does not properly
   5754  1.1  christos     # handle `-M -o', and we need to detect this.
   5755  1.1  christos     if depmode=$depmode \
   5756  1.1  christos        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5757  1.1  christos        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5758  1.1  christos        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5759  1.1  christos          >/dev/null 2>conftest.err &&
   5760  1.1  christos        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5761  1.1  christos        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5762  1.1  christos        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5763  1.1  christos       # icc doesn't choke on unknown options, it will just issue warnings
   5764  1.1  christos       # or remarks (even with -Werror).  So we grep stderr for any message
   5765  1.1  christos       # that says an option was ignored or not supported.
   5766  1.1  christos       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5767  1.1  christos       #   icc: Command line warning: ignoring option '-M'; no argument required
   5768  1.1  christos       # The diagnosis changed in icc 8.0:
   5769  1.1  christos       #   icc: Command line remark: option '-MP' not supported
   5770  1.1  christos       if (grep 'ignoring option' conftest.err ||
   5771  1.1  christos           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5772  1.1  christos         am_cv_CC_dependencies_compiler_type=$depmode
   5773  1.1  christos         break
   5774  1.1  christos       fi
   5775  1.1  christos     fi
   5776  1.1  christos   done
   5777  1.1  christos 
   5778  1.1  christos   cd ..
   5779  1.1  christos   rm -rf conftest.dir
   5780  1.1  christos else
   5781  1.1  christos   am_cv_CC_dependencies_compiler_type=none
   5782  1.1  christos fi
   5783  1.1  christos 
   5784  1.1  christos fi
   5785  1.1  christos echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   5786  1.1  christos echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
   5787  1.1  christos CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5788  1.1  christos 
   5789  1.1  christos 
   5790  1.1  christos 
   5791  1.1  christos if
   5792  1.1  christos   test "x$enable_dependency_tracking" != xno \
   5793  1.1  christos   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5794  1.1  christos   am__fastdepCC_TRUE=
   5795  1.1  christos   am__fastdepCC_FALSE='#'
   5796  1.1  christos else
   5797  1.1  christos   am__fastdepCC_TRUE='#'
   5798  1.1  christos   am__fastdepCC_FALSE=
   5799  1.1  christos fi
   5800  1.1  christos 
   5801  1.1  christos 
   5802  1.1  christos ac_ext=cc
   5803  1.1  christos ac_cpp='$CXXCPP $CPPFLAGS'
   5804  1.1  christos ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5805  1.1  christos ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5806  1.1  christos ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5807  1.1  christos if test -n "$ac_tool_prefix"; then
   5808  1.1  christos   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
   5809  1.1  christos   do
   5810  1.1  christos     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5811  1.1  christos set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5812  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   5813  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5814  1.1  christos if test "${ac_cv_prog_CXX+set}" = set; then
   5815  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   5816  1.1  christos else
   5817  1.1  christos   if test -n "$CXX"; then
   5818  1.1  christos   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5819  1.1  christos else
   5820  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5821  1.1  christos for as_dir in $PATH
   5822  1.1  christos do
   5823  1.1  christos   IFS=$as_save_IFS
   5824  1.1  christos   test -z "$as_dir" && as_dir=.
   5825  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   5826  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5827  1.1  christos     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5828  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5829  1.1  christos     break 2
   5830  1.1  christos   fi
   5831  1.1  christos done
   5832  1.1  christos done
   5833  1.1  christos 
   5834  1.1  christos fi
   5835  1.1  christos fi
   5836  1.1  christos CXX=$ac_cv_prog_CXX
   5837  1.1  christos if test -n "$CXX"; then
   5838  1.1  christos   echo "$as_me:$LINENO: result: $CXX" >&5
   5839  1.1  christos echo "${ECHO_T}$CXX" >&6
   5840  1.1  christos else
   5841  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   5842  1.1  christos echo "${ECHO_T}no" >&6
   5843  1.1  christos fi
   5844  1.1  christos 
   5845  1.1  christos     test -n "$CXX" && break
   5846  1.1  christos   done
   5847  1.1  christos fi
   5848  1.1  christos if test -z "$CXX"; then
   5849  1.1  christos   ac_ct_CXX=$CXX
   5850  1.1  christos   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
   5851  1.1  christos do
   5852  1.1  christos   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5853  1.1  christos set dummy $ac_prog; ac_word=$2
   5854  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   5855  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5856  1.1  christos if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5857  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   5858  1.1  christos else
   5859  1.1  christos   if test -n "$ac_ct_CXX"; then
   5860  1.1  christos   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5861  1.1  christos else
   5862  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5863  1.1  christos for as_dir in $PATH
   5864  1.1  christos do
   5865  1.1  christos   IFS=$as_save_IFS
   5866  1.1  christos   test -z "$as_dir" && as_dir=.
   5867  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   5868  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5869  1.1  christos     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5870  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5871  1.1  christos     break 2
   5872  1.1  christos   fi
   5873  1.1  christos done
   5874  1.1  christos done
   5875  1.1  christos 
   5876  1.1  christos fi
   5877  1.1  christos fi
   5878  1.1  christos ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5879  1.1  christos if test -n "$ac_ct_CXX"; then
   5880  1.1  christos   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5881  1.1  christos echo "${ECHO_T}$ac_ct_CXX" >&6
   5882  1.1  christos else
   5883  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   5884  1.1  christos echo "${ECHO_T}no" >&6
   5885  1.1  christos fi
   5886  1.1  christos 
   5887  1.1  christos   test -n "$ac_ct_CXX" && break
   5888  1.1  christos done
   5889  1.1  christos test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
   5890  1.1  christos 
   5891  1.1  christos   CXX=$ac_ct_CXX
   5892  1.1  christos fi
   5893  1.1  christos 
   5894  1.1  christos 
   5895  1.1  christos # Provide some information about the compiler.
   5896  1.1  christos echo "$as_me:$LINENO:" \
   5897  1.1  christos      "checking for C++ compiler version" >&5
   5898  1.1  christos ac_compiler=`set X $ac_compile; echo $2`
   5899  1.1  christos { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   5900  1.1  christos   (eval $ac_compiler --version </dev/null >&5) 2>&5
   5901  1.1  christos   ac_status=$?
   5902  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5903  1.1  christos   (exit $ac_status); }
   5904  1.1  christos { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   5905  1.1  christos   (eval $ac_compiler -v </dev/null >&5) 2>&5
   5906  1.1  christos   ac_status=$?
   5907  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5908  1.1  christos   (exit $ac_status); }
   5909  1.1  christos { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   5910  1.1  christos   (eval $ac_compiler -V </dev/null >&5) 2>&5
   5911  1.1  christos   ac_status=$?
   5912  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5913  1.1  christos   (exit $ac_status); }
   5914  1.1  christos 
   5915  1.1  christos echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5916  1.1  christos echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
   5917  1.1  christos if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5918  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   5919  1.1  christos else
   5920  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   5921  1.1  christos /* confdefs.h.  */
   5922  1.1  christos _ACEOF
   5923  1.1  christos cat confdefs.h >>conftest.$ac_ext
   5924  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   5925  1.1  christos /* end confdefs.h.  */
   5926  1.1  christos 
   5927  1.1  christos int
   5928  1.1  christos main ()
   5929  1.1  christos {
   5930  1.1  christos #ifndef __GNUC__
   5931  1.1  christos        choke me
   5932  1.1  christos #endif
   5933  1.1  christos 
   5934  1.1  christos   ;
   5935  1.1  christos   return 0;
   5936  1.1  christos }
   5937  1.1  christos _ACEOF
   5938  1.1  christos rm -f conftest.$ac_objext
   5939  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5940  1.1  christos   (eval $ac_compile) 2>conftest.er1
   5941  1.1  christos   ac_status=$?
   5942  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   5943  1.1  christos   rm -f conftest.er1
   5944  1.1  christos   cat conftest.err >&5
   5945  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5946  1.1  christos   (exit $ac_status); } &&
   5947  1.1  christos 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
   5948  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5949  1.1  christos   (eval $ac_try) 2>&5
   5950  1.1  christos   ac_status=$?
   5951  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5952  1.1  christos   (exit $ac_status); }; } &&
   5953  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   5954  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5955  1.1  christos   (eval $ac_try) 2>&5
   5956  1.1  christos   ac_status=$?
   5957  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5958  1.1  christos   (exit $ac_status); }; }; then
   5959  1.1  christos   ac_compiler_gnu=yes
   5960  1.1  christos else
   5961  1.1  christos   echo "$as_me: failed program was:" >&5
   5962  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   5963  1.1  christos 
   5964  1.1  christos ac_compiler_gnu=no
   5965  1.1  christos fi
   5966  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5967  1.1  christos ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5968  1.1  christos 
   5969  1.1  christos fi
   5970  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5971  1.1  christos echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
   5972  1.1  christos GXX=`test $ac_compiler_gnu = yes && echo yes`
   5973  1.1  christos ac_test_CXXFLAGS=${CXXFLAGS+set}
   5974  1.1  christos ac_save_CXXFLAGS=$CXXFLAGS
   5975  1.1  christos CXXFLAGS="-g"
   5976  1.1  christos echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5977  1.1  christos echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
   5978  1.1  christos if test "${ac_cv_prog_cxx_g+set}" = set; then
   5979  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   5980  1.1  christos else
   5981  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   5982  1.1  christos /* confdefs.h.  */
   5983  1.1  christos _ACEOF
   5984  1.1  christos cat confdefs.h >>conftest.$ac_ext
   5985  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   5986  1.1  christos /* end confdefs.h.  */
   5987  1.1  christos 
   5988  1.1  christos int
   5989  1.1  christos main ()
   5990  1.1  christos {
   5991  1.1  christos 
   5992  1.1  christos   ;
   5993  1.1  christos   return 0;
   5994  1.1  christos }
   5995  1.1  christos _ACEOF
   5996  1.1  christos rm -f conftest.$ac_objext
   5997  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5998  1.1  christos   (eval $ac_compile) 2>conftest.er1
   5999  1.1  christos   ac_status=$?
   6000  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   6001  1.1  christos   rm -f conftest.er1
   6002  1.1  christos   cat conftest.err >&5
   6003  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6004  1.1  christos   (exit $ac_status); } &&
   6005  1.1  christos 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
   6006  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6007  1.1  christos   (eval $ac_try) 2>&5
   6008  1.1  christos   ac_status=$?
   6009  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6010  1.1  christos   (exit $ac_status); }; } &&
   6011  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   6012  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6013  1.1  christos   (eval $ac_try) 2>&5
   6014  1.1  christos   ac_status=$?
   6015  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6016  1.1  christos   (exit $ac_status); }; }; then
   6017  1.1  christos   ac_cv_prog_cxx_g=yes
   6018  1.1  christos else
   6019  1.1  christos   echo "$as_me: failed program was:" >&5
   6020  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   6021  1.1  christos 
   6022  1.1  christos ac_cv_prog_cxx_g=no
   6023  1.1  christos fi
   6024  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6025  1.1  christos fi
   6026  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   6027  1.1  christos echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
   6028  1.1  christos if test "$ac_test_CXXFLAGS" = set; then
   6029  1.1  christos   CXXFLAGS=$ac_save_CXXFLAGS
   6030  1.1  christos elif test $ac_cv_prog_cxx_g = yes; then
   6031  1.1  christos   if test "$GXX" = yes; then
   6032  1.1  christos     CXXFLAGS="-g -O2"
   6033  1.1  christos   else
   6034  1.1  christos     CXXFLAGS="-g"
   6035  1.1  christos   fi
   6036  1.1  christos else
   6037  1.1  christos   if test "$GXX" = yes; then
   6038  1.1  christos     CXXFLAGS="-O2"
   6039  1.1  christos   else
   6040  1.1  christos     CXXFLAGS=
   6041  1.1  christos   fi
   6042  1.1  christos fi
   6043  1.1  christos for ac_declaration in \
   6044  1.1  christos    '' \
   6045  1.1  christos    'extern "C" void std::exit (int) throw (); using std::exit;' \
   6046  1.1  christos    'extern "C" void std::exit (int); using std::exit;' \
   6047  1.1  christos    'extern "C" void exit (int) throw ();' \
   6048  1.1  christos    'extern "C" void exit (int);' \
   6049  1.1  christos    'void exit (int);'
   6050  1.1  christos do
   6051  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   6052  1.1  christos /* confdefs.h.  */
   6053  1.1  christos _ACEOF
   6054  1.1  christos cat confdefs.h >>conftest.$ac_ext
   6055  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   6056  1.1  christos /* end confdefs.h.  */
   6057  1.1  christos $ac_declaration
   6058  1.1  christos #include <stdlib.h>
   6059  1.1  christos int
   6060  1.1  christos main ()
   6061  1.1  christos {
   6062  1.1  christos exit (42);
   6063  1.1  christos   ;
   6064  1.1  christos   return 0;
   6065  1.1  christos }
   6066  1.1  christos _ACEOF
   6067  1.1  christos rm -f conftest.$ac_objext
   6068  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6069  1.1  christos   (eval $ac_compile) 2>conftest.er1
   6070  1.1  christos   ac_status=$?
   6071  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   6072  1.1  christos   rm -f conftest.er1
   6073  1.1  christos   cat conftest.err >&5
   6074  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6075  1.1  christos   (exit $ac_status); } &&
   6076  1.1  christos 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
   6077  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6078  1.1  christos   (eval $ac_try) 2>&5
   6079  1.1  christos   ac_status=$?
   6080  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6081  1.1  christos   (exit $ac_status); }; } &&
   6082  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   6083  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6084  1.1  christos   (eval $ac_try) 2>&5
   6085  1.1  christos   ac_status=$?
   6086  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6087  1.1  christos   (exit $ac_status); }; }; then
   6088  1.1  christos   :
   6089  1.1  christos else
   6090  1.1  christos   echo "$as_me: failed program was:" >&5
   6091  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   6092  1.1  christos 
   6093  1.1  christos continue
   6094  1.1  christos fi
   6095  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6096  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   6097  1.1  christos /* confdefs.h.  */
   6098  1.1  christos _ACEOF
   6099  1.1  christos cat confdefs.h >>conftest.$ac_ext
   6100  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   6101  1.1  christos /* end confdefs.h.  */
   6102  1.1  christos $ac_declaration
   6103  1.1  christos int
   6104  1.1  christos main ()
   6105  1.1  christos {
   6106  1.1  christos exit (42);
   6107  1.1  christos   ;
   6108  1.1  christos   return 0;
   6109  1.1  christos }
   6110  1.1  christos _ACEOF
   6111  1.1  christos rm -f conftest.$ac_objext
   6112  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6113  1.1  christos   (eval $ac_compile) 2>conftest.er1
   6114  1.1  christos   ac_status=$?
   6115  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   6116  1.1  christos   rm -f conftest.er1
   6117  1.1  christos   cat conftest.err >&5
   6118  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6119  1.1  christos   (exit $ac_status); } &&
   6120  1.1  christos 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
   6121  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6122  1.1  christos   (eval $ac_try) 2>&5
   6123  1.1  christos   ac_status=$?
   6124  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6125  1.1  christos   (exit $ac_status); }; } &&
   6126  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   6127  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6128  1.1  christos   (eval $ac_try) 2>&5
   6129  1.1  christos   ac_status=$?
   6130  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6131  1.1  christos   (exit $ac_status); }; }; then
   6132  1.1  christos   break
   6133  1.1  christos else
   6134  1.1  christos   echo "$as_me: failed program was:" >&5
   6135  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   6136  1.1  christos 
   6137  1.1  christos fi
   6138  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6139  1.1  christos done
   6140  1.1  christos rm -f conftest*
   6141  1.1  christos if test -n "$ac_declaration"; then
   6142  1.1  christos   echo '#ifdef __cplusplus' >>confdefs.h
   6143  1.1  christos   echo $ac_declaration      >>confdefs.h
   6144  1.1  christos   echo '#endif'             >>confdefs.h
   6145  1.1  christos fi
   6146  1.1  christos 
   6147  1.1  christos ac_ext=c
   6148  1.1  christos ac_cpp='$CPP $CPPFLAGS'
   6149  1.1  christos ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6150  1.1  christos ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6151  1.1  christos ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6152  1.1  christos 
   6153  1.1  christos depcc="$CXX"  am_compiler_list=
   6154  1.1  christos 
   6155  1.1  christos echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   6156  1.1  christos echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   6157  1.1  christos if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   6158  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   6159  1.1  christos else
   6160  1.1  christos   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   6161  1.1  christos   # We make a subdir and do the tests there.  Otherwise we can end up
   6162  1.1  christos   # making bogus files that we don't know about and never remove.  For
   6163  1.1  christos   # instance it was reported that on HP-UX the gcc test will end up
   6164  1.1  christos   # making a dummy file named `D' -- because `-MD' means `put the output
   6165  1.1  christos   # in D'.
   6166  1.1  christos   mkdir conftest.dir
   6167  1.1  christos   # Copy depcomp to subdir because otherwise we won't find it if we're
   6168  1.1  christos   # using a relative directory.
   6169  1.1  christos   cp "$am_depcomp" conftest.dir
   6170  1.1  christos   cd conftest.dir
   6171  1.1  christos   # We will build objects and dependencies in a subdirectory because
   6172  1.1  christos   # it helps to detect inapplicable dependency modes.  For instance
   6173  1.1  christos   # both Tru64's cc and ICC support -MD to output dependencies as a
   6174  1.1  christos   # side effect of compilation, but ICC will put the dependencies in
   6175  1.1  christos   # the current directory while Tru64 will put them in the object
   6176  1.1  christos   # directory.
   6177  1.1  christos   mkdir sub
   6178  1.1  christos 
   6179  1.1  christos   am_cv_CXX_dependencies_compiler_type=none
   6180  1.1  christos   if test "$am_compiler_list" = ""; then
   6181  1.1  christos      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   6182  1.1  christos   fi
   6183  1.1  christos   for depmode in $am_compiler_list; do
   6184  1.1  christos     # Setup a source with many dependencies, because some compilers
   6185  1.1  christos     # like to wrap large dependency lists on column 80 (with \), and
   6186  1.1  christos     # we should not choose a depcomp mode which is confused by this.
   6187  1.1  christos     #
   6188  1.1  christos     # We need to recreate these files for each test, as the compiler may
   6189  1.1  christos     # overwrite some of them when testing with obscure command lines.
   6190  1.1  christos     # This happens at least with the AIX C compiler.
   6191  1.1  christos     : > sub/conftest.c
   6192  1.1  christos     for i in 1 2 3 4 5 6; do
   6193  1.1  christos       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   6194  1.1  christos       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   6195  1.1  christos       # Solaris 8's {/usr,}/bin/sh.
   6196  1.1  christos       touch sub/conftst$i.h
   6197  1.1  christos     done
   6198  1.1  christos     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   6199  1.1  christos 
   6200  1.1  christos     case $depmode in
   6201  1.1  christos     nosideeffect)
   6202  1.1  christos       # after this tag, mechanisms are not by side-effect, so they'll
   6203  1.1  christos       # only be used when explicitly requested
   6204  1.1  christos       if test "x$enable_dependency_tracking" = xyes; then
   6205  1.1  christos 	continue
   6206  1.1  christos       else
   6207  1.1  christos 	break
   6208  1.1  christos       fi
   6209  1.1  christos       ;;
   6210  1.1  christos     none) break ;;
   6211  1.1  christos     esac
   6212  1.1  christos     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   6213  1.1  christos     # mode.  It turns out that the SunPro C++ compiler does not properly
   6214  1.1  christos     # handle `-M -o', and we need to detect this.
   6215  1.1  christos     if depmode=$depmode \
   6216  1.1  christos        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   6217  1.1  christos        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   6218  1.1  christos        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   6219  1.1  christos          >/dev/null 2>conftest.err &&
   6220  1.1  christos        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   6221  1.1  christos        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   6222  1.1  christos        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   6223  1.1  christos       # icc doesn't choke on unknown options, it will just issue warnings
   6224  1.1  christos       # or remarks (even with -Werror).  So we grep stderr for any message
   6225  1.1  christos       # that says an option was ignored or not supported.
   6226  1.1  christos       # When given -MP, icc 7.0 and 7.1 complain thusly:
   6227  1.1  christos       #   icc: Command line warning: ignoring option '-M'; no argument required
   6228  1.1  christos       # The diagnosis changed in icc 8.0:
   6229  1.1  christos       #   icc: Command line remark: option '-MP' not supported
   6230  1.1  christos       if (grep 'ignoring option' conftest.err ||
   6231  1.1  christos           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   6232  1.1  christos         am_cv_CXX_dependencies_compiler_type=$depmode
   6233  1.1  christos         break
   6234  1.1  christos       fi
   6235  1.1  christos     fi
   6236  1.1  christos   done
   6237  1.1  christos 
   6238  1.1  christos   cd ..
   6239  1.1  christos   rm -rf conftest.dir
   6240  1.1  christos else
   6241  1.1  christos   am_cv_CXX_dependencies_compiler_type=none
   6242  1.1  christos fi
   6243  1.1  christos 
   6244  1.1  christos fi
   6245  1.1  christos echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   6246  1.1  christos echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
   6247  1.1  christos CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   6248  1.1  christos 
   6249  1.1  christos 
   6250  1.1  christos 
   6251  1.1  christos if
   6252  1.1  christos   test "x$enable_dependency_tracking" != xno \
   6253  1.1  christos   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   6254  1.1  christos   am__fastdepCXX_TRUE=
   6255  1.1  christos   am__fastdepCXX_FALSE='#'
   6256  1.1  christos else
   6257  1.1  christos   am__fastdepCXX_TRUE='#'
   6258  1.1  christos   am__fastdepCXX_FALSE=
   6259  1.1  christos fi
   6260  1.1  christos 
   6261  1.1  christos 
   6262  1.1  christos echo "$as_me:$LINENO: checking whether ln -s works" >&5
   6263  1.1  christos echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
   6264  1.1  christos LN_S=$as_ln_s
   6265  1.1  christos if test "$LN_S" = "ln -s"; then
   6266  1.1  christos   echo "$as_me:$LINENO: result: yes" >&5
   6267  1.1  christos echo "${ECHO_T}yes" >&6
   6268  1.1  christos else
   6269  1.1  christos   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   6270  1.1  christos echo "${ECHO_T}no, using $LN_S" >&6
   6271  1.1  christos fi
   6272  1.1  christos 
   6273  1.1  christos if test -n "$ac_tool_prefix"; then
   6274  1.1  christos   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6275  1.1  christos set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6276  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   6277  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6278  1.1  christos if test "${ac_cv_prog_RANLIB+set}" = set; then
   6279  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   6280  1.1  christos else
   6281  1.1  christos   if test -n "$RANLIB"; then
   6282  1.1  christos   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6283  1.1  christos else
   6284  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6285  1.1  christos for as_dir in $PATH
   6286  1.1  christos do
   6287  1.1  christos   IFS=$as_save_IFS
   6288  1.1  christos   test -z "$as_dir" && as_dir=.
   6289  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   6290  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6291  1.1  christos     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6292  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6293  1.1  christos     break 2
   6294  1.1  christos   fi
   6295  1.1  christos done
   6296  1.1  christos done
   6297  1.1  christos 
   6298  1.1  christos fi
   6299  1.1  christos fi
   6300  1.1  christos RANLIB=$ac_cv_prog_RANLIB
   6301  1.1  christos if test -n "$RANLIB"; then
   6302  1.1  christos   echo "$as_me:$LINENO: result: $RANLIB" >&5
   6303  1.1  christos echo "${ECHO_T}$RANLIB" >&6
   6304  1.1  christos else
   6305  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   6306  1.1  christos echo "${ECHO_T}no" >&6
   6307  1.1  christos fi
   6308  1.1  christos 
   6309  1.1  christos fi
   6310  1.1  christos if test -z "$ac_cv_prog_RANLIB"; then
   6311  1.1  christos   ac_ct_RANLIB=$RANLIB
   6312  1.1  christos   # Extract the first word of "ranlib", so it can be a program name with args.
   6313  1.1  christos set dummy ranlib; ac_word=$2
   6314  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   6315  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6316  1.1  christos if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6317  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   6318  1.1  christos else
   6319  1.1  christos   if test -n "$ac_ct_RANLIB"; then
   6320  1.1  christos   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6321  1.1  christos else
   6322  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6323  1.1  christos for as_dir in $PATH
   6324  1.1  christos do
   6325  1.1  christos   IFS=$as_save_IFS
   6326  1.1  christos   test -z "$as_dir" && as_dir=.
   6327  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   6328  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6329  1.1  christos     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6330  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6331  1.1  christos     break 2
   6332  1.1  christos   fi
   6333  1.1  christos done
   6334  1.1  christos done
   6335  1.1  christos 
   6336  1.1  christos   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
   6337  1.1  christos fi
   6338  1.1  christos fi
   6339  1.1  christos ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6340  1.1  christos if test -n "$ac_ct_RANLIB"; then
   6341  1.1  christos   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6342  1.1  christos echo "${ECHO_T}$ac_ct_RANLIB" >&6
   6343  1.1  christos else
   6344  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   6345  1.1  christos echo "${ECHO_T}no" >&6
   6346  1.1  christos fi
   6347  1.1  christos 
   6348  1.1  christos   RANLIB=$ac_ct_RANLIB
   6349  1.1  christos else
   6350  1.1  christos   RANLIB="$ac_cv_prog_RANLIB"
   6351  1.1  christos fi
   6352  1.1  christos 
   6353  1.1  christos for ac_prog in gawk mawk nawk awk
   6354  1.1  christos do
   6355  1.1  christos   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6356  1.1  christos set dummy $ac_prog; ac_word=$2
   6357  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   6358  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6359  1.1  christos if test "${ac_cv_prog_AWK+set}" = set; then
   6360  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   6361  1.1  christos else
   6362  1.1  christos   if test -n "$AWK"; then
   6363  1.1  christos   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   6364  1.1  christos else
   6365  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6366  1.1  christos for as_dir in $PATH
   6367  1.1  christos do
   6368  1.1  christos   IFS=$as_save_IFS
   6369  1.1  christos   test -z "$as_dir" && as_dir=.
   6370  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   6371  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6372  1.1  christos     ac_cv_prog_AWK="$ac_prog"
   6373  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6374  1.1  christos     break 2
   6375  1.1  christos   fi
   6376  1.1  christos done
   6377  1.1  christos done
   6378  1.1  christos 
   6379  1.1  christos fi
   6380  1.1  christos fi
   6381  1.1  christos AWK=$ac_cv_prog_AWK
   6382  1.1  christos if test -n "$AWK"; then
   6383  1.1  christos   echo "$as_me:$LINENO: result: $AWK" >&5
   6384  1.1  christos echo "${ECHO_T}$AWK" >&6
   6385  1.1  christos else
   6386  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   6387  1.1  christos echo "${ECHO_T}no" >&6
   6388  1.1  christos fi
   6389  1.1  christos 
   6390  1.1  christos   test -n "$AWK" && break
   6391  1.1  christos done
   6392  1.1  christos 
   6393  1.1  christos # Find a good install program.  We prefer a C program (faster),
   6394  1.1  christos # so one script is as good as another.  But avoid the broken or
   6395  1.1  christos # incompatible versions:
   6396  1.1  christos # SysV /etc/install, /usr/sbin/install
   6397  1.1  christos # SunOS /usr/etc/install
   6398  1.1  christos # IRIX /sbin/install
   6399  1.1  christos # AIX /bin/install
   6400  1.1  christos # AmigaOS /C/install, which installs bootblocks on floppy discs
   6401  1.1  christos # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   6402  1.1  christos # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   6403  1.1  christos # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   6404  1.1  christos # OS/2's system install, which has a completely different semantic
   6405  1.1  christos # ./install, which can be erroneously created by make from ./install.sh.
   6406  1.1  christos echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   6407  1.1  christos echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   6408  1.1  christos if test -z "$INSTALL"; then
   6409  1.1  christos if test "${ac_cv_path_install+set}" = set; then
   6410  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   6411  1.1  christos else
   6412  1.1  christos   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6413  1.1  christos for as_dir in $PATH
   6414  1.1  christos do
   6415  1.1  christos   IFS=$as_save_IFS
   6416  1.1  christos   test -z "$as_dir" && as_dir=.
   6417  1.1  christos   # Account for people who put trailing slashes in PATH elements.
   6418  1.1  christos case $as_dir/ in
   6419  1.1  christos   ./ | .// | /cC/* | \
   6420  1.1  christos   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   6421  1.1  christos   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   6422  1.1  christos   /usr/ucb/* ) ;;
   6423  1.1  christos   *)
   6424  1.1  christos     # OSF1 and SCO ODT 3.0 have their own names for install.
   6425  1.1  christos     # Don't use installbsd from OSF since it installs stuff as root
   6426  1.1  christos     # by default.
   6427  1.1  christos     for ac_prog in ginstall scoinst install; do
   6428  1.1  christos       for ac_exec_ext in '' $ac_executable_extensions; do
   6429  1.1  christos 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   6430  1.1  christos 	  if test $ac_prog = install &&
   6431  1.1  christos 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   6432  1.1  christos 	    # AIX install.  It has an incompatible calling convention.
   6433  1.1  christos 	    :
   6434  1.1  christos 	  elif test $ac_prog = install &&
   6435  1.1  christos 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   6436  1.1  christos 	    # program-specific install script used by HP pwplus--don't use.
   6437  1.1  christos 	    :
   6438  1.1  christos 	  else
   6439  1.1  christos 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   6440  1.1  christos 	    break 3
   6441  1.1  christos 	  fi
   6442  1.1  christos 	fi
   6443  1.1  christos       done
   6444  1.1  christos     done
   6445  1.1  christos     ;;
   6446  1.1  christos esac
   6447  1.1  christos done
   6448  1.1  christos 
   6449  1.1  christos 
   6450  1.1  christos fi
   6451  1.1  christos   if test "${ac_cv_path_install+set}" = set; then
   6452  1.1  christos     INSTALL=$ac_cv_path_install
   6453  1.1  christos   else
   6454  1.1  christos     # As a last resort, use the slow shell script.  We don't cache a
   6455  1.1  christos     # path for INSTALL within a source directory, because that will
   6456  1.1  christos     # break other packages using the cache if that directory is
   6457  1.1  christos     # removed, or if the path is relative.
   6458  1.1  christos     INSTALL=$ac_install_sh
   6459  1.1  christos   fi
   6460  1.1  christos fi
   6461  1.1  christos echo "$as_me:$LINENO: result: $INSTALL" >&5
   6462  1.1  christos echo "${ECHO_T}$INSTALL" >&6
   6463  1.1  christos 
   6464  1.1  christos # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   6465  1.1  christos # It thinks the first close brace ends the variable substitution.
   6466  1.1  christos test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   6467  1.1  christos 
   6468  1.1  christos test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   6469  1.1  christos 
   6470  1.1  christos test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   6471  1.1  christos 
   6472  1.1  christos 
   6473  1.1  christos # Extract the first word of "bison", so it can be a program name with args.
   6474  1.1  christos set dummy bison; ac_word=$2
   6475  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   6476  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6477  1.1  christos if test "${ac_cv_path_BISON+set}" = set; then
   6478  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   6479  1.1  christos else
   6480  1.1  christos   case $BISON in
   6481  1.1  christos   [\\/]* | ?:[\\/]*)
   6482  1.1  christos   ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
   6483  1.1  christos   ;;
   6484  1.1  christos   *)
   6485  1.1  christos   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6486  1.1  christos for as_dir in $PATH
   6487  1.1  christos do
   6488  1.1  christos   IFS=$as_save_IFS
   6489  1.1  christos   test -z "$as_dir" && as_dir=.
   6490  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   6491  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6492  1.1  christos     ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
   6493  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6494  1.1  christos     break 2
   6495  1.1  christos   fi
   6496  1.1  christos done
   6497  1.1  christos done
   6498  1.1  christos 
   6499  1.1  christos   test -z "$ac_cv_path_BISON" && ac_cv_path_BISON="bison"
   6500  1.1  christos   ;;
   6501  1.1  christos esac
   6502  1.1  christos fi
   6503  1.1  christos BISON=$ac_cv_path_BISON
   6504  1.1  christos 
   6505  1.1  christos if test -n "$BISON"; then
   6506  1.1  christos   echo "$as_me:$LINENO: result: $BISON" >&5
   6507  1.1  christos echo "${ECHO_T}$BISON" >&6
   6508  1.1  christos else
   6509  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   6510  1.1  christos echo "${ECHO_T}no" >&6
   6511  1.1  christos fi
   6512  1.1  christos 
   6513  1.1  christos # Extract the first word of "help2man", so it can be a program name with args.
   6514  1.1  christos set dummy help2man; ac_word=$2
   6515  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   6516  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6517  1.1  christos if test "${ac_cv_path_HELP2MAN+set}" = set; then
   6518  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   6519  1.1  christos else
   6520  1.1  christos   case $HELP2MAN in
   6521  1.1  christos   [\\/]* | ?:[\\/]*)
   6522  1.1  christos   ac_cv_path_HELP2MAN="$HELP2MAN" # Let the user override the test with a path.
   6523  1.1  christos   ;;
   6524  1.1  christos   *)
   6525  1.1  christos   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6526  1.1  christos for as_dir in $PATH
   6527  1.1  christos do
   6528  1.1  christos   IFS=$as_save_IFS
   6529  1.1  christos   test -z "$as_dir" && as_dir=.
   6530  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   6531  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6532  1.1  christos     ac_cv_path_HELP2MAN="$as_dir/$ac_word$ac_exec_ext"
   6533  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6534  1.1  christos     break 2
   6535  1.1  christos   fi
   6536  1.1  christos done
   6537  1.1  christos done
   6538  1.1  christos 
   6539  1.1  christos   test -z "$ac_cv_path_HELP2MAN" && ac_cv_path_HELP2MAN="help2man"
   6540  1.1  christos   ;;
   6541  1.1  christos esac
   6542  1.1  christos fi
   6543  1.1  christos HELP2MAN=$ac_cv_path_HELP2MAN
   6544  1.1  christos 
   6545  1.1  christos if test -n "$HELP2MAN"; then
   6546  1.1  christos   echo "$as_me:$LINENO: result: $HELP2MAN" >&5
   6547  1.1  christos echo "${ECHO_T}$HELP2MAN" >&6
   6548  1.1  christos else
   6549  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   6550  1.1  christos echo "${ECHO_T}no" >&6
   6551  1.1  christos fi
   6552  1.1  christos 
   6553  1.1  christos 
   6554  1.1  christos # Check for a GNU m4 that supports --prefix-builtins
   6555  1.1  christos 
   6556  1.1  christos for ac_prog in gm4 gnum4 m4
   6557  1.1  christos do
   6558  1.1  christos   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6559  1.1  christos set dummy $ac_prog; ac_word=$2
   6560  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   6561  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6562  1.1  christos if test "${ac_cv_path_M4+set}" = set; then
   6563  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   6564  1.1  christos else
   6565  1.1  christos   case $M4 in
   6566  1.1  christos   [\\/]* | ?:[\\/]*)
   6567  1.1  christos   ac_cv_path_M4="$M4" # Let the user override the test with a path.
   6568  1.1  christos   ;;
   6569  1.1  christos   *)
   6570  1.1  christos   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6571  1.1  christos for as_dir in $PATH
   6572  1.1  christos do
   6573  1.1  christos   IFS=$as_save_IFS
   6574  1.1  christos   test -z "$as_dir" && as_dir=.
   6575  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   6576  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6577  1.1  christos     ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
   6578  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6579  1.1  christos     break 2
   6580  1.1  christos   fi
   6581  1.1  christos done
   6582  1.1  christos done
   6583  1.1  christos 
   6584  1.1  christos   ;;
   6585  1.1  christos esac
   6586  1.1  christos fi
   6587  1.1  christos M4=$ac_cv_path_M4
   6588  1.1  christos 
   6589  1.1  christos if test -n "$M4"; then
   6590  1.1  christos   echo "$as_me:$LINENO: result: $M4" >&5
   6591  1.1  christos echo "${ECHO_T}$M4" >&6
   6592  1.1  christos else
   6593  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   6594  1.1  christos echo "${ECHO_T}no" >&6
   6595  1.1  christos fi
   6596  1.1  christos 
   6597  1.1  christos   test -n "$M4" && break
   6598  1.1  christos done
   6599  1.1  christos test -n "$M4" || M4="m4"
   6600  1.1  christos 
   6601  1.1  christos 
   6602  1.1  christos if test x"$M4" != x; then
   6603  1.1  christos   echo "$as_me:$LINENO: checking for GNU m4" >&5
   6604  1.1  christos echo $ECHO_N "checking for GNU m4... $ECHO_C" >&6
   6605  1.1  christos   case `$M4 --help < /dev/null 2>&1` in
   6606  1.1  christos     *prefix-builtins*) echo "$as_me:$LINENO: result: yes" >&5
   6607  1.1  christos echo "${ECHO_T}yes" >&6 ;;
   6608  1.1  christos     *) echo "$as_me:$LINENO: result: no" >&5
   6609  1.1  christos echo "${ECHO_T}no" >&6 ;
   6610  1.1  christos        { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
   6611  1.1  christos echo "$as_me: error: GNU M4 1.4 is required" >&2;}
   6612  1.1  christos    { (exit 1); exit 1; }; } ;;
   6613  1.1  christos   esac
   6614  1.1  christos else
   6615  1.1  christos    { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
   6616  1.1  christos echo "$as_me: error: GNU M4 1.4 is required" >&2;}
   6617  1.1  christos    { (exit 1); exit 1; }; } ;
   6618  1.1  christos fi
   6619  1.1  christos 
   6620  1.1  christos 
   6621  1.1  christos cat >>confdefs.h <<_ACEOF
   6622  1.1  christos #define M4 "$M4"
   6623  1.1  christos _ACEOF
   6624  1.1  christos 
   6625  1.1  christos 
   6626  1.1  christos # Extract the first word of "indent", so it can be a program name with args.
   6627  1.1  christos set dummy indent; ac_word=$2
   6628  1.1  christos echo "$as_me:$LINENO: checking for $ac_word" >&5
   6629  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6630  1.1  christos if test "${ac_cv_path_INDENT+set}" = set; then
   6631  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   6632  1.1  christos else
   6633  1.1  christos   case $INDENT in
   6634  1.1  christos   [\\/]* | ?:[\\/]*)
   6635  1.1  christos   ac_cv_path_INDENT="$INDENT" # Let the user override the test with a path.
   6636  1.1  christos   ;;
   6637  1.1  christos   *)
   6638  1.1  christos   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6639  1.1  christos for as_dir in $PATH
   6640  1.1  christos do
   6641  1.1  christos   IFS=$as_save_IFS
   6642  1.1  christos   test -z "$as_dir" && as_dir=.
   6643  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   6644  1.1  christos   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6645  1.1  christos     ac_cv_path_INDENT="$as_dir/$ac_word$ac_exec_ext"
   6646  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6647  1.1  christos     break 2
   6648  1.1  christos   fi
   6649  1.1  christos done
   6650  1.1  christos done
   6651  1.1  christos 
   6652  1.1  christos   test -z "$ac_cv_path_INDENT" && ac_cv_path_INDENT="indent"
   6653  1.1  christos   ;;
   6654  1.1  christos esac
   6655  1.1  christos fi
   6656  1.1  christos INDENT=$ac_cv_path_INDENT
   6657  1.1  christos 
   6658  1.1  christos if test -n "$INDENT"; then
   6659  1.1  christos   echo "$as_me:$LINENO: result: $INDENT" >&5
   6660  1.1  christos echo "${ECHO_T}$INDENT" >&6
   6661  1.1  christos else
   6662  1.1  christos   echo "$as_me:$LINENO: result: no" >&5
   6663  1.1  christos echo "${ECHO_T}no" >&6
   6664  1.1  christos fi
   6665  1.1  christos 
   6666  1.1  christos # if INDENT is set to 'indent' then we didn't find indent
   6667  1.1  christos if test "$INDENT" != indent ; then
   6668  1.1  christos    echo "$as_me:$LINENO: checking if $INDENT is GNU indent" >&5
   6669  1.1  christos echo $ECHO_N "checking if $INDENT is GNU indent... $ECHO_C" >&6
   6670  1.1  christos    if $INDENT --version 2>/dev/null | head -n 1|grep "GNU indent" > /dev/null ; then
   6671  1.1  christos       echo "$as_me:$LINENO: result: yes" >&5
   6672  1.1  christos echo "${ECHO_T}yes" >&6
   6673  1.1  christos    else
   6674  1.1  christos       echo "$as_me:$LINENO: result: no" >&5
   6675  1.1  christos echo "${ECHO_T}no" >&6
   6676  1.1  christos       { echo "$as_me:$LINENO: WARNING: $INDENT does not appear to be GNU indent." >&5
   6677  1.1  christos echo "$as_me: WARNING: $INDENT does not appear to be GNU indent." >&2;}
   6678  1.1  christos    fi
   6679  1.1  christos else
   6680  1.1  christos    { echo "$as_me:$LINENO: WARNING: no indent program found: make indent target will not function" >&5
   6681  1.1  christos echo "$as_me: WARNING: no indent program found: make indent target will not function" >&2;}
   6682  1.1  christos fi
   6683  1.1  christos 
   6684  1.1  christos # checks for libraries
   6685  1.1  christos 
   6686  1.1  christos ac_ext=c
   6687  1.1  christos ac_cpp='$CPP $CPPFLAGS'
   6688  1.1  christos ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6689  1.1  christos ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6690  1.1  christos ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6691  1.1  christos echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   6692  1.1  christos echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   6693  1.1  christos # On Suns, sometimes $CPP names a directory.
   6694  1.1  christos if test -n "$CPP" && test -d "$CPP"; then
   6695  1.1  christos   CPP=
   6696  1.1  christos fi
   6697  1.1  christos if test -z "$CPP"; then
   6698  1.1  christos   if test "${ac_cv_prog_CPP+set}" = set; then
   6699  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   6700  1.1  christos else
   6701  1.1  christos       # Double quotes because CPP needs to be expanded
   6702  1.1  christos     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6703  1.1  christos     do
   6704  1.1  christos       ac_preproc_ok=false
   6705  1.1  christos for ac_c_preproc_warn_flag in '' yes
   6706  1.1  christos do
   6707  1.1  christos   # Use a header file that comes with gcc, so configuring glibc
   6708  1.1  christos   # with a fresh cross-compiler works.
   6709  1.1  christos   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6710  1.1  christos   # <limits.h> exists even on freestanding compilers.
   6711  1.1  christos   # On the NeXT, cc -E runs the code through the compiler's parser,
   6712  1.1  christos   # not just through cpp. "Syntax error" is here to catch this case.
   6713  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   6714  1.1  christos /* confdefs.h.  */
   6715  1.1  christos _ACEOF
   6716  1.1  christos cat confdefs.h >>conftest.$ac_ext
   6717  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   6718  1.1  christos /* end confdefs.h.  */
   6719  1.1  christos #ifdef __STDC__
   6720  1.1  christos # include <limits.h>
   6721  1.1  christos #else
   6722  1.1  christos # include <assert.h>
   6723  1.1  christos #endif
   6724  1.1  christos 		     Syntax error
   6725  1.1  christos _ACEOF
   6726  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   6727  1.1  christos   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   6728  1.1  christos   ac_status=$?
   6729  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   6730  1.1  christos   rm -f conftest.er1
   6731  1.1  christos   cat conftest.err >&5
   6732  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6733  1.1  christos   (exit $ac_status); } >/dev/null; then
   6734  1.1  christos   if test -s conftest.err; then
   6735  1.1  christos     ac_cpp_err=$ac_c_preproc_warn_flag
   6736  1.1  christos     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   6737  1.1  christos   else
   6738  1.1  christos     ac_cpp_err=
   6739  1.1  christos   fi
   6740  1.1  christos else
   6741  1.1  christos   ac_cpp_err=yes
   6742  1.1  christos fi
   6743  1.1  christos if test -z "$ac_cpp_err"; then
   6744  1.1  christos   :
   6745  1.1  christos else
   6746  1.1  christos   echo "$as_me: failed program was:" >&5
   6747  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   6748  1.1  christos 
   6749  1.1  christos   # Broken: fails on valid input.
   6750  1.1  christos continue
   6751  1.1  christos fi
   6752  1.1  christos rm -f conftest.err conftest.$ac_ext
   6753  1.1  christos 
   6754  1.1  christos   # OK, works on sane cases.  Now check whether non-existent headers
   6755  1.1  christos   # can be detected and how.
   6756  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   6757  1.1  christos /* confdefs.h.  */
   6758  1.1  christos _ACEOF
   6759  1.1  christos cat confdefs.h >>conftest.$ac_ext
   6760  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   6761  1.1  christos /* end confdefs.h.  */
   6762  1.1  christos #include <ac_nonexistent.h>
   6763  1.1  christos _ACEOF
   6764  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   6765  1.1  christos   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   6766  1.1  christos   ac_status=$?
   6767  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   6768  1.1  christos   rm -f conftest.er1
   6769  1.1  christos   cat conftest.err >&5
   6770  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6771  1.1  christos   (exit $ac_status); } >/dev/null; then
   6772  1.1  christos   if test -s conftest.err; then
   6773  1.1  christos     ac_cpp_err=$ac_c_preproc_warn_flag
   6774  1.1  christos     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   6775  1.1  christos   else
   6776  1.1  christos     ac_cpp_err=
   6777  1.1  christos   fi
   6778  1.1  christos else
   6779  1.1  christos   ac_cpp_err=yes
   6780  1.1  christos fi
   6781  1.1  christos if test -z "$ac_cpp_err"; then
   6782  1.1  christos   # Broken: success on invalid input.
   6783  1.1  christos continue
   6784  1.1  christos else
   6785  1.1  christos   echo "$as_me: failed program was:" >&5
   6786  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   6787  1.1  christos 
   6788  1.1  christos   # Passes both tests.
   6789  1.1  christos ac_preproc_ok=:
   6790  1.1  christos break
   6791  1.1  christos fi
   6792  1.1  christos rm -f conftest.err conftest.$ac_ext
   6793  1.1  christos 
   6794  1.1  christos done
   6795  1.1  christos # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6796  1.1  christos rm -f conftest.err conftest.$ac_ext
   6797  1.1  christos if $ac_preproc_ok; then
   6798  1.1  christos   break
   6799  1.1  christos fi
   6800  1.1  christos 
   6801  1.1  christos     done
   6802  1.1  christos     ac_cv_prog_CPP=$CPP
   6803  1.1  christos 
   6804  1.1  christos fi
   6805  1.1  christos   CPP=$ac_cv_prog_CPP
   6806  1.1  christos else
   6807  1.1  christos   ac_cv_prog_CPP=$CPP
   6808  1.1  christos fi
   6809  1.1  christos echo "$as_me:$LINENO: result: $CPP" >&5
   6810  1.1  christos echo "${ECHO_T}$CPP" >&6
   6811  1.1  christos ac_preproc_ok=false
   6812  1.1  christos for ac_c_preproc_warn_flag in '' yes
   6813  1.1  christos do
   6814  1.1  christos   # Use a header file that comes with gcc, so configuring glibc
   6815  1.1  christos   # with a fresh cross-compiler works.
   6816  1.1  christos   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6817  1.1  christos   # <limits.h> exists even on freestanding compilers.
   6818  1.1  christos   # On the NeXT, cc -E runs the code through the compiler's parser,
   6819  1.1  christos   # not just through cpp. "Syntax error" is here to catch this case.
   6820  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   6821  1.1  christos /* confdefs.h.  */
   6822  1.1  christos _ACEOF
   6823  1.1  christos cat confdefs.h >>conftest.$ac_ext
   6824  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   6825  1.1  christos /* end confdefs.h.  */
   6826  1.1  christos #ifdef __STDC__
   6827  1.1  christos # include <limits.h>
   6828  1.1  christos #else
   6829  1.1  christos # include <assert.h>
   6830  1.1  christos #endif
   6831  1.1  christos 		     Syntax error
   6832  1.1  christos _ACEOF
   6833  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   6834  1.1  christos   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   6835  1.1  christos   ac_status=$?
   6836  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   6837  1.1  christos   rm -f conftest.er1
   6838  1.1  christos   cat conftest.err >&5
   6839  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6840  1.1  christos   (exit $ac_status); } >/dev/null; then
   6841  1.1  christos   if test -s conftest.err; then
   6842  1.1  christos     ac_cpp_err=$ac_c_preproc_warn_flag
   6843  1.1  christos     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   6844  1.1  christos   else
   6845  1.1  christos     ac_cpp_err=
   6846  1.1  christos   fi
   6847  1.1  christos else
   6848  1.1  christos   ac_cpp_err=yes
   6849  1.1  christos fi
   6850  1.1  christos if test -z "$ac_cpp_err"; then
   6851  1.1  christos   :
   6852  1.1  christos else
   6853  1.1  christos   echo "$as_me: failed program was:" >&5
   6854  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   6855  1.1  christos 
   6856  1.1  christos   # Broken: fails on valid input.
   6857  1.1  christos continue
   6858  1.1  christos fi
   6859  1.1  christos rm -f conftest.err conftest.$ac_ext
   6860  1.1  christos 
   6861  1.1  christos   # OK, works on sane cases.  Now check whether non-existent headers
   6862  1.1  christos   # can be detected and how.
   6863  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   6864  1.1  christos /* confdefs.h.  */
   6865  1.1  christos _ACEOF
   6866  1.1  christos cat confdefs.h >>conftest.$ac_ext
   6867  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   6868  1.1  christos /* end confdefs.h.  */
   6869  1.1  christos #include <ac_nonexistent.h>
   6870  1.1  christos _ACEOF
   6871  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   6872  1.1  christos   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   6873  1.1  christos   ac_status=$?
   6874  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   6875  1.1  christos   rm -f conftest.er1
   6876  1.1  christos   cat conftest.err >&5
   6877  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6878  1.1  christos   (exit $ac_status); } >/dev/null; then
   6879  1.1  christos   if test -s conftest.err; then
   6880  1.1  christos     ac_cpp_err=$ac_c_preproc_warn_flag
   6881  1.1  christos     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   6882  1.1  christos   else
   6883  1.1  christos     ac_cpp_err=
   6884  1.1  christos   fi
   6885  1.1  christos else
   6886  1.1  christos   ac_cpp_err=yes
   6887  1.1  christos fi
   6888  1.1  christos if test -z "$ac_cpp_err"; then
   6889  1.1  christos   # Broken: success on invalid input.
   6890  1.1  christos continue
   6891  1.1  christos else
   6892  1.1  christos   echo "$as_me: failed program was:" >&5
   6893  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   6894  1.1  christos 
   6895  1.1  christos   # Passes both tests.
   6896  1.1  christos ac_preproc_ok=:
   6897  1.1  christos break
   6898  1.1  christos fi
   6899  1.1  christos rm -f conftest.err conftest.$ac_ext
   6900  1.1  christos 
   6901  1.1  christos done
   6902  1.1  christos # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6903  1.1  christos rm -f conftest.err conftest.$ac_ext
   6904  1.1  christos if $ac_preproc_ok; then
   6905  1.1  christos   :
   6906  1.1  christos else
   6907  1.1  christos   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   6908  1.1  christos See \`config.log' for more details." >&5
   6909  1.1  christos echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   6910  1.1  christos See \`config.log' for more details." >&2;}
   6911  1.1  christos    { (exit 1); exit 1; }; }
   6912  1.1  christos fi
   6913  1.1  christos 
   6914  1.1  christos ac_ext=c
   6915  1.1  christos ac_cpp='$CPP $CPPFLAGS'
   6916  1.1  christos ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6917  1.1  christos ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6918  1.1  christos ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6919  1.1  christos 
   6920  1.1  christos 
   6921  1.1  christos echo "$as_me:$LINENO: checking for egrep" >&5
   6922  1.1  christos echo $ECHO_N "checking for egrep... $ECHO_C" >&6
   6923  1.1  christos if test "${ac_cv_prog_egrep+set}" = set; then
   6924  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   6925  1.1  christos else
   6926  1.1  christos   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
   6927  1.1  christos     then ac_cv_prog_egrep='grep -E'
   6928  1.1  christos     else ac_cv_prog_egrep='egrep'
   6929  1.1  christos     fi
   6930  1.1  christos fi
   6931  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
   6932  1.1  christos echo "${ECHO_T}$ac_cv_prog_egrep" >&6
   6933  1.1  christos  EGREP=$ac_cv_prog_egrep
   6934  1.1  christos 
   6935  1.1  christos 
   6936  1.1  christos # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   6937  1.1  christos # for constant arguments.  Useless!
   6938  1.1  christos echo "$as_me:$LINENO: checking for working alloca.h" >&5
   6939  1.1  christos echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
   6940  1.1  christos if test "${ac_cv_working_alloca_h+set}" = set; then
   6941  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   6942  1.1  christos else
   6943  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   6944  1.1  christos /* confdefs.h.  */
   6945  1.1  christos _ACEOF
   6946  1.1  christos cat confdefs.h >>conftest.$ac_ext
   6947  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   6948  1.1  christos /* end confdefs.h.  */
   6949  1.1  christos #include <alloca.h>
   6950  1.1  christos int
   6951  1.1  christos main ()
   6952  1.1  christos {
   6953  1.1  christos char *p = (char *) alloca (2 * sizeof (int));
   6954  1.1  christos   ;
   6955  1.1  christos   return 0;
   6956  1.1  christos }
   6957  1.1  christos _ACEOF
   6958  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   6959  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6960  1.1  christos   (eval $ac_link) 2>conftest.er1
   6961  1.1  christos   ac_status=$?
   6962  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   6963  1.1  christos   rm -f conftest.er1
   6964  1.1  christos   cat conftest.err >&5
   6965  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6966  1.1  christos   (exit $ac_status); } &&
   6967  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   6968  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6969  1.1  christos   (eval $ac_try) 2>&5
   6970  1.1  christos   ac_status=$?
   6971  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6972  1.1  christos   (exit $ac_status); }; } &&
   6973  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   6974  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6975  1.1  christos   (eval $ac_try) 2>&5
   6976  1.1  christos   ac_status=$?
   6977  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6978  1.1  christos   (exit $ac_status); }; }; then
   6979  1.1  christos   ac_cv_working_alloca_h=yes
   6980  1.1  christos else
   6981  1.1  christos   echo "$as_me: failed program was:" >&5
   6982  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   6983  1.1  christos 
   6984  1.1  christos ac_cv_working_alloca_h=no
   6985  1.1  christos fi
   6986  1.1  christos rm -f conftest.err conftest.$ac_objext \
   6987  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   6988  1.1  christos fi
   6989  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
   6990  1.1  christos echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
   6991  1.1  christos if test $ac_cv_working_alloca_h = yes; then
   6992  1.1  christos 
   6993  1.1  christos cat >>confdefs.h <<\_ACEOF
   6994  1.1  christos #define HAVE_ALLOCA_H 1
   6995  1.1  christos _ACEOF
   6996  1.1  christos 
   6997  1.1  christos fi
   6998  1.1  christos 
   6999  1.1  christos echo "$as_me:$LINENO: checking for alloca" >&5
   7000  1.1  christos echo $ECHO_N "checking for alloca... $ECHO_C" >&6
   7001  1.1  christos if test "${ac_cv_func_alloca_works+set}" = set; then
   7002  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   7003  1.1  christos else
   7004  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   7005  1.1  christos /* confdefs.h.  */
   7006  1.1  christos _ACEOF
   7007  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7008  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7009  1.1  christos /* end confdefs.h.  */
   7010  1.1  christos #ifdef __GNUC__
   7011  1.1  christos # define alloca __builtin_alloca
   7012  1.1  christos #else
   7013  1.1  christos # ifdef _MSC_VER
   7014  1.1  christos #  include <malloc.h>
   7015  1.1  christos #  define alloca _alloca
   7016  1.1  christos # else
   7017  1.1  christos #  if HAVE_ALLOCA_H
   7018  1.1  christos #   include <alloca.h>
   7019  1.1  christos #  else
   7020  1.1  christos #   ifdef _AIX
   7021  1.1  christos  #pragma alloca
   7022  1.1  christos #   else
   7023  1.1  christos #    ifndef alloca /* predefined by HP cc +Olibcalls */
   7024  1.1  christos char *alloca ();
   7025  1.1  christos #    endif
   7026  1.1  christos #   endif
   7027  1.1  christos #  endif
   7028  1.1  christos # endif
   7029  1.1  christos #endif
   7030  1.1  christos 
   7031  1.1  christos int
   7032  1.1  christos main ()
   7033  1.1  christos {
   7034  1.1  christos char *p = (char *) alloca (1);
   7035  1.1  christos   ;
   7036  1.1  christos   return 0;
   7037  1.1  christos }
   7038  1.1  christos _ACEOF
   7039  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   7040  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7041  1.1  christos   (eval $ac_link) 2>conftest.er1
   7042  1.1  christos   ac_status=$?
   7043  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   7044  1.1  christos   rm -f conftest.er1
   7045  1.1  christos   cat conftest.err >&5
   7046  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7047  1.1  christos   (exit $ac_status); } &&
   7048  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7049  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7050  1.1  christos   (eval $ac_try) 2>&5
   7051  1.1  christos   ac_status=$?
   7052  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7053  1.1  christos   (exit $ac_status); }; } &&
   7054  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   7055  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7056  1.1  christos   (eval $ac_try) 2>&5
   7057  1.1  christos   ac_status=$?
   7058  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7059  1.1  christos   (exit $ac_status); }; }; then
   7060  1.1  christos   ac_cv_func_alloca_works=yes
   7061  1.1  christos else
   7062  1.1  christos   echo "$as_me: failed program was:" >&5
   7063  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   7064  1.1  christos 
   7065  1.1  christos ac_cv_func_alloca_works=no
   7066  1.1  christos fi
   7067  1.1  christos rm -f conftest.err conftest.$ac_objext \
   7068  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   7069  1.1  christos fi
   7070  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
   7071  1.1  christos echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
   7072  1.1  christos 
   7073  1.1  christos if test $ac_cv_func_alloca_works = yes; then
   7074  1.1  christos 
   7075  1.1  christos cat >>confdefs.h <<\_ACEOF
   7076  1.1  christos #define HAVE_ALLOCA 1
   7077  1.1  christos _ACEOF
   7078  1.1  christos 
   7079  1.1  christos else
   7080  1.1  christos   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   7081  1.1  christos # that cause trouble.  Some versions do not even contain alloca or
   7082  1.1  christos # contain a buggy version.  If you still want to use their alloca,
   7083  1.1  christos # use ar to extract alloca.o from them instead of compiling alloca.c.
   7084  1.1  christos 
   7085  1.1  christos ALLOCA=alloca.$ac_objext
   7086  1.1  christos 
   7087  1.1  christos cat >>confdefs.h <<\_ACEOF
   7088  1.1  christos #define C_ALLOCA 1
   7089  1.1  christos _ACEOF
   7090  1.1  christos 
   7091  1.1  christos 
   7092  1.1  christos echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
   7093  1.1  christos echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
   7094  1.1  christos if test "${ac_cv_os_cray+set}" = set; then
   7095  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   7096  1.1  christos else
   7097  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   7098  1.1  christos /* confdefs.h.  */
   7099  1.1  christos _ACEOF
   7100  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7101  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7102  1.1  christos /* end confdefs.h.  */
   7103  1.1  christos #if defined(CRAY) && ! defined(CRAY2)
   7104  1.1  christos webecray
   7105  1.1  christos #else
   7106  1.1  christos wenotbecray
   7107  1.1  christos #endif
   7108  1.1  christos 
   7109  1.1  christos _ACEOF
   7110  1.1  christos if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7111  1.1  christos   $EGREP "webecray" >/dev/null 2>&1; then
   7112  1.1  christos   ac_cv_os_cray=yes
   7113  1.1  christos else
   7114  1.1  christos   ac_cv_os_cray=no
   7115  1.1  christos fi
   7116  1.1  christos rm -f conftest*
   7117  1.1  christos 
   7118  1.1  christos fi
   7119  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
   7120  1.1  christos echo "${ECHO_T}$ac_cv_os_cray" >&6
   7121  1.1  christos if test $ac_cv_os_cray = yes; then
   7122  1.1  christos   for ac_func in _getb67 GETB67 getb67; do
   7123  1.1  christos     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   7124  1.1  christos echo "$as_me:$LINENO: checking for $ac_func" >&5
   7125  1.1  christos echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   7126  1.1  christos if eval "test \"\${$as_ac_var+set}\" = set"; then
   7127  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   7128  1.1  christos else
   7129  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   7130  1.1  christos /* confdefs.h.  */
   7131  1.1  christos _ACEOF
   7132  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7133  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7134  1.1  christos /* end confdefs.h.  */
   7135  1.1  christos /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   7136  1.1  christos    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   7137  1.1  christos #define $ac_func innocuous_$ac_func
   7138  1.1  christos 
   7139  1.1  christos /* System header to define __stub macros and hopefully few prototypes,
   7140  1.1  christos     which can conflict with char $ac_func (); below.
   7141  1.1  christos     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7142  1.1  christos     <limits.h> exists even on freestanding compilers.  */
   7143  1.1  christos 
   7144  1.1  christos #ifdef __STDC__
   7145  1.1  christos # include <limits.h>
   7146  1.1  christos #else
   7147  1.1  christos # include <assert.h>
   7148  1.1  christos #endif
   7149  1.1  christos 
   7150  1.1  christos #undef $ac_func
   7151  1.1  christos 
   7152  1.1  christos /* Override any gcc2 internal prototype to avoid an error.  */
   7153  1.1  christos #ifdef __cplusplus
   7154  1.1  christos extern "C"
   7155  1.1  christos {
   7156  1.1  christos #endif
   7157  1.1  christos /* We use char because int might match the return type of a gcc2
   7158  1.1  christos    builtin and then its argument prototype would still apply.  */
   7159  1.1  christos char $ac_func ();
   7160  1.1  christos /* The GNU C library defines this for functions which it implements
   7161  1.1  christos     to always fail with ENOSYS.  Some functions are actually named
   7162  1.1  christos     something starting with __ and the normal name is an alias.  */
   7163  1.1  christos #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   7164  1.1  christos choke me
   7165  1.1  christos #else
   7166  1.1  christos char (*f) () = $ac_func;
   7167  1.1  christos #endif
   7168  1.1  christos #ifdef __cplusplus
   7169  1.1  christos }
   7170  1.1  christos #endif
   7171  1.1  christos 
   7172  1.1  christos int
   7173  1.1  christos main ()
   7174  1.1  christos {
   7175  1.1  christos return f != $ac_func;
   7176  1.1  christos   ;
   7177  1.1  christos   return 0;
   7178  1.1  christos }
   7179  1.1  christos _ACEOF
   7180  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   7181  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7182  1.1  christos   (eval $ac_link) 2>conftest.er1
   7183  1.1  christos   ac_status=$?
   7184  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   7185  1.1  christos   rm -f conftest.er1
   7186  1.1  christos   cat conftest.err >&5
   7187  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7188  1.1  christos   (exit $ac_status); } &&
   7189  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7190  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7191  1.1  christos   (eval $ac_try) 2>&5
   7192  1.1  christos   ac_status=$?
   7193  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7194  1.1  christos   (exit $ac_status); }; } &&
   7195  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   7196  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7197  1.1  christos   (eval $ac_try) 2>&5
   7198  1.1  christos   ac_status=$?
   7199  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7200  1.1  christos   (exit $ac_status); }; }; then
   7201  1.1  christos   eval "$as_ac_var=yes"
   7202  1.1  christos else
   7203  1.1  christos   echo "$as_me: failed program was:" >&5
   7204  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   7205  1.1  christos 
   7206  1.1  christos eval "$as_ac_var=no"
   7207  1.1  christos fi
   7208  1.1  christos rm -f conftest.err conftest.$ac_objext \
   7209  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   7210  1.1  christos fi
   7211  1.1  christos echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   7212  1.1  christos echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   7213  1.1  christos if test `eval echo '${'$as_ac_var'}'` = yes; then
   7214  1.1  christos 
   7215  1.1  christos cat >>confdefs.h <<_ACEOF
   7216  1.1  christos #define CRAY_STACKSEG_END $ac_func
   7217  1.1  christos _ACEOF
   7218  1.1  christos 
   7219  1.1  christos     break
   7220  1.1  christos fi
   7221  1.1  christos 
   7222  1.1  christos   done
   7223  1.1  christos fi
   7224  1.1  christos 
   7225  1.1  christos echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
   7226  1.1  christos echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
   7227  1.1  christos if test "${ac_cv_c_stack_direction+set}" = set; then
   7228  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   7229  1.1  christos else
   7230  1.1  christos   if test "$cross_compiling" = yes; then
   7231  1.1  christos   ac_cv_c_stack_direction=0
   7232  1.1  christos else
   7233  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   7234  1.1  christos /* confdefs.h.  */
   7235  1.1  christos _ACEOF
   7236  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7237  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7238  1.1  christos /* end confdefs.h.  */
   7239  1.1  christos int
   7240  1.1  christos find_stack_direction ()
   7241  1.1  christos {
   7242  1.1  christos   static char *addr = 0;
   7243  1.1  christos   auto char dummy;
   7244  1.1  christos   if (addr == 0)
   7245  1.1  christos     {
   7246  1.1  christos       addr = &dummy;
   7247  1.1  christos       return find_stack_direction ();
   7248  1.1  christos     }
   7249  1.1  christos   else
   7250  1.1  christos     return (&dummy > addr) ? 1 : -1;
   7251  1.1  christos }
   7252  1.1  christos 
   7253  1.1  christos int
   7254  1.1  christos main ()
   7255  1.1  christos {
   7256  1.1  christos   exit (find_stack_direction () < 0);
   7257  1.1  christos }
   7258  1.1  christos _ACEOF
   7259  1.1  christos rm -f conftest$ac_exeext
   7260  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7261  1.1  christos   (eval $ac_link) 2>&5
   7262  1.1  christos   ac_status=$?
   7263  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7264  1.1  christos   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   7265  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7266  1.1  christos   (eval $ac_try) 2>&5
   7267  1.1  christos   ac_status=$?
   7268  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7269  1.1  christos   (exit $ac_status); }; }; then
   7270  1.1  christos   ac_cv_c_stack_direction=1
   7271  1.1  christos else
   7272  1.1  christos   echo "$as_me: program exited with status $ac_status" >&5
   7273  1.1  christos echo "$as_me: failed program was:" >&5
   7274  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   7275  1.1  christos 
   7276  1.1  christos ( exit $ac_status )
   7277  1.1  christos ac_cv_c_stack_direction=-1
   7278  1.1  christos fi
   7279  1.1  christos rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   7280  1.1  christos fi
   7281  1.1  christos fi
   7282  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
   7283  1.1  christos echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
   7284  1.1  christos 
   7285  1.1  christos cat >>confdefs.h <<_ACEOF
   7286  1.1  christos #define STACK_DIRECTION $ac_cv_c_stack_direction
   7287  1.1  christos _ACEOF
   7288  1.1  christos 
   7289  1.1  christos 
   7290  1.1  christos fi
   7291  1.1  christos 
   7292  1.1  christos echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   7293  1.1  christos echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   7294  1.1  christos if test "${ac_cv_header_stdc+set}" = set; then
   7295  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   7296  1.1  christos else
   7297  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   7298  1.1  christos /* confdefs.h.  */
   7299  1.1  christos _ACEOF
   7300  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7301  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7302  1.1  christos /* end confdefs.h.  */
   7303  1.1  christos #include <stdlib.h>
   7304  1.1  christos #include <stdarg.h>
   7305  1.1  christos #include <string.h>
   7306  1.1  christos #include <float.h>
   7307  1.1  christos 
   7308  1.1  christos int
   7309  1.1  christos main ()
   7310  1.1  christos {
   7311  1.1  christos 
   7312  1.1  christos   ;
   7313  1.1  christos   return 0;
   7314  1.1  christos }
   7315  1.1  christos _ACEOF
   7316  1.1  christos rm -f conftest.$ac_objext
   7317  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7318  1.1  christos   (eval $ac_compile) 2>conftest.er1
   7319  1.1  christos   ac_status=$?
   7320  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   7321  1.1  christos   rm -f conftest.er1
   7322  1.1  christos   cat conftest.err >&5
   7323  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7324  1.1  christos   (exit $ac_status); } &&
   7325  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7326  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7327  1.1  christos   (eval $ac_try) 2>&5
   7328  1.1  christos   ac_status=$?
   7329  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7330  1.1  christos   (exit $ac_status); }; } &&
   7331  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   7332  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7333  1.1  christos   (eval $ac_try) 2>&5
   7334  1.1  christos   ac_status=$?
   7335  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7336  1.1  christos   (exit $ac_status); }; }; then
   7337  1.1  christos   ac_cv_header_stdc=yes
   7338  1.1  christos else
   7339  1.1  christos   echo "$as_me: failed program was:" >&5
   7340  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   7341  1.1  christos 
   7342  1.1  christos ac_cv_header_stdc=no
   7343  1.1  christos fi
   7344  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7345  1.1  christos 
   7346  1.1  christos if test $ac_cv_header_stdc = yes; then
   7347  1.1  christos   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7348  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   7349  1.1  christos /* confdefs.h.  */
   7350  1.1  christos _ACEOF
   7351  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7352  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7353  1.1  christos /* end confdefs.h.  */
   7354  1.1  christos #include <string.h>
   7355  1.1  christos 
   7356  1.1  christos _ACEOF
   7357  1.1  christos if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7358  1.1  christos   $EGREP "memchr" >/dev/null 2>&1; then
   7359  1.1  christos   :
   7360  1.1  christos else
   7361  1.1  christos   ac_cv_header_stdc=no
   7362  1.1  christos fi
   7363  1.1  christos rm -f conftest*
   7364  1.1  christos 
   7365  1.1  christos fi
   7366  1.1  christos 
   7367  1.1  christos if test $ac_cv_header_stdc = yes; then
   7368  1.1  christos   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7369  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   7370  1.1  christos /* confdefs.h.  */
   7371  1.1  christos _ACEOF
   7372  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7373  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7374  1.1  christos /* end confdefs.h.  */
   7375  1.1  christos #include <stdlib.h>
   7376  1.1  christos 
   7377  1.1  christos _ACEOF
   7378  1.1  christos if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7379  1.1  christos   $EGREP "free" >/dev/null 2>&1; then
   7380  1.1  christos   :
   7381  1.1  christos else
   7382  1.1  christos   ac_cv_header_stdc=no
   7383  1.1  christos fi
   7384  1.1  christos rm -f conftest*
   7385  1.1  christos 
   7386  1.1  christos fi
   7387  1.1  christos 
   7388  1.1  christos if test $ac_cv_header_stdc = yes; then
   7389  1.1  christos   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7390  1.1  christos   if test "$cross_compiling" = yes; then
   7391  1.1  christos   :
   7392  1.1  christos else
   7393  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   7394  1.1  christos /* confdefs.h.  */
   7395  1.1  christos _ACEOF
   7396  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7397  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7398  1.1  christos /* end confdefs.h.  */
   7399  1.1  christos #include <ctype.h>
   7400  1.1  christos #if ((' ' & 0x0FF) == 0x020)
   7401  1.1  christos # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7402  1.1  christos # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7403  1.1  christos #else
   7404  1.1  christos # define ISLOWER(c) \
   7405  1.1  christos 		   (('a' <= (c) && (c) <= 'i') \
   7406  1.1  christos 		     || ('j' <= (c) && (c) <= 'r') \
   7407  1.1  christos 		     || ('s' <= (c) && (c) <= 'z'))
   7408  1.1  christos # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7409  1.1  christos #endif
   7410  1.1  christos 
   7411  1.1  christos #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7412  1.1  christos int
   7413  1.1  christos main ()
   7414  1.1  christos {
   7415  1.1  christos   int i;
   7416  1.1  christos   for (i = 0; i < 256; i++)
   7417  1.1  christos     if (XOR (islower (i), ISLOWER (i))
   7418  1.1  christos 	|| toupper (i) != TOUPPER (i))
   7419  1.1  christos       exit(2);
   7420  1.1  christos   exit (0);
   7421  1.1  christos }
   7422  1.1  christos _ACEOF
   7423  1.1  christos rm -f conftest$ac_exeext
   7424  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7425  1.1  christos   (eval $ac_link) 2>&5
   7426  1.1  christos   ac_status=$?
   7427  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7428  1.1  christos   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   7429  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7430  1.1  christos   (eval $ac_try) 2>&5
   7431  1.1  christos   ac_status=$?
   7432  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7433  1.1  christos   (exit $ac_status); }; }; then
   7434  1.1  christos   :
   7435  1.1  christos else
   7436  1.1  christos   echo "$as_me: program exited with status $ac_status" >&5
   7437  1.1  christos echo "$as_me: failed program was:" >&5
   7438  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   7439  1.1  christos 
   7440  1.1  christos ( exit $ac_status )
   7441  1.1  christos ac_cv_header_stdc=no
   7442  1.1  christos fi
   7443  1.1  christos rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   7444  1.1  christos fi
   7445  1.1  christos fi
   7446  1.1  christos fi
   7447  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   7448  1.1  christos echo "${ECHO_T}$ac_cv_header_stdc" >&6
   7449  1.1  christos if test $ac_cv_header_stdc = yes; then
   7450  1.1  christos 
   7451  1.1  christos cat >>confdefs.h <<\_ACEOF
   7452  1.1  christos #define STDC_HEADERS 1
   7453  1.1  christos _ACEOF
   7454  1.1  christos 
   7455  1.1  christos fi
   7456  1.1  christos 
   7457  1.1  christos echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
   7458  1.1  christos echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
   7459  1.1  christos if test "${ac_cv_header_sys_wait_h+set}" = set; then
   7460  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   7461  1.1  christos else
   7462  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   7463  1.1  christos /* confdefs.h.  */
   7464  1.1  christos _ACEOF
   7465  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7466  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7467  1.1  christos /* end confdefs.h.  */
   7468  1.1  christos #include <sys/types.h>
   7469  1.1  christos #include <sys/wait.h>
   7470  1.1  christos #ifndef WEXITSTATUS
   7471  1.1  christos # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
   7472  1.1  christos #endif
   7473  1.1  christos #ifndef WIFEXITED
   7474  1.1  christos # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
   7475  1.1  christos #endif
   7476  1.1  christos 
   7477  1.1  christos int
   7478  1.1  christos main ()
   7479  1.1  christos {
   7480  1.1  christos   int s;
   7481  1.1  christos   wait (&s);
   7482  1.1  christos   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
   7483  1.1  christos   ;
   7484  1.1  christos   return 0;
   7485  1.1  christos }
   7486  1.1  christos _ACEOF
   7487  1.1  christos rm -f conftest.$ac_objext
   7488  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7489  1.1  christos   (eval $ac_compile) 2>conftest.er1
   7490  1.1  christos   ac_status=$?
   7491  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   7492  1.1  christos   rm -f conftest.er1
   7493  1.1  christos   cat conftest.err >&5
   7494  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7495  1.1  christos   (exit $ac_status); } &&
   7496  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7497  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7498  1.1  christos   (eval $ac_try) 2>&5
   7499  1.1  christos   ac_status=$?
   7500  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7501  1.1  christos   (exit $ac_status); }; } &&
   7502  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   7503  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7504  1.1  christos   (eval $ac_try) 2>&5
   7505  1.1  christos   ac_status=$?
   7506  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7507  1.1  christos   (exit $ac_status); }; }; then
   7508  1.1  christos   ac_cv_header_sys_wait_h=yes
   7509  1.1  christos else
   7510  1.1  christos   echo "$as_me: failed program was:" >&5
   7511  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   7512  1.1  christos 
   7513  1.1  christos ac_cv_header_sys_wait_h=no
   7514  1.1  christos fi
   7515  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7516  1.1  christos fi
   7517  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
   7518  1.1  christos echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
   7519  1.1  christos if test $ac_cv_header_sys_wait_h = yes; then
   7520  1.1  christos 
   7521  1.1  christos cat >>confdefs.h <<\_ACEOF
   7522  1.1  christos #define HAVE_SYS_WAIT_H 1
   7523  1.1  christos _ACEOF
   7524  1.1  christos 
   7525  1.1  christos fi
   7526  1.1  christos 
   7527  1.1  christos # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7528  1.1  christos 
   7529  1.1  christos 
   7530  1.1  christos 
   7531  1.1  christos 
   7532  1.1  christos 
   7533  1.1  christos 
   7534  1.1  christos 
   7535  1.1  christos 
   7536  1.1  christos 
   7537  1.1  christos for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7538  1.1  christos 		  inttypes.h stdint.h unistd.h
   7539  1.1  christos do
   7540  1.1  christos as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7541  1.1  christos echo "$as_me:$LINENO: checking for $ac_header" >&5
   7542  1.1  christos echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   7543  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   7544  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   7545  1.1  christos else
   7546  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   7547  1.1  christos /* confdefs.h.  */
   7548  1.1  christos _ACEOF
   7549  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7550  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7551  1.1  christos /* end confdefs.h.  */
   7552  1.1  christos $ac_includes_default
   7553  1.1  christos 
   7554  1.1  christos #include <$ac_header>
   7555  1.1  christos _ACEOF
   7556  1.1  christos rm -f conftest.$ac_objext
   7557  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7558  1.1  christos   (eval $ac_compile) 2>conftest.er1
   7559  1.1  christos   ac_status=$?
   7560  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   7561  1.1  christos   rm -f conftest.er1
   7562  1.1  christos   cat conftest.err >&5
   7563  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7564  1.1  christos   (exit $ac_status); } &&
   7565  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7566  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7567  1.1  christos   (eval $ac_try) 2>&5
   7568  1.1  christos   ac_status=$?
   7569  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7570  1.1  christos   (exit $ac_status); }; } &&
   7571  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   7572  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7573  1.1  christos   (eval $ac_try) 2>&5
   7574  1.1  christos   ac_status=$?
   7575  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7576  1.1  christos   (exit $ac_status); }; }; then
   7577  1.1  christos   eval "$as_ac_Header=yes"
   7578  1.1  christos else
   7579  1.1  christos   echo "$as_me: failed program was:" >&5
   7580  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   7581  1.1  christos 
   7582  1.1  christos eval "$as_ac_Header=no"
   7583  1.1  christos fi
   7584  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7585  1.1  christos fi
   7586  1.1  christos echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   7587  1.1  christos echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   7588  1.1  christos if test `eval echo '${'$as_ac_Header'}'` = yes; then
   7589  1.1  christos   cat >>confdefs.h <<_ACEOF
   7590  1.1  christos #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7591  1.1  christos _ACEOF
   7592  1.1  christos 
   7593  1.1  christos fi
   7594  1.1  christos 
   7595  1.1  christos done
   7596  1.1  christos 
   7597  1.1  christos 
   7598  1.1  christos 
   7599  1.1  christos 
   7600  1.1  christos 
   7601  1.1  christos 
   7602  1.1  christos 
   7603  1.1  christos 
   7604  1.1  christos 
   7605  1.1  christos 
   7606  1.1  christos 
   7607  1.1  christos 
   7608  1.1  christos 
   7609  1.1  christos for ac_header in inttypes.h libintl.h limits.h locale.h malloc.h netinet/in.h stddef.h stdlib.h string.h strings.h unistd.h
   7610  1.1  christos do
   7611  1.1  christos as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7612  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   7613  1.1  christos   echo "$as_me:$LINENO: checking for $ac_header" >&5
   7614  1.1  christos echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   7615  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   7616  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   7617  1.1  christos fi
   7618  1.1  christos echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   7619  1.1  christos echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   7620  1.1  christos else
   7621  1.1  christos   # Is the header compilable?
   7622  1.1  christos echo "$as_me:$LINENO: checking $ac_header usability" >&5
   7623  1.1  christos echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   7624  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   7625  1.1  christos /* confdefs.h.  */
   7626  1.1  christos _ACEOF
   7627  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7628  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7629  1.1  christos /* end confdefs.h.  */
   7630  1.1  christos $ac_includes_default
   7631  1.1  christos #include <$ac_header>
   7632  1.1  christos _ACEOF
   7633  1.1  christos rm -f conftest.$ac_objext
   7634  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7635  1.1  christos   (eval $ac_compile) 2>conftest.er1
   7636  1.1  christos   ac_status=$?
   7637  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   7638  1.1  christos   rm -f conftest.er1
   7639  1.1  christos   cat conftest.err >&5
   7640  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7641  1.1  christos   (exit $ac_status); } &&
   7642  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7643  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7644  1.1  christos   (eval $ac_try) 2>&5
   7645  1.1  christos   ac_status=$?
   7646  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7647  1.1  christos   (exit $ac_status); }; } &&
   7648  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   7649  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7650  1.1  christos   (eval $ac_try) 2>&5
   7651  1.1  christos   ac_status=$?
   7652  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7653  1.1  christos   (exit $ac_status); }; }; then
   7654  1.1  christos   ac_header_compiler=yes
   7655  1.1  christos else
   7656  1.1  christos   echo "$as_me: failed program was:" >&5
   7657  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   7658  1.1  christos 
   7659  1.1  christos ac_header_compiler=no
   7660  1.1  christos fi
   7661  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7662  1.1  christos echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   7663  1.1  christos echo "${ECHO_T}$ac_header_compiler" >&6
   7664  1.1  christos 
   7665  1.1  christos # Is the header present?
   7666  1.1  christos echo "$as_me:$LINENO: checking $ac_header presence" >&5
   7667  1.1  christos echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   7668  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   7669  1.1  christos /* confdefs.h.  */
   7670  1.1  christos _ACEOF
   7671  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7672  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7673  1.1  christos /* end confdefs.h.  */
   7674  1.1  christos #include <$ac_header>
   7675  1.1  christos _ACEOF
   7676  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   7677  1.1  christos   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   7678  1.1  christos   ac_status=$?
   7679  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   7680  1.1  christos   rm -f conftest.er1
   7681  1.1  christos   cat conftest.err >&5
   7682  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7683  1.1  christos   (exit $ac_status); } >/dev/null; then
   7684  1.1  christos   if test -s conftest.err; then
   7685  1.1  christos     ac_cpp_err=$ac_c_preproc_warn_flag
   7686  1.1  christos     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   7687  1.1  christos   else
   7688  1.1  christos     ac_cpp_err=
   7689  1.1  christos   fi
   7690  1.1  christos else
   7691  1.1  christos   ac_cpp_err=yes
   7692  1.1  christos fi
   7693  1.1  christos if test -z "$ac_cpp_err"; then
   7694  1.1  christos   ac_header_preproc=yes
   7695  1.1  christos else
   7696  1.1  christos   echo "$as_me: failed program was:" >&5
   7697  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   7698  1.1  christos 
   7699  1.1  christos   ac_header_preproc=no
   7700  1.1  christos fi
   7701  1.1  christos rm -f conftest.err conftest.$ac_ext
   7702  1.1  christos echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   7703  1.1  christos echo "${ECHO_T}$ac_header_preproc" >&6
   7704  1.1  christos 
   7705  1.1  christos # So?  What about this header?
   7706  1.1  christos case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   7707  1.1  christos   yes:no: )
   7708  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   7709  1.1  christos echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   7710  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   7711  1.1  christos echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   7712  1.1  christos     ac_header_preproc=yes
   7713  1.1  christos     ;;
   7714  1.1  christos   no:yes:* )
   7715  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   7716  1.1  christos echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   7717  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   7718  1.1  christos echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   7719  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   7720  1.1  christos echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   7721  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   7722  1.1  christos echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   7723  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   7724  1.1  christos echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   7725  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   7726  1.1  christos echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   7727  1.1  christos     (
   7728  1.1  christos       cat <<\_ASBOX
   7729  1.1  christos ## ---------------------------------------------- ##
   7730  1.1  christos ## Report this to flex-help (at] lists.sourceforge.net ##
   7731  1.1  christos ## ---------------------------------------------- ##
   7732  1.1  christos _ASBOX
   7733  1.1  christos     ) |
   7734  1.1  christos       sed "s/^/$as_me: WARNING:     /" >&2
   7735  1.1  christos     ;;
   7736  1.1  christos esac
   7737  1.1  christos echo "$as_me:$LINENO: checking for $ac_header" >&5
   7738  1.1  christos echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   7739  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   7740  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   7741  1.1  christos else
   7742  1.1  christos   eval "$as_ac_Header=\$ac_header_preproc"
   7743  1.1  christos fi
   7744  1.1  christos echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   7745  1.1  christos echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   7746  1.1  christos 
   7747  1.1  christos fi
   7748  1.1  christos if test `eval echo '${'$as_ac_Header'}'` = yes; then
   7749  1.1  christos   cat >>confdefs.h <<_ACEOF
   7750  1.1  christos #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7751  1.1  christos _ACEOF
   7752  1.1  christos 
   7753  1.1  christos fi
   7754  1.1  christos 
   7755  1.1  christos done
   7756  1.1  christos 
   7757  1.1  christos 
   7758  1.1  christos echo "$as_me:$LINENO: checking for log10 in -lm" >&5
   7759  1.1  christos echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
   7760  1.1  christos if test "${ac_cv_lib_m_log10+set}" = set; then
   7761  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   7762  1.1  christos else
   7763  1.1  christos   ac_check_lib_save_LIBS=$LIBS
   7764  1.1  christos LIBS="-lm  $LIBS"
   7765  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   7766  1.1  christos /* confdefs.h.  */
   7767  1.1  christos _ACEOF
   7768  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7769  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7770  1.1  christos /* end confdefs.h.  */
   7771  1.1  christos 
   7772  1.1  christos /* Override any gcc2 internal prototype to avoid an error.  */
   7773  1.1  christos #ifdef __cplusplus
   7774  1.1  christos extern "C"
   7775  1.1  christos #endif
   7776  1.1  christos /* We use char because int might match the return type of a gcc2
   7777  1.1  christos    builtin and then its argument prototype would still apply.  */
   7778  1.1  christos char log10 ();
   7779  1.1  christos int
   7780  1.1  christos main ()
   7781  1.1  christos {
   7782  1.1  christos log10 ();
   7783  1.1  christos   ;
   7784  1.1  christos   return 0;
   7785  1.1  christos }
   7786  1.1  christos _ACEOF
   7787  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   7788  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7789  1.1  christos   (eval $ac_link) 2>conftest.er1
   7790  1.1  christos   ac_status=$?
   7791  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   7792  1.1  christos   rm -f conftest.er1
   7793  1.1  christos   cat conftest.err >&5
   7794  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7795  1.1  christos   (exit $ac_status); } &&
   7796  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7797  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7798  1.1  christos   (eval $ac_try) 2>&5
   7799  1.1  christos   ac_status=$?
   7800  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7801  1.1  christos   (exit $ac_status); }; } &&
   7802  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   7803  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7804  1.1  christos   (eval $ac_try) 2>&5
   7805  1.1  christos   ac_status=$?
   7806  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7807  1.1  christos   (exit $ac_status); }; }; then
   7808  1.1  christos   ac_cv_lib_m_log10=yes
   7809  1.1  christos else
   7810  1.1  christos   echo "$as_me: failed program was:" >&5
   7811  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   7812  1.1  christos 
   7813  1.1  christos ac_cv_lib_m_log10=no
   7814  1.1  christos fi
   7815  1.1  christos rm -f conftest.err conftest.$ac_objext \
   7816  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   7817  1.1  christos LIBS=$ac_check_lib_save_LIBS
   7818  1.1  christos fi
   7819  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
   7820  1.1  christos echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
   7821  1.1  christos if test $ac_cv_lib_m_log10 = yes; then
   7822  1.1  christos   cat >>confdefs.h <<_ACEOF
   7823  1.1  christos #define HAVE_LIBM 1
   7824  1.1  christos _ACEOF
   7825  1.1  christos 
   7826  1.1  christos   LIBS="-lm $LIBS"
   7827  1.1  christos 
   7828  1.1  christos fi
   7829  1.1  christos 
   7830  1.1  christos 
   7831  1.1  christos # The test test-pthread uses libpthread, so we check for it here, but
   7832  1.1  christos # all we need is the preprocessor symbol defined since we don't need
   7833  1.1  christos # LIBS to include libpthread for building flex.
   7834  1.1  christos 
   7835  1.1  christos echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
   7836  1.1  christos echo $ECHO_N "checking for pthread_mutex_lock in -lpthread... $ECHO_C" >&6
   7837  1.1  christos if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
   7838  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   7839  1.1  christos else
   7840  1.1  christos   ac_check_lib_save_LIBS=$LIBS
   7841  1.1  christos LIBS="-lpthread  $LIBS"
   7842  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   7843  1.1  christos /* confdefs.h.  */
   7844  1.1  christos _ACEOF
   7845  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7846  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7847  1.1  christos /* end confdefs.h.  */
   7848  1.1  christos 
   7849  1.1  christos /* Override any gcc2 internal prototype to avoid an error.  */
   7850  1.1  christos #ifdef __cplusplus
   7851  1.1  christos extern "C"
   7852  1.1  christos #endif
   7853  1.1  christos /* We use char because int might match the return type of a gcc2
   7854  1.1  christos    builtin and then its argument prototype would still apply.  */
   7855  1.1  christos char pthread_mutex_lock ();
   7856  1.1  christos int
   7857  1.1  christos main ()
   7858  1.1  christos {
   7859  1.1  christos pthread_mutex_lock ();
   7860  1.1  christos   ;
   7861  1.1  christos   return 0;
   7862  1.1  christos }
   7863  1.1  christos _ACEOF
   7864  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   7865  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7866  1.1  christos   (eval $ac_link) 2>conftest.er1
   7867  1.1  christos   ac_status=$?
   7868  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   7869  1.1  christos   rm -f conftest.er1
   7870  1.1  christos   cat conftest.err >&5
   7871  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7872  1.1  christos   (exit $ac_status); } &&
   7873  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7874  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7875  1.1  christos   (eval $ac_try) 2>&5
   7876  1.1  christos   ac_status=$?
   7877  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7878  1.1  christos   (exit $ac_status); }; } &&
   7879  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   7880  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7881  1.1  christos   (eval $ac_try) 2>&5
   7882  1.1  christos   ac_status=$?
   7883  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7884  1.1  christos   (exit $ac_status); }; }; then
   7885  1.1  christos   ac_cv_lib_pthread_pthread_mutex_lock=yes
   7886  1.1  christos else
   7887  1.1  christos   echo "$as_me: failed program was:" >&5
   7888  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   7889  1.1  christos 
   7890  1.1  christos ac_cv_lib_pthread_pthread_mutex_lock=no
   7891  1.1  christos fi
   7892  1.1  christos rm -f conftest.err conftest.$ac_objext \
   7893  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   7894  1.1  christos LIBS=$ac_check_lib_save_LIBS
   7895  1.1  christos fi
   7896  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
   7897  1.1  christos echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_lock" >&6
   7898  1.1  christos if test $ac_cv_lib_pthread_pthread_mutex_lock = yes; then
   7899  1.1  christos 
   7900  1.1  christos cat >>confdefs.h <<\_ACEOF
   7901  1.1  christos #define HAVE_LIBPTHREAD 1
   7902  1.1  christos _ACEOF
   7903  1.1  christos 
   7904  1.1  christos else
   7905  1.1  christos 
   7906  1.1  christos cat >>confdefs.h <<\_ACEOF
   7907  1.1  christos #define HAVE_LIBPTHREAD 0
   7908  1.1  christos _ACEOF
   7909  1.1  christos 
   7910  1.1  christos 
   7911  1.1  christos fi
   7912  1.1  christos 
   7913  1.1  christos 
   7914  1.1  christos for ac_header in pthread.h
   7915  1.1  christos do
   7916  1.1  christos as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7917  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   7918  1.1  christos   echo "$as_me:$LINENO: checking for $ac_header" >&5
   7919  1.1  christos echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   7920  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   7921  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   7922  1.1  christos fi
   7923  1.1  christos echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   7924  1.1  christos echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   7925  1.1  christos else
   7926  1.1  christos   # Is the header compilable?
   7927  1.1  christos echo "$as_me:$LINENO: checking $ac_header usability" >&5
   7928  1.1  christos echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   7929  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   7930  1.1  christos /* confdefs.h.  */
   7931  1.1  christos _ACEOF
   7932  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7933  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7934  1.1  christos /* end confdefs.h.  */
   7935  1.1  christos $ac_includes_default
   7936  1.1  christos #include <$ac_header>
   7937  1.1  christos _ACEOF
   7938  1.1  christos rm -f conftest.$ac_objext
   7939  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7940  1.1  christos   (eval $ac_compile) 2>conftest.er1
   7941  1.1  christos   ac_status=$?
   7942  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   7943  1.1  christos   rm -f conftest.er1
   7944  1.1  christos   cat conftest.err >&5
   7945  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7946  1.1  christos   (exit $ac_status); } &&
   7947  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7948  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7949  1.1  christos   (eval $ac_try) 2>&5
   7950  1.1  christos   ac_status=$?
   7951  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7952  1.1  christos   (exit $ac_status); }; } &&
   7953  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   7954  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7955  1.1  christos   (eval $ac_try) 2>&5
   7956  1.1  christos   ac_status=$?
   7957  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7958  1.1  christos   (exit $ac_status); }; }; then
   7959  1.1  christos   ac_header_compiler=yes
   7960  1.1  christos else
   7961  1.1  christos   echo "$as_me: failed program was:" >&5
   7962  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   7963  1.1  christos 
   7964  1.1  christos ac_header_compiler=no
   7965  1.1  christos fi
   7966  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7967  1.1  christos echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   7968  1.1  christos echo "${ECHO_T}$ac_header_compiler" >&6
   7969  1.1  christos 
   7970  1.1  christos # Is the header present?
   7971  1.1  christos echo "$as_me:$LINENO: checking $ac_header presence" >&5
   7972  1.1  christos echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   7973  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   7974  1.1  christos /* confdefs.h.  */
   7975  1.1  christos _ACEOF
   7976  1.1  christos cat confdefs.h >>conftest.$ac_ext
   7977  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   7978  1.1  christos /* end confdefs.h.  */
   7979  1.1  christos #include <$ac_header>
   7980  1.1  christos _ACEOF
   7981  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   7982  1.1  christos   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   7983  1.1  christos   ac_status=$?
   7984  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   7985  1.1  christos   rm -f conftest.er1
   7986  1.1  christos   cat conftest.err >&5
   7987  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7988  1.1  christos   (exit $ac_status); } >/dev/null; then
   7989  1.1  christos   if test -s conftest.err; then
   7990  1.1  christos     ac_cpp_err=$ac_c_preproc_warn_flag
   7991  1.1  christos     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   7992  1.1  christos   else
   7993  1.1  christos     ac_cpp_err=
   7994  1.1  christos   fi
   7995  1.1  christos else
   7996  1.1  christos   ac_cpp_err=yes
   7997  1.1  christos fi
   7998  1.1  christos if test -z "$ac_cpp_err"; then
   7999  1.1  christos   ac_header_preproc=yes
   8000  1.1  christos else
   8001  1.1  christos   echo "$as_me: failed program was:" >&5
   8002  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   8003  1.1  christos 
   8004  1.1  christos   ac_header_preproc=no
   8005  1.1  christos fi
   8006  1.1  christos rm -f conftest.err conftest.$ac_ext
   8007  1.1  christos echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   8008  1.1  christos echo "${ECHO_T}$ac_header_preproc" >&6
   8009  1.1  christos 
   8010  1.1  christos # So?  What about this header?
   8011  1.1  christos case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   8012  1.1  christos   yes:no: )
   8013  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   8014  1.1  christos echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   8015  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   8016  1.1  christos echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   8017  1.1  christos     ac_header_preproc=yes
   8018  1.1  christos     ;;
   8019  1.1  christos   no:yes:* )
   8020  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   8021  1.1  christos echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   8022  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   8023  1.1  christos echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   8024  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   8025  1.1  christos echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   8026  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   8027  1.1  christos echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   8028  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   8029  1.1  christos echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   8030  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   8031  1.1  christos echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   8032  1.1  christos     (
   8033  1.1  christos       cat <<\_ASBOX
   8034  1.1  christos ## ---------------------------------------------- ##
   8035  1.1  christos ## Report this to flex-help (at] lists.sourceforge.net ##
   8036  1.1  christos ## ---------------------------------------------- ##
   8037  1.1  christos _ASBOX
   8038  1.1  christos     ) |
   8039  1.1  christos       sed "s/^/$as_me: WARNING:     /" >&2
   8040  1.1  christos     ;;
   8041  1.1  christos esac
   8042  1.1  christos echo "$as_me:$LINENO: checking for $ac_header" >&5
   8043  1.1  christos echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   8044  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   8045  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   8046  1.1  christos else
   8047  1.1  christos   eval "$as_ac_Header=\$ac_header_preproc"
   8048  1.1  christos fi
   8049  1.1  christos echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   8050  1.1  christos echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   8051  1.1  christos 
   8052  1.1  christos fi
   8053  1.1  christos if test `eval echo '${'$as_ac_Header'}'` = yes; then
   8054  1.1  christos   cat >>confdefs.h <<_ACEOF
   8055  1.1  christos #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   8056  1.1  christos _ACEOF
   8057  1.1  christos 
   8058  1.1  christos fi
   8059  1.1  christos 
   8060  1.1  christos done
   8061  1.1  christos 
   8062  1.1  christos 
   8063  1.1  christos # Checks for typedefs, structures, and compiler characteristics.
   8064  1.1  christos 
   8065  1.1  christos echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
   8066  1.1  christos echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
   8067  1.1  christos if test "${ac_cv_header_stdbool_h+set}" = set; then
   8068  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   8069  1.1  christos else
   8070  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   8071  1.1  christos /* confdefs.h.  */
   8072  1.1  christos _ACEOF
   8073  1.1  christos cat confdefs.h >>conftest.$ac_ext
   8074  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   8075  1.1  christos /* end confdefs.h.  */
   8076  1.1  christos 
   8077  1.1  christos #include <stdbool.h>
   8078  1.1  christos #ifndef bool
   8079  1.1  christos # error bool is not defined
   8080  1.1  christos #endif
   8081  1.1  christos #ifndef false
   8082  1.1  christos # error false is not defined
   8083  1.1  christos #endif
   8084  1.1  christos #if false
   8085  1.1  christos # error false is not 0
   8086  1.1  christos #endif
   8087  1.1  christos #ifndef true
   8088  1.1  christos # error true is not defined
   8089  1.1  christos #endif
   8090  1.1  christos #if true != 1
   8091  1.1  christos # error true is not 1
   8092  1.1  christos #endif
   8093  1.1  christos #ifndef __bool_true_false_are_defined
   8094  1.1  christos # error __bool_true_false_are_defined is not defined
   8095  1.1  christos #endif
   8096  1.1  christos 
   8097  1.1  christos 	struct s { _Bool s: 1; _Bool t; } s;
   8098  1.1  christos 
   8099  1.1  christos 	char a[true == 1 ? 1 : -1];
   8100  1.1  christos 	char b[false == 0 ? 1 : -1];
   8101  1.1  christos 	char c[__bool_true_false_are_defined == 1 ? 1 : -1];
   8102  1.1  christos 	char d[(bool) -0.5 == true ? 1 : -1];
   8103  1.1  christos 	bool e = &s;
   8104  1.1  christos 	char f[(_Bool) -0.0 == false ? 1 : -1];
   8105  1.1  christos 	char g[true];
   8106  1.1  christos 	char h[sizeof (_Bool)];
   8107  1.1  christos 	char i[sizeof s.t];
   8108  1.1  christos 
   8109  1.1  christos int
   8110  1.1  christos main ()
   8111  1.1  christos {
   8112  1.1  christos  return !a + !b + !c + !d + !e + !f + !g + !h + !i;
   8113  1.1  christos   ;
   8114  1.1  christos   return 0;
   8115  1.1  christos }
   8116  1.1  christos _ACEOF
   8117  1.1  christos rm -f conftest.$ac_objext
   8118  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8119  1.1  christos   (eval $ac_compile) 2>conftest.er1
   8120  1.1  christos   ac_status=$?
   8121  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   8122  1.1  christos   rm -f conftest.er1
   8123  1.1  christos   cat conftest.err >&5
   8124  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8125  1.1  christos   (exit $ac_status); } &&
   8126  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8127  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8128  1.1  christos   (eval $ac_try) 2>&5
   8129  1.1  christos   ac_status=$?
   8130  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8131  1.1  christos   (exit $ac_status); }; } &&
   8132  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   8133  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8134  1.1  christos   (eval $ac_try) 2>&5
   8135  1.1  christos   ac_status=$?
   8136  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8137  1.1  christos   (exit $ac_status); }; }; then
   8138  1.1  christos   ac_cv_header_stdbool_h=yes
   8139  1.1  christos else
   8140  1.1  christos   echo "$as_me: failed program was:" >&5
   8141  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   8142  1.1  christos 
   8143  1.1  christos ac_cv_header_stdbool_h=no
   8144  1.1  christos fi
   8145  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8146  1.1  christos fi
   8147  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
   8148  1.1  christos echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
   8149  1.1  christos echo "$as_me:$LINENO: checking for _Bool" >&5
   8150  1.1  christos echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
   8151  1.1  christos if test "${ac_cv_type__Bool+set}" = set; then
   8152  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   8153  1.1  christos else
   8154  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   8155  1.1  christos /* confdefs.h.  */
   8156  1.1  christos _ACEOF
   8157  1.1  christos cat confdefs.h >>conftest.$ac_ext
   8158  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   8159  1.1  christos /* end confdefs.h.  */
   8160  1.1  christos $ac_includes_default
   8161  1.1  christos int
   8162  1.1  christos main ()
   8163  1.1  christos {
   8164  1.1  christos if ((_Bool *) 0)
   8165  1.1  christos   return 0;
   8166  1.1  christos if (sizeof (_Bool))
   8167  1.1  christos   return 0;
   8168  1.1  christos   ;
   8169  1.1  christos   return 0;
   8170  1.1  christos }
   8171  1.1  christos _ACEOF
   8172  1.1  christos rm -f conftest.$ac_objext
   8173  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8174  1.1  christos   (eval $ac_compile) 2>conftest.er1
   8175  1.1  christos   ac_status=$?
   8176  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   8177  1.1  christos   rm -f conftest.er1
   8178  1.1  christos   cat conftest.err >&5
   8179  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8180  1.1  christos   (exit $ac_status); } &&
   8181  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8182  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8183  1.1  christos   (eval $ac_try) 2>&5
   8184  1.1  christos   ac_status=$?
   8185  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8186  1.1  christos   (exit $ac_status); }; } &&
   8187  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   8188  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8189  1.1  christos   (eval $ac_try) 2>&5
   8190  1.1  christos   ac_status=$?
   8191  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8192  1.1  christos   (exit $ac_status); }; }; then
   8193  1.1  christos   ac_cv_type__Bool=yes
   8194  1.1  christos else
   8195  1.1  christos   echo "$as_me: failed program was:" >&5
   8196  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   8197  1.1  christos 
   8198  1.1  christos ac_cv_type__Bool=no
   8199  1.1  christos fi
   8200  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8201  1.1  christos fi
   8202  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
   8203  1.1  christos echo "${ECHO_T}$ac_cv_type__Bool" >&6
   8204  1.1  christos if test $ac_cv_type__Bool = yes; then
   8205  1.1  christos 
   8206  1.1  christos cat >>confdefs.h <<_ACEOF
   8207  1.1  christos #define HAVE__BOOL 1
   8208  1.1  christos _ACEOF
   8209  1.1  christos 
   8210  1.1  christos 
   8211  1.1  christos fi
   8212  1.1  christos 
   8213  1.1  christos if test $ac_cv_header_stdbool_h = yes; then
   8214  1.1  christos 
   8215  1.1  christos cat >>confdefs.h <<\_ACEOF
   8216  1.1  christos #define HAVE_STDBOOL_H 1
   8217  1.1  christos _ACEOF
   8218  1.1  christos 
   8219  1.1  christos fi
   8220  1.1  christos 
   8221  1.1  christos echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
   8222  1.1  christos echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
   8223  1.1  christos if test "${ac_cv_c_const+set}" = set; then
   8224  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   8225  1.1  christos else
   8226  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   8227  1.1  christos /* confdefs.h.  */
   8228  1.1  christos _ACEOF
   8229  1.1  christos cat confdefs.h >>conftest.$ac_ext
   8230  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   8231  1.1  christos /* end confdefs.h.  */
   8232  1.1  christos 
   8233  1.1  christos int
   8234  1.1  christos main ()
   8235  1.1  christos {
   8236  1.1  christos /* FIXME: Include the comments suggested by Paul. */
   8237  1.1  christos #ifndef __cplusplus
   8238  1.1  christos   /* Ultrix mips cc rejects this.  */
   8239  1.1  christos   typedef int charset[2];
   8240  1.1  christos   const charset x;
   8241  1.1  christos   /* SunOS 4.1.1 cc rejects this.  */
   8242  1.1  christos   char const *const *ccp;
   8243  1.1  christos   char **p;
   8244  1.1  christos   /* NEC SVR4.0.2 mips cc rejects this.  */
   8245  1.1  christos   struct point {int x, y;};
   8246  1.1  christos   static struct point const zero = {0,0};
   8247  1.1  christos   /* AIX XL C 1.02.0.0 rejects this.
   8248  1.1  christos      It does not let you subtract one const X* pointer from another in
   8249  1.1  christos      an arm of an if-expression whose if-part is not a constant
   8250  1.1  christos      expression */
   8251  1.1  christos   const char *g = "string";
   8252  1.1  christos   ccp = &g + (g ? g-g : 0);
   8253  1.1  christos   /* HPUX 7.0 cc rejects these. */
   8254  1.1  christos   ++ccp;
   8255  1.1  christos   p = (char**) ccp;
   8256  1.1  christos   ccp = (char const *const *) p;
   8257  1.1  christos   { /* SCO 3.2v4 cc rejects this.  */
   8258  1.1  christos     char *t;
   8259  1.1  christos     char const *s = 0 ? (char *) 0 : (char const *) 0;
   8260  1.1  christos 
   8261  1.1  christos     *t++ = 0;
   8262  1.1  christos   }
   8263  1.1  christos   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   8264  1.1  christos     int x[] = {25, 17};
   8265  1.1  christos     const int *foo = &x[0];
   8266  1.1  christos     ++foo;
   8267  1.1  christos   }
   8268  1.1  christos   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   8269  1.1  christos     typedef const int *iptr;
   8270  1.1  christos     iptr p = 0;
   8271  1.1  christos     ++p;
   8272  1.1  christos   }
   8273  1.1  christos   { /* AIX XL C 1.02.0.0 rejects this saying
   8274  1.1  christos        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   8275  1.1  christos     struct s { int j; const int *ap[3]; };
   8276  1.1  christos     struct s *b; b->j = 5;
   8277  1.1  christos   }
   8278  1.1  christos   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   8279  1.1  christos     const int foo = 10;
   8280  1.1  christos   }
   8281  1.1  christos #endif
   8282  1.1  christos 
   8283  1.1  christos   ;
   8284  1.1  christos   return 0;
   8285  1.1  christos }
   8286  1.1  christos _ACEOF
   8287  1.1  christos rm -f conftest.$ac_objext
   8288  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8289  1.1  christos   (eval $ac_compile) 2>conftest.er1
   8290  1.1  christos   ac_status=$?
   8291  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   8292  1.1  christos   rm -f conftest.er1
   8293  1.1  christos   cat conftest.err >&5
   8294  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8295  1.1  christos   (exit $ac_status); } &&
   8296  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8297  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8298  1.1  christos   (eval $ac_try) 2>&5
   8299  1.1  christos   ac_status=$?
   8300  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8301  1.1  christos   (exit $ac_status); }; } &&
   8302  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   8303  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8304  1.1  christos   (eval $ac_try) 2>&5
   8305  1.1  christos   ac_status=$?
   8306  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8307  1.1  christos   (exit $ac_status); }; }; then
   8308  1.1  christos   ac_cv_c_const=yes
   8309  1.1  christos else
   8310  1.1  christos   echo "$as_me: failed program was:" >&5
   8311  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   8312  1.1  christos 
   8313  1.1  christos ac_cv_c_const=no
   8314  1.1  christos fi
   8315  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8316  1.1  christos fi
   8317  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
   8318  1.1  christos echo "${ECHO_T}$ac_cv_c_const" >&6
   8319  1.1  christos if test $ac_cv_c_const = no; then
   8320  1.1  christos 
   8321  1.1  christos cat >>confdefs.h <<\_ACEOF
   8322  1.1  christos #define const
   8323  1.1  christos _ACEOF
   8324  1.1  christos 
   8325  1.1  christos fi
   8326  1.1  christos 
   8327  1.1  christos echo "$as_me:$LINENO: checking for size_t" >&5
   8328  1.1  christos echo $ECHO_N "checking for size_t... $ECHO_C" >&6
   8329  1.1  christos if test "${ac_cv_type_size_t+set}" = set; then
   8330  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   8331  1.1  christos else
   8332  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   8333  1.1  christos /* confdefs.h.  */
   8334  1.1  christos _ACEOF
   8335  1.1  christos cat confdefs.h >>conftest.$ac_ext
   8336  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   8337  1.1  christos /* end confdefs.h.  */
   8338  1.1  christos $ac_includes_default
   8339  1.1  christos int
   8340  1.1  christos main ()
   8341  1.1  christos {
   8342  1.1  christos if ((size_t *) 0)
   8343  1.1  christos   return 0;
   8344  1.1  christos if (sizeof (size_t))
   8345  1.1  christos   return 0;
   8346  1.1  christos   ;
   8347  1.1  christos   return 0;
   8348  1.1  christos }
   8349  1.1  christos _ACEOF
   8350  1.1  christos rm -f conftest.$ac_objext
   8351  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8352  1.1  christos   (eval $ac_compile) 2>conftest.er1
   8353  1.1  christos   ac_status=$?
   8354  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   8355  1.1  christos   rm -f conftest.er1
   8356  1.1  christos   cat conftest.err >&5
   8357  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8358  1.1  christos   (exit $ac_status); } &&
   8359  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8360  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8361  1.1  christos   (eval $ac_try) 2>&5
   8362  1.1  christos   ac_status=$?
   8363  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8364  1.1  christos   (exit $ac_status); }; } &&
   8365  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   8366  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8367  1.1  christos   (eval $ac_try) 2>&5
   8368  1.1  christos   ac_status=$?
   8369  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8370  1.1  christos   (exit $ac_status); }; }; then
   8371  1.1  christos   ac_cv_type_size_t=yes
   8372  1.1  christos else
   8373  1.1  christos   echo "$as_me: failed program was:" >&5
   8374  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   8375  1.1  christos 
   8376  1.1  christos ac_cv_type_size_t=no
   8377  1.1  christos fi
   8378  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8379  1.1  christos fi
   8380  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
   8381  1.1  christos echo "${ECHO_T}$ac_cv_type_size_t" >&6
   8382  1.1  christos if test $ac_cv_type_size_t = yes; then
   8383  1.1  christos   :
   8384  1.1  christos else
   8385  1.1  christos 
   8386  1.1  christos cat >>confdefs.h <<_ACEOF
   8387  1.1  christos #define size_t unsigned
   8388  1.1  christos _ACEOF
   8389  1.1  christos 
   8390  1.1  christos fi
   8391  1.1  christos 
   8392  1.1  christos 
   8393  1.1  christos # Checks for library functions.
   8394  1.1  christos 
   8395  1.1  christos echo "$as_me:$LINENO: checking for pid_t" >&5
   8396  1.1  christos echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
   8397  1.1  christos if test "${ac_cv_type_pid_t+set}" = set; then
   8398  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   8399  1.1  christos else
   8400  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   8401  1.1  christos /* confdefs.h.  */
   8402  1.1  christos _ACEOF
   8403  1.1  christos cat confdefs.h >>conftest.$ac_ext
   8404  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   8405  1.1  christos /* end confdefs.h.  */
   8406  1.1  christos $ac_includes_default
   8407  1.1  christos int
   8408  1.1  christos main ()
   8409  1.1  christos {
   8410  1.1  christos if ((pid_t *) 0)
   8411  1.1  christos   return 0;
   8412  1.1  christos if (sizeof (pid_t))
   8413  1.1  christos   return 0;
   8414  1.1  christos   ;
   8415  1.1  christos   return 0;
   8416  1.1  christos }
   8417  1.1  christos _ACEOF
   8418  1.1  christos rm -f conftest.$ac_objext
   8419  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8420  1.1  christos   (eval $ac_compile) 2>conftest.er1
   8421  1.1  christos   ac_status=$?
   8422  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   8423  1.1  christos   rm -f conftest.er1
   8424  1.1  christos   cat conftest.err >&5
   8425  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8426  1.1  christos   (exit $ac_status); } &&
   8427  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8428  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8429  1.1  christos   (eval $ac_try) 2>&5
   8430  1.1  christos   ac_status=$?
   8431  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8432  1.1  christos   (exit $ac_status); }; } &&
   8433  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   8434  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8435  1.1  christos   (eval $ac_try) 2>&5
   8436  1.1  christos   ac_status=$?
   8437  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8438  1.1  christos   (exit $ac_status); }; }; then
   8439  1.1  christos   ac_cv_type_pid_t=yes
   8440  1.1  christos else
   8441  1.1  christos   echo "$as_me: failed program was:" >&5
   8442  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   8443  1.1  christos 
   8444  1.1  christos ac_cv_type_pid_t=no
   8445  1.1  christos fi
   8446  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8447  1.1  christos fi
   8448  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
   8449  1.1  christos echo "${ECHO_T}$ac_cv_type_pid_t" >&6
   8450  1.1  christos if test $ac_cv_type_pid_t = yes; then
   8451  1.1  christos   :
   8452  1.1  christos else
   8453  1.1  christos 
   8454  1.1  christos cat >>confdefs.h <<_ACEOF
   8455  1.1  christos #define pid_t int
   8456  1.1  christos _ACEOF
   8457  1.1  christos 
   8458  1.1  christos fi
   8459  1.1  christos 
   8460  1.1  christos 
   8461  1.1  christos 
   8462  1.1  christos for ac_header in unistd.h vfork.h
   8463  1.1  christos do
   8464  1.1  christos as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   8465  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   8466  1.1  christos   echo "$as_me:$LINENO: checking for $ac_header" >&5
   8467  1.1  christos echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   8468  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   8469  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   8470  1.1  christos fi
   8471  1.1  christos echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   8472  1.1  christos echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   8473  1.1  christos else
   8474  1.1  christos   # Is the header compilable?
   8475  1.1  christos echo "$as_me:$LINENO: checking $ac_header usability" >&5
   8476  1.1  christos echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   8477  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   8478  1.1  christos /* confdefs.h.  */
   8479  1.1  christos _ACEOF
   8480  1.1  christos cat confdefs.h >>conftest.$ac_ext
   8481  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   8482  1.1  christos /* end confdefs.h.  */
   8483  1.1  christos $ac_includes_default
   8484  1.1  christos #include <$ac_header>
   8485  1.1  christos _ACEOF
   8486  1.1  christos rm -f conftest.$ac_objext
   8487  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8488  1.1  christos   (eval $ac_compile) 2>conftest.er1
   8489  1.1  christos   ac_status=$?
   8490  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   8491  1.1  christos   rm -f conftest.er1
   8492  1.1  christos   cat conftest.err >&5
   8493  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8494  1.1  christos   (exit $ac_status); } &&
   8495  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8496  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8497  1.1  christos   (eval $ac_try) 2>&5
   8498  1.1  christos   ac_status=$?
   8499  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8500  1.1  christos   (exit $ac_status); }; } &&
   8501  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   8502  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8503  1.1  christos   (eval $ac_try) 2>&5
   8504  1.1  christos   ac_status=$?
   8505  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8506  1.1  christos   (exit $ac_status); }; }; then
   8507  1.1  christos   ac_header_compiler=yes
   8508  1.1  christos else
   8509  1.1  christos   echo "$as_me: failed program was:" >&5
   8510  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   8511  1.1  christos 
   8512  1.1  christos ac_header_compiler=no
   8513  1.1  christos fi
   8514  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8515  1.1  christos echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   8516  1.1  christos echo "${ECHO_T}$ac_header_compiler" >&6
   8517  1.1  christos 
   8518  1.1  christos # Is the header present?
   8519  1.1  christos echo "$as_me:$LINENO: checking $ac_header presence" >&5
   8520  1.1  christos echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   8521  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   8522  1.1  christos /* confdefs.h.  */
   8523  1.1  christos _ACEOF
   8524  1.1  christos cat confdefs.h >>conftest.$ac_ext
   8525  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   8526  1.1  christos /* end confdefs.h.  */
   8527  1.1  christos #include <$ac_header>
   8528  1.1  christos _ACEOF
   8529  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   8530  1.1  christos   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   8531  1.1  christos   ac_status=$?
   8532  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   8533  1.1  christos   rm -f conftest.er1
   8534  1.1  christos   cat conftest.err >&5
   8535  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8536  1.1  christos   (exit $ac_status); } >/dev/null; then
   8537  1.1  christos   if test -s conftest.err; then
   8538  1.1  christos     ac_cpp_err=$ac_c_preproc_warn_flag
   8539  1.1  christos     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   8540  1.1  christos   else
   8541  1.1  christos     ac_cpp_err=
   8542  1.1  christos   fi
   8543  1.1  christos else
   8544  1.1  christos   ac_cpp_err=yes
   8545  1.1  christos fi
   8546  1.1  christos if test -z "$ac_cpp_err"; then
   8547  1.1  christos   ac_header_preproc=yes
   8548  1.1  christos else
   8549  1.1  christos   echo "$as_me: failed program was:" >&5
   8550  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   8551  1.1  christos 
   8552  1.1  christos   ac_header_preproc=no
   8553  1.1  christos fi
   8554  1.1  christos rm -f conftest.err conftest.$ac_ext
   8555  1.1  christos echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   8556  1.1  christos echo "${ECHO_T}$ac_header_preproc" >&6
   8557  1.1  christos 
   8558  1.1  christos # So?  What about this header?
   8559  1.1  christos case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   8560  1.1  christos   yes:no: )
   8561  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   8562  1.1  christos echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   8563  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   8564  1.1  christos echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   8565  1.1  christos     ac_header_preproc=yes
   8566  1.1  christos     ;;
   8567  1.1  christos   no:yes:* )
   8568  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   8569  1.1  christos echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   8570  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   8571  1.1  christos echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   8572  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   8573  1.1  christos echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   8574  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   8575  1.1  christos echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   8576  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   8577  1.1  christos echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   8578  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   8579  1.1  christos echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   8580  1.1  christos     (
   8581  1.1  christos       cat <<\_ASBOX
   8582  1.1  christos ## ---------------------------------------------- ##
   8583  1.1  christos ## Report this to flex-help (at] lists.sourceforge.net ##
   8584  1.1  christos ## ---------------------------------------------- ##
   8585  1.1  christos _ASBOX
   8586  1.1  christos     ) |
   8587  1.1  christos       sed "s/^/$as_me: WARNING:     /" >&2
   8588  1.1  christos     ;;
   8589  1.1  christos esac
   8590  1.1  christos echo "$as_me:$LINENO: checking for $ac_header" >&5
   8591  1.1  christos echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   8592  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   8593  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   8594  1.1  christos else
   8595  1.1  christos   eval "$as_ac_Header=\$ac_header_preproc"
   8596  1.1  christos fi
   8597  1.1  christos echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   8598  1.1  christos echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   8599  1.1  christos 
   8600  1.1  christos fi
   8601  1.1  christos if test `eval echo '${'$as_ac_Header'}'` = yes; then
   8602  1.1  christos   cat >>confdefs.h <<_ACEOF
   8603  1.1  christos #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   8604  1.1  christos _ACEOF
   8605  1.1  christos 
   8606  1.1  christos fi
   8607  1.1  christos 
   8608  1.1  christos done
   8609  1.1  christos 
   8610  1.1  christos 
   8611  1.1  christos 
   8612  1.1  christos for ac_func in fork vfork
   8613  1.1  christos do
   8614  1.1  christos as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   8615  1.1  christos echo "$as_me:$LINENO: checking for $ac_func" >&5
   8616  1.1  christos echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   8617  1.1  christos if eval "test \"\${$as_ac_var+set}\" = set"; then
   8618  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   8619  1.1  christos else
   8620  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   8621  1.1  christos /* confdefs.h.  */
   8622  1.1  christos _ACEOF
   8623  1.1  christos cat confdefs.h >>conftest.$ac_ext
   8624  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   8625  1.1  christos /* end confdefs.h.  */
   8626  1.1  christos /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   8627  1.1  christos    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   8628  1.1  christos #define $ac_func innocuous_$ac_func
   8629  1.1  christos 
   8630  1.1  christos /* System header to define __stub macros and hopefully few prototypes,
   8631  1.1  christos     which can conflict with char $ac_func (); below.
   8632  1.1  christos     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8633  1.1  christos     <limits.h> exists even on freestanding compilers.  */
   8634  1.1  christos 
   8635  1.1  christos #ifdef __STDC__
   8636  1.1  christos # include <limits.h>
   8637  1.1  christos #else
   8638  1.1  christos # include <assert.h>
   8639  1.1  christos #endif
   8640  1.1  christos 
   8641  1.1  christos #undef $ac_func
   8642  1.1  christos 
   8643  1.1  christos /* Override any gcc2 internal prototype to avoid an error.  */
   8644  1.1  christos #ifdef __cplusplus
   8645  1.1  christos extern "C"
   8646  1.1  christos {
   8647  1.1  christos #endif
   8648  1.1  christos /* We use char because int might match the return type of a gcc2
   8649  1.1  christos    builtin and then its argument prototype would still apply.  */
   8650  1.1  christos char $ac_func ();
   8651  1.1  christos /* The GNU C library defines this for functions which it implements
   8652  1.1  christos     to always fail with ENOSYS.  Some functions are actually named
   8653  1.1  christos     something starting with __ and the normal name is an alias.  */
   8654  1.1  christos #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   8655  1.1  christos choke me
   8656  1.1  christos #else
   8657  1.1  christos char (*f) () = $ac_func;
   8658  1.1  christos #endif
   8659  1.1  christos #ifdef __cplusplus
   8660  1.1  christos }
   8661  1.1  christos #endif
   8662  1.1  christos 
   8663  1.1  christos int
   8664  1.1  christos main ()
   8665  1.1  christos {
   8666  1.1  christos return f != $ac_func;
   8667  1.1  christos   ;
   8668  1.1  christos   return 0;
   8669  1.1  christos }
   8670  1.1  christos _ACEOF
   8671  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   8672  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8673  1.1  christos   (eval $ac_link) 2>conftest.er1
   8674  1.1  christos   ac_status=$?
   8675  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   8676  1.1  christos   rm -f conftest.er1
   8677  1.1  christos   cat conftest.err >&5
   8678  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8679  1.1  christos   (exit $ac_status); } &&
   8680  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8681  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8682  1.1  christos   (eval $ac_try) 2>&5
   8683  1.1  christos   ac_status=$?
   8684  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8685  1.1  christos   (exit $ac_status); }; } &&
   8686  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   8687  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8688  1.1  christos   (eval $ac_try) 2>&5
   8689  1.1  christos   ac_status=$?
   8690  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8691  1.1  christos   (exit $ac_status); }; }; then
   8692  1.1  christos   eval "$as_ac_var=yes"
   8693  1.1  christos else
   8694  1.1  christos   echo "$as_me: failed program was:" >&5
   8695  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   8696  1.1  christos 
   8697  1.1  christos eval "$as_ac_var=no"
   8698  1.1  christos fi
   8699  1.1  christos rm -f conftest.err conftest.$ac_objext \
   8700  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   8701  1.1  christos fi
   8702  1.1  christos echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   8703  1.1  christos echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   8704  1.1  christos if test `eval echo '${'$as_ac_var'}'` = yes; then
   8705  1.1  christos   cat >>confdefs.h <<_ACEOF
   8706  1.1  christos #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   8707  1.1  christos _ACEOF
   8708  1.1  christos 
   8709  1.1  christos fi
   8710  1.1  christos done
   8711  1.1  christos 
   8712  1.1  christos if test "x$ac_cv_func_fork" = xyes; then
   8713  1.1  christos   echo "$as_me:$LINENO: checking for working fork" >&5
   8714  1.1  christos echo $ECHO_N "checking for working fork... $ECHO_C" >&6
   8715  1.1  christos if test "${ac_cv_func_fork_works+set}" = set; then
   8716  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   8717  1.1  christos else
   8718  1.1  christos   if test "$cross_compiling" = yes; then
   8719  1.1  christos   ac_cv_func_fork_works=cross
   8720  1.1  christos else
   8721  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   8722  1.1  christos /* confdefs.h.  */
   8723  1.1  christos _ACEOF
   8724  1.1  christos cat confdefs.h >>conftest.$ac_ext
   8725  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   8726  1.1  christos /* end confdefs.h.  */
   8727  1.1  christos $ac_includes_default
   8728  1.1  christos int
   8729  1.1  christos main ()
   8730  1.1  christos {
   8731  1.1  christos 
   8732  1.1  christos 	  /* By Ruediger Kuhlmann. */
   8733  1.1  christos 	  if (fork() < 0)
   8734  1.1  christos 	    exit (1);
   8735  1.1  christos 	  exit (0);
   8736  1.1  christos 
   8737  1.1  christos   ;
   8738  1.1  christos   return 0;
   8739  1.1  christos }
   8740  1.1  christos _ACEOF
   8741  1.1  christos rm -f conftest$ac_exeext
   8742  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8743  1.1  christos   (eval $ac_link) 2>&5
   8744  1.1  christos   ac_status=$?
   8745  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8746  1.1  christos   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   8747  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8748  1.1  christos   (eval $ac_try) 2>&5
   8749  1.1  christos   ac_status=$?
   8750  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8751  1.1  christos   (exit $ac_status); }; }; then
   8752  1.1  christos   ac_cv_func_fork_works=yes
   8753  1.1  christos else
   8754  1.1  christos   echo "$as_me: program exited with status $ac_status" >&5
   8755  1.1  christos echo "$as_me: failed program was:" >&5
   8756  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   8757  1.1  christos 
   8758  1.1  christos ( exit $ac_status )
   8759  1.1  christos ac_cv_func_fork_works=no
   8760  1.1  christos fi
   8761  1.1  christos rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   8762  1.1  christos fi
   8763  1.1  christos fi
   8764  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
   8765  1.1  christos echo "${ECHO_T}$ac_cv_func_fork_works" >&6
   8766  1.1  christos 
   8767  1.1  christos else
   8768  1.1  christos   ac_cv_func_fork_works=$ac_cv_func_fork
   8769  1.1  christos fi
   8770  1.1  christos if test "x$ac_cv_func_fork_works" = xcross; then
   8771  1.1  christos   case $host in
   8772  1.1  christos     *-*-amigaos* | *-*-msdosdjgpp*)
   8773  1.1  christos       # Override, as these systems have only a dummy fork() stub
   8774  1.1  christos       ac_cv_func_fork_works=no
   8775  1.1  christos       ;;
   8776  1.1  christos     *)
   8777  1.1  christos       ac_cv_func_fork_works=yes
   8778  1.1  christos       ;;
   8779  1.1  christos   esac
   8780  1.1  christos   { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
   8781  1.1  christos echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
   8782  1.1  christos fi
   8783  1.1  christos ac_cv_func_vfork_works=$ac_cv_func_vfork
   8784  1.1  christos if test "x$ac_cv_func_vfork" = xyes; then
   8785  1.1  christos   echo "$as_me:$LINENO: checking for working vfork" >&5
   8786  1.1  christos echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
   8787  1.1  christos if test "${ac_cv_func_vfork_works+set}" = set; then
   8788  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   8789  1.1  christos else
   8790  1.1  christos   if test "$cross_compiling" = yes; then
   8791  1.1  christos   ac_cv_func_vfork_works=cross
   8792  1.1  christos else
   8793  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   8794  1.1  christos /* confdefs.h.  */
   8795  1.1  christos _ACEOF
   8796  1.1  christos cat confdefs.h >>conftest.$ac_ext
   8797  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   8798  1.1  christos /* end confdefs.h.  */
   8799  1.1  christos /* Thanks to Paul Eggert for this test.  */
   8800  1.1  christos #include <stdio.h>
   8801  1.1  christos #include <stdlib.h>
   8802  1.1  christos #include <sys/types.h>
   8803  1.1  christos #include <sys/stat.h>
   8804  1.1  christos #include <sys/wait.h>
   8805  1.1  christos #if HAVE_UNISTD_H
   8806  1.1  christos # include <unistd.h>
   8807  1.1  christos #endif
   8808  1.1  christos #if HAVE_VFORK_H
   8809  1.1  christos # include <vfork.h>
   8810  1.1  christos #endif
   8811  1.1  christos /* On some sparc systems, changes by the child to local and incoming
   8812  1.1  christos    argument registers are propagated back to the parent.  The compiler
   8813  1.1  christos    is told about this with #include <vfork.h>, but some compilers
   8814  1.1  christos    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
   8815  1.1  christos    static variable whose address is put into a register that is
   8816  1.1  christos    clobbered by the vfork.  */
   8817  1.1  christos static void
   8818  1.1  christos #ifdef __cplusplus
   8819  1.1  christos sparc_address_test (int arg)
   8820  1.1  christos # else
   8821  1.1  christos sparc_address_test (arg) int arg;
   8822  1.1  christos #endif
   8823  1.1  christos {
   8824  1.1  christos   static pid_t child;
   8825  1.1  christos   if (!child) {
   8826  1.1  christos     child = vfork ();
   8827  1.1  christos     if (child < 0) {
   8828  1.1  christos       perror ("vfork");
   8829  1.1  christos       _exit(2);
   8830  1.1  christos     }
   8831  1.1  christos     if (!child) {
   8832  1.1  christos       arg = getpid();
   8833  1.1  christos       write(-1, "", 0);
   8834  1.1  christos       _exit (arg);
   8835  1.1  christos     }
   8836  1.1  christos   }
   8837  1.1  christos }
   8838  1.1  christos 
   8839  1.1  christos int
   8840  1.1  christos main ()
   8841  1.1  christos {
   8842  1.1  christos   pid_t parent = getpid ();
   8843  1.1  christos   pid_t child;
   8844  1.1  christos 
   8845  1.1  christos   sparc_address_test (0);
   8846  1.1  christos 
   8847  1.1  christos   child = vfork ();
   8848  1.1  christos 
   8849  1.1  christos   if (child == 0) {
   8850  1.1  christos     /* Here is another test for sparc vfork register problems.  This
   8851  1.1  christos        test uses lots of local variables, at least as many local
   8852  1.1  christos        variables as main has allocated so far including compiler
   8853  1.1  christos        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
   8854  1.1  christos        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
   8855  1.1  christos        reuse the register of parent for one of the local variables,
   8856  1.1  christos        since it will think that parent can't possibly be used any more
   8857  1.1  christos        in this routine.  Assigning to the local variable will thus
   8858  1.1  christos        munge parent in the parent process.  */
   8859  1.1  christos     pid_t
   8860  1.1  christos       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
   8861  1.1  christos       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
   8862  1.1  christos     /* Convince the compiler that p..p7 are live; otherwise, it might
   8863  1.1  christos        use the same hardware register for all 8 local variables.  */
   8864  1.1  christos     if (p != p1 || p != p2 || p != p3 || p != p4
   8865  1.1  christos 	|| p != p5 || p != p6 || p != p7)
   8866  1.1  christos       _exit(1);
   8867  1.1  christos 
   8868  1.1  christos     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
   8869  1.1  christos        from child file descriptors.  If the child closes a descriptor
   8870  1.1  christos        before it execs or exits, this munges the parent's descriptor
   8871  1.1  christos        as well.  Test for this by closing stdout in the child.  */
   8872  1.1  christos     _exit(close(fileno(stdout)) != 0);
   8873  1.1  christos   } else {
   8874  1.1  christos     int status;
   8875  1.1  christos     struct stat st;
   8876  1.1  christos 
   8877  1.1  christos     while (wait(&status) != child)
   8878  1.1  christos       ;
   8879  1.1  christos     exit(
   8880  1.1  christos 	 /* Was there some problem with vforking?  */
   8881  1.1  christos 	 child < 0
   8882  1.1  christos 
   8883  1.1  christos 	 /* Did the child fail?  (This shouldn't happen.)  */
   8884  1.1  christos 	 || status
   8885  1.1  christos 
   8886  1.1  christos 	 /* Did the vfork/compiler bug occur?  */
   8887  1.1  christos 	 || parent != getpid()
   8888  1.1  christos 
   8889  1.1  christos 	 /* Did the file descriptor bug occur?  */
   8890  1.1  christos 	 || fstat(fileno(stdout), &st) != 0
   8891  1.1  christos 	 );
   8892  1.1  christos   }
   8893  1.1  christos }
   8894  1.1  christos _ACEOF
   8895  1.1  christos rm -f conftest$ac_exeext
   8896  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8897  1.1  christos   (eval $ac_link) 2>&5
   8898  1.1  christos   ac_status=$?
   8899  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8900  1.1  christos   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   8901  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8902  1.1  christos   (eval $ac_try) 2>&5
   8903  1.1  christos   ac_status=$?
   8904  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8905  1.1  christos   (exit $ac_status); }; }; then
   8906  1.1  christos   ac_cv_func_vfork_works=yes
   8907  1.1  christos else
   8908  1.1  christos   echo "$as_me: program exited with status $ac_status" >&5
   8909  1.1  christos echo "$as_me: failed program was:" >&5
   8910  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   8911  1.1  christos 
   8912  1.1  christos ( exit $ac_status )
   8913  1.1  christos ac_cv_func_vfork_works=no
   8914  1.1  christos fi
   8915  1.1  christos rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   8916  1.1  christos fi
   8917  1.1  christos fi
   8918  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
   8919  1.1  christos echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
   8920  1.1  christos 
   8921  1.1  christos fi;
   8922  1.1  christos if test "x$ac_cv_func_fork_works" = xcross; then
   8923  1.1  christos   ac_cv_func_vfork_works=$ac_cv_func_vfork
   8924  1.1  christos   { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
   8925  1.1  christos echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
   8926  1.1  christos fi
   8927  1.1  christos 
   8928  1.1  christos if test "x$ac_cv_func_vfork_works" = xyes; then
   8929  1.1  christos 
   8930  1.1  christos cat >>confdefs.h <<\_ACEOF
   8931  1.1  christos #define HAVE_WORKING_VFORK 1
   8932  1.1  christos _ACEOF
   8933  1.1  christos 
   8934  1.1  christos else
   8935  1.1  christos 
   8936  1.1  christos cat >>confdefs.h <<\_ACEOF
   8937  1.1  christos #define vfork fork
   8938  1.1  christos _ACEOF
   8939  1.1  christos 
   8940  1.1  christos fi
   8941  1.1  christos if test "x$ac_cv_func_fork_works" = xyes; then
   8942  1.1  christos 
   8943  1.1  christos cat >>confdefs.h <<\_ACEOF
   8944  1.1  christos #define HAVE_WORKING_FORK 1
   8945  1.1  christos _ACEOF
   8946  1.1  christos 
   8947  1.1  christos fi
   8948  1.1  christos 
   8949  1.1  christos 
   8950  1.1  christos for ac_header in stdlib.h
   8951  1.1  christos do
   8952  1.1  christos as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   8953  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   8954  1.1  christos   echo "$as_me:$LINENO: checking for $ac_header" >&5
   8955  1.1  christos echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   8956  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   8957  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   8958  1.1  christos fi
   8959  1.1  christos echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   8960  1.1  christos echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   8961  1.1  christos else
   8962  1.1  christos   # Is the header compilable?
   8963  1.1  christos echo "$as_me:$LINENO: checking $ac_header usability" >&5
   8964  1.1  christos echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   8965  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   8966  1.1  christos /* confdefs.h.  */
   8967  1.1  christos _ACEOF
   8968  1.1  christos cat confdefs.h >>conftest.$ac_ext
   8969  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   8970  1.1  christos /* end confdefs.h.  */
   8971  1.1  christos $ac_includes_default
   8972  1.1  christos #include <$ac_header>
   8973  1.1  christos _ACEOF
   8974  1.1  christos rm -f conftest.$ac_objext
   8975  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8976  1.1  christos   (eval $ac_compile) 2>conftest.er1
   8977  1.1  christos   ac_status=$?
   8978  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   8979  1.1  christos   rm -f conftest.er1
   8980  1.1  christos   cat conftest.err >&5
   8981  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8982  1.1  christos   (exit $ac_status); } &&
   8983  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8984  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8985  1.1  christos   (eval $ac_try) 2>&5
   8986  1.1  christos   ac_status=$?
   8987  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8988  1.1  christos   (exit $ac_status); }; } &&
   8989  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   8990  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8991  1.1  christos   (eval $ac_try) 2>&5
   8992  1.1  christos   ac_status=$?
   8993  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8994  1.1  christos   (exit $ac_status); }; }; then
   8995  1.1  christos   ac_header_compiler=yes
   8996  1.1  christos else
   8997  1.1  christos   echo "$as_me: failed program was:" >&5
   8998  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   8999  1.1  christos 
   9000  1.1  christos ac_header_compiler=no
   9001  1.1  christos fi
   9002  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9003  1.1  christos echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   9004  1.1  christos echo "${ECHO_T}$ac_header_compiler" >&6
   9005  1.1  christos 
   9006  1.1  christos # Is the header present?
   9007  1.1  christos echo "$as_me:$LINENO: checking $ac_header presence" >&5
   9008  1.1  christos echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   9009  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   9010  1.1  christos /* confdefs.h.  */
   9011  1.1  christos _ACEOF
   9012  1.1  christos cat confdefs.h >>conftest.$ac_ext
   9013  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   9014  1.1  christos /* end confdefs.h.  */
   9015  1.1  christos #include <$ac_header>
   9016  1.1  christos _ACEOF
   9017  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   9018  1.1  christos   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   9019  1.1  christos   ac_status=$?
   9020  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   9021  1.1  christos   rm -f conftest.er1
   9022  1.1  christos   cat conftest.err >&5
   9023  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9024  1.1  christos   (exit $ac_status); } >/dev/null; then
   9025  1.1  christos   if test -s conftest.err; then
   9026  1.1  christos     ac_cpp_err=$ac_c_preproc_warn_flag
   9027  1.1  christos     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   9028  1.1  christos   else
   9029  1.1  christos     ac_cpp_err=
   9030  1.1  christos   fi
   9031  1.1  christos else
   9032  1.1  christos   ac_cpp_err=yes
   9033  1.1  christos fi
   9034  1.1  christos if test -z "$ac_cpp_err"; then
   9035  1.1  christos   ac_header_preproc=yes
   9036  1.1  christos else
   9037  1.1  christos   echo "$as_me: failed program was:" >&5
   9038  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   9039  1.1  christos 
   9040  1.1  christos   ac_header_preproc=no
   9041  1.1  christos fi
   9042  1.1  christos rm -f conftest.err conftest.$ac_ext
   9043  1.1  christos echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   9044  1.1  christos echo "${ECHO_T}$ac_header_preproc" >&6
   9045  1.1  christos 
   9046  1.1  christos # So?  What about this header?
   9047  1.1  christos case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   9048  1.1  christos   yes:no: )
   9049  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   9050  1.1  christos echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   9051  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   9052  1.1  christos echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   9053  1.1  christos     ac_header_preproc=yes
   9054  1.1  christos     ;;
   9055  1.1  christos   no:yes:* )
   9056  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   9057  1.1  christos echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   9058  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   9059  1.1  christos echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   9060  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   9061  1.1  christos echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   9062  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   9063  1.1  christos echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   9064  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   9065  1.1  christos echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   9066  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   9067  1.1  christos echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   9068  1.1  christos     (
   9069  1.1  christos       cat <<\_ASBOX
   9070  1.1  christos ## ---------------------------------------------- ##
   9071  1.1  christos ## Report this to flex-help (at] lists.sourceforge.net ##
   9072  1.1  christos ## ---------------------------------------------- ##
   9073  1.1  christos _ASBOX
   9074  1.1  christos     ) |
   9075  1.1  christos       sed "s/^/$as_me: WARNING:     /" >&2
   9076  1.1  christos     ;;
   9077  1.1  christos esac
   9078  1.1  christos echo "$as_me:$LINENO: checking for $ac_header" >&5
   9079  1.1  christos echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   9080  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   9081  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   9082  1.1  christos else
   9083  1.1  christos   eval "$as_ac_Header=\$ac_header_preproc"
   9084  1.1  christos fi
   9085  1.1  christos echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   9086  1.1  christos echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   9087  1.1  christos 
   9088  1.1  christos fi
   9089  1.1  christos if test `eval echo '${'$as_ac_Header'}'` = yes; then
   9090  1.1  christos   cat >>confdefs.h <<_ACEOF
   9091  1.1  christos #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   9092  1.1  christos _ACEOF
   9093  1.1  christos 
   9094  1.1  christos fi
   9095  1.1  christos 
   9096  1.1  christos done
   9097  1.1  christos 
   9098  1.1  christos echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
   9099  1.1  christos echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
   9100  1.1  christos if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
   9101  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   9102  1.1  christos else
   9103  1.1  christos   if test "$cross_compiling" = yes; then
   9104  1.1  christos   ac_cv_func_malloc_0_nonnull=no
   9105  1.1  christos else
   9106  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   9107  1.1  christos /* confdefs.h.  */
   9108  1.1  christos _ACEOF
   9109  1.1  christos cat confdefs.h >>conftest.$ac_ext
   9110  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   9111  1.1  christos /* end confdefs.h.  */
   9112  1.1  christos #if STDC_HEADERS || HAVE_STDLIB_H
   9113  1.1  christos # include <stdlib.h>
   9114  1.1  christos #else
   9115  1.1  christos char *malloc ();
   9116  1.1  christos #endif
   9117  1.1  christos 
   9118  1.1  christos int
   9119  1.1  christos main ()
   9120  1.1  christos {
   9121  1.1  christos exit (malloc (0) ? 0 : 1);
   9122  1.1  christos   ;
   9123  1.1  christos   return 0;
   9124  1.1  christos }
   9125  1.1  christos _ACEOF
   9126  1.1  christos rm -f conftest$ac_exeext
   9127  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9128  1.1  christos   (eval $ac_link) 2>&5
   9129  1.1  christos   ac_status=$?
   9130  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9131  1.1  christos   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   9132  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9133  1.1  christos   (eval $ac_try) 2>&5
   9134  1.1  christos   ac_status=$?
   9135  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9136  1.1  christos   (exit $ac_status); }; }; then
   9137  1.1  christos   ac_cv_func_malloc_0_nonnull=yes
   9138  1.1  christos else
   9139  1.1  christos   echo "$as_me: program exited with status $ac_status" >&5
   9140  1.1  christos echo "$as_me: failed program was:" >&5
   9141  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   9142  1.1  christos 
   9143  1.1  christos ( exit $ac_status )
   9144  1.1  christos ac_cv_func_malloc_0_nonnull=no
   9145  1.1  christos fi
   9146  1.1  christos rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   9147  1.1  christos fi
   9148  1.1  christos fi
   9149  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
   9150  1.1  christos echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
   9151  1.1  christos if test $ac_cv_func_malloc_0_nonnull = yes; then
   9152  1.1  christos 
   9153  1.1  christos cat >>confdefs.h <<\_ACEOF
   9154  1.1  christos #define HAVE_MALLOC 1
   9155  1.1  christos _ACEOF
   9156  1.1  christos 
   9157  1.1  christos else
   9158  1.1  christos   cat >>confdefs.h <<\_ACEOF
   9159  1.1  christos #define HAVE_MALLOC 0
   9160  1.1  christos _ACEOF
   9161  1.1  christos 
   9162  1.1  christos    case $LIBOBJS in
   9163  1.1  christos     "malloc.$ac_objext"   | \
   9164  1.1  christos   *" malloc.$ac_objext"   | \
   9165  1.1  christos     "malloc.$ac_objext "* | \
   9166  1.1  christos   *" malloc.$ac_objext "* ) ;;
   9167  1.1  christos   *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
   9168  1.1  christos esac
   9169  1.1  christos 
   9170  1.1  christos 
   9171  1.1  christos cat >>confdefs.h <<\_ACEOF
   9172  1.1  christos #define malloc rpl_malloc
   9173  1.1  christos _ACEOF
   9174  1.1  christos 
   9175  1.1  christos fi
   9176  1.1  christos 
   9177  1.1  christos 
   9178  1.1  christos 
   9179  1.1  christos 
   9180  1.1  christos for ac_header in stdlib.h
   9181  1.1  christos do
   9182  1.1  christos as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   9183  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   9184  1.1  christos   echo "$as_me:$LINENO: checking for $ac_header" >&5
   9185  1.1  christos echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   9186  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   9187  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   9188  1.1  christos fi
   9189  1.1  christos echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   9190  1.1  christos echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   9191  1.1  christos else
   9192  1.1  christos   # Is the header compilable?
   9193  1.1  christos echo "$as_me:$LINENO: checking $ac_header usability" >&5
   9194  1.1  christos echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   9195  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   9196  1.1  christos /* confdefs.h.  */
   9197  1.1  christos _ACEOF
   9198  1.1  christos cat confdefs.h >>conftest.$ac_ext
   9199  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   9200  1.1  christos /* end confdefs.h.  */
   9201  1.1  christos $ac_includes_default
   9202  1.1  christos #include <$ac_header>
   9203  1.1  christos _ACEOF
   9204  1.1  christos rm -f conftest.$ac_objext
   9205  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9206  1.1  christos   (eval $ac_compile) 2>conftest.er1
   9207  1.1  christos   ac_status=$?
   9208  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   9209  1.1  christos   rm -f conftest.er1
   9210  1.1  christos   cat conftest.err >&5
   9211  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9212  1.1  christos   (exit $ac_status); } &&
   9213  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   9214  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9215  1.1  christos   (eval $ac_try) 2>&5
   9216  1.1  christos   ac_status=$?
   9217  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9218  1.1  christos   (exit $ac_status); }; } &&
   9219  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   9220  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9221  1.1  christos   (eval $ac_try) 2>&5
   9222  1.1  christos   ac_status=$?
   9223  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9224  1.1  christos   (exit $ac_status); }; }; then
   9225  1.1  christos   ac_header_compiler=yes
   9226  1.1  christos else
   9227  1.1  christos   echo "$as_me: failed program was:" >&5
   9228  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   9229  1.1  christos 
   9230  1.1  christos ac_header_compiler=no
   9231  1.1  christos fi
   9232  1.1  christos rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9233  1.1  christos echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   9234  1.1  christos echo "${ECHO_T}$ac_header_compiler" >&6
   9235  1.1  christos 
   9236  1.1  christos # Is the header present?
   9237  1.1  christos echo "$as_me:$LINENO: checking $ac_header presence" >&5
   9238  1.1  christos echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   9239  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   9240  1.1  christos /* confdefs.h.  */
   9241  1.1  christos _ACEOF
   9242  1.1  christos cat confdefs.h >>conftest.$ac_ext
   9243  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   9244  1.1  christos /* end confdefs.h.  */
   9245  1.1  christos #include <$ac_header>
   9246  1.1  christos _ACEOF
   9247  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   9248  1.1  christos   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   9249  1.1  christos   ac_status=$?
   9250  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   9251  1.1  christos   rm -f conftest.er1
   9252  1.1  christos   cat conftest.err >&5
   9253  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9254  1.1  christos   (exit $ac_status); } >/dev/null; then
   9255  1.1  christos   if test -s conftest.err; then
   9256  1.1  christos     ac_cpp_err=$ac_c_preproc_warn_flag
   9257  1.1  christos     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   9258  1.1  christos   else
   9259  1.1  christos     ac_cpp_err=
   9260  1.1  christos   fi
   9261  1.1  christos else
   9262  1.1  christos   ac_cpp_err=yes
   9263  1.1  christos fi
   9264  1.1  christos if test -z "$ac_cpp_err"; then
   9265  1.1  christos   ac_header_preproc=yes
   9266  1.1  christos else
   9267  1.1  christos   echo "$as_me: failed program was:" >&5
   9268  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   9269  1.1  christos 
   9270  1.1  christos   ac_header_preproc=no
   9271  1.1  christos fi
   9272  1.1  christos rm -f conftest.err conftest.$ac_ext
   9273  1.1  christos echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   9274  1.1  christos echo "${ECHO_T}$ac_header_preproc" >&6
   9275  1.1  christos 
   9276  1.1  christos # So?  What about this header?
   9277  1.1  christos case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   9278  1.1  christos   yes:no: )
   9279  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   9280  1.1  christos echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   9281  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   9282  1.1  christos echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   9283  1.1  christos     ac_header_preproc=yes
   9284  1.1  christos     ;;
   9285  1.1  christos   no:yes:* )
   9286  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   9287  1.1  christos echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   9288  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   9289  1.1  christos echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   9290  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   9291  1.1  christos echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   9292  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   9293  1.1  christos echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   9294  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   9295  1.1  christos echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   9296  1.1  christos     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   9297  1.1  christos echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   9298  1.1  christos     (
   9299  1.1  christos       cat <<\_ASBOX
   9300  1.1  christos ## ---------------------------------------------- ##
   9301  1.1  christos ## Report this to flex-help (at] lists.sourceforge.net ##
   9302  1.1  christos ## ---------------------------------------------- ##
   9303  1.1  christos _ASBOX
   9304  1.1  christos     ) |
   9305  1.1  christos       sed "s/^/$as_me: WARNING:     /" >&2
   9306  1.1  christos     ;;
   9307  1.1  christos esac
   9308  1.1  christos echo "$as_me:$LINENO: checking for $ac_header" >&5
   9309  1.1  christos echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   9310  1.1  christos if eval "test \"\${$as_ac_Header+set}\" = set"; then
   9311  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   9312  1.1  christos else
   9313  1.1  christos   eval "$as_ac_Header=\$ac_header_preproc"
   9314  1.1  christos fi
   9315  1.1  christos echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   9316  1.1  christos echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   9317  1.1  christos 
   9318  1.1  christos fi
   9319  1.1  christos if test `eval echo '${'$as_ac_Header'}'` = yes; then
   9320  1.1  christos   cat >>confdefs.h <<_ACEOF
   9321  1.1  christos #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   9322  1.1  christos _ACEOF
   9323  1.1  christos 
   9324  1.1  christos fi
   9325  1.1  christos 
   9326  1.1  christos done
   9327  1.1  christos 
   9328  1.1  christos echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
   9329  1.1  christos echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
   9330  1.1  christos if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
   9331  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   9332  1.1  christos else
   9333  1.1  christos   if test "$cross_compiling" = yes; then
   9334  1.1  christos   ac_cv_func_realloc_0_nonnull=no
   9335  1.1  christos else
   9336  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   9337  1.1  christos /* confdefs.h.  */
   9338  1.1  christos _ACEOF
   9339  1.1  christos cat confdefs.h >>conftest.$ac_ext
   9340  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   9341  1.1  christos /* end confdefs.h.  */
   9342  1.1  christos #if STDC_HEADERS || HAVE_STDLIB_H
   9343  1.1  christos # include <stdlib.h>
   9344  1.1  christos #else
   9345  1.1  christos char *realloc ();
   9346  1.1  christos #endif
   9347  1.1  christos 
   9348  1.1  christos int
   9349  1.1  christos main ()
   9350  1.1  christos {
   9351  1.1  christos exit (realloc (0, 0) ? 0 : 1);
   9352  1.1  christos   ;
   9353  1.1  christos   return 0;
   9354  1.1  christos }
   9355  1.1  christos _ACEOF
   9356  1.1  christos rm -f conftest$ac_exeext
   9357  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9358  1.1  christos   (eval $ac_link) 2>&5
   9359  1.1  christos   ac_status=$?
   9360  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9361  1.1  christos   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   9362  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9363  1.1  christos   (eval $ac_try) 2>&5
   9364  1.1  christos   ac_status=$?
   9365  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9366  1.1  christos   (exit $ac_status); }; }; then
   9367  1.1  christos   ac_cv_func_realloc_0_nonnull=yes
   9368  1.1  christos else
   9369  1.1  christos   echo "$as_me: program exited with status $ac_status" >&5
   9370  1.1  christos echo "$as_me: failed program was:" >&5
   9371  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   9372  1.1  christos 
   9373  1.1  christos ( exit $ac_status )
   9374  1.1  christos ac_cv_func_realloc_0_nonnull=no
   9375  1.1  christos fi
   9376  1.1  christos rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   9377  1.1  christos fi
   9378  1.1  christos fi
   9379  1.1  christos echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
   9380  1.1  christos echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
   9381  1.1  christos if test $ac_cv_func_realloc_0_nonnull = yes; then
   9382  1.1  christos 
   9383  1.1  christos cat >>confdefs.h <<\_ACEOF
   9384  1.1  christos #define HAVE_REALLOC 1
   9385  1.1  christos _ACEOF
   9386  1.1  christos 
   9387  1.1  christos else
   9388  1.1  christos   cat >>confdefs.h <<\_ACEOF
   9389  1.1  christos #define HAVE_REALLOC 0
   9390  1.1  christos _ACEOF
   9391  1.1  christos 
   9392  1.1  christos    case $LIBOBJS in
   9393  1.1  christos     "realloc.$ac_objext"   | \
   9394  1.1  christos   *" realloc.$ac_objext"   | \
   9395  1.1  christos     "realloc.$ac_objext "* | \
   9396  1.1  christos   *" realloc.$ac_objext "* ) ;;
   9397  1.1  christos   *) LIBOBJS="$LIBOBJS realloc.$ac_objext" ;;
   9398  1.1  christos esac
   9399  1.1  christos 
   9400  1.1  christos 
   9401  1.1  christos cat >>confdefs.h <<\_ACEOF
   9402  1.1  christos #define realloc rpl_realloc
   9403  1.1  christos _ACEOF
   9404  1.1  christos 
   9405  1.1  christos fi
   9406  1.1  christos 
   9407  1.1  christos 
   9408  1.1  christos 
   9409  1.1  christos 
   9410  1.1  christos 
   9411  1.1  christos 
   9412  1.1  christos 
   9413  1.1  christos 
   9414  1.1  christos 
   9415  1.1  christos 
   9416  1.1  christos 
   9417  1.1  christos for ac_func in dup2 isascii memset pow regcomp setlocale strchr strtol
   9418  1.1  christos do
   9419  1.1  christos as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   9420  1.1  christos echo "$as_me:$LINENO: checking for $ac_func" >&5
   9421  1.1  christos echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   9422  1.1  christos if eval "test \"\${$as_ac_var+set}\" = set"; then
   9423  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   9424  1.1  christos else
   9425  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   9426  1.1  christos /* confdefs.h.  */
   9427  1.1  christos _ACEOF
   9428  1.1  christos cat confdefs.h >>conftest.$ac_ext
   9429  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   9430  1.1  christos /* end confdefs.h.  */
   9431  1.1  christos /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   9432  1.1  christos    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9433  1.1  christos #define $ac_func innocuous_$ac_func
   9434  1.1  christos 
   9435  1.1  christos /* System header to define __stub macros and hopefully few prototypes,
   9436  1.1  christos     which can conflict with char $ac_func (); below.
   9437  1.1  christos     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9438  1.1  christos     <limits.h> exists even on freestanding compilers.  */
   9439  1.1  christos 
   9440  1.1  christos #ifdef __STDC__
   9441  1.1  christos # include <limits.h>
   9442  1.1  christos #else
   9443  1.1  christos # include <assert.h>
   9444  1.1  christos #endif
   9445  1.1  christos 
   9446  1.1  christos #undef $ac_func
   9447  1.1  christos 
   9448  1.1  christos /* Override any gcc2 internal prototype to avoid an error.  */
   9449  1.1  christos #ifdef __cplusplus
   9450  1.1  christos extern "C"
   9451  1.1  christos {
   9452  1.1  christos #endif
   9453  1.1  christos /* We use char because int might match the return type of a gcc2
   9454  1.1  christos    builtin and then its argument prototype would still apply.  */
   9455  1.1  christos char $ac_func ();
   9456  1.1  christos /* The GNU C library defines this for functions which it implements
   9457  1.1  christos     to always fail with ENOSYS.  Some functions are actually named
   9458  1.1  christos     something starting with __ and the normal name is an alias.  */
   9459  1.1  christos #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   9460  1.1  christos choke me
   9461  1.1  christos #else
   9462  1.1  christos char (*f) () = $ac_func;
   9463  1.1  christos #endif
   9464  1.1  christos #ifdef __cplusplus
   9465  1.1  christos }
   9466  1.1  christos #endif
   9467  1.1  christos 
   9468  1.1  christos int
   9469  1.1  christos main ()
   9470  1.1  christos {
   9471  1.1  christos return f != $ac_func;
   9472  1.1  christos   ;
   9473  1.1  christos   return 0;
   9474  1.1  christos }
   9475  1.1  christos _ACEOF
   9476  1.1  christos rm -f conftest.$ac_objext conftest$ac_exeext
   9477  1.1  christos if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9478  1.1  christos   (eval $ac_link) 2>conftest.er1
   9479  1.1  christos   ac_status=$?
   9480  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   9481  1.1  christos   rm -f conftest.er1
   9482  1.1  christos   cat conftest.err >&5
   9483  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9484  1.1  christos   (exit $ac_status); } &&
   9485  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   9486  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9487  1.1  christos   (eval $ac_try) 2>&5
   9488  1.1  christos   ac_status=$?
   9489  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9490  1.1  christos   (exit $ac_status); }; } &&
   9491  1.1  christos 	 { ac_try='test -s conftest$ac_exeext'
   9492  1.1  christos   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9493  1.1  christos   (eval $ac_try) 2>&5
   9494  1.1  christos   ac_status=$?
   9495  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9496  1.1  christos   (exit $ac_status); }; }; then
   9497  1.1  christos   eval "$as_ac_var=yes"
   9498  1.1  christos else
   9499  1.1  christos   echo "$as_me: failed program was:" >&5
   9500  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   9501  1.1  christos 
   9502  1.1  christos eval "$as_ac_var=no"
   9503  1.1  christos fi
   9504  1.1  christos rm -f conftest.err conftest.$ac_objext \
   9505  1.1  christos       conftest$ac_exeext conftest.$ac_ext
   9506  1.1  christos fi
   9507  1.1  christos echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   9508  1.1  christos echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   9509  1.1  christos if test `eval echo '${'$as_ac_var'}'` = yes; then
   9510  1.1  christos   cat >>confdefs.h <<_ACEOF
   9511  1.1  christos #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   9512  1.1  christos _ACEOF
   9513  1.1  christos 
   9514  1.1  christos fi
   9515  1.1  christos done
   9516  1.1  christos 
   9517  1.1  christos 
   9518  1.1  christos                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ac_config_files="$ac_config_files Makefile doc/Makefile examples/Makefile examples/fastwc/Makefile examples/manual/Makefile m4/Makefile po/Makefile.in tools/Makefile tests/Makefile tests/TEMPLATE/Makefile tests/test-array-nr/Makefile tests/test-array-r/Makefile tests/test-basic-nr/Makefile tests/test-basic-r/Makefile tests/test-bison-yylloc/Makefile tests/test-bison-yylval/Makefile tests/test-c-cpp-nr/Makefile tests/test-c-cpp-r/Makefile tests/test-header-nr/Makefile tests/test-header-r/Makefile tests/test-include-by-buffer/Makefile tests/test-include-by-push/Makefile tests/test-include-by-reentrant/Makefile tests/test-multiple-scanners-nr/Makefile tests/test-multiple-scanners-r/Makefile tests/test-noansi-nr/Makefile tests/test-noansi-r/Makefile tests/test-prefix-nr/Makefile tests/test-prefix-r/Makefile tests/test-pthread/Makefile tests/test-string-nr/Makefile tests/test-string-r/Makefile tests/test-yyextra/Makefile tests/test-alloc-extra/Makefile tests/test-lineno-nr/Makefile tests/test-lineno-r/Makefile tests/test-linedir-r/Makefile tests/test-debug-r/Makefile tests/test-debug-nr/Makefile tests/test-mem-nr/Makefile tests/test-mem-r/Makefile tests/test-posix/Makefile tests/test-posixly-correct/Makefile tests/test-table-opts/Makefile tests/test-c++-basic/Makefile tests/test-bison-nr/Makefile tests/test-reject/Makefile tests/test-c++-multiple-scanners/Makefile tests/test-top/Makefile tests/test-rescan-nr/Makefile tests/test-rescan-r/Makefile tests/test-quotes/Makefile tests/test-ccl/Makefile tests/test-extended/Makefile tests/test-c++-yywrap/Makefile tests/test-concatenated-options/Makefile"
   9519  1.1  christos 
   9520  1.1  christos 
   9521  1.1  christos cat >confcache <<\_ACEOF
   9522  1.1  christos # This file is a shell script that caches the results of configure
   9523  1.1  christos # tests run on this system so they can be shared between configure
   9524  1.1  christos # scripts and configure runs, see configure's option --config-cache.
   9525  1.1  christos # It is not useful on other systems.  If it contains results you don't
   9526  1.1  christos # want to keep, you may remove or edit it.
   9527  1.1  christos #
   9528  1.1  christos # config.status only pays attention to the cache file if you give it
   9529  1.1  christos # the --recheck option to rerun configure.
   9530  1.1  christos #
   9531  1.1  christos # `ac_cv_env_foo' variables (set or unset) will be overridden when
   9532  1.1  christos # loading this file, other *unset* `ac_cv_foo' will be assigned the
   9533  1.1  christos # following values.
   9534  1.1  christos 
   9535  1.1  christos _ACEOF
   9536  1.1  christos 
   9537  1.1  christos # The following way of writing the cache mishandles newlines in values,
   9538  1.1  christos # but we know of no workaround that is simple, portable, and efficient.
   9539  1.1  christos # So, don't put newlines in cache variables' values.
   9540  1.1  christos # Ultrix sh set writes to stderr and can't be redirected directly,
   9541  1.1  christos # and sets the high bit in the cache file unless we assign to the vars.
   9542  1.1  christos {
   9543  1.1  christos   (set) 2>&1 |
   9544  1.1  christos     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   9545  1.1  christos     *ac_space=\ *)
   9546  1.1  christos       # `set' does not quote correctly, so add quotes (double-quote
   9547  1.1  christos       # substitution turns \\\\ into \\, and sed turns \\ into \).
   9548  1.1  christos       sed -n \
   9549  1.1  christos 	"s/'/'\\\\''/g;
   9550  1.1  christos 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   9551  1.1  christos       ;;
   9552  1.1  christos     *)
   9553  1.1  christos       # `set' quotes correctly as required by POSIX, so do not add quotes.
   9554  1.1  christos       sed -n \
   9555  1.1  christos 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   9556  1.1  christos       ;;
   9557  1.1  christos     esac;
   9558  1.1  christos } |
   9559  1.1  christos   sed '
   9560  1.1  christos      t clear
   9561  1.1  christos      : clear
   9562  1.1  christos      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   9563  1.1  christos      t end
   9564  1.1  christos      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   9565  1.1  christos      : end' >>confcache
   9566  1.1  christos if diff $cache_file confcache >/dev/null 2>&1; then :; else
   9567  1.1  christos   if test -w $cache_file; then
   9568  1.1  christos     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   9569  1.1  christos     cat confcache >$cache_file
   9570  1.1  christos   else
   9571  1.1  christos     echo "not updating unwritable cache $cache_file"
   9572  1.1  christos   fi
   9573  1.1  christos fi
   9574  1.1  christos rm -f confcache
   9575  1.1  christos 
   9576  1.1  christos test "x$prefix" = xNONE && prefix=$ac_default_prefix
   9577  1.1  christos # Let make expand exec_prefix.
   9578  1.1  christos test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   9579  1.1  christos 
   9580  1.1  christos # VPATH may cause trouble with some makes, so we remove $(srcdir),
   9581  1.1  christos # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   9582  1.1  christos # trailing colons and then remove the whole line if VPATH becomes empty
   9583  1.1  christos # (actually we leave an empty line to preserve line numbers).
   9584  1.1  christos if test "x$srcdir" = x.; then
   9585  1.1  christos   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   9586  1.1  christos s/:*\$(srcdir):*/:/;
   9587  1.1  christos s/:*\${srcdir}:*/:/;
   9588  1.1  christos s/:*@srcdir@:*/:/;
   9589  1.1  christos s/^\([^=]*=[	 ]*\):*/\1/;
   9590  1.1  christos s/:*$//;
   9591  1.1  christos s/^[^=]*=[	 ]*$//;
   9592  1.1  christos }'
   9593  1.1  christos fi
   9594  1.1  christos 
   9595  1.1  christos DEFS=-DHAVE_CONFIG_H
   9596  1.1  christos 
   9597  1.1  christos ac_libobjs=
   9598  1.1  christos ac_ltlibobjs=
   9599  1.1  christos for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   9600  1.1  christos   # 1. Remove the extension, and $U if already installed.
   9601  1.1  christos   ac_i=`echo "$ac_i" |
   9602  1.1  christos 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   9603  1.1  christos   # 2. Add them.
   9604  1.1  christos   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   9605  1.1  christos   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   9606  1.1  christos done
   9607  1.1  christos LIBOBJS=$ac_libobjs
   9608  1.1  christos 
   9609  1.1  christos LTLIBOBJS=$ac_ltlibobjs
   9610  1.1  christos 
   9611  1.1  christos 
   9612  1.1  christos if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   9613  1.1  christos   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   9614  1.1  christos Usually this means the macro was only invoked conditionally." >&5
   9615  1.1  christos echo "$as_me: error: conditional \"AMDEP\" was never defined.
   9616  1.1  christos Usually this means the macro was only invoked conditionally." >&2;}
   9617  1.1  christos    { (exit 1); exit 1; }; }
   9618  1.1  christos fi
   9619  1.1  christos if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   9620  1.1  christos   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   9621  1.1  christos Usually this means the macro was only invoked conditionally." >&5
   9622  1.1  christos echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   9623  1.1  christos Usually this means the macro was only invoked conditionally." >&2;}
   9624  1.1  christos    { (exit 1); exit 1; }; }
   9625  1.1  christos fi
   9626  1.1  christos if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   9627  1.1  christos   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   9628  1.1  christos Usually this means the macro was only invoked conditionally." >&5
   9629  1.1  christos echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   9630  1.1  christos Usually this means the macro was only invoked conditionally." >&2;}
   9631  1.1  christos    { (exit 1); exit 1; }; }
   9632  1.1  christos fi
   9633  1.1  christos if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   9634  1.1  christos   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   9635  1.1  christos Usually this means the macro was only invoked conditionally." >&5
   9636  1.1  christos echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   9637  1.1  christos Usually this means the macro was only invoked conditionally." >&2;}
   9638  1.1  christos    { (exit 1); exit 1; }; }
   9639  1.1  christos fi
   9640  1.1  christos 
   9641  1.1  christos : ${CONFIG_STATUS=./config.status}
   9642  1.1  christos ac_clean_files_save=$ac_clean_files
   9643  1.1  christos ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   9644  1.1  christos { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   9645  1.1  christos echo "$as_me: creating $CONFIG_STATUS" >&6;}
   9646  1.1  christos cat >$CONFIG_STATUS <<_ACEOF
   9647  1.1  christos #! $SHELL
   9648  1.1  christos # Generated by $as_me.
   9649  1.1  christos # Run this file to recreate the current configuration.
   9650  1.1  christos # Compiler output produced by configure, useful for debugging
   9651  1.1  christos # configure, is in config.log if it exists.
   9652  1.1  christos 
   9653  1.1  christos debug=false
   9654  1.1  christos ac_cs_recheck=false
   9655  1.1  christos ac_cs_silent=false
   9656  1.1  christos SHELL=\${CONFIG_SHELL-$SHELL}
   9657  1.1  christos _ACEOF
   9658  1.1  christos 
   9659  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   9660  1.1  christos ## --------------------- ##
   9661  1.1  christos ## M4sh Initialization.  ##
   9662  1.1  christos ## --------------------- ##
   9663  1.1  christos 
   9664  1.1  christos # Be Bourne compatible
   9665  1.1  christos if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   9666  1.1  christos   emulate sh
   9667  1.1  christos   NULLCMD=:
   9668  1.1  christos   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   9669  1.1  christos   # is contrary to our usage.  Disable this feature.
   9670  1.1  christos   alias -g '${1+"$@"}'='"$@"'
   9671  1.1  christos elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   9672  1.1  christos   set -o posix
   9673  1.1  christos fi
   9674  1.1  christos DUALCASE=1; export DUALCASE # for MKS sh
   9675  1.1  christos 
   9676  1.1  christos # Support unset when possible.
   9677  1.1  christos if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   9678  1.1  christos   as_unset=unset
   9679  1.1  christos else
   9680  1.1  christos   as_unset=false
   9681  1.1  christos fi
   9682  1.1  christos 
   9683  1.1  christos 
   9684  1.1  christos # Work around bugs in pre-3.0 UWIN ksh.
   9685  1.1  christos $as_unset ENV MAIL MAILPATH
   9686  1.1  christos PS1='$ '
   9687  1.1  christos PS2='> '
   9688  1.1  christos PS4='+ '
   9689  1.1  christos 
   9690  1.1  christos # NLS nuisances.
   9691  1.1  christos for as_var in \
   9692  1.1  christos   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   9693  1.1  christos   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   9694  1.1  christos   LC_TELEPHONE LC_TIME
   9695  1.1  christos do
   9696  1.1  christos   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   9697  1.1  christos     eval $as_var=C; export $as_var
   9698  1.1  christos   else
   9699  1.1  christos     $as_unset $as_var
   9700  1.1  christos   fi
   9701  1.1  christos done
   9702  1.1  christos 
   9703  1.1  christos # Required to use basename.
   9704  1.1  christos if expr a : '\(a\)' >/dev/null 2>&1; then
   9705  1.1  christos   as_expr=expr
   9706  1.1  christos else
   9707  1.1  christos   as_expr=false
   9708  1.1  christos fi
   9709  1.1  christos 
   9710  1.1  christos if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   9711  1.1  christos   as_basename=basename
   9712  1.1  christos else
   9713  1.1  christos   as_basename=false
   9714  1.1  christos fi
   9715  1.1  christos 
   9716  1.1  christos 
   9717  1.1  christos # Name of the executable.
   9718  1.1  christos as_me=`$as_basename "$0" ||
   9719  1.1  christos $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   9720  1.1  christos 	 X"$0" : 'X\(//\)$' \| \
   9721  1.1  christos 	 X"$0" : 'X\(/\)$' \| \
   9722  1.1  christos 	 .     : '\(.\)' 2>/dev/null ||
   9723  1.1  christos echo X/"$0" |
   9724  1.1  christos     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   9725  1.1  christos   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   9726  1.1  christos   	  /^X\/\(\/\).*/{ s//\1/; q; }
   9727  1.1  christos   	  s/.*/./; q'`
   9728  1.1  christos 
   9729  1.1  christos 
   9730  1.1  christos # PATH needs CR, and LINENO needs CR and PATH.
   9731  1.1  christos # Avoid depending upon Character Ranges.
   9732  1.1  christos as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   9733  1.1  christos as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   9734  1.1  christos as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   9735  1.1  christos as_cr_digits='0123456789'
   9736  1.1  christos as_cr_alnum=$as_cr_Letters$as_cr_digits
   9737  1.1  christos 
   9738  1.1  christos # The user is always right.
   9739  1.1  christos if test "${PATH_SEPARATOR+set}" != set; then
   9740  1.1  christos   echo "#! /bin/sh" >conf$$.sh
   9741  1.1  christos   echo  "exit 0"   >>conf$$.sh
   9742  1.1  christos   chmod +x conf$$.sh
   9743  1.1  christos   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   9744  1.1  christos     PATH_SEPARATOR=';'
   9745  1.1  christos   else
   9746  1.1  christos     PATH_SEPARATOR=:
   9747  1.1  christos   fi
   9748  1.1  christos   rm -f conf$$.sh
   9749  1.1  christos fi
   9750  1.1  christos 
   9751  1.1  christos 
   9752  1.1  christos   as_lineno_1=$LINENO
   9753  1.1  christos   as_lineno_2=$LINENO
   9754  1.1  christos   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   9755  1.1  christos   test "x$as_lineno_1" != "x$as_lineno_2" &&
   9756  1.1  christos   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   9757  1.1  christos   # Find who we are.  Look in the path if we contain no path at all
   9758  1.1  christos   # relative or not.
   9759  1.1  christos   case $0 in
   9760  1.1  christos     *[\\/]* ) as_myself=$0 ;;
   9761  1.1  christos     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9762  1.1  christos for as_dir in $PATH
   9763  1.1  christos do
   9764  1.1  christos   IFS=$as_save_IFS
   9765  1.1  christos   test -z "$as_dir" && as_dir=.
   9766  1.1  christos   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   9767  1.1  christos done
   9768  1.1  christos 
   9769  1.1  christos        ;;
   9770  1.1  christos   esac
   9771  1.1  christos   # We did not find ourselves, most probably we were run as `sh COMMAND'
   9772  1.1  christos   # in which case we are not to be found in the path.
   9773  1.1  christos   if test "x$as_myself" = x; then
   9774  1.1  christos     as_myself=$0
   9775  1.1  christos   fi
   9776  1.1  christos   if test ! -f "$as_myself"; then
   9777  1.1  christos     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   9778  1.1  christos echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   9779  1.1  christos    { (exit 1); exit 1; }; }
   9780  1.1  christos   fi
   9781  1.1  christos   case $CONFIG_SHELL in
   9782  1.1  christos   '')
   9783  1.1  christos     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9784  1.1  christos for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   9785  1.1  christos do
   9786  1.1  christos   IFS=$as_save_IFS
   9787  1.1  christos   test -z "$as_dir" && as_dir=.
   9788  1.1  christos   for as_base in sh bash ksh sh5; do
   9789  1.1  christos 	 case $as_dir in
   9790  1.1  christos 	 /*)
   9791  1.1  christos 	   if ("$as_dir/$as_base" -c '
   9792  1.1  christos   as_lineno_1=$LINENO
   9793  1.1  christos   as_lineno_2=$LINENO
   9794  1.1  christos   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   9795  1.1  christos   test "x$as_lineno_1" != "x$as_lineno_2" &&
   9796  1.1  christos   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   9797  1.1  christos 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   9798  1.1  christos 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   9799  1.1  christos 	     CONFIG_SHELL=$as_dir/$as_base
   9800  1.1  christos 	     export CONFIG_SHELL
   9801  1.1  christos 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   9802  1.1  christos 	   fi;;
   9803  1.1  christos 	 esac
   9804  1.1  christos        done
   9805  1.1  christos done
   9806  1.1  christos ;;
   9807  1.1  christos   esac
   9808  1.1  christos 
   9809  1.1  christos   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   9810  1.1  christos   # uniformly replaced by the line number.  The first 'sed' inserts a
   9811  1.1  christos   # line-number line before each line; the second 'sed' does the real
   9812  1.1  christos   # work.  The second script uses 'N' to pair each line-number line
   9813  1.1  christos   # with the numbered line, and appends trailing '-' during
   9814  1.1  christos   # substitution so that $LINENO is not a special case at line end.
   9815  1.1  christos   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   9816  1.1  christos   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   9817  1.1  christos   sed '=' <$as_myself |
   9818  1.1  christos     sed '
   9819  1.1  christos       N
   9820  1.1  christos       s,$,-,
   9821  1.1  christos       : loop
   9822  1.1  christos       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   9823  1.1  christos       t loop
   9824  1.1  christos       s,-$,,
   9825  1.1  christos       s,^['$as_cr_digits']*\n,,
   9826  1.1  christos     ' >$as_me.lineno &&
   9827  1.1  christos   chmod +x $as_me.lineno ||
   9828  1.1  christos     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   9829  1.1  christos echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   9830  1.1  christos    { (exit 1); exit 1; }; }
   9831  1.1  christos 
   9832  1.1  christos   # Don't try to exec as it changes $[0], causing all sort of problems
   9833  1.1  christos   # (the dirname of $[0] is not the place where we might find the
   9834  1.1  christos   # original and so on.  Autoconf is especially sensible to this).
   9835  1.1  christos   . ./$as_me.lineno
   9836  1.1  christos   # Exit status is that of the last command.
   9837  1.1  christos   exit
   9838  1.1  christos }
   9839  1.1  christos 
   9840  1.1  christos 
   9841  1.1  christos case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   9842  1.1  christos   *c*,-n*) ECHO_N= ECHO_C='
   9843  1.1  christos ' ECHO_T='	' ;;
   9844  1.1  christos   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   9845  1.1  christos   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   9846  1.1  christos esac
   9847  1.1  christos 
   9848  1.1  christos if expr a : '\(a\)' >/dev/null 2>&1; then
   9849  1.1  christos   as_expr=expr
   9850  1.1  christos else
   9851  1.1  christos   as_expr=false
   9852  1.1  christos fi
   9853  1.1  christos 
   9854  1.1  christos rm -f conf$$ conf$$.exe conf$$.file
   9855  1.1  christos echo >conf$$.file
   9856  1.1  christos if ln -s conf$$.file conf$$ 2>/dev/null; then
   9857  1.1  christos   # We could just check for DJGPP; but this test a) works b) is more generic
   9858  1.1  christos   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   9859  1.1  christos   if test -f conf$$.exe; then
   9860  1.1  christos     # Don't use ln at all; we don't have any links
   9861  1.1  christos     as_ln_s='cp -p'
   9862  1.1  christos   else
   9863  1.1  christos     as_ln_s='ln -s'
   9864  1.1  christos   fi
   9865  1.1  christos elif ln conf$$.file conf$$ 2>/dev/null; then
   9866  1.1  christos   as_ln_s=ln
   9867  1.1  christos else
   9868  1.1  christos   as_ln_s='cp -p'
   9869  1.1  christos fi
   9870  1.1  christos rm -f conf$$ conf$$.exe conf$$.file
   9871  1.1  christos 
   9872  1.1  christos if mkdir -p . 2>/dev/null; then
   9873  1.1  christos   as_mkdir_p=:
   9874  1.1  christos else
   9875  1.1  christos   test -d ./-p && rmdir ./-p
   9876  1.1  christos   as_mkdir_p=false
   9877  1.1  christos fi
   9878  1.1  christos 
   9879  1.1  christos as_executable_p="test -f"
   9880  1.1  christos 
   9881  1.1  christos # Sed expression to map a string onto a valid CPP name.
   9882  1.1  christos as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   9883  1.1  christos 
   9884  1.1  christos # Sed expression to map a string onto a valid variable name.
   9885  1.1  christos as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   9886  1.1  christos 
   9887  1.1  christos 
   9888  1.1  christos # IFS
   9889  1.1  christos # We need space, tab and new line, in precisely that order.
   9890  1.1  christos as_nl='
   9891  1.1  christos '
   9892  1.1  christos IFS=" 	$as_nl"
   9893  1.1  christos 
   9894  1.1  christos # CDPATH.
   9895  1.1  christos $as_unset CDPATH
   9896  1.1  christos 
   9897  1.1  christos exec 6>&1
   9898  1.1  christos 
   9899  1.1  christos # Open the log real soon, to keep \$[0] and so on meaningful, and to
   9900  1.1  christos # report actual input values of CONFIG_FILES etc. instead of their
   9901  1.1  christos # values after options handling.  Logging --version etc. is OK.
   9902  1.1  christos exec 5>>config.log
   9903  1.1  christos {
   9904  1.1  christos   echo
   9905  1.1  christos   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   9906  1.1  christos ## Running $as_me. ##
   9907  1.1  christos _ASBOX
   9908  1.1  christos } >&5
   9909  1.1  christos cat >&5 <<_CSEOF
   9910  1.1  christos 
   9911  1.1  christos This file was extended by the fast lexical analyser generator $as_me 2.5.35, which was
   9912  1.1  christos generated by GNU Autoconf 2.59.  Invocation command line was
   9913  1.1  christos 
   9914  1.1  christos   CONFIG_FILES    = $CONFIG_FILES
   9915  1.1  christos   CONFIG_HEADERS  = $CONFIG_HEADERS
   9916  1.1  christos   CONFIG_LINKS    = $CONFIG_LINKS
   9917  1.1  christos   CONFIG_COMMANDS = $CONFIG_COMMANDS
   9918  1.1  christos   $ $0 $@
   9919  1.1  christos 
   9920  1.1  christos _CSEOF
   9921  1.1  christos echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   9922  1.1  christos echo >&5
   9923  1.1  christos _ACEOF
   9924  1.1  christos 
   9925  1.1  christos # Files that config.status was made for.
   9926  1.1  christos if test -n "$ac_config_files"; then
   9927  1.1  christos   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   9928  1.1  christos fi
   9929  1.1  christos 
   9930  1.1  christos if test -n "$ac_config_headers"; then
   9931  1.1  christos   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   9932  1.1  christos fi
   9933  1.1  christos 
   9934  1.1  christos if test -n "$ac_config_links"; then
   9935  1.1  christos   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   9936  1.1  christos fi
   9937  1.1  christos 
   9938  1.1  christos if test -n "$ac_config_commands"; then
   9939  1.1  christos   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   9940  1.1  christos fi
   9941  1.1  christos 
   9942  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   9943  1.1  christos 
   9944  1.1  christos ac_cs_usage="\
   9945  1.1  christos \`$as_me' instantiates files from templates according to the
   9946  1.1  christos current configuration.
   9947  1.1  christos 
   9948  1.1  christos Usage: $0 [OPTIONS] [FILE]...
   9949  1.1  christos 
   9950  1.1  christos   -h, --help       print this help, then exit
   9951  1.1  christos   -V, --version    print version number, then exit
   9952  1.1  christos   -q, --quiet      do not print progress messages
   9953  1.1  christos   -d, --debug      don't remove temporary files
   9954  1.1  christos       --recheck    update $as_me by reconfiguring in the same conditions
   9955  1.1  christos   --file=FILE[:TEMPLATE]
   9956  1.1  christos 		   instantiate the configuration file FILE
   9957  1.1  christos   --header=FILE[:TEMPLATE]
   9958  1.1  christos 		   instantiate the configuration header FILE
   9959  1.1  christos 
   9960  1.1  christos Configuration files:
   9961  1.1  christos $config_files
   9962  1.1  christos 
   9963  1.1  christos Configuration headers:
   9964  1.1  christos $config_headers
   9965  1.1  christos 
   9966  1.1  christos Configuration commands:
   9967  1.1  christos $config_commands
   9968  1.1  christos 
   9969  1.1  christos Report bugs to <bug-autoconf@gnu.org>."
   9970  1.1  christos _ACEOF
   9971  1.1  christos 
   9972  1.1  christos cat >>$CONFIG_STATUS <<_ACEOF
   9973  1.1  christos ac_cs_version="\\
   9974  1.1  christos the fast lexical analyser generator config.status 2.5.35
   9975  1.1  christos configured by $0, generated by GNU Autoconf 2.59,
   9976  1.1  christos   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   9977  1.1  christos 
   9978  1.1  christos Copyright (C) 2003 Free Software Foundation, Inc.
   9979  1.1  christos This config.status script is free software; the Free Software Foundation
   9980  1.1  christos gives unlimited permission to copy, distribute and modify it."
   9981  1.1  christos srcdir=$srcdir
   9982  1.1  christos INSTALL="$INSTALL"
   9983  1.1  christos _ACEOF
   9984  1.1  christos 
   9985  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   9986  1.1  christos # If no file are specified by the user, then we need to provide default
   9987  1.1  christos # value.  By we need to know if files were specified by the user.
   9988  1.1  christos ac_need_defaults=:
   9989  1.1  christos while test $# != 0
   9990  1.1  christos do
   9991  1.1  christos   case $1 in
   9992  1.1  christos   --*=*)
   9993  1.1  christos     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   9994  1.1  christos     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   9995  1.1  christos     ac_shift=:
   9996  1.1  christos     ;;
   9997  1.1  christos   -*)
   9998  1.1  christos     ac_option=$1
   9999  1.1  christos     ac_optarg=$2
   10000  1.1  christos     ac_shift=shift
   10001  1.1  christos     ;;
   10002  1.1  christos   *) # This is not an option, so the user has probably given explicit
   10003  1.1  christos      # arguments.
   10004  1.1  christos      ac_option=$1
   10005  1.1  christos      ac_need_defaults=false;;
   10006  1.1  christos   esac
   10007  1.1  christos 
   10008  1.1  christos   case $ac_option in
   10009  1.1  christos   # Handling of the options.
   10010  1.1  christos _ACEOF
   10011  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   10012  1.1  christos   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   10013  1.1  christos     ac_cs_recheck=: ;;
   10014  1.1  christos   --version | --vers* | -V )
   10015  1.1  christos     echo "$ac_cs_version"; exit 0 ;;
   10016  1.1  christos   --he | --h)
   10017  1.1  christos     # Conflict between --help and --header
   10018  1.1  christos     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   10019  1.1  christos Try \`$0 --help' for more information." >&5
   10020  1.1  christos echo "$as_me: error: ambiguous option: $1
   10021  1.1  christos Try \`$0 --help' for more information." >&2;}
   10022  1.1  christos    { (exit 1); exit 1; }; };;
   10023  1.1  christos   --help | --hel | -h )
   10024  1.1  christos     echo "$ac_cs_usage"; exit 0 ;;
   10025  1.1  christos   --debug | --d* | -d )
   10026  1.1  christos     debug=: ;;
   10027  1.1  christos   --file | --fil | --fi | --f )
   10028  1.1  christos     $ac_shift
   10029  1.1  christos     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   10030  1.1  christos     ac_need_defaults=false;;
   10031  1.1  christos   --header | --heade | --head | --hea )
   10032  1.1  christos     $ac_shift
   10033  1.1  christos     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   10034  1.1  christos     ac_need_defaults=false;;
   10035  1.1  christos   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   10036  1.1  christos   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   10037  1.1  christos     ac_cs_silent=: ;;
   10038  1.1  christos 
   10039  1.1  christos   # This is an error.
   10040  1.1  christos   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   10041  1.1  christos Try \`$0 --help' for more information." >&5
   10042  1.1  christos echo "$as_me: error: unrecognized option: $1
   10043  1.1  christos Try \`$0 --help' for more information." >&2;}
   10044  1.1  christos    { (exit 1); exit 1; }; } ;;
   10045  1.1  christos 
   10046  1.1  christos   *) ac_config_targets="$ac_config_targets $1" ;;
   10047  1.1  christos 
   10048  1.1  christos   esac
   10049  1.1  christos   shift
   10050  1.1  christos done
   10051  1.1  christos 
   10052  1.1  christos ac_configure_extra_args=
   10053  1.1  christos 
   10054  1.1  christos if $ac_cs_silent; then
   10055  1.1  christos   exec 6>/dev/null
   10056  1.1  christos   ac_configure_extra_args="$ac_configure_extra_args --silent"
   10057  1.1  christos fi
   10058  1.1  christos 
   10059  1.1  christos _ACEOF
   10060  1.1  christos cat >>$CONFIG_STATUS <<_ACEOF
   10061  1.1  christos if \$ac_cs_recheck; then
   10062  1.1  christos   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   10063  1.1  christos   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   10064  1.1  christos fi
   10065  1.1  christos 
   10066  1.1  christos _ACEOF
   10067  1.1  christos 
   10068  1.1  christos cat >>$CONFIG_STATUS <<_ACEOF
   10069  1.1  christos #
   10070  1.1  christos # INIT-COMMANDS section.
   10071  1.1  christos #
   10072  1.1  christos 
   10073  1.1  christos # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   10074  1.1  christos     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   10075  1.1  christos     # from automake.
   10076  1.1  christos     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   10077  1.1  christos     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   10078  1.1  christos     LINGUAS="${LINGUAS-%UNSET%}"
   10079  1.1  christos 
   10080  1.1  christos AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   10081  1.1  christos 
   10082  1.1  christos _ACEOF
   10083  1.1  christos 
   10084  1.1  christos 
   10085  1.1  christos 
   10086  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   10087  1.1  christos for ac_config_target in $ac_config_targets
   10088  1.1  christos do
   10089  1.1  christos   case "$ac_config_target" in
   10090  1.1  christos   # Handling of arguments.
   10091  1.1  christos   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   10092  1.1  christos   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   10093  1.1  christos   "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
   10094  1.1  christos   "examples/fastwc/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/fastwc/Makefile" ;;
   10095  1.1  christos   "examples/manual/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/manual/Makefile" ;;
   10096  1.1  christos   "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
   10097  1.1  christos   "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
   10098  1.1  christos   "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
   10099  1.1  christos   "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   10100  1.1  christos   "tests/TEMPLATE/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/TEMPLATE/Makefile" ;;
   10101  1.1  christos   "tests/test-array-nr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-array-nr/Makefile" ;;
   10102  1.1  christos   "tests/test-array-r/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-array-r/Makefile" ;;
   10103  1.1  christos   "tests/test-basic-nr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-basic-nr/Makefile" ;;
   10104  1.1  christos   "tests/test-basic-r/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-basic-r/Makefile" ;;
   10105  1.1  christos   "tests/test-bison-yylloc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-bison-yylloc/Makefile" ;;
   10106  1.1  christos   "tests/test-bison-yylval/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-bison-yylval/Makefile" ;;
   10107  1.1  christos   "tests/test-c-cpp-nr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-c-cpp-nr/Makefile" ;;
   10108  1.1  christos   "tests/test-c-cpp-r/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-c-cpp-r/Makefile" ;;
   10109  1.1  christos   "tests/test-header-nr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-header-nr/Makefile" ;;
   10110  1.1  christos   "tests/test-header-r/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-header-r/Makefile" ;;
   10111  1.1  christos   "tests/test-include-by-buffer/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-include-by-buffer/Makefile" ;;
   10112  1.1  christos   "tests/test-include-by-push/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-include-by-push/Makefile" ;;
   10113  1.1  christos   "tests/test-include-by-reentrant/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-include-by-reentrant/Makefile" ;;
   10114  1.1  christos   "tests/test-multiple-scanners-nr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-multiple-scanners-nr/Makefile" ;;
   10115  1.1  christos   "tests/test-multiple-scanners-r/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-multiple-scanners-r/Makefile" ;;
   10116  1.1  christos   "tests/test-noansi-nr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-noansi-nr/Makefile" ;;
   10117  1.1  christos   "tests/test-noansi-r/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-noansi-r/Makefile" ;;
   10118  1.1  christos   "tests/test-prefix-nr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-prefix-nr/Makefile" ;;
   10119  1.1  christos   "tests/test-prefix-r/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-prefix-r/Makefile" ;;
   10120  1.1  christos   "tests/test-pthread/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-pthread/Makefile" ;;
   10121  1.1  christos   "tests/test-string-nr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-string-nr/Makefile" ;;
   10122  1.1  christos   "tests/test-string-r/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-string-r/Makefile" ;;
   10123  1.1  christos   "tests/test-yyextra/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-yyextra/Makefile" ;;
   10124  1.1  christos   "tests/test-alloc-extra/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-alloc-extra/Makefile" ;;
   10125  1.1  christos   "tests/test-lineno-nr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-lineno-nr/Makefile" ;;
   10126  1.1  christos   "tests/test-lineno-r/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-lineno-r/Makefile" ;;
   10127  1.1  christos   "tests/test-linedir-r/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-linedir-r/Makefile" ;;
   10128  1.1  christos   "tests/test-debug-r/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-debug-r/Makefile" ;;
   10129  1.1  christos   "tests/test-debug-nr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-debug-nr/Makefile" ;;
   10130  1.1  christos   "tests/test-mem-nr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-mem-nr/Makefile" ;;
   10131  1.1  christos   "tests/test-mem-r/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-mem-r/Makefile" ;;
   10132  1.1  christos   "tests/test-posix/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-posix/Makefile" ;;
   10133  1.1  christos   "tests/test-posixly-correct/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-posixly-correct/Makefile" ;;
   10134  1.1  christos   "tests/test-table-opts/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-table-opts/Makefile" ;;
   10135  1.1  christos   "tests/test-c++-basic/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-c++-basic/Makefile" ;;
   10136  1.1  christos   "tests/test-bison-nr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-bison-nr/Makefile" ;;
   10137  1.1  christos   "tests/test-reject/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-reject/Makefile" ;;
   10138  1.1  christos   "tests/test-c++-multiple-scanners/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-c++-multiple-scanners/Makefile" ;;
   10139  1.1  christos   "tests/test-top/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-top/Makefile" ;;
   10140  1.1  christos   "tests/test-rescan-nr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-rescan-nr/Makefile" ;;
   10141  1.1  christos   "tests/test-rescan-r/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-rescan-r/Makefile" ;;
   10142  1.1  christos   "tests/test-quotes/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-quotes/Makefile" ;;
   10143  1.1  christos   "tests/test-ccl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-ccl/Makefile" ;;
   10144  1.1  christos   "tests/test-extended/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-extended/Makefile" ;;
   10145  1.1  christos   "tests/test-c++-yywrap/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-c++-yywrap/Makefile" ;;
   10146  1.1  christos   "tests/test-concatenated-options/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/test-concatenated-options/Makefile" ;;
   10147  1.1  christos   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   10148  1.1  christos   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   10149  1.1  christos   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:conf.in" ;;
   10150  1.1  christos   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   10151  1.1  christos echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   10152  1.1  christos    { (exit 1); exit 1; }; };;
   10153  1.1  christos   esac
   10154  1.1  christos done
   10155  1.1  christos 
   10156  1.1  christos # If the user did not use the arguments to specify the items to instantiate,
   10157  1.1  christos # then the envvar interface is used.  Set only those that are not.
   10158  1.1  christos # We use the long form for the default assignment because of an extremely
   10159  1.1  christos # bizarre bug on SunOS 4.1.3.
   10160  1.1  christos if $ac_need_defaults; then
   10161  1.1  christos   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   10162  1.1  christos   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   10163  1.1  christos   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   10164  1.1  christos fi
   10165  1.1  christos 
   10166  1.1  christos # Have a temporary directory for convenience.  Make it in the build tree
   10167  1.1  christos # simply because there is no reason to put it here, and in addition,
   10168  1.1  christos # creating and moving files from /tmp can sometimes cause problems.
   10169  1.1  christos # Create a temporary directory, and hook for its removal unless debugging.
   10170  1.1  christos $debug ||
   10171  1.1  christos {
   10172  1.1  christos   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   10173  1.1  christos   trap '{ (exit 1); exit 1; }' 1 2 13 15
   10174  1.1  christos }
   10175  1.1  christos 
   10176  1.1  christos # Create a (secure) tmp directory for tmp files.
   10177  1.1  christos 
   10178  1.1  christos {
   10179  1.1  christos   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   10180  1.1  christos   test -n "$tmp" && test -d "$tmp"
   10181  1.1  christos }  ||
   10182  1.1  christos {
   10183  1.1  christos   tmp=./confstat$$-$RANDOM
   10184  1.1  christos   (umask 077 && mkdir $tmp)
   10185  1.1  christos } ||
   10186  1.1  christos {
   10187  1.1  christos    echo "$me: cannot create a temporary directory in ." >&2
   10188  1.1  christos    { (exit 1); exit 1; }
   10189  1.1  christos }
   10190  1.1  christos 
   10191  1.1  christos _ACEOF
   10192  1.1  christos 
   10193  1.1  christos cat >>$CONFIG_STATUS <<_ACEOF
   10194  1.1  christos 
   10195  1.1  christos #
   10196  1.1  christos # CONFIG_FILES section.
   10197  1.1  christos #
   10198  1.1  christos 
   10199  1.1  christos # No need to generate the scripts if there are no CONFIG_FILES.
   10200  1.1  christos # This happens for instance when ./config.status config.h
   10201  1.1  christos if test -n "\$CONFIG_FILES"; then
   10202  1.1  christos   # Protect against being on the right side of a sed subst in config.status.
   10203  1.1  christos   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   10204  1.1  christos    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   10205  1.1  christos s,@SHELL@,$SHELL,;t t
   10206  1.1  christos s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   10207  1.1  christos s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   10208  1.1  christos s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   10209  1.1  christos s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   10210  1.1  christos s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   10211  1.1  christos s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   10212  1.1  christos s,@exec_prefix@,$exec_prefix,;t t
   10213  1.1  christos s,@prefix@,$prefix,;t t
   10214  1.1  christos s,@program_transform_name@,$program_transform_name,;t t
   10215  1.1  christos s,@bindir@,$bindir,;t t
   10216  1.1  christos s,@sbindir@,$sbindir,;t t
   10217  1.1  christos s,@libexecdir@,$libexecdir,;t t
   10218  1.1  christos s,@datadir@,$datadir,;t t
   10219  1.1  christos s,@sysconfdir@,$sysconfdir,;t t
   10220  1.1  christos s,@sharedstatedir@,$sharedstatedir,;t t
   10221  1.1  christos s,@localstatedir@,$localstatedir,;t t
   10222  1.1  christos s,@libdir@,$libdir,;t t
   10223  1.1  christos s,@includedir@,$includedir,;t t
   10224  1.1  christos s,@oldincludedir@,$oldincludedir,;t t
   10225  1.1  christos s,@infodir@,$infodir,;t t
   10226  1.1  christos s,@mandir@,$mandir,;t t
   10227  1.1  christos s,@build_alias@,$build_alias,;t t
   10228  1.1  christos s,@host_alias@,$host_alias,;t t
   10229  1.1  christos s,@target_alias@,$target_alias,;t t
   10230  1.1  christos s,@DEFS@,$DEFS,;t t
   10231  1.1  christos s,@ECHO_C@,$ECHO_C,;t t
   10232  1.1  christos s,@ECHO_N@,$ECHO_N,;t t
   10233  1.1  christos s,@ECHO_T@,$ECHO_T,;t t
   10234  1.1  christos s,@LIBS@,$LIBS,;t t
   10235  1.1  christos s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
   10236  1.1  christos s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
   10237  1.1  christos s,@INSTALL_DATA@,$INSTALL_DATA,;t t
   10238  1.1  christos s,@CYGPATH_W@,$CYGPATH_W,;t t
   10239  1.1  christos s,@PACKAGE@,$PACKAGE,;t t
   10240  1.1  christos s,@VERSION@,$VERSION,;t t
   10241  1.1  christos s,@ACLOCAL@,$ACLOCAL,;t t
   10242  1.1  christos s,@AUTOCONF@,$AUTOCONF,;t t
   10243  1.1  christos s,@AUTOMAKE@,$AUTOMAKE,;t t
   10244  1.1  christos s,@AUTOHEADER@,$AUTOHEADER,;t t
   10245  1.1  christos s,@MAKEINFO@,$MAKEINFO,;t t
   10246  1.1  christos s,@install_sh@,$install_sh,;t t
   10247  1.1  christos s,@STRIP@,$STRIP,;t t
   10248  1.1  christos s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
   10249  1.1  christos s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
   10250  1.1  christos s,@mkdir_p@,$mkdir_p,;t t
   10251  1.1  christos s,@AWK@,$AWK,;t t
   10252  1.1  christos s,@SET_MAKE@,$SET_MAKE,;t t
   10253  1.1  christos s,@am__leading_dot@,$am__leading_dot,;t t
   10254  1.1  christos s,@AMTAR@,$AMTAR,;t t
   10255  1.1  christos s,@am__tar@,$am__tar,;t t
   10256  1.1  christos s,@am__untar@,$am__untar,;t t
   10257  1.1  christos s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
   10258  1.1  christos s,@USE_NLS@,$USE_NLS,;t t
   10259  1.1  christos s,@MSGFMT@,$MSGFMT,;t t
   10260  1.1  christos s,@GMSGFMT@,$GMSGFMT,;t t
   10261  1.1  christos s,@XGETTEXT@,$XGETTEXT,;t t
   10262  1.1  christos s,@MSGMERGE@,$MSGMERGE,;t t
   10263  1.1  christos s,@CC@,$CC,;t t
   10264  1.1  christos s,@CFLAGS@,$CFLAGS,;t t
   10265  1.1  christos s,@LDFLAGS@,$LDFLAGS,;t t
   10266  1.1  christos s,@CPPFLAGS@,$CPPFLAGS,;t t
   10267  1.1  christos s,@ac_ct_CC@,$ac_ct_CC,;t t
   10268  1.1  christos s,@EXEEXT@,$EXEEXT,;t t
   10269  1.1  christos s,@OBJEXT@,$OBJEXT,;t t
   10270  1.1  christos s,@DEPDIR@,$DEPDIR,;t t
   10271  1.1  christos s,@am__include@,$am__include,;t t
   10272  1.1  christos s,@am__quote@,$am__quote,;t t
   10273  1.1  christos s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
   10274  1.1  christos s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
   10275  1.1  christos s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
   10276  1.1  christos s,@CCDEPMODE@,$CCDEPMODE,;t t
   10277  1.1  christos s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
   10278  1.1  christos s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
   10279  1.1  christos s,@build@,$build,;t t
   10280  1.1  christos s,@build_cpu@,$build_cpu,;t t
   10281  1.1  christos s,@build_vendor@,$build_vendor,;t t
   10282  1.1  christos s,@build_os@,$build_os,;t t
   10283  1.1  christos s,@host@,$host,;t t
   10284  1.1  christos s,@host_cpu@,$host_cpu,;t t
   10285  1.1  christos s,@host_vendor@,$host_vendor,;t t
   10286  1.1  christos s,@host_os@,$host_os,;t t
   10287  1.1  christos s,@LIBICONV@,$LIBICONV,;t t
   10288  1.1  christos s,@LTLIBICONV@,$LTLIBICONV,;t t
   10289  1.1  christos s,@INTLLIBS@,$INTLLIBS,;t t
   10290  1.1  christos s,@LIBINTL@,$LIBINTL,;t t
   10291  1.1  christos s,@LTLIBINTL@,$LTLIBINTL,;t t
   10292  1.1  christos s,@POSUB@,$POSUB,;t t
   10293  1.1  christos s,@YACC@,$YACC,;t t
   10294  1.1  christos s,@LEX@,$LEX,;t t
   10295  1.1  christos s,@LEXLIB@,$LEXLIB,;t t
   10296  1.1  christos s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
   10297  1.1  christos s,@CXX@,$CXX,;t t
   10298  1.1  christos s,@CXXFLAGS@,$CXXFLAGS,;t t
   10299  1.1  christos s,@ac_ct_CXX@,$ac_ct_CXX,;t t
   10300  1.1  christos s,@CXXDEPMODE@,$CXXDEPMODE,;t t
   10301  1.1  christos s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
   10302  1.1  christos s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
   10303  1.1  christos s,@LN_S@,$LN_S,;t t
   10304  1.1  christos s,@RANLIB@,$RANLIB,;t t
   10305  1.1  christos s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
   10306  1.1  christos s,@BISON@,$BISON,;t t
   10307  1.1  christos s,@HELP2MAN@,$HELP2MAN,;t t
   10308  1.1  christos s,@M4@,$M4,;t t
   10309  1.1  christos s,@INDENT@,$INDENT,;t t
   10310  1.1  christos s,@ALLOCA@,$ALLOCA,;t t
   10311  1.1  christos s,@CPP@,$CPP,;t t
   10312  1.1  christos s,@EGREP@,$EGREP,;t t
   10313  1.1  christos s,@LIBOBJS@,$LIBOBJS,;t t
   10314  1.1  christos s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   10315  1.1  christos CEOF
   10316  1.1  christos 
   10317  1.1  christos _ACEOF
   10318  1.1  christos 
   10319  1.1  christos   cat >>$CONFIG_STATUS <<\_ACEOF
   10320  1.1  christos   # Split the substitutions into bite-sized pieces for seds with
   10321  1.1  christos   # small command number limits, like on Digital OSF/1 and HP-UX.
   10322  1.1  christos   ac_max_sed_lines=48
   10323  1.1  christos   ac_sed_frag=1 # Number of current file.
   10324  1.1  christos   ac_beg=1 # First line for current file.
   10325  1.1  christos   ac_end=$ac_max_sed_lines # Line after last line for current file.
   10326  1.1  christos   ac_more_lines=:
   10327  1.1  christos   ac_sed_cmds=
   10328  1.1  christos   while $ac_more_lines; do
   10329  1.1  christos     if test $ac_beg -gt 1; then
   10330  1.1  christos       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   10331  1.1  christos     else
   10332  1.1  christos       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   10333  1.1  christos     fi
   10334  1.1  christos     if test ! -s $tmp/subs.frag; then
   10335  1.1  christos       ac_more_lines=false
   10336  1.1  christos     else
   10337  1.1  christos       # The purpose of the label and of the branching condition is to
   10338  1.1  christos       # speed up the sed processing (if there are no `@' at all, there
   10339  1.1  christos       # is no need to browse any of the substitutions).
   10340  1.1  christos       # These are the two extra sed commands mentioned above.
   10341  1.1  christos       (echo ':t
   10342  1.1  christos   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   10343  1.1  christos       if test -z "$ac_sed_cmds"; then
   10344  1.1  christos 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   10345  1.1  christos       else
   10346  1.1  christos 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   10347  1.1  christos       fi
   10348  1.1  christos       ac_sed_frag=`expr $ac_sed_frag + 1`
   10349  1.1  christos       ac_beg=$ac_end
   10350  1.1  christos       ac_end=`expr $ac_end + $ac_max_sed_lines`
   10351  1.1  christos     fi
   10352  1.1  christos   done
   10353  1.1  christos   if test -z "$ac_sed_cmds"; then
   10354  1.1  christos     ac_sed_cmds=cat
   10355  1.1  christos   fi
   10356  1.1  christos fi # test -n "$CONFIG_FILES"
   10357  1.1  christos 
   10358  1.1  christos _ACEOF
   10359  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   10360  1.1  christos for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   10361  1.1  christos   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   10362  1.1  christos   case $ac_file in
   10363  1.1  christos   - | *:- | *:-:* ) # input from stdin
   10364  1.1  christos 	cat >$tmp/stdin
   10365  1.1  christos 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   10366  1.1  christos 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   10367  1.1  christos   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   10368  1.1  christos 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   10369  1.1  christos   * )   ac_file_in=$ac_file.in ;;
   10370  1.1  christos   esac
   10371  1.1  christos 
   10372  1.1  christos   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   10373  1.1  christos   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   10374  1.1  christos $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10375  1.1  christos 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   10376  1.1  christos 	 X"$ac_file" : 'X\(//\)$' \| \
   10377  1.1  christos 	 X"$ac_file" : 'X\(/\)' \| \
   10378  1.1  christos 	 .     : '\(.\)' 2>/dev/null ||
   10379  1.1  christos echo X"$ac_file" |
   10380  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10381  1.1  christos   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10382  1.1  christos   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10383  1.1  christos   	  /^X\(\/\).*/{ s//\1/; q; }
   10384  1.1  christos   	  s/.*/./; q'`
   10385  1.1  christos   { if $as_mkdir_p; then
   10386  1.1  christos     mkdir -p "$ac_dir"
   10387  1.1  christos   else
   10388  1.1  christos     as_dir="$ac_dir"
   10389  1.1  christos     as_dirs=
   10390  1.1  christos     while test ! -d "$as_dir"; do
   10391  1.1  christos       as_dirs="$as_dir $as_dirs"
   10392  1.1  christos       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10393  1.1  christos $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10394  1.1  christos 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10395  1.1  christos 	 X"$as_dir" : 'X\(//\)$' \| \
   10396  1.1  christos 	 X"$as_dir" : 'X\(/\)' \| \
   10397  1.1  christos 	 .     : '\(.\)' 2>/dev/null ||
   10398  1.1  christos echo X"$as_dir" |
   10399  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10400  1.1  christos   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10401  1.1  christos   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10402  1.1  christos   	  /^X\(\/\).*/{ s//\1/; q; }
   10403  1.1  christos   	  s/.*/./; q'`
   10404  1.1  christos     done
   10405  1.1  christos     test ! -n "$as_dirs" || mkdir $as_dirs
   10406  1.1  christos   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   10407  1.1  christos echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   10408  1.1  christos    { (exit 1); exit 1; }; }; }
   10409  1.1  christos 
   10410  1.1  christos   ac_builddir=.
   10411  1.1  christos 
   10412  1.1  christos if test "$ac_dir" != .; then
   10413  1.1  christos   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   10414  1.1  christos   # A "../" for each directory in $ac_dir_suffix.
   10415  1.1  christos   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   10416  1.1  christos else
   10417  1.1  christos   ac_dir_suffix= ac_top_builddir=
   10418  1.1  christos fi
   10419  1.1  christos 
   10420  1.1  christos case $srcdir in
   10421  1.1  christos   .)  # No --srcdir option.  We are building in place.
   10422  1.1  christos     ac_srcdir=.
   10423  1.1  christos     if test -z "$ac_top_builddir"; then
   10424  1.1  christos        ac_top_srcdir=.
   10425  1.1  christos     else
   10426  1.1  christos        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   10427  1.1  christos     fi ;;
   10428  1.1  christos   [\\/]* | ?:[\\/]* )  # Absolute path.
   10429  1.1  christos     ac_srcdir=$srcdir$ac_dir_suffix;
   10430  1.1  christos     ac_top_srcdir=$srcdir ;;
   10431  1.1  christos   *) # Relative path.
   10432  1.1  christos     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   10433  1.1  christos     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   10434  1.1  christos esac
   10435  1.1  christos 
   10436  1.1  christos # Do not use `cd foo && pwd` to compute absolute paths, because
   10437  1.1  christos # the directories may not exist.
   10438  1.1  christos case `pwd` in
   10439  1.1  christos .) ac_abs_builddir="$ac_dir";;
   10440  1.1  christos *)
   10441  1.1  christos   case "$ac_dir" in
   10442  1.1  christos   .) ac_abs_builddir=`pwd`;;
   10443  1.1  christos   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   10444  1.1  christos   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   10445  1.1  christos   esac;;
   10446  1.1  christos esac
   10447  1.1  christos case $ac_abs_builddir in
   10448  1.1  christos .) ac_abs_top_builddir=${ac_top_builddir}.;;
   10449  1.1  christos *)
   10450  1.1  christos   case ${ac_top_builddir}. in
   10451  1.1  christos   .) ac_abs_top_builddir=$ac_abs_builddir;;
   10452  1.1  christos   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   10453  1.1  christos   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   10454  1.1  christos   esac;;
   10455  1.1  christos esac
   10456  1.1  christos case $ac_abs_builddir in
   10457  1.1  christos .) ac_abs_srcdir=$ac_srcdir;;
   10458  1.1  christos *)
   10459  1.1  christos   case $ac_srcdir in
   10460  1.1  christos   .) ac_abs_srcdir=$ac_abs_builddir;;
   10461  1.1  christos   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   10462  1.1  christos   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   10463  1.1  christos   esac;;
   10464  1.1  christos esac
   10465  1.1  christos case $ac_abs_builddir in
   10466  1.1  christos .) ac_abs_top_srcdir=$ac_top_srcdir;;
   10467  1.1  christos *)
   10468  1.1  christos   case $ac_top_srcdir in
   10469  1.1  christos   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   10470  1.1  christos   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   10471  1.1  christos   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   10472  1.1  christos   esac;;
   10473  1.1  christos esac
   10474  1.1  christos 
   10475  1.1  christos 
   10476  1.1  christos   case $INSTALL in
   10477  1.1  christos   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   10478  1.1  christos   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
   10479  1.1  christos   esac
   10480  1.1  christos 
   10481  1.1  christos   # Let's still pretend it is `configure' which instantiates (i.e., don't
   10482  1.1  christos   # use $as_me), people would be surprised to read:
   10483  1.1  christos   #    /* config.h.  Generated by config.status.  */
   10484  1.1  christos   if test x"$ac_file" = x-; then
   10485  1.1  christos     configure_input=
   10486  1.1  christos   else
   10487  1.1  christos     configure_input="$ac_file.  "
   10488  1.1  christos   fi
   10489  1.1  christos   configure_input=$configure_input"Generated from `echo $ac_file_in |
   10490  1.1  christos 				     sed 's,.*/,,'` by configure."
   10491  1.1  christos 
   10492  1.1  christos   # First look for the input files in the build tree, otherwise in the
   10493  1.1  christos   # src tree.
   10494  1.1  christos   ac_file_inputs=`IFS=:
   10495  1.1  christos     for f in $ac_file_in; do
   10496  1.1  christos       case $f in
   10497  1.1  christos       -) echo $tmp/stdin ;;
   10498  1.1  christos       [\\/$]*)
   10499  1.1  christos 	 # Absolute (can't be DOS-style, as IFS=:)
   10500  1.1  christos 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   10501  1.1  christos echo "$as_me: error: cannot find input file: $f" >&2;}
   10502  1.1  christos    { (exit 1); exit 1; }; }
   10503  1.1  christos 	 echo "$f";;
   10504  1.1  christos       *) # Relative
   10505  1.1  christos 	 if test -f "$f"; then
   10506  1.1  christos 	   # Build tree
   10507  1.1  christos 	   echo "$f"
   10508  1.1  christos 	 elif test -f "$srcdir/$f"; then
   10509  1.1  christos 	   # Source tree
   10510  1.1  christos 	   echo "$srcdir/$f"
   10511  1.1  christos 	 else
   10512  1.1  christos 	   # /dev/null tree
   10513  1.1  christos 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   10514  1.1  christos echo "$as_me: error: cannot find input file: $f" >&2;}
   10515  1.1  christos    { (exit 1); exit 1; }; }
   10516  1.1  christos 	 fi;;
   10517  1.1  christos       esac
   10518  1.1  christos     done` || { (exit 1); exit 1; }
   10519  1.1  christos 
   10520  1.1  christos   if test x"$ac_file" != x-; then
   10521  1.1  christos     { echo "$as_me:$LINENO: creating $ac_file" >&5
   10522  1.1  christos echo "$as_me: creating $ac_file" >&6;}
   10523  1.1  christos     rm -f "$ac_file"
   10524  1.1  christos   fi
   10525  1.1  christos _ACEOF
   10526  1.1  christos cat >>$CONFIG_STATUS <<_ACEOF
   10527  1.1  christos   sed "$ac_vpsub
   10528  1.1  christos $extrasub
   10529  1.1  christos _ACEOF
   10530  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   10531  1.1  christos :t
   10532  1.1  christos /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   10533  1.1  christos s,@configure_input@,$configure_input,;t t
   10534  1.1  christos s,@srcdir@,$ac_srcdir,;t t
   10535  1.1  christos s,@abs_srcdir@,$ac_abs_srcdir,;t t
   10536  1.1  christos s,@top_srcdir@,$ac_top_srcdir,;t t
   10537  1.1  christos s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   10538  1.1  christos s,@builddir@,$ac_builddir,;t t
   10539  1.1  christos s,@abs_builddir@,$ac_abs_builddir,;t t
   10540  1.1  christos s,@top_builddir@,$ac_top_builddir,;t t
   10541  1.1  christos s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   10542  1.1  christos s,@INSTALL@,$ac_INSTALL,;t t
   10543  1.1  christos " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   10544  1.1  christos   rm -f $tmp/stdin
   10545  1.1  christos   if test x"$ac_file" != x-; then
   10546  1.1  christos     mv $tmp/out $ac_file
   10547  1.1  christos   else
   10548  1.1  christos     cat $tmp/out
   10549  1.1  christos     rm -f $tmp/out
   10550  1.1  christos   fi
   10551  1.1  christos 
   10552  1.1  christos done
   10553  1.1  christos _ACEOF
   10554  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   10555  1.1  christos 
   10556  1.1  christos #
   10557  1.1  christos # CONFIG_HEADER section.
   10558  1.1  christos #
   10559  1.1  christos 
   10560  1.1  christos # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   10561  1.1  christos # NAME is the cpp macro being defined and VALUE is the value it is being given.
   10562  1.1  christos #
   10563  1.1  christos # ac_d sets the value in "#define NAME VALUE" lines.
   10564  1.1  christos ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   10565  1.1  christos ac_dB='[	 ].*$,\1#\2'
   10566  1.1  christos ac_dC=' '
   10567  1.1  christos ac_dD=',;t'
   10568  1.1  christos # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   10569  1.1  christos ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   10570  1.1  christos ac_uB='$,\1#\2define\3'
   10571  1.1  christos ac_uC=' '
   10572  1.1  christos ac_uD=',;t'
   10573  1.1  christos 
   10574  1.1  christos for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   10575  1.1  christos   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   10576  1.1  christos   case $ac_file in
   10577  1.1  christos   - | *:- | *:-:* ) # input from stdin
   10578  1.1  christos 	cat >$tmp/stdin
   10579  1.1  christos 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   10580  1.1  christos 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   10581  1.1  christos   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   10582  1.1  christos 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   10583  1.1  christos   * )   ac_file_in=$ac_file.in ;;
   10584  1.1  christos   esac
   10585  1.1  christos 
   10586  1.1  christos   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   10587  1.1  christos echo "$as_me: creating $ac_file" >&6;}
   10588  1.1  christos 
   10589  1.1  christos   # First look for the input files in the build tree, otherwise in the
   10590  1.1  christos   # src tree.
   10591  1.1  christos   ac_file_inputs=`IFS=:
   10592  1.1  christos     for f in $ac_file_in; do
   10593  1.1  christos       case $f in
   10594  1.1  christos       -) echo $tmp/stdin ;;
   10595  1.1  christos       [\\/$]*)
   10596  1.1  christos 	 # Absolute (can't be DOS-style, as IFS=:)
   10597  1.1  christos 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   10598  1.1  christos echo "$as_me: error: cannot find input file: $f" >&2;}
   10599  1.1  christos    { (exit 1); exit 1; }; }
   10600  1.1  christos 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   10601  1.1  christos 	 echo "$f";;
   10602  1.1  christos       *) # Relative
   10603  1.1  christos 	 if test -f "$f"; then
   10604  1.1  christos 	   # Build tree
   10605  1.1  christos 	   echo "$f"
   10606  1.1  christos 	 elif test -f "$srcdir/$f"; then
   10607  1.1  christos 	   # Source tree
   10608  1.1  christos 	   echo "$srcdir/$f"
   10609  1.1  christos 	 else
   10610  1.1  christos 	   # /dev/null tree
   10611  1.1  christos 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   10612  1.1  christos echo "$as_me: error: cannot find input file: $f" >&2;}
   10613  1.1  christos    { (exit 1); exit 1; }; }
   10614  1.1  christos 	 fi;;
   10615  1.1  christos       esac
   10616  1.1  christos     done` || { (exit 1); exit 1; }
   10617  1.1  christos   # Remove the trailing spaces.
   10618  1.1  christos   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   10619  1.1  christos 
   10620  1.1  christos _ACEOF
   10621  1.1  christos 
   10622  1.1  christos # Transform confdefs.h into two sed scripts, `conftest.defines' and
   10623  1.1  christos # `conftest.undefs', that substitutes the proper values into
   10624  1.1  christos # config.h.in to produce config.h.  The first handles `#define'
   10625  1.1  christos # templates, and the second `#undef' templates.
   10626  1.1  christos # And first: Protect against being on the right side of a sed subst in
   10627  1.1  christos # config.status.  Protect against being in an unquoted here document
   10628  1.1  christos # in config.status.
   10629  1.1  christos rm -f conftest.defines conftest.undefs
   10630  1.1  christos # Using a here document instead of a string reduces the quoting nightmare.
   10631  1.1  christos # Putting comments in sed scripts is not portable.
   10632  1.1  christos #
   10633  1.1  christos # `end' is used to avoid that the second main sed command (meant for
   10634  1.1  christos # 0-ary CPP macros) applies to n-ary macro definitions.
   10635  1.1  christos # See the Autoconf documentation for `clear'.
   10636  1.1  christos cat >confdef2sed.sed <<\_ACEOF
   10637  1.1  christos s/[\\&,]/\\&/g
   10638  1.1  christos s,[\\$`],\\&,g
   10639  1.1  christos t clear
   10640  1.1  christos : clear
   10641  1.1  christos s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   10642  1.1  christos t end
   10643  1.1  christos s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   10644  1.1  christos : end
   10645  1.1  christos _ACEOF
   10646  1.1  christos # If some macros were called several times there might be several times
   10647  1.1  christos # the same #defines, which is useless.  Nevertheless, we may not want to
   10648  1.1  christos # sort them, since we want the *last* AC-DEFINE to be honored.
   10649  1.1  christos uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   10650  1.1  christos sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   10651  1.1  christos rm -f confdef2sed.sed
   10652  1.1  christos 
   10653  1.1  christos # This sed command replaces #undef with comments.  This is necessary, for
   10654  1.1  christos # example, in the case of _POSIX_SOURCE, which is predefined and required
   10655  1.1  christos # on some systems where configure will not decide to define it.
   10656  1.1  christos cat >>conftest.undefs <<\_ACEOF
   10657  1.1  christos s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   10658  1.1  christos _ACEOF
   10659  1.1  christos 
   10660  1.1  christos # Break up conftest.defines because some shells have a limit on the size
   10661  1.1  christos # of here documents, and old seds have small limits too (100 cmds).
   10662  1.1  christos echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   10663  1.1  christos echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   10664  1.1  christos echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   10665  1.1  christos echo '  :' >>$CONFIG_STATUS
   10666  1.1  christos rm -f conftest.tail
   10667  1.1  christos while grep . conftest.defines >/dev/null
   10668  1.1  christos do
   10669  1.1  christos   # Write a limited-size here document to $tmp/defines.sed.
   10670  1.1  christos   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   10671  1.1  christos   # Speed up: don't consider the non `#define' lines.
   10672  1.1  christos   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   10673  1.1  christos   # Work around the forget-to-reset-the-flag bug.
   10674  1.1  christos   echo 't clr' >>$CONFIG_STATUS
   10675  1.1  christos   echo ': clr' >>$CONFIG_STATUS
   10676  1.1  christos   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   10677  1.1  christos   echo 'CEOF
   10678  1.1  christos   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   10679  1.1  christos   rm -f $tmp/in
   10680  1.1  christos   mv $tmp/out $tmp/in
   10681  1.1  christos ' >>$CONFIG_STATUS
   10682  1.1  christos   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   10683  1.1  christos   rm -f conftest.defines
   10684  1.1  christos   mv conftest.tail conftest.defines
   10685  1.1  christos done
   10686  1.1  christos rm -f conftest.defines
   10687  1.1  christos echo '  fi # grep' >>$CONFIG_STATUS
   10688  1.1  christos echo >>$CONFIG_STATUS
   10689  1.1  christos 
   10690  1.1  christos # Break up conftest.undefs because some shells have a limit on the size
   10691  1.1  christos # of here documents, and old seds have small limits too (100 cmds).
   10692  1.1  christos echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   10693  1.1  christos rm -f conftest.tail
   10694  1.1  christos while grep . conftest.undefs >/dev/null
   10695  1.1  christos do
   10696  1.1  christos   # Write a limited-size here document to $tmp/undefs.sed.
   10697  1.1  christos   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   10698  1.1  christos   # Speed up: don't consider the non `#undef'
   10699  1.1  christos   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   10700  1.1  christos   # Work around the forget-to-reset-the-flag bug.
   10701  1.1  christos   echo 't clr' >>$CONFIG_STATUS
   10702  1.1  christos   echo ': clr' >>$CONFIG_STATUS
   10703  1.1  christos   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   10704  1.1  christos   echo 'CEOF
   10705  1.1  christos   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   10706  1.1  christos   rm -f $tmp/in
   10707  1.1  christos   mv $tmp/out $tmp/in
   10708  1.1  christos ' >>$CONFIG_STATUS
   10709  1.1  christos   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   10710  1.1  christos   rm -f conftest.undefs
   10711  1.1  christos   mv conftest.tail conftest.undefs
   10712  1.1  christos done
   10713  1.1  christos rm -f conftest.undefs
   10714  1.1  christos 
   10715  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   10716  1.1  christos   # Let's still pretend it is `configure' which instantiates (i.e., don't
   10717  1.1  christos   # use $as_me), people would be surprised to read:
   10718  1.1  christos   #    /* config.h.  Generated by config.status.  */
   10719  1.1  christos   if test x"$ac_file" = x-; then
   10720  1.1  christos     echo "/* Generated by configure.  */" >$tmp/config.h
   10721  1.1  christos   else
   10722  1.1  christos     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   10723  1.1  christos   fi
   10724  1.1  christos   cat $tmp/in >>$tmp/config.h
   10725  1.1  christos   rm -f $tmp/in
   10726  1.1  christos   if test x"$ac_file" != x-; then
   10727  1.1  christos     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   10728  1.1  christos       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   10729  1.1  christos echo "$as_me: $ac_file is unchanged" >&6;}
   10730  1.1  christos     else
   10731  1.1  christos       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   10732  1.1  christos $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10733  1.1  christos 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   10734  1.1  christos 	 X"$ac_file" : 'X\(//\)$' \| \
   10735  1.1  christos 	 X"$ac_file" : 'X\(/\)' \| \
   10736  1.1  christos 	 .     : '\(.\)' 2>/dev/null ||
   10737  1.1  christos echo X"$ac_file" |
   10738  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10739  1.1  christos   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10740  1.1  christos   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10741  1.1  christos   	  /^X\(\/\).*/{ s//\1/; q; }
   10742  1.1  christos   	  s/.*/./; q'`
   10743  1.1  christos       { if $as_mkdir_p; then
   10744  1.1  christos     mkdir -p "$ac_dir"
   10745  1.1  christos   else
   10746  1.1  christos     as_dir="$ac_dir"
   10747  1.1  christos     as_dirs=
   10748  1.1  christos     while test ! -d "$as_dir"; do
   10749  1.1  christos       as_dirs="$as_dir $as_dirs"
   10750  1.1  christos       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10751  1.1  christos $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10752  1.1  christos 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10753  1.1  christos 	 X"$as_dir" : 'X\(//\)$' \| \
   10754  1.1  christos 	 X"$as_dir" : 'X\(/\)' \| \
   10755  1.1  christos 	 .     : '\(.\)' 2>/dev/null ||
   10756  1.1  christos echo X"$as_dir" |
   10757  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10758  1.1  christos   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10759  1.1  christos   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10760  1.1  christos   	  /^X\(\/\).*/{ s//\1/; q; }
   10761  1.1  christos   	  s/.*/./; q'`
   10762  1.1  christos     done
   10763  1.1  christos     test ! -n "$as_dirs" || mkdir $as_dirs
   10764  1.1  christos   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   10765  1.1  christos echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   10766  1.1  christos    { (exit 1); exit 1; }; }; }
   10767  1.1  christos 
   10768  1.1  christos       rm -f $ac_file
   10769  1.1  christos       mv $tmp/config.h $ac_file
   10770  1.1  christos     fi
   10771  1.1  christos   else
   10772  1.1  christos     cat $tmp/config.h
   10773  1.1  christos     rm -f $tmp/config.h
   10774  1.1  christos   fi
   10775  1.1  christos # Compute $ac_file's index in $config_headers.
   10776  1.1  christos _am_stamp_count=1
   10777  1.1  christos for _am_header in $config_headers :; do
   10778  1.1  christos   case $_am_header in
   10779  1.1  christos     $ac_file | $ac_file:* )
   10780  1.1  christos       break ;;
   10781  1.1  christos     * )
   10782  1.1  christos       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   10783  1.1  christos   esac
   10784  1.1  christos done
   10785  1.1  christos echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
   10786  1.1  christos $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10787  1.1  christos 	 X$ac_file : 'X\(//\)[^/]' \| \
   10788  1.1  christos 	 X$ac_file : 'X\(//\)$' \| \
   10789  1.1  christos 	 X$ac_file : 'X\(/\)' \| \
   10790  1.1  christos 	 .     : '\(.\)' 2>/dev/null ||
   10791  1.1  christos echo X$ac_file |
   10792  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10793  1.1  christos   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10794  1.1  christos   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10795  1.1  christos   	  /^X\(\/\).*/{ s//\1/; q; }
   10796  1.1  christos   	  s/.*/./; q'`/stamp-h$_am_stamp_count
   10797  1.1  christos done
   10798  1.1  christos _ACEOF
   10799  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   10800  1.1  christos 
   10801  1.1  christos #
   10802  1.1  christos # CONFIG_COMMANDS section.
   10803  1.1  christos #
   10804  1.1  christos for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
   10805  1.1  christos   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
   10806  1.1  christos   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
   10807  1.1  christos   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
   10808  1.1  christos $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10809  1.1  christos 	 X"$ac_dest" : 'X\(//\)[^/]' \| \
   10810  1.1  christos 	 X"$ac_dest" : 'X\(//\)$' \| \
   10811  1.1  christos 	 X"$ac_dest" : 'X\(/\)' \| \
   10812  1.1  christos 	 .     : '\(.\)' 2>/dev/null ||
   10813  1.1  christos echo X"$ac_dest" |
   10814  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10815  1.1  christos   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10816  1.1  christos   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10817  1.1  christos   	  /^X\(\/\).*/{ s//\1/; q; }
   10818  1.1  christos   	  s/.*/./; q'`
   10819  1.1  christos   { if $as_mkdir_p; then
   10820  1.1  christos     mkdir -p "$ac_dir"
   10821  1.1  christos   else
   10822  1.1  christos     as_dir="$ac_dir"
   10823  1.1  christos     as_dirs=
   10824  1.1  christos     while test ! -d "$as_dir"; do
   10825  1.1  christos       as_dirs="$as_dir $as_dirs"
   10826  1.1  christos       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10827  1.1  christos $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10828  1.1  christos 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10829  1.1  christos 	 X"$as_dir" : 'X\(//\)$' \| \
   10830  1.1  christos 	 X"$as_dir" : 'X\(/\)' \| \
   10831  1.1  christos 	 .     : '\(.\)' 2>/dev/null ||
   10832  1.1  christos echo X"$as_dir" |
   10833  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10834  1.1  christos   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10835  1.1  christos   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10836  1.1  christos   	  /^X\(\/\).*/{ s//\1/; q; }
   10837  1.1  christos   	  s/.*/./; q'`
   10838  1.1  christos     done
   10839  1.1  christos     test ! -n "$as_dirs" || mkdir $as_dirs
   10840  1.1  christos   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   10841  1.1  christos echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   10842  1.1  christos    { (exit 1); exit 1; }; }; }
   10843  1.1  christos 
   10844  1.1  christos   ac_builddir=.
   10845  1.1  christos 
   10846  1.1  christos if test "$ac_dir" != .; then
   10847  1.1  christos   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   10848  1.1  christos   # A "../" for each directory in $ac_dir_suffix.
   10849  1.1  christos   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   10850  1.1  christos else
   10851  1.1  christos   ac_dir_suffix= ac_top_builddir=
   10852  1.1  christos fi
   10853  1.1  christos 
   10854  1.1  christos case $srcdir in
   10855  1.1  christos   .)  # No --srcdir option.  We are building in place.
   10856  1.1  christos     ac_srcdir=.
   10857  1.1  christos     if test -z "$ac_top_builddir"; then
   10858  1.1  christos        ac_top_srcdir=.
   10859  1.1  christos     else
   10860  1.1  christos        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   10861  1.1  christos     fi ;;
   10862  1.1  christos   [\\/]* | ?:[\\/]* )  # Absolute path.
   10863  1.1  christos     ac_srcdir=$srcdir$ac_dir_suffix;
   10864  1.1  christos     ac_top_srcdir=$srcdir ;;
   10865  1.1  christos   *) # Relative path.
   10866  1.1  christos     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   10867  1.1  christos     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   10868  1.1  christos esac
   10869  1.1  christos 
   10870  1.1  christos # Do not use `cd foo && pwd` to compute absolute paths, because
   10871  1.1  christos # the directories may not exist.
   10872  1.1  christos case `pwd` in
   10873  1.1  christos .) ac_abs_builddir="$ac_dir";;
   10874  1.1  christos *)
   10875  1.1  christos   case "$ac_dir" in
   10876  1.1  christos   .) ac_abs_builddir=`pwd`;;
   10877  1.1  christos   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   10878  1.1  christos   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   10879  1.1  christos   esac;;
   10880  1.1  christos esac
   10881  1.1  christos case $ac_abs_builddir in
   10882  1.1  christos .) ac_abs_top_builddir=${ac_top_builddir}.;;
   10883  1.1  christos *)
   10884  1.1  christos   case ${ac_top_builddir}. in
   10885  1.1  christos   .) ac_abs_top_builddir=$ac_abs_builddir;;
   10886  1.1  christos   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   10887  1.1  christos   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   10888  1.1  christos   esac;;
   10889  1.1  christos esac
   10890  1.1  christos case $ac_abs_builddir in
   10891  1.1  christos .) ac_abs_srcdir=$ac_srcdir;;
   10892  1.1  christos *)
   10893  1.1  christos   case $ac_srcdir in
   10894  1.1  christos   .) ac_abs_srcdir=$ac_abs_builddir;;
   10895  1.1  christos   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   10896  1.1  christos   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   10897  1.1  christos   esac;;
   10898  1.1  christos esac
   10899  1.1  christos case $ac_abs_builddir in
   10900  1.1  christos .) ac_abs_top_srcdir=$ac_top_srcdir;;
   10901  1.1  christos *)
   10902  1.1  christos   case $ac_top_srcdir in
   10903  1.1  christos   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   10904  1.1  christos   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   10905  1.1  christos   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   10906  1.1  christos   esac;;
   10907  1.1  christos esac
   10908  1.1  christos 
   10909  1.1  christos 
   10910  1.1  christos   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
   10911  1.1  christos echo "$as_me: executing $ac_dest commands" >&6;}
   10912  1.1  christos   case $ac_dest in
   10913  1.1  christos     default-1 )
   10914  1.1  christos     for ac_file in $CONFIG_FILES; do
   10915  1.1  christos       # Support "outfile[:infile[:infile...]]"
   10916  1.1  christos       case "$ac_file" in
   10917  1.1  christos         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   10918  1.1  christos       esac
   10919  1.1  christos       # PO directories have a Makefile.in generated from Makefile.in.in.
   10920  1.1  christos       case "$ac_file" in */Makefile.in)
   10921  1.1  christos         # Adjust a relative srcdir.
   10922  1.1  christos         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   10923  1.1  christos         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
   10924  1.1  christos         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   10925  1.1  christos         # In autoconf-2.13 it is called $ac_given_srcdir.
   10926  1.1  christos         # In autoconf-2.50 it is called $srcdir.
   10927  1.1  christos         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   10928  1.1  christos         case "$ac_given_srcdir" in
   10929  1.1  christos           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   10930  1.1  christos           /*) top_srcdir="$ac_given_srcdir" ;;
   10931  1.1  christos           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   10932  1.1  christos         esac
   10933  1.1  christos         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   10934  1.1  christos           rm -f "$ac_dir/POTFILES"
   10935  1.1  christos           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   10936  1.1  christos           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   10937  1.1  christos           POMAKEFILEDEPS="POTFILES.in"
   10938  1.1  christos           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   10939  1.1  christos           # on $ac_dir but don't depend on user-specified configuration
   10940  1.1  christos           # parameters.
   10941  1.1  christos           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   10942  1.1  christos             # The LINGUAS file contains the set of available languages.
   10943  1.1  christos             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   10944  1.1  christos               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   10945  1.1  christos             fi
   10946  1.1  christos             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   10947  1.1  christos             # Hide the ALL_LINGUAS assigment from automake.
   10948  1.1  christos             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   10949  1.1  christos             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   10950  1.1  christos           else
   10951  1.1  christos             # The set of available languages was given in configure.in.
   10952  1.1  christos             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   10953  1.1  christos           fi
   10954  1.1  christos           case "$ac_given_srcdir" in
   10955  1.1  christos             .) srcdirpre= ;;
   10956  1.1  christos             *) srcdirpre='$(srcdir)/' ;;
   10957  1.1  christos           esac
   10958  1.1  christos           POFILES=
   10959  1.1  christos           GMOFILES=
   10960  1.1  christos           UPDATEPOFILES=
   10961  1.1  christos           DUMMYPOFILES=
   10962  1.1  christos           for lang in $ALL_LINGUAS; do
   10963  1.1  christos             POFILES="$POFILES $srcdirpre$lang.po"
   10964  1.1  christos             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   10965  1.1  christos             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   10966  1.1  christos             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   10967  1.1  christos           done
   10968  1.1  christos           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   10969  1.1  christos           # environment variable.
   10970  1.1  christos           INST_LINGUAS=
   10971  1.1  christos           if test -n "$ALL_LINGUAS"; then
   10972  1.1  christos             for presentlang in $ALL_LINGUAS; do
   10973  1.1  christos               useit=no
   10974  1.1  christos               if test "%UNSET%" != "$LINGUAS"; then
   10975  1.1  christos                 desiredlanguages="$LINGUAS"
   10976  1.1  christos               else
   10977  1.1  christos                 desiredlanguages="$ALL_LINGUAS"
   10978  1.1  christos               fi
   10979  1.1  christos               for desiredlang in $desiredlanguages; do
   10980  1.1  christos                 # Use the presentlang catalog if desiredlang is
   10981  1.1  christos                 #   a. equal to presentlang, or
   10982  1.1  christos                 #   b. a variant of presentlang (because in this case,
   10983  1.1  christos                 #      presentlang can be used as a fallback for messages
   10984  1.1  christos                 #      which are not translated in the desiredlang catalog).
   10985  1.1  christos                 case "$desiredlang" in
   10986  1.1  christos                   "$presentlang"*) useit=yes;;
   10987  1.1  christos                 esac
   10988  1.1  christos               done
   10989  1.1  christos               if test $useit = yes; then
   10990  1.1  christos                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   10991  1.1  christos               fi
   10992  1.1  christos             done
   10993  1.1  christos           fi
   10994  1.1  christos           CATALOGS=
   10995  1.1  christos           if test -n "$INST_LINGUAS"; then
   10996  1.1  christos             for lang in $INST_LINGUAS; do
   10997  1.1  christos               CATALOGS="$CATALOGS $lang.gmo"
   10998  1.1  christos             done
   10999  1.1  christos           fi
   11000  1.1  christos           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   11001  1.1  christos           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
   11002  1.1  christos           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   11003  1.1  christos             if test -f "$f"; then
   11004  1.1  christos               case "$f" in
   11005  1.1  christos                 *.orig | *.bak | *~) ;;
   11006  1.1  christos                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   11007  1.1  christos               esac
   11008  1.1  christos             fi
   11009  1.1  christos           done
   11010  1.1  christos         fi
   11011  1.1  christos         ;;
   11012  1.1  christos       esac
   11013  1.1  christos     done ;;
   11014  1.1  christos     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   11015  1.1  christos   # Strip MF so we end up with the name of the file.
   11016  1.1  christos   mf=`echo "$mf" | sed -e 's/:.*$//'`
   11017  1.1  christos   # Check whether this is an Automake generated Makefile or not.
   11018  1.1  christos   # We used to match only the files named `Makefile.in', but
   11019  1.1  christos   # some people rename them; so instead we look at the file content.
   11020  1.1  christos   # Grep'ing the first line is not enough: some people post-process
   11021  1.1  christos   # each Makefile.in and add a new line on top of each file to say so.
   11022  1.1  christos   # So let's grep whole file.
   11023  1.1  christos   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
   11024  1.1  christos     dirpart=`(dirname "$mf") 2>/dev/null ||
   11025  1.1  christos $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11026  1.1  christos 	 X"$mf" : 'X\(//\)[^/]' \| \
   11027  1.1  christos 	 X"$mf" : 'X\(//\)$' \| \
   11028  1.1  christos 	 X"$mf" : 'X\(/\)' \| \
   11029  1.1  christos 	 .     : '\(.\)' 2>/dev/null ||
   11030  1.1  christos echo X"$mf" |
   11031  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11032  1.1  christos   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11033  1.1  christos   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11034  1.1  christos   	  /^X\(\/\).*/{ s//\1/; q; }
   11035  1.1  christos   	  s/.*/./; q'`
   11036  1.1  christos   else
   11037  1.1  christos     continue
   11038  1.1  christos   fi
   11039  1.1  christos   # Extract the definition of DEPDIR, am__include, and am__quote
   11040  1.1  christos   # from the Makefile without running `make'.
   11041  1.1  christos   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   11042  1.1  christos   test -z "$DEPDIR" && continue
   11043  1.1  christos   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   11044  1.1  christos   test -z "am__include" && continue
   11045  1.1  christos   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   11046  1.1  christos   # When using ansi2knr, U may be empty or an underscore; expand it
   11047  1.1  christos   U=`sed -n 's/^U = //p' < "$mf"`
   11048  1.1  christos   # Find all dependency output files, they are included files with
   11049  1.1  christos   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   11050  1.1  christos   # simplest approach to changing $(DEPDIR) to its actual value in the
   11051  1.1  christos   # expansion.
   11052  1.1  christos   for file in `sed -n "
   11053  1.1  christos     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   11054  1.1  christos        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   11055  1.1  christos     # Make sure the directory exists.
   11056  1.1  christos     test -f "$dirpart/$file" && continue
   11057  1.1  christos     fdir=`(dirname "$file") 2>/dev/null ||
   11058  1.1  christos $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11059  1.1  christos 	 X"$file" : 'X\(//\)[^/]' \| \
   11060  1.1  christos 	 X"$file" : 'X\(//\)$' \| \
   11061  1.1  christos 	 X"$file" : 'X\(/\)' \| \
   11062  1.1  christos 	 .     : '\(.\)' 2>/dev/null ||
   11063  1.1  christos echo X"$file" |
   11064  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11065  1.1  christos   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11066  1.1  christos   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11067  1.1  christos   	  /^X\(\/\).*/{ s//\1/; q; }
   11068  1.1  christos   	  s/.*/./; q'`
   11069  1.1  christos     { if $as_mkdir_p; then
   11070  1.1  christos     mkdir -p $dirpart/$fdir
   11071  1.1  christos   else
   11072  1.1  christos     as_dir=$dirpart/$fdir
   11073  1.1  christos     as_dirs=
   11074  1.1  christos     while test ! -d "$as_dir"; do
   11075  1.1  christos       as_dirs="$as_dir $as_dirs"
   11076  1.1  christos       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11077  1.1  christos $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11078  1.1  christos 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11079  1.1  christos 	 X"$as_dir" : 'X\(//\)$' \| \
   11080  1.1  christos 	 X"$as_dir" : 'X\(/\)' \| \
   11081  1.1  christos 	 .     : '\(.\)' 2>/dev/null ||
   11082  1.1  christos echo X"$as_dir" |
   11083  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11084  1.1  christos   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11085  1.1  christos   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11086  1.1  christos   	  /^X\(\/\).*/{ s//\1/; q; }
   11087  1.1  christos   	  s/.*/./; q'`
   11088  1.1  christos     done
   11089  1.1  christos     test ! -n "$as_dirs" || mkdir $as_dirs
   11090  1.1  christos   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
   11091  1.1  christos echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
   11092  1.1  christos    { (exit 1); exit 1; }; }; }
   11093  1.1  christos 
   11094  1.1  christos     # echo "creating $dirpart/$file"
   11095  1.1  christos     echo '# dummy' > "$dirpart/$file"
   11096  1.1  christos   done
   11097  1.1  christos done
   11098  1.1  christos  ;;
   11099  1.1  christos   esac
   11100  1.1  christos done
   11101  1.1  christos _ACEOF
   11102  1.1  christos 
   11103  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   11104  1.1  christos 
   11105  1.1  christos { (exit 0); exit 0; }
   11106  1.1  christos _ACEOF
   11107  1.1  christos chmod +x $CONFIG_STATUS
   11108  1.1  christos ac_clean_files=$ac_clean_files_save
   11109  1.1  christos 
   11110  1.1  christos 
   11111  1.1  christos # configure is writing to config.log, and then calls config.status.
   11112  1.1  christos # config.status does its own redirection, appending to config.log.
   11113  1.1  christos # Unfortunately, on DOS this fails, as config.log is still kept open
   11114  1.1  christos # by configure, so config.status won't be able to write to it; its
   11115  1.1  christos # output is simply discarded.  So we exec the FD to /dev/null,
   11116  1.1  christos # effectively closing config.log, so it can be properly (re)opened and
   11117  1.1  christos # appended to by config.status.  When coming back to configure, we
   11118  1.1  christos # need to make the FD available again.
   11119  1.1  christos if test "$no_create" != yes; then
   11120  1.1  christos   ac_cs_success=:
   11121  1.1  christos   ac_config_status_args=
   11122  1.1  christos   test "$silent" = yes &&
   11123  1.1  christos     ac_config_status_args="$ac_config_status_args --quiet"
   11124  1.1  christos   exec 5>/dev/null
   11125  1.1  christos   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   11126  1.1  christos   exec 5>>config.log
   11127  1.1  christos   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   11128  1.1  christos   # would make configure fail if this is the last instruction.
   11129  1.1  christos   $ac_cs_success || { (exit 1); exit 1; }
   11130  1.1  christos fi
   11131  1.1  christos 
   11132