"Fossies" - the Fresh Open Source Software Archive

Member "srg-1.3.6/configure" (5 Aug 2009, 559464 Bytes) of package /linux/privat/old/srg-1.3.6.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 and code folding option. Alternatively you can here view or download the uninterpreted source code file.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


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