"Fossies" - the Fresh Open Source Software Archive

Member "scalpel-2.0/tre-0.7.5-win32/configure" (20 Apr 2011, 526795 Bytes) of archive /linux/misc/scalpel-2.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.61 for TRE 0.7.5.
    4 #
    5 # Report bugs to <tre-general@lists.laurikari.net>.
    6 #
    7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    9 # This configure script is free software; the Free Software Foundation
   10 # gives unlimited permission to copy, distribute and modify it.
   11 ## --------------------- ##
   12 ## M4sh Initialization.  ##
   13 ## --------------------- ##
   14 
   15 # Be more Bourne compatible
   16 DUALCASE=1; export DUALCASE # for MKS sh
   17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   18   emulate sh
   19   NULLCMD=:
   20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   21   # is contrary to our usage.  Disable this feature.
   22   alias -g '${1+"$@"}'='"$@"'
   23   setopt NO_GLOB_SUBST
   24 else
   25   case `(set -o) 2>/dev/null` in
   26   *posix*) set -o posix ;;
   27 esac
   28 
   29 fi
   30 
   31 
   32 
   33 
   34 # PATH needs CR
   35 # Avoid depending upon Character Ranges.
   36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   39 as_cr_digits='0123456789'
   40 as_cr_alnum=$as_cr_Letters$as_cr_digits
   41 
   42 # The user is always right.
   43 if test "${PATH_SEPARATOR+set}" != set; then
   44   echo "#! /bin/sh" >conf$$.sh
   45   echo  "exit 0"   >>conf$$.sh
   46   chmod +x conf$$.sh
   47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   48     PATH_SEPARATOR=';'
   49   else
   50     PATH_SEPARATOR=:
   51   fi
   52   rm -f conf$$.sh
   53 fi
   54 
   55 # Support unset when possible.
   56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   57   as_unset=unset
   58 else
   59   as_unset=false
   60 fi
   61 
   62 
   63 # IFS
   64 # We need space, tab and new line, in precisely that order.  Quoting is
   65 # there to prevent editors from complaining about space-tab.
   66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   67 # splitting by setting IFS to empty value.)
   68 as_nl='
   69 '
   70 IFS=" ""    $as_nl"
   71 
   72 # Find who we are.  Look in the path if we contain no directory separator.
   73 case $0 in
   74   *[\\/]* ) as_myself=$0 ;;
   75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   76 for as_dir in $PATH
   77 do
   78   IFS=$as_save_IFS
   79   test -z "$as_dir" && as_dir=.
   80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   81 done
   82 IFS=$as_save_IFS
   83 
   84      ;;
   85 esac
   86 # We did not find ourselves, most probably we were run as `sh COMMAND'
   87 # in which case we are not to be found in the path.
   88 if test "x$as_myself" = x; then
   89   as_myself=$0
   90 fi
   91 if test ! -f "$as_myself"; then
   92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   93   { (exit 1); exit 1; }
   94 fi
   95 
   96 # Work around bugs in pre-3.0 UWIN ksh.
   97 for as_var in ENV MAIL MAILPATH
   98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   99 done
  100 PS1='$ '
  101 PS2='> '
  102 PS4='+ '
  103 
  104 # NLS nuisances.
  105 for as_var in \
  106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  108   LC_TELEPHONE LC_TIME
  109 do
  110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  111     eval $as_var=C; export $as_var
  112   else
  113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  114   fi
  115 done
  116 
  117 # Required to use basename.
  118 if expr a : '\(a\)' >/dev/null 2>&1 &&
  119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  120   as_expr=expr
  121 else
  122   as_expr=false
  123 fi
  124 
  125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  126   as_basename=basename
  127 else
  128   as_basename=false
  129 fi
  130 
  131 
  132 # Name of the executable.
  133 as_me=`$as_basename -- "$0" ||
  134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  135      X"$0" : 'X\(//\)$' \| \
  136      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  137 echo X/"$0" |
  138     sed '/^.*\/\([^/][^/]*\)\/*$/{
  139         s//\1/
  140         q
  141       }
  142       /^X\/\(\/\/\)$/{
  143         s//\1/
  144         q
  145       }
  146       /^X\/\(\/\).*/{
  147         s//\1/
  148         q
  149       }
  150       s/.*/./; q'`
  151 
  152 # CDPATH.
  153 $as_unset CDPATH
  154 
  155 
  156 if test "x$CONFIG_SHELL" = x; then
  157   if (eval ":") 2>/dev/null; then
  158   as_have_required=yes
  159 else
  160   as_have_required=no
  161 fi
  162 
  163   if test $as_have_required = yes &&     (eval ":
  164 (as_func_return () {
  165   (exit \$1)
  166 }
  167 as_func_success () {
  168   as_func_return 0
  169 }
  170 as_func_failure () {
  171   as_func_return 1
  172 }
  173 as_func_ret_success () {
  174   return 0
  175 }
  176 as_func_ret_failure () {
  177   return 1
  178 }
  179 
  180 exitcode=0
  181 if as_func_success; then
  182   :
  183 else
  184   exitcode=1
  185   echo as_func_success failed.
  186 fi
  187 
  188 if as_func_failure; then
  189   exitcode=1
  190   echo as_func_failure succeeded.
  191 fi
  192 
  193 if as_func_ret_success; then
  194   :
  195 else
  196   exitcode=1
  197   echo as_func_ret_success failed.
  198 fi
  199 
  200 if as_func_ret_failure; then
  201   exitcode=1
  202   echo as_func_ret_failure succeeded.
  203 fi
  204 
  205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  206   :
  207 else
  208   exitcode=1
  209   echo positional parameters were not saved.
  210 fi
  211 
  212 test \$exitcode = 0) || { (exit 1); exit 1; }
  213 
  214 (
  215   as_lineno_1=\$LINENO
  216   as_lineno_2=\$LINENO
  217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  219 ") 2> /dev/null; then
  220   :
  221 else
  222   as_candidate_shells=
  223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  225 do
  226   IFS=$as_save_IFS
  227   test -z "$as_dir" && as_dir=.
  228   case $as_dir in
  229      /*)
  230        for as_base in sh bash ksh sh5; do
  231          as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  232        done;;
  233        esac
  234 done
  235 IFS=$as_save_IFS
  236 
  237 
  238       for as_shell in $as_candidate_shells $SHELL; do
  239      # Try only shells that exist, to save several forks.
  240      if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  241         { ("$as_shell") 2> /dev/null <<\_ASEOF
  242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  243   emulate sh
  244   NULLCMD=:
  245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  246   # is contrary to our usage.  Disable this feature.
  247   alias -g '${1+"$@"}'='"$@"'
  248   setopt NO_GLOB_SUBST
  249 else
  250   case `(set -o) 2>/dev/null` in
  251   *posix*) set -o posix ;;
  252 esac
  253 
  254 fi
  255 
  256 
  257 :
  258 _ASEOF
  259 }; then
  260   CONFIG_SHELL=$as_shell
  261            as_have_required=yes
  262            if { "$as_shell" 2> /dev/null <<\_ASEOF
  263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  264   emulate sh
  265   NULLCMD=:
  266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  267   # is contrary to our usage.  Disable this feature.
  268   alias -g '${1+"$@"}'='"$@"'
  269   setopt NO_GLOB_SUBST
  270 else
  271   case `(set -o) 2>/dev/null` in
  272   *posix*) set -o posix ;;
  273 esac
  274 
  275 fi
  276 
  277 
  278 :
  279 (as_func_return () {
  280   (exit $1)
  281 }
  282 as_func_success () {
  283   as_func_return 0
  284 }
  285 as_func_failure () {
  286   as_func_return 1
  287 }
  288 as_func_ret_success () {
  289   return 0
  290 }
  291 as_func_ret_failure () {
  292   return 1
  293 }
  294 
  295 exitcode=0
  296 if as_func_success; then
  297   :
  298 else
  299   exitcode=1
  300   echo as_func_success failed.
  301 fi
  302 
  303 if as_func_failure; then
  304   exitcode=1
  305   echo as_func_failure succeeded.
  306 fi
  307 
  308 if as_func_ret_success; then
  309   :
  310 else
  311   exitcode=1
  312   echo as_func_ret_success failed.
  313 fi
  314 
  315 if as_func_ret_failure; then
  316   exitcode=1
  317   echo as_func_ret_failure succeeded.
  318 fi
  319 
  320 if ( set x; as_func_ret_success y && test x = "$1" ); then
  321   :
  322 else
  323   exitcode=1
  324   echo positional parameters were not saved.
  325 fi
  326 
  327 test $exitcode = 0) || { (exit 1); exit 1; }
  328 
  329 (
  330   as_lineno_1=$LINENO
  331   as_lineno_2=$LINENO
  332   test "x$as_lineno_1" != "x$as_lineno_2" &&
  333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  334 
  335 _ASEOF
  336 }; then
  337   break
  338 fi
  339 
  340 fi
  341 
  342       done
  343 
  344       if test "x$CONFIG_SHELL" != x; then
  345   for as_var in BASH_ENV ENV
  346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  347         done
  348         export CONFIG_SHELL
  349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  350 fi
  351 
  352 
  353     if test $as_have_required = no; then
  354   echo This script requires a shell more modern than all the
  355       echo shells that I found on your system.  Please install a
  356       echo modern shell, or manually run the script under such a
  357       echo shell if you do have one.
  358       { (exit 1); exit 1; }
  359 fi
  360 
  361 
  362 fi
  363 
  364 fi
  365 
  366 
  367 
  368 (eval "as_func_return () {
  369   (exit \$1)
  370 }
  371 as_func_success () {
  372   as_func_return 0
  373 }
  374 as_func_failure () {
  375   as_func_return 1
  376 }
  377 as_func_ret_success () {
  378   return 0
  379 }
  380 as_func_ret_failure () {
  381   return 1
  382 }
  383 
  384 exitcode=0
  385 if as_func_success; then
  386   :
  387 else
  388   exitcode=1
  389   echo as_func_success failed.
  390 fi
  391 
  392 if as_func_failure; then
  393   exitcode=1
  394   echo as_func_failure succeeded.
  395 fi
  396 
  397 if as_func_ret_success; then
  398   :
  399 else
  400   exitcode=1
  401   echo as_func_ret_success failed.
  402 fi
  403 
  404 if as_func_ret_failure; then
  405   exitcode=1
  406   echo as_func_ret_failure succeeded.
  407 fi
  408 
  409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  410   :
  411 else
  412   exitcode=1
  413   echo positional parameters were not saved.
  414 fi
  415 
  416 test \$exitcode = 0") || {
  417   echo No shell found that supports shell functions.
  418   echo Please tell autoconf@gnu.org about your system,
  419   echo including any error possibly output before this
  420   echo message
  421 }
  422 
  423 
  424 
  425   as_lineno_1=$LINENO
  426   as_lineno_2=$LINENO
  427   test "x$as_lineno_1" != "x$as_lineno_2" &&
  428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  429 
  430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  431   # uniformly replaced by the line number.  The first 'sed' inserts a
  432   # line-number line after each line using $LINENO; the second 'sed'
  433   # does the real work.  The second script uses 'N' to pair each
  434   # line-number line with the line containing $LINENO, and appends
  435   # trailing '-' during substitution so that $LINENO is not a special
  436   # case at line end.
  437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
  439   # E. McMahon (1931-1989) for sed's syntax.  :-)
  440   sed -n '
  441     p
  442     /[$]LINENO/=
  443   ' <$as_myself |
  444     sed '
  445       s/[$]LINENO.*/&-/
  446       t lineno
  447       b
  448       :lineno
  449       N
  450       :loop
  451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  452       t loop
  453       s/-\n.*//
  454     ' >$as_me.lineno &&
  455   chmod +x "$as_me.lineno" ||
  456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  457    { (exit 1); exit 1; }; }
  458 
  459   # Don't try to exec as it changes $[0], causing all sort of problems
  460   # (the dirname of $[0] is not the place where we might find the
  461   # original and so on.  Autoconf is especially sensitive to this).
  462   . "./$as_me.lineno"
  463   # Exit status is that of the last command.
  464   exit
  465 }
  466 
  467 
  468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  469   as_dirname=dirname
  470 else
  471   as_dirname=false
  472 fi
  473 
  474 ECHO_C= ECHO_N= ECHO_T=
  475 case `echo -n x` in
  476 -n*)
  477   case `echo 'x\c'` in
  478   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  479   *)   ECHO_C='\c';;
  480   esac;;
  481 *)
  482   ECHO_N='-n';;
  483 esac
  484 
  485 if expr a : '\(a\)' >/dev/null 2>&1 &&
  486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  487   as_expr=expr
  488 else
  489   as_expr=false
  490 fi
  491 
  492 rm -f conf$$ conf$$.exe conf$$.file
  493 if test -d conf$$.dir; then
  494   rm -f conf$$.dir/conf$$.file
  495 else
  496   rm -f conf$$.dir
  497   mkdir conf$$.dir
  498 fi
  499 echo >conf$$.file
  500 if ln -s conf$$.file conf$$ 2>/dev/null; then
  501   as_ln_s='ln -s'
  502   # ... but there are two gotchas:
  503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  505   # In both cases, we have to default to `cp -p'.
  506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  507     as_ln_s='cp -p'
  508 elif ln conf$$.file conf$$ 2>/dev/null; then
  509   as_ln_s=ln
  510 else
  511   as_ln_s='cp -p'
  512 fi
  513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  514 rmdir conf$$.dir 2>/dev/null
  515 
  516 if mkdir -p . 2>/dev/null; then
  517   as_mkdir_p=:
  518 else
  519   test -d ./-p && rmdir ./-p
  520   as_mkdir_p=false
  521 fi
  522 
  523 if test -x / >/dev/null 2>&1; then
  524   as_test_x='test -x'
  525 else
  526   if ls -dL / >/dev/null 2>&1; then
  527     as_ls_L_option=L
  528   else
  529     as_ls_L_option=
  530   fi
  531   as_test_x='
  532     eval sh -c '\''
  533       if test -d "$1"; then
  534         test -d "$1/.";
  535       else
  536     case $1 in
  537         -*)set "./$1";;
  538     esac;
  539     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  540     ???[sx]*):;;*)false;;esac;fi
  541     '\'' sh
  542   '
  543 fi
  544 as_executable_p=$as_test_x
  545 
  546 # Sed expression to map a string onto a valid CPP name.
  547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  548 
  549 # Sed expression to map a string onto a valid variable name.
  550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  551 
  552 
  553 
  554 
  555 # Check that we are running under the correct shell.
  556 SHELL=${CONFIG_SHELL-/bin/sh}
  557 
  558 case X$ECHO in
  559 X*--fallback-echo)
  560   # Remove one level of quotation (which was required for Make).
  561   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  562   ;;
  563 esac
  564 
  565 echo=${ECHO-echo}
  566 if test "X$1" = X--no-reexec; then
  567   # Discard the --no-reexec flag, and continue.
  568   shift
  569 elif test "X$1" = X--fallback-echo; then
  570   # Avoid inline document here, it may be left over
  571   :
  572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  573   # Yippee, $echo works!
  574   :
  575 else
  576   # Restart under the correct shell.
  577   exec $SHELL "$0" --no-reexec ${1+"$@"}
  578 fi
  579 
  580 if test "X$1" = X--fallback-echo; then
  581   # used as fallback echo
  582   shift
  583   cat <<EOF
  584 $*
  585 EOF
  586   exit 0
  587 fi
  588 
  589 # The HP-UX ksh and POSIX shell print the target directory to stdout
  590 # if CDPATH is set.
  591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  592 
  593 if test -z "$ECHO"; then
  594 if test "X${echo_test_string+set}" != Xset; then
  595 # find a string as large as possible, as long as the shell can cope with it
  596   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  597     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  598     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  599        echo_test_string=`eval $cmd` &&
  600        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  601     then
  602       break
  603     fi
  604   done
  605 fi
  606 
  607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  608    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  609    test "X$echo_testing_string" = "X$echo_test_string"; then
  610   :
  611 else
  612   # The Solaris, AIX, and Digital Unix default echo programs unquote
  613   # backslashes.  This makes it impossible to quote backslashes using
  614   #   echo "$something" | sed 's/\\/\\\\/g'
  615   #
  616   # So, first we look for a working echo in the user's PATH.
  617 
  618   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  619   for dir in $PATH /usr/ucb; do
  620     IFS="$lt_save_ifs"
  621     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  622        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  623        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  624        test "X$echo_testing_string" = "X$echo_test_string"; then
  625       echo="$dir/echo"
  626       break
  627     fi
  628   done
  629   IFS="$lt_save_ifs"
  630 
  631   if test "X$echo" = Xecho; then
  632     # We didn't find a better echo, so look for alternatives.
  633     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  634        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  635        test "X$echo_testing_string" = "X$echo_test_string"; then
  636       # This shell has a builtin print -r that does the trick.
  637       echo='print -r'
  638     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  639      test "X$CONFIG_SHELL" != X/bin/ksh; then
  640       # If we have ksh, try running configure again with it.
  641       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  642       export ORIGINAL_CONFIG_SHELL
  643       CONFIG_SHELL=/bin/ksh
  644       export CONFIG_SHELL
  645       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  646     else
  647       # Try using printf.
  648       echo='printf %s\n'
  649       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  650      echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  651      test "X$echo_testing_string" = "X$echo_test_string"; then
  652     # Cool, printf works
  653     :
  654       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  655        test "X$echo_testing_string" = 'X\t' &&
  656        echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  657        test "X$echo_testing_string" = "X$echo_test_string"; then
  658     CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  659     export CONFIG_SHELL
  660     SHELL="$CONFIG_SHELL"
  661     export SHELL
  662     echo="$CONFIG_SHELL $0 --fallback-echo"
  663       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  664        test "X$echo_testing_string" = 'X\t' &&
  665        echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  666        test "X$echo_testing_string" = "X$echo_test_string"; then
  667     echo="$CONFIG_SHELL $0 --fallback-echo"
  668       else
  669     # maybe with a smaller string...
  670     prev=:
  671 
  672     for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  673       if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  674       then
  675         break
  676       fi
  677       prev="$cmd"
  678     done
  679 
  680     if test "$prev" != 'sed 50q "$0"'; then
  681       echo_test_string=`eval $prev`
  682       export echo_test_string
  683       exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  684     else
  685       # Oops.  We lost completely, so just stick with echo.
  686       echo=echo
  687     fi
  688       fi
  689     fi
  690   fi
  691 fi
  692 fi
  693 
  694 # Copy echo and quote the copy suitably for passing to libtool from
  695 # the Makefile, instead of quoting the original, which is used later.
  696 ECHO=$echo
  697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  698    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  699 fi
  700 
  701 
  702 
  703 
  704 exec 7<&0 </dev/null 6>&1
  705 
  706 # Name of the host.
  707 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  708 # so uname gets run too.
  709 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  710 
  711 #
  712 # Initializations.
  713 #
  714 ac_default_prefix=/usr/local
  715 ac_clean_files=
  716 ac_config_libobj_dir=.
  717 LIBOBJS=
  718 cross_compiling=no
  719 subdirs=
  720 MFLAGS=
  721 MAKEFLAGS=
  722 SHELL=${CONFIG_SHELL-/bin/sh}
  723 
  724 # Identity of this package.
  725 PACKAGE_NAME='TRE'
  726 PACKAGE_TARNAME='tre'
  727 PACKAGE_VERSION='0.7.5'
  728 PACKAGE_STRING='TRE 0.7.5'
  729 PACKAGE_BUGREPORT='tre-general@lists.laurikari.net'
  730 
  731 ac_unique_file="lib/regcomp.c"
  732 # Factoring default headers for most tests.
  733 ac_includes_default="\
  734 #include <stdio.h>
  735 #ifdef HAVE_SYS_TYPES_H
  736 # include <sys/types.h>
  737 #endif
  738 #ifdef HAVE_SYS_STAT_H
  739 # include <sys/stat.h>
  740 #endif
  741 #ifdef STDC_HEADERS
  742 # include <stdlib.h>
  743 # include <stddef.h>
  744 #else
  745 # ifdef HAVE_STDLIB_H
  746 #  include <stdlib.h>
  747 # endif
  748 #endif
  749 #ifdef HAVE_STRING_H
  750 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  751 #  include <memory.h>
  752 # endif
  753 # include <string.h>
  754 #endif
  755 #ifdef HAVE_STRINGS_H
  756 # include <strings.h>
  757 #endif
  758 #ifdef HAVE_INTTYPES_H
  759 # include <inttypes.h>
  760 #endif
  761 #ifdef HAVE_STDINT_H
  762 # include <stdint.h>
  763 #endif
  764 #ifdef HAVE_UNISTD_H
  765 # include <unistd.h>
  766 #endif"
  767 
  768 ac_subst_vars='SHELL
  769 PATH_SEPARATOR
  770 PACKAGE_NAME
  771 PACKAGE_TARNAME
  772 PACKAGE_VERSION
  773 PACKAGE_STRING
  774 PACKAGE_BUGREPORT
  775 exec_prefix
  776 prefix
  777 program_transform_name
  778 bindir
  779 sbindir
  780 libexecdir
  781 datarootdir
  782 datadir
  783 sysconfdir
  784 sharedstatedir
  785 localstatedir
  786 includedir
  787 oldincludedir
  788 docdir
  789 infodir
  790 htmldir
  791 dvidir
  792 pdfdir
  793 psdir
  794 libdir
  795 localedir
  796 mandir
  797 DEFS
  798 ECHO_C
  799 ECHO_N
  800 ECHO_T
  801 LIBS
  802 build_alias
  803 host_alias
  804 target_alias
  805 build
  806 build_cpu
  807 build_vendor
  808 build_os
  809 host
  810 host_cpu
  811 host_vendor
  812 host_os
  813 target
  814 target_cpu
  815 target_vendor
  816 target_os
  817 INSTALL_PROGRAM
  818 INSTALL_SCRIPT
  819 INSTALL_DATA
  820 CYGPATH_W
  821 PACKAGE
  822 VERSION
  823 ACLOCAL
  824 AUTOCONF
  825 AUTOMAKE
  826 AUTOHEADER
  827 MAKEINFO
  828 install_sh
  829 STRIP
  830 INSTALL_STRIP_PROGRAM
  831 mkdir_p
  832 AWK
  833 SET_MAKE
  834 am__leading_dot
  835 AMTAR
  836 am__tar
  837 am__untar
  838 CC
  839 CFLAGS
  840 LDFLAGS
  841 CPPFLAGS
  842 ac_ct_CC
  843 EXEEXT
  844 OBJEXT
  845 DEPDIR
  846 am__include
  847 am__quote
  848 AMDEP_TRUE
  849 AMDEP_FALSE
  850 AMDEPBACKSLASH
  851 CCDEPMODE
  852 am__fastdepCC_TRUE
  853 am__fastdepCC_FALSE
  854 RANLIB
  855 CPP
  856 TRE_VERSION
  857 TRE_DEBUG_TRUE
  858 TRE_DEBUG_FALSE
  859 TRE_PROFILE_TRUE
  860 TRE_PROFILE_FALSE
  861 TRE_APPROX_TRUE
  862 TRE_APPROX_FALSE
  863 TRE_AGREP_TRUE
  864 TRE_AGREP_FALSE
  865 GREP
  866 EGREP
  867 GL_COND_LIBTOOL_TRUE
  868 GL_COND_LIBTOOL_FALSE
  869 GETOPT_H
  870 UNISTD_H
  871 LIBOBJS
  872 ALLOCA
  873 MKINSTALLDIRS
  874 USE_NLS
  875 MSGFMT
  876 GMSGFMT
  877 XGETTEXT
  878 MSGMERGE
  879 INTL_MACOSX_LIBS
  880 LIBICONV
  881 LTLIBICONV
  882 INTLLIBS
  883 LIBINTL
  884 LTLIBINTL
  885 POSUB
  886 LN_S
  887 ECHO
  888 AR
  889 DLLTOOL
  890 AS
  891 OBJDUMP
  892 LIBTOOL
  893 LTLIBOBJS
  894 gl_LIBOBJS
  895 gl_LTLIBOBJS'
  896 ac_subst_files=''
  897       ac_precious_vars='build_alias
  898 host_alias
  899 target_alias
  900 CC
  901 CFLAGS
  902 LDFLAGS
  903 LIBS
  904 CPPFLAGS
  905 CPP'
  906 
  907 
  908 # Initialize some variables set by options.
  909 ac_init_help=
  910 ac_init_version=false
  911 # The variables have the same names as the options, with
  912 # dashes changed to underlines.
  913 cache_file=/dev/null
  914 exec_prefix=NONE
  915 no_create=
  916 no_recursion=
  917 prefix=NONE
  918 program_prefix=NONE
  919 program_suffix=NONE
  920 program_transform_name=s,x,x,
  921 silent=
  922 site=
  923 srcdir=
  924 verbose=
  925 x_includes=NONE
  926 x_libraries=NONE
  927 
  928 # Installation directory options.
  929 # These are left unexpanded so users can "make install exec_prefix=/foo"
  930 # and all the variables that are supposed to be based on exec_prefix
  931 # by default will actually change.
  932 # Use braces instead of parens because sh, perl, etc. also accept them.
  933 # (The list follows the same order as the GNU Coding Standards.)
  934 bindir='${exec_prefix}/bin'
  935 sbindir='${exec_prefix}/sbin'
  936 libexecdir='${exec_prefix}/libexec'
  937 datarootdir='${prefix}/share'
  938 datadir='${datarootdir}'
  939 sysconfdir='${prefix}/etc'
  940 sharedstatedir='${prefix}/com'
  941 localstatedir='${prefix}/var'
  942 includedir='${prefix}/include'
  943 oldincludedir='/usr/include'
  944 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  945 infodir='${datarootdir}/info'
  946 htmldir='${docdir}'
  947 dvidir='${docdir}'
  948 pdfdir='${docdir}'
  949 psdir='${docdir}'
  950 libdir='${exec_prefix}/lib'
  951 localedir='${datarootdir}/locale'
  952 mandir='${datarootdir}/man'
  953 
  954 ac_prev=
  955 ac_dashdash=
  956 for ac_option
  957 do
  958   # If the previous option needs an argument, assign it.
  959   if test -n "$ac_prev"; then
  960     eval $ac_prev=\$ac_option
  961     ac_prev=
  962     continue
  963   fi
  964 
  965   case $ac_option in
  966   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  967   *)    ac_optarg=yes ;;
  968   esac
  969 
  970   # Accept the important Cygnus configure options, so we can diagnose typos.
  971 
  972   case $ac_dashdash$ac_option in
  973   --)
  974     ac_dashdash=yes ;;
  975 
  976   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  977     ac_prev=bindir ;;
  978   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  979     bindir=$ac_optarg ;;
  980 
  981   -build | --build | --buil | --bui | --bu)
  982     ac_prev=build_alias ;;
  983   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  984     build_alias=$ac_optarg ;;
  985 
  986   -cache-file | --cache-file | --cache-fil | --cache-fi \
  987   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  988     ac_prev=cache_file ;;
  989   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  990   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  991     cache_file=$ac_optarg ;;
  992 
  993   --config-cache | -C)
  994     cache_file=config.cache ;;
  995 
  996   -datadir | --datadir | --datadi | --datad)
  997     ac_prev=datadir ;;
  998   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  999     datadir=$ac_optarg ;;
 1000 
 1001   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 1002   | --dataroo | --dataro | --datar)
 1003     ac_prev=datarootdir ;;
 1004   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 1005   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 1006     datarootdir=$ac_optarg ;;
 1007 
 1008   -disable-* | --disable-*)
 1009     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 1010     # Reject names that are not valid shell variable names.
 1011     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1012       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 1013    { (exit 1); exit 1; }; }
 1014     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 1015     eval enable_$ac_feature=no ;;
 1016 
 1017   -docdir | --docdir | --docdi | --doc | --do)
 1018     ac_prev=docdir ;;
 1019   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 1020     docdir=$ac_optarg ;;
 1021 
 1022   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 1023     ac_prev=dvidir ;;
 1024   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 1025     dvidir=$ac_optarg ;;
 1026 
 1027   -enable-* | --enable-*)
 1028     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 1029     # Reject names that are not valid shell variable names.
 1030     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1031       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 1032    { (exit 1); exit 1; }; }
 1033     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 1034     eval enable_$ac_feature=\$ac_optarg ;;
 1035 
 1036   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 1037   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 1038   | --exec | --exe | --ex)
 1039     ac_prev=exec_prefix ;;
 1040   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 1041   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 1042   | --exec=* | --exe=* | --ex=*)
 1043     exec_prefix=$ac_optarg ;;
 1044 
 1045   -gas | --gas | --ga | --g)
 1046     # Obsolete; use --with-gas.
 1047     with_gas=yes ;;
 1048 
 1049   -help | --help | --hel | --he | -h)
 1050     ac_init_help=long ;;
 1051   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 1052     ac_init_help=recursive ;;
 1053   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 1054     ac_init_help=short ;;
 1055 
 1056   -host | --host | --hos | --ho)
 1057     ac_prev=host_alias ;;
 1058   -host=* | --host=* | --hos=* | --ho=*)
 1059     host_alias=$ac_optarg ;;
 1060 
 1061   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 1062     ac_prev=htmldir ;;
 1063   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 1064   | --ht=*)
 1065     htmldir=$ac_optarg ;;
 1066 
 1067   -includedir | --includedir | --includedi | --included | --include \
 1068   | --includ | --inclu | --incl | --inc)
 1069     ac_prev=includedir ;;
 1070   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1071   | --includ=* | --inclu=* | --incl=* | --inc=*)
 1072     includedir=$ac_optarg ;;
 1073 
 1074   -infodir | --infodir | --infodi | --infod | --info | --inf)
 1075     ac_prev=infodir ;;
 1076   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1077     infodir=$ac_optarg ;;
 1078 
 1079   -libdir | --libdir | --libdi | --libd)
 1080     ac_prev=libdir ;;
 1081   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1082     libdir=$ac_optarg ;;
 1083 
 1084   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1085   | --libexe | --libex | --libe)
 1086     ac_prev=libexecdir ;;
 1087   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1088   | --libexe=* | --libex=* | --libe=*)
 1089     libexecdir=$ac_optarg ;;
 1090 
 1091   -localedir | --localedir | --localedi | --localed | --locale)
 1092     ac_prev=localedir ;;
 1093   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1094     localedir=$ac_optarg ;;
 1095 
 1096   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1097   | --localstate | --localstat | --localsta | --localst | --locals)
 1098     ac_prev=localstatedir ;;
 1099   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1100   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1101     localstatedir=$ac_optarg ;;
 1102 
 1103   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1104     ac_prev=mandir ;;
 1105   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1106     mandir=$ac_optarg ;;
 1107 
 1108   -nfp | --nfp | --nf)
 1109     # Obsolete; use --without-fp.
 1110     with_fp=no ;;
 1111 
 1112   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1113   | --no-cr | --no-c | -n)
 1114     no_create=yes ;;
 1115 
 1116   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1117   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1118     no_recursion=yes ;;
 1119 
 1120   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1121   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1122   | --oldin | --oldi | --old | --ol | --o)
 1123     ac_prev=oldincludedir ;;
 1124   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1125   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1126   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1127     oldincludedir=$ac_optarg ;;
 1128 
 1129   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1130     ac_prev=prefix ;;
 1131   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1132     prefix=$ac_optarg ;;
 1133 
 1134   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1135   | --program-pre | --program-pr | --program-p)
 1136     ac_prev=program_prefix ;;
 1137   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1138   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1139     program_prefix=$ac_optarg ;;
 1140 
 1141   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1142   | --program-suf | --program-su | --program-s)
 1143     ac_prev=program_suffix ;;
 1144   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1145   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1146     program_suffix=$ac_optarg ;;
 1147 
 1148   -program-transform-name | --program-transform-name \
 1149   | --program-transform-nam | --program-transform-na \
 1150   | --program-transform-n | --program-transform- \
 1151   | --program-transform | --program-transfor \
 1152   | --program-transfo | --program-transf \
 1153   | --program-trans | --program-tran \
 1154   | --progr-tra | --program-tr | --program-t)
 1155     ac_prev=program_transform_name ;;
 1156   -program-transform-name=* | --program-transform-name=* \
 1157   | --program-transform-nam=* | --program-transform-na=* \
 1158   | --program-transform-n=* | --program-transform-=* \
 1159   | --program-transform=* | --program-transfor=* \
 1160   | --program-transfo=* | --program-transf=* \
 1161   | --program-trans=* | --program-tran=* \
 1162   | --progr-tra=* | --program-tr=* | --program-t=*)
 1163     program_transform_name=$ac_optarg ;;
 1164 
 1165   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1166     ac_prev=pdfdir ;;
 1167   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1168     pdfdir=$ac_optarg ;;
 1169 
 1170   -psdir | --psdir | --psdi | --psd | --ps)
 1171     ac_prev=psdir ;;
 1172   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1173     psdir=$ac_optarg ;;
 1174 
 1175   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1176   | -silent | --silent | --silen | --sile | --sil)
 1177     silent=yes ;;
 1178 
 1179   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1180     ac_prev=sbindir ;;
 1181   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1182   | --sbi=* | --sb=*)
 1183     sbindir=$ac_optarg ;;
 1184 
 1185   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1186   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1187   | --sharedst | --shareds | --shared | --share | --shar \
 1188   | --sha | --sh)
 1189     ac_prev=sharedstatedir ;;
 1190   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1191   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1192   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1193   | --sha=* | --sh=*)
 1194     sharedstatedir=$ac_optarg ;;
 1195 
 1196   -site | --site | --sit)
 1197     ac_prev=site ;;
 1198   -site=* | --site=* | --sit=*)
 1199     site=$ac_optarg ;;
 1200 
 1201   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1202     ac_prev=srcdir ;;
 1203   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1204     srcdir=$ac_optarg ;;
 1205 
 1206   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1207   | --syscon | --sysco | --sysc | --sys | --sy)
 1208     ac_prev=sysconfdir ;;
 1209   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1210   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1211     sysconfdir=$ac_optarg ;;
 1212 
 1213   -target | --target | --targe | --targ | --tar | --ta | --t)
 1214     ac_prev=target_alias ;;
 1215   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1216     target_alias=$ac_optarg ;;
 1217 
 1218   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1219     verbose=yes ;;
 1220 
 1221   -version | --version | --versio | --versi | --vers | -V)
 1222     ac_init_version=: ;;
 1223 
 1224   -with-* | --with-*)
 1225     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1226     # Reject names that are not valid shell variable names.
 1227     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1228       { echo "$as_me: error: invalid package name: $ac_package" >&2
 1229    { (exit 1); exit 1; }; }
 1230     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 1231     eval with_$ac_package=\$ac_optarg ;;
 1232 
 1233   -without-* | --without-*)
 1234     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1235     # Reject names that are not valid shell variable names.
 1236     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1237       { echo "$as_me: error: invalid package name: $ac_package" >&2
 1238    { (exit 1); exit 1; }; }
 1239     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 1240     eval with_$ac_package=no ;;
 1241 
 1242   --x)
 1243     # Obsolete; use --with-x.
 1244     with_x=yes ;;
 1245 
 1246   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1247   | --x-incl | --x-inc | --x-in | --x-i)
 1248     ac_prev=x_includes ;;
 1249   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1250   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1251     x_includes=$ac_optarg ;;
 1252 
 1253   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1254   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1255     ac_prev=x_libraries ;;
 1256   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1257   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1258     x_libraries=$ac_optarg ;;
 1259 
 1260   -*) { echo "$as_me: error: unrecognized option: $ac_option
 1261 Try \`$0 --help' for more information." >&2
 1262    { (exit 1); exit 1; }; }
 1263     ;;
 1264 
 1265   *=*)
 1266     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1267     # Reject names that are not valid shell variable names.
 1268     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 1269       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 1270    { (exit 1); exit 1; }; }
 1271     eval $ac_envvar=\$ac_optarg
 1272     export $ac_envvar ;;
 1273 
 1274   *)
 1275     # FIXME: should be removed in autoconf 3.0.
 1276     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1277     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1278       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1279     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 1280     ;;
 1281 
 1282   esac
 1283 done
 1284 
 1285 if test -n "$ac_prev"; then
 1286   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1287   { echo "$as_me: error: missing argument to $ac_option" >&2
 1288    { (exit 1); exit 1; }; }
 1289 fi
 1290 
 1291 # Be sure to have absolute directory names.
 1292 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1293         datadir sysconfdir sharedstatedir localstatedir includedir \
 1294         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1295         libdir localedir mandir
 1296 do
 1297   eval ac_val=\$$ac_var
 1298   case $ac_val in
 1299     [\\/$]* | ?:[\\/]* )  continue;;
 1300     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1301   esac
 1302   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 1303    { (exit 1); exit 1; }; }
 1304 done
 1305 
 1306 # There might be people who depend on the old broken behavior: `$host'
 1307 # used to hold the argument of --host etc.
 1308 # FIXME: To remove some day.
 1309 build=$build_alias
 1310 host=$host_alias
 1311 target=$target_alias
 1312 
 1313 # FIXME: To remove some day.
 1314 if test "x$host_alias" != x; then
 1315   if test "x$build_alias" = x; then
 1316     cross_compiling=maybe
 1317     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 1318     If a cross compiler is detected then cross compile mode will be used." >&2
 1319   elif test "x$build_alias" != "x$host_alias"; then
 1320     cross_compiling=yes
 1321   fi
 1322 fi
 1323 
 1324 ac_tool_prefix=
 1325 test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1326 
 1327 test "$silent" = yes && exec 6>/dev/null
 1328 
 1329 
 1330 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1331 ac_ls_di=`ls -di .` &&
 1332 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1333   { echo "$as_me: error: Working directory cannot be determined" >&2
 1334    { (exit 1); exit 1; }; }
 1335 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1336   { echo "$as_me: error: pwd does not report name of working directory" >&2
 1337    { (exit 1); exit 1; }; }
 1338 
 1339 
 1340 # Find the source files, if location was not specified.
 1341 if test -z "$srcdir"; then
 1342   ac_srcdir_defaulted=yes
 1343   # Try the directory containing this script, then the parent directory.
 1344   ac_confdir=`$as_dirname -- "$0" ||
 1345 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1346      X"$0" : 'X\(//\)[^/]' \| \
 1347      X"$0" : 'X\(//\)$' \| \
 1348      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 1349 echo X"$0" |
 1350     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1351         s//\1/
 1352         q
 1353       }
 1354       /^X\(\/\/\)[^/].*/{
 1355         s//\1/
 1356         q
 1357       }
 1358       /^X\(\/\/\)$/{
 1359         s//\1/
 1360         q
 1361       }
 1362       /^X\(\/\).*/{
 1363         s//\1/
 1364         q
 1365       }
 1366       s/.*/./; q'`
 1367   srcdir=$ac_confdir
 1368   if test ! -r "$srcdir/$ac_unique_file"; then
 1369     srcdir=..
 1370   fi
 1371 else
 1372   ac_srcdir_defaulted=no
 1373 fi
 1374 if test ! -r "$srcdir/$ac_unique_file"; then
 1375   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1376   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 1377    { (exit 1); exit 1; }; }
 1378 fi
 1379 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1380 ac_abs_confdir=`(
 1381     cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 1382    { (exit 1); exit 1; }; }
 1383     pwd)`
 1384 # When building in place, set srcdir=.
 1385 if test "$ac_abs_confdir" = "$ac_pwd"; then
 1386   srcdir=.
 1387 fi
 1388 # Remove unnecessary trailing slashes from srcdir.
 1389 # Double slashes in file names in object file debugging info
 1390 # mess up M-x gdb in Emacs.
 1391 case $srcdir in
 1392 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1393 esac
 1394 for ac_var in $ac_precious_vars; do
 1395   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1396   eval ac_env_${ac_var}_value=\$${ac_var}
 1397   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1398   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1399 done
 1400 
 1401 #
 1402 # Report the --help message.
 1403 #
 1404 if test "$ac_init_help" = "long"; then
 1405   # Omit some internal or obsolete options to make the list less imposing.
 1406   # This message is too long to be a string in the A/UX 3.1 sh.
 1407   cat <<_ACEOF
 1408 \`configure' configures TRE 0.7.5 to adapt to many kinds of systems.
 1409 
 1410 Usage: $0 [OPTION]... [VAR=VALUE]...
 1411 
 1412 To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1413 VAR=VALUE.  See below for descriptions of some of the useful variables.
 1414 
 1415 Defaults for the options are specified in brackets.
 1416 
 1417 Configuration:
 1418   -h, --help              display this help and exit
 1419       --help=short        display options specific to this package
 1420       --help=recursive    display the short help of all the included packages
 1421   -V, --version           display version information and exit
 1422   -q, --quiet, --silent   do not print \`checking...' messages
 1423       --cache-file=FILE   cache test results in FILE [disabled]
 1424   -C, --config-cache      alias for \`--cache-file=config.cache'
 1425   -n, --no-create         do not create output files
 1426       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1427 
 1428 Installation directories:
 1429   --prefix=PREFIX         install architecture-independent files in PREFIX
 1430               [$ac_default_prefix]
 1431   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1432               [PREFIX]
 1433 
 1434 By default, \`make install' will install all the files in
 1435 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1436 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1437 for instance \`--prefix=\$HOME'.
 1438 
 1439 For better control, use the options below.
 1440 
 1441 Fine tuning of the installation directories:
 1442   --bindir=DIR           user executables [EPREFIX/bin]
 1443   --sbindir=DIR          system admin executables [EPREFIX/sbin]
 1444   --libexecdir=DIR       program executables [EPREFIX/libexec]
 1445   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 1446   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 1447   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 1448   --libdir=DIR           object code libraries [EPREFIX/lib]
 1449   --includedir=DIR       C header files [PREFIX/include]
 1450   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 1451   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 1452   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 1453   --infodir=DIR          info documentation [DATAROOTDIR/info]
 1454   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 1455   --mandir=DIR           man documentation [DATAROOTDIR/man]
 1456   --docdir=DIR           documentation root [DATAROOTDIR/doc/tre]
 1457   --htmldir=DIR          html documentation [DOCDIR]
 1458   --dvidir=DIR           dvi documentation [DOCDIR]
 1459   --pdfdir=DIR           pdf documentation [DOCDIR]
 1460   --psdir=DIR            ps documentation [DOCDIR]
 1461 _ACEOF
 1462 
 1463   cat <<\_ACEOF
 1464 
 1465 Program names:
 1466   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1467   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1468   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1469 
 1470 System types:
 1471   --build=BUILD     configure for building on BUILD [guessed]
 1472   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1473   --target=TARGET   configure for building compilers for TARGET [HOST]
 1474 _ACEOF
 1475 fi
 1476 
 1477 if test -n "$ac_init_help"; then
 1478   case $ac_init_help in
 1479      short | recursive ) echo "Configuration of TRE 0.7.5:";;
 1480    esac
 1481   cat <<\_ACEOF
 1482 
 1483 Optional Features:
 1484   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1485   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1486   --disable-dependency-tracking  speeds up one-time build
 1487   --enable-dependency-tracking   do not reject slow dependency extractors
 1488   --enable-profile        enable profiling with gprof [default=disabled]
 1489   --enable-debug          enable development-time debugging [default=disabled]
 1490   --disable-warnings      disable C compiler warning messages
 1491                           [default=enabled]
 1492   --disable-approx        disable the approximate matching functionality
 1493                           [default=enabled]
 1494   --disable-agrep         Do not build and install the agrep tool
 1495                           [default=install]
 1496   --enable-system-abi     try to make TRE compatible with the system regex ABI
 1497                           [default=disabled]
 1498   --disable-wchar         disable the wide character (wchar_t) support
 1499                           [default=detect]
 1500   --disable-multibyte     disable multibyte character set support
 1501                           [default=detect]
 1502   --disable-largefile     omit support for large files
 1503   --disable-nls           do not use Native Language Support
 1504   --disable-rpath         do not hardcode runtime library paths
 1505   --enable-static[=PKGS]  build static libraries [default=no]
 1506   --enable-shared[=PKGS]  build shared libraries [default=yes]
 1507   --enable-fast-install[=PKGS]
 1508                           optimize for fast installation [default=yes]
 1509   --disable-libtool-lock  avoid locking (might break parallel builds)
 1510 
 1511 Optional Packages:
 1512   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1513   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1514   --without-alloca        don't use alloca [default=use]
 1515   --with-libutf8[=DIR]    search for libutf8 from DIR/include and DIR/lib
 1516   --without-libutf8       do not use libutf8 [default=use if needed]
 1517   --with-gnu-ld           assume the C compiler uses GNU ld default=no
 1518   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
 1519   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 1520   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
 1521   --without-libintl-prefix     don't search for libintl in includedir and libdir
 1522   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1523   --with-pic              try to use only PIC/non-PIC objects [default=use
 1524                           both]
 1525 
 1526 Some influential environment variables:
 1527   CC          C compiler command
 1528   CFLAGS      C compiler flags
 1529   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1530               nonstandard directory <lib dir>
 1531   LIBS        libraries to pass to the linker, e.g. -l<library>
 1532   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 1533               you have headers in a nonstandard directory <include dir>
 1534   CPP         C preprocessor
 1535 
 1536 Use these variables to override the choices made by `configure' or to help
 1537 it to find libraries and programs with nonstandard names/locations.
 1538 
 1539 Report bugs to <tre-general@lists.laurikari.net>.
 1540 _ACEOF
 1541 ac_status=$?
 1542 fi
 1543 
 1544 if test "$ac_init_help" = "recursive"; then
 1545   # If there are subdirs, report their specific --help.
 1546   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1547     test -d "$ac_dir" || continue
 1548     ac_builddir=.
 1549 
 1550 case "$ac_dir" in
 1551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1552 *)
 1553   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 1554   # A ".." for each directory in $ac_dir_suffix.
 1555   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 1556   case $ac_top_builddir_sub in
 1557   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1558   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1559   esac ;;
 1560 esac
 1561 ac_abs_top_builddir=$ac_pwd
 1562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1563 # for backward compatibility:
 1564 ac_top_builddir=$ac_top_build_prefix
 1565 
 1566 case $srcdir in
 1567   .)  # We are building in place.
 1568     ac_srcdir=.
 1569     ac_top_srcdir=$ac_top_builddir_sub
 1570     ac_abs_top_srcdir=$ac_pwd ;;
 1571   [\\/]* | ?:[\\/]* )  # Absolute name.
 1572     ac_srcdir=$srcdir$ac_dir_suffix;
 1573     ac_top_srcdir=$srcdir
 1574     ac_abs_top_srcdir=$srcdir ;;
 1575   *) # Relative name.
 1576     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1577     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1578     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1579 esac
 1580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1581 
 1582     cd "$ac_dir" || { ac_status=$?; continue; }
 1583     # Check for guested configure.
 1584     if test -f "$ac_srcdir/configure.gnu"; then
 1585       echo &&
 1586       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1587     elif test -f "$ac_srcdir/configure"; then
 1588       echo &&
 1589       $SHELL "$ac_srcdir/configure" --help=recursive
 1590     else
 1591       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1592     fi || ac_status=$?
 1593     cd "$ac_pwd" || { ac_status=$?; break; }
 1594   done
 1595 fi
 1596 
 1597 test -n "$ac_init_help" && exit $ac_status
 1598 if $ac_init_version; then
 1599   cat <<\_ACEOF
 1600 TRE configure 0.7.5
 1601 generated by GNU Autoconf 2.61
 1602 
 1603 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 1604 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 1605 This configure script is free software; the Free Software Foundation
 1606 gives unlimited permission to copy, distribute and modify it.
 1607 _ACEOF
 1608   exit
 1609 fi
 1610 cat >config.log <<_ACEOF
 1611 This file contains any messages produced by compilers while
 1612 running configure, to aid debugging if configure makes a mistake.
 1613 
 1614 It was created by TRE $as_me 0.7.5, which was
 1615 generated by GNU Autoconf 2.61.  Invocation command line was
 1616 
 1617   $ $0 $@
 1618 
 1619 _ACEOF
 1620 exec 5>>config.log
 1621 {
 1622 cat <<_ASUNAME
 1623 ## --------- ##
 1624 ## Platform. ##
 1625 ## --------- ##
 1626 
 1627 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1628 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1629 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1630 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1631 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1632 
 1633 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1634 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1635 
 1636 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1637 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1638 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1639 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 1640 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1641 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1642 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1643 
 1644 _ASUNAME
 1645 
 1646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1647 for as_dir in $PATH
 1648 do
 1649   IFS=$as_save_IFS
 1650   test -z "$as_dir" && as_dir=.
 1651   echo "PATH: $as_dir"
 1652 done
 1653 IFS=$as_save_IFS
 1654 
 1655 } >&5
 1656 
 1657 cat >&5 <<_ACEOF
 1658 
 1659 
 1660 ## ----------- ##
 1661 ## Core tests. ##
 1662 ## ----------- ##
 1663 
 1664 _ACEOF
 1665 
 1666 
 1667 # Keep a trace of the command line.
 1668 # Strip out --no-create and --no-recursion so they do not pile up.
 1669 # Strip out --silent because we don't want to record it for future runs.
 1670 # Also quote any args containing shell meta-characters.
 1671 # Make two passes to allow for proper duplicate-argument suppression.
 1672 ac_configure_args=
 1673 ac_configure_args0=
 1674 ac_configure_args1=
 1675 ac_must_keep_next=false
 1676 for ac_pass in 1 2
 1677 do
 1678   for ac_arg
 1679   do
 1680     case $ac_arg in
 1681     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1682     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1683     | -silent | --silent | --silen | --sile | --sil)
 1684       continue ;;
 1685     *\'*)
 1686       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1687     esac
 1688     case $ac_pass in
 1689     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1690     2)
 1691       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1692       if test $ac_must_keep_next = true; then
 1693     ac_must_keep_next=false # Got value, back to normal.
 1694       else
 1695     case $ac_arg in
 1696       *=* | --config-cache | -C | -disable-* | --disable-* \
 1697       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1698       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1699       | -with-* | --with-* | -without-* | --without-* | --x)
 1700         case "$ac_configure_args0 " in
 1701           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1702         esac
 1703         ;;
 1704       -* ) ac_must_keep_next=true ;;
 1705     esac
 1706       fi
 1707       ac_configure_args="$ac_configure_args '$ac_arg'"
 1708       ;;
 1709     esac
 1710   done
 1711 done
 1712 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 1713 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 1714 
 1715 # When interrupted or exit'd, cleanup temporary files, and complete
 1716 # config.log.  We remove comments because anyway the quotes in there
 1717 # would cause problems or look ugly.
 1718 # WARNING: Use '\'' to represent an apostrophe within the trap.
 1719 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 1720 trap 'exit_status=$?
 1721   # Save into config.log some information that might help in debugging.
 1722   {
 1723     echo
 1724 
 1725     cat <<\_ASBOX
 1726 ## ---------------- ##
 1727 ## Cache variables. ##
 1728 ## ---------------- ##
 1729 _ASBOX
 1730     echo
 1731     # The following way of writing the cache mishandles newlines in values,
 1732 (
 1733   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 1734     eval ac_val=\$$ac_var
 1735     case $ac_val in #(
 1736     *${as_nl}*)
 1737       case $ac_var in #(
 1738       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 1739 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 1740       esac
 1741       case $ac_var in #(
 1742       _ | IFS | as_nl) ;; #(
 1743       *) $as_unset $ac_var ;;
 1744       esac ;;
 1745     esac
 1746   done
 1747   (set) 2>&1 |
 1748     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 1749     *${as_nl}ac_space=\ *)
 1750       sed -n \
 1751     "s/'\''/'\''\\\\'\'''\''/g;
 1752       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 1753       ;; #(
 1754     *)
 1755       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 1756       ;;
 1757     esac |
 1758     sort
 1759 )
 1760     echo
 1761 
 1762     cat <<\_ASBOX
 1763 ## ----------------- ##
 1764 ## Output variables. ##
 1765 ## ----------------- ##
 1766 _ASBOX
 1767     echo
 1768     for ac_var in $ac_subst_vars
 1769     do
 1770       eval ac_val=\$$ac_var
 1771       case $ac_val in
 1772       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1773       esac
 1774       echo "$ac_var='\''$ac_val'\''"
 1775     done | sort
 1776     echo
 1777 
 1778     if test -n "$ac_subst_files"; then
 1779       cat <<\_ASBOX
 1780 ## ------------------- ##
 1781 ## File substitutions. ##
 1782 ## ------------------- ##
 1783 _ASBOX
 1784       echo
 1785       for ac_var in $ac_subst_files
 1786       do
 1787     eval ac_val=\$$ac_var
 1788     case $ac_val in
 1789     *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1790     esac
 1791     echo "$ac_var='\''$ac_val'\''"
 1792       done | sort
 1793       echo
 1794     fi
 1795 
 1796     if test -s confdefs.h; then
 1797       cat <<\_ASBOX
 1798 ## ----------- ##
 1799 ## confdefs.h. ##
 1800 ## ----------- ##
 1801 _ASBOX
 1802       echo
 1803       cat confdefs.h
 1804       echo
 1805     fi
 1806     test "$ac_signal" != 0 &&
 1807       echo "$as_me: caught signal $ac_signal"
 1808     echo "$as_me: exit $exit_status"
 1809   } >&5
 1810   rm -f core *.core core.conftest.* &&
 1811     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 1812     exit $exit_status
 1813 ' 0
 1814 for ac_signal in 1 2 13 15; do
 1815   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1816 done
 1817 ac_signal=0
 1818 
 1819 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1820 rm -f -r conftest* confdefs.h
 1821 
 1822 # Predefined preprocessor variables.
 1823 
 1824 cat >>confdefs.h <<_ACEOF
 1825 #define PACKAGE_NAME "$PACKAGE_NAME"
 1826 _ACEOF
 1827 
 1828 
 1829 cat >>confdefs.h <<_ACEOF
 1830 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1831 _ACEOF
 1832 
 1833 
 1834 cat >>confdefs.h <<_ACEOF
 1835 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 1836 _ACEOF
 1837 
 1838 
 1839 cat >>confdefs.h <<_ACEOF
 1840 #define PACKAGE_STRING "$PACKAGE_STRING"
 1841 _ACEOF
 1842 
 1843 
 1844 cat >>confdefs.h <<_ACEOF
 1845 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1846 _ACEOF
 1847 
 1848 
 1849 # Let the site file select an alternate cache file if it wants to.
 1850 # Prefer explicitly selected file to automatically selected ones.
 1851 if test -n "$CONFIG_SITE"; then
 1852   set x "$CONFIG_SITE"
 1853 elif test "x$prefix" != xNONE; then
 1854   set x "$prefix/share/config.site" "$prefix/etc/config.site"
 1855 else
 1856   set x "$ac_default_prefix/share/config.site" \
 1857     "$ac_default_prefix/etc/config.site"
 1858 fi
 1859 shift
 1860 for ac_site_file
 1861 do
 1862   if test -r "$ac_site_file"; then
 1863     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1864 echo "$as_me: loading site script $ac_site_file" >&6;}
 1865     sed 's/^/| /' "$ac_site_file" >&5
 1866     . "$ac_site_file"
 1867   fi
 1868 done
 1869 
 1870 if test -r "$cache_file"; then
 1871   # Some versions of bash will fail to source /dev/null (special
 1872   # files actually), so we avoid doing that.
 1873   if test -f "$cache_file"; then
 1874     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1875 echo "$as_me: loading cache $cache_file" >&6;}
 1876     case $cache_file in
 1877       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 1878       *)                      . "./$cache_file";;
 1879     esac
 1880   fi
 1881 else
 1882   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1883 echo "$as_me: creating cache $cache_file" >&6;}
 1884   >$cache_file
 1885 fi
 1886 
 1887 # Check that the precious variables saved in the cache have kept the same
 1888 # value.
 1889 ac_cache_corrupted=false
 1890 for ac_var in $ac_precious_vars; do
 1891   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1892   eval ac_new_set=\$ac_env_${ac_var}_set
 1893   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 1894   eval ac_new_val=\$ac_env_${ac_var}_value
 1895   case $ac_old_set,$ac_new_set in
 1896     set,)
 1897       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1898 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1899       ac_cache_corrupted=: ;;
 1900     ,set)
 1901       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1902 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1903       ac_cache_corrupted=: ;;
 1904     ,);;
 1905     *)
 1906       if test "x$ac_old_val" != "x$ac_new_val"; then
 1907     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1908 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1909     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 1910 echo "$as_me:   former value:  $ac_old_val" >&2;}
 1911     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 1912 echo "$as_me:   current value: $ac_new_val" >&2;}
 1913     ac_cache_corrupted=:
 1914       fi;;
 1915   esac
 1916   # Pass precious variables to config.status.
 1917   if test "$ac_new_set" = set; then
 1918     case $ac_new_val in
 1919     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1920     *) ac_arg=$ac_var=$ac_new_val ;;
 1921     esac
 1922     case " $ac_configure_args " in
 1923       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1924       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1925     esac
 1926   fi
 1927 done
 1928 if $ac_cache_corrupted; then
 1929   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1930 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1931   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1932 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1933    { (exit 1); exit 1; }; }
 1934 fi
 1935 
 1936 
 1937 
 1938 
 1939 
 1940 
 1941 
 1942 
 1943 
 1944 
 1945 
 1946 
 1947 
 1948 
 1949 
 1950 
 1951 
 1952 
 1953 
 1954 
 1955 
 1956 
 1957 
 1958 
 1959 
 1960 ac_ext=c
 1961 ac_cpp='$CPP $CPPFLAGS'
 1962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1965 
 1966 
 1967 
 1968 ac_aux_dir=
 1969 for ac_dir in utils "$srcdir"/utils; do
 1970   if test -f "$ac_dir/install-sh"; then
 1971     ac_aux_dir=$ac_dir
 1972     ac_install_sh="$ac_aux_dir/install-sh -c"
 1973     break
 1974   elif test -f "$ac_dir/install.sh"; then
 1975     ac_aux_dir=$ac_dir
 1976     ac_install_sh="$ac_aux_dir/install.sh -c"
 1977     break
 1978   elif test -f "$ac_dir/shtool"; then
 1979     ac_aux_dir=$ac_dir
 1980     ac_install_sh="$ac_aux_dir/shtool install -c"
 1981     break
 1982   fi
 1983 done
 1984 if test -z "$ac_aux_dir"; then
 1985   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in utils \"$srcdir\"/utils" >&5
 1986 echo "$as_me: error: cannot find install-sh or install.sh in utils \"$srcdir\"/utils" >&2;}
 1987    { (exit 1); exit 1; }; }
 1988 fi
 1989 
 1990 # These three variables are undocumented and unsupported,
 1991 # and are intended to be withdrawn in a future Autoconf release.
 1992 # They can cause serious problems if a builder's source tree is in a directory
 1993 # whose full name contains unusual characters.
 1994 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 1995 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 1996 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 1997 
 1998 
 1999 # Make sure we can run config.sub.
 2000 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2001   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 2002 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 2003    { (exit 1); exit 1; }; }
 2004 
 2005 { echo "$as_me:$LINENO: checking build system type" >&5
 2006 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 2007 if test "${ac_cv_build+set}" = set; then
 2008   echo $ECHO_N "(cached) $ECHO_C" >&6
 2009 else
 2010   ac_build_alias=$build_alias
 2011 test "x$ac_build_alias" = x &&
 2012   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2013 test "x$ac_build_alias" = x &&
 2014   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 2015 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 2016    { (exit 1); exit 1; }; }
 2017 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2018   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 2019 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 2020    { (exit 1); exit 1; }; }
 2021 
 2022 fi
 2023 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 2024 echo "${ECHO_T}$ac_cv_build" >&6; }
 2025 case $ac_cv_build in
 2026 *-*-*) ;;
 2027 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 2028 echo "$as_me: error: invalid value of canonical build" >&2;}
 2029    { (exit 1); exit 1; }; };;
 2030 esac
 2031 build=$ac_cv_build
 2032 ac_save_IFS=$IFS; IFS='-'
 2033 set x $ac_cv_build
 2034 shift
 2035 build_cpu=$1
 2036 build_vendor=$2
 2037 shift; shift
 2038 # Remember, the first character of IFS is used to create $*,
 2039 # except with old shells:
 2040 build_os=$*
 2041 IFS=$ac_save_IFS
 2042 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2043 
 2044 
 2045 { echo "$as_me:$LINENO: checking host system type" >&5
 2046 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 2047 if test "${ac_cv_host+set}" = set; then
 2048   echo $ECHO_N "(cached) $ECHO_C" >&6
 2049 else
 2050   if test "x$host_alias" = x; then
 2051   ac_cv_host=$ac_cv_build
 2052 else
 2053   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2054     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 2055 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 2056    { (exit 1); exit 1; }; }
 2057 fi
 2058 
 2059 fi
 2060 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 2061 echo "${ECHO_T}$ac_cv_host" >&6; }
 2062 case $ac_cv_host in
 2063 *-*-*) ;;
 2064 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 2065 echo "$as_me: error: invalid value of canonical host" >&2;}
 2066    { (exit 1); exit 1; }; };;
 2067 esac
 2068 host=$ac_cv_host
 2069 ac_save_IFS=$IFS; IFS='-'
 2070 set x $ac_cv_host
 2071 shift
 2072 host_cpu=$1
 2073 host_vendor=$2
 2074 shift; shift
 2075 # Remember, the first character of IFS is used to create $*,
 2076 # except with old shells:
 2077 host_os=$*
 2078 IFS=$ac_save_IFS
 2079 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2080 
 2081 
 2082 { echo "$as_me:$LINENO: checking target system type" >&5
 2083 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
 2084 if test "${ac_cv_target+set}" = set; then
 2085   echo $ECHO_N "(cached) $ECHO_C" >&6
 2086 else
 2087   if test "x$target_alias" = x; then
 2088   ac_cv_target=$ac_cv_host
 2089 else
 2090   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 2091     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 2092 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
 2093    { (exit 1); exit 1; }; }
 2094 fi
 2095 
 2096 fi
 2097 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 2098 echo "${ECHO_T}$ac_cv_target" >&6; }
 2099 case $ac_cv_target in
 2100 *-*-*) ;;
 2101 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 2102 echo "$as_me: error: invalid value of canonical target" >&2;}
 2103    { (exit 1); exit 1; }; };;
 2104 esac
 2105 target=$ac_cv_target
 2106 ac_save_IFS=$IFS; IFS='-'
 2107 set x $ac_cv_target
 2108 shift
 2109 target_cpu=$1
 2110 target_vendor=$2
 2111 shift; shift
 2112 # Remember, the first character of IFS is used to create $*,
 2113 # except with old shells:
 2114 target_os=$*
 2115 IFS=$ac_save_IFS
 2116 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 2117 
 2118 
 2119 # The aliases save the names the user supplied, while $host etc.
 2120 # will get canonicalized.
 2121 test -n "$target_alias" &&
 2122   test "$program_prefix$program_suffix$program_transform_name" = \
 2123     NONENONEs,x,x, &&
 2124   program_prefix=${target_alias}-
 2125 am__api_version="1.9"
 2126 # Find a good install program.  We prefer a C program (faster),
 2127 # so one script is as good as another.  But avoid the broken or
 2128 # incompatible versions:
 2129 # SysV /etc/install, /usr/sbin/install
 2130 # SunOS /usr/etc/install
 2131 # IRIX /sbin/install
 2132 # AIX /bin/install
 2133 # AmigaOS /C/install, which installs bootblocks on floppy discs
 2134 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2135 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2136 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2137 # OS/2's system install, which has a completely different semantic
 2138 # ./install, which can be erroneously created by make from ./install.sh.
 2139 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 2140 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 2141 if test -z "$INSTALL"; then
 2142 if test "${ac_cv_path_install+set}" = set; then
 2143   echo $ECHO_N "(cached) $ECHO_C" >&6
 2144 else
 2145   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2146 for as_dir in $PATH
 2147 do
 2148   IFS=$as_save_IFS
 2149   test -z "$as_dir" && as_dir=.
 2150   # Account for people who put trailing slashes in PATH elements.
 2151 case $as_dir/ in
 2152   ./ | .// | /cC/* | \
 2153   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2154   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 2155   /usr/ucb/* ) ;;
 2156   *)
 2157     # OSF1 and SCO ODT 3.0 have their own names for install.
 2158     # Don't use installbsd from OSF since it installs stuff as root
 2159     # by default.
 2160     for ac_prog in ginstall scoinst install; do
 2161       for ac_exec_ext in '' $ac_executable_extensions; do
 2162     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2163       if test $ac_prog = install &&
 2164         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2165         # AIX install.  It has an incompatible calling convention.
 2166         :
 2167       elif test $ac_prog = install &&
 2168         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2169         # program-specific install script used by HP pwplus--don't use.
 2170         :
 2171       else
 2172         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2173         break 3
 2174       fi
 2175     fi
 2176       done
 2177     done
 2178     ;;
 2179 esac
 2180 done
 2181 IFS=$as_save_IFS
 2182 
 2183 
 2184 fi
 2185   if test "${ac_cv_path_install+set}" = set; then
 2186     INSTALL=$ac_cv_path_install
 2187   else
 2188     # As a last resort, use the slow shell script.  Don't cache a
 2189     # value for INSTALL within a source directory, because that will
 2190     # break other packages using the cache if that directory is
 2191     # removed, or if the value is a relative name.
 2192     INSTALL=$ac_install_sh
 2193   fi
 2194 fi
 2195 { echo "$as_me:$LINENO: result: $INSTALL" >&5
 2196 echo "${ECHO_T}$INSTALL" >&6; }
 2197 
 2198 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2199 # It thinks the first close brace ends the variable substitution.
 2200 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2201 
 2202 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2203 
 2204 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2205 
 2206 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 2207 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 2208 # Just in case
 2209 sleep 1
 2210 echo timestamp > conftest.file
 2211 # Do `set' in a subshell so we don't clobber the current shell's
 2212 # arguments.  Must try -L first in case configure is actually a
 2213 # symlink; some systems play weird games with the mod time of symlinks
 2214 # (eg FreeBSD returns the mod time of the symlink's containing
 2215 # directory).
 2216 if (
 2217    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 2218    if test "$*" = "X"; then
 2219       # -L didn't work.
 2220       set X `ls -t $srcdir/configure conftest.file`
 2221    fi
 2222    rm -f conftest.file
 2223    if test "$*" != "X $srcdir/configure conftest.file" \
 2224       && test "$*" != "X conftest.file $srcdir/configure"; then
 2225 
 2226       # If neither matched, then we have a broken ls.  This can happen
 2227       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2228       # broken ls alias from the environment.  This has actually
 2229       # happened.  Such a system could not be considered "sane".
 2230       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 2231 alias in your environment" >&5
 2232 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 2233 alias in your environment" >&2;}
 2234    { (exit 1); exit 1; }; }
 2235    fi
 2236 
 2237    test "$2" = conftest.file
 2238    )
 2239 then
 2240    # Ok.
 2241    :
 2242 else
 2243    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 2244 Check your system clock" >&5
 2245 echo "$as_me: error: newly created file is older than distributed files!
 2246 Check your system clock" >&2;}
 2247    { (exit 1); exit 1; }; }
 2248 fi
 2249 { echo "$as_me:$LINENO: result: yes" >&5
 2250 echo "${ECHO_T}yes" >&6; }
 2251 test "$program_prefix" != NONE &&
 2252   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2253 # Use a double $ so make ignores it.
 2254 test "$program_suffix" != NONE &&
 2255   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2256 # Double any \ or $.  echo might interpret backslashes.
 2257 # By default was `s,x,x', remove it if useless.
 2258 cat <<\_ACEOF >conftest.sed
 2259 s/[\\$]/&&/g;s/;s,x,x,$//
 2260 _ACEOF
 2261 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 2262 rm -f conftest.sed
 2263 
 2264 # expand $ac_aux_dir to an absolute path
 2265 am_aux_dir=`cd $ac_aux_dir && pwd`
 2266 
 2267 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 2268 # Use eval to expand $SHELL
 2269 if eval "$MISSING --run true"; then
 2270   am_missing_run="$MISSING --run "
 2271 else
 2272   am_missing_run=
 2273   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 2274 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2275 fi
 2276 
 2277 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 2278   # We used to keeping the `.' as first argument, in order to
 2279   # allow $(mkdir_p) to be used without argument.  As in
 2280   #   $(mkdir_p) $(somedir)
 2281   # where $(somedir) is conditionally defined.  However this is wrong
 2282   # for two reasons:
 2283   #  1. if the package is installed by a user who cannot write `.'
 2284   #     make install will fail,
 2285   #  2. the above comment should most certainly read
 2286   #     $(mkdir_p) $(DESTDIR)$(somedir)
 2287   #     so it does not work when $(somedir) is undefined and
 2288   #     $(DESTDIR) is not.
 2289   #  To support the latter case, we have to write
 2290   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 2291   #  so the `.' trick is pointless.
 2292   mkdir_p='mkdir -p --'
 2293 else
 2294   # On NextStep and OpenStep, the `mkdir' command does not
 2295   # recognize any option.  It will interpret all options as
 2296   # directories to create, and then abort because `.' already
 2297   # exists.
 2298   for d in ./-p ./--version;
 2299   do
 2300     test -d $d && rmdir $d
 2301   done
 2302   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 2303   if test -f "$ac_aux_dir/mkinstalldirs"; then
 2304     mkdir_p='$(mkinstalldirs)'
 2305   else
 2306     mkdir_p='$(install_sh) -d'
 2307   fi
 2308 fi
 2309 
 2310 for ac_prog in gawk mawk nawk awk
 2311 do
 2312   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2313 set dummy $ac_prog; ac_word=$2
 2314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2316 if test "${ac_cv_prog_AWK+set}" = set; then
 2317   echo $ECHO_N "(cached) $ECHO_C" >&6
 2318 else
 2319   if test -n "$AWK"; then
 2320   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 2321 else
 2322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2323 for as_dir in $PATH
 2324 do
 2325   IFS=$as_save_IFS
 2326   test -z "$as_dir" && as_dir=.
 2327   for ac_exec_ext in '' $ac_executable_extensions; do
 2328   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2329     ac_cv_prog_AWK="$ac_prog"
 2330     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2331     break 2
 2332   fi
 2333 done
 2334 done
 2335 IFS=$as_save_IFS
 2336 
 2337 fi
 2338 fi
 2339 AWK=$ac_cv_prog_AWK
 2340 if test -n "$AWK"; then
 2341   { echo "$as_me:$LINENO: result: $AWK" >&5
 2342 echo "${ECHO_T}$AWK" >&6; }
 2343 else
 2344   { echo "$as_me:$LINENO: result: no" >&5
 2345 echo "${ECHO_T}no" >&6; }
 2346 fi
 2347 
 2348 
 2349   test -n "$AWK" && break
 2350 done
 2351 
 2352 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2353 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 2354 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 2355 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 2356   echo $ECHO_N "(cached) $ECHO_C" >&6
 2357 else
 2358   cat >conftest.make <<\_ACEOF
 2359 SHELL = /bin/sh
 2360 all:
 2361     @echo '@@@%%%=$(MAKE)=@@@%%%'
 2362 _ACEOF
 2363 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 2364 case `${MAKE-make} -f conftest.make 2>/dev/null` in
 2365   *@@@%%%=?*=@@@%%%*)
 2366     eval ac_cv_prog_make_${ac_make}_set=yes;;
 2367   *)
 2368     eval ac_cv_prog_make_${ac_make}_set=no;;
 2369 esac
 2370 rm -f conftest.make
 2371 fi
 2372 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 2373   { echo "$as_me:$LINENO: result: yes" >&5
 2374 echo "${ECHO_T}yes" >&6; }
 2375   SET_MAKE=
 2376 else
 2377   { echo "$as_me:$LINENO: result: no" >&5
 2378 echo "${ECHO_T}no" >&6; }
 2379   SET_MAKE="MAKE=${MAKE-make}"
 2380 fi
 2381 
 2382 rm -rf .tst 2>/dev/null
 2383 mkdir .tst 2>/dev/null
 2384 if test -d .tst; then
 2385   am__leading_dot=.
 2386 else
 2387   am__leading_dot=_
 2388 fi
 2389 rmdir .tst 2>/dev/null
 2390 
 2391 # test to see if srcdir already configured
 2392 if test "`cd $srcdir && pwd`" != "`pwd`" &&
 2393    test -f $srcdir/config.status; then
 2394   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 2395 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 2396    { (exit 1); exit 1; }; }
 2397 fi
 2398 
 2399 # test whether we have cygpath
 2400 if test -z "$CYGPATH_W"; then
 2401   if (cygpath --version) >/dev/null 2>/dev/null; then
 2402     CYGPATH_W='cygpath -w'
 2403   else
 2404     CYGPATH_W=echo
 2405   fi
 2406 fi
 2407 
 2408 
 2409 # Define the identity of the package.
 2410  PACKAGE='tre'
 2411  VERSION='0.7.5'
 2412 
 2413 
 2414 cat >>confdefs.h <<_ACEOF
 2415 #define PACKAGE "$PACKAGE"
 2416 _ACEOF
 2417 
 2418 
 2419 cat >>confdefs.h <<_ACEOF
 2420 #define VERSION "$VERSION"
 2421 _ACEOF
 2422 
 2423 # Some tools Automake needs.
 2424 
 2425 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 2426 
 2427 
 2428 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 2429 
 2430 
 2431 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 2432 
 2433 
 2434 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 2435 
 2436 
 2437 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 2438 
 2439 install_sh=${install_sh-"$am_aux_dir/install-sh"}
 2440 
 2441 # Installed binaries are usually stripped using `strip' when the user
 2442 # run `make install-strip'.  However `strip' might not be the right
 2443 # tool to use in cross-compilation environments, therefore Automake
 2444 # will honor the `STRIP' environment variable to overrule this program.
 2445 if test "$cross_compiling" != no; then
 2446   if test -n "$ac_tool_prefix"; then
 2447   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2448 set dummy ${ac_tool_prefix}strip; ac_word=$2
 2449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2451 if test "${ac_cv_prog_STRIP+set}" = set; then
 2452   echo $ECHO_N "(cached) $ECHO_C" >&6
 2453 else
 2454   if test -n "$STRIP"; then
 2455   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2456 else
 2457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2458 for as_dir in $PATH
 2459 do
 2460   IFS=$as_save_IFS
 2461   test -z "$as_dir" && as_dir=.
 2462   for ac_exec_ext in '' $ac_executable_extensions; do
 2463   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2464     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2465     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2466     break 2
 2467   fi
 2468 done
 2469 done
 2470 IFS=$as_save_IFS
 2471 
 2472 fi
 2473 fi
 2474 STRIP=$ac_cv_prog_STRIP
 2475 if test -n "$STRIP"; then
 2476   { echo "$as_me:$LINENO: result: $STRIP" >&5
 2477 echo "${ECHO_T}$STRIP" >&6; }
 2478 else
 2479   { echo "$as_me:$LINENO: result: no" >&5
 2480 echo "${ECHO_T}no" >&6; }
 2481 fi
 2482 
 2483 
 2484 fi
 2485 if test -z "$ac_cv_prog_STRIP"; then
 2486   ac_ct_STRIP=$STRIP
 2487   # Extract the first word of "strip", so it can be a program name with args.
 2488 set dummy strip; ac_word=$2
 2489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2491 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 2492   echo $ECHO_N "(cached) $ECHO_C" >&6
 2493 else
 2494   if test -n "$ac_ct_STRIP"; then
 2495   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2496 else
 2497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2498 for as_dir in $PATH
 2499 do
 2500   IFS=$as_save_IFS
 2501   test -z "$as_dir" && as_dir=.
 2502   for ac_exec_ext in '' $ac_executable_extensions; do
 2503   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2504     ac_cv_prog_ac_ct_STRIP="strip"
 2505     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2506     break 2
 2507   fi
 2508 done
 2509 done
 2510 IFS=$as_save_IFS
 2511 
 2512 fi
 2513 fi
 2514 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2515 if test -n "$ac_ct_STRIP"; then
 2516   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 2517 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 2518 else
 2519   { echo "$as_me:$LINENO: result: no" >&5
 2520 echo "${ECHO_T}no" >&6; }
 2521 fi
 2522 
 2523   if test "x$ac_ct_STRIP" = x; then
 2524     STRIP=":"
 2525   else
 2526     case $cross_compiling:$ac_tool_warned in
 2527 yes:)
 2528 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 2529 whose name does not start with the host triplet.  If you think this
 2530 configuration is useful to you, please write to autoconf@gnu.org." >&5
 2531 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 2532 whose name does not start with the host triplet.  If you think this
 2533 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 2534 ac_tool_warned=yes ;;
 2535 esac
 2536     STRIP=$ac_ct_STRIP
 2537   fi
 2538 else
 2539   STRIP="$ac_cv_prog_STRIP"
 2540 fi
 2541 
 2542 fi
 2543 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 2544 
 2545 # We need awk for the "check" target.  The system "awk" is bad on
 2546 # some platforms.
 2547 # Always define AMTAR for backward compatibility.
 2548 
 2549 AMTAR=${AMTAR-"${am_missing_run}tar"}
 2550 
 2551 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 2552 
 2553 
 2554 
 2555 
 2556 
 2557 
 2558 
 2559 
 2560 ac_ext=c
 2561 ac_cpp='$CPP $CPPFLAGS'
 2562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2565 if test -n "$ac_tool_prefix"; then
 2566   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2567 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2568 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2570 if test "${ac_cv_prog_CC+set}" = set; then
 2571   echo $ECHO_N "(cached) $ECHO_C" >&6
 2572 else
 2573   if test -n "$CC"; then
 2574   ac_cv_prog_CC="$CC" # Let the user override the test.
 2575 else
 2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2577 for as_dir in $PATH
 2578 do
 2579   IFS=$as_save_IFS
 2580   test -z "$as_dir" && as_dir=.
 2581   for ac_exec_ext in '' $ac_executable_extensions; do
 2582   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2583     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2584     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2585     break 2
 2586   fi
 2587 done
 2588 done
 2589 IFS=$as_save_IFS
 2590 
 2591 fi
 2592 fi
 2593 CC=$ac_cv_prog_CC
 2594 if test -n "$CC"; then
 2595   { echo "$as_me:$LINENO: result: $CC" >&5
 2596 echo "${ECHO_T}$CC" >&6; }
 2597 else
 2598   { echo "$as_me:$LINENO: result: no" >&5
 2599 echo "${ECHO_T}no" >&6; }
 2600 fi
 2601 
 2602 
 2603 fi
 2604 if test -z "$ac_cv_prog_CC"; then
 2605   ac_ct_CC=$CC
 2606   # Extract the first word of "gcc", so it can be a program name with args.
 2607 set dummy gcc; ac_word=$2
 2608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2610 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2611   echo $ECHO_N "(cached) $ECHO_C" >&6
 2612 else
 2613   if test -n "$ac_ct_CC"; then
 2614   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2615 else
 2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2617 for as_dir in $PATH
 2618 do
 2619   IFS=$as_save_IFS
 2620   test -z "$as_dir" && as_dir=.
 2621   for ac_exec_ext in '' $ac_executable_extensions; do
 2622   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2623     ac_cv_prog_ac_ct_CC="gcc"
 2624     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2625     break 2
 2626   fi
 2627 done
 2628 done
 2629 IFS=$as_save_IFS
 2630 
 2631 fi
 2632 fi
 2633 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2634 if test -n "$ac_ct_CC"; then
 2635   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2636 echo "${ECHO_T}$ac_ct_CC" >&6; }
 2637 else
 2638   { echo "$as_me:$LINENO: result: no" >&5
 2639 echo "${ECHO_T}no" >&6; }
 2640 fi
 2641 
 2642   if test "x$ac_ct_CC" = x; then
 2643     CC=""
 2644   else
 2645     case $cross_compiling:$ac_tool_warned in
 2646 yes:)
 2647 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 2648 whose name does not start with the host triplet.  If you think this
 2649 configuration is useful to you, please write to autoconf@gnu.org." >&5
 2650 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 2651 whose name does not start with the host triplet.  If you think this
 2652 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 2653 ac_tool_warned=yes ;;
 2654 esac
 2655     CC=$ac_ct_CC
 2656   fi
 2657 else
 2658   CC="$ac_cv_prog_CC"
 2659 fi
 2660 
 2661 if test -z "$CC"; then
 2662           if test -n "$ac_tool_prefix"; then
 2663     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2664 set dummy ${ac_tool_prefix}cc; ac_word=$2
 2665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2667 if test "${ac_cv_prog_CC+set}" = set; then
 2668   echo $ECHO_N "(cached) $ECHO_C" >&6
 2669 else
 2670   if test -n "$CC"; then
 2671   ac_cv_prog_CC="$CC" # Let the user override the test.
 2672 else
 2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2674 for as_dir in $PATH
 2675 do
 2676   IFS=$as_save_IFS
 2677   test -z "$as_dir" && as_dir=.
 2678   for ac_exec_ext in '' $ac_executable_extensions; do
 2679   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2680     ac_cv_prog_CC="${ac_tool_prefix}cc"
 2681     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2682     break 2
 2683   fi
 2684 done
 2685 done
 2686 IFS=$as_save_IFS
 2687 
 2688 fi
 2689 fi
 2690 CC=$ac_cv_prog_CC
 2691 if test -n "$CC"; then
 2692   { echo "$as_me:$LINENO: result: $CC" >&5
 2693 echo "${ECHO_T}$CC" >&6; }
 2694 else
 2695   { echo "$as_me:$LINENO: result: no" >&5
 2696 echo "${ECHO_T}no" >&6; }
 2697 fi
 2698 
 2699 
 2700   fi
 2701 fi
 2702 if test -z "$CC"; then
 2703   # Extract the first word of "cc", so it can be a program name with args.
 2704 set dummy cc; ac_word=$2
 2705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2707 if test "${ac_cv_prog_CC+set}" = set; then
 2708   echo $ECHO_N "(cached) $ECHO_C" >&6
 2709 else
 2710   if test -n "$CC"; then
 2711   ac_cv_prog_CC="$CC" # Let the user override the test.
 2712 else
 2713   ac_prog_rejected=no
 2714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2715 for as_dir in $PATH
 2716 do
 2717   IFS=$as_save_IFS
 2718   test -z "$as_dir" && as_dir=.
 2719   for ac_exec_ext in '' $ac_executable_extensions; do
 2720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2721     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 2722        ac_prog_rejected=yes
 2723        continue
 2724      fi
 2725     ac_cv_prog_CC="cc"
 2726     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2727     break 2
 2728   fi
 2729 done
 2730 done
 2731 IFS=$as_save_IFS
 2732 
 2733 if test $ac_prog_rejected = yes; then
 2734   # We found a bogon in the path, so make sure we never use it.
 2735   set dummy $ac_cv_prog_CC
 2736   shift
 2737   if test $# != 0; then
 2738     # We chose a different compiler from the bogus one.
 2739     # However, it has the same basename, so the bogon will be chosen
 2740     # first if we set CC to just the basename; use the full file name.
 2741     shift
 2742     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 2743   fi
 2744 fi
 2745 fi
 2746 fi
 2747 CC=$ac_cv_prog_CC
 2748 if test -n "$CC"; then
 2749   { echo "$as_me:$LINENO: result: $CC" >&5
 2750 echo "${ECHO_T}$CC" >&6; }
 2751 else
 2752   { echo "$as_me:$LINENO: result: no" >&5
 2753 echo "${ECHO_T}no" >&6; }
 2754 fi
 2755 
 2756 
 2757 fi
 2758 if test -z "$CC"; then
 2759   if test -n "$ac_tool_prefix"; then
 2760   for ac_prog in cl.exe
 2761   do
 2762     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2763 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2766 if test "${ac_cv_prog_CC+set}" = set; then
 2767   echo $ECHO_N "(cached) $ECHO_C" >&6
 2768 else
 2769   if test -n "$CC"; then
 2770   ac_cv_prog_CC="$CC" # Let the user override the test.
 2771 else
 2772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2773 for as_dir in $PATH
 2774 do
 2775   IFS=$as_save_IFS
 2776   test -z "$as_dir" && as_dir=.
 2777   for ac_exec_ext in '' $ac_executable_extensions; do
 2778   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2779     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2780     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2781     break 2
 2782   fi
 2783 done
 2784 done
 2785 IFS=$as_save_IFS
 2786 
 2787 fi
 2788 fi
 2789 CC=$ac_cv_prog_CC
 2790 if test -n "$CC"; then
 2791   { echo "$as_me:$LINENO: result: $CC" >&5
 2792 echo "${ECHO_T}$CC" >&6; }
 2793 else
 2794   { echo "$as_me:$LINENO: result: no" >&5
 2795 echo "${ECHO_T}no" >&6; }
 2796 fi
 2797 
 2798 
 2799     test -n "$CC" && break
 2800   done
 2801 fi
 2802 if test -z "$CC"; then
 2803   ac_ct_CC=$CC
 2804   for ac_prog in cl.exe
 2805 do
 2806   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2807 set dummy $ac_prog; ac_word=$2
 2808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2810 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2811   echo $ECHO_N "(cached) $ECHO_C" >&6
 2812 else
 2813   if test -n "$ac_ct_CC"; then
 2814   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2815 else
 2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2817 for as_dir in $PATH
 2818 do
 2819   IFS=$as_save_IFS
 2820   test -z "$as_dir" && as_dir=.
 2821   for ac_exec_ext in '' $ac_executable_extensions; do
 2822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2823     ac_cv_prog_ac_ct_CC="$ac_prog"
 2824     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2825     break 2
 2826   fi
 2827 done
 2828 done
 2829 IFS=$as_save_IFS
 2830 
 2831 fi
 2832 fi
 2833 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2834 if test -n "$ac_ct_CC"; then
 2835   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2836 echo "${ECHO_T}$ac_ct_CC" >&6; }
 2837 else
 2838   { echo "$as_me:$LINENO: result: no" >&5
 2839 echo "${ECHO_T}no" >&6; }
 2840 fi
 2841 
 2842 
 2843   test -n "$ac_ct_CC" && break
 2844 done
 2845 
 2846   if test "x$ac_ct_CC" = x; then
 2847     CC=""
 2848   else
 2849     case $cross_compiling:$ac_tool_warned in
 2850 yes:)
 2851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 2852 whose name does not start with the host triplet.  If you think this
 2853 configuration is useful to you, please write to autoconf@gnu.org." >&5
 2854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 2855 whose name does not start with the host triplet.  If you think this
 2856 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 2857 ac_tool_warned=yes ;;
 2858 esac
 2859     CC=$ac_ct_CC
 2860   fi
 2861 fi
 2862 
 2863 fi
 2864 
 2865 
 2866 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 2867 See \`config.log' for more details." >&5
 2868 echo "$as_me: error: no acceptable C compiler found in \$PATH
 2869 See \`config.log' for more details." >&2;}
 2870    { (exit 1); exit 1; }; }
 2871 
 2872 # Provide some information about the compiler.
 2873 echo "$as_me:$LINENO: checking for C compiler version" >&5
 2874 ac_compiler=`set X $ac_compile; echo $2`
 2875 { (ac_try="$ac_compiler --version >&5"
 2876 case "(($ac_try" in
 2877   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2878   *) ac_try_echo=$ac_try;;
 2879 esac
 2880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2881   (eval "$ac_compiler --version >&5") 2>&5
 2882   ac_status=$?
 2883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2884   (exit $ac_status); }
 2885 { (ac_try="$ac_compiler -v >&5"
 2886 case "(($ac_try" in
 2887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2888   *) ac_try_echo=$ac_try;;
 2889 esac
 2890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2891   (eval "$ac_compiler -v >&5") 2>&5
 2892   ac_status=$?
 2893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2894   (exit $ac_status); }
 2895 { (ac_try="$ac_compiler -V >&5"
 2896 case "(($ac_try" in
 2897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2898   *) ac_try_echo=$ac_try;;
 2899 esac
 2900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2901   (eval "$ac_compiler -V >&5") 2>&5
 2902   ac_status=$?
 2903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2904   (exit $ac_status); }
 2905 
 2906 cat >conftest.$ac_ext <<_ACEOF
 2907 /* confdefs.h.  */
 2908 _ACEOF
 2909 cat confdefs.h >>conftest.$ac_ext
 2910 cat >>conftest.$ac_ext <<_ACEOF
 2911 /* end confdefs.h.  */
 2912 
 2913 int
 2914 main ()
 2915 {
 2916 
 2917   ;
 2918   return 0;
 2919 }
 2920 _ACEOF
 2921 ac_clean_files_save=$ac_clean_files
 2922 ac_clean_files="$ac_clean_files a.out a.exe b.out"
 2923 # Try to create an executable without -o first, disregard a.out.
 2924 # It will help us diagnose broken compilers, and finding out an intuition
 2925 # of exeext.
 2926 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 2927 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
 2928 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2929 #
 2930 # List of possible output files, starting from the most likely.
 2931 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 2932 # only as a last resort.  b.out is created by i960 compilers.
 2933 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 2934 #
 2935 # The IRIX 6 linker writes into existing files which may not be
 2936 # executable, retaining their permissions.  Remove them first so a
 2937 # subsequent execution test works.
 2938 ac_rmfiles=
 2939 for ac_file in $ac_files
 2940 do
 2941   case $ac_file in
 2942     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 2943     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 2944   esac
 2945 done
 2946 rm -f $ac_rmfiles
 2947 
 2948 if { (ac_try="$ac_link_default"
 2949 case "(($ac_try" in
 2950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2951   *) ac_try_echo=$ac_try;;
 2952 esac
 2953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2954   (eval "$ac_link_default") 2>&5
 2955   ac_status=$?
 2956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2957   (exit $ac_status); }; then
 2958   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 2959 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 2960 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 2961 # so that the user can short-circuit this test for compilers unknown to
 2962 # Autoconf.
 2963 for ac_file in $ac_files ''
 2964 do
 2965   test -f "$ac_file" || continue
 2966   case $ac_file in
 2967     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 2968     ;;
 2969     [ab].out )
 2970     # We found the default executable, but exeext='' is most
 2971     # certainly right.
 2972     break;;
 2973     *.* )
 2974         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 2975     then :; else
 2976        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2977     fi
 2978     # We set ac_cv_exeext here because the later test for it is not
 2979     # safe: cross compilers may not add the suffix if given an `-o'
 2980     # argument, so we may need to know it at that point already.
 2981     # Even if this section looks crufty: it has the advantage of
 2982     # actually working.
 2983     break;;
 2984     * )
 2985     break;;
 2986   esac
 2987 done
 2988 test "$ac_cv_exeext" = no && ac_cv_exeext=
 2989 
 2990 else
 2991   ac_file=''
 2992 fi
 2993 
 2994 { echo "$as_me:$LINENO: result: $ac_file" >&5
 2995 echo "${ECHO_T}$ac_file" >&6; }
 2996 if test -z "$ac_file"; then
 2997   echo "$as_me: failed program was:" >&5
 2998 sed 's/^/| /' conftest.$ac_ext >&5
 2999 
 3000 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
 3001 See \`config.log' for more details." >&5
 3002 echo "$as_me: error: C compiler cannot create executables
 3003 See \`config.log' for more details." >&2;}
 3004    { (exit 77); exit 77; }; }
 3005 fi
 3006 
 3007 ac_exeext=$ac_cv_exeext
 3008 
 3009 # Check that the compiler produces executables we can run.  If not, either
 3010 # the compiler is broken, or we cross compile.
 3011 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 3012 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 3013 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 3014 # If not cross compiling, check that we can run a simple program.
 3015 if test "$cross_compiling" != yes; then
 3016   if { ac_try='./$ac_file'
 3017   { (case "(($ac_try" in
 3018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3019   *) ac_try_echo=$ac_try;;
 3020 esac
 3021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3022   (eval "$ac_try") 2>&5
 3023   ac_status=$?
 3024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3025   (exit $ac_status); }; }; then
 3026     cross_compiling=no
 3027   else
 3028     if test "$cross_compiling" = maybe; then
 3029     cross_compiling=yes
 3030     else
 3031     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 3032 If you meant to cross compile, use \`--host'.
 3033 See \`config.log' for more details." >&5
 3034 echo "$as_me: error: cannot run C compiled programs.
 3035 If you meant to cross compile, use \`--host'.
 3036 See \`config.log' for more details." >&2;}
 3037    { (exit 1); exit 1; }; }
 3038     fi
 3039   fi
 3040 fi
 3041 { echo "$as_me:$LINENO: result: yes" >&5
 3042 echo "${ECHO_T}yes" >&6; }
 3043 
 3044 rm -f a.out a.exe conftest$ac_cv_exeext b.out
 3045 ac_clean_files=$ac_clean_files_save
 3046 # Check that the compiler produces executables we can run.  If not, either
 3047 # the compiler is broken, or we cross compile.
 3048 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 3049 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 3050 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
 3051 echo "${ECHO_T}$cross_compiling" >&6; }
 3052 
 3053 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
 3054 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 3055 if { (ac_try="$ac_link"
 3056 case "(($ac_try" in
 3057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3058   *) ac_try_echo=$ac_try;;
 3059 esac
 3060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3061   (eval "$ac_link") 2>&5
 3062   ac_status=$?
 3063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3064   (exit $ac_status); }; then
 3065   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3066 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3067 # work properly (i.e., refer to `conftest.exe'), while it won't with
 3068 # `rm'.
 3069 for ac_file in conftest.exe conftest conftest.*; do
 3070   test -f "$ac_file" || continue
 3071   case $ac_file in
 3072     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 3073     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3074       break;;
 3075     * ) break;;
 3076   esac
 3077 done
 3078 else
 3079   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 3080 See \`config.log' for more details." >&5
 3081 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 3082 See \`config.log' for more details." >&2;}
 3083    { (exit 1); exit 1; }; }
 3084 fi
 3085 
 3086 rm -f conftest$ac_cv_exeext
 3087 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 3088 echo "${ECHO_T}$ac_cv_exeext" >&6; }
 3089 
 3090 rm -f conftest.$ac_ext
 3091 EXEEXT=$ac_cv_exeext
 3092 ac_exeext=$EXEEXT
 3093 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
 3094 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 3095 if test "${ac_cv_objext+set}" = set; then
 3096   echo $ECHO_N "(cached) $ECHO_C" >&6
 3097 else
 3098   cat >conftest.$ac_ext <<_ACEOF
 3099 /* confdefs.h.  */
 3100 _ACEOF
 3101 cat confdefs.h >>conftest.$ac_ext
 3102 cat >>conftest.$ac_ext <<_ACEOF
 3103 /* end confdefs.h.  */
 3104 
 3105 int
 3106 main ()
 3107 {
 3108 
 3109   ;
 3110   return 0;
 3111 }
 3112 _ACEOF
 3113 rm -f conftest.o conftest.obj
 3114 if { (ac_try="$ac_compile"
 3115 case "(($ac_try" in
 3116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3117   *) ac_try_echo=$ac_try;;
 3118 esac
 3119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3120   (eval "$ac_compile") 2>&5
 3121   ac_status=$?
 3122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3123   (exit $ac_status); }; then
 3124   for ac_file in conftest.o conftest.obj conftest.*; do
 3125   test -f "$ac_file" || continue;
 3126   case $ac_file in
 3127     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 3128     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3129        break;;
 3130   esac
 3131 done
 3132 else
 3133   echo "$as_me: failed program was:" >&5
 3134 sed 's/^/| /' conftest.$ac_ext >&5
 3135 
 3136 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 3137 See \`config.log' for more details." >&5
 3138 echo "$as_me: error: cannot compute suffix of object files: cannot compile
 3139 See \`config.log' for more details." >&2;}
 3140    { (exit 1); exit 1; }; }
 3141 fi
 3142 
 3143 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3144 fi
 3145 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 3146 echo "${ECHO_T}$ac_cv_objext" >&6; }
 3147 OBJEXT=$ac_cv_objext
 3148 ac_objext=$OBJEXT
 3149 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 3150 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 3151 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 3152   echo $ECHO_N "(cached) $ECHO_C" >&6
 3153 else
 3154   cat >conftest.$ac_ext <<_ACEOF
 3155 /* confdefs.h.  */
 3156 _ACEOF
 3157 cat confdefs.h >>conftest.$ac_ext
 3158 cat >>conftest.$ac_ext <<_ACEOF
 3159 /* end confdefs.h.  */
 3160 
 3161 int
 3162 main ()
 3163 {
 3164 #ifndef __GNUC__
 3165        choke me
 3166 #endif
 3167 
 3168   ;
 3169   return 0;
 3170 }
 3171 _ACEOF
 3172 rm -f conftest.$ac_objext
 3173 if { (ac_try="$ac_compile"
 3174 case "(($ac_try" in
 3175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3176   *) ac_try_echo=$ac_try;;
 3177 esac
 3178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3179   (eval "$ac_compile") 2>conftest.er1
 3180   ac_status=$?
 3181   grep -v '^ *+' conftest.er1 >conftest.err
 3182   rm -f conftest.er1
 3183   cat conftest.err >&5
 3184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3185   (exit $ac_status); } && {
 3186      test -z "$ac_c_werror_flag" ||
 3187      test ! -s conftest.err
 3188        } && test -s conftest.$ac_objext; then
 3189   ac_compiler_gnu=yes
 3190 else
 3191   echo "$as_me: failed program was:" >&5
 3192 sed 's/^/| /' conftest.$ac_ext >&5
 3193 
 3194     ac_compiler_gnu=no
 3195 fi
 3196 
 3197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3198 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3199 
 3200 fi
 3201 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 3202 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 3203 GCC=`test $ac_compiler_gnu = yes && echo yes`
 3204 ac_test_CFLAGS=${CFLAGS+set}
 3205 ac_save_CFLAGS=$CFLAGS
 3206 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 3207 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 3208 if test "${ac_cv_prog_cc_g+set}" = set; then
 3209   echo $ECHO_N "(cached) $ECHO_C" >&6
 3210 else
 3211   ac_save_c_werror_flag=$ac_c_werror_flag
 3212    ac_c_werror_flag=yes
 3213    ac_cv_prog_cc_g=no
 3214    CFLAGS="-g"
 3215    cat >conftest.$ac_ext <<_ACEOF
 3216 /* confdefs.h.  */
 3217 _ACEOF
 3218 cat confdefs.h >>conftest.$ac_ext
 3219 cat >>conftest.$ac_ext <<_ACEOF
 3220 /* end confdefs.h.  */
 3221 
 3222 int
 3223 main ()
 3224 {
 3225 
 3226   ;
 3227   return 0;
 3228 }
 3229 _ACEOF
 3230 rm -f conftest.$ac_objext
 3231 if { (ac_try="$ac_compile"
 3232 case "(($ac_try" in
 3233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3234   *) ac_try_echo=$ac_try;;
 3235 esac
 3236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3237   (eval "$ac_compile") 2>conftest.er1
 3238   ac_status=$?
 3239   grep -v '^ *+' conftest.er1 >conftest.err
 3240   rm -f conftest.er1
 3241   cat conftest.err >&5
 3242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3243   (exit $ac_status); } && {
 3244      test -z "$ac_c_werror_flag" ||
 3245      test ! -s conftest.err
 3246        } && test -s conftest.$ac_objext; then
 3247   ac_cv_prog_cc_g=yes
 3248 else
 3249   echo "$as_me: failed program was:" >&5
 3250 sed 's/^/| /' conftest.$ac_ext >&5
 3251 
 3252     CFLAGS=""
 3253       cat >conftest.$ac_ext <<_ACEOF
 3254 /* confdefs.h.  */
 3255 _ACEOF
 3256 cat confdefs.h >>conftest.$ac_ext
 3257 cat >>conftest.$ac_ext <<_ACEOF
 3258 /* end confdefs.h.  */
 3259 
 3260 int
 3261 main ()
 3262 {
 3263 
 3264   ;
 3265   return 0;
 3266 }
 3267 _ACEOF
 3268 rm -f conftest.$ac_objext
 3269 if { (ac_try="$ac_compile"
 3270 case "(($ac_try" in
 3271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3272   *) ac_try_echo=$ac_try;;
 3273 esac
 3274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3275   (eval "$ac_compile") 2>conftest.er1
 3276   ac_status=$?
 3277   grep -v '^ *+' conftest.er1 >conftest.err
 3278   rm -f conftest.er1
 3279   cat conftest.err >&5
 3280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3281   (exit $ac_status); } && {
 3282      test -z "$ac_c_werror_flag" ||
 3283      test ! -s conftest.err
 3284        } && test -s conftest.$ac_objext; then
 3285   :
 3286 else
 3287   echo "$as_me: failed program was:" >&5
 3288 sed 's/^/| /' conftest.$ac_ext >&5
 3289 
 3290     ac_c_werror_flag=$ac_save_c_werror_flag
 3291      CFLAGS="-g"
 3292      cat >conftest.$ac_ext <<_ACEOF
 3293 /* confdefs.h.  */
 3294 _ACEOF
 3295 cat confdefs.h >>conftest.$ac_ext
 3296 cat >>conftest.$ac_ext <<_ACEOF
 3297 /* end confdefs.h.  */
 3298 
 3299 int
 3300 main ()
 3301 {
 3302 
 3303   ;
 3304   return 0;
 3305 }
 3306 _ACEOF
 3307 rm -f conftest.$ac_objext
 3308 if { (ac_try="$ac_compile"
 3309 case "(($ac_try" in
 3310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3311   *) ac_try_echo=$ac_try;;
 3312 esac
 3313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3314   (eval "$ac_compile") 2>conftest.er1
 3315   ac_status=$?
 3316   grep -v '^ *+' conftest.er1 >conftest.err
 3317   rm -f conftest.er1
 3318   cat conftest.err >&5
 3319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3320   (exit $ac_status); } && {
 3321      test -z "$ac_c_werror_flag" ||
 3322      test ! -s conftest.err
 3323        } && test -s conftest.$ac_objext; then
 3324   ac_cv_prog_cc_g=yes
 3325 else
 3326   echo "$as_me: failed program was:" >&5
 3327 sed 's/^/| /' conftest.$ac_ext >&5
 3328 
 3329 
 3330 fi
 3331 
 3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3333 fi
 3334 
 3335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3336 fi
 3337 
 3338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3339    ac_c_werror_flag=$ac_save_c_werror_flag
 3340 fi
 3341 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 3342 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 3343 if test "$ac_test_CFLAGS" = set; then
 3344   CFLAGS=$ac_save_CFLAGS
 3345 elif test $ac_cv_prog_cc_g = yes; then
 3346   if test "$GCC" = yes; then
 3347     CFLAGS="-g -O2"
 3348   else
 3349     CFLAGS="-g"
 3350   fi
 3351 else
 3352   if test "$GCC" = yes; then
 3353     CFLAGS="-O2"
 3354   else
 3355     CFLAGS=
 3356   fi
 3357 fi
 3358 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 3359 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 3360 if test "${ac_cv_prog_cc_c89+set}" = set; then
 3361   echo $ECHO_N "(cached) $ECHO_C" >&6
 3362 else
 3363   ac_cv_prog_cc_c89=no
 3364 ac_save_CC=$CC
 3365 cat >conftest.$ac_ext <<_ACEOF
 3366 /* confdefs.h.  */
 3367 _ACEOF
 3368 cat confdefs.h >>conftest.$ac_ext
 3369 cat >>conftest.$ac_ext <<_ACEOF
 3370 /* end confdefs.h.  */
 3371 #include <stdarg.h>
 3372 #include <stdio.h>
 3373 #include <sys/types.h>
 3374 #include <sys/stat.h>
 3375 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3376 struct buf { int x; };
 3377 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3378 static char *e (p, i)
 3379      char **p;
 3380      int i;
 3381 {
 3382   return p[i];
 3383 }
 3384 static char *f (char * (*g) (char **, int), char **p, ...)
 3385 {
 3386   char *s;
 3387   va_list v;
 3388   va_start (v,p);
 3389   s = g (p, va_arg (v,int));
 3390   va_end (v);
 3391   return s;
 3392 }
 3393 
 3394 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3395    function prototypes and stuff, but not '\xHH' hex character constants.
 3396    These don't provoke an error unfortunately, instead are silently treated
 3397    as 'x'.  The following induces an error, until -std is added to get
 3398    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3399    array size at least.  It's necessary to write '\x00'==0 to get something
 3400    that's true only with -std.  */
 3401 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3402 
 3403 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3404    inside strings and character constants.  */
 3405 #define FOO(x) 'x'
 3406 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3407 
 3408 int test (int i, double x);
 3409 struct s1 {int (*f) (int a);};
 3410 struct s2 {int (*f) (double a);};
 3411 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3412 int argc;
 3413 char **argv;
 3414 int
 3415 main ()
 3416 {
 3417 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3418   ;
 3419   return 0;
 3420 }
 3421 _ACEOF
 3422 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3423     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3424 do
 3425   CC="$ac_save_CC $ac_arg"
 3426   rm -f conftest.$ac_objext
 3427 if { (ac_try="$ac_compile"
 3428 case "(($ac_try" in
 3429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3430   *) ac_try_echo=$ac_try;;
 3431 esac
 3432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3433   (eval "$ac_compile") 2>conftest.er1
 3434   ac_status=$?
 3435   grep -v '^ *+' conftest.er1 >conftest.err
 3436   rm -f conftest.er1
 3437   cat conftest.err >&5
 3438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3439   (exit $ac_status); } && {
 3440      test -z "$ac_c_werror_flag" ||
 3441      test ! -s conftest.err
 3442        } && test -s conftest.$ac_objext; then
 3443   ac_cv_prog_cc_c89=$ac_arg
 3444 else
 3445   echo "$as_me: failed program was:" >&5
 3446 sed 's/^/| /' conftest.$ac_ext >&5
 3447 
 3448 
 3449 fi
 3450 
 3451 rm -f core conftest.err conftest.$ac_objext
 3452   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3453 done
 3454 rm -f conftest.$ac_ext
 3455 CC=$ac_save_CC
 3456 
 3457 fi
 3458 # AC_CACHE_VAL
 3459 case "x$ac_cv_prog_cc_c89" in
 3460   x)
 3461     { echo "$as_me:$LINENO: result: none needed" >&5
 3462 echo "${ECHO_T}none needed" >&6; } ;;
 3463   xno)
 3464     { echo "$as_me:$LINENO: result: unsupported" >&5
 3465 echo "${ECHO_T}unsupported" >&6; } ;;
 3466   *)
 3467     CC="$CC $ac_cv_prog_cc_c89"
 3468     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 3469 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 3470 esac
 3471 
 3472 
 3473 ac_ext=c
 3474 ac_cpp='$CPP $CPPFLAGS'
 3475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3478 DEPDIR="${am__leading_dot}deps"
 3479 
 3480 ac_config_commands="$ac_config_commands depfiles"
 3481 
 3482 
 3483 am_make=${MAKE-make}
 3484 cat > confinc << 'END'
 3485 am__doit:
 3486     @echo done
 3487 .PHONY: am__doit
 3488 END
 3489 # If we don't find an include directive, just comment out the code.
 3490 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 3491 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 3492 am__include="#"
 3493 am__quote=
 3494 _am_result=none
 3495 # First try GNU make style include.
 3496 echo "include confinc" > confmf
 3497 # We grep out `Entering directory' and `Leaving directory'
 3498 # messages which can occur if `w' ends up in MAKEFLAGS.
 3499 # In particular we don't look at `^make:' because GNU make might
 3500 # be invoked under some other name (usually "gmake"), in which
 3501 # case it prints its new name instead of `make'.
 3502 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 3503    am__include=include
 3504    am__quote=
 3505    _am_result=GNU
 3506 fi
 3507 # Now try BSD make style include.
 3508 if test "$am__include" = "#"; then
 3509    echo '.include "confinc"' > confmf
 3510    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 3511       am__include=.include
 3512       am__quote="\""
 3513       _am_result=BSD
 3514    fi
 3515 fi
 3516 
 3517 
 3518 { echo "$as_me:$LINENO: result: $_am_result" >&5
 3519 echo "${ECHO_T}$_am_result" >&6; }
 3520 rm -f confinc confmf
 3521 
 3522 # Check whether --enable-dependency-tracking was given.
 3523 if test "${enable_dependency_tracking+set}" = set; then
 3524   enableval=$enable_dependency_tracking;
 3525 fi
 3526 
 3527 if test "x$enable_dependency_tracking" != xno; then
 3528   am_depcomp="$ac_aux_dir/depcomp"
 3529   AMDEPBACKSLASH='\'
 3530 fi
 3531 
 3532 
 3533 if test "x$enable_dependency_tracking" != xno; then
 3534   AMDEP_TRUE=
 3535   AMDEP_FALSE='#'
 3536 else
 3537   AMDEP_TRUE='#'
 3538   AMDEP_FALSE=
 3539 fi
 3540 
 3541 
 3542 
 3543 
 3544 depcc="$CC"   am_compiler_list=
 3545 
 3546 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 3547 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 3548 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 3549   echo $ECHO_N "(cached) $ECHO_C" >&6
 3550 else
 3551   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3552   # We make a subdir and do the tests there.  Otherwise we can end up
 3553   # making bogus files that we don't know about and never remove.  For
 3554   # instance it was reported that on HP-UX the gcc test will end up
 3555   # making a dummy file named `D' -- because `-MD' means `put the output
 3556   # in D'.
 3557   mkdir conftest.dir
 3558   # Copy depcomp to subdir because otherwise we won't find it if we're
 3559   # using a relative directory.
 3560   cp "$am_depcomp" conftest.dir
 3561   cd conftest.dir
 3562   # We will build objects and dependencies in a subdirectory because
 3563   # it helps to detect inapplicable dependency modes.  For instance
 3564   # both Tru64's cc and ICC support -MD to output dependencies as a
 3565   # side effect of compilation, but ICC will put the dependencies in
 3566   # the current directory while Tru64 will put them in the object
 3567   # directory.
 3568   mkdir sub
 3569 
 3570   am_cv_CC_dependencies_compiler_type=none
 3571   if test "$am_compiler_list" = ""; then
 3572      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3573   fi
 3574   for depmode in $am_compiler_list; do
 3575     # Setup a source with many dependencies, because some compilers
 3576     # like to wrap large dependency lists on column 80 (with \), and
 3577     # we should not choose a depcomp mode which is confused by this.
 3578     #
 3579     # We need to recreate these files for each test, as the compiler may
 3580     # overwrite some of them when testing with obscure command lines.
 3581     # This happens at least with the AIX C compiler.
 3582     : > sub/conftest.c
 3583     for i in 1 2 3 4 5 6; do
 3584       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3585       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3586       # Solaris 8's {/usr,}/bin/sh.
 3587       touch sub/conftst$i.h
 3588     done
 3589     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3590 
 3591     case $depmode in
 3592     nosideeffect)
 3593       # after this tag, mechanisms are not by side-effect, so they'll
 3594       # only be used when explicitly requested
 3595       if test "x$enable_dependency_tracking" = xyes; then
 3596     continue
 3597       else
 3598     break
 3599       fi
 3600       ;;
 3601     none) break ;;
 3602     esac
 3603     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3604     # mode.  It turns out that the SunPro C++ compiler does not properly
 3605     # handle `-M -o', and we need to detect this.
 3606     if depmode=$depmode \
 3607        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 3608        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3609        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 3610          >/dev/null 2>conftest.err &&
 3611        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3612        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 3613        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3614       # icc doesn't choke on unknown options, it will just issue warnings
 3615       # or remarks (even with -Werror).  So we grep stderr for any message
 3616       # that says an option was ignored or not supported.
 3617       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3618       #   icc: Command line warning: ignoring option '-M'; no argument required
 3619       # The diagnosis changed in icc 8.0:
 3620       #   icc: Command line remark: option '-MP' not supported
 3621       if (grep 'ignoring option' conftest.err ||
 3622           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3623         am_cv_CC_dependencies_compiler_type=$depmode
 3624         break
 3625       fi
 3626     fi
 3627   done
 3628 
 3629   cd ..
 3630   rm -rf conftest.dir
 3631 else
 3632   am_cv_CC_dependencies_compiler_type=none
 3633 fi
 3634 
 3635 fi
 3636 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 3637 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 3638 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3639 
 3640 
 3641 
 3642 if
 3643   test "x$enable_dependency_tracking" != xno \
 3644   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 3645   am__fastdepCC_TRUE=
 3646   am__fastdepCC_FALSE='#'
 3647 else
 3648   am__fastdepCC_TRUE='#'
 3649   am__fastdepCC_FALSE=
 3650 fi
 3651 
 3652 
 3653 if test -n "$ac_tool_prefix"; then
 3654   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 3655 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 3656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 3657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 3658 if test "${ac_cv_prog_RANLIB+set}" = set; then
 3659   echo $ECHO_N "(cached) $ECHO_C" >&6
 3660 else
 3661   if test -n "$RANLIB"; then
 3662   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 3663 else
 3664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3665 for as_dir in $PATH
 3666 do
 3667   IFS=$as_save_IFS
 3668   test -z "$as_dir" && as_dir=.
 3669   for ac_exec_ext in '' $ac_executable_extensions; do
 3670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3671     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 3672     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3673     break 2
 3674   fi
 3675 done
 3676 done
 3677 IFS=$as_save_IFS
 3678 
 3679 fi
 3680 fi
 3681 RANLIB=$ac_cv_prog_RANLIB
 3682 if test -n "$RANLIB"; then
 3683   { echo "$as_me:$LINENO: result: $RANLIB" >&5
 3684 echo "${ECHO_T}$RANLIB" >&6; }
 3685 else
 3686   { echo "$as_me:$LINENO: result: no" >&5
 3687 echo "${ECHO_T}no" >&6; }
 3688 fi
 3689 
 3690 
 3691 fi
 3692 if test -z "$ac_cv_prog_RANLIB"; then
 3693   ac_ct_RANLIB=$RANLIB
 3694   # Extract the first word of "ranlib", so it can be a program name with args.
 3695 set dummy ranlib; ac_word=$2
 3696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 3697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 3698 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 3699   echo $ECHO_N "(cached) $ECHO_C" >&6
 3700 else
 3701   if test -n "$ac_ct_RANLIB"; then
 3702   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 3703 else
 3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3705 for as_dir in $PATH
 3706 do
 3707   IFS=$as_save_IFS
 3708   test -z "$as_dir" && as_dir=.
 3709   for ac_exec_ext in '' $ac_executable_extensions; do
 3710   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3711     ac_cv_prog_ac_ct_RANLIB="ranlib"
 3712     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3713     break 2
 3714   fi
 3715 done
 3716 done
 3717 IFS=$as_save_IFS
 3718 
 3719 fi
 3720 fi
 3721 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 3722 if test -n "$ac_ct_RANLIB"; then
 3723   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 3724 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 3725 else
 3726   { echo "$as_me:$LINENO: result: no" >&5
 3727 echo "${ECHO_T}no" >&6; }
 3728 fi
 3729 
 3730   if test "x$ac_ct_RANLIB" = x; then
 3731     RANLIB=":"
 3732   else
 3733     case $cross_compiling:$ac_tool_warned in
 3734 yes:)
 3735 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 3736 whose name does not start with the host triplet.  If you think this
 3737 configuration is useful to you, please write to autoconf@gnu.org." >&5
 3738 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 3739 whose name does not start with the host triplet.  If you think this
 3740 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 3741 ac_tool_warned=yes ;;
 3742 esac
 3743     RANLIB=$ac_ct_RANLIB
 3744   fi
 3745 else
 3746   RANLIB="$ac_cv_prog_RANLIB"
 3747 fi
 3748 
 3749 
 3750 
 3751 
 3752 ac_ext=c
 3753 ac_cpp='$CPP $CPPFLAGS'
 3754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3757 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 3758 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 3759 # On Suns, sometimes $CPP names a directory.
 3760 if test -n "$CPP" && test -d "$CPP"; then
 3761   CPP=
 3762 fi
 3763 if test -z "$CPP"; then
 3764   if test "${ac_cv_prog_CPP+set}" = set; then
 3765   echo $ECHO_N "(cached) $ECHO_C" >&6
 3766 else
 3767       # Double quotes because CPP needs to be expanded
 3768     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 3769     do
 3770       ac_preproc_ok=false
 3771 for ac_c_preproc_warn_flag in '' yes
 3772 do
 3773   # Use a header file that comes with gcc, so configuring glibc
 3774   # with a fresh cross-compiler works.
 3775   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3776   # <limits.h> exists even on freestanding compilers.
 3777   # On the NeXT, cc -E runs the code through the compiler's parser,
 3778   # not just through cpp. "Syntax error" is here to catch this case.
 3779   cat >conftest.$ac_ext <<_ACEOF
 3780 /* confdefs.h.  */
 3781 _ACEOF
 3782 cat confdefs.h >>conftest.$ac_ext
 3783 cat >>conftest.$ac_ext <<_ACEOF
 3784 /* end confdefs.h.  */
 3785 #ifdef __STDC__
 3786 # include <limits.h>
 3787 #else
 3788 # include <assert.h>
 3789 #endif
 3790              Syntax error
 3791 _ACEOF
 3792 if { (ac_try="$ac_cpp conftest.$ac_ext"
 3793 case "(($ac_try" in
 3794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3795   *) ac_try_echo=$ac_try;;
 3796 esac
 3797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3798   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 3799   ac_status=$?
 3800   grep -v '^ *+' conftest.er1 >conftest.err
 3801   rm -f conftest.er1
 3802   cat conftest.err >&5
 3803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3804   (exit $ac_status); } >/dev/null && {
 3805      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 3806      test ! -s conftest.err
 3807        }; then
 3808   :
 3809 else
 3810   echo "$as_me: failed program was:" >&5
 3811 sed 's/^/| /' conftest.$ac_ext >&5
 3812 
 3813   # Broken: fails on valid input.
 3814 continue
 3815 fi
 3816 
 3817 rm -f conftest.err conftest.$ac_ext
 3818 
 3819   # OK, works on sane cases.  Now check whether nonexistent headers
 3820   # can be detected and how.
 3821   cat >conftest.$ac_ext <<_ACEOF
 3822 /* confdefs.h.  */
 3823 _ACEOF
 3824 cat confdefs.h >>conftest.$ac_ext
 3825 cat >>conftest.$ac_ext <<_ACEOF
 3826 /* end confdefs.h.  */
 3827 #include <ac_nonexistent.h>
 3828 _ACEOF
 3829 if { (ac_try="$ac_cpp conftest.$ac_ext"
 3830 case "(($ac_try" in
 3831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3832   *) ac_try_echo=$ac_try;;
 3833 esac
 3834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3835   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 3836   ac_status=$?
 3837   grep -v '^ *+' conftest.er1 >conftest.err
 3838   rm -f conftest.er1
 3839   cat conftest.err >&5
 3840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3841   (exit $ac_status); } >/dev/null && {
 3842      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 3843      test ! -s conftest.err
 3844        }; then
 3845   # Broken: success on invalid input.
 3846 continue
 3847 else
 3848   echo "$as_me: failed program was:" >&5
 3849 sed 's/^/| /' conftest.$ac_ext >&5
 3850 
 3851   # Passes both tests.
 3852 ac_preproc_ok=:
 3853 break
 3854 fi
 3855 
 3856 rm -f conftest.err conftest.$ac_ext
 3857 
 3858 done
 3859 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3860 rm -f conftest.err conftest.$ac_ext
 3861 if $ac_preproc_ok; then
 3862   break
 3863 fi
 3864 
 3865     done
 3866     ac_cv_prog_CPP=$CPP
 3867 
 3868 fi
 3869   CPP=$ac_cv_prog_CPP
 3870 else
 3871   ac_cv_prog_CPP=$CPP
 3872 fi
 3873 { echo "$as_me:$LINENO: result: $CPP" >&5
 3874 echo "${ECHO_T}$CPP" >&6; }
 3875 ac_preproc_ok=false
 3876 for ac_c_preproc_warn_flag in '' yes
 3877 do
 3878   # Use a header file that comes with gcc, so configuring glibc
 3879   # with a fresh cross-compiler works.
 3880   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3881   # <limits.h> exists even on freestanding compilers.
 3882   # On the NeXT, cc -E runs the code through the compiler's parser,
 3883   # not just through cpp. "Syntax error" is here to catch this case.
 3884   cat >conftest.$ac_ext <<_ACEOF
 3885 /* confdefs.h.  */
 3886 _ACEOF
 3887 cat confdefs.h >>conftest.$ac_ext
 3888 cat >>conftest.$ac_ext <<_ACEOF
 3889 /* end confdefs.h.  */
 3890 #ifdef __STDC__
 3891 # include <limits.h>
 3892 #else
 3893 # include <assert.h>
 3894 #endif
 3895              Syntax error
 3896 _ACEOF
 3897 if { (ac_try="$ac_cpp conftest.$ac_ext"
 3898 case "(($ac_try" in
 3899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3900   *) ac_try_echo=$ac_try;;
 3901 esac
 3902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3903   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 3904   ac_status=$?
 3905   grep -v '^ *+' conftest.er1 >conftest.err
 3906   rm -f conftest.er1
 3907   cat conftest.err >&5
 3908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3909   (exit $ac_status); } >/dev/null && {
 3910      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 3911      test ! -s conftest.err
 3912        }; then
 3913   :
 3914 else
 3915   echo "$as_me: failed program was:" >&5
 3916 sed 's/^/| /' conftest.$ac_ext >&5
 3917 
 3918   # Broken: fails on valid input.
 3919 continue
 3920 fi
 3921 
 3922 rm -f conftest.err conftest.$ac_ext
 3923 
 3924   # OK, works on sane cases.  Now check whether nonexistent headers
 3925   # can be detected and how.
 3926   cat >conftest.$ac_ext <<_ACEOF
 3927 /* confdefs.h.  */
 3928 _ACEOF
 3929 cat confdefs.h >>conftest.$ac_ext
 3930 cat >>conftest.$ac_ext <<_ACEOF
 3931 /* end confdefs.h.  */
 3932 #include <ac_nonexistent.h>
 3933 _ACEOF
 3934 if { (ac_try="$ac_cpp conftest.$ac_ext"
 3935 case "(($ac_try" in
 3936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3937   *) ac_try_echo=$ac_try;;
 3938 esac
 3939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3940   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 3941   ac_status=$?
 3942   grep -v '^ *+' conftest.er1 >conftest.err
 3943   rm -f conftest.er1
 3944   cat conftest.err >&5
 3945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3946   (exit $ac_status); } >/dev/null && {
 3947      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 3948      test ! -s conftest.err
 3949        }; then
 3950   # Broken: success on invalid input.
 3951 continue
 3952 else
 3953   echo "$as_me: failed program was:" >&5
 3954 sed 's/^/| /' conftest.$ac_ext >&5
 3955 
 3956   # Passes both tests.
 3957 ac_preproc_ok=:
 3958 break
 3959 fi
 3960 
 3961 rm -f conftest.err conftest.$ac_ext
 3962 
 3963 done
 3964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3965 rm -f conftest.err conftest.$ac_ext
 3966 if $ac_preproc_ok; then
 3967   :
 3968 else
 3969   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 3970 See \`config.log' for more details." >&5
 3971 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 3972 See \`config.log' for more details." >&2;}
 3973    { (exit 1); exit 1; }; }
 3974 fi
 3975 
 3976 ac_ext=c
 3977 ac_cpp='$CPP $CPPFLAGS'
 3978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3981 
 3982 # Find a good install program.  We prefer a C program (faster),
 3983 # so one script is as good as another.  But avoid the broken or
 3984 # incompatible versions:
 3985 # SysV /etc/install, /usr/sbin/install
 3986 # SunOS /usr/etc/install
 3987 # IRIX /sbin/install
 3988 # AIX /bin/install
 3989 # AmigaOS /C/install, which installs bootblocks on floppy discs
 3990 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 3991 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 3992 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 3993 # OS/2's system install, which has a completely different semantic
 3994 # ./install, which can be erroneously created by make from ./install.sh.
 3995 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 3996 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 3997 if test -z "$INSTALL"; then
 3998 if test "${ac_cv_path_install+set}" = set; then
 3999   echo $ECHO_N "(cached) $ECHO_C" >&6
 4000 else
 4001   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4002 for as_dir in $PATH
 4003 do
 4004   IFS=$as_save_IFS
 4005   test -z "$as_dir" && as_dir=.
 4006   # Account for people who put trailing slashes in PATH elements.
 4007 case $as_dir/ in
 4008   ./ | .// | /cC/* | \
 4009   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 4010   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 4011   /usr/ucb/* ) ;;
 4012   *)
 4013     # OSF1 and SCO ODT 3.0 have their own names for install.
 4014     # Don't use installbsd from OSF since it installs stuff as root
 4015     # by default.
 4016     for ac_prog in ginstall scoinst install; do
 4017       for ac_exec_ext in '' $ac_executable_extensions; do
 4018     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 4019       if test $ac_prog = install &&
 4020         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 4021         # AIX install.  It has an incompatible calling convention.
 4022         :
 4023       elif test $ac_prog = install &&
 4024         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 4025         # program-specific install script used by HP pwplus--don't use.
 4026         :
 4027       else
 4028         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 4029         break 3
 4030       fi
 4031     fi
 4032       done
 4033     done
 4034     ;;
 4035 esac
 4036 done
 4037 IFS=$as_save_IFS
 4038 
 4039 
 4040 fi
 4041   if test "${ac_cv_path_install+set}" = set; then
 4042     INSTALL=$ac_cv_path_install
 4043   else
 4044     # As a last resort, use the slow shell script.  Don't cache a
 4045     # value for INSTALL within a source directory, because that will
 4046     # break other packages using the cache if that directory is
 4047     # removed, or if the value is a relative name.
 4048     INSTALL=$ac_install_sh
 4049   fi
 4050 fi
 4051 { echo "$as_me:$LINENO: result: $INSTALL" >&5
 4052 echo "${ECHO_T}$INSTALL" >&6; }
 4053 
 4054 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 4055 # It thinks the first close brace ends the variable substitution.
 4056 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 4057 
 4058 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 4059 
 4060 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 4061 
 4062 
 4063 tre_version_1=`echo $PACKAGE_VERSION | cut -d . -f 1`
 4064 tre_version_2=`echo $PACKAGE_VERSION | cut -d . -f 2`
 4065 tre_version_3=`echo $PACKAGE_VERSION | cut -d . -f 3`
 4066 tre_version=$tre_version_1.$tre_version_2.$tre_version_3
 4067 
 4068 cat >>confdefs.h <<_ACEOF
 4069 #define TRE_VERSION "$tre_version"
 4070 _ACEOF
 4071 
 4072 
 4073 cat >>confdefs.h <<_ACEOF
 4074 #define TRE_VERSION_1 $tre_version_1
 4075 _ACEOF
 4076 
 4077 
 4078 cat >>confdefs.h <<_ACEOF
 4079 #define TRE_VERSION_2 $tre_version_2
 4080 _ACEOF
 4081 
 4082 
 4083 cat >>confdefs.h <<_ACEOF
 4084 #define TRE_VERSION_3 $tre_version_3
 4085 _ACEOF
 4086 
 4087 TRE_VERSION=$tre_version
 4088 
 4089 
 4090 # Check whether --enable-profile was given.
 4091 if test "${enable_profile+set}" = set; then
 4092   enableval=$enable_profile;  tre_profile="$enableval"
 4093 else
 4094    tre_profile="no"
 4095 fi
 4096 
 4097 
 4098 # Check whether --enable-debug was given.
 4099 if test "${enable_debug+set}" = set; then
 4100   enableval=$enable_debug;  tre_debug="$enableval"
 4101 else
 4102    tre_debug="no"
 4103 fi
 4104 
 4105 if test "$tre_debug" = "yes"; then
 4106 
 4107 
 4108 if true; then
 4109   TRE_DEBUG_TRUE=
 4110   TRE_DEBUG_FALSE='#'
 4111 else
 4112   TRE_DEBUG_TRUE='#'
 4113   TRE_DEBUG_FALSE=
 4114 fi
 4115 
 4116 
 4117 cat >>confdefs.h <<\_ACEOF
 4118 #define TRE_DEBUG 1
 4119 _ACEOF
 4120 
 4121 else
 4122 
 4123 
 4124 if false; then
 4125   TRE_DEBUG_TRUE=
 4126   TRE_DEBUG_FALSE='#'
 4127 else
 4128   TRE_DEBUG_TRUE='#'
 4129   TRE_DEBUG_FALSE=
 4130 fi
 4131 
 4132 
 4133 cat >>confdefs.h <<\_ACEOF
 4134 #define NDEBUG 1
 4135 _ACEOF
 4136 
 4137 fi
 4138 
 4139 if test "$tre_profile" = "yes"; then
 4140   CFLAGS="$CFLAGS -pg"
 4141 
 4142 
 4143 if true; then
 4144   TRE_PROFILE_TRUE=
 4145   TRE_PROFILE_FALSE='#'
 4146 else
 4147   TRE_PROFILE_TRUE='#'
 4148   TRE_PROFILE_FALSE=
 4149 fi
 4150 
 4151 else
 4152 
 4153 
 4154 if false; then
 4155   TRE_PROFILE_TRUE=
 4156   TRE_PROFILE_FALSE='#'
 4157 else
 4158   TRE_PROFILE_TRUE='#'
 4159   TRE_PROFILE_FALSE=
 4160 fi
 4161 
 4162 fi
 4163 
 4164 # Check whether --enable-warnings was given.
 4165 if test "${enable_warnings+set}" = set; then
 4166   enableval=$enable_warnings;  tre_cc_warnings="$enableval"
 4167 else
 4168    tre_cc_warnings="yes"
 4169 fi
 4170 
 4171 if test "$tre_cc_warnings" = "yes"; then
 4172 
 4173   # Don't override if CFLAGS was already set.
 4174   if test -z "$ac_env_CFLAGS_set"; then
 4175     ansi=
 4176     if test -z "$ansi"; then
 4177       msg="for C compiler warning flags"
 4178     else
 4179       msg="for C compiler warning and ANSI conformance flags"
 4180     fi
 4181     { echo "$as_me:$LINENO: checking $msg" >&5
 4182 echo $ECHO_N "checking $msg... $ECHO_C" >&6; }
 4183 if test "${vl_cv_prog_cc_warnings+set}" = set; then
 4184   echo $ECHO_N "(cached) $ECHO_C" >&6
 4185 else
 4186 
 4187       if test -n "$CC"; then
 4188         cat > conftest.c <<EOF
 4189 int main(int argc, char **argv) { return 0; }
 4190 EOF
 4191 
 4192                 if test "$GCC" = "yes"; then
 4193           if test -z "$ansi"; then
 4194             vl_cv_prog_cc_warnings="-Wall"
 4195           else
 4196             vl_cv_prog_cc_warnings="-Wall -ansi -pedantic"
 4197           fi
 4198 
 4199 
 4200                 elif $CC -V 2>&1 | grep -i "WorkShop" > /dev/null 2>&1 &&
 4201              $CC -c -v -Xc conftest.c > /dev/null 2>&1 &&
 4202              test -f conftest.o; then
 4203           if test -z "$ansi"; then
 4204             vl_cv_prog_cc_warnings="-v"
 4205           else
 4206             vl_cv_prog_cc_warnings="-v -Xc"
 4207           fi
 4208 
 4209                 elif ($CC -V 2>&1 | grep -i "Digital UNIX Compiler" > /dev/null 2>&1 ||
 4210               $CC -V 2>&1 | grep -i "Compaq C" > /dev/null 2>&1) &&
 4211              $CC -c -verbose -w0 -warnprotos -std1 conftest.c > /dev/null 2>&1 &&
 4212              test -f conftest.o; then
 4213           if test -z "$ansi"; then
 4214             vl_cv_prog_cc_warnings="-verbose -w0 -warnprotos"
 4215           else
 4216             vl_cv_prog_cc_warnings="-verbose -w0 -warnprotos -std1"
 4217           fi
 4218 
 4219                 elif $CC 2>&1 | grep -i "C for AIX Compiler" > /dev/null 2>&1 &&
 4220          $CC -c -qlanglvl=ansi -qinfo=all conftest.c > /dev/null 2>&1 &&
 4221              test -f conftest.o; then
 4222           if test -z "$ansi"; then
 4223             vl_cv_prog_cc_warnings="-qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd:nouni:nocnv"
 4224           else
 4225             vl_cv_prog_cc_warnings="-qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd:nouni:nocnv -qlanglvl=ansi"
 4226           fi
 4227 
 4228                 elif $CC -version 2>&1 | grep -i "MIPSpro Compilers" > /dev/null 2>&1 &&
 4229              $CC -c -fullwarn -ansi -ansiE conftest.c > /dev/null 2>&1 &&
 4230              test -f conftest.o; then
 4231           if test -z "$ansi"; then
 4232             vl_cv_prog_cc_warnings="-fullwarn"
 4233           else
 4234             vl_cv_prog_cc_warnings="-fullwarn -ansi -ansiE"
 4235           fi
 4236 
 4237                 elif what $CC 2>&1 | grep -i "HP C Compiler" > /dev/null 2>&1 &&
 4238              $CC -c -Aa +w1 conftest.c > /dev/null 2>&1 &&
 4239              test -f conftest.o; then
 4240           if test -z "$ansi"; then
 4241             vl_cv_prog_cc_warnings="+w1"
 4242           else
 4243             vl_cv_prog_cc_warnings="+w1 -Aa"
 4244           fi
 4245 
 4246                 elif $CC -V 2>&1 | grep "/SX" > /dev/null 2>&1 &&
 4247              $CC -c -pvctl,fullmsg -Xc conftest.c > /dev/null 2>&1 &&
 4248              test -f conftest.o; then
 4249           if test -z "$ansi"; then
 4250             vl_cv_prog_cc_warnings="-pvctl,fullmsg"
 4251           else
 4252             vl_cv_prog_cc_warnings="-pvctl,fullmsg -Xc"
 4253           fi
 4254 
 4255                 elif $CC -V 2>&1 | grep -i "Cray" > /dev/null 2>&1 &&
 4256              $CC -c -h msglevel 2 conftest.c > /dev/null 2>&1 &&
 4257              test -f conftest.o; then
 4258           if test -z "$ansi"; then
 4259             vl_cv_prog_cc_warnings="-h msglevel 2"
 4260           else
 4261             vl_cv_prog_cc_warnings="-h msglevel 2 -h conform"
 4262           fi
 4263 
 4264         fi
 4265         rm -f conftest.*
 4266       fi
 4267       if test -n "$vl_cv_prog_cc_warnings"; then
 4268         CFLAGS="$CFLAGS $vl_cv_prog_cc_warnings"
 4269       else
 4270         vl_cv_prog_cc_warnings="unknown"
 4271       fi
 4272 
 4273 fi
 4274 { echo "$as_me:$LINENO: result: $vl_cv_prog_cc_warnings" >&5
 4275 echo "${ECHO_T}$vl_cv_prog_cc_warnings" >&6; }
 4276   fi
 4277 
 4278 fi
 4279 
 4280 # Check whether --enable-approx was given.
 4281 if test "${enable_approx+set}" = set; then
 4282   enableval=$enable_approx;  tre_approx="$enableval"
 4283 else
 4284    tre_approx="yes"
 4285 fi
 4286 
 4287 if test "$tre_approx" = "yes"; then
 4288 
 4289 cat >>confdefs.h <<\_ACEOF
 4290 #define TRE_APPROX 1
 4291 _ACEOF
 4292 
 4293 
 4294 
 4295 if true; then
 4296   TRE_APPROX_TRUE=
 4297   TRE_APPROX_FALSE='#'
 4298 else
 4299   TRE_APPROX_TRUE='#'
 4300   TRE_APPROX_FALSE=
 4301 fi
 4302 
 4303 else
 4304 
 4305 
 4306 if false; then
 4307   TRE_APPROX_TRUE=
 4308   TRE_APPROX_FALSE='#'
 4309 else
 4310   TRE_APPROX_TRUE='#'
 4311   TRE_APPROX_FALSE=
 4312 fi
 4313 
 4314 fi
 4315 
 4316 if test "$tre_approx" = "yes"; then
 4317   # Check whether --enable-agrep was given.
 4318 if test "${enable_agrep+set}" = set; then
 4319   enableval=$enable_agrep;  tre_agrep="$enableval"
 4320 else
 4321    tre_agrep="yes"
 4322 fi
 4323 
 4324 else
 4325   tre_agrep="no (requires approximate matching)"
 4326 fi
 4327 
 4328 if test "$tre_agrep" = "yes"; then
 4329 
 4330 
 4331 if true; then
 4332   TRE_AGREP_TRUE=
 4333   TRE_AGREP_FALSE='#'
 4334 else
 4335   TRE_AGREP_TRUE='#'
 4336   TRE_AGREP_FALSE=
 4337 fi
 4338 
 4339 else
 4340 
 4341 
 4342 if false; then
 4343   TRE_AGREP_TRUE=
 4344   TRE_AGREP_FALSE='#'
 4345 else
 4346   TRE_AGREP_TRUE='#'
 4347   TRE_AGREP_FALSE=
 4348 fi
 4349 
 4350 fi
 4351 
 4352 
 4353 
 4354 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 4355 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
 4356 if test "${ac_cv_c_const+set}" = set; then
 4357   echo $ECHO_N "(cached) $ECHO_C" >&6
 4358 else
 4359   cat >conftest.$ac_ext <<_ACEOF
 4360 /* confdefs.h.  */
 4361 _ACEOF
 4362 cat confdefs.h >>conftest.$ac_ext
 4363 cat >>conftest.$ac_ext <<_ACEOF
 4364 /* end confdefs.h.  */
 4365 
 4366 int
 4367 main ()
 4368 {
 4369 /* FIXME: Include the comments suggested by Paul. */
 4370 #ifndef __cplusplus
 4371   /* Ultrix mips cc rejects this.  */
 4372   typedef int charset[2];
 4373   const charset cs;
 4374   /* SunOS 4.1.1 cc rejects this.  */
 4375   char const *const *pcpcc;
 4376   char **ppc;
 4377   /* NEC SVR4.0.2 mips cc rejects this.  */
 4378   struct point {int x, y;};
 4379   static struct point const zero = {0,0};
 4380   /* AIX XL C 1.02.0.0 rejects this.
 4381      It does not let you subtract one const X* pointer from another in
 4382      an arm of an if-expression whose if-part is not a constant
 4383      expression */
 4384   const char *g = "string";
 4385   pcpcc = &g + (g ? g-g : 0);
 4386   /* HPUX 7.0 cc rejects these. */
 4387   ++pcpcc;
 4388   ppc = (char**) pcpcc;
 4389   pcpcc = (char const *const *) ppc;
 4390   { /* SCO 3.2v4 cc rejects this.  */
 4391     char *t;
 4392     char const *s = 0 ? (char *) 0 : (char const *) 0;
 4393 
 4394     *t++ = 0;
 4395     if (s) return 0;
 4396   }
 4397   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 4398     int x[] = {25, 17};
 4399     const int *foo = &x[0];
 4400     ++foo;
 4401   }
 4402   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 4403     typedef const int *iptr;
 4404     iptr p = 0;
 4405     ++p;
 4406   }
 4407   { /* AIX XL C 1.02.0.0 rejects this saying
 4408        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 4409     struct s { int j; const int *ap[3]; };
 4410     struct s *b; b->j = 5;
 4411   }
 4412   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 4413     const int foo = 10;
 4414     if (!foo) return 0;
 4415   }
 4416   return !cs[0] && !zero.x;
 4417 #endif
 4418 
 4419   ;
 4420   return 0;
 4421 }
 4422 _ACEOF
 4423 rm -f conftest.$ac_objext
 4424 if { (ac_try="$ac_compile"
 4425 case "(($ac_try" in
 4426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4427   *) ac_try_echo=$ac_try;;
 4428 esac
 4429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4430   (eval "$ac_compile") 2>conftest.er1
 4431   ac_status=$?
 4432   grep -v '^ *+' conftest.er1 >conftest.err
 4433   rm -f conftest.er1
 4434   cat conftest.err >&5
 4435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4436   (exit $ac_status); } && {
 4437      test -z "$ac_c_werror_flag" ||
 4438      test ! -s conftest.err
 4439        } && test -s conftest.$ac_objext; then
 4440   ac_cv_c_const=yes
 4441 else
 4442   echo "$as_me: failed program was:" >&5
 4443 sed 's/^/| /' conftest.$ac_ext >&5
 4444 
 4445     ac_cv_c_const=no
 4446 fi
 4447 
 4448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4449 fi
 4450 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 4451 echo "${ECHO_T}$ac_cv_c_const" >&6; }
 4452 if test $ac_cv_c_const = no; then
 4453 
 4454 cat >>confdefs.h <<\_ACEOF
 4455 #define const
 4456 _ACEOF
 4457 
 4458 fi
 4459 
 4460 { echo "$as_me:$LINENO: checking for inline" >&5
 4461 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
 4462 if test "${ac_cv_c_inline+set}" = set; then
 4463   echo $ECHO_N "(cached) $ECHO_C" >&6
 4464 else
 4465   ac_cv_c_inline=no
 4466 for ac_kw in inline __inline__ __inline; do
 4467   cat >conftest.$ac_ext <<_ACEOF
 4468 /* confdefs.h.  */
 4469 _ACEOF
 4470 cat confdefs.h >>conftest.$ac_ext
 4471 cat >>conftest.$ac_ext <<_ACEOF
 4472 /* end confdefs.h.  */
 4473 #ifndef __cplusplus
 4474 typedef int foo_t;
 4475 static $ac_kw foo_t static_foo () {return 0; }
 4476 $ac_kw foo_t foo () {return 0; }
 4477 #endif
 4478 
 4479 _ACEOF
 4480 rm -f conftest.$ac_objext
 4481 if { (ac_try="$ac_compile"
 4482 case "(($ac_try" in
 4483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4484   *) ac_try_echo=$ac_try;;
 4485 esac
 4486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4487   (eval "$ac_compile") 2>conftest.er1
 4488   ac_status=$?
 4489   grep -v '^ *+' conftest.er1 >conftest.err
 4490   rm -f conftest.er1
 4491   cat conftest.err >&5
 4492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4493   (exit $ac_status); } && {
 4494      test -z "$ac_c_werror_flag" ||
 4495      test ! -s conftest.err
 4496        } && test -s conftest.$ac_objext; then
 4497   ac_cv_c_inline=$ac_kw
 4498 else
 4499   echo "$as_me: failed program was:" >&5
 4500 sed 's/^/| /' conftest.$ac_ext >&5
 4501 
 4502 
 4503 fi
 4504 
 4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4506   test "$ac_cv_c_inline" != no && break
 4507 done
 4508 
 4509 fi
 4510 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 4511 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
 4512 
 4513 
 4514 case $ac_cv_c_inline in
 4515   inline | yes) ;;
 4516   *)
 4517     case $ac_cv_c_inline in
 4518       no) ac_val=;;
 4519       *) ac_val=$ac_cv_c_inline;;
 4520     esac
 4521     cat >>confdefs.h <<_ACEOF
 4522 #ifndef __cplusplus
 4523 #define inline $ac_val
 4524 #endif
 4525 _ACEOF
 4526     ;;
 4527 esac
 4528 
 4529 
 4530 
 4531 cat >>confdefs.h <<\_ACEOF
 4532 #define _GNU_SOURCE 1
 4533 _ACEOF
 4534 
 4535 
 4536 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 4537 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 4538 if test "${ac_cv_path_GREP+set}" = set; then
 4539   echo $ECHO_N "(cached) $ECHO_C" >&6
 4540 else
 4541   # Extract the first word of "grep ggrep" to use in msg output
 4542 if test -z "$GREP"; then
 4543 set dummy grep ggrep; ac_prog_name=$2
 4544 if test "${ac_cv_path_GREP+set}" = set; then
 4545   echo $ECHO_N "(cached) $ECHO_C" >&6
 4546 else
 4547   ac_path_GREP_found=false
 4548 # Loop through the user's path and test for each of PROGNAME-LIST
 4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4550 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4551 do
 4552   IFS=$as_save_IFS
 4553   test -z "$as_dir" && as_dir=.
 4554   for ac_prog in grep ggrep; do
 4555   for ac_exec_ext in '' $ac_executable_extensions; do
 4556     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 4557     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 4558     # Check for GNU ac_path_GREP and select it if it is found.
 4559   # Check for GNU $ac_path_GREP
 4560 case `"$ac_path_GREP" --version 2>&1` in
 4561 *GNU*)
 4562   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 4563 *)
 4564   ac_count=0
 4565   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 4566   while :
 4567   do
 4568     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4569     mv "conftest.tmp" "conftest.in"
 4570     cp "conftest.in" "conftest.nl"
 4571     echo 'GREP' >> "conftest.nl"
 4572     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4573     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4574     ac_count=`expr $ac_count + 1`
 4575     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 4576       # Best one so far, save it but keep looking for a better one
 4577       ac_cv_path_GREP="$ac_path_GREP"
 4578       ac_path_GREP_max=$ac_count
 4579     fi
 4580     # 10*(2^10) chars as input seems more than enough
 4581     test $ac_count -gt 10 && break
 4582   done
 4583   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4584 esac
 4585 
 4586 
 4587     $ac_path_GREP_found && break 3
 4588   done
 4589 done
 4590 
 4591 done
 4592 IFS=$as_save_IFS
 4593 
 4594 
 4595 fi
 4596 
 4597 GREP="$ac_cv_path_GREP"
 4598 if test -z "$GREP"; then
 4599   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 4600 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 4601    { (exit 1); exit 1; }; }
 4602 fi
 4603 
 4604 else
 4605   ac_cv_path_GREP=$GREP
 4606 fi
 4607 
 4608 
 4609 fi
 4610 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 4611 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 4612  GREP="$ac_cv_path_GREP"
 4613 
 4614 
 4615 { echo "$as_me:$LINENO: checking for egrep" >&5
 4616 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 4617 if test "${ac_cv_path_EGREP+set}" = set; then
 4618   echo $ECHO_N "(cached) $ECHO_C" >&6
 4619 else
 4620   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 4621    then ac_cv_path_EGREP="$GREP -E"
 4622    else
 4623      # Extract the first word of "egrep" to use in msg output
 4624 if test -z "$EGREP"; then
 4625 set dummy egrep; ac_prog_name=$2
 4626 if test "${ac_cv_path_EGREP+set}" = set; then
 4627   echo $ECHO_N "(cached) $ECHO_C" >&6
 4628 else
 4629   ac_path_EGREP_found=false
 4630 # Loop through the user's path and test for each of PROGNAME-LIST
 4631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4632 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4633 do
 4634   IFS=$as_save_IFS
 4635   test -z "$as_dir" && as_dir=.
 4636   for ac_prog in egrep; do
 4637   for ac_exec_ext in '' $ac_executable_extensions; do
 4638     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 4639     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 4640     # Check for GNU ac_path_EGREP and select it if it is found.
 4641   # Check for GNU $ac_path_EGREP
 4642 case `"$ac_path_EGREP" --version 2>&1` in
 4643 *GNU*)
 4644   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 4645 *)
 4646   ac_count=0
 4647   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 4648   while :
 4649   do
 4650     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4651     mv "conftest.tmp" "conftest.in"
 4652     cp "conftest.in" "conftest.nl"
 4653     echo 'EGREP' >> "conftest.nl"
 4654     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4655     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4656     ac_count=`expr $ac_count + 1`
 4657     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 4658       # Best one so far, save it but keep looking for a better one
 4659       ac_cv_path_EGREP="$ac_path_EGREP"
 4660       ac_path_EGREP_max=$ac_count
 4661     fi
 4662     # 10*(2^10) chars as input seems more than enough
 4663     test $ac_count -gt 10 && break
 4664   done
 4665   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4666 esac
 4667 
 4668 
 4669     $ac_path_EGREP_found && break 3
 4670   done
 4671 done
 4672 
 4673 done
 4674 IFS=$as_save_IFS
 4675 
 4676 
 4677 fi
 4678 
 4679 EGREP="$ac_cv_path_EGREP"
 4680 if test -z "$EGREP"; then
 4681   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 4682 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 4683    { (exit 1); exit 1; }; }
 4684 fi
 4685 
 4686 else
 4687   ac_cv_path_EGREP=$EGREP
 4688 fi
 4689 
 4690 
 4691    fi
 4692 fi
 4693 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 4694 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 4695  EGREP="$ac_cv_path_EGREP"
 4696 
 4697 
 4698 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 4699 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 4700 if test "${ac_cv_header_stdc+set}" = set; then
 4701   echo $ECHO_N "(cached) $ECHO_C" >&6
 4702 else
 4703   cat >conftest.$ac_ext <<_ACEOF
 4704 /* confdefs.h.  */
 4705 _ACEOF
 4706 cat confdefs.h >>conftest.$ac_ext
 4707 cat >>conftest.$ac_ext <<_ACEOF
 4708 /* end confdefs.h.  */
 4709 #include <stdlib.h>
 4710 #include <stdarg.h>
 4711 #include <string.h>
 4712 #include <float.h>
 4713 
 4714 int
 4715 main ()
 4716 {
 4717 
 4718   ;
 4719   return 0;
 4720 }
 4721 _ACEOF
 4722 rm -f conftest.$ac_objext
 4723 if { (ac_try="$ac_compile"
 4724 case "(($ac_try" in
 4725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4726   *) ac_try_echo=$ac_try;;
 4727 esac
 4728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4729   (eval "$ac_compile") 2>conftest.er1
 4730   ac_status=$?
 4731   grep -v '^ *+' conftest.er1 >conftest.err
 4732   rm -f conftest.er1
 4733   cat conftest.err >&5
 4734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4735   (exit $ac_status); } && {
 4736      test -z "$ac_c_werror_flag" ||
 4737      test ! -s conftest.err
 4738        } && test -s conftest.$ac_objext; then
 4739   ac_cv_header_stdc=yes
 4740 else
 4741   echo "$as_me: failed program was:" >&5
 4742 sed 's/^/| /' conftest.$ac_ext >&5
 4743 
 4744     ac_cv_header_stdc=no
 4745 fi
 4746 
 4747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4748 
 4749 if test $ac_cv_header_stdc = yes; then
 4750   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 4751   cat >conftest.$ac_ext <<_ACEOF
 4752 /* confdefs.h.  */
 4753 _ACEOF
 4754 cat confdefs.h >>conftest.$ac_ext
 4755 cat >>conftest.$ac_ext <<_ACEOF
 4756 /* end confdefs.h.  */
 4757 #include <string.h>
 4758 
 4759 _ACEOF
 4760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4761   $EGREP "memchr" >/dev/null 2>&1; then
 4762   :
 4763 else
 4764   ac_cv_header_stdc=no
 4765 fi
 4766 rm -f conftest*
 4767 
 4768 fi
 4769 
 4770 if test $ac_cv_header_stdc = yes; then
 4771   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 4772   cat >conftest.$ac_ext <<_ACEOF
 4773 /* confdefs.h.  */
 4774 _ACEOF
 4775 cat confdefs.h >>conftest.$ac_ext
 4776 cat >>conftest.$ac_ext <<_ACEOF
 4777 /* end confdefs.h.  */
 4778 #include <stdlib.h>
 4779 
 4780 _ACEOF
 4781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4782   $EGREP "free" >/dev/null 2>&1; then
 4783   :
 4784 else
 4785   ac_cv_header_stdc=no
 4786 fi
 4787 rm -f conftest*
 4788 
 4789 fi
 4790 
 4791 if test $ac_cv_header_stdc = yes; then
 4792   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 4793   if test "$cross_compiling" = yes; then
 4794   :
 4795 else
 4796   cat >conftest.$ac_ext <<_ACEOF
 4797 /* confdefs.h.  */
 4798 _ACEOF
 4799 cat confdefs.h >>conftest.$ac_ext
 4800 cat >>conftest.$ac_ext <<_ACEOF
 4801 /* end confdefs.h.  */
 4802 #include <ctype.h>
 4803 #include <stdlib.h>
 4804 #if ((' ' & 0x0FF) == 0x020)
 4805 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 4806 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 4807 #else
 4808 # define ISLOWER(c) \
 4809            (('a' <= (c) && (c) <= 'i') \
 4810              || ('j' <= (c) && (c) <= 'r') \
 4811              || ('s' <= (c) && (c) <= 'z'))
 4812 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 4813 #endif
 4814 
 4815 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 4816 int
 4817 main ()
 4818 {
 4819   int i;
 4820   for (i = 0; i < 256; i++)
 4821     if (XOR (islower (i), ISLOWER (i))
 4822     || toupper (i) != TOUPPER (i))
 4823       return 2;
 4824   return 0;
 4825 }
 4826 _ACEOF
 4827 rm -f conftest$ac_exeext
 4828 if { (ac_try="$ac_link"
 4829 case "(($ac_try" in
 4830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4831   *) ac_try_echo=$ac_try;;
 4832 esac
 4833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4834   (eval "$ac_link") 2>&5
 4835   ac_status=$?
 4836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4837   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 4838   { (case "(($ac_try" in
 4839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4840   *) ac_try_echo=$ac_try;;
 4841 esac
 4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4843   (eval "$ac_try") 2>&5
 4844   ac_status=$?
 4845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4846   (exit $ac_status); }; }; then
 4847   :
 4848 else
 4849   echo "$as_me: program exited with status $ac_status" >&5
 4850 echo "$as_me: failed program was:" >&5
 4851 sed 's/^/| /' conftest.$ac_ext >&5
 4852 
 4853 ( exit $ac_status )
 4854 ac_cv_header_stdc=no
 4855 fi
 4856 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 4857 fi
 4858 
 4859 
 4860 fi
 4861 fi
 4862 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 4863 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 4864 if test $ac_cv_header_stdc = yes; then
 4865 
 4866 cat >>confdefs.h <<\_ACEOF
 4867 #define STDC_HEADERS 1
 4868 _ACEOF
 4869 
 4870 fi
 4871 
 4872 
 4873 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 4874 
 4875 
 4876 
 4877 
 4878 
 4879 
 4880 
 4881 
 4882 
 4883 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 4884           inttypes.h stdint.h unistd.h
 4885 do
 4886 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 4887 { echo "$as_me:$LINENO: checking for $ac_header" >&5
 4888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 4889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 4890   echo $ECHO_N "(cached) $ECHO_C" >&6
 4891 else
 4892   cat >conftest.$ac_ext <<_ACEOF
 4893 /* confdefs.h.  */
 4894 _ACEOF
 4895 cat confdefs.h >>conftest.$ac_ext
 4896 cat >>conftest.$ac_ext <<_ACEOF
 4897 /* end confdefs.h.  */
 4898 $ac_includes_default
 4899 
 4900 #include <$ac_header>
 4901 _ACEOF
 4902 rm -f conftest.$ac_objext
 4903 if { (ac_try="$ac_compile"
 4904 case "(($ac_try" in
 4905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4906   *) ac_try_echo=$ac_try;;
 4907 esac
 4908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4909   (eval "$ac_compile") 2>conftest.er1
 4910   ac_status=$?
 4911   grep -v '^ *+' conftest.er1 >conftest.err
 4912   rm -f conftest.er1
 4913   cat conftest.err >&5
 4914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4915   (exit $ac_status); } && {
 4916      test -z "$ac_c_werror_flag" ||
 4917      test ! -s conftest.err
 4918        } && test -s conftest.$ac_objext; then
 4919   eval "$as_ac_Header=yes"
 4920 else
 4921   echo "$as_me: failed program was:" >&5
 4922 sed 's/^/| /' conftest.$ac_ext >&5
 4923 
 4924     eval "$as_ac_Header=no"
 4925 fi
 4926 
 4927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4928 fi
 4929 ac_res=`eval echo '${'$as_ac_Header'}'`
 4930            { echo "$as_me:$LINENO: result: $ac_res" >&5
 4931 echo "${ECHO_T}$ac_res" >&6; }
 4932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 4933   cat >>confdefs.h <<_ACEOF
 4934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 4935 _ACEOF
 4936 
 4937 fi
 4938 
 4939 done
 4940 
 4941 
 4942 
 4943   if test -z "$GETOPT_H"; then
 4944 
 4945 for ac_header in getopt.h
 4946 do
 4947 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 4948 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 4949   { echo "$as_me:$LINENO: checking for $ac_header" >&5
 4950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 4951 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 4952   echo $ECHO_N "(cached) $ECHO_C" >&6
 4953 fi
 4954 ac_res=`eval echo '${'$as_ac_Header'}'`
 4955            { echo "$as_me:$LINENO: result: $ac_res" >&5
 4956 echo "${ECHO_T}$ac_res" >&6; }
 4957 else
 4958   # Is the header compilable?
 4959 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
 4960 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 4961 cat >conftest.$ac_ext <<_ACEOF
 4962 /* confdefs.h.  */
 4963 _ACEOF
 4964 cat confdefs.h >>conftest.$ac_ext
 4965 cat >>conftest.$ac_ext <<_ACEOF
 4966 /* end confdefs.h.  */
 4967 $ac_includes_default
 4968 #include <$ac_header>
 4969 _ACEOF
 4970 rm -f conftest.$ac_objext
 4971 if { (ac_try="$ac_compile"
 4972 case "(($ac_try" in
 4973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4974   *) ac_try_echo=$ac_try;;
 4975 esac
 4976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4977   (eval "$ac_compile") 2>conftest.er1
 4978   ac_status=$?
 4979   grep -v '^ *+' conftest.er1 >conftest.err
 4980   rm -f conftest.er1
 4981   cat conftest.err >&5
 4982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4983   (exit $ac_status); } && {
 4984      test -z "$ac_c_werror_flag" ||
 4985      test ! -s conftest.err
 4986        } && test -s conftest.$ac_objext; then
 4987   ac_header_compiler=yes
 4988 else
 4989   echo "$as_me: failed program was:" >&5
 4990 sed 's/^/| /' conftest.$ac_ext >&5
 4991 
 4992     ac_header_compiler=no
 4993 fi
 4994 
 4995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4996 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 4997 echo "${ECHO_T}$ac_header_compiler" >&6; }
 4998 
 4999 # Is the header present?
 5000 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
 5001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 5002 cat >conftest.$ac_ext <<_ACEOF
 5003 /* confdefs.h.  */
 5004 _ACEOF
 5005 cat confdefs.h >>conftest.$ac_ext
 5006 cat >>conftest.$ac_ext <<_ACEOF
 5007 /* end confdefs.h.  */
 5008 #include <$ac_header>
 5009 _ACEOF
 5010 if { (ac_try="$ac_cpp conftest.$ac_ext"
 5011 case "(($ac_try" in
 5012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5013   *) ac_try_echo=$ac_try;;
 5014 esac
 5015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5016   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 5017   ac_status=$?
 5018   grep -v '^ *+' conftest.er1 >conftest.err
 5019   rm -f conftest.er1
 5020   cat conftest.err >&5
 5021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5022   (exit $ac_status); } >/dev/null && {
 5023      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 5024      test ! -s conftest.err
 5025        }; then
 5026   ac_header_preproc=yes
 5027 else
 5028   echo "$as_me: failed program was:" >&5
 5029 sed 's/^/| /' conftest.$ac_ext >&5
 5030 
 5031   ac_header_preproc=no
 5032 fi
 5033 
 5034 rm -f conftest.err conftest.$ac_ext
 5035 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 5036 echo "${ECHO_T}$ac_header_preproc" >&6; }
 5037 
 5038 # So?  What about this header?
 5039 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 5040   yes:no: )
 5041     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 5042 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 5043     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 5044 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 5045     ac_header_preproc=yes
 5046     ;;
 5047   no:yes:* )
 5048     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 5049 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 5050     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 5051 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 5052     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 5053 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 5054     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 5055 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 5056     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 5057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 5058     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 5059 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 5060     ( cat <<\_ASBOX
 5061 ## ---------------------------------------------- ##
 5062 ## Report this to tre-general@lists.laurikari.net ##
 5063 ## ---------------------------------------------- ##
 5064 _ASBOX
 5065      ) | sed "s/^/$as_me: WARNING:     /" >&2
 5066     ;;
 5067 esac
 5068 { echo "$as_me:$LINENO: checking for $ac_header" >&5
 5069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 5070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 5071   echo $ECHO_N "(cached) $ECHO_C" >&6
 5072 else
 5073   eval "$as_ac_Header=\$ac_header_preproc"
 5074 fi
 5075 ac_res=`eval echo '${'$as_ac_Header'}'`
 5076            { echo "$as_me:$LINENO: result: $ac_res" >&5
 5077 echo "${ECHO_T}$ac_res" >&6; }
 5078 
 5079 fi
 5080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 5081   cat >>confdefs.h <<_ACEOF
 5082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5083 _ACEOF
 5084 
 5085 else
 5086   GETOPT_H=getopt.h
 5087 fi
 5088 
 5089 done
 5090 
 5091   fi
 5092 
 5093   if test -z "$GETOPT_H"; then
 5094 
 5095 for ac_func in getopt_long_only
 5096 do
 5097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 5098 { echo "$as_me:$LINENO: checking for $ac_func" >&5
 5099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 5100 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 5101   echo $ECHO_N "(cached) $ECHO_C" >&6
 5102 else
 5103   cat >conftest.$ac_ext <<_ACEOF
 5104 /* confdefs.h.  */
 5105 _ACEOF
 5106 cat confdefs.h >>conftest.$ac_ext
 5107 cat >>conftest.$ac_ext <<_ACEOF
 5108 /* end confdefs.h.  */
 5109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 5110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 5111 #define $ac_func innocuous_$ac_func
 5112 
 5113 /* System header to define __stub macros and hopefully few prototypes,
 5114     which can conflict with char $ac_func (); below.
 5115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5116     <limits.h> exists even on freestanding compilers.  */
 5117 
 5118 #ifdef __STDC__
 5119 # include <limits.h>
 5120 #else
 5121 # include <assert.h>
 5122 #endif
 5123 
 5124 #undef $ac_func
 5125 
 5126 /* Override any GCC internal prototype to avoid an error.
 5127    Use char because int might match the return type of a GCC
 5128    builtin and then its argument prototype would still apply.  */
 5129 #ifdef __cplusplus
 5130 extern "C"
 5131 #endif
 5132 char $ac_func ();
 5133 /* The GNU C library defines this for functions which it implements
 5134     to always fail with ENOSYS.  Some functions are actually named
 5135     something starting with __ and the normal name is an alias.  */
 5136 #if defined __stub_$ac_func || defined __stub___$ac_func
 5137 choke me
 5138 #endif
 5139 
 5140 int
 5141 main ()
 5142 {
 5143 return $ac_func ();
 5144   ;
 5145   return 0;
 5146 }
 5147 _ACEOF
 5148 rm -f conftest.$ac_objext conftest$ac_exeext
 5149 if { (ac_try="$ac_link"
 5150 case "(($ac_try" in
 5151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5152   *) ac_try_echo=$ac_try;;
 5153 esac
 5154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5155   (eval "$ac_link") 2>conftest.er1
 5156   ac_status=$?
 5157   grep -v '^ *+' conftest.er1 >conftest.err
 5158   rm -f conftest.er1
 5159   cat conftest.err >&5
 5160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5161   (exit $ac_status); } && {
 5162      test -z "$ac_c_werror_flag" ||
 5163      test ! -s conftest.err
 5164        } && test -s conftest$ac_exeext &&
 5165        $as_test_x conftest$ac_exeext; then
 5166   eval "$as_ac_var=yes"
 5167 else
 5168   echo "$as_me: failed program was:" >&5
 5169 sed 's/^/| /' conftest.$ac_ext >&5
 5170 
 5171     eval "$as_ac_var=no"
 5172 fi
 5173 
 5174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5175       conftest$ac_exeext conftest.$ac_ext
 5176 fi
 5177 ac_res=`eval echo '${'$as_ac_var'}'`
 5178            { echo "$as_me:$LINENO: result: $ac_res" >&5
 5179 echo "${ECHO_T}$ac_res" >&6; }
 5180 if test `eval echo '${'$as_ac_var'}'` = yes; then
 5181   cat >>confdefs.h <<_ACEOF
 5182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 5183 _ACEOF
 5184 
 5185 else
 5186   GETOPT_H=getopt.h
 5187 fi
 5188 done
 5189 
 5190   fi
 5191 
 5192       if test -z "$GETOPT_H"; then
 5193     { echo "$as_me:$LINENO: checking whether optreset is declared" >&5
 5194 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6; }
 5195 if test "${ac_cv_have_decl_optreset+set}" = set; then
 5196   echo $ECHO_N "(cached) $ECHO_C" >&6
 5197 else
 5198   cat >conftest.$ac_ext <<_ACEOF
 5199 /* confdefs.h.  */
 5200 _ACEOF
 5201 cat confdefs.h >>conftest.$ac_ext
 5202 cat >>conftest.$ac_ext <<_ACEOF
 5203 /* end confdefs.h.  */
 5204 #include <getopt.h>
 5205 
 5206 int
 5207 main ()
 5208 {
 5209 #ifndef optreset
 5210   (void) optreset;
 5211 #endif
 5212 
 5213   ;
 5214   return 0;
 5215 }
 5216 _ACEOF
 5217 rm -f conftest.$ac_objext
 5218 if { (ac_try="$ac_compile"
 5219 case "(($ac_try" in
 5220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5221   *) ac_try_echo=$ac_try;;
 5222 esac
 5223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5224   (eval "$ac_compile") 2>conftest.er1
 5225   ac_status=$?
 5226   grep -v '^ *+' conftest.er1 >conftest.err
 5227   rm -f conftest.er1
 5228   cat conftest.err >&5
 5229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5230   (exit $ac_status); } && {
 5231      test -z "$ac_c_werror_flag" ||
 5232      test ! -s conftest.err
 5233        } && test -s conftest.$ac_objext; then
 5234   ac_cv_have_decl_optreset=yes
 5235 else
 5236   echo "$as_me: failed program was:" >&5
 5237 sed 's/^/| /' conftest.$ac_ext >&5
 5238 
 5239     ac_cv_have_decl_optreset=no
 5240 fi
 5241 
 5242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5243 fi
 5244 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
 5245 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6; }
 5246 if test $ac_cv_have_decl_optreset = yes; then
 5247   GETOPT_H=getopt.h
 5248 fi
 5249 
 5250   fi
 5251 
 5252       if test -z "$GETOPT_H"; then
 5253     { echo "$as_me:$LINENO: checking for working GNU getopt function" >&5
 5254 echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6; }
 5255 if test "${gl_cv_func_gnu_getopt+set}" = set; then
 5256   echo $ECHO_N "(cached) $ECHO_C" >&6
 5257 else
 5258   if test "$cross_compiling" = yes; then
 5259              { echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5
 5260 echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6; }
 5261 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then
 5262   echo $ECHO_N "(cached) $ECHO_C" >&6
 5263 else
 5264   cat >conftest.$ac_ext <<_ACEOF
 5265 /* confdefs.h.  */
 5266 _ACEOF
 5267 cat confdefs.h >>conftest.$ac_ext
 5268 cat >>conftest.$ac_ext <<_ACEOF
 5269 /* end confdefs.h.  */
 5270 #include <getopt.h>
 5271 
 5272 int
 5273 main ()
 5274 {
 5275 #ifndef getopt_clip
 5276   (void) getopt_clip;
 5277 #endif
 5278 
 5279   ;
 5280   return 0;
 5281 }
 5282 _ACEOF
 5283 rm -f conftest.$ac_objext
 5284 if { (ac_try="$ac_compile"
 5285 case "(($ac_try" in
 5286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5287   *) ac_try_echo=$ac_try;;
 5288 esac
 5289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5290   (eval "$ac_compile") 2>conftest.er1
 5291   ac_status=$?
 5292   grep -v '^ *+' conftest.er1 >conftest.err
 5293   rm -f conftest.er1
 5294   cat conftest.err >&5
 5295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5296   (exit $ac_status); } && {
 5297      test -z "$ac_c_werror_flag" ||
 5298      test ! -s conftest.err
 5299        } && test -s conftest.$ac_objext; then
 5300   ac_cv_have_decl_getopt_clip=yes
 5301 else
 5302   echo "$as_me: failed program was:" >&5
 5303 sed 's/^/| /' conftest.$ac_ext >&5
 5304 
 5305     ac_cv_have_decl_getopt_clip=no
 5306 fi
 5307 
 5308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5309 fi
 5310 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5
 5311 echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6; }
 5312 if test $ac_cv_have_decl_getopt_clip = yes; then
 5313   gl_cv_func_gnu_getopt=no
 5314 else
 5315   gl_cv_func_gnu_getopt=yes
 5316 fi
 5317 
 5318 else
 5319   cat >conftest.$ac_ext <<_ACEOF
 5320 /* confdefs.h.  */
 5321 _ACEOF
 5322 cat confdefs.h >>conftest.$ac_ext
 5323 cat >>conftest.$ac_ext <<_ACEOF
 5324 /* end confdefs.h.  */
 5325 #include <getopt.h>
 5326 int
 5327 main ()
 5328 {
 5329 
 5330          char *myargv[3];
 5331          myargv[0] = "conftest";
 5332          myargv[1] = "-+";
 5333          myargv[2] = 0;
 5334          return getopt (2, myargv, "+a") != '?';
 5335 
 5336   ;
 5337   return 0;
 5338 }
 5339 _ACEOF
 5340 rm -f conftest$ac_exeext
 5341 if { (ac_try="$ac_link"
 5342 case "(($ac_try" in
 5343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5344   *) ac_try_echo=$ac_try;;
 5345 esac
 5346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5347   (eval "$ac_link") 2>&5
 5348   ac_status=$?
 5349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5350   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 5351   { (case "(($ac_try" in
 5352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5353   *) ac_try_echo=$ac_try;;
 5354 esac
 5355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5356   (eval "$ac_try") 2>&5
 5357   ac_status=$?
 5358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5359   (exit $ac_status); }; }; then
 5360   gl_cv_func_gnu_getopt=yes
 5361 else
 5362   echo "$as_me: program exited with status $ac_status" >&5
 5363 echo "$as_me: failed program was:" >&5
 5364 sed 's/^/| /' conftest.$ac_ext >&5
 5365 
 5366 ( exit $ac_status )
 5367 gl_cv_func_gnu_getopt=no
 5368 fi
 5369 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 5370 fi
 5371 
 5372 
 5373 fi
 5374 { echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5
 5375 echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6; }
 5376     if test "$gl_cv_func_gnu_getopt" = "no"; then
 5377       GETOPT_H=getopt.h
 5378     fi
 5379   fi
 5380 
 5381 
 5382       { echo "$as_me:$LINENO: checking whether getenv is declared" >&5
 5383 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
 5384 if test "${ac_cv_have_decl_getenv+set}" = set; then
 5385   echo $ECHO_N "(cached) $ECHO_C" >&6
 5386 else
 5387   cat >conftest.$ac_ext <<_ACEOF
 5388 /* confdefs.h.  */
 5389 _ACEOF
 5390 cat confdefs.h >>conftest.$ac_ext
 5391 cat >>conftest.$ac_ext <<_ACEOF
 5392 /* end confdefs.h.  */
 5393 $ac_includes_default
 5394 int
 5395 main ()
 5396 {
 5397 #ifndef getenv
 5398   (void) getenv;
 5399 #endif
 5400 
 5401   ;
 5402   return 0;
 5403 }
 5404 _ACEOF
 5405 rm -f conftest.$ac_objext
 5406 if { (ac_try="$ac_compile"
 5407 case "(($ac_try" in
 5408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5409   *) ac_try_echo=$ac_try;;
 5410 esac
 5411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5412   (eval "$ac_compile") 2>conftest.er1
 5413   ac_status=$?
 5414   grep -v '^ *+' conftest.er1 >conftest.err
 5415   rm -f conftest.er1
 5416   cat conftest.err >&5
 5417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5418   (exit $ac_status); } && {
 5419      test -z "$ac_c_werror_flag" ||
 5420      test ! -s conftest.err
 5421        } && test -s conftest.$ac_objext; then
 5422   ac_cv_have_decl_getenv=yes
 5423 else
 5424   echo "$as_me: failed program was:" >&5
 5425 sed 's/^/| /' conftest.$ac_ext >&5
 5426 
 5427     ac_cv_have_decl_getenv=no
 5428 fi
 5429 
 5430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5431 fi
 5432 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
 5433 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
 5434 if test $ac_cv_have_decl_getenv = yes; then
 5435 
 5436 cat >>confdefs.h <<_ACEOF
 5437 #define HAVE_DECL_GETENV 1
 5438 _ACEOF
 5439 
 5440 
 5441 else
 5442   cat >>confdefs.h <<_ACEOF
 5443 #define HAVE_DECL_GETENV 0
 5444 _ACEOF
 5445 
 5446 
 5447 fi
 5448 
 5449 
 5450 
 5451 
 5452 
 5453 
 5454 
 5455 
 5456 
 5457 if true; then
 5458   GL_COND_LIBTOOL_TRUE=
 5459   GL_COND_LIBTOOL_FALSE='#'
 5460 else
 5461   GL_COND_LIBTOOL_TRUE='#'
 5462   GL_COND_LIBTOOL_FALSE=
 5463 fi
 5464 
 5465   gl_cond_libtool=true
 5466   gl_source_base='gnulib/lib'
 5467 
 5468 
 5469   if test -n "$GETOPT_H"; then
 5470 
 5471   gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext"
 5472   gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext"
 5473 
 5474   GETOPT_H=getopt.h
 5475 
 5476 cat >>confdefs.h <<\_ACEOF
 5477 #define __GETOPT_PREFIX rpl_
 5478 _ACEOF
 5479 
 5480 
 5481 
 5482 
 5483 
 5484   :