PageRenderTime 488ms CodeModel.GetById 37ms app.highlight 373ms RepoModel.GetById 1ms app.codeStats 4ms

/js/src/ctypes/libffi/configure

http://github.com/zpao/v8monkey
Shell | 15099 lines | 12044 code | 1723 blank | 1332 comment | 1266 complexity | 72c54f21d25862b1196b75c62190298c MD5 | raw file
    1#! /bin/sh
    2# Guess values for system-dependent variables and create Makefiles.
    3# Generated by GNU Autoconf 2.65 for libffi 3.0.10rc0.
    4#
    5# Report bugs to <http://gcc.gnu.org/bugs.html>.
    6#
    7#
    8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
   10# Inc.
   11#
   12#
   13# This configure script is free software; the Free Software Foundation
   14# gives unlimited permission to copy, distribute and modify it.
   15## -------------------- ##
   16## M4sh Initialization. ##
   17## -------------------- ##
   18
   19# Be more Bourne compatible
   20DUALCASE=1; export DUALCASE # for MKS sh
   21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   22  emulate sh
   23  NULLCMD=:
   24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   25  # is contrary to our usage.  Disable this feature.
   26  alias -g '${1+"$@"}'='"$@"'
   27  setopt NO_GLOB_SUBST
   28else
   29  case `(set -o) 2>/dev/null` in #(
   30  *posix*) :
   31    set -o posix ;; #(
   32  *) :
   33     ;;
   34esac
   35fi
   36
   37
   38as_nl='
   39'
   40export as_nl
   41# Printing a long string crashes Solaris 7 /usr/bin/printf.
   42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   45# Prefer a ksh shell builtin over an external printf program on Solaris,
   46# but without wasting forks for bash or zsh.
   47if test -z "$BASH_VERSION$ZSH_VERSION" \
   48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   49  as_echo='print -r --'
   50  as_echo_n='print -rn --'
   51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   52  as_echo='printf %s\n'
   53  as_echo_n='printf %s'
   54else
   55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   57    as_echo_n='/usr/ucb/echo -n'
   58  else
   59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   60    as_echo_n_body='eval
   61      arg=$1;
   62      case $arg in #(
   63      *"$as_nl"*)
   64	expr "X$arg" : "X\\(.*\\)$as_nl";
   65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   66      esac;
   67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   68    '
   69    export as_echo_n_body
   70    as_echo_n='sh -c $as_echo_n_body as_echo'
   71  fi
   72  export as_echo_body
   73  as_echo='sh -c $as_echo_body as_echo'
   74fi
   75
   76# The user is always right.
   77if test "${PATH_SEPARATOR+set}" != set; then
   78  PATH_SEPARATOR=:
   79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   81      PATH_SEPARATOR=';'
   82  }
   83fi
   84
   85
   86# IFS
   87# We need space, tab and new line, in precisely that order.  Quoting is
   88# there to prevent editors from complaining about space-tab.
   89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
   90# splitting by setting IFS to empty value.)
   91IFS=" ""	$as_nl"
   92
   93# Find who we are.  Look in the path if we contain no directory separator.
   94case $0 in #((
   95  *[\\/]* ) as_myself=$0 ;;
   96  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   97for as_dir in $PATH
   98do
   99  IFS=$as_save_IFS
  100  test -z "$as_dir" && as_dir=.
  101    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  102  done
  103IFS=$as_save_IFS
  104
  105     ;;
  106esac
  107# We did not find ourselves, most probably we were run as `sh COMMAND'
  108# in which case we are not to be found in the path.
  109if test "x$as_myself" = x; then
  110  as_myself=$0
  111fi
  112if test ! -f "$as_myself"; then
  113  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  114  exit 1
  115fi
  116
  117# Unset variables that we do not need and which cause bugs (e.g. in
  118# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  119# suppresses any "Segmentation fault" message there.  '((' could
  120# trigger a bug in pdksh 5.2.14.
  121for as_var in BASH_ENV ENV MAIL MAILPATH
  122do eval test x\${$as_var+set} = xset \
  123  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  124done
  125PS1='$ '
  126PS2='> '
  127PS4='+ '
  128
  129# NLS nuisances.
  130LC_ALL=C
  131export LC_ALL
  132LANGUAGE=C
  133export LANGUAGE
  134
  135# CDPATH.
  136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  137
  138if test "x$CONFIG_SHELL" = x; then
  139  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  140  emulate sh
  141  NULLCMD=:
  142  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  143  # is contrary to our usage.  Disable this feature.
  144  alias -g '\${1+\"\$@\"}'='\"\$@\"'
  145  setopt NO_GLOB_SUBST
  146else
  147  case \`(set -o) 2>/dev/null\` in #(
  148  *posix*) :
  149    set -o posix ;; #(
  150  *) :
  151     ;;
  152esac
  153fi
  154"
  155  as_required="as_fn_return () { (exit \$1); }
  156as_fn_success () { as_fn_return 0; }
  157as_fn_failure () { as_fn_return 1; }
  158as_fn_ret_success () { return 0; }
  159as_fn_ret_failure () { return 1; }
  160
  161exitcode=0
  162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  167
  168else
  169  exitcode=1; echo positional parameters were not saved.
  170fi
  171test x\$exitcode = x0 || exit 1"
  172  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  173  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  174  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  175  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  176test \$(( 1 + 1 )) = 2 || exit 1"
  177  if (eval "$as_required") 2>/dev/null; then :
  178  as_have_required=yes
  179else
  180  as_have_required=no
  181fi
  182  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  183
  184else
  185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  186as_found=false
  187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  188do
  189  IFS=$as_save_IFS
  190  test -z "$as_dir" && as_dir=.
  191  as_found=:
  192  case $as_dir in #(
  193	 /*)
  194	   for as_base in sh bash ksh sh5; do
  195	     # Try only shells that exist, to save several forks.
  196	     as_shell=$as_dir/$as_base
  197	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  198		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  199  CONFIG_SHELL=$as_shell as_have_required=yes
  200		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  201  break 2
  202fi
  203fi
  204	   done;;
  205       esac
  206  as_found=false
  207done
  208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  209	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  210  CONFIG_SHELL=$SHELL as_have_required=yes
  211fi; }
  212IFS=$as_save_IFS
  213
  214
  215      if test "x$CONFIG_SHELL" != x; then :
  216  # We cannot yet assume a decent shell, so we have to provide a
  217	# neutralization value for shells without unset; and this also
  218	# works around shells that cannot unset nonexistent variables.
  219	BASH_ENV=/dev/null
  220	ENV=/dev/null
  221	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  222	export CONFIG_SHELL
  223	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  224fi
  225
  226    if test x$as_have_required = xno; then :
  227  $as_echo "$0: This script requires a shell more modern than all"
  228  $as_echo "$0: the shells that I found on your system."
  229  if test x${ZSH_VERSION+set} = xset ; then
  230    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  231    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  232  else
  233    $as_echo "$0: Please tell bug-autoconf@gnu.org and
  234$0: http://gcc.gnu.org/bugs.html about your system,
  235$0: including any error possibly output before this
  236$0: message. Then install a modern shell, or manually run
  237$0: the script under such a shell if you do have one."
  238  fi
  239  exit 1
  240fi
  241fi
  242fi
  243SHELL=${CONFIG_SHELL-/bin/sh}
  244export SHELL
  245# Unset more variables known to interfere with behavior of common tools.
  246CLICOLOR_FORCE= GREP_OPTIONS=
  247unset CLICOLOR_FORCE GREP_OPTIONS
  248
  249## --------------------- ##
  250## M4sh Shell Functions. ##
  251## --------------------- ##
  252# as_fn_unset VAR
  253# ---------------
  254# Portably unset VAR.
  255as_fn_unset ()
  256{
  257  { eval $1=; unset $1;}
  258}
  259as_unset=as_fn_unset
  260
  261# as_fn_set_status STATUS
  262# -----------------------
  263# Set $? to STATUS, without forking.
  264as_fn_set_status ()
  265{
  266  return $1
  267} # as_fn_set_status
  268
  269# as_fn_exit STATUS
  270# -----------------
  271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  272as_fn_exit ()
  273{
  274  set +e
  275  as_fn_set_status $1
  276  exit $1
  277} # as_fn_exit
  278
  279# as_fn_mkdir_p
  280# -------------
  281# Create "$as_dir" as a directory, including parents if necessary.
  282as_fn_mkdir_p ()
  283{
  284
  285  case $as_dir in #(
  286  -*) as_dir=./$as_dir;;
  287  esac
  288  test -d "$as_dir" || eval $as_mkdir_p || {
  289    as_dirs=
  290    while :; do
  291      case $as_dir in #(
  292      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  293      *) as_qdir=$as_dir;;
  294      esac
  295      as_dirs="'$as_qdir' $as_dirs"
  296      as_dir=`$as_dirname -- "$as_dir" ||
  297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  298	 X"$as_dir" : 'X\(//\)[^/]' \| \
  299	 X"$as_dir" : 'X\(//\)$' \| \
  300	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  301$as_echo X"$as_dir" |
  302    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  303	    s//\1/
  304	    q
  305	  }
  306	  /^X\(\/\/\)[^/].*/{
  307	    s//\1/
  308	    q
  309	  }
  310	  /^X\(\/\/\)$/{
  311	    s//\1/
  312	    q
  313	  }
  314	  /^X\(\/\).*/{
  315	    s//\1/
  316	    q
  317	  }
  318	  s/.*/./; q'`
  319      test -d "$as_dir" && break
  320    done
  321    test -z "$as_dirs" || eval "mkdir $as_dirs"
  322  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  323
  324
  325} # as_fn_mkdir_p
  326# as_fn_append VAR VALUE
  327# ----------------------
  328# Append the text in VALUE to the end of the definition contained in VAR. Take
  329# advantage of any shell optimizations that allow amortized linear growth over
  330# repeated appends, instead of the typical quadratic growth present in naive
  331# implementations.
  332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  333  eval 'as_fn_append ()
  334  {
  335    eval $1+=\$2
  336  }'
  337else
  338  as_fn_append ()
  339  {
  340    eval $1=\$$1\$2
  341  }
  342fi # as_fn_append
  343
  344# as_fn_arith ARG...
  345# ------------------
  346# Perform arithmetic evaluation on the ARGs, and store the result in the
  347# global $as_val. Take advantage of shells that can avoid forks. The arguments
  348# must be portable across $(()) and expr.
  349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  350  eval 'as_fn_arith ()
  351  {
  352    as_val=$(( $* ))
  353  }'
  354else
  355  as_fn_arith ()
  356  {
  357    as_val=`expr "$@" || test $? -eq 1`
  358  }
  359fi # as_fn_arith
  360
  361
  362# as_fn_error ERROR [LINENO LOG_FD]
  363# ---------------------------------
  364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  366# script with status $?, using 1 if that was 0.
  367as_fn_error ()
  368{
  369  as_status=$?; test $as_status -eq 0 && as_status=1
  370  if test "$3"; then
  371    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  372    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  373  fi
  374  $as_echo "$as_me: error: $1" >&2
  375  as_fn_exit $as_status
  376} # as_fn_error
  377
  378if expr a : '\(a\)' >/dev/null 2>&1 &&
  379   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  380  as_expr=expr
  381else
  382  as_expr=false
  383fi
  384
  385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  386  as_basename=basename
  387else
  388  as_basename=false
  389fi
  390
  391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  392  as_dirname=dirname
  393else
  394  as_dirname=false
  395fi
  396
  397as_me=`$as_basename -- "$0" ||
  398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  399	 X"$0" : 'X\(//\)$' \| \
  400	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  401$as_echo X/"$0" |
  402    sed '/^.*\/\([^/][^/]*\)\/*$/{
  403	    s//\1/
  404	    q
  405	  }
  406	  /^X\/\(\/\/\)$/{
  407	    s//\1/
  408	    q
  409	  }
  410	  /^X\/\(\/\).*/{
  411	    s//\1/
  412	    q
  413	  }
  414	  s/.*/./; q'`
  415
  416# Avoid depending upon Character Ranges.
  417as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  419as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  420as_cr_digits='0123456789'
  421as_cr_alnum=$as_cr_Letters$as_cr_digits
  422
  423
  424  as_lineno_1=$LINENO as_lineno_1a=$LINENO
  425  as_lineno_2=$LINENO as_lineno_2a=$LINENO
  426  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  427  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  428  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  429  sed -n '
  430    p
  431    /[$]LINENO/=
  432  ' <$as_myself |
  433    sed '
  434      s/[$]LINENO.*/&-/
  435      t lineno
  436      b
  437      :lineno
  438      N
  439      :loop
  440      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  441      t loop
  442      s/-\n.*//
  443    ' >$as_me.lineno &&
  444  chmod +x "$as_me.lineno" ||
  445    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  446
  447  # Don't try to exec as it changes $[0], causing all sort of problems
  448  # (the dirname of $[0] is not the place where we might find the
  449  # original and so on.  Autoconf is especially sensitive to this).
  450  . "./$as_me.lineno"
  451  # Exit status is that of the last command.
  452  exit
  453}
  454
  455ECHO_C= ECHO_N= ECHO_T=
  456case `echo -n x` in #(((((
  457-n*)
  458  case `echo 'xy\c'` in
  459  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  460  xy)  ECHO_C='\c';;
  461  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  462       ECHO_T='	';;
  463  esac;;
  464*)
  465  ECHO_N='-n';;
  466esac
  467
  468rm -f conf$$ conf$$.exe conf$$.file
  469if test -d conf$$.dir; then
  470  rm -f conf$$.dir/conf$$.file
  471else
  472  rm -f conf$$.dir
  473  mkdir conf$$.dir 2>/dev/null
  474fi
  475if (echo >conf$$.file) 2>/dev/null; then
  476  if ln -s conf$$.file conf$$ 2>/dev/null; then
  477    as_ln_s='ln -s'
  478    # ... but there are two gotchas:
  479    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  480    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  481    # In both cases, we have to default to `cp -p'.
  482    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  483      as_ln_s='cp -p'
  484  elif ln conf$$.file conf$$ 2>/dev/null; then
  485    as_ln_s=ln
  486  else
  487    as_ln_s='cp -p'
  488  fi
  489else
  490  as_ln_s='cp -p'
  491fi
  492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  493rmdir conf$$.dir 2>/dev/null
  494
  495if mkdir -p . 2>/dev/null; then
  496  as_mkdir_p='mkdir -p "$as_dir"'
  497else
  498  test -d ./-p && rmdir ./-p
  499  as_mkdir_p=false
  500fi
  501
  502if test -x / >/dev/null 2>&1; then
  503  as_test_x='test -x'
  504else
  505  if ls -dL / >/dev/null 2>&1; then
  506    as_ls_L_option=L
  507  else
  508    as_ls_L_option=
  509  fi
  510  as_test_x='
  511    eval sh -c '\''
  512      if test -d "$1"; then
  513	test -d "$1/.";
  514      else
  515	case $1 in #(
  516	-*)set "./$1";;
  517	esac;
  518	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  519	???[sx]*):;;*)false;;esac;fi
  520    '\'' sh
  521  '
  522fi
  523as_executable_p=$as_test_x
  524
  525# Sed expression to map a string onto a valid CPP name.
  526as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  527
  528# Sed expression to map a string onto a valid variable name.
  529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  530
  531
  532
  533# Check that we are running under the correct shell.
  534SHELL=${CONFIG_SHELL-/bin/sh}
  535
  536case X$lt_ECHO in
  537X*--fallback-echo)
  538  # Remove one level of quotation (which was required for Make).
  539  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  540  ;;
  541esac
  542
  543ECHO=${lt_ECHO-echo}
  544if test "X$1" = X--no-reexec; then
  545  # Discard the --no-reexec flag, and continue.
  546  shift
  547elif test "X$1" = X--fallback-echo; then
  548  # Avoid inline document here, it may be left over
  549  :
  550elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  551  # Yippee, $ECHO works!
  552  :
  553else
  554  # Restart under the correct shell.
  555  exec $SHELL "$0" --no-reexec ${1+"$@"}
  556fi
  557
  558if test "X$1" = X--fallback-echo; then
  559  # used as fallback echo
  560  shift
  561  cat <<_LT_EOF
  562$*
  563_LT_EOF
  564  exit 0
  565fi
  566
  567# The HP-UX ksh and POSIX shell print the target directory to stdout
  568# if CDPATH is set.
  569(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  570
  571if test -z "$lt_ECHO"; then
  572  if test "X${echo_test_string+set}" != Xset; then
  573    # find a string as large as possible, as long as the shell can cope with it
  574    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  575      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  576      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  577	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  578      then
  579        break
  580      fi
  581    done
  582  fi
  583
  584  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  585     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  586     test "X$echo_testing_string" = "X$echo_test_string"; then
  587    :
  588  else
  589    # The Solaris, AIX, and Digital Unix default echo programs unquote
  590    # backslashes.  This makes it impossible to quote backslashes using
  591    #   echo "$something" | sed 's/\\/\\\\/g'
  592    #
  593    # So, first we look for a working echo in the user's PATH.
  594
  595    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  596    for dir in $PATH /usr/ucb; do
  597      IFS="$lt_save_ifs"
  598      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  599         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  600         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  601         test "X$echo_testing_string" = "X$echo_test_string"; then
  602        ECHO="$dir/echo"
  603        break
  604      fi
  605    done
  606    IFS="$lt_save_ifs"
  607
  608    if test "X$ECHO" = Xecho; then
  609      # We didn't find a better echo, so look for alternatives.
  610      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  611         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  612         test "X$echo_testing_string" = "X$echo_test_string"; then
  613        # This shell has a builtin print -r that does the trick.
  614        ECHO='print -r'
  615      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  616	   test "X$CONFIG_SHELL" != X/bin/ksh; then
  617        # If we have ksh, try running configure again with it.
  618        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  619        export ORIGINAL_CONFIG_SHELL
  620        CONFIG_SHELL=/bin/ksh
  621        export CONFIG_SHELL
  622        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  623      else
  624        # Try using printf.
  625        ECHO='printf %s\n'
  626        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  627	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  628	   test "X$echo_testing_string" = "X$echo_test_string"; then
  629	  # Cool, printf works
  630	  :
  631        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  632	     test "X$echo_testing_string" = 'X\t' &&
  633	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  634	     test "X$echo_testing_string" = "X$echo_test_string"; then
  635	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  636	  export CONFIG_SHELL
  637	  SHELL="$CONFIG_SHELL"
  638	  export SHELL
  639	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
  640        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  641	     test "X$echo_testing_string" = 'X\t' &&
  642	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  643	     test "X$echo_testing_string" = "X$echo_test_string"; then
  644	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
  645        else
  646	  # maybe with a smaller string...
  647	  prev=:
  648
  649	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  650	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  651	    then
  652	      break
  653	    fi
  654	    prev="$cmd"
  655	  done
  656
  657	  if test "$prev" != 'sed 50q "$0"'; then
  658	    echo_test_string=`eval $prev`
  659	    export echo_test_string
  660	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  661	  else
  662	    # Oops.  We lost completely, so just stick with echo.
  663	    ECHO=echo
  664	  fi
  665        fi
  666      fi
  667    fi
  668  fi
  669fi
  670
  671# Copy echo and quote the copy suitably for passing to libtool from
  672# the Makefile, instead of quoting the original, which is used later.
  673lt_ECHO=$ECHO
  674if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  675   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  676fi
  677
  678
  679
  680
  681test -n "$DJDIR" || exec 7<&0 </dev/null
  682exec 6>&1
  683
  684# Name of the host.
  685# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  686# so uname gets run too.
  687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  688
  689#
  690# Initializations.
  691#
  692ac_default_prefix=/usr/local
  693ac_clean_files=
  694ac_config_libobj_dir=.
  695LIBOBJS=
  696cross_compiling=no
  697subdirs=
  698MFLAGS=
  699MAKEFLAGS=
  700
  701# Identity of this package.
  702PACKAGE_NAME='libffi'
  703PACKAGE_TARNAME='libffi'
  704PACKAGE_VERSION='3.0.10rc0'
  705PACKAGE_STRING='libffi 3.0.10rc0'
  706PACKAGE_BUGREPORT='http://gcc.gnu.org/bugs.html'
  707PACKAGE_URL=''
  708
  709# Factoring default headers for most tests.
  710ac_includes_default="\
  711#include <stdio.h>
  712#ifdef HAVE_SYS_TYPES_H
  713# include <sys/types.h>
  714#endif
  715#ifdef HAVE_SYS_STAT_H
  716# include <sys/stat.h>
  717#endif
  718#ifdef STDC_HEADERS
  719# include <stdlib.h>
  720# include <stddef.h>
  721#else
  722# ifdef HAVE_STDLIB_H
  723#  include <stdlib.h>
  724# endif
  725#endif
  726#ifdef HAVE_STRING_H
  727# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  728#  include <memory.h>
  729# endif
  730# include <string.h>
  731#endif
  732#ifdef HAVE_STRINGS_H
  733# include <strings.h>
  734#endif
  735#ifdef HAVE_INTTYPES_H
  736# include <inttypes.h>
  737#endif
  738#ifdef HAVE_STDINT_H
  739# include <stdint.h>
  740#endif
  741#ifdef HAVE_UNISTD_H
  742# include <unistd.h>
  743#endif"
  744
  745ac_subst_vars='am__EXEEXT_FALSE
  746am__EXEEXT_TRUE
  747LTLIBOBJS
  748LIBOBJS
  749toolexeclibdir
  750toolexecdir
  751FFI_DEBUG_FALSE
  752FFI_DEBUG_TRUE
  753TARGETDIR
  754TARGET
  755sys_symbol_underscore
  756HAVE_LONG_DOUBLE
  757ALLOCA
  758PA64_HPUX_FALSE
  759PA64_HPUX_TRUE
  760PA_HPUX_FALSE
  761PA_HPUX_TRUE
  762PA_LINUX_FALSE
  763PA_LINUX_TRUE
  764SH64_FALSE
  765SH64_TRUE
  766SH_FALSE
  767SH_TRUE
  768X86_64_FALSE
  769X86_64_TRUE
  770S390_FALSE
  771S390_TRUE
  772FRV_FALSE
  773FRV_TRUE
  774LIBFFI_CRIS_FALSE
  775LIBFFI_CRIS_TRUE
  776AVR32_FALSE
  777AVR32_TRUE
  778ARM_FALSE
  779ARM_TRUE
  780POWERPC_FREEBSD_FALSE
  781POWERPC_FREEBSD_TRUE
  782POWERPC_DARWIN_FALSE
  783POWERPC_DARWIN_TRUE
  784POWERPC_AIX_FALSE
  785POWERPC_AIX_TRUE
  786POWERPC_FALSE
  787POWERPC_TRUE
  788MOXIE_FALSE
  789MOXIE_TRUE
  790M68K_FALSE
  791M68K_TRUE
  792M32R_FALSE
  793M32R_TRUE
  794IA64_FALSE
  795IA64_TRUE
  796ALPHA_FALSE
  797ALPHA_TRUE
  798X86_DARWIN_FALSE
  799X86_DARWIN_TRUE
  800X86_WIN64_FALSE
  801X86_WIN64_TRUE
  802X86_WIN32_FALSE
  803X86_WIN32_TRUE
  804X86_FREEBSD_FALSE
  805X86_FREEBSD_TRUE
  806X86_FALSE
  807X86_TRUE
  808SPARC_FALSE
  809SPARC_TRUE
  810MIPS_FALSE
  811MIPS_TRUE
  812AM_LTLDFLAGS
  813AM_RUNTESTFLAGS
  814TESTSUBDIR_FALSE
  815TESTSUBDIR_TRUE
  816MAINT
  817MAINTAINER_MODE_FALSE
  818MAINTAINER_MODE_TRUE
  819CPP
  820OTOOL64
  821OTOOL
  822LIPO
  823NMEDIT
  824DSYMUTIL
  825lt_ECHO
  826RANLIB
  827AR
  828OBJDUMP
  829LN_S
  830NM
  831ac_ct_DUMPBIN
  832DUMPBIN
  833LD
  834FGREP
  835EGREP
  836GREP
  837SED
  838LIBTOOL
  839am__fastdepCCAS_FALSE
  840am__fastdepCCAS_TRUE
  841CCASDEPMODE
  842CCASFLAGS
  843CCAS
  844am__fastdepCC_FALSE
  845am__fastdepCC_TRUE
  846CCDEPMODE
  847AMDEPBACKSLASH
  848AMDEP_FALSE
  849AMDEP_TRUE
  850am__quote
  851am__include
  852DEPDIR
  853OBJEXT
  854EXEEXT
  855ac_ct_CC
  856CPPFLAGS
  857LDFLAGS
  858CFLAGS
  859CC
  860am__untar
  861am__tar
  862AMTAR
  863am__leading_dot
  864SET_MAKE
  865AWK
  866mkdir_p
  867MKDIR_P
  868INSTALL_STRIP_PROGRAM
  869STRIP
  870install_sh
  871MAKEINFO
  872AUTOHEADER
  873AUTOMAKE
  874AUTOCONF
  875ACLOCAL
  876VERSION
  877PACKAGE
  878CYGPATH_W
  879am__isrc
  880INSTALL_DATA
  881INSTALL_SCRIPT
  882INSTALL_PROGRAM
  883target_os
  884target_vendor
  885target_cpu
  886target
  887host_os
  888host_vendor
  889host_cpu
  890host
  891build_os
  892build_vendor
  893build_cpu
  894build
  895target_alias
  896host_alias
  897build_alias
  898LIBS
  899ECHO_T
  900ECHO_N
  901ECHO_C
  902DEFS
  903mandir
  904localedir
  905libdir
  906psdir
  907pdfdir
  908dvidir
  909htmldir
  910infodir
  911docdir
  912oldincludedir
  913includedir
  914localstatedir
  915sharedstatedir
  916sysconfdir
  917datadir
  918datarootdir
  919libexecdir
  920sbindir
  921bindir
  922program_transform_name
  923prefix
  924exec_prefix
  925PACKAGE_URL
  926PACKAGE_BUGREPORT
  927PACKAGE_STRING
  928PACKAGE_VERSION
  929PACKAGE_TARNAME
  930PACKAGE_NAME
  931PATH_SEPARATOR
  932SHELL'
  933ac_subst_files=''
  934ac_user_opts='
  935enable_option_checking
  936enable_dependency_tracking
  937enable_shared
  938enable_static
  939with_pic
  940enable_fast_install
  941with_gnu_ld
  942enable_libtool_lock
  943enable_maintainer_mode
  944enable_debug
  945enable_structs
  946enable_raw_api
  947enable_purify_safety
  948'
  949      ac_precious_vars='build_alias
  950host_alias
  951target_alias
  952CCAS
  953CCASFLAGS
  954CPP
  955CPPFLAGS'
  956
  957
  958# Initialize some variables set by options.
  959ac_init_help=
  960ac_init_version=false
  961ac_unrecognized_opts=
  962ac_unrecognized_sep=
  963# The variables have the same names as the options, with
  964# dashes changed to underlines.
  965cache_file=/dev/null
  966exec_prefix=NONE
  967no_create=
  968no_recursion=
  969prefix=NONE
  970program_prefix=NONE
  971program_suffix=NONE
  972program_transform_name=s,x,x,
  973silent=
  974site=
  975srcdir=
  976verbose=
  977x_includes=NONE
  978x_libraries=NONE
  979
  980# Installation directory options.
  981# These are left unexpanded so users can "make install exec_prefix=/foo"
  982# and all the variables that are supposed to be based on exec_prefix
  983# by default will actually change.
  984# Use braces instead of parens because sh, perl, etc. also accept them.
  985# (The list follows the same order as the GNU Coding Standards.)
  986bindir='${exec_prefix}/bin'
  987sbindir='${exec_prefix}/sbin'
  988libexecdir='${exec_prefix}/libexec'
  989datarootdir='${prefix}/share'
  990datadir='${datarootdir}'
  991sysconfdir='${prefix}/etc'
  992sharedstatedir='${prefix}/com'
  993localstatedir='${prefix}/var'
  994includedir='${prefix}/include'
  995oldincludedir='/usr/include'
  996docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  997infodir='${datarootdir}/info'
  998htmldir='${docdir}'
  999dvidir='${docdir}'
 1000pdfdir='${docdir}'
 1001psdir='${docdir}'
 1002libdir='${exec_prefix}/lib'
 1003localedir='${datarootdir}/locale'
 1004mandir='${datarootdir}/man'
 1005
 1006ac_prev=
 1007ac_dashdash=
 1008for ac_option
 1009do
 1010  # If the previous option needs an argument, assign it.
 1011  if test -n "$ac_prev"; then
 1012    eval $ac_prev=\$ac_option
 1013    ac_prev=
 1014    continue
 1015  fi
 1016
 1017  case $ac_option in
 1018  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 1019  *)	ac_optarg=yes ;;
 1020  esac
 1021
 1022  # Accept the important Cygnus configure options, so we can diagnose typos.
 1023
 1024  case $ac_dashdash$ac_option in
 1025  --)
 1026    ac_dashdash=yes ;;
 1027
 1028  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 1029    ac_prev=bindir ;;
 1030  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 1031    bindir=$ac_optarg ;;
 1032
 1033  -build | --build | --buil | --bui | --bu)
 1034    ac_prev=build_alias ;;
 1035  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 1036    build_alias=$ac_optarg ;;
 1037
 1038  -cache-file | --cache-file | --cache-fil | --cache-fi \
 1039  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 1040    ac_prev=cache_file ;;
 1041  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 1042  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 1043    cache_file=$ac_optarg ;;
 1044
 1045  --config-cache | -C)
 1046    cache_file=config.cache ;;
 1047
 1048  -datadir | --datadir | --datadi | --datad)
 1049    ac_prev=datadir ;;
 1050  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 1051    datadir=$ac_optarg ;;
 1052
 1053  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 1054  | --dataroo | --dataro | --datar)
 1055    ac_prev=datarootdir ;;
 1056  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 1057  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 1058    datarootdir=$ac_optarg ;;
 1059
 1060  -disable-* | --disable-*)
 1061    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 1062    # Reject names that are not valid shell variable names.
 1063    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1064      as_fn_error "invalid feature name: $ac_useropt"
 1065    ac_useropt_orig=$ac_useropt
 1066    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1067    case $ac_user_opts in
 1068      *"
 1069"enable_$ac_useropt"
 1070"*) ;;
 1071      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 1072	 ac_unrecognized_sep=', ';;
 1073    esac
 1074    eval enable_$ac_useropt=no ;;
 1075
 1076  -docdir | --docdir | --docdi | --doc | --do)
 1077    ac_prev=docdir ;;
 1078  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 1079    docdir=$ac_optarg ;;
 1080
 1081  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 1082    ac_prev=dvidir ;;
 1083  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 1084    dvidir=$ac_optarg ;;
 1085
 1086  -enable-* | --enable-*)
 1087    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 1088    # Reject names that are not valid shell variable names.
 1089    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1090      as_fn_error "invalid feature name: $ac_useropt"
 1091    ac_useropt_orig=$ac_useropt
 1092    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1093    case $ac_user_opts in
 1094      *"
 1095"enable_$ac_useropt"
 1096"*) ;;
 1097      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 1098	 ac_unrecognized_sep=', ';;
 1099    esac
 1100    eval enable_$ac_useropt=\$ac_optarg ;;
 1101
 1102  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 1103  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 1104  | --exec | --exe | --ex)
 1105    ac_prev=exec_prefix ;;
 1106  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 1107  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 1108  | --exec=* | --exe=* | --ex=*)
 1109    exec_prefix=$ac_optarg ;;
 1110
 1111  -gas | --gas | --ga | --g)
 1112    # Obsolete; use --with-gas.
 1113    with_gas=yes ;;
 1114
 1115  -help | --help | --hel | --he | -h)
 1116    ac_init_help=long ;;
 1117  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 1118    ac_init_help=recursive ;;
 1119  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 1120    ac_init_help=short ;;
 1121
 1122  -host | --host | --hos | --ho)
 1123    ac_prev=host_alias ;;
 1124  -host=* | --host=* | --hos=* | --ho=*)
 1125    host_alias=$ac_optarg ;;
 1126
 1127  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 1128    ac_prev=htmldir ;;
 1129  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 1130  | --ht=*)
 1131    htmldir=$ac_optarg ;;
 1132
 1133  -includedir | --includedir | --includedi | --included | --include \
 1134  | --includ | --inclu | --incl | --inc)
 1135    ac_prev=includedir ;;
 1136  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1137  | --includ=* | --inclu=* | --incl=* | --inc=*)
 1138    includedir=$ac_optarg ;;
 1139
 1140  -infodir | --infodir | --infodi | --infod | --info | --inf)
 1141    ac_prev=infodir ;;
 1142  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1143    infodir=$ac_optarg ;;
 1144
 1145  -libdir | --libdir | --libdi | --libd)
 1146    ac_prev=libdir ;;
 1147  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1148    libdir=$ac_optarg ;;
 1149
 1150  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1151  | --libexe | --libex | --libe)
 1152    ac_prev=libexecdir ;;
 1153  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1154  | --libexe=* | --libex=* | --libe=*)
 1155    libexecdir=$ac_optarg ;;
 1156
 1157  -localedir | --localedir | --localedi | --localed | --locale)
 1158    ac_prev=localedir ;;
 1159  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1160    localedir=$ac_optarg ;;
 1161
 1162  -localstatedir | --localstatedir | --localstatedi | --localstated \
 1163  | --localstate | --localstat | --localsta | --localst | --locals)
 1164    ac_prev=localstatedir ;;
 1165  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1166  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1167    localstatedir=$ac_optarg ;;
 1168
 1169  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1170    ac_prev=mandir ;;
 1171  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1172    mandir=$ac_optarg ;;
 1173
 1174  -nfp | --nfp | --nf)
 1175    # Obsolete; use --without-fp.
 1176    with_fp=no ;;
 1177
 1178  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1179  | --no-cr | --no-c | -n)
 1180    no_create=yes ;;
 1181
 1182  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1183  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1184    no_recursion=yes ;;
 1185
 1186  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1187  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1188  | --oldin | --oldi | --old | --ol | --o)
 1189    ac_prev=oldincludedir ;;
 1190  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1191  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1192  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1193    oldincludedir=$ac_optarg ;;
 1194
 1195  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1196    ac_prev=prefix ;;
 1197  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1198    prefix=$ac_optarg ;;
 1199
 1200  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1201  | --program-pre | --program-pr | --program-p)
 1202    ac_prev=program_prefix ;;
 1203  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1204  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1205    program_prefix=$ac_optarg ;;
 1206
 1207  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1208  | --program-suf | --program-su | --program-s)
 1209    ac_prev=program_suffix ;;
 1210  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1211  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1212    program_suffix=$ac_optarg ;;
 1213
 1214  -program-transform-name | --program-transform-name \
 1215  | --program-transform-nam | --program-transform-na \
 1216  | --program-transform-n | --program-transform- \
 1217  | --program-transform | --program-transfor \
 1218  | --program-transfo | --program-transf \
 1219  | --program-trans | --program-tran \
 1220  | --progr-tra | --program-tr | --program-t)
 1221    ac_prev=program_transform_name ;;
 1222  -program-transform-name=* | --program-transform-name=* \
 1223  | --program-transform-nam=* | --program-transform-na=* \
 1224  | --program-transform-n=* | --program-transform-=* \
 1225  | --program-transform=* | --program-transfor=* \
 1226  | --program-transfo=* | --program-transf=* \
 1227  | --program-trans=* | --program-tran=* \
 1228  | --progr-tra=* | --program-tr=* | --program-t=*)
 1229    program_transform_name=$ac_optarg ;;
 1230
 1231  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1232    ac_prev=pdfdir ;;
 1233  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1234    pdfdir=$ac_optarg ;;
 1235
 1236  -psdir | --psdir | --psdi | --psd | --ps)
 1237    ac_prev=psdir ;;
 1238  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1239    psdir=$ac_optarg ;;
 1240
 1241  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1242  | -silent | --silent | --silen | --sile | --sil)
 1243    silent=yes ;;
 1244
 1245  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1246    ac_prev=sbindir ;;
 1247  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1248  | --sbi=* | --sb=*)
 1249    sbindir=$ac_optarg ;;
 1250
 1251  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1252  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1253  | --sharedst | --shareds | --shared | --share | --shar \
 1254  | --sha | --sh)
 1255    ac_prev=sharedstatedir ;;
 1256  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1257  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1258  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1259  | --sha=* | --sh=*)
 1260    sharedstatedir=$ac_optarg ;;
 1261
 1262  -site | --site | --sit)
 1263    ac_prev=site ;;
 1264  -site=* | --site=* | --sit=*)
 1265    site=$ac_optarg ;;
 1266
 1267  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1268    ac_prev=srcdir ;;
 1269  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1270    srcdir=$ac_optarg ;;
 1271
 1272  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1273  | --syscon | --sysco | --sysc | --sys | --sy)
 1274    ac_prev=sysconfdir ;;
 1275  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1276  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1277    sysconfdir=$ac_optarg ;;
 1278
 1279  -target | --target | --targe | --targ | --tar | --ta | --t)
 1280    ac_prev=target_alias ;;
 1281  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1282    target_alias=$ac_optarg ;;
 1283
 1284  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1285    verbose=yes ;;
 1286
 1287  -version | --version | --versio | --versi | --vers | -V)
 1288    ac_init_version=: ;;
 1289
 1290  -with-* | --with-*)
 1291    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1292    # Reject names that are not valid shell variable names.
 1293    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1294      as_fn_error "invalid package name: $ac_useropt"
 1295    ac_useropt_orig=$ac_useropt
 1296    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1297    case $ac_user_opts in
 1298      *"
 1299"with_$ac_useropt"
 1300"*) ;;
 1301      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1302	 ac_unrecognized_sep=', ';;
 1303    esac
 1304    eval with_$ac_useropt=\$ac_optarg ;;
 1305
 1306  -without-* | --without-*)
 1307    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1308    # Reject names that are not valid shell variable names.
 1309    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1310      as_fn_error "invalid package name: $ac_useropt"
 1311    ac_useropt_orig=$ac_useropt
 1312    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1313    case $ac_user_opts in
 1314      *"
 1315"with_$ac_useropt"
 1316"*) ;;
 1317      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1318	 ac_unrecognized_sep=', ';;
 1319    esac
 1320    eval with_$ac_useropt=no ;;
 1321
 1322  --x)
 1323    # Obsolete; use --with-x.
 1324    with_x=yes ;;
 1325
 1326  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1327  | --x-incl | --x-inc | --x-in | --x-i)
 1328    ac_prev=x_includes ;;
 1329  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1330  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1331    x_includes=$ac_optarg ;;
 1332
 1333  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1334  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1335    ac_prev=x_libraries ;;
 1336  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1337  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1338    x_libraries=$ac_optarg ;;
 1339
 1340  -*) as_fn_error "unrecognized option: \`$ac_option'
 1341Try \`$0 --help' for more information."
 1342    ;;
 1343
 1344  *=*)
 1345    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1346    # Reject names that are not valid shell variable names.
 1347    case $ac_envvar in #(
 1348      '' | [0-9]* | *[!_$as_cr_alnum]* )
 1349      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 1350    esac
 1351    eval $ac_envvar=\$ac_optarg
 1352    export $ac_envvar ;;
 1353
 1354  *)
 1355    # FIXME: should be removed in autoconf 3.0.
 1356    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1357    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1358      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1359    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 1360    ;;
 1361
 1362  esac
 1363done
 1364
 1365if test -n "$ac_prev"; then
 1366  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1367  as_fn_error "missing argument to $ac_option"
 1368fi
 1369
 1370if test -n "$ac_unrecognized_opts"; then
 1371  case $enable_option_checking in
 1372    no) ;;
 1373    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 1374    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1375  esac
 1376fi
 1377
 1378# Check all directory arguments for consistency.
 1379for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1380		datadir sysconfdir sharedstatedir localstatedir includedir \
 1381		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1382		libdir localedir mandir
 1383do
 1384  eval ac_val=\$$ac_var
 1385  # Remove trailing slashes.
 1386  case $ac_val in
 1387    */ )
 1388      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1389      eval $ac_var=\$ac_val;;
 1390  esac
 1391  # Be sure to have absolute directory names.
 1392  case $ac_val in
 1393    [\\/$]* | ?:[\\/]* )  continue;;
 1394    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1395  esac
 1396  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 1397done
 1398
 1399# There might be people who depend on the old broken behavior: `$host'
 1400# used to hold the argument of --host etc.
 1401# FIXME: To remove some day.
 1402build=$build_alias
 1403host=$host_alias
 1404target=$target_alias
 1405
 1406# FIXME: To remove some day.
 1407if test "x$host_alias" != x; then
 1408  if test "x$build_alias" = x; then
 1409    cross_compiling=maybe
 1410    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 1411    If a cross compiler is detected then cross compile mode will be used." >&2
 1412  elif test "x$build_alias" != "x$host_alias"; then
 1413    cross_compiling=yes
 1414  fi
 1415fi
 1416
 1417ac_tool_prefix=
 1418test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1419
 1420test "$silent" = yes && exec 6>/dev/null
 1421
 1422
 1423ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1424ac_ls_di=`ls -di .` &&
 1425ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1426  as_fn_error "working directory cannot be determined"
 1427test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1428  as_fn_error "pwd does not report name of working directory"
 1429
 1430
 1431# Find the source files, if location was not specified.
 1432if test -z "$srcdir"; then
 1433  ac_srcdir_defaulted=yes
 1434  # Try the directory containing this script, then the parent directory.
 1435  ac_confdir=`$as_dirname -- "$as_myself" ||
 1436$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1437	 X"$as_myself" : 'X\(//\)[^/]' \| \
 1438	 X"$as_myself" : 'X\(//\)$' \| \
 1439	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1440$as_echo X"$as_myself" |
 1441    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1442	    s//\1/
 1443	    q
 1444	  }
 1445	  /^X\(\/\/\)[^/].*/{
 1446	    s//\1/
 1447	    q
 1448	  }
 1449	  /^X\(\/\/\)$/{
 1450	    s//\1/
 1451	    q
 1452	  }
 1453	  /^X\(\/\).*/{
 1454	    s//\1/
 1455	    q
 1456	  }
 1457	  s/.*/./; q'`
 1458  srcdir=$ac_confdir
 1459  if test ! -r "$srcdir/$ac_unique_file"; then
 1460    srcdir=..
 1461  fi
 1462else
 1463  ac_srcdir_defaulted=no
 1464fi
 1465if test ! -r "$srcdir/$ac_unique_file"; then
 1466  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1467  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 1468fi
 1469ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1470ac_abs_confdir=`(
 1471	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 1472	pwd)`
 1473# When building in place, set srcdir=.
 1474if test "$ac_abs_confdir" = "$ac_pwd"; then
 1475  srcdir=.
 1476fi
 1477# Remove unnecessary trailing slashes from srcdir.
 1478# Double slashes in file names in object file debugging info
 1479# mess up M-x gdb in Emacs.
 1480case $srcdir in
 1481*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1482esac
 1483for ac_var in $ac_precious_vars; do
 1484  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1485  eval ac_env_${ac_var}_value=\$${ac_var}
 1486  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1487  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1488done
 1489
 1490#
 1491# Report the --help message.
 1492#
 1493if test "$ac_init_help" = "long"; then
 1494  # Omit some internal or obsolete options to make the list less imposing.
 1495  # This message is too long to be a string in the A/UX 3.1 sh.
 1496  cat <<_ACEOF
 1497\`configure' configures libffi 3.0.10rc0 to adapt to many kinds of systems.
 1498
 1499Usage: $0 [OPTION]... [VAR=VALUE]...
 1500
 1501To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1502VAR=VALUE.  See below for descriptions of some of the useful variables.
 1503
 1504Defaults for the options are specified in brackets.
 1505
 1506Configuration:
 1507  -h, --help              display this help and exit
 1508      --help=short        display options specific to this package
 1509      --help=recursive    display the short help of all the included packages
 1510  -V, --version           display version information and exit
 1511  -q, --quiet, --silent   do not print \`checking...' messages
 1512      --cache-file=FILE   cache test results in FILE [disabled]
 1513  -C, --config-cache      alias for \`--cache-file=config.cache'
 1514  -n, --no-create         do not create output files
 1515      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1516
 1517Installation directories:
 1518  --prefix=PREFIX         install architecture-independent files in PREFIX
 1519                          [$ac_default_prefix]
 1520  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1521                          [PREFIX]
 1522
 1523By default, \`make install' will install all the files in
 1524\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1525an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1526for instance \`--prefix=\$HOME'.
 1527
 1528For better control, use the options below.
 1529
 1530Fine tuning of the installation directories:
 1531  --bindir=DIR            user executables [EPREFIX/bin]
 1532  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1533  --libexecdir=DIR        program executables [EPREFIX/libexec]
 1534  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1535  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1536  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1537  --libdir=DIR            object code libraries [EPREFIX/lib]
 1538  --includedir=DIR        C header files [PREFIX/include]
 1539  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1540  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1541  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1542  --infodir=DIR           info documentation [DATAROOTDIR/info]
 1543  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1544  --mandir=DIR            man documentation [DATAROOTDIR/man]
 1545  --docdir=DIR            documentation root [DATAROOTDIR/doc/libffi]
 1546  --htmldir=DIR           html documentation [DOCDIR]
 1547  --dvidir=DIR            dvi documentation [DOCDIR]
 1548  --pdfdir=DIR            pdf documentation [DOCDIR]
 1549  --psdir=DIR             ps documentation [DOCDIR]
 1550_ACEOF
 1551
 1552  cat <<\_ACEOF
 1553
 1554Program names:
 1555  --program-prefix=PREFIX            prepend PREFIX to installed program names
 1556  --program-suffix=SUFFIX            append SUFFIX to installed program names
 1557  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1558
 1559System types:
 1560  --build=BUILD     configure for building on BUILD [guessed]
 1561  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1562  --target=TARGET   configure for building compilers for TARGET [HOST]
 1563_ACEOF
 1564fi
 1565
 1566if test -n "$ac_init_help"; then
 1567  case $ac_init_help in
 1568     short | recursive ) echo "Configuration of libffi 3.0.10rc0:";;
 1569   esac
 1570  cat <<\_ACEOF
 1571
 1572Optional Features:
 1573  --disable-option-checking  ignore unrecognized --enable/--with options
 1574  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1575  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1576  --disable-dependency-tracking  speeds up one-time build
 1577  --enable-dependency-tracking   do not reject slow dependency extractors
 1578  --enable-shared[=PKGS]  build shared libraries [default=yes]
 1579  --enable-static[=PKGS]  build static libraries [default=yes]
 1580  --enable-fast-install[=PKGS]
 1581                          optimize for fast installation [default=yes]
 1582  --disable-libtool-lock  avoid locking (might break parallel builds)
 1583  --enable-maintainer-mode  enable make rules and dependencies not useful
 1584			  (and sometimes confusing) to the casual installer
 1585  --enable-debug          debugging mode
 1586  --disable-structs       omit code for struct support
 1587  --disable-raw-api       make the raw api unavailable
 1588  --enable-purify-safety  purify-safe mode
 1589
 1590Optional Packages:
 1591  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1592  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1593  --with-pic              try to use only PIC/non-PIC objects [default=use
 1594                          both]
 1595  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1596
 1597Some influential environment variables:
 1598  CC          C compiler command
 1599  CFLAGS      C compiler flags
 1600  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1601              nonstandard directory <lib dir>
 1602  LIBS        libraries to pass to the linker, e.g. -l<library>
 1603  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1604              you have headers in a nonstandard directory <include dir>
 1605  CCAS        assembler compiler command (defaults to CC)
 1606  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
 1607  CPP         C preprocessor
 1608
 1609Use these variables to override the choices made by `configure' or to help
 1610it to find libraries and programs with nonstandard names/locations.
 1611
 1612Report bugs to <http://gcc.gnu.org/bugs.html>.
 1613_ACEOF
 1614ac_status=$?
 1615fi
 1616
 1617if test "$ac_init_help" = "recursive"; then
 1618  # If there are subdirs, report their specific --help.
 1619  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1620    test -d "$ac_dir" ||
 1621      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1622      continue
 1623    ac_builddir=.
 1624
 1625case "$ac_dir" in
 1626.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1627*)
 1628  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1629  # A ".." for each directory in $ac_dir_suffix.
 1630  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1631  case $ac_top_builddir_sub in
 1632  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1633  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1634  esac ;;
 1635esac
 1636ac_abs_top_builddir=$ac_pwd
 1637ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1638# for backward compatibility:
 1639ac_top_builddir=$ac_top_build_prefix
 1640
 1641case $srcdir in
 1642  .)  # We are building in place.
 1643    ac_srcdir=.
 1644    ac_top_srcdir=$ac_top_builddir_sub
 1645    ac_abs_top_srcdir=$ac_pwd ;;
 1646  [\\/]* | ?:[\\/]* )  # Absolute name.
 1647    ac_srcdir=$srcdir$ac_dir_suffix;
 1648    ac_top_srcdir=$srcdir
 1649    ac_abs_top_srcdir=$srcdir ;;
 1650  *) # Relative name.
 1651    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1652    ac_top_srcdir=$ac_top_build_prefix$srcdir
 1653    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1654esac
 1655ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1656
 1657    cd "$ac_dir" || { ac_status=$?; continue; }
 1658    # Check for guested configure.
 1659    if test -f "$ac_srcdir/configure.gnu"; then
 1660      echo &&
 1661      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1662    elif test -f "$ac_srcdir/configure"; then
 1663      echo &&
 1664      $SHELL "$ac_srcdir/configure" --help=recursive
 1665    else
 1666      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1667    fi || ac_status=$?
 1668    cd "$ac_pwd" || { ac_status=$?; break; }
 1669  done
 1670fi
 1671
 1672test -n "$ac_init_help" && exit $ac_status
 1673if $ac_init_version; then
 1674  cat <<\_ACEOF
 1675libffi configure 3.0.10rc0
 1676generated by GNU Autoconf 2.65
 1677
 1678Copyright (C) 2009 Free Software Foundation, Inc.
 1679This configure script is free software; the Free Software Foundation
 1680gives unlimited permission to copy, distribute and modify it.
 1681_ACEOF
 1682  exit
 1683fi
 1684
 1685## ------------------------ ##
 1686## Autoconf initialization. ##
 1687## ------------------------ ##
 1688
 1689# ac_fn_c_try_compile LINENO
 1690# --------------------------
 1691# Try to compile conftest.$ac_ext, and return whether this succeeded.
 1692ac_fn_c_try_compile ()
 1693{
 1694  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1695  rm -f conftest.$ac_objext
 1696  if { { ac_try="$ac_compile"
 1697case "(($ac_try" in
 1698  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1699  *) ac_try_echo=$ac_try;;
 1700esac
 1701eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1702$as_echo "$ac_try_echo"; } >&5
 1703  (eval "$ac_compile") 2>conftest.err
 1704  ac_status=$?
 1705  if test -s conftest.err; then
 1706    grep -v '^ *+' conftest.err >conftest.er1
 1707    cat conftest.er1 >&5
 1708    mv -f conftest.er1 conftest.err
 1709  fi
 1710  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1711  test $ac_status = 0; } && {
 1712	 test -z "$ac_c_werror_flag" ||
 1713	 test ! -s conftest.err
 1714       } && test -s conftest.$ac_objext; then :
 1715  ac_retval=0
 1716else
 1717  $as_echo "$as_me: failed program was:" >&5
 1718sed 's/^/| /' conftest.$ac_ext >&5
 1719
 1720	ac_retval=1
 1721fi
 1722  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1723  as_fn_set_status $ac_retval
 1724
 1725} # ac_fn_c_try_compile
 1726
 1727# ac_fn_c_try_link LINENO
 1728# -----------------------
 1729# Try to link conftest.$ac_ext, and return whether this succeeded.
 1730ac_fn_c_try_link ()
 1731{
 1732  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1733  rm -f conftest.$ac_objext conftest$ac_exeext
 1734  if { { ac_try="$ac_link"
 1735case "(($ac_try" in
 1736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1737  *) ac_try_echo=$ac_try;;
 1738esac
 1739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1740$as_echo "$ac_try_echo"; } >&5
 1741  (eval "$ac_link") 2>conftest.err
 1742  ac_status=$?
 1743  if test -s conftest.err; then
 1744    grep -v '^ *+' conftest.err >conftest.er1
 1745    cat conftest.er1 >&5
 1746    mv -f conftest.er1 conftest.err
 1747  fi
 1748  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1749  test $ac_status = 0; } && {
 1750	 test -z "$ac_c_werror_flag" ||
 1751	 test ! -s conftest.err
 1752       } && test -s conftest$ac_exeext && {
 1753	 test "$cross_compiling" = yes ||
 1754	 $as_test_x conftest$ac_exeext
 1755       }; then :
 1756  ac_retval=0
 1757else
 1758  $as_echo "$as_me: failed program was:" >&5
 1759sed 's/^/| /' conftest.$ac_ext >&5
 1760
 1761	ac_retval=1
 1762fi
 1763  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1764  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1765  # interfere with the next link command; also delete a directory that is
 1766  # left behind by Apple's compiler.  We do this before executing the actions.
 1767  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1768  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1769  as_fn_set_status $ac_retval
 1770
 1771} # ac_fn_c_try_link
 1772
 1773# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1774# -------------------------------------------------------
 1775# Tests whether HEADER exists and can be compiled using the include files in
 1776# INCLUDES, setting the cache variable VAR accordingly.
 1777ac_fn_c_check_header_compile ()
 1778{
 1779  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1780  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1781$as_echo_n "checking for $2... " >&6; }
 1782if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 1783  $as_echo_n "(cached) " >&6
 1784else
 1785  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1786/* end confdefs.h.  */
 1787$4
 1788#include <$2>
 1789_ACEOF
 1790if ac_fn_c_try_compile "$LINENO"; then :
 1791  eval "$3=yes"
 1792else
 1793  eval "$3=no"
 1794fi
 1795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1796fi
 1797eval ac_res=\$$3
 1798	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1799$as_echo "$ac_res" >&6; }
 1800  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1801
 1802} # ac_fn_c_check_header_compile
 1803
 1804# ac_fn_c_try_cpp LINENO
 1805# ----------------------
 1806# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1807ac_fn_c_try_cpp ()
 1808{
 1809  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1810  if { { ac_try="$ac_cpp conftest.$ac_ext"
 1811case "(($ac_try" in
 1812  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1813  *) ac_try_echo=$ac_try;;
 1814esac
 1815eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1816$as_echo "$ac_try_echo"; } >&5
 1817  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1818  ac_status=$?
 1819  if test -s conftest.err; then
 1820    grep -v '^ *+' conftest.err >conftest.er1
 1821    cat conftest.er1 >&5
 1822    mv -f conftest.er1 conftest.err
 1823  fi
 1824  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1825  test $ac_status = 0; } >/dev/null && {
 1826	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1827	 test ! -s conftest.err
 1828       }; then :
 1829  ac_retval=0
 1830else
 1831  $as_echo "$as_me: failed program was:" >&5
 1832sed 's/^/| /' conftest.$ac_ext >&5
 1833
 1834    ac_retval=1
 1835fi
 1836  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1837  as_fn_set_status $ac_retval
 1838
 1839} # ac_fn_c_try_cpp
 1840
 1841# ac_fn_c_try_run LINENO
 1842# ----------------------
 1843# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1844# that executables *can* be run.
 1845ac_fn_c_try_run ()
 1846{
 1847  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1848  if { { ac_try="$ac_link"
 1849case "(($ac_try" in
 1850  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1851  *) ac_try_echo=$ac_try;;
 1852esac
 1853eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1854$as_echo "$ac_try_echo"; } >&5
 1855  (eval "$ac_link") 2>&5
 1856  ac_status=$?
 1857  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1858  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1859  { { case "(($ac_try" in
 1860  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1861  *) ac_try_echo=$ac_try;;
 1862esac
 1863eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1864$as_echo "$ac_try_echo"; } >&5
 1865  (eval "$ac_try") 2>&5
 1866  ac_status=$?
 1867  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1868  test $ac_status = 0; }; }; then :
 1869  ac_retval=0
 1870else
 1871  $as_echo "$as_me: program exited with status $ac_status" >&5
 1872       $as_echo "$as_me: failed program was:" >&5
 1873sed 's/^/| /' conftest.$ac_ext >&5
 1874
 1875       ac_retval=$ac_status
 1876fi
 1877  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1878  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1879  as_fn_set_status $ac_retval
 1880
 1881} # ac_fn_c_try_run
 1882
 1883# ac_fn_c_check_func LINENO FUNC VAR
 1884# ----------------------------------
 1885# Tests whether FUNC exists, setting the cache variable VAR accordingly
 1886ac_fn_c_check_func ()
 1887{
 1888  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1890$as_echo_n "checking for $2... " >&6; }
 1891if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 1892  $as_echo_n "(cached) " >&6
 1893else
 1894  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1895/* end confdefs.h.  */
 1896/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1897   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1898#define $2 innocuous_$2
 1899
 1900/* System header to define __stub macros and hopefully few prototypes,
 1901    which can conflict with char $2 (); below.
 1902    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1903    <limits.h> exists even on freestanding compilers.  */
 1904
 1905#ifdef __STDC__
 1906# include <limits.h>
 1907#else
 1908# include <assert.h>
 1909#endif
 1910
 1911#undef $2
 1912
 1913/* Override any GCC internal prototype to avoid an error.
 1914   Use char because int might match the return type of a GCC
 1915   builtin and then its argument prototype would still apply.  */
 1916#ifdef __cplusplus
 1917extern "C"
 1918#endif
 1919char $2 ();
 1920/* The GNU C library defines this for functions which it implements
 1921    to always fail with ENOSYS.  Some functions are actually named
 1922    something starting with __ and the normal name is an alias.  */
 1923#if defined __stub_$2 || defined __stub___$2
 1924choke me
 1925#endif
 1926
 1927int
 1928main ()
 1929{
 1930return $2 ();
 1931  ;
 1932  return 0;
 1933}
 1934_ACEOF
 1935if ac_fn_c_try_link "$LINENO"; then :
 1936  eval "$3=yes"
 1937else
 1938  eval "$3=no"
 1939fi
 1940rm -f core conftest.err conftest.$ac_objext \
 1941    conftest$ac_exeext conftest.$ac_ext
 1942fi
 1943eval ac_res=\$$3
 1944	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1945$as_echo "$ac_res" >&6; }
 1946  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1947
 1948} # ac_fn_c_check_func
 1949
 1950# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 1951# -------------------------------------------------------
 1952# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 1953# the include files in INCLUDES and setting the cache variable VAR
 1954# accordingly.
 1955ac_fn_c_check_header_mongrel ()
 1956{
 1957  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1958  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 1959  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1960$as_echo_n "checking for $2... " >&6; }
 1961if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 1962  $as_echo_n "(cached) " >&6
 1963fi
 1964eval ac_res=\$$3
 1965	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1966$as_echo "$ac_res" >&6; }
 1967else
 1968  # Is the header compilable?
 1969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 1970$as_echo_n "checking $2 usability... " >&6; }
 1971cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1972/* end confdefs.h.  */
 1973$4
 1974#include <$2>
 1975_ACEOF
 1976if ac_fn_c_try_compile "$LINENO"; then :
 1977  ac_header_compiler=yes
 1978else
 1979  ac_header_compiler=no
 1980fi
 1981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 1983$as_echo "$ac_header_compiler" >&6; }
 1984
 1985# Is the header present?
 1986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 1987$as_echo_n "checking $2 presence... " >&6; }
 1988cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1989/* end confdefs.h.  */
 1990#include <$2>
 1991_ACEOF
 1992if ac_fn_c_try_cpp "$LINENO"; then :
 1993  ac_header_preproc=yes
 1994else
 1995  ac_header_preproc=no
 1996fi
 1997rm -f conftest.err conftest.$ac_ext
 1998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 1999$as_echo "$ac_header_preproc" >&6; }
 2000
 2001# So?  What about this header?
 2002case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 2003  yes:no: )
 2004    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2005$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2006    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2007$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2008    ;;
 2009  no:yes:* )
 2010    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2011$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2012    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2013$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2014    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2015$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2016    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2017$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2018    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2019$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2020( cat <<\_ASBOX
 2021## ------------------------------------------- ##
 2022## Report this to http://gcc.gnu.org/bugs.html ##
 2023## ------------------------------------------- ##
 2024_ASBOX
 2025     ) | sed "s/^/$as_me: WARNING:     /" >&2
 2026    ;;
 2027esac
 2028  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2029$as_echo_n "checking for $2... " >&6; }
 2030if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2031  $as_echo_n "(cached) " >&6
 2032else
 2033  eval "$3=\$ac_header_compiler"
 2034fi
 2035eval ac_res=\$$3
 2036	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2037$as_echo "$ac_res" >&6; }
 2038fi
 2039  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2040
 2041} # ac_fn_c_check_header_mongrel
 2042
 2043# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 2044# --------------------------------------------
 2045# Tries to find the compile-time value of EXPR in a program that includes
 2046# INCLUDES, setting VAR accordingly. Returns whether the value could be
 2047# computed
 2048ac_fn_c_compute_int ()
 2049{
 2050  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2051  if test "$cross_compiling" = yes; then
 2052    # Depending upon the size, compute the lo and hi bounds.
 2053cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2054/* end confdefs.h.  */
 2055$4
 2056int
 2057main ()
 2058{
 2059static int test_array [1 - 2 * !(($2) >= 0)];
 2060test_array [0] = 0
 2061
 2062  ;
 2063  return 0;
 2064}
 2065_ACEOF
 2066if ac_fn_c_try_compile "$LINENO"; then :
 2067  ac_lo=0 ac_mid=0
 2068  while :; do
 2069    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2070/* end confdefs.h.  */
 2071$4
 2072int
 2073main ()
 2074{
 2075static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2076test_array [0] = 0
 2077
 2078  ;
 2079  return 0;
 2080}
 2081_ACEOF
 2082if ac_fn_c_try_compile "$LINENO"; then :
 2083  ac_hi=$ac_mid; break
 2084else
 2085  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 2086			if test $ac_lo -le $ac_mid; then
 2087			  ac_lo= ac_hi=
 2088			  break
 2089			fi
 2090			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 2091fi
 2092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2093  done
 2094else
 2095  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2096/* end confdefs.h.  */
 2097$4
 2098int
 2099main ()
 2100{
 2101static int test_array [1 - 2 * !(($2) < 0)];
 2102test_array [0] = 0
 2103
 2104  ;
 2105  return 0;
 2106}
 2107_ACEOF
 2108if ac_fn_c_try_compile "$LINENO"; then :
 2109  ac_hi=-1 ac_mid=-1
 2110  while :; do
 2111    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2112/* end confdefs.h.  */
 2113$4
 2114int
 2115main ()
 2116{
 2117static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 2118test_array [0] = 0
 2119
 2120  ;
 2121  return 0;
 2122}
 2123_ACEOF
 2124if ac_fn_c_try_compile "$LINENO"; then :
 2125  ac_lo=$ac_mid; break
 2126else
 2127  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 2128			if test $ac_mid -le $ac_hi; then
 2129			  ac_lo= ac_hi=
 2130			  break
 2131			fi
 2132			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 2133fi
 2134rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2135  done
 2136else
 2137  ac_lo= ac_hi=
 2138fi
 2139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2140fi
 2141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2142# Binary search between lo and hi bounds.
 2143while test "x$ac_lo" != "x$ac_hi"; do
 2144  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 2145  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2146/* end confdefs.h.  */
 2147$4
 2148int
 2149main ()
 2150{
 2151static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2152test_array [0] = 0
 2153
 2154  ;
 2155  return 0;
 2156}
 2157_ACEOF
 2158if ac_fn_c_try_compile "$LINENO"; then :
 2159  ac_hi=$ac_mid
 2160else
 2161  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 2162fi
 2163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2164done
 2165case $ac_lo in #((
 2166?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 2167'') ac_retval=1 ;;
 2168esac
 2169  else
 2170    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2171/* end confdefs.h.  */
 2172$4
 2173static long int longval () { return $2; }
 2174static unsigned long int ulongval () { return $2; }
 2175#include <stdio.h>
 2176#include <stdlib.h>
 2177int
 2178main ()
 2179{
 2180
 2181  FILE *f = fopen ("conftest.val", "w");
 2182  if (! f)
 2183    return 1;
 2184  if (($2) < 0)
 2185    {
 2186      long int i = longval ();
 2187      if (i != ($2))
 2188	return 1;
 2189      fprintf (f, "%ld", i);
 2190    }
 2191  else
 2192    {
 2193      unsigned long int i = ulongval ();
 2194      if (i != ($2))
 2195	return 1;
 2196      fprintf (f, "%lu", i);
 2197    }
 2198  /* Do not output a trailing newline, as this causes \r\n confusion
 2199     on some platforms.  */
 2200  return ferror (f) || fclose (f) != 0;
 2201
 2202  ;
 2203  return 0;
 2204}
 2205_ACEOF
 2206if ac_fn_c_try_run "$LINENO"; then :
 2207  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 2208else
 2209  ac_retval=1
 2210fi
 2211rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 2212  conftest.$ac_objext conftest.beam conftest.$ac_ext
 2213rm -f conftest.val
 2214
 2215  fi
 2216  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2217  as_fn_set_status $ac_retval
 2218
 2219} # ac_fn_c_compute_int
 2220cat >config.log <<_ACEOF
 2221This file contains any messages produced by compilers while
 2222running configure, to aid debugging if configure makes a mistake.
 2223
 2224It was created by libffi $as_me 3.0.10rc0, which was
 2225generated by GNU Autoconf 2.65.  Invocation command line was
 2226
 2227  $ $0 $@
 2228
 2229_ACEOF
 2230exec 5>>config.log
 2231{
 2232cat <<_ASUNAME
 2233## --------- ##
 2234## Platform. ##
 2235## --------- ##
 2236
 2237hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2238uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2239uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2240uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2241uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2242
 2243/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2244/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2245
 2246/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2247/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2248/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2249/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2250/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2251/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2252/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2253
 2254_ASUNAME
 2255
 2256as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2257for as_dir in $PATH
 2258do
 2259  IFS=$as_save_IFS
 2260  test -z "$as_dir" && as_dir=.
 2261    $as_echo "PATH: $as_dir"
 2262  done
 2263IFS=$as_save_IFS
 2264
 2265} >&5
 2266
 2267cat >&5 <<_ACEOF
 2268
 2269
 2270## ----------- ##
 2271## Core tests. ##
 2272## ----------- ##
 2273
 2274_ACEOF
 2275
 2276
 2277# Keep a trace of the command line.
 2278# Strip out --no-create and --no-recursion so they do not pile up.
 2279# Strip out --silent because we don't want to record it for future runs.
 2280# Also quote any args containing shell meta-characters.
 2281# Make two passes to allow for proper duplicate-argument suppression.
 2282ac_configure_args=
 2283ac_configure_args0=
 2284ac_configure_args1=
 2285ac_must_keep_next=false
 2286for ac_pass in 1 2
 2287do
 2288  for ac_arg
 2289  do
 2290    case $ac_arg in
 2291    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2292    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2293    | -silent | --silent | --silen | --sile | --sil)
 2294      continue ;;
 2295    *\'*)
 2296      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2297    esac
 2298    case $ac_pass in
 2299    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2300    2)
 2301      as_fn_append ac_configure_args1 " '$ac_arg'"
 2302      if test $ac_must_keep_next = true; then
 2303	ac_must_keep_next=false # Got value, back to normal.
 2304      else
 2305	case $ac_arg in
 2306	  *=* | --config-cache | -C | -disable-* | --disable-* \
 2307	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2308	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2309	  | -with-* | --with-* | -without-* | --without-* | --x)
 2310	    case "$ac_configure_args0 " in
 2311	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2312	    esac
 2313	    ;;
 2314	  -* ) ac_must_keep_next=true ;;
 2315	esac
 2316      fi
 2317      as_fn_append ac_configure_args " '$ac_arg'"
 2318      ;;
 2319    esac
 2320  done
 2321done
 2322{ ac_configure_args0=; unset ac_configure_args0;}
 2323{ ac_configure_args1=; unset ac_configure_args1;}
 2324
 2325# When interrupted or exit'd, cleanup temporary files, and complete
 2326# config.log.  We remove comments because anyway the quotes in there
 2327# would cause problems or look ugly.
 2328# WARNING: Use '\'' to represent an apostrophe within the trap.
 2329# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2330trap 'exit_status=$?
 2331  # Save into config.log some information that might help in debugging.
 2332  {
 2333    echo
 2334
 2335    cat <<\_ASBOX
 2336## ---------------- ##
 2337## Cache variables. ##
 2338## ---------------- ##
 2339_ASBOX
 2340    echo
 2341    # The following way of writing the cache mishandles newlines in values,
 2342(
 2343  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2344    eval ac_val=\$$ac_var
 2345    case $ac_val in #(
 2346    *${as_nl}*)
 2347      case $ac_var in #(
 2348      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2349$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2350      esac
 2351      case $ac_var in #(
 2352      _ | IFS | as_nl) ;; #(
 2353      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2354      *) { eval $ac_var=; unset $ac_var;} ;;
 2355      esac ;;
 2356    esac
 2357  done
 2358  (set) 2>&1 |
 2359    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2360    *${as_nl}ac_space=\ *)
 2361      sed -n \
 2362	"s/'\''/'\''\\\\'\'''\''/g;
 2363	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2364      ;; #(
 2365    *)
 2366      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2367      ;;
 2368    esac |
 2369    sort
 2370)
 2371    echo
 2372
 2373    cat <<\_ASBOX
 2374## ----------------- ##
 2375## Output variables. ##
 2376## ----------------- ##
 2377_ASBOX
 2378    echo
 2379    for ac_var in $ac_subst_vars
 2380    do
 2381      eval ac_val=\$$ac_var
 2382      case $ac_val in
 2383      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2384      esac
 2385      $as_echo "$ac_var='\''$ac_val'\''"
 2386    done | sort
 2387    echo
 2388
 2389    if test -n "$ac_subst_files"; then
 2390      cat <<\_ASBOX
 2391## ------------------- ##
 2392## File substitutions. ##
 2393## ------------------- ##
 2394_ASBOX
 2395      echo
 2396      for ac_var in $ac_subst_files
 2397      do
 2398	eval ac_val=\$$ac_var
 2399	case $ac_val in
 2400	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2401	esac
 2402	$as_echo "$ac_var='\''$ac_val'\''"
 2403      done | sort
 2404      echo
 2405    fi
 2406
 2407    if test -s confdefs.h; then
 2408      cat <<\_ASBOX
 2409## ----------- ##
 2410## confdefs.h. ##
 2411## ----------- ##
 2412_ASBOX
 2413      echo
 2414      cat confdefs.h
 2415      echo
 2416    fi
 2417    test "$ac_signal" != 0 &&
 2418      $as_echo "$as_me: caught signal $ac_signal"
 2419    $as_echo "$as_me: exit $exit_status"
 2420  } >&5
 2421  rm -f core *.core core.conftest.* &&
 2422    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2423    exit $exit_status
 2424' 0
 2425for ac_signal in 1 2 13 15; do
 2426  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2427done
 2428ac_signal=0
 2429
 2430# confdefs.h avoids OS command line length limits that DEFS can exceed.
 2431rm -f -r conftest* confdefs.h
 2432
 2433$as_echo "/* confdefs.h */" > confdefs.h
 2434
 2435# Predefined preprocessor variables.
 2436
 2437cat >>confdefs.h <<_ACEOF
 2438#define PACKAGE_NAME "$PACKAGE_NAME"
 2439_ACEOF
 2440
 2441cat >>confdefs.h <<_ACEOF
 2442#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2443_ACEOF
 2444
 2445cat >>confdefs.h <<_ACEOF
 2446#define PACKAGE_VERSION "$PACKAGE_VERSION"
 2447_ACEOF
 2448
 2449cat >>confdefs.h <<_ACEOF
 2450#define PACKAGE_STRING "$PACKAGE_STRING"
 2451_ACEOF
 2452
 2453cat >>confdefs.h <<_ACEOF
 2454#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2455_ACEOF
 2456
 2457cat >>confdefs.h <<_ACEOF
 2458#define PACKAGE_URL "$PACKAGE_URL"
 2459_ACEOF
 2460
 2461
 2462# Let the site file select an alternate cache file if it wants to.
 2463# Prefer an explicitly selected file to automatically selected ones.
 2464ac_site_file1=NONE
 2465ac_site_file2=NONE
 2466if test -n "$CONFIG_SITE"; then
 2467  ac_site_file1=$CONFIG_SITE
 2468elif test "x$prefix" != xNONE; then
 2469  ac_site_file1=$prefix/share/config.site
 2470  ac_site_file2=$prefix/etc/config.site
 2471else
 2472  ac_site_file1=$ac_default_prefix/share/config.site
 2473  ac_site_file2=$ac_default_prefix/etc/config.site
 2474fi
 2475for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2476do
 2477  test "x$ac_site_file" = xNONE && continue
 2478  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2479    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2480$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2481    sed 's/^/| /' "$ac_site_file" >&5
 2482    . "$ac_site_file"
 2483  fi
 2484done
 2485
 2486if test -r "$cache_file"; then
 2487  # Some versions of bash will fail to source /dev/null (special files
 2488  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2489  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2490    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2491$as_echo "$as_me: loading cache $cache_file" >&6;}
 2492    case $cache_file in
 2493      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2494      *)                      . "./$cache_file";;
 2495    esac
 2496  fi
 2497else
 2498  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2499$as_echo "$as_me: creating cache $cache_file" >&6;}
 2500  >$cache_file
 2501fi
 2502
 2503# Check that the precious variables saved in the cache have kept the same
 2504# value.
 2505ac_cache_corrupted=false
 2506for ac_var in $ac_precious_vars; do
 2507  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2508  eval ac_new_set=\$ac_env_${ac_var}_set
 2509  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2510  eval ac_new_val=\$ac_env_${ac_var}_value
 2511  case $ac_old_set,$ac_new_set in
 2512    set,)
 2513      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2514$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2515      ac_cache_corrupted=: ;;
 2516    ,set)
 2517      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2518$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2519      ac_cache_corrupted=: ;;
 2520    ,);;
 2521    *)
 2522      if test "x$ac_old_val" != "x$ac_new_val"; then
 2523	# differences in whitespace do not lead to failure.
 2524	ac_old_val_w=`echo x $ac_old_val`
 2525	ac_new_val_w=`echo x $ac_new_val`
 2526	if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2527	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2528$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2529	  ac_cache_corrupted=:
 2530	else
 2531	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2532$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2533	  eval $ac_var=\$ac_old_val
 2534	fi
 2535	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2536$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2537	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2538$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2539      fi;;
 2540  esac
 2541  # Pass precious variables to config.status.
 2542  if test "$ac_new_set" = set; then
 2543    case $ac_new_val in
 2544    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2545    *) ac_arg=$ac_var=$ac_new_val ;;
 2546    esac
 2547    case " $ac_configure_args " in
 2548      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2549      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2550    esac
 2551  fi
 2552done
 2553if $ac_cache_corrupted; then
 2554  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2555$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2556  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2557$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2558  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2559fi
 2560## -------------------- ##
 2561## Main body of script. ##
 2562## -------------------- ##
 2563
 2564ac_ext=c
 2565ac_cpp='$CPP $CPPFLAGS'
 2566ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2567ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2568ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2569
 2570
 2571ac_config_headers="$ac_config_headers fficonfig.h"
 2572
 2573
 2574ac_aux_dir=
 2575for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2576  for ac_t in install-sh install.sh shtool; do
 2577    if test -f "$ac_dir/$ac_t"; then
 2578      ac_aux_dir=$ac_dir
 2579      ac_install_sh="$ac_aux_dir/$ac_t -c"
 2580      break 2
 2581    fi
 2582  done
 2583done
 2584if test -z "$ac_aux_dir"; then
 2585  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2586fi
 2587
 2588# These three variables are undocumented and unsupported,
 2589# and are intended to be withdrawn in a future Autoconf release.
 2590# They can cause serious problems if a builder's source tree is in a directory
 2591# whose full name contains unusual characters.
 2592ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2593ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2594ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2595
 2596
 2597# Make sure we can run config.sub.
 2598$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2599  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 2600
 2601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 2602$as_echo_n "checking build system type... " >&6; }
 2603if test "${ac_cv_build+set}" = set; then :
 2604  $as_echo_n "(cached) " >&6
 2605else
 2606  ac_build_alias=$build_alias
 2607test "x$ac_build_alias" = x &&
 2608  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2609test "x$ac_build_alias" = x &&
 2610  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 2611ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2612  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 2613
 2614fi
 2615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 2616$as_echo "$ac_cv_build" >&6; }
 2617case $ac_cv_build in
 2618*-*-*) ;;
 2619*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 2620esac
 2621build=$ac_cv_build
 2622ac_save_IFS=$IFS; IFS='-'
 2623set x $ac_cv_build
 2624shift
 2625build_cpu=$1
 2626build_vendor=$2
 2627shift; shift
 2628# Remember, the first character of IFS is used to create $*,
 2629# except with old shells:
 2630build_os=$*
 2631IFS=$ac_save_IFS
 2632case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2633
 2634
 2635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 2636$as_echo_n "checking host system type... " >&6; }
 2637if test "${ac_cv_host+set}" = set; then :
 2638  $as_echo_n "(cached) " >&6
 2639else
 2640  if test "x$host_alias" = x; then
 2641  ac_cv_host=$ac_cv_build
 2642else
 2643  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2644    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 2645fi
 2646
 2647fi
 2648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 2649$as_echo "$ac_cv_host" >&6; }
 2650case $ac_cv_host in
 2651*-*-*) ;;
 2652*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 2653esac
 2654host=$ac_cv_host
 2655ac_save_IFS=$IFS; IFS='-'
 2656set x $ac_cv_host
 2657shift
 2658host_cpu=$1
 2659host_vendor=$2
 2660shift; shift
 2661# Remember, the first character of IFS is used to create $*,
 2662# except with old shells:
 2663host_os=$*
 2664IFS=$ac_save_IFS
 2665case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2666
 2667
 2668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 2669$as_echo_n "checking target system type... " >&6; }
 2670if test "${ac_cv_target+set}" = set; then :
 2671  $as_echo_n "(cached) " >&6
 2672else
 2673  if test "x$target_alias" = x; then
 2674  ac_cv_target=$ac_cv_host
 2675else
 2676  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 2677    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 2678fi
 2679
 2680fi
 2681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 2682$as_echo "$ac_cv_target" >&6; }
 2683case $ac_cv_target in
 2684*-*-*) ;;
 2685*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
 2686esac
 2687target=$ac_cv_target
 2688ac_save_IFS=$IFS; IFS='-'
 2689set x $ac_cv_target
 2690shift
 2691target_cpu=$1
 2692target_vendor=$2
 2693shift; shift
 2694# Remember, the first character of IFS is used to create $*,
 2695# except with old shells:
 2696target_os=$*
 2697IFS=$ac_save_IFS
 2698case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 2699
 2700
 2701# The aliases save the names the user supplied, while $host etc.
 2702# will get canonicalized.
 2703test -n "$target_alias" &&
 2704  test "$program_prefix$program_suffix$program_transform_name" = \
 2705    NONENONEs,x,x, &&
 2706  program_prefix=${target_alias}-
 2707
 2708target_alias=${target_alias-$host_alias}
 2709
 2710. ${srcdir}/configure.host
 2711
 2712am__api_version='1.11'
 2713
 2714# Find a good install program.  We prefer a C program (faster),
 2715# so one script is as good as another.  But avoid the broken or
 2716# incompatible versions:
 2717# SysV /etc/install, /usr/sbin/install
 2718# SunOS /usr/etc/install
 2719# IRIX /sbin/install
 2720# AIX /bin/install
 2721# AmigaOS /C/install, which installs bootblocks on floppy discs
 2722# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2723# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2724# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2725# OS/2's system install, which has a completely different semantic
 2726# ./install, which can be erroneously created by make from ./install.sh.
 2727# Reject install programs that cannot install multiple files.
 2728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2729$as_echo_n "checking for a BSD-compatible install... " >&6; }
 2730if test -z "$INSTALL"; then
 2731if test "${ac_cv_path_install+set}" = set; then :
 2732  $as_echo_n "(cached) " >&6
 2733else
 2734  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2735for as_dir in $PATH
 2736do
 2737  IFS=$as_save_IFS
 2738  test -z "$as_dir" && as_dir=.
 2739    # Account for people who put trailing slashes in PATH elements.
 2740case $as_dir/ in #((
 2741  ./ | .// | /[cC]/* | \
 2742  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2743  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2744  /usr/ucb/* ) ;;
 2745  *)
 2746    # OSF1 and SCO ODT 3.0 have their own names for install.
 2747    # Don't use installbsd from OSF since it installs stuff as root
 2748    # by default.
 2749    for ac_prog in ginstall scoinst install; do
 2750      for ac_exec_ext in '' $ac_executable_extensions; do
 2751	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2752	  if test $ac_prog = install &&
 2753	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2754	    # AIX install.  It has an incompatible calling convention.
 2755	    :
 2756	  elif test $ac_prog = install &&
 2757	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2758	    # program-specific install script used by HP pwplus--don't use.
 2759	    :
 2760	  else
 2761	    rm -rf conftest.one conftest.two conftest.dir
 2762	    echo one > conftest.one
 2763	    echo two > conftest.two
 2764	    mkdir conftest.dir
 2765	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2766	      test -s conftest.one && test -s conftest.two &&
 2767	      test -s conftest.dir/conftest.one &&
 2768	      test -s conftest.dir/conftest.two
 2769	    then
 2770	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2771	      break 3
 2772	    fi
 2773	  fi
 2774	fi
 2775      done
 2776    done
 2777    ;;
 2778esac
 2779
 2780  done
 2781IFS=$as_save_IFS
 2782
 2783rm -rf conftest.one conftest.two conftest.dir
 2784
 2785fi
 2786  if test "${ac_cv_path_install+set}" = set; then
 2787    INSTALL=$ac_cv_path_install
 2788  else
 2789    # As a last resort, use the slow shell script.  Don't cache a
 2790    # value for INSTALL within a source directory, because that will
 2791    # break other packages using the cache if that directory is
 2792    # removed, or if the value is a relative name.
 2793    INSTALL=$ac_install_sh
 2794  fi
 2795fi
 2796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2797$as_echo "$INSTALL" >&6; }
 2798
 2799# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2800# It thinks the first close brace ends the variable substitution.
 2801test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2802
 2803test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2804
 2805test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2806
 2807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2808$as_echo_n "checking whether build environment is sane... " >&6; }
 2809# Just in case
 2810sleep 1
 2811echo timestamp > conftest.file
 2812# Reject unsafe characters in $srcdir or the absolute working directory
 2813# name.  Accept space and tab only in the latter.
 2814am_lf='
 2815'
 2816case `pwd` in
 2817  *[\\\"\#\$\&\'\`$am_lf]*)
 2818    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 2819esac
 2820case $srcdir in
 2821  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
 2822    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 2823esac
 2824
 2825# Do `set' in a subshell so we don't clobber the current shell's
 2826# arguments.  Must try -L first in case configure is actually a
 2827# symlink; some systems play weird games with the mod time of symlinks
 2828# (eg FreeBSD returns the mod time of the symlink's containing
 2829# directory).
 2830if (
 2831   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2832   if test "$*" = "X"; then
 2833      # -L didn't work.
 2834      set X `ls -t "$srcdir/configure" conftest.file`
 2835   fi
 2836   rm -f conftest.file
 2837   if test "$*" != "X $srcdir/configure conftest.file" \
 2838      && test "$*" != "X conftest.file $srcdir/configure"; then
 2839
 2840      # If neither matched, then we have a broken ls.  This can happen
 2841      # if, for instance, CONFIG_SHELL is bash and it inherits a
 2842      # broken ls alias from the environment.  This has actually
 2843      # happened.  Such a system could not be considered "sane".
 2844      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 2845alias in your environment" "$LINENO" 5
 2846   fi
 2847
 2848   test "$2" = conftest.file
 2849   )
 2850then
 2851   # Ok.
 2852   :
 2853else
 2854   as_fn_error "newly created file is older than distributed files!
 2855Check your system clock" "$LINENO" 5
 2856fi
 2857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2858$as_echo "yes" >&6; }
 2859test "$program_prefix" != NONE &&
 2860  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2861# Use a double $ so make ignores it.
 2862test "$program_suffix" != NONE &&
 2863  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2864# Double any \ or $.
 2865# By default was `s,x,x', remove it if useless.
 2866ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2867program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2868
 2869# expand $ac_aux_dir to an absolute path
 2870am_aux_dir=`cd $ac_aux_dir && pwd`
 2871
 2872if test x"${MISSING+set}" != xset; then
 2873  case $am_aux_dir in
 2874  *\ * | *\	*)
 2875    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2876  *)
 2877    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2878  esac
 2879fi
 2880# Use eval to expand $SHELL
 2881if eval "$MISSING --run true"; then
 2882  am_missing_run="$MISSING --run "
 2883else
 2884  am_missing_run=
 2885  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 2886$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2887fi
 2888
 2889if test x"${install_sh}" != xset; then
 2890  case $am_aux_dir in
 2891  *\ * | *\	*)
 2892    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2893  *)
 2894    install_sh="\${SHELL} $am_aux_dir/install-sh"
 2895  esac
 2896fi
 2897
 2898# Installed binaries are usually stripped using `strip' when the user
 2899# run `make install-strip'.  However `strip' might not be the right
 2900# tool to use in cross-compilation environments, therefore Automake
 2901# will honor the `STRIP' environment variable to overrule this program.
 2902if test "$cross_compiling" != no; then
 2903  if test -n "$ac_tool_prefix"; then
 2904  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2905set dummy ${ac_tool_prefix}strip; ac_word=$2
 2906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2907$as_echo_n "checking for $ac_word... " >&6; }
 2908if test "${ac_cv_prog_STRIP+set}" = set; then :
 2909  $as_echo_n "(cached) " >&6
 2910else
 2911  if test -n "$STRIP"; then
 2912  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2913else
 2914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2915for as_dir in $PATH
 2916do
 2917  IFS=$as_save_IFS
 2918  test -z "$as_dir" && as_dir=.
 2919    for ac_exec_ext in '' $ac_executable_extensions; do
 2920  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2921    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2922    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2923    break 2
 2924  fi
 2925done
 2926  done
 2927IFS=$as_save_IFS
 2928
 2929fi
 2930fi
 2931STRIP=$ac_cv_prog_STRIP
 2932if test -n "$STRIP"; then
 2933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2934$as_echo "$STRIP" >&6; }
 2935else
 2936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2937$as_echo "no" >&6; }
 2938fi
 2939
 2940
 2941fi
 2942if test -z "$ac_cv_prog_STRIP"; then
 2943  ac_ct_STRIP=$STRIP
 2944  # Extract the first word of "strip", so it can be a program name with args.
 2945set dummy strip; ac_word=$2
 2946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2947$as_echo_n "checking for $ac_word... " >&6; }
 2948if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 2949  $as_echo_n "(cached) " >&6
 2950else
 2951  if test -n "$ac_ct_STRIP"; then
 2952  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2953else
 2954as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2955for as_dir in $PATH
 2956do
 2957  IFS=$as_save_IFS
 2958  test -z "$as_dir" && as_dir=.
 2959    for ac_exec_ext in '' $ac_executable_extensions; do
 2960  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2961    ac_cv_prog_ac_ct_STRIP="strip"
 2962    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2963    break 2
 2964  fi
 2965done
 2966  done
 2967IFS=$as_save_IFS
 2968
 2969fi
 2970fi
 2971ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2972if test -n "$ac_ct_STRIP"; then
 2973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 2974$as_echo "$ac_ct_STRIP" >&6; }
 2975else
 2976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2977$as_echo "no" >&6; }
 2978fi
 2979
 2980  if test "x$ac_ct_STRIP" = x; then
 2981    STRIP=":"
 2982  else
 2983    case $cross_compiling:$ac_tool_warned in
 2984yes:)
 2985{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2986$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2987ac_tool_warned=yes ;;
 2988esac
 2989    STRIP=$ac_ct_STRIP
 2990  fi
 2991else
 2992  STRIP="$ac_cv_prog_STRIP"
 2993fi
 2994
 2995fi
 2996INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 2997
 2998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 2999$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 3000if test -z "$MKDIR_P"; then
 3001  if test "${ac_cv_path_mkdir+set}" = set; then :
 3002  $as_echo_n "(cached) " >&6
 3003else
 3004  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3005for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3006do
 3007  IFS=$as_save_IFS
 3008  test -z "$as_dir" && as_dir=.
 3009    for ac_prog in mkdir gmkdir; do
 3010	 for ac_exec_ext in '' $ac_executable_extensions; do
 3011	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 3012	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3013	     'mkdir (GNU coreutils) '* | \
 3014	     'mkdir (coreutils) '* | \
 3015	     'mkdir (fileutils) '4.1*)
 3016	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3017	       break 3;;
 3018	   esac
 3019	 done
 3020       done
 3021  done
 3022IFS=$as_save_IFS
 3023
 3024fi
 3025
 3026  test -d ./--version && rmdir ./--version
 3027  if test "${ac_cv_path_mkdir+set}" = set; then
 3028    MKDIR_P="$ac_cv_path_mkdir -p"
 3029  else
 3030    # As a last resort, use the slow shell script.  Don't cache a
 3031    # value for MKDIR_P within a source directory, because that will
 3032    # break other packages using the cache if that directory is
 3033    # removed, or if the value is a relative name.
 3034    MKDIR_P="$ac_install_sh -d"
 3035  fi
 3036fi
 3037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3038$as_echo "$MKDIR_P" >&6; }
 3039
 3040mkdir_p="$MKDIR_P"
 3041case $mkdir_p in
 3042  [\\/$]* | ?:[\\/]*) ;;
 3043  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 3044esac
 3045
 3046for ac_prog in gawk mawk nawk awk
 3047do
 3048  # Extract the first word of "$ac_prog", so it can be a program name with args.
 3049set dummy $ac_prog; ac_word=$2
 3050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3051$as_echo_n "checking for $ac_word... " >&6; }
 3052if test "${ac_cv_prog_AWK+set}" = set; then :
 3053  $as_echo_n "(cached) " >&6
 3054else
 3055  if test -n "$AWK"; then
 3056  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3057else
 3058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3059for as_dir in $PATH
 3060do
 3061  IFS=$as_save_IFS
 3062  test -z "$as_dir" && as_dir=.
 3063    for ac_exec_ext in '' $ac_executable_extensions; do
 3064  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3065    ac_cv_prog_AWK="$ac_prog"
 3066    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3067    break 2
 3068  fi
 3069done
 3070  done
 3071IFS=$as_save_IFS
 3072
 3073fi
 3074fi
 3075AWK=$ac_cv_prog_AWK
 3076if test -n "$AWK"; then
 3077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3078$as_echo "$AWK" >&6; }
 3079else
 3080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3081$as_echo "no" >&6; }
 3082fi
 3083
 3084
 3085  test -n "$AWK" && break
 3086done
 3087
 3088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3089$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3090set x ${MAKE-make}
 3091ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3092if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 3093  $as_echo_n "(cached) " >&6
 3094else
 3095  cat >conftest.make <<\_ACEOF
 3096SHELL = /bin/sh
 3097all:
 3098	@echo '@@@%%%=$(MAKE)=@@@%%%'
 3099_ACEOF
 3100# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 3101case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3102  *@@@%%%=?*=@@@%%%*)
 3103    eval ac_cv_prog_make_${ac_make}_set=yes;;
 3104  *)
 3105    eval ac_cv_prog_make_${ac_make}_set=no;;
 3106esac
 3107rm -f conftest.make
 3108fi
 3109if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3111$as_echo "yes" >&6; }
 3112  SET_MAKE=
 3113else
 3114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3115$as_echo "no" >&6; }
 3116  SET_MAKE="MAKE=${MAKE-make}"
 3117fi
 3118
 3119rm -rf .tst 2>/dev/null
 3120mkdir .tst 2>/dev/null
 3121if test -d .tst; then
 3122  am__leading_dot=.
 3123else
 3124  am__leading_dot=_
 3125fi
 3126rmdir .tst 2>/dev/null
 3127
 3128if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3129  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3130  # is not polluted with repeated "-I."
 3131  am__isrc=' -I$(srcdir)'
 3132  # test to see if srcdir already configured
 3133  if test -f $srcdir/config.status; then
 3134    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3135  fi
 3136fi
 3137
 3138# test whether we have cygpath
 3139if test -z "$CYGPATH_W"; then
 3140  if (cygpath --version) >/dev/null 2>/dev/null; then
 3141    CYGPATH_W='cygpath -w'
 3142  else
 3143    CYGPATH_W=echo
 3144  fi
 3145fi
 3146
 3147
 3148# Define the identity of the package.
 3149 PACKAGE='libffi'
 3150 VERSION='3.0.10rc0'
 3151
 3152
 3153cat >>confdefs.h <<_ACEOF
 3154#define PACKAGE "$PACKAGE"
 3155_ACEOF
 3156
 3157
 3158cat >>confdefs.h <<_ACEOF
 3159#define VERSION "$VERSION"
 3160_ACEOF
 3161
 3162# Some tools Automake needs.
 3163
 3164ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3165
 3166
 3167AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3168
 3169
 3170AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3171
 3172
 3173AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3174
 3175
 3176MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3177
 3178# We need awk for the "check" target.  The system "awk" is bad on
 3179# some platforms.
 3180# Always define AMTAR for backward compatibility.
 3181
 3182AMTAR=${AMTAR-"${am_missing_run}tar"}
 3183
 3184am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 3185
 3186
 3187
 3188
 3189
 3190
 3191# The same as in boehm-gc and libstdc++. Have to borrow it from there.
 3192# We must force CC to /not/ be precious variables; otherwise
 3193# the wrong, non-multilib-adjusted value will be used in multilibs.
 3194# As a side effect, we have to subst CFLAGS ourselves.
 3195# Also save and restore CFLAGS, since AC_PROG_CC will come up with
 3196# defaults of its own if none are provided.
 3197
 3198
 3199
 3200save_CFLAGS=$CFLAGS
 3201ac_ext=c
 3202ac_cpp='$CPP $CPPFLAGS'
 3203ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3204ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3205ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3206if test -n "$ac_tool_prefix"; then
 3207  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 3208set dummy ${ac_tool_prefix}gcc; ac_word=$2
 3209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3210$as_echo_n "checking for $ac_word... " >&6; }
 3211if test "${ac_cv_prog_CC+set}" = set; then :
 3212  $as_echo_n "(cached) " >&6
 3213else
 3214  if test -n "$CC"; then
 3215  ac_cv_prog_CC="$CC" # Let the user override the test.
 3216else
 3217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3218for as_dir in $PATH
 3219do
 3220  IFS=$as_save_IFS
 3221  test -z "$as_dir" && as_dir=.
 3222    for ac_exec_ext in '' $ac_executable_extensions; do
 3223  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3224    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 3225    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3226    break 2
 3227  fi
 3228done
 3229  done
 3230IFS=$as_save_IFS
 3231
 3232fi
 3233fi
 3234CC=$ac_cv_prog_CC
 3235if test -n "$CC"; then
 3236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3237$as_echo "$CC" >&6; }
 3238else
 3239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3240$as_echo "no" >&6; }
 3241fi
 3242
 3243
 3244fi
 3245if test -z "$ac_cv_prog_CC"; then
 3246  ac_ct_CC=$CC
 3247  # Extract the first word of "gcc", so it can be a program name with args.
 3248set dummy gcc; ac_word=$2
 3249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3250$as_echo_n "checking for $ac_word... " >&6; }
 3251if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 3252  $as_echo_n "(cached) " >&6
 3253else
 3254  if test -n "$ac_ct_CC"; then
 3255  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3256else
 3257as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3258for as_dir in $PATH
 3259do
 3260  IFS=$as_save_IFS
 3261  test -z "$as_dir" && as_dir=.
 3262    for ac_exec_ext in '' $ac_executable_extensions; do
 3263  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3264    ac_cv_prog_ac_ct_CC="gcc"
 3265    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3266    break 2
 3267  fi
 3268done
 3269  done
 3270IFS=$as_save_IFS
 3271
 3272fi
 3273fi
 3274ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3275if test -n "$ac_ct_CC"; then
 3276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3277$as_echo "$ac_ct_CC" >&6; }
 3278else
 3279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3280$as_echo "no" >&6; }
 3281fi
 3282
 3283  if test "x$ac_ct_CC" = x; then
 3284    CC=""
 3285  else
 3286    case $cross_compiling:$ac_tool_warned in
 3287yes:)
 3288{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3289$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3290ac_tool_warned=yes ;;
 3291esac
 3292    CC=$ac_ct_CC
 3293  fi
 3294else
 3295  CC="$ac_cv_prog_CC"
 3296fi
 3297
 3298if test -z "$CC"; then
 3299          if test -n "$ac_tool_prefix"; then
 3300    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 3301set dummy ${ac_tool_prefix}cc; ac_word=$2
 3302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3303$as_echo_n "checking for $ac_word... " >&6; }
 3304if test "${ac_cv_prog_CC+set}" = set; then :
 3305  $as_echo_n "(cached) " >&6
 3306else
 3307  if test -n "$CC"; then
 3308  ac_cv_prog_CC="$CC" # Let the user override the test.
 3309else
 3310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3311for as_dir in $PATH
 3312do
 3313  IFS=$as_save_IFS
 3314  test -z "$as_dir" && as_dir=.
 3315    for ac_exec_ext in '' $ac_executable_extensions; do
 3316  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3317    ac_cv_prog_CC="${ac_tool_prefix}cc"
 3318    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3319    break 2
 3320  fi
 3321done
 3322  done
 3323IFS=$as_save_IFS
 3324
 3325fi
 3326fi
 3327CC=$ac_cv_prog_CC
 3328if test -n "$CC"; then
 3329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3330$as_echo "$CC" >&6; }
 3331else
 3332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3333$as_echo "no" >&6; }
 3334fi
 3335
 3336
 3337  fi
 3338fi
 3339if test -z "$CC"; then
 3340  # Extract the first word of "cc", so it can be a program name with args.
 3341set dummy cc; ac_word=$2
 3342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3343$as_echo_n "checking for $ac_word... " >&6; }
 3344if test "${ac_cv_prog_CC+set}" = set; then :
 3345  $as_echo_n "(cached) " >&6
 3346else
 3347  if test -n "$CC"; then
 3348  ac_cv_prog_CC="$CC" # Let the user override the test.
 3349else
 3350  ac_prog_rejected=no
 3351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3352for as_dir in $PATH
 3353do
 3354  IFS=$as_save_IFS
 3355  test -z "$as_dir" && as_dir=.
 3356    for ac_exec_ext in '' $ac_executable_extensions; do
 3357  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3358    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 3359       ac_prog_rejected=yes
 3360       continue
 3361     fi
 3362    ac_cv_prog_CC="cc"
 3363    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3364    break 2
 3365  fi
 3366done
 3367  done
 3368IFS=$as_save_IFS
 3369
 3370if test $ac_prog_rejected = yes; then
 3371  # We found a bogon in the path, so make sure we never use it.
 3372  set dummy $ac_cv_prog_CC
 3373  shift
 3374  if test $# != 0; then
 3375    # We chose a different compiler from the bogus one.
 3376    # However, it has the same basename, so the bogon will be chosen
 3377    # first if we set CC to just the basename; use the full file name.
 3378    shift
 3379    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 3380  fi
 3381fi
 3382fi
 3383fi
 3384CC=$ac_cv_prog_CC
 3385if test -n "$CC"; then
 3386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3387$as_echo "$CC" >&6; }
 3388else
 3389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3390$as_echo "no" >&6; }
 3391fi
 3392
 3393
 3394fi
 3395if test -z "$CC"; then
 3396  if test -n "$ac_tool_prefix"; then
 3397  for ac_prog in cl.exe
 3398  do
 3399    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3400set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3402$as_echo_n "checking for $ac_word... " >&6; }
 3403if test "${ac_cv_prog_CC+set}" = set; then :
 3404  $as_echo_n "(cached) " >&6
 3405else
 3406  if test -n "$CC"; then
 3407  ac_cv_prog_CC="$CC" # Let the user override the test.
 3408else
 3409as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3410for as_dir in $PATH
 3411do
 3412  IFS=$as_save_IFS
 3413  test -z "$as_dir" && as_dir=.
 3414    for ac_exec_ext in '' $ac_executable_extensions; do
 3415  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3416    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3417    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3418    break 2
 3419  fi
 3420done
 3421  done
 3422IFS=$as_save_IFS
 3423
 3424fi
 3425fi
 3426CC=$ac_cv_prog_CC
 3427if test -n "$CC"; then
 3428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3429$as_echo "$CC" >&6; }
 3430else
 3431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3432$as_echo "no" >&6; }
 3433fi
 3434
 3435
 3436    test -n "$CC" && break
 3437  done
 3438fi
 3439if test -z "$CC"; then
 3440  ac_ct_CC=$CC
 3441  for ac_prog in cl.exe
 3442do
 3443  # Extract the first word of "$ac_prog", so it can be a program name with args.
 3444set dummy $ac_prog; ac_word=$2
 3445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3446$as_echo_n "checking for $ac_word... " >&6; }
 3447if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 3448  $as_echo_n "(cached) " >&6
 3449else
 3450  if test -n "$ac_ct_CC"; then
 3451  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3452else
 3453as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3454for as_dir in $PATH
 3455do
 3456  IFS=$as_save_IFS
 3457  test -z "$as_dir" && as_dir=.
 3458    for ac_exec_ext in '' $ac_executable_extensions; do
 3459  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3460    ac_cv_prog_ac_ct_CC="$ac_prog"
 3461    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3462    break 2
 3463  fi
 3464done
 3465  done
 3466IFS=$as_save_IFS
 3467
 3468fi
 3469fi
 3470ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3471if test -n "$ac_ct_CC"; then
 3472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3473$as_echo "$ac_ct_CC" >&6; }
 3474else
 3475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3476$as_echo "no" >&6; }
 3477fi
 3478
 3479
 3480  test -n "$ac_ct_CC" && break
 3481done
 3482
 3483  if test "x$ac_ct_CC" = x; then
 3484    CC=""
 3485  else
 3486    case $cross_compiling:$ac_tool_warned in
 3487yes:)
 3488{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3489$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3490ac_tool_warned=yes ;;
 3491esac
 3492    CC=$ac_ct_CC
 3493  fi
 3494fi
 3495
 3496fi
 3497
 3498
 3499test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3500$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3501as_fn_error "no acceptable C compiler found in \$PATH
 3502See \`config.log' for more details." "$LINENO" 5; }
 3503
 3504# Provide some information about the compiler.
 3505$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3506set X $ac_compile
 3507ac_compiler=$2
 3508for ac_option in --version -v -V -qversion; do
 3509  { { ac_try="$ac_compiler $ac_option >&5"
 3510case "(($ac_try" in
 3511  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3512  *) ac_try_echo=$ac_try;;
 3513esac
 3514eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3515$as_echo "$ac_try_echo"; } >&5
 3516  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3517  ac_status=$?
 3518  if test -s conftest.err; then
 3519    sed '10a\
 3520... rest of stderr output deleted ...
 3521         10q' conftest.err >conftest.er1
 3522    cat conftest.er1 >&5
 3523  fi
 3524  rm -f conftest.er1 conftest.err
 3525  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3526  test $ac_status = 0; }
 3527done
 3528
 3529cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3530/* end confdefs.h.  */
 3531
 3532int
 3533main ()
 3534{
 3535
 3536  ;
 3537  return 0;
 3538}
 3539_ACEOF
 3540ac_clean_files_save=$ac_clean_files
 3541ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3542# Try to create an executable without -o first, disregard a.out.
 3543# It will help us diagnose broken compilers, and finding out an intuition
 3544# of exeext.
 3545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3546$as_echo_n "checking whether the C compiler works... " >&6; }
 3547ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3548
 3549# The possible output files:
 3550ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3551
 3552ac_rmfiles=
 3553for ac_file in $ac_files
 3554do
 3555  case $ac_file in
 3556    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3557    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3558  esac
 3559done
 3560rm -f $ac_rmfiles
 3561
 3562if { { ac_try="$ac_link_default"
 3563case "(($ac_try" in
 3564  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3565  *) ac_try_echo=$ac_try;;
 3566esac
 3567eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3568$as_echo "$ac_try_echo"; } >&5
 3569  (eval "$ac_link_default") 2>&5
 3570  ac_status=$?
 3571  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3572  test $ac_status = 0; }; then :
 3573  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3574# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3575# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3576# so that the user can short-circuit this test for compilers unknown to
 3577# Autoconf.
 3578for ac_file in $ac_files ''
 3579do
 3580  test -f "$ac_file" || continue
 3581  case $ac_file in
 3582    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3583	;;
 3584    [ab].out )
 3585	# We found the default executable, but exeext='' is most
 3586	# certainly right.
 3587	break;;
 3588    *.* )
 3589	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3590	then :; else
 3591	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3592	fi
 3593	# We set ac_cv_exeext here because the later test for it is not
 3594	# safe: cross compilers may not add the suffix if given an `-o'
 3595	# argument, so we may need to know it at that point already.
 3596	# Even if this section looks crufty: it has the advantage of
 3597	# actually working.
 3598	break;;
 3599    * )
 3600	break;;
 3601  esac
 3602done
 3603test "$ac_cv_exeext" = no && ac_cv_exeext=
 3604
 3605else
 3606  ac_file=''
 3607fi
 3608if test -z "$ac_file"; then :
 3609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3610$as_echo "no" >&6; }
 3611$as_echo "$as_me: failed program was:" >&5
 3612sed 's/^/| /' conftest.$ac_ext >&5
 3613
 3614{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3615$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3616{ as_fn_set_status 77
 3617as_fn_error "C compiler cannot create executables
 3618See \`config.log' for more details." "$LINENO" 5; }; }
 3619else
 3620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3621$as_echo "yes" >&6; }
 3622fi
 3623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3624$as_echo_n "checking for C compiler default output file name... " >&6; }
 3625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3626$as_echo "$ac_file" >&6; }
 3627ac_exeext=$ac_cv_exeext
 3628
 3629rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3630ac_clean_files=$ac_clean_files_save
 3631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3632$as_echo_n "checking for suffix of executables... " >&6; }
 3633if { { ac_try="$ac_link"
 3634case "(($ac_try" in
 3635  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3636  *) ac_try_echo=$ac_try;;
 3637esac
 3638eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3639$as_echo "$ac_try_echo"; } >&5
 3640  (eval "$ac_link") 2>&5
 3641  ac_status=$?
 3642  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3643  test $ac_status = 0; }; then :
 3644  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3645# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3646# work properly (i.e., refer to `conftest.exe'), while it won't with
 3647# `rm'.
 3648for ac_file in conftest.exe conftest conftest.*; do
 3649  test -f "$ac_file" || continue
 3650  case $ac_file in
 3651    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3652    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3653	  break;;
 3654    * ) break;;
 3655  esac
 3656done
 3657else
 3658  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3659$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3660as_fn_error "cannot compute suffix of executables: cannot compile and link
 3661See \`config.log' for more details." "$LINENO" 5; }
 3662fi
 3663rm -f conftest conftest$ac_cv_exeext
 3664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3665$as_echo "$ac_cv_exeext" >&6; }
 3666
 3667rm -f conftest.$ac_ext
 3668EXEEXT=$ac_cv_exeext
 3669ac_exeext=$EXEEXT
 3670cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3671/* end confdefs.h.  */
 3672#include <stdio.h>
 3673int
 3674main ()
 3675{
 3676FILE *f = fopen ("conftest.out", "w");
 3677 return ferror (f) || fclose (f) != 0;
 3678
 3679  ;
 3680  return 0;
 3681}
 3682_ACEOF
 3683ac_clean_files="$ac_clean_files conftest.out"
 3684# Check that the compiler produces executables we can run.  If not, either
 3685# the compiler is broken, or we cross compile.
 3686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3687$as_echo_n "checking whether we are cross compiling... " >&6; }
 3688if test "$cross_compiling" != yes; then
 3689  { { ac_try="$ac_link"
 3690case "(($ac_try" in
 3691  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3692  *) ac_try_echo=$ac_try;;
 3693esac
 3694eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3695$as_echo "$ac_try_echo"; } >&5
 3696  (eval "$ac_link") 2>&5
 3697  ac_status=$?
 3698  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3699  test $ac_status = 0; }
 3700  if { ac_try='./conftest$ac_cv_exeext'
 3701  { { case "(($ac_try" in
 3702  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3703  *) ac_try_echo=$ac_try;;
 3704esac
 3705eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3706$as_echo "$ac_try_echo"; } >&5
 3707  (eval "$ac_try") 2>&5
 3708  ac_status=$?
 3709  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3710  test $ac_status = 0; }; }; then
 3711    cross_compiling=no
 3712  else
 3713    if test "$cross_compiling" = maybe; then
 3714	cross_compiling=yes
 3715    else
 3716	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3717$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3718as_fn_error "cannot run C compiled programs.
 3719If you meant to cross compile, use \`--host'.
 3720See \`config.log' for more details." "$LINENO" 5; }
 3721    fi
 3722  fi
 3723fi
 3724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3725$as_echo "$cross_compiling" >&6; }
 3726
 3727rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3728ac_clean_files=$ac_clean_files_save
 3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3730$as_echo_n "checking for suffix of object files... " >&6; }
 3731if test "${ac_cv_objext+set}" = set; then :
 3732  $as_echo_n "(cached) " >&6
 3733else
 3734  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3735/* end confdefs.h.  */
 3736
 3737int
 3738main ()
 3739{
 3740
 3741  ;
 3742  return 0;
 3743}
 3744_ACEOF
 3745rm -f conftest.o conftest.obj
 3746if { { ac_try="$ac_compile"
 3747case "(($ac_try" in
 3748  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3749  *) ac_try_echo=$ac_try;;
 3750esac
 3751eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3752$as_echo "$ac_try_echo"; } >&5
 3753  (eval "$ac_compile") 2>&5
 3754  ac_status=$?
 3755  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3756  test $ac_status = 0; }; then :
 3757  for ac_file in conftest.o conftest.obj conftest.*; do
 3758  test -f "$ac_file" || continue;
 3759  case $ac_file in
 3760    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3761    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3762       break;;
 3763  esac
 3764done
 3765else
 3766  $as_echo "$as_me: failed program was:" >&5
 3767sed 's/^/| /' conftest.$ac_ext >&5
 3768
 3769{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3770$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3771as_fn_error "cannot compute suffix of object files: cannot compile
 3772See \`config.log' for more details." "$LINENO" 5; }
 3773fi
 3774rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3775fi
 3776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3777$as_echo "$ac_cv_objext" >&6; }
 3778OBJEXT=$ac_cv_objext
 3779ac_objext=$OBJEXT
 3780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3781$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3782if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 3783  $as_echo_n "(cached) " >&6
 3784else
 3785  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3786/* end confdefs.h.  */
 3787
 3788int
 3789main ()
 3790{
 3791#ifndef __GNUC__
 3792       choke me
 3793#endif
 3794
 3795  ;
 3796  return 0;
 3797}
 3798_ACEOF
 3799if ac_fn_c_try_compile "$LINENO"; then :
 3800  ac_compiler_gnu=yes
 3801else
 3802  ac_compiler_gnu=no
 3803fi
 3804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3805ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3806
 3807fi
 3808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3809$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3810if test $ac_compiler_gnu = yes; then
 3811  GCC=yes
 3812else
 3813  GCC=
 3814fi
 3815ac_test_CFLAGS=${CFLAGS+set}
 3816ac_save_CFLAGS=$CFLAGS
 3817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3818$as_echo_n "checking whether $CC accepts -g... " >&6; }
 3819if test "${ac_cv_prog_cc_g+set}" = set; then :
 3820  $as_echo_n "(cached) " >&6
 3821else
 3822  ac_save_c_werror_flag=$ac_c_werror_flag
 3823   ac_c_werror_flag=yes
 3824   ac_cv_prog_cc_g=no
 3825   CFLAGS="-g"
 3826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3827/* end confdefs.h.  */
 3828
 3829int
 3830main ()
 3831{
 3832
 3833  ;
 3834  return 0;
 3835}
 3836_ACEOF
 3837if ac_fn_c_try_compile "$LINENO"; then :
 3838  ac_cv_prog_cc_g=yes
 3839else
 3840  CFLAGS=""
 3841      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3842/* end confdefs.h.  */
 3843
 3844int
 3845main ()
 3846{
 3847
 3848  ;
 3849  return 0;
 3850}
 3851_ACEOF
 3852if ac_fn_c_try_compile "$LINENO"; then :
 3853
 3854else
 3855  ac_c_werror_flag=$ac_save_c_werror_flag
 3856	 CFLAGS="-g"
 3857	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3858/* end confdefs.h.  */
 3859
 3860int
 3861main ()
 3862{
 3863
 3864  ;
 3865  return 0;
 3866}
 3867_ACEOF
 3868if ac_fn_c_try_compile "$LINENO"; then :
 3869  ac_cv_prog_cc_g=yes
 3870fi
 3871rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3872fi
 3873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3874fi
 3875rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3876   ac_c_werror_flag=$ac_save_c_werror_flag
 3877fi
 3878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3879$as_echo "$ac_cv_prog_cc_g" >&6; }
 3880if test "$ac_test_CFLAGS" = set; then
 3881  CFLAGS=$ac_save_CFLAGS
 3882elif test $ac_cv_prog_cc_g = yes; then
 3883  if test "$GCC" = yes; then
 3884    CFLAGS="-g -O2"
 3885  else
 3886    CFLAGS="-g"
 3887  fi
 3888else
 3889  if test "$GCC" = yes; then
 3890    CFLAGS="-O2"
 3891  else
 3892    CFLAGS=
 3893  fi
 3894fi
 3895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3896$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3897if test "${ac_cv_prog_cc_c89+set}" = set; then :
 3898  $as_echo_n "(cached) " >&6
 3899else
 3900  ac_cv_prog_cc_c89=no
 3901ac_save_CC=$CC
 3902cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3903/* end confdefs.h.  */
 3904#include <stdarg.h>
 3905#include <stdio.h>
 3906#include <sys/types.h>
 3907#include <sys/stat.h>
 3908/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3909struct buf { int x; };
 3910FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3911static char *e (p, i)
 3912     char **p;
 3913     int i;
 3914{
 3915  return p[i];
 3916}
 3917static char *f (char * (*g) (char **, int), char **p, ...)
 3918{
 3919  char *s;
 3920  va_list v;
 3921  va_start (v,p);
 3922  s = g (p, va_arg (v,int));
 3923  va_end (v);
 3924  return s;
 3925}
 3926
 3927/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3928   function prototypes and stuff, but not '\xHH' hex character constants.
 3929   These don't provoke an error unfortunately, instead are silently treated
 3930   as 'x'.  The following induces an error, until -std is added to get
 3931   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3932   array size at least.  It's necessary to write '\x00'==0 to get something
 3933   that's true only with -std.  */
 3934int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3935
 3936/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3937   inside strings and character constants.  */
 3938#define FOO(x) 'x'
 3939int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3940
 3941int test (int i, double x);
 3942struct s1 {int (*f) (int a);};
 3943struct s2 {int (*f) (double a);};
 3944int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3945int argc;
 3946char **argv;
 3947int
 3948main ()
 3949{
 3950return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3951  ;
 3952  return 0;
 3953}
 3954_ACEOF
 3955for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3956	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3957do
 3958  CC="$ac_save_CC $ac_arg"
 3959  if ac_fn_c_try_compile "$LINENO"; then :
 3960  ac_cv_prog_cc_c89=$ac_arg
 3961fi
 3962rm -f core conftest.err conftest.$ac_objext
 3963  test "x$ac_cv_prog_cc_c89" != "xno" && break
 3964done
 3965rm -f conftest.$ac_ext
 3966CC=$ac_save_CC
 3967
 3968fi
 3969# AC_CACHE_VAL
 3970case "x$ac_cv_prog_cc_c89" in
 3971  x)
 3972    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3973$as_echo "none needed" >&6; } ;;
 3974  xno)
 3975    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3976$as_echo "unsupported" >&6; } ;;
 3977  *)
 3978    CC="$CC $ac_cv_prog_cc_c89"
 3979    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3980$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3981esac
 3982if test "x$ac_cv_prog_cc_c89" != xno; then :
 3983
 3984fi
 3985
 3986ac_ext=c
 3987ac_cpp='$CPP $CPPFLAGS'
 3988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3990ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3991DEPDIR="${am__leading_dot}deps"
 3992
 3993ac_config_commands="$ac_config_commands depfiles"
 3994
 3995
 3996am_make=${MAKE-make}
 3997cat > confinc << 'END'
 3998am__doit:
 3999	@echo this is the am__doit target
 4000.PHONY: am__doit
 4001END
 4002# If we don't find an include directive, just comment out the code.
 4003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 4004$as_echo_n "checking for style of include used by $am_make... " >&6; }
 4005am__include="#"
 4006am__quote=
 4007_am_result=none
 4008# First try GNU make style include.
 4009echo "include confinc" > confmf
 4010# Ignore all kinds of additional output from `make'.
 4011case `$am_make -s -f confmf 2> /dev/null` in #(
 4012*the\ am__doit\ target*)
 4013  am__include=include
 4014  am__quote=
 4015  _am_result=GNU
 4016  ;;
 4017esac
 4018# Now try BSD make style include.
 4019if test "$am__include" = "#"; then
 4020   echo '.include "confinc"' > confmf
 4021   case `$am_make -s -f confmf 2> /dev/null` in #(
 4022   *the\ am__doit\ target*)
 4023     am__include=.include
 4024     am__quote="\""
 4025     _am_result=BSD
 4026     ;;
 4027   esac
 4028fi
 4029
 4030
 4031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 4032$as_echo "$_am_result" >&6; }
 4033rm -f confinc confmf
 4034
 4035# Check whether --enable-dependency-tracking was given.
 4036if test "${enable_dependency_tracking+set}" = set; then :
 4037  enableval=$enable_dependency_tracking;
 4038fi
 4039
 4040if test "x$enable_dependency_tracking" != xno; then
 4041  am_depcomp="$ac_aux_dir/depcomp"
 4042  AMDEPBACKSLASH='\'
 4043fi
 4044 if test "x$enable_dependency_tracking" != xno; then
 4045  AMDEP_TRUE=
 4046  AMDEP_FALSE='#'
 4047else
 4048  AMDEP_TRUE='#'
 4049  AMDEP_FALSE=
 4050fi
 4051
 4052
 4053
 4054depcc="$CC"   am_compiler_list=
 4055
 4056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4057$as_echo_n "checking dependency style of $depcc... " >&6; }
 4058if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 4059  $as_echo_n "(cached) " >&6
 4060else
 4061  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4062  # We make a subdir and do the tests there.  Otherwise we can end up
 4063  # making bogus files that we don't know about and never remove.  For
 4064  # instance it was reported that on HP-UX the gcc test will end up
 4065  # making a dummy file named `D' -- because `-MD' means `put the output
 4066  # in D'.
 4067  mkdir conftest.dir
 4068  # Copy depcomp to subdir because otherwise we won't find it if we're
 4069  # using a relative directory.
 4070  cp "$am_depcomp" conftest.dir
 4071  cd conftest.dir
 4072  # We will build objects and dependencies in a subdirectory because
 4073  # it helps to detect inapplicable dependency modes.  For instance
 4074  # both Tru64's cc and ICC support -MD to output dependencies as a
 4075  # side effect of compilation, but ICC will put the dependencies in
 4076  # the current directory while Tru64 will put them in the object
 4077  # directory.
 4078  mkdir sub
 4079
 4080  am_cv_CC_dependencies_compiler_type=none
 4081  if test "$am_compiler_list" = ""; then
 4082     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4083  fi
 4084  am__universal=false
 4085  case " $depcc " in #(
 4086     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4087     esac
 4088
 4089  for depmode in $am_compiler_list; do
 4090    # Setup a source with many dependencies, because some compilers
 4091    # like to wrap large dependency lists on column 80 (with \), and
 4092    # we should not choose a depcomp mode which is confused by this.
 4093    #
 4094    # We need to recreate these files for each test, as the compiler may
 4095    # overwrite some of them when testing with obscure command lines.
 4096    # This happens at least with the AIX C compiler.
 4097    : > sub/conftest.c
 4098    for i in 1 2 3 4 5 6; do
 4099      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4100      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4101      # Solaris 8's {/usr,}/bin/sh.
 4102      touch sub/conftst$i.h
 4103    done
 4104    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4105
 4106    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4107    # mode.  It turns out that the SunPro C++ compiler does not properly
 4108    # handle `-M -o', and we need to detect this.  Also, some Intel
 4109    # versions had trouble with output in subdirs
 4110    am__obj=sub/conftest.${OBJEXT-o}
 4111    am__minus_obj="-o $am__obj"
 4112    case $depmode in
 4113    gcc)
 4114      # This depmode causes a compiler race in universal mode.
 4115      test "$am__universal" = false || continue
 4116      ;;
 4117    nosideeffect)
 4118      # after this tag, mechanisms are not by side-effect, so they'll
 4119      # only be used when explicitly requested
 4120      if test "x$enable_dependency_tracking" = xyes; then
 4121	continue
 4122      else
 4123	break
 4124      fi
 4125      ;;
 4126    msvisualcpp | msvcmsys)
 4127      # This compiler won't grok `-c -o', but also, the minuso test has
 4128      # not run yet.  These depmodes are late enough in the game, and
 4129      # so weak that their functioning should not be impacted.
 4130      am__obj=conftest.${OBJEXT-o}
 4131      am__minus_obj=
 4132      ;;
 4133    none) break ;;
 4134    esac
 4135    if depmode=$depmode \
 4136       source=sub/conftest.c object=$am__obj \
 4137       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4138       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4139         >/dev/null 2>conftest.err &&
 4140       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4141       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4142       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4143       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4144      # icc doesn't choke on unknown options, it will just issue warnings
 4145      # or remarks (even with -Werror).  So we grep stderr for any message
 4146      # that says an option was ignored or not supported.
 4147      # When given -MP, icc 7.0 and 7.1 complain thusly:
 4148      #   icc: Command line warning: ignoring option '-M'; no argument required
 4149      # The diagnosis changed in icc 8.0:
 4150      #   icc: Command line remark: option '-MP' not supported
 4151      if (grep 'ignoring option' conftest.err ||
 4152          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4153        am_cv_CC_dependencies_compiler_type=$depmode
 4154        break
 4155      fi
 4156    fi
 4157  done
 4158
 4159  cd ..
 4160  rm -rf conftest.dir
 4161else
 4162  am_cv_CC_dependencies_compiler_type=none
 4163fi
 4164
 4165fi
 4166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 4167$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 4168CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4169
 4170 if
 4171  test "x$enable_dependency_tracking" != xno \
 4172  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4173  am__fastdepCC_TRUE=
 4174  am__fastdepCC_FALSE='#'
 4175else
 4176  am__fastdepCC_TRUE='#'
 4177  am__fastdepCC_FALSE=
 4178fi
 4179
 4180
 4181CFLAGS=$save_CFLAGS
 4182
 4183
 4184
 4185
 4186
 4187# By default we simply use the C compiler to build assembly code.
 4188
 4189test "${CCAS+set}" = set || CCAS=$CC
 4190test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
 4191
 4192
 4193
 4194depcc="$CCAS"   am_compiler_list=
 4195
 4196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4197$as_echo_n "checking dependency style of $depcc... " >&6; }
 4198if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
 4199  $as_echo_n "(cached) " >&6
 4200else
 4201  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4202  # We make a subdir and do the tests there.  Otherwise we can end up
 4203  # making bogus files that we don't know about and never remove.  For
 4204  # instance it was reported that on HP-UX the gcc test will end up
 4205  # making a dummy file named `D' -- because `-MD' means `put the output
 4206  # in D'.
 4207  mkdir conftest.dir
 4208  # Copy depcomp to subdir because otherwise we won't find it if we're
 4209  # using a relative directory.
 4210  cp "$am_depcomp" conftest.dir
 4211  cd conftest.dir
 4212  # We will build objects and dependencies in a subdirectory because
 4213  # it helps to detect inapplicable dependency modes.  For instance
 4214  # both Tru64's cc and ICC support -MD to output dependencies as a
 4215  # side effect of compilation, but ICC will put the dependencies in
 4216  # the current directory while Tru64 will put them in the object
 4217  # directory.
 4218  mkdir sub
 4219
 4220  am_cv_CCAS_dependencies_compiler_type=none
 4221  if test "$am_compiler_list" = ""; then
 4222     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4223  fi
 4224  am__universal=false
 4225
 4226
 4227  for depmode in $am_compiler_list; do
 4228    # Setup a source with many dependencies, because some compilers
 4229    # like to wrap large dependency lists on column 80 (with \), and
 4230    # we should not choose a depcomp mode which is confused by this.
 4231    #
 4232    # We need to recreate these files for each test, as the compiler may
 4233    # overwrite some of them when testing with obscure command lines.
 4234    # This happens at least with the AIX C compiler.
 4235    : > sub/conftest.c
 4236    for i in 1 2 3 4 5 6; do
 4237      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4238      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4239      # Solaris 8's {/usr,}/bin/sh.
 4240      touch sub/conftst$i.h
 4241    done
 4242    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4243
 4244    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4245    # mode.  It turns out that the SunPro C++ compiler does not properly
 4246    # handle `-M -o', and we need to detect this.  Also, some Intel
 4247    # versions had trouble with output in subdirs
 4248    am__obj=sub/conftest.${OBJEXT-o}
 4249    am__minus_obj="-o $am__obj"
 4250    case $depmode in
 4251    gcc)
 4252      # This depmode causes a compiler race in universal mode.
 4253      test "$am__universal" = false || continue
 4254      ;;
 4255    nosideeffect)
 4256      # after this tag, mechanisms are not by side-effect, so they'll
 4257      # only be used when explicitly requested
 4258      if test "x$enable_dependency_tracking" = xyes; then
 4259	continue
 4260      else
 4261	break
 4262      fi
 4263      ;;
 4264    msvisualcpp | msvcmsys)
 4265      # This compiler won't grok `-c -o', but also, the minuso test has
 4266      # not run yet.  These depmodes are late enough in the game, and
 4267      # so weak that their functioning should not be impacted.
 4268      am__obj=conftest.${OBJEXT-o}
 4269      am__minus_obj=
 4270      ;;
 4271    none) break ;;
 4272    esac
 4273    if depmode=$depmode \
 4274       source=sub/conftest.c object=$am__obj \
 4275       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4276       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4277         >/dev/null 2>conftest.err &&
 4278       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4279       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4280       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4281       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4282      # icc doesn't choke on unknown options, it will just issue warnings
 4283      # or remarks (even with -Werror).  So we grep stderr for any message
 4284      # that says an option was ignored or not supported.
 4285      # When given -MP, icc 7.0 and 7.1 complain thusly:
 4286      #   icc: Command line warning: ignoring option '-M'; no argument required
 4287      # The diagnosis changed in icc 8.0:
 4288      #   icc: Command line remark: option '-MP' not supported
 4289      if (grep 'ignoring option' conftest.err ||
 4290          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4291        am_cv_CCAS_dependencies_compiler_type=$depmode
 4292        break
 4293      fi
 4294    fi
 4295  done
 4296
 4297  cd ..
 4298  rm -rf conftest.dir
 4299else
 4300  am_cv_CCAS_dependencies_compiler_type=none
 4301fi
 4302
 4303fi
 4304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
 4305$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
 4306CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
 4307
 4308 if
 4309  test "x$enable_dependency_tracking" != xno \
 4310  && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
 4311  am__fastdepCCAS_TRUE=
 4312  am__fastdepCCAS_FALSE='#'
 4313else
 4314  am__fastdepCCAS_TRUE='#'
 4315  am__fastdepCCAS_FALSE=
 4316fi
 4317
 4318
 4319if test "x$CC" != xcc; then
 4320  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 4321$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 4322else
 4323  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 4324$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 4325fi
 4326set dummy $CC; ac_cc=`$as_echo "$2" |
 4327		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4328if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
 4329  $as_echo_n "(cached) " >&6
 4330else
 4331  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4332/* end confdefs.h.  */
 4333
 4334int
 4335main ()
 4336{
 4337
 4338  ;
 4339  return 0;
 4340}
 4341_ACEOF
 4342# Make sure it works both with $CC and with simple cc.
 4343# We do the test twice because some compilers refuse to overwrite an
 4344# existing .o file with -o, though they will create one.
 4345ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4346rm -f conftest2.*
 4347if { { case "(($ac_try" in
 4348  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4349  *) ac_try_echo=$ac_try;;
 4350esac
 4351eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4352$as_echo "$ac_try_echo"; } >&5
 4353  (eval "$ac_try") 2>&5
 4354  ac_status=$?
 4355  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4356  test $ac_status = 0; } &&
 4357   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4358  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4359  *) ac_try_echo=$ac_try;;
 4360esac
 4361eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4362$as_echo "$ac_try_echo"; } >&5
 4363  (eval "$ac_try") 2>&5
 4364  ac_status=$?
 4365  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4366  test $ac_status = 0; };
 4367then
 4368  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 4369  if test "x$CC" != xcc; then
 4370    # Test first that cc exists at all.
 4371    if { ac_try='cc -c conftest.$ac_ext >&5'
 4372  { { case "(($ac_try" in
 4373  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4374  *) ac_try_echo=$ac_try;;
 4375esac
 4376eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4377$as_echo "$ac_try_echo"; } >&5
 4378  (eval "$ac_try") 2>&5
 4379  ac_status=$?
 4380  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4381  test $ac_status = 0; }; }; then
 4382      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4383      rm -f conftest2.*
 4384      if { { case "(($ac_try" in
 4385  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4386  *) ac_try_echo=$ac_try;;
 4387esac
 4388eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4389$as_echo "$ac_try_echo"; } >&5
 4390  (eval "$ac_try") 2>&5
 4391  ac_status=$?
 4392  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4393  test $ac_status = 0; } &&
 4394	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4395  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4396  *) ac_try_echo=$ac_try;;
 4397esac
 4398eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4399$as_echo "$ac_try_echo"; } >&5
 4400  (eval "$ac_try") 2>&5
 4401  ac_status=$?
 4402  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4403  test $ac_status = 0; };
 4404      then
 4405	# cc works too.
 4406	:
 4407      else
 4408	# cc exists but doesn't like -o.
 4409	eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4410      fi
 4411    fi
 4412  fi
 4413else
 4414  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4415fi
 4416rm -f core conftest*
 4417
 4418fi
 4419if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 4420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4421$as_echo "yes" >&6; }
 4422else
 4423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4424$as_echo "no" >&6; }
 4425
 4426$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 4427
 4428fi
 4429
 4430# FIXME: we rely on the cache variable name because
 4431# there is no other way.
 4432set dummy $CC
 4433am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4434eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 4435if test "$am_t" != yes; then
 4436   # Losing compiler, so override with the script.
 4437   # FIXME: It is wrong to rewrite CC.
 4438   # But if we don't then we get into trouble of one sort or another.
 4439   # A longer-term fix would be to have automake use am__CC in this case,
 4440   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 4441   CC="$am_aux_dir/compile $CC"
 4442fi
 4443
 4444
 4445case `pwd` in
 4446  *\ * | *\	*)
 4447    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 4448$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 4449esac
 4450
 4451
 4452
 4453macro_version='2.2.6b'
 4454macro_revision='1.3017'
 4455
 4456
 4457
 4458
 4459
 4460
 4461
 4462
 4463
 4464
 4465
 4466
 4467
 4468ltmain="$ac_aux_dir/ltmain.sh"
 4469
 4470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 4471$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 4472if test "${ac_cv_path_SED+set}" = set; then :
 4473  $as_echo_n "(cached) " >&6
 4474else
 4475            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 4476     for ac_i in 1 2 3 4 5 6 7; do
 4477       ac_script="$ac_script$as_nl$ac_script"
 4478     done
 4479     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 4480     { ac_script=; unset ac_script;}
 4481     if test -z "$SED"; then
 4482  ac_path_SED_found=false
 4483  # Loop through the user's path and test for each of PROGNAME-LIST
 4484  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4485for as_dir in $PATH
 4486do
 4487  IFS=$as_save_IFS
 4488  test -z "$as_dir" && as_dir=.
 4489    for ac_prog in sed gsed; do
 4490    for ac_exec_ext in '' $ac_executable_extensions; do
 4491      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 4492      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 4493# Check for GNU ac_path_SED and select it if it is found.
 4494  # Check for GNU $ac_path_SED
 4495case `"$ac_path_SED" --version 2>&1` in
 4496*GNU*)
 4497  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 4498*)
 4499  ac_count=0
 4500  $as_echo_n 0123456789 >"conftest.in"
 4501  while :
 4502  do
 4503    cat "conftest.in" "conftest.in" >"conftest.tmp"
 4504    mv "conftest.tmp" "conftest.in"
 4505    cp "conftest.in" "conftest.nl"
 4506    $as_echo '' >> "conftest.nl"
 4507    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4508    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4509    as_fn_arith $ac_count + 1 && ac_count=$as_val
 4510    if test $ac_count -gt ${ac_path_SED_max-0}; then
 4511      # Best one so far, save it but keep looking for a better one
 4512      ac_cv_path_SED="$ac_path_SED"
 4513      ac_path_SED_max=$ac_count
 4514    fi
 4515    # 10*(2^10) chars as input seems more than enough
 4516    test $ac_count -gt 10 && break
 4517  done
 4518  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4519esac
 4520
 4521      $ac_path_SED_found && break 3
 4522    done
 4523  done
 4524  done
 4525IFS=$as_save_IFS
 4526  if test -z "$ac_cv_path_SED"; then
 4527    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 4528  fi
 4529else
 4530  ac_cv_path_SED=$SED
 4531fi
 4532
 4533fi
 4534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 4535$as_echo "$ac_cv_path_SED" >&6; }
 4536 SED="$ac_cv_path_SED"
 4537  rm -f conftest.sed
 4538
 4539test -z "$SED" && SED=sed
 4540Xsed="$SED -e 1s/^X//"
 4541
 4542
 4543
 4544
 4545
 4546
 4547
 4548
 4549
 4550
 4551
 4552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 4553$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 4554if test "${ac_cv_path_GREP+set}" = set; then :
 4555  $as_echo_n "(cached) " >&6
 4556else
 4557  if test -z "$GREP"; then
 4558  ac_path_GREP_found=false
 4559  # Loop through the user's path and test for each of PROGNAME-LIST
 4560  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4561for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4562do
 4563  IFS=$as_save_IFS
 4564  test -z "$as_dir" && as_dir=.
 4565    for ac_prog in grep ggrep; do
 4566    for ac_exec_ext in '' $ac_executable_extensions; do
 4567      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 4568      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 4569# Check for GNU ac_path_GREP and select it if it is found.
 4570  # Check for GNU $ac_path_GREP
 4571case `"$ac_path_GREP" --version 2>&1` in
 4572*GNU*)
 4573  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 4574*)
 4575  ac_count=0
 4576  $as_echo_n 0123456789 >"conftest.in"
 4577  while :
 4578  do
 4579    cat "conftest.in" "conftest.in" >"conftest.tmp"
 4580    mv "conftest.tmp" "conftest.in"
 4581    cp "conftest.in" "conftest.nl"
 4582    $as_echo 'GREP' >> "conftest.nl"
 4583    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4584    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4585    as_fn_arith $ac_count + 1 && ac_count=$as_val
 4586    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 4587      # Best one so far, save it but keep looking for a better one
 4588      ac_cv_path_GREP="$ac_path_GREP"
 4589      ac_path_GREP_max=$ac_count
 4590    fi
 4591    # 10*(2^10) chars as input seems more than enough
 4592    test $ac_count -gt 10 && break
 4593  done
 4594  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4595esac
 4596
 4597      $ac_path_GREP_found && break 3
 4598    done
 4599  done
 4600  done
 4601IFS=$as_save_IFS
 4602  if test -z "$ac_cv_path_GREP"; then
 4603    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4604  fi
 4605else
 4606  ac_cv_path_GREP=$GREP
 4607fi
 4608
 4609fi
 4610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 4611$as_echo "$ac_cv_path_GREP" >&6; }
 4612 GREP="$ac_cv_path_GREP"
 4613
 4614
 4615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 4616$as_echo_n "checking for egrep... " >&6; }
 4617if test "${ac_cv_path_EGREP+set}" = set; then :
 4618  $as_echo_n "(cached) " >&6
 4619else
 4620  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 4621   then ac_cv_path_EGREP="$GREP -E"
 4622   else
 4623     if test -z "$EGREP"; then
 4624  ac_path_EGREP_found=false
 4625  # Loop through the user's path and test for each of PROGNAME-LIST
 4626  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4627for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4628do
 4629  IFS=$as_save_IFS
 4630  test -z "$as_dir" && as_dir=.
 4631    for ac_prog in egrep; do
 4632    for ac_exec_ext in '' $ac_executable_extensions; do
 4633      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 4634      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 4635# Check for GNU ac_path_EGREP and select it if it is found.
 4636  # Check for GNU $ac_path_EGREP
 4637case `"$ac_path_EGREP" --version 2>&1` in
 4638*GNU*)
 4639  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 4640*)
 4641  ac_count=0
 4642  $as_echo_n 0123456789 >"conftest.in"
 4643  while :
 4644  do
 4645    cat "conftest.in" "conftest.in" >"conftest.tmp"
 4646    mv "conftest.tmp" "conftest.in"
 4647    cp "conftest.in" "conftest.nl"
 4648    $as_echo 'EGREP' >> "conftest.nl"
 4649    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4650    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4651    as_fn_arith $ac_count + 1 && ac_count=$as_val
 4652    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 4653      # Best one so far, save it but keep looking for a better one
 4654      ac_cv_path_EGREP="$ac_path_EGREP"
 4655      ac_path_EGREP_max=$ac_count
 4656    fi
 4657    # 10*(2^10) chars as input seems more than enough
 4658    test $ac_count -gt 10 && break
 4659  done
 4660  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4661esac
 4662
 4663      $ac_path_EGREP_found && break 3
 4664    done
 4665  done
 4666  done
 4667IFS=$as_save_IFS
 4668  if test -z "$ac_cv_path_EGREP"; then
 4669    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4670  fi
 4671else
 4672  ac_cv_path_EGREP=$EGREP
 4673fi
 4674
 4675   fi
 4676fi
 4677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 4678$as_echo "$ac_cv_path_EGREP" >&6; }
 4679 EGREP="$ac_cv_path_EGREP"
 4680
 4681
 4682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 4683$as_echo_n "checking for fgrep... " >&6; }
 4684if test "${ac_cv_path_FGREP+set}" = set; then :
 4685  $as_echo_n "(cached) " >&6
 4686else
 4687  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 4688   then ac_cv_path_FGREP="$GREP -F"
 4689   else
 4690     if test -z "$FGREP"; then
 4691  ac_path_FGREP_found=false
 4692  # Loop through the user's path and test for each of PROGNAME-LIST
 4693  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4694for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4695do
 4696  IFS=$as_save_IFS
 4697  test -z "$as_dir" && as_dir=.
 4698    for ac_prog in fgrep; do
 4699    for ac_exec_ext in '' $ac_executable_extensions; do
 4700      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 4701      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 4702# Check for GNU ac_path_FGREP and select it if it is found.
 4703  # Check for GNU $ac_path_FGREP
 4704case `"$ac_path_FGREP" --version 2>&1` in
 4705*GNU*)
 4706  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 4707*)
 4708  ac_count=0
 4709  $as_echo_n 0123456789 >"conftest.in"
 4710  while :
 4711  do
 4712    cat "conftest.in" "conftest.in" >"conftest.tmp"
 4713    mv "conftest.tmp" "conftest.in"
 4714    cp "conftest.in" "conftest.nl"
 4715    $as_echo 'FGREP' >> "conftest.nl"
 4716    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4717    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4718    as_fn_arith $ac_count + 1 && ac_count=$as_val
 4719    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 4720      # Best one so far, save it but keep looking for a better one
 4721      ac_cv_path_FGREP="$ac_path_FGREP"
 4722      ac_path_FGREP_max=$ac_count
 4723    fi
 4724    # 10*(2^10) chars as input seems more than enough
 4725    test $ac_count -gt 10 && break
 4726  done
 4727  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4728esac
 4729
 4730      $ac_path_FGREP_found && break 3
 4731    done
 4732  done
 4733  done
 4734IFS=$as_save_IFS
 4735  if test -z "$ac_cv_path_FGREP"; then
 4736    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4737  fi
 4738else
 4739  ac_cv_path_FGREP=$FGREP
 4740fi
 4741
 4742   fi
 4743fi
 4744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 4745$as_echo "$ac_cv_path_FGREP" >&6; }
 4746 FGREP="$ac_cv_path_FGREP"
 4747
 4748
 4749test -z "$GREP" && GREP=grep
 4750
 4751
 4752
 4753
 4754
 4755
 4756
 4757
 4758
 4759
 4760
 4761
 4762
 4763
 4764
 4765
 4766
 4767
 4768
 4769# Check whether --with-gnu-ld was given.
 4770if test "${with_gnu_ld+set}" = set; then :
 4771  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 4772else
 4773  with_gnu_ld=no
 4774fi
 4775
 4776ac_prog=ld
 4777if test "$GCC" = yes; then
 4778  # Check if gcc -print-prog-name=ld gives a path.
 4779  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 4780$as_echo_n "checking for ld used by $CC... " >&6; }
 4781  case $host in
 4782  *-*-mingw*)
 4783    # gcc leaves a trailing carriage return which upsets mingw
 4784    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 4785  *)
 4786    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 4787  esac
 4788  case $ac_prog in
 4789    # Accept absolute paths.
 4790    [\\/]* | ?:[\\/]*)
 4791      re_direlt='/[^/][^/]*/\.\./'
 4792      # Canonicalize the pathname of ld
 4793      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 4794      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 4795	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 4796      done
 4797      test -z "$LD" && LD="$ac_prog"
 4798      ;;
 4799  "")
 4800    # If it fails, then pretend we aren't using GCC.
 4801    ac_prog=ld
 4802    ;;
 4803  *)
 4804    # If it is relative, then search for the first ld in PATH.
 4805    with_gnu_ld=unknown
 4806    ;;
 4807  esac
 4808elif test "$with_gnu_ld" = yes; then
 4809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 4810$as_echo_n "checking for GNU ld... " >&6; }
 4811else
 4812  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 4813$as_echo_n "checking for non-GNU ld... " >&6; }
 4814fi
 4815if test "${lt_cv_path_LD+set}" = set; then :
 4816  $as_echo_n "(cached) " >&6
 4817else
 4818  if test -z "$LD"; then
 4819  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 4820  for ac_dir in $PATH; do
 4821    IFS="$lt_save_ifs"
 4822    test -z "$ac_dir" && ac_dir=.
 4823    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 4824      lt_cv_path_LD="$ac_dir/$ac_prog"
 4825      # Check to see if the program is GNU ld.  I'd rather use --version,
 4826      # but apparently some variants of GNU ld only accept -v.
 4827      # Break only if it was the GNU/non-GNU ld that we prefer.
 4828      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 4829      *GNU* | *'with BFD'*)
 4830	test "$with_gnu_ld" != no && break
 4831	;;
 4832      *)
 4833	test "$with_gnu_ld" != yes && break
 4834	;;
 4835      esac
 4836    fi
 4837  done
 4838  IFS="$lt_save_ifs"
 4839else
 4840  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 4841fi
 4842fi
 4843
 4844LD="$lt_cv_path_LD"
 4845if test -n "$LD"; then
 4846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 4847$as_echo "$LD" >&6; }
 4848else
 4849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4850$as_echo "no" >&6; }
 4851fi
 4852test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 4853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 4854$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 4855if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 4856  $as_echo_n "(cached) " >&6
 4857else
 4858  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 4859case `$LD -v 2>&1 </dev/null` in
 4860*GNU* | *'with BFD'*)
 4861  lt_cv_prog_gnu_ld=yes
 4862  ;;
 4863*)
 4864  lt_cv_prog_gnu_ld=no
 4865  ;;
 4866esac
 4867fi
 4868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 4869$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 4870with_gnu_ld=$lt_cv_prog_gnu_ld
 4871
 4872
 4873
 4874
 4875
 4876
 4877
 4878
 4879
 4880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 4881$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 4882if test "${lt_cv_path_NM+set}" = set; then :
 4883  $as_echo_n "(cached) " >&6
 4884else
 4885  if test -n "$NM"; then
 4886  # Let the user override the test.
 4887  lt_cv_path_NM="$NM"
 4888else
 4889  lt_nm_to_check="${ac_tool_prefix}nm"
 4890  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 4891    lt_nm_to_check="$lt_nm_to_check nm"
 4892  fi
 4893  for lt_tmp_nm in $lt_nm_to_check; do
 4894    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 4895    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 4896      IFS="$lt_save_ifs"
 4897      test -z "$ac_dir" && ac_dir=.
 4898      tmp_nm="$ac_dir/$lt_tmp_nm"
 4899      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 4900	# Check to see if the nm accepts a BSD-compat flag.
 4901	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
 4902	#   nm: unknown option "B" ignored
 4903	# Tru64's nm complains that /dev/null is an invalid object file
 4904	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 4905	*/dev/null* | *'Invalid file or object type'*)
 4906	  lt_cv_path_NM="$tmp_nm -B"
 4907	  break
 4908	  ;;
 4909	*)
 4910	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 4911	  */dev/null*)
 4912	    lt_cv_path_NM="$tmp_nm -p"
 4913	    break
 4914	    ;;
 4915	  *)
 4916	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 4917	    continue # so that we can try to find one that supports BSD flags
 4918	    ;;
 4919	  esac
 4920	  ;;
 4921	esac
 4922      fi
 4923    done
 4924    IFS="$lt_save_ifs"
 4925  done
 4926  : ${lt_cv_path_NM=no}
 4927fi
 4928fi
 4929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 4930$as_echo "$lt_cv_path_NM" >&6; }
 4931if test "$lt_cv_path_NM" != "no"; then
 4932  NM="$lt_cv_path_NM"
 4933else
 4934  # Didn't find any BSD compatible name lister, look for dumpbin.
 4935  if test -n "$ac_tool_prefix"; then
 4936  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 4937  do
 4938    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4939set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4941$as_echo_n "checking for $ac_word... " >&6; }
 4942if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 4943  $as_echo_n "(cached) " >&6
 4944else
 4945  if test -n "$DUMPBIN"; then
 4946  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 4947else
 4948as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4949for as_dir in $PATH
 4950do
 4951  IFS=$as_save_IFS
 4952  test -z "$as_dir" && as_dir=.
 4953    for ac_exec_ext in '' $ac_executable_extensions; do
 4954  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4955    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 4956    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4957    break 2
 4958  fi
 4959done
 4960  done
 4961IFS=$as_save_IFS
 4962
 4963fi
 4964fi
 4965DUMPBIN=$ac_cv_prog_DUMPBIN
 4966if test -n "$DUMPBIN"; then
 4967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 4968$as_echo "$DUMPBIN" >&6; }
 4969else
 4970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4971$as_echo "no" >&6; }
 4972fi
 4973
 4974
 4975    test -n "$DUMPBIN" && break
 4976  done
 4977fi
 4978if test -z "$DUMPBIN"; then
 4979  ac_ct_DUMPBIN=$DUMPBIN
 4980  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 4981do
 4982  # Extract the first word of "$ac_prog", so it can be a program name with args.
 4983set dummy $ac_prog; ac_word=$2
 4984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4985$as_echo_n "checking for $ac_word... " >&6; }
 4986if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 4987  $as_echo_n "(cached) " >&6
 4988else
 4989  if test -n "$ac_ct_DUMPBIN"; then
 4990  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 4991else
 4992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4993for as_dir in $PATH
 4994do
 4995  IFS=$as_save_IFS
 4996  test -z "$as_dir" && as_dir=.
 4997    for ac_exec_ext in '' $ac_executable_extensions; do
 4998  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4999    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 5000    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5001    break 2
 5002  fi
 5003done
 5004  done
 5005IFS=$as_save_IFS
 5006
 5007fi
 5008fi
 5009ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 5010if test -n "$ac_ct_DUMPBIN"; then
 5011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 5012$as_echo "$ac_ct_DUMPBIN" >&6; }
 5013else
 5014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5015$as_echo "no" >&6; }
 5016fi
 5017
 5018
 5019  test -n "$ac_ct_DUMPBIN" && break
 5020done
 5021
 5022  if test "x$ac_ct_DUMPBIN" = x; then
 5023    DUMPBIN=":"
 5024  else
 5025    case $cross_compiling:$ac_tool_warned in
 5026yes:)
 5027{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5028$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5029ac_tool_warned=yes ;;
 5030esac
 5031    DUMPBIN=$ac_ct_DUMPBIN
 5032  fi
 5033fi
 5034
 5035
 5036  if test "$DUMPBIN" != ":"; then
 5037    NM="$DUMPBIN"
 5038  fi
 5039fi
 5040test -z "$NM" && NM=nm
 5041
 5042
 5043
 5044
 5045
 5046
 5047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 5048$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 5049if test "${lt_cv_nm_interface+set}" = set; then :
 5050  $as_echo_n "(cached) " >&6
 5051else
 5052  lt_cv_nm_interface="BSD nm"
 5053  echo "int some_variable = 0;" > conftest.$ac_ext
 5054  (eval echo "\"\$as_me:5053: $ac_compile\"" >&5)
 5055  (eval "$ac_compile" 2>conftest.err)
 5056  cat conftest.err >&5
 5057  (eval echo "\"\$as_me:5056: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 5058  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 5059  cat conftest.err >&5
 5060  (eval echo "\"\$as_me:5059: output\"" >&5)
 5061  cat conftest.out >&5
 5062  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 5063    lt_cv_nm_interface="MS dumpbin"
 5064  fi
 5065  rm -f conftest*
 5066fi
 5067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 5068$as_echo "$lt_cv_nm_interface" >&6; }
 5069
 5070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 5071$as_echo_n "checking whether ln -s works... " >&6; }
 5072LN_S=$as_ln_s
 5073if test "$LN_S" = "ln -s"; then
 5074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5075$as_echo "yes" >&6; }
 5076else
 5077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 5078$as_echo "no, using $LN_S" >&6; }
 5079fi
 5080
 5081# find the maximum length of command line arguments
 5082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 5083$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 5084if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 5085  $as_echo_n "(cached) " >&6
 5086else
 5087    i=0
 5088  teststring="ABCD"
 5089
 5090  case $build_os in
 5091  msdosdjgpp*)
 5092    # On DJGPP, this test can blow up pretty badly due to problems in libc
 5093    # (any single argument exceeding 2000 bytes causes a buffer overrun
 5094    # during glob expansion).  Even if it were fixed, the result of this
 5095    # check would be larger than it should be.
 5096    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 5097    ;;
 5098
 5099  gnu*)
 5100    # Under GNU Hurd, this test is not required because there is
 5101    # no limit to the length of command line arguments.
 5102    # Libtool will interpret -1 as no limit whatsoever
 5103    lt_cv_sys_max_cmd_len=-1;
 5104    ;;
 5105
 5106  cygwin* | mingw* | cegcc*)
 5107    # On Win9x/ME, this test blows up -- it succeeds, but takes
 5108    # about 5 minutes as the teststring grows exponentially.
 5109    # Worse, since 9x/ME are not pre-emptively multitasking,
 5110    # you end up with a "frozen" computer, even though with patience
 5111    # the test eventually succeeds (with a max line length of 256k).
 5112    # Instead, let's just punt: use the minimum linelength reported by
 5113    # all of the supported platforms: 8192 (on NT/2K/XP).
 5114    lt_cv_sys_max_cmd_len=8192;
 5115    ;;
 5116
 5117  amigaos*)
 5118    # On AmigaOS with pdksh, this test takes hours, literally.
 5119    # So we just punt and use a minimum line length of 8192.
 5120    lt_cv_sys_max_cmd_len=8192;
 5121    ;;
 5122
 5123  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 5124    # This has been around since 386BSD, at least.  Likely further.
 5125    if test -x /sbin/sysctl; then
 5126      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 5127    elif test -x /usr/sbin/sysctl; then
 5128      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 5129    else
 5130      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 5131    fi
 5132    # And add a safety zone
 5133    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 5134    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 5135    ;;
 5136
 5137  interix*)
 5138    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 5139    lt_cv_sys_max_cmd_len=196608
 5140    ;;
 5141
 5142  osf*)
 5143    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 5144    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 5145    # nice to cause kernel panics so lets avoid the loop below.
 5146    # First set a reasonable default.
 5147    lt_cv_sys_max_cmd_len=16384
 5148    #
 5149    if test -x /sbin/sysconfig; then
 5150      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 5151        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 5152      esac
 5153    fi
 5154    ;;
 5155  sco3.2v5*)
 5156    lt_cv_sys_max_cmd_len=102400
 5157    ;;
 5158  sysv5* | sco5v6* | sysv4.2uw2*)
 5159    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 5160    if test -n "$kargmax"; then
 5161      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
 5162    else
 5163      lt_cv_sys_max_cmd_len=32768
 5164    fi
 5165    ;;
 5166  *)
 5167    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 5168    if test -n "$lt_cv_sys_max_cmd_len"; then
 5169      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 5170      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 5171    else
 5172      # Make teststring a little bigger before we do anything with it.
 5173      # a 1K string should be a reasonable start.
 5174      for i in 1 2 3 4 5 6 7 8 ; do
 5175        teststring=$teststring$teststring
 5176      done
 5177      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 5178      # If test is not a shell built-in, we'll probably end up computing a
 5179      # maximum length that is only half of the actual maximum length, but
 5180      # we can't tell.
 5181      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 5182	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 5183	      test $i != 17 # 1/2 MB should be enough
 5184      do
 5185        i=`expr $i + 1`
 5186        teststring=$teststring$teststring
 5187      done
 5188      # Only check the string length outside the loop.
 5189      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 5190      teststring=
 5191      # Add a significant safety factor because C++ compilers can tack on
 5192      # massive amounts of additional arguments before passing them to the
 5193      # linker.  It appears as though 1/2 is a usable value.
 5194      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 5195    fi
 5196    ;;
 5197  esac
 5198
 5199fi
 5200
 5201if test -n $lt_cv_sys_max_cmd_len ; then
 5202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 5203$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 5204else
 5205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 5206$as_echo "none" >&6; }
 5207fi
 5208max_cmd_len=$lt_cv_sys_max_cmd_len
 5209
 5210
 5211
 5212
 5213
 5214
 5215: ${CP="cp -f"}
 5216: ${MV="mv -f"}
 5217: ${RM="rm -f"}
 5218
 5219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 5220$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 5221# Try some XSI features
 5222xsi_shell=no
 5223( _lt_dummy="a/b/c"
 5224  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 5225      = c,a/b,, \
 5226    && eval 'test $(( 1 + 1 )) -eq 2 \
 5227    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 5228  && xsi_shell=yes
 5229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 5230$as_echo "$xsi_shell" >&6; }
 5231
 5232
 5233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 5234$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 5235lt_shell_append=no
 5236( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 5237    >/dev/null 2>&1 \
 5238  && lt_shell_append=yes
 5239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 5240$as_echo "$lt_shell_append" >&6; }
 5241
 5242
 5243if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 5244  lt_unset=unset
 5245else
 5246  lt_unset=false
 5247fi
 5248
 5249
 5250
 5251
 5252
 5253# test EBCDIC or ASCII
 5254case `echo X|tr X '\101'` in
 5255 A) # ASCII based system
 5256    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 5257  lt_SP2NL='tr \040 \012'
 5258  lt_NL2SP='tr \015\012 \040\040'
 5259  ;;
 5260 *) # EBCDIC based system
 5261  lt_SP2NL='tr \100 \n'
 5262  lt_NL2SP='tr \r\n \100\100'
 5263  ;;
 5264esac
 5265
 5266
 5267
 5268
 5269
 5270
 5271
 5272
 5273
 5274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 5275$as_echo_n "checking for $LD option to reload object files... " >&6; }
 5276if test "${lt_cv_ld_reload_flag+set}" = set; then :
 5277  $as_echo_n "(cached) " >&6
 5278else
 5279  lt_cv_ld_reload_flag='-r'
 5280fi
 5281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 5282$as_echo "$lt_cv_ld_reload_flag" >&6; }
 5283reload_flag=$lt_cv_ld_reload_flag
 5284case $reload_flag in
 5285"" | " "*) ;;
 5286*) reload_flag=" $reload_flag" ;;
 5287esac
 5288reload_cmds='$LD$reload_flag -o $output$reload_objs'
 5289case $host_os in
 5290  darwin*)
 5291    if test "$GCC" = yes; then
 5292      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 5293    else
 5294      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 5295    fi
 5296    ;;
 5297esac
 5298
 5299
 5300
 5301
 5302
 5303
 5304
 5305
 5306
 5307if test -n "$ac_tool_prefix"; then
 5308  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 5309set dummy ${ac_tool_prefix}objdump; ac_word=$2
 5310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5311$as_echo_n "checking for $ac_word... " >&6; }
 5312if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 5313  $as_echo_n "(cached) " >&6
 5314else
 5315  if test -n "$OBJDUMP"; then
 5316  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 5317else
 5318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5319for as_dir in $PATH
 5320do
 5321  IFS=$as_save_IFS
 5322  test -z "$as_dir" && as_dir=.
 5323    for ac_exec_ext in '' $ac_executable_extensions; do
 5324  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5325    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 5326    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5327    break 2
 5328  fi
 5329done
 5330  done
 5331IFS=$as_save_IFS
 5332
 5333fi
 5334fi
 5335OBJDUMP=$ac_cv_prog_OBJDUMP
 5336if test -n "$OBJDUMP"; then
 5337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 5338$as_echo "$OBJDUMP" >&6; }
 5339else
 5340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5341$as_echo "no" >&6; }
 5342fi
 5343
 5344
 5345fi
 5346if test -z "$ac_cv_prog_OBJDUMP"; then
 5347  ac_ct_OBJDUMP=$OBJDUMP
 5348  # Extract the first word of "objdump", so it can be a program name with args.
 5349set dummy objdump; ac_word=$2
 5350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5351$as_echo_n "checking for $ac_word... " >&6; }
 5352if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 5353  $as_echo_n "(cached) " >&6
 5354else
 5355  if test -n "$ac_ct_OBJDUMP"; then
 5356  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 5357else
 5358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5359for as_dir in $PATH
 5360do
 5361  IFS=$as_save_IFS
 5362  test -z "$as_dir" && as_dir=.
 5363    for ac_exec_ext in '' $ac_executable_extensions; do
 5364  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5365    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 5366    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5367    break 2
 5368  fi
 5369done
 5370  done
 5371IFS=$as_save_IFS
 5372
 5373fi
 5374fi
 5375ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 5376if test -n "$ac_ct_OBJDUMP"; then
 5377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 5378$as_echo "$ac_ct_OBJDUMP" >&6; }
 5379else
 5380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5381$as_echo "no" >&6; }
 5382fi
 5383
 5384  if test "x$ac_ct_OBJDUMP" = x; then
 5385    OBJDUMP="false"
 5386  else
 5387    case $cross_compiling:$ac_tool_warned in
 5388yes:)
 5389{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5390$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5391ac_tool_warned=yes ;;
 5392esac
 5393    OBJDUMP=$ac_ct_OBJDUMP
 5394  fi
 5395else
 5396  OBJDUMP="$ac_cv_prog_OBJDUMP"
 5397fi
 5398
 5399test -z "$OBJDUMP" && OBJDUMP=objdump
 5400
 5401
 5402
 5403
 5404
 5405
 5406
 5407
 5408
 5409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 5410$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 5411if test "${lt_cv_deplibs_check_method+set}" = set; then :
 5412  $as_echo_n "(cached) " >&6
 5413else
 5414  lt_cv_file_magic_cmd='$MAGIC_CMD'
 5415lt_cv_file_magic_test_file=
 5416lt_cv_deplibs_check_method='unknown'
 5417# Need to set the preceding variable on all platforms that support
 5418# interlibrary dependencies.
 5419# 'none' -- dependencies not supported.
 5420# `unknown' -- same as none, but documents that we really don't know.
 5421# 'pass_all' -- all dependencies passed with no checks.
 5422# 'test_compile' -- check by making test program.
 5423# 'file_magic [[regex]]' -- check by looking for files in library path
 5424# which responds to the $file_magic_cmd with a given extended regex.
 5425# If you have `file' or equivalent on your system and you're not sure
 5426# whether `pass_all' will *always* work, you probably want this one.
 5427
 5428case $host_os in
 5429aix[4-9]*)
 5430  lt_cv_deplibs_check_method=pass_all
 5431  ;;
 5432
 5433beos*)
 5434  lt_cv_deplibs_check_method=pass_all
 5435  ;;
 5436
 5437bsdi[45]*)
 5438  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 5439  lt_cv_file_magic_cmd='/usr/bin/file -L'
 5440  lt_cv_file_magic_test_file=/shlib/libc.so
 5441  ;;
 5442
 5443cygwin*)
 5444  # func_win32_libid is a shell function defined in ltmain.sh
 5445  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 5446  lt_cv_file_magic_cmd='func_win32_libid'
 5447  ;;
 5448
 5449mingw* | pw32*)
 5450  # Base MSYS/MinGW do not provide the 'file' command needed by
 5451  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 5452  # unless we find 'file', for example because we are cross-compiling.
 5453  if ( file / ) >/dev/null 2>&1; then
 5454    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 5455    lt_cv_file_magic_cmd='func_win32_libid'
 5456  else
 5457    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 5458    lt_cv_file_magic_cmd='$OBJDUMP -f'
 5459  fi
 5460  ;;
 5461
 5462cegcc)
 5463  # use the weaker test based on 'objdump'. See mingw*.
 5464  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 5465  lt_cv_file_magic_cmd='$OBJDUMP -f'
 5466  ;;
 5467
 5468darwin* | rhapsody*)
 5469  lt_cv_deplibs_check_method=pass_all
 5470  ;;
 5471
 5472freebsd* | dragonfly*)
 5473  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 5474    case $host_cpu in
 5475    i*86 )
 5476      # Not sure whether the presence of OpenBSD here was a mistake.
 5477      # Let's accept both of them until this is cleared up.
 5478      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 5479      lt_cv_file_magic_cmd=/usr/bin/file
 5480      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 5481      ;;
 5482    esac
 5483  else
 5484    lt_cv_deplibs_check_method=pass_all
 5485  fi
 5486  ;;
 5487
 5488gnu*)
 5489  lt_cv_deplibs_check_method=pass_all
 5490  ;;
 5491
 5492hpux10.20* | hpux11*)
 5493  lt_cv_file_magic_cmd=/usr/bin/file
 5494  case $host_cpu in
 5495  ia64*)
 5496    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 5497    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 5498    ;;
 5499  hppa*64*)
 5500    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 5501    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 5502    ;;
 5503  *)
 5504    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 5505    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 5506    ;;
 5507  esac
 5508  ;;
 5509
 5510interix[3-9]*)
 5511  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 5512  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 5513  ;;
 5514
 5515irix5* | irix6* | nonstopux*)
 5516  case $LD in
 5517  *-32|*"-32 ") libmagic=32-bit;;
 5518  *-n32|*"-n32 ") libmagic=N32;;
 5519  *-64|*"-64 ") libmagic=64-bit;;
 5520  *) libmagic=never-match;;
 5521  esac
 5522  lt_cv_deplibs_check_method=pass_all
 5523  ;;
 5524
 5525# This must be Linux ELF.
 5526linux* | k*bsd*-gnu)
 5527  lt_cv_deplibs_check_method=pass_all
 5528  ;;
 5529
 5530netbsd*)
 5531  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 5532    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 5533  else
 5534    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 5535  fi
 5536  ;;
 5537
 5538newos6*)
 5539  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 5540  lt_cv_file_magic_cmd=/usr/bin/file
 5541  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 5542  ;;
 5543
 5544*nto* | *qnx*)
 5545  lt_cv_deplibs_check_method=pass_all
 5546  ;;
 5547
 5548openbsd*)
 5549  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 5550    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 5551  else
 5552    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 5553  fi
 5554  ;;
 5555
 5556osf3* | osf4* | osf5*)
 5557  lt_cv_deplibs_check_method=pass_all
 5558  ;;
 5559
 5560rdos*)
 5561  lt_cv_deplibs_check_method=pass_all
 5562  ;;
 5563
 5564solaris*)
 5565  lt_cv_deplibs_check_method=pass_all
 5566  ;;
 5567
 5568sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 5569  lt_cv_deplibs_check_method=pass_all
 5570  ;;
 5571
 5572sysv4 | sysv4.3*)
 5573  case $host_vendor in
 5574  motorola)
 5575    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
 5576    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 5577    ;;
 5578  ncr)
 5579    lt_cv_deplibs_check_method=pass_all
 5580    ;;
 5581  sequent)
 5582    lt_cv_file_magic_cmd='/bin/file'
 5583    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 5584    ;;
 5585  sni)
 5586    lt_cv_file_magic_cmd='/bin/file'
 5587    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 5588    lt_cv_file_magic_test_file=/lib/libc.so
 5589    ;;
 5590  siemens)
 5591    lt_cv_deplibs_check_method=pass_all
 5592    ;;
 5593  pc)
 5594    lt_cv_deplibs_check_method=pass_all
 5595    ;;
 5596  esac
 5597  ;;
 5598
 5599tpf*)
 5600  lt_cv_deplibs_check_method=pass_all
 5601  ;;
 5602esac
 5603
 5604fi
 5605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 5606$as_echo "$lt_cv_deplibs_check_method" >&6; }
 5607file_magic_cmd=$lt_cv_file_magic_cmd
 5608deplibs_check_method=$lt_cv_deplibs_check_method
 5609test -z "$deplibs_check_method" && deplibs_check_method=unknown
 5610
 5611
 5612
 5613
 5614
 5615
 5616
 5617
 5618
 5619
 5620
 5621
 5622if test -n "$ac_tool_prefix"; then
 5623  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 5624set dummy ${ac_tool_prefix}ar; ac_word=$2
 5625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5626$as_echo_n "checking for $ac_word... " >&6; }
 5627if test "${ac_cv_prog_AR+set}" = set; then :
 5628  $as_echo_n "(cached) " >&6
 5629else
 5630  if test -n "$AR"; then
 5631  ac_cv_prog_AR="$AR" # Let the user override the test.
 5632else
 5633as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5634for as_dir in $PATH
 5635do
 5636  IFS=$as_save_IFS
 5637  test -z "$as_dir" && as_dir=.
 5638    for ac_exec_ext in '' $ac_executable_extensions; do
 5639  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5640    ac_cv_prog_AR="${ac_tool_prefix}ar"
 5641    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5642    break 2
 5643  fi
 5644done
 5645  done
 5646IFS=$as_save_IFS
 5647
 5648fi
 5649fi
 5650AR=$ac_cv_prog_AR
 5651if test -n "$AR"; then
 5652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 5653$as_echo "$AR" >&6; }
 5654else
 5655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5656$as_echo "no" >&6; }
 5657fi
 5658
 5659
 5660fi
 5661if test -z "$ac_cv_prog_AR"; then
 5662  ac_ct_AR=$AR
 5663  # Extract the first word of "ar", so it can be a program name with args.
 5664set dummy ar; ac_word=$2
 5665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5666$as_echo_n "checking for $ac_word... " >&6; }
 5667if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 5668  $as_echo_n "(cached) " >&6
 5669else
 5670  if test -n "$ac_ct_AR"; then
 5671  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 5672else
 5673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5674for as_dir in $PATH
 5675do
 5676  IFS=$as_save_IFS
 5677  test -z "$as_dir" && as_dir=.
 5678    for ac_exec_ext in '' $ac_executable_extensions; do
 5679  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5680    ac_cv_prog_ac_ct_AR="ar"
 5681    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5682    break 2
 5683  fi
 5684done
 5685  done
 5686IFS=$as_save_IFS
 5687
 5688fi
 5689fi
 5690ac_ct_AR=$ac_cv_prog_ac_ct_AR
 5691if test -n "$ac_ct_AR"; then
 5692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 5693$as_echo "$ac_ct_AR" >&6; }
 5694else
 5695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5696$as_echo "no" >&6; }
 5697fi
 5698
 5699  if test "x$ac_ct_AR" = x; then
 5700    AR="false"
 5701  else
 5702    case $cross_compiling:$ac_tool_warned in
 5703yes:)
 5704{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5705$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5706ac_tool_warned=yes ;;
 5707esac
 5708    AR=$ac_ct_AR
 5709  fi
 5710else
 5711  AR="$ac_cv_prog_AR"
 5712fi
 5713
 5714test -z "$AR" && AR=ar
 5715test -z "$AR_FLAGS" && AR_FLAGS=cru
 5716
 5717
 5718
 5719
 5720
 5721
 5722
 5723
 5724
 5725
 5726
 5727if test -n "$ac_tool_prefix"; then
 5728  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 5729set dummy ${ac_tool_prefix}strip; ac_word=$2
 5730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5731$as_echo_n "checking for $ac_word... " >&6; }
 5732if test "${ac_cv_prog_STRIP+set}" = set; then :
 5733  $as_echo_n "(cached) " >&6
 5734else
 5735  if test -n "$STRIP"; then
 5736  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 5737else
 5738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5739for as_dir in $PATH
 5740do
 5741  IFS=$as_save_IFS
 5742  test -z "$as_dir" && as_dir=.
 5743    for ac_exec_ext in '' $ac_executable_extensions; do
 5744  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5745    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 5746    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5747    break 2
 5748  fi
 5749done
 5750  done
 5751IFS=$as_save_IFS
 5752
 5753fi
 5754fi
 5755STRIP=$ac_cv_prog_STRIP
 5756if test -n "$STRIP"; then
 5757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 5758$as_echo "$STRIP" >&6; }
 5759else
 5760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5761$as_echo "no" >&6; }
 5762fi
 5763
 5764
 5765fi
 5766if test -z "$ac_cv_prog_STRIP"; then
 5767  ac_ct_STRIP=$STRIP
 5768  # Extract the first word of "strip", so it can be a program name with args.
 5769set dummy strip; ac_word=$2
 5770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5771$as_echo_n "checking for $ac_word... " >&6; }
 5772if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 5773  $as_echo_n "(cached) " >&6
 5774else
 5775  if test -n "$ac_ct_STRIP"; then
 5776  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 5777else
 5778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5779for as_dir in $PATH
 5780do
 5781  IFS=$as_save_IFS
 5782  test -z "$as_dir" && as_dir=.
 5783    for ac_exec_ext in '' $ac_executable_extensions; do
 5784  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5785    ac_cv_prog_ac_ct_STRIP="strip"
 5786    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5787    break 2
 5788  fi
 5789done
 5790  done
 5791IFS=$as_save_IFS
 5792
 5793fi
 5794fi
 5795ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 5796if test -n "$ac_ct_STRIP"; then
 5797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 5798$as_echo "$ac_ct_STRIP" >&6; }
 5799else
 5800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5801$as_echo "no" >&6; }
 5802fi
 5803
 5804  if test "x$ac_ct_STRIP" = x; then
 5805    STRIP=":"
 5806  else
 5807    case $cross_compiling:$ac_tool_warned in
 5808yes:)
 5809{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5810$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5811ac_tool_warned=yes ;;
 5812esac
 5813    STRIP=$ac_ct_STRIP
 5814  fi
 5815else
 5816  STRIP="$ac_cv_prog_STRIP"
 5817fi
 5818
 5819test -z "$STRIP" && STRIP=:
 5820
 5821
 5822
 5823
 5824
 5825
 5826if test -n "$ac_tool_prefix"; then
 5827  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 5828set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 5829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5830$as_echo_n "checking for $ac_word... " >&6; }
 5831if test "${ac_cv_prog_RANLIB+set}" = set; then :
 5832  $as_echo_n "(cached) " >&6
 5833else
 5834  if test -n "$RANLIB"; then
 5835  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 5836else
 5837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5838for as_dir in $PATH
 5839do
 5840  IFS=$as_save_IFS
 5841  test -z "$as_dir" && as_dir=.
 5842    for ac_exec_ext in '' $ac_executable_extensions; do
 5843  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5844    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 5845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5846    break 2
 5847  fi
 5848done
 5849  done
 5850IFS=$as_save_IFS
 5851
 5852fi
 5853fi
 5854RANLIB=$ac_cv_prog_RANLIB
 5855if test -n "$RANLIB"; then
 5856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 5857$as_echo "$RANLIB" >&6; }
 5858else
 5859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5860$as_echo "no" >&6; }
 5861fi
 5862
 5863
 5864fi
 5865if test -z "$ac_cv_prog_RANLIB"; then
 5866  ac_ct_RANLIB=$RANLIB
 5867  # Extract the first word of "ranlib", so it can be a program name with args.
 5868set dummy ranlib; ac_word=$2
 5869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5870$as_echo_n "checking for $ac_word... " >&6; }
 5871if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 5872  $as_echo_n "(cached) " >&6
 5873else
 5874  if test -n "$ac_ct_RANLIB"; then
 5875  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 5876else
 5877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5878for as_dir in $PATH
 5879do
 5880  IFS=$as_save_IFS
 5881  test -z "$as_dir" && as_dir=.
 5882    for ac_exec_ext in '' $ac_executable_extensions; do
 5883  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5884    ac_cv_prog_ac_ct_RANLIB="ranlib"
 5885    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5886    break 2
 5887  fi
 5888done
 5889  done
 5890IFS=$as_save_IFS
 5891
 5892fi
 5893fi
 5894ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 5895if test -n "$ac_ct_RANLIB"; then
 5896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 5897$as_echo "$ac_ct_RANLIB" >&6; }
 5898else
 5899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5900$as_echo "no" >&6; }
 5901fi
 5902
 5903  if test "x$ac_ct_RANLIB" = x; then
 5904    RANLIB=":"
 5905  else
 5906    case $cross_compiling:$ac_tool_warned in
 5907yes:)
 5908{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5909$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5910ac_tool_warned=yes ;;
 5911esac
 5912    RANLIB=$ac_ct_RANLIB
 5913  fi
 5914else
 5915  RANLIB="$ac_cv_prog_RANLIB"
 5916fi
 5917
 5918test -z "$RANLIB" && RANLIB=:
 5919
 5920
 5921
 5922
 5923
 5924
 5925# Determine commands to create old-style static archives.
 5926old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 5927old_postinstall_cmds='chmod 644 $oldlib'
 5928old_postuninstall_cmds=
 5929
 5930if test -n "$RANLIB"; then
 5931  case $host_os in
 5932  openbsd*)
 5933    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 5934    ;;
 5935  *)
 5936    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 5937    ;;
 5938  esac
 5939  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 5940fi
 5941
 5942
 5943
 5944
 5945
 5946
 5947
 5948
 5949
 5950
 5951
 5952
 5953
 5954
 5955
 5956
 5957
 5958
 5959
 5960
 5961
 5962
 5963
 5964
 5965
 5966
 5967
 5968
 5969
 5970
 5971
 5972
 5973
 5974
 5975# If no C compiler was specified, use CC.
 5976LTCC=${LTCC-"$CC"}
 5977
 5978# If no C compiler flags were specified, use CFLAGS.
 5979LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 5980
 5981# Allow CC to be a program name with arguments.
 5982compiler=$CC
 5983
 5984
 5985# Check for command to grab the raw symbol name followed by C symbol from nm.
 5986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 5987$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 5988if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 5989  $as_echo_n "(cached) " >&6
 5990else
 5991
 5992# These are sane defaults that work on at least a few old systems.
 5993# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 5994
 5995# Character class describing NM global symbol codes.
 5996symcode='[BCDEGRST]'
 5997
 5998# Regexp to match symbols that can be accessed directly from C.
 5999sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 6000
 6001# Define system-specific variables.
 6002case $host_os in
 6003aix*)
 6004  symcode='[BCDT]'
 6005  ;;
 6006cygwin* | mingw* | pw32* | cegcc*)
 6007  symcode='[ABCDGISTW]'
 6008  ;;
 6009hpux*)
 6010  if test "$host_cpu" = ia64; then
 6011    symcode='[ABCDEGRST]'
 6012  fi
 6013  ;;
 6014irix* | nonstopux*)
 6015  symcode='[BCDEGRST]'
 6016  ;;
 6017osf*)
 6018  symcode='[BCDEGQRST]'
 6019  ;;
 6020solaris*)
 6021  symcode='[BDRT]'
 6022  ;;
 6023sco3.2v5*)
 6024  symcode='[DT]'
 6025  ;;
 6026sysv4.2uw2*)
 6027  symcode='[DT]'
 6028  ;;
 6029sysv5* | sco5v6* | unixware* | OpenUNIX*)
 6030  symcode='[ABDT]'
 6031  ;;
 6032sysv4)
 6033  symcode='[DFNSTU]'
 6034  ;;
 6035esac
 6036
 6037# If we're using GNU nm, then use its standard symbol codes.
 6038case `$NM -V 2>&1` in
 6039*GNU* | *'with BFD'*)
 6040  symcode='[ABCDGIRSTW]' ;;
 6041esac
 6042
 6043# Transform an extracted symbol line into a proper C declaration.
 6044# Some systems (esp. on ia64) link data and code symbols differently,
 6045# so use this general approach.
 6046lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 6047
 6048# Transform an extracted symbol line into symbol name and symbol address
 6049lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 6050lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 6051
 6052# Handle CRLF in mingw tool chain
 6053opt_cr=
 6054case $build_os in
 6055mingw*)
 6056  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 6057  ;;
 6058esac
 6059
 6060# Try without a prefix underscore, then with it.
 6061for ac_symprfx in "" "_"; do
 6062
 6063  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 6064  symxfrm="\\1 $ac_symprfx\\2 \\2"
 6065
 6066  # Write the raw and C identifiers.
 6067  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 6068    # Fake it for dumpbin and say T for any non-static function
 6069    # and D for any global variable.
 6070    # Also find C++ and __fastcall symbols from MSVC++,
 6071    # which start with @ or ?.
 6072    lt_cv_sys_global_symbol_pipe="$AWK '"\
 6073"     {last_section=section; section=\$ 3};"\
 6074"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 6075"     \$ 0!~/External *\|/{next};"\
 6076"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 6077"     {if(hide[section]) next};"\
 6078"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 6079"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 6080"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 6081"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 6082"     ' prfx=^$ac_symprfx"
 6083  else
 6084    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 6085  fi
 6086
 6087  # Check to see that the pipe works correctly.
 6088  pipe_works=no
 6089
 6090  rm -f conftest*
 6091  cat > conftest.$ac_ext <<_LT_EOF
 6092#ifdef __cplusplus
 6093extern "C" {
 6094#endif
 6095char nm_test_var;
 6096void nm_test_func(void);
 6097void nm_test_func(void){}
 6098#ifdef __cplusplus
 6099}
 6100#endif
 6101int main(){nm_test_var='a';nm_test_func();return(0);}
 6102_LT_EOF
 6103
 6104  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6105  (eval $ac_compile) 2>&5
 6106  ac_status=$?
 6107  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6108  test $ac_status = 0; }; then
 6109    # Now try to grab the symbols.
 6110    nlist=conftest.nm
 6111    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
 6112  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 6113  ac_status=$?
 6114  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6115  test $ac_status = 0; } && test -s "$nlist"; then
 6116      # Try sorting and uniquifying the output.
 6117      if sort "$nlist" | uniq > "$nlist"T; then
 6118	mv -f "$nlist"T "$nlist"
 6119      else
 6120	rm -f "$nlist"T
 6121      fi
 6122
 6123      # Make sure that we snagged all the symbols we need.
 6124      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 6125	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 6126	  cat <<_LT_EOF > conftest.$ac_ext
 6127#ifdef __cplusplus
 6128extern "C" {
 6129#endif
 6130
 6131_LT_EOF
 6132	  # Now generate the symbol file.
 6133	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 6134
 6135	  cat <<_LT_EOF >> conftest.$ac_ext
 6136
 6137/* The mapping between symbol names and symbols.  */
 6138const struct {
 6139  const char *name;
 6140  void       *address;
 6141}
 6142lt__PROGRAM__LTX_preloaded_symbols[] =
 6143{
 6144  { "@PROGRAM@", (void *) 0 },
 6145_LT_EOF
 6146	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 6147	  cat <<\_LT_EOF >> conftest.$ac_ext
 6148  {0, (void *) 0}
 6149};
 6150
 6151/* This works around a problem in FreeBSD linker */
 6152#ifdef FREEBSD_WORKAROUND
 6153static const void *lt_preloaded_setup() {
 6154  return lt__PROGRAM__LTX_preloaded_symbols;
 6155}
 6156#endif
 6157
 6158#ifdef __cplusplus
 6159}
 6160#endif
 6161_LT_EOF
 6162	  # Now try linking the two files.
 6163	  mv conftest.$ac_objext conftstm.$ac_objext
 6164	  lt_save_LIBS="$LIBS"
 6165	  lt_save_CFLAGS="$CFLAGS"
 6166	  LIBS="conftstm.$ac_objext"
 6167	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 6168	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 6169  (eval $ac_link) 2>&5
 6170  ac_status=$?
 6171  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6172  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 6173	    pipe_works=yes
 6174	  fi
 6175	  LIBS="$lt_save_LIBS"
 6176	  CFLAGS="$lt_save_CFLAGS"
 6177	else
 6178	  echo "cannot find nm_test_func in $nlist" >&5
 6179	fi
 6180      else
 6181	echo "cannot find nm_test_var in $nlist" >&5
 6182      fi
 6183    else
 6184      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 6185    fi
 6186  else
 6187    echo "$progname: failed program was:" >&5
 6188    cat conftest.$ac_ext >&5
 6189  fi
 6190  rm -rf conftest* conftst*
 6191
 6192  # Do not use the global_symbol_pipe unless it works.
 6193  if test "$pipe_works" = yes; then
 6194    break
 6195  else
 6196    lt_cv_sys_global_symbol_pipe=
 6197  fi
 6198done
 6199
 6200fi
 6201
 6202if test -z "$lt_cv_sys_global_symbol_pipe"; then
 6203  lt_cv_sys_global_symbol_to_cdecl=
 6204fi
 6205if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 6206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 6207$as_echo "failed" >&6; }
 6208else
 6209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 6210$as_echo "ok" >&6; }
 6211fi
 6212
 6213
 6214
 6215
 6216
 6217
 6218
 6219
 6220
 6221
 6222
 6223
 6224
 6225
 6226
 6227
 6228
 6229
 6230
 6231
 6232
 6233
 6234
 6235# Check whether --enable-libtool-lock was given.
 6236if test "${enable_libtool_lock+set}" = set; then :
 6237  enableval=$enable_libtool_lock;
 6238fi
 6239
 6240test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 6241
 6242# Some flags need to be propagated to the compiler or linker for good
 6243# libtool support.
 6244case $host in
 6245ia64-*-hpux*)
 6246  # Find out which ABI we are using.
 6247  echo 'int i;' > conftest.$ac_ext
 6248  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6249  (eval $ac_compile) 2>&5
 6250  ac_status=$?
 6251  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6252  test $ac_status = 0; }; then
 6253    case `/usr/bin/file conftest.$ac_objext` in
 6254      *ELF-32*)
 6255	HPUX_IA64_MODE="32"
 6256	;;
 6257      *ELF-64*)
 6258	HPUX_IA64_MODE="64"
 6259	;;
 6260    esac
 6261  fi
 6262  rm -rf conftest*
 6263  ;;
 6264*-*-irix6*)
 6265  # Find out which ABI we are using.
 6266  echo '#line 6265 "configure"' > conftest.$ac_ext
 6267  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6268  (eval $ac_compile) 2>&5
 6269  ac_status=$?
 6270  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6271  test $ac_status = 0; }; then
 6272    if test "$lt_cv_prog_gnu_ld" = yes; then
 6273      case `/usr/bin/file conftest.$ac_objext` in
 6274	*32-bit*)
 6275	  LD="${LD-ld} -melf32bsmip"
 6276	  ;;
 6277	*N32*)
 6278	  LD="${LD-ld} -melf32bmipn32"
 6279	  ;;
 6280	*64-bit*)
 6281	  LD="${LD-ld} -melf64bmip"
 6282	;;
 6283      esac
 6284    else
 6285      case `/usr/bin/file conftest.$ac_objext` in
 6286	*32-bit*)
 6287	  LD="${LD-ld} -32"
 6288	  ;;
 6289	*N32*)
 6290	  LD="${LD-ld} -n32"
 6291	  ;;
 6292	*64-bit*)
 6293	  LD="${LD-ld} -64"
 6294	  ;;
 6295      esac
 6296    fi
 6297  fi
 6298  rm -rf conftest*
 6299  ;;
 6300
 6301x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 6302s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 6303  # Find out which ABI we are using.
 6304  echo 'int i;' > conftest.$ac_ext
 6305  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6306  (eval $ac_compile) 2>&5
 6307  ac_status=$?
 6308  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6309  test $ac_status = 0; }; then
 6310    case `/usr/bin/file conftest.o` in
 6311      *32-bit*)
 6312	case $host in
 6313	  x86_64-*kfreebsd*-gnu)
 6314	    LD="${LD-ld} -m elf_i386_fbsd"
 6315	    ;;
 6316	  x86_64-*linux*)
 6317	    LD="${LD-ld} -m elf_i386"
 6318	    ;;
 6319	  ppc64-*linux*|powerpc64-*linux*)
 6320	    LD="${LD-ld} -m elf32ppclinux"
 6321	    ;;
 6322	  s390x-*linux*)
 6323	    LD="${LD-ld} -m elf_s390"
 6324	    ;;
 6325	  sparc64-*linux*)
 6326	    LD="${LD-ld} -m elf32_sparc"
 6327	    ;;
 6328	esac
 6329	;;
 6330      *64-bit*)
 6331	case $host in
 6332	  x86_64-*kfreebsd*-gnu)
 6333	    LD="${LD-ld} -m elf_x86_64_fbsd"
 6334	    ;;
 6335	  x86_64-*linux*)
 6336	    LD="${LD-ld} -m elf_x86_64"
 6337	    ;;
 6338	  ppc*-*linux*|powerpc*-*linux*)
 6339	    LD="${LD-ld} -m elf64ppc"
 6340	    ;;
 6341	  s390*-*linux*|s390*-*tpf*)
 6342	    LD="${LD-ld} -m elf64_s390"
 6343	    ;;
 6344	  sparc*-*linux*)
 6345	    LD="${LD-ld} -m elf64_sparc"
 6346	    ;;
 6347	esac
 6348	;;
 6349    esac
 6350  fi
 6351  rm -rf conftest*
 6352  ;;
 6353
 6354*-*-sco3.2v5*)
 6355  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 6356  SAVE_CFLAGS="$CFLAGS"
 6357  CFLAGS="$CFLAGS -belf"
 6358  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 6359$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 6360if test "${lt_cv_cc_needs_belf+set}" = set; then :
 6361  $as_echo_n "(cached) " >&6
 6362else
 6363  ac_ext=c
 6364ac_cpp='$CPP $CPPFLAGS'
 6365ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 6366ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 6367ac_compiler_gnu=$ac_cv_c_compiler_gnu
 6368
 6369     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6370/* end confdefs.h.  */
 6371
 6372int
 6373main ()
 6374{
 6375
 6376  ;
 6377  return 0;
 6378}
 6379_ACEOF
 6380if ac_fn_c_try_link "$LINENO"; then :
 6381  lt_cv_cc_needs_belf=yes
 6382else
 6383  lt_cv_cc_needs_belf=no
 6384fi
 6385rm -f core conftest.err conftest.$ac_objext \
 6386    conftest$ac_exeext conftest.$ac_ext
 6387     ac_ext=c
 6388ac_cpp='$CPP $CPPFLAGS'
 6389ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 6390ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 6391ac_compiler_gnu=$ac_cv_c_compiler_gnu
 6392
 6393fi
 6394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 6395$as_echo "$lt_cv_cc_needs_belf" >&6; }
 6396  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 6397    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 6398    CFLAGS="$SAVE_CFLAGS"
 6399  fi
 6400  ;;
 6401sparc*-*solaris*)
 6402  # Find out which ABI we are using.
 6403  echo 'int i;' > conftest.$ac_ext
 6404  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6405  (eval $ac_compile) 2>&5
 6406  ac_status=$?
 6407  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6408  test $ac_status = 0; }; then
 6409    case `/usr/bin/file conftest.o` in
 6410    *64-bit*)
 6411      case $lt_cv_prog_gnu_ld in
 6412      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 6413      *)
 6414	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 6415	  LD="${LD-ld} -64"
 6416	fi
 6417	;;
 6418      esac
 6419      ;;
 6420    esac
 6421  fi
 6422  rm -rf conftest*
 6423  ;;
 6424esac
 6425
 6426need_locks="$enable_libtool_lock"
 6427
 6428
 6429  case $host_os in
 6430    rhapsody* | darwin*)
 6431    if test -n "$ac_tool_prefix"; then
 6432  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 6433set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 6434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6435$as_echo_n "checking for $ac_word... " >&6; }
 6436if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 6437  $as_echo_n "(cached) " >&6
 6438else
 6439  if test -n "$DSYMUTIL"; then
 6440  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 6441else
 6442as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6443for as_dir in $PATH
 6444do
 6445  IFS=$as_save_IFS
 6446  test -z "$as_dir" && as_dir=.
 6447    for ac_exec_ext in '' $ac_executable_extensions; do
 6448  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6449    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 6450    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6451    break 2
 6452  fi
 6453done
 6454  done
 6455IFS=$as_save_IFS
 6456
 6457fi
 6458fi
 6459DSYMUTIL=$ac_cv_prog_DSYMUTIL
 6460if test -n "$DSYMUTIL"; then
 6461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 6462$as_echo "$DSYMUTIL" >&6; }
 6463else
 6464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6465$as_echo "no" >&6; }
 6466fi
 6467
 6468
 6469fi
 6470if test -z "$ac_cv_prog_DSYMUTIL"; then
 6471  ac_ct_DSYMUTIL=$DSYMUTIL
 6472  # Extract the first word of "dsymutil", so it can be a program name with args.
 6473set dummy dsymutil; ac_word=$2
 6474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6475$as_echo_n "checking for $ac_word... " >&6; }
 6476if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 6477  $as_echo_n "(cached) " >&6
 6478else
 6479  if test -n "$ac_ct_DSYMUTIL"; then
 6480  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 6481else
 6482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6483for as_dir in $PATH
 6484do
 6485  IFS=$as_save_IFS
 6486  test -z "$as_dir" && as_dir=.
 6487    for ac_exec_ext in '' $ac_executable_extensions; do
 6488  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6489    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 6490    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6491    break 2
 6492  fi
 6493done
 6494  done
 6495IFS=$as_save_IFS
 6496
 6497fi
 6498fi
 6499ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 6500if test -n "$ac_ct_DSYMUTIL"; then
 6501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 6502$as_echo "$ac_ct_DSYMUTIL" >&6; }
 6503else
 6504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6505$as_echo "no" >&6; }
 6506fi
 6507
 6508  if test "x$ac_ct_DSYMUTIL" = x; then
 6509    DSYMUTIL=":"
 6510  else
 6511    case $cross_compiling:$ac_tool_warned in
 6512yes:)
 6513{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6514$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6515ac_tool_warned=yes ;;
 6516esac
 6517    DSYMUTIL=$ac_ct_DSYMUTIL
 6518  fi
 6519else
 6520  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 6521fi
 6522
 6523    if test -n "$ac_tool_prefix"; then
 6524  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 6525set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 6526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6527$as_echo_n "checking for $ac_word... " >&6; }
 6528if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 6529  $as_echo_n "(cached) " >&6
 6530else
 6531  if test -n "$NMEDIT"; then
 6532  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 6533else
 6534as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6535for as_dir in $PATH
 6536do
 6537  IFS=$as_save_IFS
 6538  test -z "$as_dir" && as_dir=.
 6539    for ac_exec_ext in '' $ac_executable_extensions; do
 6540  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6541    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 6542    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6543    break 2
 6544  fi
 6545done
 6546  done
 6547IFS=$as_save_IFS
 6548
 6549fi
 6550fi
 6551NMEDIT=$ac_cv_prog_NMEDIT
 6552if test -n "$NMEDIT"; then
 6553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 6554$as_echo "$NMEDIT" >&6; }
 6555else
 6556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6557$as_echo "no" >&6; }
 6558fi
 6559
 6560
 6561fi
 6562if test -z "$ac_cv_prog_NMEDIT"; then
 6563  ac_ct_NMEDIT=$NMEDIT
 6564  # Extract the first word of "nmedit", so it can be a program name with args.
 6565set dummy nmedit; ac_word=$2
 6566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6567$as_echo_n "checking for $ac_word... " >&6; }
 6568if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 6569  $as_echo_n "(cached) " >&6
 6570else
 6571  if test -n "$ac_ct_NMEDIT"; then
 6572  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 6573else
 6574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6575for as_dir in $PATH
 6576do
 6577  IFS=$as_save_IFS
 6578  test -z "$as_dir" && as_dir=.
 6579    for ac_exec_ext in '' $ac_executable_extensions; do
 6580  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6581    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 6582    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6583    break 2
 6584  fi
 6585done
 6586  done
 6587IFS=$as_save_IFS
 6588
 6589fi
 6590fi
 6591ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 6592if test -n "$ac_ct_NMEDIT"; then
 6593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 6594$as_echo "$ac_ct_NMEDIT" >&6; }
 6595else
 6596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6597$as_echo "no" >&6; }
 6598fi
 6599
 6600  if test "x$ac_ct_NMEDIT" = x; then
 6601    NMEDIT=":"
 6602  else
 6603    case $cross_compiling:$ac_tool_warned in
 6604yes:)
 6605{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6606$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6607ac_tool_warned=yes ;;
 6608esac
 6609    NMEDIT=$ac_ct_NMEDIT
 6610  fi
 6611else
 6612  NMEDIT="$ac_cv_prog_NMEDIT"
 6613fi
 6614
 6615    if test -n "$ac_tool_prefix"; then
 6616  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 6617set dummy ${ac_tool_prefix}lipo; ac_word=$2
 6618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6619$as_echo_n "checking for $ac_word... " >&6; }
 6620if test "${ac_cv_prog_LIPO+set}" = set; then :
 6621  $as_echo_n "(cached) " >&6
 6622else
 6623  if test -n "$LIPO"; then
 6624  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 6625else
 6626as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6627for as_dir in $PATH
 6628do
 6629  IFS=$as_save_IFS
 6630  test -z "$as_dir" && as_dir=.
 6631    for ac_exec_ext in '' $ac_executable_extensions; do
 6632  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6633    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 6634    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6635    break 2
 6636  fi
 6637done
 6638  done
 6639IFS=$as_save_IFS
 6640
 6641fi
 6642fi
 6643LIPO=$ac_cv_prog_LIPO
 6644if test -n "$LIPO"; then
 6645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 6646$as_echo "$LIPO" >&6; }
 6647else
 6648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6649$as_echo "no" >&6; }
 6650fi
 6651
 6652
 6653fi
 6654if test -z "$ac_cv_prog_LIPO"; then
 6655  ac_ct_LIPO=$LIPO
 6656  # Extract the first word of "lipo", so it can be a program name with args.
 6657set dummy lipo; ac_word=$2
 6658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6659$as_echo_n "checking for $ac_word... " >&6; }
 6660if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 6661  $as_echo_n "(cached) " >&6
 6662else
 6663  if test -n "$ac_ct_LIPO"; then
 6664  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 6665else
 6666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6667for as_dir in $PATH
 6668do
 6669  IFS=$as_save_IFS
 6670  test -z "$as_dir" && as_dir=.
 6671    for ac_exec_ext in '' $ac_executable_extensions; do
 6672  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6673    ac_cv_prog_ac_ct_LIPO="lipo"
 6674    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6675    break 2
 6676  fi
 6677done
 6678  done
 6679IFS=$as_save_IFS
 6680
 6681fi
 6682fi
 6683ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 6684if test -n "$ac_ct_LIPO"; then
 6685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 6686$as_echo "$ac_ct_LIPO" >&6; }
 6687else
 6688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6689$as_echo "no" >&6; }
 6690fi
 6691
 6692  if test "x$ac_ct_LIPO" = x; then
 6693    LIPO=":"
 6694  else
 6695    case $cross_compiling:$ac_tool_warned in
 6696yes:)
 6697{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6698$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6699ac_tool_warned=yes ;;
 6700esac
 6701    LIPO=$ac_ct_LIPO
 6702  fi
 6703else
 6704  LIPO="$ac_cv_prog_LIPO"
 6705fi
 6706
 6707    if test -n "$ac_tool_prefix"; then
 6708  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 6709set dummy ${ac_tool_prefix}otool; ac_word=$2
 6710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6711$as_echo_n "checking for $ac_word... " >&6; }
 6712if test "${ac_cv_prog_OTOOL+set}" = set; then :
 6713  $as_echo_n "(cached) " >&6
 6714else
 6715  if test -n "$OTOOL"; then
 6716  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 6717else
 6718as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6719for as_dir in $PATH
 6720do
 6721  IFS=$as_save_IFS
 6722  test -z "$as_dir" && as_dir=.
 6723    for ac_exec_ext in '' $ac_executable_extensions; do
 6724  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6725    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 6726    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6727    break 2
 6728  fi
 6729done
 6730  done
 6731IFS=$as_save_IFS
 6732
 6733fi
 6734fi
 6735OTOOL=$ac_cv_prog_OTOOL
 6736if test -n "$OTOOL"; then
 6737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 6738$as_echo "$OTOOL" >&6; }
 6739else
 6740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6741$as_echo "no" >&6; }
 6742fi
 6743
 6744
 6745fi
 6746if test -z "$ac_cv_prog_OTOOL"; then
 6747  ac_ct_OTOOL=$OTOOL
 6748  # Extract the first word of "otool", so it can be a program name with args.
 6749set dummy otool; ac_word=$2
 6750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6751$as_echo_n "checking for $ac_word... " >&6; }
 6752if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 6753  $as_echo_n "(cached) " >&6
 6754else
 6755  if test -n "$ac_ct_OTOOL"; then
 6756  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 6757else
 6758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6759for as_dir in $PATH
 6760do
 6761  IFS=$as_save_IFS
 6762  test -z "$as_dir" && as_dir=.
 6763    for ac_exec_ext in '' $ac_executable_extensions; do
 6764  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6765    ac_cv_prog_ac_ct_OTOOL="otool"
 6766    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6767    break 2
 6768  fi
 6769done
 6770  done
 6771IFS=$as_save_IFS
 6772
 6773fi
 6774fi
 6775ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 6776if test -n "$ac_ct_OTOOL"; then
 6777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 6778$as_echo "$ac_ct_OTOOL" >&6; }
 6779else
 6780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6781$as_echo "no" >&6; }
 6782fi
 6783
 6784  if test "x$ac_ct_OTOOL" = x; then
 6785    OTOOL=":"
 6786  else
 6787    case $cross_compiling:$ac_tool_warned in
 6788yes:)
 6789{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6790$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6791ac_tool_warned=yes ;;
 6792esac
 6793    OTOOL=$ac_ct_OTOOL
 6794  fi
 6795else
 6796  OTOOL="$ac_cv_prog_OTOOL"
 6797fi
 6798
 6799    if test -n "$ac_tool_prefix"; then
 6800  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 6801set dummy ${ac_tool_prefix}otool64; ac_word=$2
 6802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6803$as_echo_n "checking for $ac_word... " >&6; }
 6804if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 6805  $as_echo_n "(cached) " >&6
 6806else
 6807  if test -n "$OTOOL64"; then
 6808  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 6809else
 6810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6811for as_dir in $PATH
 6812do
 6813  IFS=$as_save_IFS
 6814  test -z "$as_dir" && as_dir=.
 6815    for ac_exec_ext in '' $ac_executable_extensions; do
 6816  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6817    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 6818    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6819    break 2
 6820  fi
 6821done
 6822  done
 6823IFS=$as_save_IFS
 6824
 6825fi
 6826fi
 6827OTOOL64=$ac_cv_prog_OTOOL64
 6828if test -n "$OTOOL64"; then
 6829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 6830$as_echo "$OTOOL64" >&6; }
 6831else
 6832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6833$as_echo "no" >&6; }
 6834fi
 6835
 6836
 6837fi
 6838if test -z "$ac_cv_prog_OTOOL64"; then
 6839  ac_ct_OTOOL64=$OTOOL64
 6840  # Extract the first word of "otool64", so it can be a program name with args.
 6841set dummy otool64; ac_word=$2
 6842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6843$as_echo_n "checking for $ac_word... " >&6; }
 6844if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 6845  $as_echo_n "(cached) " >&6
 6846else
 6847  if test -n "$ac_ct_OTOOL64"; then
 6848  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 6849else
 6850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6851for as_dir in $PATH
 6852do
 6853  IFS=$as_save_IFS
 6854  test -z "$as_dir" && as_dir=.
 6855    for ac_exec_ext in '' $ac_executable_extensions; do
 6856  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6857    ac_cv_prog_ac_ct_OTOOL64="otool64"
 6858    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6859    break 2
 6860  fi
 6861done
 6862  done
 6863IFS=$as_save_IFS
 6864
 6865fi
 6866fi
 6867ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 6868if test -n "$ac_ct_OTOOL64"; then
 6869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 6870$as_echo "$ac_ct_OTOOL64" >&6; }
 6871else
 6872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6873$as_echo "no" >&6; }
 6874fi
 6875
 6876  if test "x$ac_ct_OTOOL64" = x; then
 6877    OTOOL64=":"
 6878  else
 6879    case $cross_compiling:$ac_tool_warned in
 6880yes:)
 6881{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6882$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6883ac_tool_warned=yes ;;
 6884esac
 6885    OTOOL64=$ac_ct_OTOOL64
 6886  fi
 6887else
 6888  OTOOL64="$ac_cv_prog_OTOOL64"
 6889fi
 6890
 6891
 6892
 6893
 6894
 6895
 6896
 6897
 6898
 6899
 6900
 6901
 6902
 6903
 6904
 6905
 6906
 6907
 6908
 6909
 6910
 6911
 6912
 6913
 6914
 6915
 6916
 6917    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 6918$as_echo_n "checking for -single_module linker flag... " >&6; }
 6919if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 6920  $as_echo_n "(cached) " >&6
 6921else
 6922  lt_cv_apple_cc_single_mod=no
 6923      if test -z "${LT_MULTI_MODULE}"; then
 6924	# By default we will add the -single_module flag. You can override
 6925	# by either setting the environment variable LT_MULTI_MODULE
 6926	# non-empty at configure time, or by adding -multi_module to the
 6927	# link flags.
 6928	rm -rf libconftest.dylib*
 6929	echo "int foo(void){return 1;}" > conftest.c
 6930	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 6931-dynamiclib -Wl,-single_module conftest.c" >&5
 6932	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 6933	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 6934        _lt_result=$?
 6935	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 6936	  lt_cv_apple_cc_single_mod=yes
 6937	else
 6938	  cat conftest.err >&5
 6939	fi
 6940	rm -rf libconftest.dylib*
 6941	rm -f conftest.*
 6942      fi
 6943fi
 6944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 6945$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 6946    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 6947$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 6948if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 6949  $as_echo_n "(cached) " >&6
 6950else
 6951  lt_cv_ld_exported_symbols_list=no
 6952      save_LDFLAGS=$LDFLAGS
 6953      echo "_main" > conftest.sym
 6954      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 6955      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6956/* end confdefs.h.  */
 6957
 6958int
 6959main ()
 6960{
 6961
 6962  ;
 6963  return 0;
 6964}
 6965_ACEOF
 6966if ac_fn_c_try_link "$LINENO"; then :
 6967  lt_cv_ld_exported_symbols_list=yes
 6968else
 6969  lt_cv_ld_exported_symbols_list=no
 6970fi
 6971rm -f core conftest.err conftest.$ac_objext \
 6972    conftest$ac_exeext conftest.$ac_ext
 6973	LDFLAGS="$save_LDFLAGS"
 6974
 6975fi
 6976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 6977$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 6978    case $host_os in
 6979    rhapsody* | darwin1.[012])
 6980      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 6981    darwin1.*)
 6982      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 6983    darwin*) # darwin 5.x on
 6984      # if running on 10.5 or later, the deployment target defaults
 6985      # to the OS version, if on x86, and 10.4, the deployment
 6986      # target defaults to 10.4. Don't you love it?
 6987      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 6988	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 6989	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 6990	10.[012]*)
 6991	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 6992	10.*)
 6993	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 6994      esac
 6995    ;;
 6996  esac
 6997    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 6998      _lt_dar_single_mod='$single_module'
 6999    fi
 7000    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 7001      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 7002    else
 7003      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 7004    fi
 7005    if test "$DSYMUTIL" != ":"; then
 7006      _lt_dsymutil='~$DSYMUTIL $lib || :'
 7007    else
 7008      _lt_dsymutil=
 7009    fi
 7010    ;;
 7011  esac
 7012
 7013ac_ext=c
 7014ac_cpp='$CPP $CPPFLAGS'
 7015ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7016ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7017ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 7019$as_echo_n "checking how to run the C preprocessor... " >&6; }
 7020# On Suns, sometimes $CPP names a directory.
 7021if test -n "$CPP" && test -d "$CPP"; then
 7022  CPP=
 7023fi
 7024if test -z "$CPP"; then
 7025  if test "${ac_cv_prog_CPP+set}" = set; then :
 7026  $as_echo_n "(cached) " >&6
 7027else
 7028      # Double quotes because CPP needs to be expanded
 7029    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 7030    do
 7031      ac_preproc_ok=false
 7032for ac_c_preproc_warn_flag in '' yes
 7033do
 7034  # Use a header file that comes with gcc, so configuring glibc
 7035  # with a fresh cross-compiler works.
 7036  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 7037  # <limits.h> exists even on freestanding compilers.
 7038  # On the NeXT, cc -E runs the code through the compiler's parser,
 7039  # not just through cpp. "Syntax error" is here to catch this case.
 7040  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7041/* end confdefs.h.  */
 7042#ifdef __STDC__
 7043# include <limits.h>
 7044#else
 7045# include <assert.h>
 7046#endif
 7047		     Syntax error
 7048_ACEOF
 7049if ac_fn_c_try_cpp "$LINENO"; then :
 7050
 7051else
 7052  # Broken: fails on valid input.
 7053continue
 7054fi
 7055rm -f conftest.err conftest.$ac_ext
 7056
 7057  # OK, works on sane cases.  Now check whether nonexistent headers
 7058  # can be detected and how.
 7059  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7060/* end confdefs.h.  */
 7061#include <ac_nonexistent.h>
 7062_ACEOF
 7063if ac_fn_c_try_cpp "$LINENO"; then :
 7064  # Broken: success on invalid input.
 7065continue
 7066else
 7067  # Passes both tests.
 7068ac_preproc_ok=:
 7069break
 7070fi
 7071rm -f conftest.err conftest.$ac_ext
 7072
 7073done
 7074# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 7075rm -f conftest.err conftest.$ac_ext
 7076if $ac_preproc_ok; then :
 7077  break
 7078fi
 7079
 7080    done
 7081    ac_cv_prog_CPP=$CPP
 7082
 7083fi
 7084  CPP=$ac_cv_prog_CPP
 7085else
 7086  ac_cv_prog_CPP=$CPP
 7087fi
 7088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 7089$as_echo "$CPP" >&6; }
 7090ac_preproc_ok=false
 7091for ac_c_preproc_warn_flag in '' yes
 7092do
 7093  # Use a header file that comes with gcc, so configuring glibc
 7094  # with a fresh cross-compiler works.
 7095  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 7096  # <limits.h> exists even on freestanding compilers.
 7097  # On the NeXT, cc -E runs the code through the compiler's parser,
 7098  # not just through cpp. "Syntax error" is here to catch this case.
 7099  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7100/* end confdefs.h.  */
 7101#ifdef __STDC__
 7102# include <limits.h>
 7103#else
 7104# include <assert.h>
 7105#endif
 7106		     Syntax error
 7107_ACEOF
 7108if ac_fn_c_try_cpp "$LINENO"; then :
 7109
 7110else
 7111  # Broken: fails on valid input.
 7112continue
 7113fi
 7114rm -f conftest.err conftest.$ac_ext
 7115
 7116  # OK, works on sane cases.  Now check whether nonexistent headers
 7117  # can be detected and how.
 7118  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7119/* end confdefs.h.  */
 7120#include <ac_nonexistent.h>
 7121_ACEOF
 7122if ac_fn_c_try_cpp "$LINENO"; then :
 7123  # Broken: success on invalid input.
 7124continue
 7125else
 7126  # Passes both tests.
 7127ac_preproc_ok=:
 7128break
 7129fi
 7130rm -f conftest.err conftest.$ac_ext
 7131
 7132done
 7133# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 7134rm -f conftest.err conftest.$ac_ext
 7135if $ac_preproc_ok; then :
 7136
 7137else
 7138  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 7139$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 7140as_fn_error "C preprocessor \"$CPP\" fails sanity check