cscg24-guacamole

CSCG 2024 Challenge 'Guacamole Mashup'
git clone https://git.sinitax.com/sinitax/cscg24-guacamole
Log | Files | Refs | sfeed.txt

configure (586318B)


      1#! /bin/sh
      2# Guess values for system-dependent variables and create Makefiles.
      3# Generated by GNU Autoconf 2.71 for guacamole-server 1.5.4.
      4#
      5#
      6# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      7# Inc.
      8#
      9#
     10# This configure script is free software; the Free Software Foundation
     11# gives unlimited permission to copy, distribute and modify it.
     12## -------------------- ##
     13## M4sh Initialization. ##
     14## -------------------- ##
     15
     16# Be more Bourne compatible
     17DUALCASE=1; export DUALCASE # for MKS sh
     18as_nop=:
     19if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     20then :
     21  emulate sh
     22  NULLCMD=:
     23  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     24  # is contrary to our usage.  Disable this feature.
     25  alias -g '${1+"$@"}'='"$@"'
     26  setopt NO_GLOB_SUBST
     27else $as_nop
     28  case `(set -o) 2>/dev/null` in #(
     29  *posix*) :
     30    set -o posix ;; #(
     31  *) :
     32     ;;
     33esac
     34fi
     35
     36
     37
     38# Reset variables that may have inherited troublesome values from
     39# the environment.
     40
     41# IFS needs to be set, to space, tab, and newline, in precisely that order.
     42# (If _AS_PATH_WALK were called with IFS unset, it would have the
     43# side effect of setting IFS to empty, thus disabling word splitting.)
     44# Quoting is to prevent editors from complaining about space-tab.
     45as_nl='
     46'
     47export as_nl
     48IFS=" ""	$as_nl"
     49
     50PS1='$ '
     51PS2='> '
     52PS4='+ '
     53
     54# Ensure predictable behavior from utilities with locale-dependent output.
     55LC_ALL=C
     56export LC_ALL
     57LANGUAGE=C
     58export LANGUAGE
     59
     60# We cannot yet rely on "unset" to work, but we need these variables
     61# to be unset--not just set to an empty or harmless value--now, to
     62# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     63# also avoids known problems related to "unset" and subshell syntax
     64# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     65for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     66do eval test \${$as_var+y} \
     67  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     68done
     69
     70# Ensure that fds 0, 1, and 2 are open.
     71if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     72if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     73if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     74
     75# The user is always right.
     76if ${PATH_SEPARATOR+false} :; then
     77  PATH_SEPARATOR=:
     78  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     79    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     80      PATH_SEPARATOR=';'
     81  }
     82fi
     83
     84
     85# Find who we are.  Look in the path if we contain no directory separator.
     86as_myself=
     87case $0 in #((
     88  *[\\/]* ) as_myself=$0 ;;
     89  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     90for as_dir in $PATH
     91do
     92  IFS=$as_save_IFS
     93  case $as_dir in #(((
     94    '') as_dir=./ ;;
     95    */) ;;
     96    *) as_dir=$as_dir/ ;;
     97  esac
     98    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
     99  done
    100IFS=$as_save_IFS
    101
    102     ;;
    103esac
    104# We did not find ourselves, most probably we were run as `sh COMMAND'
    105# in which case we are not to be found in the path.
    106if test "x$as_myself" = x; then
    107  as_myself=$0
    108fi
    109if test ! -f "$as_myself"; then
    110  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    111  exit 1
    112fi
    113
    114
    115# Use a proper internal environment variable to ensure we don't fall
    116  # into an infinite loop, continuously re-executing ourselves.
    117  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    118    _as_can_reexec=no; export _as_can_reexec;
    119    # We cannot yet assume a decent shell, so we have to provide a
    120# neutralization value for shells without unset; and this also
    121# works around shells that cannot unset nonexistent variables.
    122# Preserve -v and -x to the replacement shell.
    123BASH_ENV=/dev/null
    124ENV=/dev/null
    125(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    126case $- in # ((((
    127  *v*x* | *x*v* ) as_opts=-vx ;;
    128  *v* ) as_opts=-v ;;
    129  *x* ) as_opts=-x ;;
    130  * ) as_opts= ;;
    131esac
    132exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    133# Admittedly, this is quite paranoid, since all the known shells bail
    134# out after a failed `exec'.
    135printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    136exit 255
    137  fi
    138  # We don't want this to propagate to other subprocesses.
    139          { _as_can_reexec=; unset _as_can_reexec;}
    140if test "x$CONFIG_SHELL" = x; then
    141  as_bourne_compatible="as_nop=:
    142if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    143then :
    144  emulate sh
    145  NULLCMD=:
    146  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    147  # is contrary to our usage.  Disable this feature.
    148  alias -g '\${1+\"\$@\"}'='\"\$@\"'
    149  setopt NO_GLOB_SUBST
    150else \$as_nop
    151  case \`(set -o) 2>/dev/null\` in #(
    152  *posix*) :
    153    set -o posix ;; #(
    154  *) :
    155     ;;
    156esac
    157fi
    158"
    159  as_required="as_fn_return () { (exit \$1); }
    160as_fn_success () { as_fn_return 0; }
    161as_fn_failure () { as_fn_return 1; }
    162as_fn_ret_success () { return 0; }
    163as_fn_ret_failure () { return 1; }
    164
    165exitcode=0
    166as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    167as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    168as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    169as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    170if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    171then :
    172
    173else \$as_nop
    174  exitcode=1; echo positional parameters were not saved.
    175fi
    176test x\$exitcode = x0 || exit 1
    177blah=\$(echo \$(echo blah))
    178test x\"\$blah\" = xblah || exit 1
    179test -x / || exit 1"
    180  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    181  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    182  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    183  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    184
    185  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    186    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    187    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    188    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    189    PATH=/empty FPATH=/empty; export PATH FPATH
    190    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    191      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    192test \$(( 1 + 1 )) = 2 || exit 1"
    193  if (eval "$as_required") 2>/dev/null
    194then :
    195  as_have_required=yes
    196else $as_nop
    197  as_have_required=no
    198fi
    199  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    200then :
    201
    202else $as_nop
    203  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    204as_found=false
    205for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    206do
    207  IFS=$as_save_IFS
    208  case $as_dir in #(((
    209    '') as_dir=./ ;;
    210    */) ;;
    211    *) as_dir=$as_dir/ ;;
    212  esac
    213  as_found=:
    214  case $as_dir in #(
    215	 /*)
    216	   for as_base in sh bash ksh sh5; do
    217	     # Try only shells that exist, to save several forks.
    218	     as_shell=$as_dir$as_base
    219	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    220		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    221then :
    222  CONFIG_SHELL=$as_shell as_have_required=yes
    223		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    224then :
    225  break 2
    226fi
    227fi
    228	   done;;
    229       esac
    230  as_found=false
    231done
    232IFS=$as_save_IFS
    233if $as_found
    234then :
    235
    236else $as_nop
    237  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    238	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    239then :
    240  CONFIG_SHELL=$SHELL as_have_required=yes
    241fi
    242fi
    243
    244
    245      if test "x$CONFIG_SHELL" != x
    246then :
    247  export CONFIG_SHELL
    248             # We cannot yet assume a decent shell, so we have to provide a
    249# neutralization value for shells without unset; and this also
    250# works around shells that cannot unset nonexistent variables.
    251# Preserve -v and -x to the replacement shell.
    252BASH_ENV=/dev/null
    253ENV=/dev/null
    254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    255case $- in # ((((
    256  *v*x* | *x*v* ) as_opts=-vx ;;
    257  *v* ) as_opts=-v ;;
    258  *x* ) as_opts=-x ;;
    259  * ) as_opts= ;;
    260esac
    261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    262# Admittedly, this is quite paranoid, since all the known shells bail
    263# out after a failed `exec'.
    264printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    265exit 255
    266fi
    267
    268    if test x$as_have_required = xno
    269then :
    270  printf "%s\n" "$0: This script requires a shell more modern than all"
    271  printf "%s\n" "$0: the shells that I found on your system."
    272  if test ${ZSH_VERSION+y} ; then
    273    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    274    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    275  else
    276    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
    277$0: including any error possibly output before this
    278$0: message. Then install a modern shell, or manually run
    279$0: the script under such a shell if you do have one."
    280  fi
    281  exit 1
    282fi
    283fi
    284fi
    285SHELL=${CONFIG_SHELL-/bin/sh}
    286export SHELL
    287# Unset more variables known to interfere with behavior of common tools.
    288CLICOLOR_FORCE= GREP_OPTIONS=
    289unset CLICOLOR_FORCE GREP_OPTIONS
    290
    291## --------------------- ##
    292## M4sh Shell Functions. ##
    293## --------------------- ##
    294# as_fn_unset VAR
    295# ---------------
    296# Portably unset VAR.
    297as_fn_unset ()
    298{
    299  { eval $1=; unset $1;}
    300}
    301as_unset=as_fn_unset
    302
    303
    304# as_fn_set_status STATUS
    305# -----------------------
    306# Set $? to STATUS, without forking.
    307as_fn_set_status ()
    308{
    309  return $1
    310} # as_fn_set_status
    311
    312# as_fn_exit STATUS
    313# -----------------
    314# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    315as_fn_exit ()
    316{
    317  set +e
    318  as_fn_set_status $1
    319  exit $1
    320} # as_fn_exit
    321# as_fn_nop
    322# ---------
    323# Do nothing but, unlike ":", preserve the value of $?.
    324as_fn_nop ()
    325{
    326  return $?
    327}
    328as_nop=as_fn_nop
    329
    330# as_fn_mkdir_p
    331# -------------
    332# Create "$as_dir" as a directory, including parents if necessary.
    333as_fn_mkdir_p ()
    334{
    335
    336  case $as_dir in #(
    337  -*) as_dir=./$as_dir;;
    338  esac
    339  test -d "$as_dir" || eval $as_mkdir_p || {
    340    as_dirs=
    341    while :; do
    342      case $as_dir in #(
    343      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    344      *) as_qdir=$as_dir;;
    345      esac
    346      as_dirs="'$as_qdir' $as_dirs"
    347      as_dir=`$as_dirname -- "$as_dir" ||
    348$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    349	 X"$as_dir" : 'X\(//\)[^/]' \| \
    350	 X"$as_dir" : 'X\(//\)$' \| \
    351	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    352printf "%s\n" X"$as_dir" |
    353    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    354	    s//\1/
    355	    q
    356	  }
    357	  /^X\(\/\/\)[^/].*/{
    358	    s//\1/
    359	    q
    360	  }
    361	  /^X\(\/\/\)$/{
    362	    s//\1/
    363	    q
    364	  }
    365	  /^X\(\/\).*/{
    366	    s//\1/
    367	    q
    368	  }
    369	  s/.*/./; q'`
    370      test -d "$as_dir" && break
    371    done
    372    test -z "$as_dirs" || eval "mkdir $as_dirs"
    373  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    374
    375
    376} # as_fn_mkdir_p
    377
    378# as_fn_executable_p FILE
    379# -----------------------
    380# Test if FILE is an executable regular file.
    381as_fn_executable_p ()
    382{
    383  test -f "$1" && test -x "$1"
    384} # as_fn_executable_p
    385# as_fn_append VAR VALUE
    386# ----------------------
    387# Append the text in VALUE to the end of the definition contained in VAR. Take
    388# advantage of any shell optimizations that allow amortized linear growth over
    389# repeated appends, instead of the typical quadratic growth present in naive
    390# implementations.
    391if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    392then :
    393  eval 'as_fn_append ()
    394  {
    395    eval $1+=\$2
    396  }'
    397else $as_nop
    398  as_fn_append ()
    399  {
    400    eval $1=\$$1\$2
    401  }
    402fi # as_fn_append
    403
    404# as_fn_arith ARG...
    405# ------------------
    406# Perform arithmetic evaluation on the ARGs, and store the result in the
    407# global $as_val. Take advantage of shells that can avoid forks. The arguments
    408# must be portable across $(()) and expr.
    409if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    410then :
    411  eval 'as_fn_arith ()
    412  {
    413    as_val=$(( $* ))
    414  }'
    415else $as_nop
    416  as_fn_arith ()
    417  {
    418    as_val=`expr "$@" || test $? -eq 1`
    419  }
    420fi # as_fn_arith
    421
    422# as_fn_nop
    423# ---------
    424# Do nothing but, unlike ":", preserve the value of $?.
    425as_fn_nop ()
    426{
    427  return $?
    428}
    429as_nop=as_fn_nop
    430
    431# as_fn_error STATUS ERROR [LINENO LOG_FD]
    432# ----------------------------------------
    433# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    434# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    435# script with STATUS, using 1 if that was 0.
    436as_fn_error ()
    437{
    438  as_status=$1; test $as_status -eq 0 && as_status=1
    439  if test "$4"; then
    440    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    441    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    442  fi
    443  printf "%s\n" "$as_me: error: $2" >&2
    444  as_fn_exit $as_status
    445} # as_fn_error
    446
    447if expr a : '\(a\)' >/dev/null 2>&1 &&
    448   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    449  as_expr=expr
    450else
    451  as_expr=false
    452fi
    453
    454if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    455  as_basename=basename
    456else
    457  as_basename=false
    458fi
    459
    460if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    461  as_dirname=dirname
    462else
    463  as_dirname=false
    464fi
    465
    466as_me=`$as_basename -- "$0" ||
    467$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    468	 X"$0" : 'X\(//\)$' \| \
    469	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    470printf "%s\n" X/"$0" |
    471    sed '/^.*\/\([^/][^/]*\)\/*$/{
    472	    s//\1/
    473	    q
    474	  }
    475	  /^X\/\(\/\/\)$/{
    476	    s//\1/
    477	    q
    478	  }
    479	  /^X\/\(\/\).*/{
    480	    s//\1/
    481	    q
    482	  }
    483	  s/.*/./; q'`
    484
    485# Avoid depending upon Character Ranges.
    486as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    487as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    488as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    489as_cr_digits='0123456789'
    490as_cr_alnum=$as_cr_Letters$as_cr_digits
    491
    492
    493  as_lineno_1=$LINENO as_lineno_1a=$LINENO
    494  as_lineno_2=$LINENO as_lineno_2a=$LINENO
    495  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    496  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    497  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    498  sed -n '
    499    p
    500    /[$]LINENO/=
    501  ' <$as_myself |
    502    sed '
    503      s/[$]LINENO.*/&-/
    504      t lineno
    505      b
    506      :lineno
    507      N
    508      :loop
    509      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    510      t loop
    511      s/-\n.*//
    512    ' >$as_me.lineno &&
    513  chmod +x "$as_me.lineno" ||
    514    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    515
    516  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    517  # already done that, so ensure we don't try to do so again and fall
    518  # in an infinite loop.  This has already happened in practice.
    519  _as_can_reexec=no; export _as_can_reexec
    520  # Don't try to exec as it changes $[0], causing all sort of problems
    521  # (the dirname of $[0] is not the place where we might find the
    522  # original and so on.  Autoconf is especially sensitive to this).
    523  . "./$as_me.lineno"
    524  # Exit status is that of the last command.
    525  exit
    526}
    527
    528
    529# Determine whether it's possible to make 'echo' print without a newline.
    530# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    531# for compatibility with existing Makefiles.
    532ECHO_C= ECHO_N= ECHO_T=
    533case `echo -n x` in #(((((
    534-n*)
    535  case `echo 'xy\c'` in
    536  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    537  xy)  ECHO_C='\c';;
    538  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    539       ECHO_T='	';;
    540  esac;;
    541*)
    542  ECHO_N='-n';;
    543esac
    544
    545# For backward compatibility with old third-party macros, we provide
    546# the shell variables $as_echo and $as_echo_n.  New code should use
    547# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    548as_echo='printf %s\n'
    549as_echo_n='printf %s'
    550
    551
    552rm -f conf$$ conf$$.exe conf$$.file
    553if test -d conf$$.dir; then
    554  rm -f conf$$.dir/conf$$.file
    555else
    556  rm -f conf$$.dir
    557  mkdir conf$$.dir 2>/dev/null
    558fi
    559if (echo >conf$$.file) 2>/dev/null; then
    560  if ln -s conf$$.file conf$$ 2>/dev/null; then
    561    as_ln_s='ln -s'
    562    # ... but there are two gotchas:
    563    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    564    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    565    # In both cases, we have to default to `cp -pR'.
    566    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    567      as_ln_s='cp -pR'
    568  elif ln conf$$.file conf$$ 2>/dev/null; then
    569    as_ln_s=ln
    570  else
    571    as_ln_s='cp -pR'
    572  fi
    573else
    574  as_ln_s='cp -pR'
    575fi
    576rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    577rmdir conf$$.dir 2>/dev/null
    578
    579if mkdir -p . 2>/dev/null; then
    580  as_mkdir_p='mkdir -p "$as_dir"'
    581else
    582  test -d ./-p && rmdir ./-p
    583  as_mkdir_p=false
    584fi
    585
    586as_test_x='test -x'
    587as_executable_p=as_fn_executable_p
    588
    589# Sed expression to map a string onto a valid CPP name.
    590as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    591
    592# Sed expression to map a string onto a valid variable name.
    593as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    594
    595SHELL=${CONFIG_SHELL-/bin/sh}
    596
    597
    598test -n "$DJDIR" || exec 7<&0 </dev/null
    599exec 6>&1
    600
    601# Name of the host.
    602# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    603# so uname gets run too.
    604ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    605
    606#
    607# Initializations.
    608#
    609ac_default_prefix=/usr/local
    610ac_clean_files=
    611ac_config_libobj_dir=.
    612LIBOBJS=
    613cross_compiling=no
    614subdirs=
    615MFLAGS=
    616MAKEFLAGS=
    617
    618# Identity of this package.
    619PACKAGE_NAME='guacamole-server'
    620PACKAGE_TARNAME='guacamole-server'
    621PACKAGE_VERSION='1.5.4'
    622PACKAGE_STRING='guacamole-server 1.5.4'
    623PACKAGE_BUGREPORT=''
    624PACKAGE_URL=''
    625
    626# Factoring default headers for most tests.
    627ac_includes_default="\
    628#include <stddef.h>
    629#ifdef HAVE_STDIO_H
    630# include <stdio.h>
    631#endif
    632#ifdef HAVE_STDLIB_H
    633# include <stdlib.h>
    634#endif
    635#ifdef HAVE_STRING_H
    636# include <string.h>
    637#endif
    638#ifdef HAVE_INTTYPES_H
    639# include <inttypes.h>
    640#endif
    641#ifdef HAVE_STDINT_H
    642# include <stdint.h>
    643#endif
    644#ifdef HAVE_STRINGS_H
    645# include <strings.h>
    646#endif
    647#ifdef HAVE_SYS_TYPES_H
    648# include <sys/types.h>
    649#endif
    650#ifdef HAVE_SYS_STAT_H
    651# include <sys/stat.h>
    652#endif
    653#ifdef HAVE_UNISTD_H
    654# include <unistd.h>
    655#endif"
    656
    657ac_header_c_list=
    658ac_subst_vars='am__EXEEXT_FALSE
    659am__EXEEXT_TRUE
    660LTLIBOBJS
    661LIBOBJS
    662ENABLE_GUACLOG_FALSE
    663ENABLE_GUACLOG_TRUE
    664ENABLE_GUACENC_FALSE
    665ENABLE_GUACENC_TRUE
    666ENABLE_GUACD_FALSE
    667ENABLE_GUACD_TRUE
    668ENABLE_KUBERNETES_FALSE
    669ENABLE_KUBERNETES_TRUE
    670WEBSOCKETS_LIBS
    671ENABLE_WEBSOCKETS_FALSE
    672ENABLE_WEBSOCKETS_TRUE
    673WEBP_LIBS
    674ENABLE_WEBP_FALSE
    675ENABLE_WEBP_TRUE
    676TELNET_LIBS
    677ENABLE_TELNET_FALSE
    678ENABLE_TELNET_TRUE
    679ENABLE_SSH_AGENT_FALSE
    680ENABLE_SSH_AGENT_TRUE
    681SSH_LIBS
    682ENABLE_SSH_FALSE
    683ENABLE_SSH_TRUE
    684ENABLE_COMMON_SSH_FALSE
    685ENABLE_COMMON_SSH_TRUE
    686ENABLE_RDP_FALSE
    687ENABLE_RDP_TRUE
    688FREERDP2_PLUGIN_DIR
    689CPP
    690RDP_LIBS
    691RDP_CFLAGS
    692VNC_LIBS
    693ENABLE_VNC_FALSE
    694ENABLE_VNC_TRUE
    695ENABLE_TERMINAL_FALSE
    696ENABLE_TERMINAL_TRUE
    697PANGOCAIRO_LIBS
    698PANGOCAIRO_CFLAGS
    699PANGO_LIBS
    700PANGO_CFLAGS
    701PULSE_LIBS
    702ENABLE_PULSE_FALSE
    703ENABLE_PULSE_TRUE
    704VORBIS_LIBS
    705ENABLE_OGG_FALSE
    706ENABLE_OGG_TRUE
    707WINSOCK_LIBS
    708ENABLE_WINSOCK_FALSE
    709ENABLE_WINSOCK_TRUE
    710SSL_LIBS
    711ENABLE_SSL_FALSE
    712ENABLE_SSL_TRUE
    713ENABLE_SWSCALE_FALSE
    714ENABLE_SWSCALE_TRUE
    715SWSCALE_LIBS
    716SWSCALE_CFLAGS
    717ENABLE_AVUTIL_FALSE
    718ENABLE_AVUTIL_TRUE
    719AVUTIL_LIBS
    720AVUTIL_CFLAGS
    721ENABLE_AVFORMAT_FALSE
    722ENABLE_AVFORMAT_TRUE
    723AVFORMAT_LIBS
    724AVFORMAT_CFLAGS
    725ENABLE_AVCODEC_FALSE
    726ENABLE_AVCODEC_TRUE
    727AVCODEC_LIBS
    728AVCODEC_CFLAGS
    729PKG_CONFIG_LIBDIR
    730PKG_CONFIG_PATH
    731PKG_CONFIG
    732systemd_dir
    733ENABLE_SYSTEMD_FALSE
    734ENABLE_SYSTEMD_TRUE
    735init_dir
    736ENABLE_INIT_FALSE
    737ENABLE_INIT_TRUE
    738TERMINAL_INCLUDE
    739TERMINAL_LTLIB
    740LIBGUAC_CLIENT_RDP_INCLUDE
    741LIBGUAC_CLIENT_RDP_LTLIB
    742LIBGUAC_CLIENT_KUBERNETES_INCLUDE
    743LIBGUAC_CLIENT_KUBERNETES_LTLIB
    744COMMON_SSH_INCLUDE
    745COMMON_SSH_LTLIB
    746PULSE_INCLUDE
    747PULSE_LTLIB
    748COMMON_INCLUDE
    749COMMON_LTLIB
    750LIBGUAC_INCLUDE
    751LIBGUAC_LTLIB
    752CUNIT_LIBS
    753UUID_LIBS
    754PTHREAD_LIBS
    755CAIRO_LIBS
    756JPEG_LIBS
    757PNG_LIBS
    758MATH_LIBS
    759DL_LIBS
    760LT_SYS_LIBRARY_PATH
    761OTOOL64
    762OTOOL
    763LIPO
    764NMEDIT
    765DSYMUTIL
    766MANIFEST_TOOL
    767RANLIB
    768ac_ct_AR
    769AR
    770DLLTOOL
    771OBJDUMP
    772FILECMD
    773LN_S
    774NM
    775ac_ct_DUMPBIN
    776DUMPBIN
    777LD
    778FGREP
    779EGREP
    780GREP
    781SED
    782am__fastdepCC_FALSE
    783am__fastdepCC_TRUE
    784CCDEPMODE
    785am__nodep
    786AMDEPBACKSLASH
    787AMDEP_FALSE
    788AMDEP_TRUE
    789am__include
    790DEPDIR
    791OBJEXT
    792EXEEXT
    793ac_ct_CC
    794CPPFLAGS
    795LDFLAGS
    796CFLAGS
    797CC
    798host_os
    799host_vendor
    800host_cpu
    801host
    802build_os
    803build_vendor
    804build_cpu
    805build
    806LIBTOOL
    807AM_BACKSLASH
    808AM_DEFAULT_VERBOSITY
    809AM_DEFAULT_V
    810AM_V
    811CSCOPE
    812ETAGS
    813CTAGS
    814am__untar
    815am__tar
    816AMTAR
    817am__leading_dot
    818SET_MAKE
    819AWK
    820mkdir_p
    821MKDIR_P
    822INSTALL_STRIP_PROGRAM
    823STRIP
    824install_sh
    825MAKEINFO
    826AUTOHEADER
    827AUTOMAKE
    828AUTOCONF
    829ACLOCAL
    830VERSION
    831PACKAGE
    832CYGPATH_W
    833am__isrc
    834INSTALL_DATA
    835INSTALL_SCRIPT
    836INSTALL_PROGRAM
    837target_alias
    838host_alias
    839build_alias
    840LIBS
    841ECHO_T
    842ECHO_N
    843ECHO_C
    844DEFS
    845mandir
    846localedir
    847libdir
    848psdir
    849pdfdir
    850dvidir
    851htmldir
    852infodir
    853docdir
    854oldincludedir
    855includedir
    856runstatedir
    857localstatedir
    858sharedstatedir
    859sysconfdir
    860datadir
    861datarootdir
    862libexecdir
    863sbindir
    864bindir
    865program_transform_name
    866prefix
    867exec_prefix
    868PACKAGE_URL
    869PACKAGE_BUGREPORT
    870PACKAGE_STRING
    871PACKAGE_VERSION
    872PACKAGE_TARNAME
    873PACKAGE_NAME
    874PATH_SEPARATOR
    875SHELL
    876am__quote'
    877ac_subst_files=''
    878ac_user_opts='
    879enable_option_checking
    880enable_silent_rules
    881enable_shared
    882enable_static
    883with_pic
    884enable_fast_install
    885with_aix_soname
    886enable_dependency_tracking
    887with_gnu_ld
    888with_sysroot
    889enable_libtool_lock
    890with_libuuid
    891with_init_dir
    892with_systemd_dir
    893with_guacd_conf
    894with_libavcodec
    895with_libavformat
    896with_libavutil
    897with_libswscale
    898with_ssl
    899with_winsock
    900with_vorbis
    901with_pulse
    902with_pango
    903with_terminal
    904with_vnc
    905with_rdp
    906with_freerdp_plugin_dir
    907enable_allow_freerdp_snapshots
    908with_ssh
    909enable_ssh_agent
    910with_telnet
    911with_webp
    912with_websockets
    913enable_kubernetes
    914enable_guacd
    915enable_guacenc
    916enable_guaclog
    917'
    918      ac_precious_vars='build_alias
    919host_alias
    920target_alias
    921CC
    922CFLAGS
    923LDFLAGS
    924LIBS
    925CPPFLAGS
    926LT_SYS_LIBRARY_PATH
    927PKG_CONFIG
    928PKG_CONFIG_PATH
    929PKG_CONFIG_LIBDIR
    930AVCODEC_CFLAGS
    931AVCODEC_LIBS
    932AVFORMAT_CFLAGS
    933AVFORMAT_LIBS
    934AVUTIL_CFLAGS
    935AVUTIL_LIBS
    936SWSCALE_CFLAGS
    937SWSCALE_LIBS
    938PANGO_CFLAGS
    939PANGO_LIBS
    940PANGOCAIRO_CFLAGS
    941PANGOCAIRO_LIBS
    942RDP_CFLAGS
    943RDP_LIBS
    944CPP'
    945
    946
    947# Initialize some variables set by options.
    948ac_init_help=
    949ac_init_version=false
    950ac_unrecognized_opts=
    951ac_unrecognized_sep=
    952# The variables have the same names as the options, with
    953# dashes changed to underlines.
    954cache_file=/dev/null
    955exec_prefix=NONE
    956no_create=
    957no_recursion=
    958prefix=NONE
    959program_prefix=NONE
    960program_suffix=NONE
    961program_transform_name=s,x,x,
    962silent=
    963site=
    964srcdir=
    965verbose=
    966x_includes=NONE
    967x_libraries=NONE
    968
    969# Installation directory options.
    970# These are left unexpanded so users can "make install exec_prefix=/foo"
    971# and all the variables that are supposed to be based on exec_prefix
    972# by default will actually change.
    973# Use braces instead of parens because sh, perl, etc. also accept them.
    974# (The list follows the same order as the GNU Coding Standards.)
    975bindir='${exec_prefix}/bin'
    976sbindir='${exec_prefix}/sbin'
    977libexecdir='${exec_prefix}/libexec'
    978datarootdir='${prefix}/share'
    979datadir='${datarootdir}'
    980sysconfdir='${prefix}/etc'
    981sharedstatedir='${prefix}/com'
    982localstatedir='${prefix}/var'
    983runstatedir='${localstatedir}/run'
    984includedir='${prefix}/include'
    985oldincludedir='/usr/include'
    986docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    987infodir='${datarootdir}/info'
    988htmldir='${docdir}'
    989dvidir='${docdir}'
    990pdfdir='${docdir}'
    991psdir='${docdir}'
    992libdir='${exec_prefix}/lib'
    993localedir='${datarootdir}/locale'
    994mandir='${datarootdir}/man'
    995
    996ac_prev=
    997ac_dashdash=
    998for ac_option
    999do
   1000  # If the previous option needs an argument, assign it.
   1001  if test -n "$ac_prev"; then
   1002    eval $ac_prev=\$ac_option
   1003    ac_prev=
   1004    continue
   1005  fi
   1006
   1007  case $ac_option in
   1008  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1009  *=)   ac_optarg= ;;
   1010  *)    ac_optarg=yes ;;
   1011  esac
   1012
   1013  case $ac_dashdash$ac_option in
   1014  --)
   1015    ac_dashdash=yes ;;
   1016
   1017  -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1018    ac_prev=bindir ;;
   1019  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1020    bindir=$ac_optarg ;;
   1021
   1022  -build | --build | --buil | --bui | --bu)
   1023    ac_prev=build_alias ;;
   1024  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1025    build_alias=$ac_optarg ;;
   1026
   1027  -cache-file | --cache-file | --cache-fil | --cache-fi \
   1028  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1029    ac_prev=cache_file ;;
   1030  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1031  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1032    cache_file=$ac_optarg ;;
   1033
   1034  --config-cache | -C)
   1035    cache_file=config.cache ;;
   1036
   1037  -datadir | --datadir | --datadi | --datad)
   1038    ac_prev=datadir ;;
   1039  -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1040    datadir=$ac_optarg ;;
   1041
   1042  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1043  | --dataroo | --dataro | --datar)
   1044    ac_prev=datarootdir ;;
   1045  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1046  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1047    datarootdir=$ac_optarg ;;
   1048
   1049  -disable-* | --disable-*)
   1050    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1051    # Reject names that are not valid shell variable names.
   1052    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1053      as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1054    ac_useropt_orig=$ac_useropt
   1055    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1056    case $ac_user_opts in
   1057      *"
   1058"enable_$ac_useropt"
   1059"*) ;;
   1060      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1061	 ac_unrecognized_sep=', ';;
   1062    esac
   1063    eval enable_$ac_useropt=no ;;
   1064
   1065  -docdir | --docdir | --docdi | --doc | --do)
   1066    ac_prev=docdir ;;
   1067  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1068    docdir=$ac_optarg ;;
   1069
   1070  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1071    ac_prev=dvidir ;;
   1072  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1073    dvidir=$ac_optarg ;;
   1074
   1075  -enable-* | --enable-*)
   1076    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1077    # Reject names that are not valid shell variable names.
   1078    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1079      as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1080    ac_useropt_orig=$ac_useropt
   1081    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1082    case $ac_user_opts in
   1083      *"
   1084"enable_$ac_useropt"
   1085"*) ;;
   1086      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1087	 ac_unrecognized_sep=', ';;
   1088    esac
   1089    eval enable_$ac_useropt=\$ac_optarg ;;
   1090
   1091  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1092  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1093  | --exec | --exe | --ex)
   1094    ac_prev=exec_prefix ;;
   1095  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1096  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1097  | --exec=* | --exe=* | --ex=*)
   1098    exec_prefix=$ac_optarg ;;
   1099
   1100  -gas | --gas | --ga | --g)
   1101    # Obsolete; use --with-gas.
   1102    with_gas=yes ;;
   1103
   1104  -help | --help | --hel | --he | -h)
   1105    ac_init_help=long ;;
   1106  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1107    ac_init_help=recursive ;;
   1108  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1109    ac_init_help=short ;;
   1110
   1111  -host | --host | --hos | --ho)
   1112    ac_prev=host_alias ;;
   1113  -host=* | --host=* | --hos=* | --ho=*)
   1114    host_alias=$ac_optarg ;;
   1115
   1116  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1117    ac_prev=htmldir ;;
   1118  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1119  | --ht=*)
   1120    htmldir=$ac_optarg ;;
   1121
   1122  -includedir | --includedir | --includedi | --included | --include \
   1123  | --includ | --inclu | --incl | --inc)
   1124    ac_prev=includedir ;;
   1125  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1126  | --includ=* | --inclu=* | --incl=* | --inc=*)
   1127    includedir=$ac_optarg ;;
   1128
   1129  -infodir | --infodir | --infodi | --infod | --info | --inf)
   1130    ac_prev=infodir ;;
   1131  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1132    infodir=$ac_optarg ;;
   1133
   1134  -libdir | --libdir | --libdi | --libd)
   1135    ac_prev=libdir ;;
   1136  -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1137    libdir=$ac_optarg ;;
   1138
   1139  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1140  | --libexe | --libex | --libe)
   1141    ac_prev=libexecdir ;;
   1142  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1143  | --libexe=* | --libex=* | --libe=*)
   1144    libexecdir=$ac_optarg ;;
   1145
   1146  -localedir | --localedir | --localedi | --localed | --locale)
   1147    ac_prev=localedir ;;
   1148  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1149    localedir=$ac_optarg ;;
   1150
   1151  -localstatedir | --localstatedir | --localstatedi | --localstated \
   1152  | --localstate | --localstat | --localsta | --localst | --locals)
   1153    ac_prev=localstatedir ;;
   1154  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1155  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1156    localstatedir=$ac_optarg ;;
   1157
   1158  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1159    ac_prev=mandir ;;
   1160  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1161    mandir=$ac_optarg ;;
   1162
   1163  -nfp | --nfp | --nf)
   1164    # Obsolete; use --without-fp.
   1165    with_fp=no ;;
   1166
   1167  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1168  | --no-cr | --no-c | -n)
   1169    no_create=yes ;;
   1170
   1171  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1172  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1173    no_recursion=yes ;;
   1174
   1175  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1176  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1177  | --oldin | --oldi | --old | --ol | --o)
   1178    ac_prev=oldincludedir ;;
   1179  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1180  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1181  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1182    oldincludedir=$ac_optarg ;;
   1183
   1184  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1185    ac_prev=prefix ;;
   1186  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1187    prefix=$ac_optarg ;;
   1188
   1189  -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1190  | --program-pre | --program-pr | --program-p)
   1191    ac_prev=program_prefix ;;
   1192  -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1193  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1194    program_prefix=$ac_optarg ;;
   1195
   1196  -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1197  | --program-suf | --program-su | --program-s)
   1198    ac_prev=program_suffix ;;
   1199  -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1200  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1201    program_suffix=$ac_optarg ;;
   1202
   1203  -program-transform-name | --program-transform-name \
   1204  | --program-transform-nam | --program-transform-na \
   1205  | --program-transform-n | --program-transform- \
   1206  | --program-transform | --program-transfor \
   1207  | --program-transfo | --program-transf \
   1208  | --program-trans | --program-tran \
   1209  | --progr-tra | --program-tr | --program-t)
   1210    ac_prev=program_transform_name ;;
   1211  -program-transform-name=* | --program-transform-name=* \
   1212  | --program-transform-nam=* | --program-transform-na=* \
   1213  | --program-transform-n=* | --program-transform-=* \
   1214  | --program-transform=* | --program-transfor=* \
   1215  | --program-transfo=* | --program-transf=* \
   1216  | --program-trans=* | --program-tran=* \
   1217  | --progr-tra=* | --program-tr=* | --program-t=*)
   1218    program_transform_name=$ac_optarg ;;
   1219
   1220  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1221    ac_prev=pdfdir ;;
   1222  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1223    pdfdir=$ac_optarg ;;
   1224
   1225  -psdir | --psdir | --psdi | --psd | --ps)
   1226    ac_prev=psdir ;;
   1227  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1228    psdir=$ac_optarg ;;
   1229
   1230  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1231  | -silent | --silent | --silen | --sile | --sil)
   1232    silent=yes ;;
   1233
   1234  -runstatedir | --runstatedir | --runstatedi | --runstated \
   1235  | --runstate | --runstat | --runsta | --runst | --runs \
   1236  | --run | --ru | --r)
   1237    ac_prev=runstatedir ;;
   1238  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1239  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1240  | --run=* | --ru=* | --r=*)
   1241    runstatedir=$ac_optarg ;;
   1242
   1243  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1244    ac_prev=sbindir ;;
   1245  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1246  | --sbi=* | --sb=*)
   1247    sbindir=$ac_optarg ;;
   1248
   1249  -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1250  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1251  | --sharedst | --shareds | --shared | --share | --shar \
   1252  | --sha | --sh)
   1253    ac_prev=sharedstatedir ;;
   1254  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1255  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1256  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1257  | --sha=* | --sh=*)
   1258    sharedstatedir=$ac_optarg ;;
   1259
   1260  -site | --site | --sit)
   1261    ac_prev=site ;;
   1262  -site=* | --site=* | --sit=*)
   1263    site=$ac_optarg ;;
   1264
   1265  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1266    ac_prev=srcdir ;;
   1267  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1268    srcdir=$ac_optarg ;;
   1269
   1270  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1271  | --syscon | --sysco | --sysc | --sys | --sy)
   1272    ac_prev=sysconfdir ;;
   1273  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1274  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1275    sysconfdir=$ac_optarg ;;
   1276
   1277  -target | --target | --targe | --targ | --tar | --ta | --t)
   1278    ac_prev=target_alias ;;
   1279  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1280    target_alias=$ac_optarg ;;
   1281
   1282  -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1283    verbose=yes ;;
   1284
   1285  -version | --version | --versio | --versi | --vers | -V)
   1286    ac_init_version=: ;;
   1287
   1288  -with-* | --with-*)
   1289    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1290    # Reject names that are not valid shell variable names.
   1291    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1292      as_fn_error $? "invalid package name: \`$ac_useropt'"
   1293    ac_useropt_orig=$ac_useropt
   1294    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1295    case $ac_user_opts in
   1296      *"
   1297"with_$ac_useropt"
   1298"*) ;;
   1299      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1300	 ac_unrecognized_sep=', ';;
   1301    esac
   1302    eval with_$ac_useropt=\$ac_optarg ;;
   1303
   1304  -without-* | --without-*)
   1305    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1306    # Reject names that are not valid shell variable names.
   1307    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1308      as_fn_error $? "invalid package name: \`$ac_useropt'"
   1309    ac_useropt_orig=$ac_useropt
   1310    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1311    case $ac_user_opts in
   1312      *"
   1313"with_$ac_useropt"
   1314"*) ;;
   1315      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1316	 ac_unrecognized_sep=', ';;
   1317    esac
   1318    eval with_$ac_useropt=no ;;
   1319
   1320  --x)
   1321    # Obsolete; use --with-x.
   1322    with_x=yes ;;
   1323
   1324  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1325  | --x-incl | --x-inc | --x-in | --x-i)
   1326    ac_prev=x_includes ;;
   1327  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1328  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1329    x_includes=$ac_optarg ;;
   1330
   1331  -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1332  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1333    ac_prev=x_libraries ;;
   1334  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1335  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1336    x_libraries=$ac_optarg ;;
   1337
   1338  -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1339Try \`$0 --help' for more information"
   1340    ;;
   1341
   1342  *=*)
   1343    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1344    # Reject names that are not valid shell variable names.
   1345    case $ac_envvar in #(
   1346      '' | [0-9]* | *[!_$as_cr_alnum]* )
   1347      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1348    esac
   1349    eval $ac_envvar=\$ac_optarg
   1350    export $ac_envvar ;;
   1351
   1352  *)
   1353    # FIXME: should be removed in autoconf 3.0.
   1354    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1355    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1356      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1357    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1358    ;;
   1359
   1360  esac
   1361done
   1362
   1363if test -n "$ac_prev"; then
   1364  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1365  as_fn_error $? "missing argument to $ac_option"
   1366fi
   1367
   1368if test -n "$ac_unrecognized_opts"; then
   1369  case $enable_option_checking in
   1370    no) ;;
   1371    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1372    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1373  esac
   1374fi
   1375
   1376# Check all directory arguments for consistency.
   1377for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1378		datadir sysconfdir sharedstatedir localstatedir includedir \
   1379		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1380		libdir localedir mandir runstatedir
   1381do
   1382  eval ac_val=\$$ac_var
   1383  # Remove trailing slashes.
   1384  case $ac_val in
   1385    */ )
   1386      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1387      eval $ac_var=\$ac_val;;
   1388  esac
   1389  # Be sure to have absolute directory names.
   1390  case $ac_val in
   1391    [\\/$]* | ?:[\\/]* )  continue;;
   1392    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1393  esac
   1394  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1395done
   1396
   1397# There might be people who depend on the old broken behavior: `$host'
   1398# used to hold the argument of --host etc.
   1399# FIXME: To remove some day.
   1400build=$build_alias
   1401host=$host_alias
   1402target=$target_alias
   1403
   1404# FIXME: To remove some day.
   1405if test "x$host_alias" != x; then
   1406  if test "x$build_alias" = x; then
   1407    cross_compiling=maybe
   1408  elif test "x$build_alias" != "x$host_alias"; then
   1409    cross_compiling=yes
   1410  fi
   1411fi
   1412
   1413ac_tool_prefix=
   1414test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1415
   1416test "$silent" = yes && exec 6>/dev/null
   1417
   1418
   1419ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1420ac_ls_di=`ls -di .` &&
   1421ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1422  as_fn_error $? "working directory cannot be determined"
   1423test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1424  as_fn_error $? "pwd does not report name of working directory"
   1425
   1426
   1427# Find the source files, if location was not specified.
   1428if test -z "$srcdir"; then
   1429  ac_srcdir_defaulted=yes
   1430  # Try the directory containing this script, then the parent directory.
   1431  ac_confdir=`$as_dirname -- "$as_myself" ||
   1432$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1433	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1434	 X"$as_myself" : 'X\(//\)$' \| \
   1435	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1436printf "%s\n" X"$as_myself" |
   1437    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1438	    s//\1/
   1439	    q
   1440	  }
   1441	  /^X\(\/\/\)[^/].*/{
   1442	    s//\1/
   1443	    q
   1444	  }
   1445	  /^X\(\/\/\)$/{
   1446	    s//\1/
   1447	    q
   1448	  }
   1449	  /^X\(\/\).*/{
   1450	    s//\1/
   1451	    q
   1452	  }
   1453	  s/.*/./; q'`
   1454  srcdir=$ac_confdir
   1455  if test ! -r "$srcdir/$ac_unique_file"; then
   1456    srcdir=..
   1457  fi
   1458else
   1459  ac_srcdir_defaulted=no
   1460fi
   1461if test ! -r "$srcdir/$ac_unique_file"; then
   1462  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1463  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1464fi
   1465ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1466ac_abs_confdir=`(
   1467	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1468	pwd)`
   1469# When building in place, set srcdir=.
   1470if test "$ac_abs_confdir" = "$ac_pwd"; then
   1471  srcdir=.
   1472fi
   1473# Remove unnecessary trailing slashes from srcdir.
   1474# Double slashes in file names in object file debugging info
   1475# mess up M-x gdb in Emacs.
   1476case $srcdir in
   1477*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1478esac
   1479for ac_var in $ac_precious_vars; do
   1480  eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1481  eval ac_env_${ac_var}_value=\$${ac_var}
   1482  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1483  eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1484done
   1485
   1486#
   1487# Report the --help message.
   1488#
   1489if test "$ac_init_help" = "long"; then
   1490  # Omit some internal or obsolete options to make the list less imposing.
   1491  # This message is too long to be a string in the A/UX 3.1 sh.
   1492  cat <<_ACEOF
   1493\`configure' configures guacamole-server 1.5.4 to adapt to many kinds of systems.
   1494
   1495Usage: $0 [OPTION]... [VAR=VALUE]...
   1496
   1497To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1498VAR=VALUE.  See below for descriptions of some of the useful variables.
   1499
   1500Defaults for the options are specified in brackets.
   1501
   1502Configuration:
   1503  -h, --help              display this help and exit
   1504      --help=short        display options specific to this package
   1505      --help=recursive    display the short help of all the included packages
   1506  -V, --version           display version information and exit
   1507  -q, --quiet, --silent   do not print \`checking ...' messages
   1508      --cache-file=FILE   cache test results in FILE [disabled]
   1509  -C, --config-cache      alias for \`--cache-file=config.cache'
   1510  -n, --no-create         do not create output files
   1511      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1512
   1513Installation directories:
   1514  --prefix=PREFIX         install architecture-independent files in PREFIX
   1515                          [$ac_default_prefix]
   1516  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1517                          [PREFIX]
   1518
   1519By default, \`make install' will install all the files in
   1520\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1521an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1522for instance \`--prefix=\$HOME'.
   1523
   1524For better control, use the options below.
   1525
   1526Fine tuning of the installation directories:
   1527  --bindir=DIR            user executables [EPREFIX/bin]
   1528  --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1529  --libexecdir=DIR        program executables [EPREFIX/libexec]
   1530  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1531  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1532  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1533  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1534  --libdir=DIR            object code libraries [EPREFIX/lib]
   1535  --includedir=DIR        C header files [PREFIX/include]
   1536  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1537  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1538  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1539  --infodir=DIR           info documentation [DATAROOTDIR/info]
   1540  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1541  --mandir=DIR            man documentation [DATAROOTDIR/man]
   1542  --docdir=DIR            documentation root
   1543                          [DATAROOTDIR/doc/guacamole-server]
   1544  --htmldir=DIR           html documentation [DOCDIR]
   1545  --dvidir=DIR            dvi documentation [DOCDIR]
   1546  --pdfdir=DIR            pdf documentation [DOCDIR]
   1547  --psdir=DIR             ps documentation [DOCDIR]
   1548_ACEOF
   1549
   1550  cat <<\_ACEOF
   1551
   1552Program names:
   1553  --program-prefix=PREFIX            prepend PREFIX to installed program names
   1554  --program-suffix=SUFFIX            append SUFFIX to installed program names
   1555  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1556
   1557System types:
   1558  --build=BUILD     configure for building on BUILD [guessed]
   1559  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1560_ACEOF
   1561fi
   1562
   1563if test -n "$ac_init_help"; then
   1564  case $ac_init_help in
   1565     short | recursive ) echo "Configuration of guacamole-server 1.5.4:";;
   1566   esac
   1567  cat <<\_ACEOF
   1568
   1569Optional Features:
   1570  --disable-option-checking  ignore unrecognized --enable/--with options
   1571  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1572  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1573  --enable-silent-rules   less verbose build output (undo: "make V=1")
   1574  --disable-silent-rules  verbose build output (undo: "make V=0")
   1575  --enable-shared[=PKGS]  build shared libraries [default=yes]
   1576  --enable-static[=PKGS]  build static libraries [default=yes]
   1577  --enable-fast-install[=PKGS]
   1578                          optimize for fast installation [default=yes]
   1579  --enable-dependency-tracking
   1580                          do not reject slow dependency extractors
   1581  --disable-dependency-tracking
   1582                          speeds up one-time build
   1583  --disable-libtool-lock  avoid locking (might break parallel builds)
   1584  --enable-allow-freerdp-snapshots
   1585                          allow building against unknown development snapshots
   1586                          of FreeRDP
   1587
   1588  --enable-ssh-agent      enable built-in ssh-agent
   1589
   1590  --disable-kubernetes    do not build support for attaching to Kubernetes
   1591                          pods
   1592  --disable-guacd         do not build the Guacamole proxy daemon
   1593  --disable-guacenc       do not build the Guacamole video encoding tool
   1594  --disable-guaclog       do not build the Guacamole input logging tool
   1595
   1596Optional Packages:
   1597  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1598  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1599  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1600                          both]
   1601  --with-aix-soname=aix|svr4|both
   1602                          shared library versioning (aka "SONAME") variant to
   1603                          provide on AIX, [default=aix].
   1604  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1605  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1606                          compiler's sysroot if not specified).
   1607  --with-libuuid          use libuuid to generate unique identifiers
   1608                          [default=check]
   1609  --with-init-dir=<path>  install init scripts to the given directory
   1610
   1611  --with-systemd-dir=<path>
   1612                          install systemd units to the given directory
   1613
   1614  --with-guacd-conf=<path>
   1615                          the full path to the guacd config file
   1616                          [default=/etc/guacamole/guacd.conf]
   1617  --with-libavcodec       use libavcodec when encoding video [default=check]
   1618  --with-libavformat      use libavformat when encoding video [default=check]
   1619  --with-libavutil        use libavutil when encoding video [default=check]
   1620  --with-libswscale       use libswscale when encoding video [default=check]
   1621  --with-ssl              support SSL encryption [default=check]
   1622  --with-winsock          support Windows Sockets API [default=check]
   1623  --with-vorbis           support Ogg Vorbis [default=check]
   1624  --with-pulse            support PulseAudio [default=check]
   1625  --with-pango            support Pango text layout [default=check]
   1626  --with-terminal         support text-based protocols [default=check]
   1627  --with-vnc              support VNC [default=check]
   1628  --with-rdp              support RDP [default=check]
   1629  --with-freerdp-plugin-dir=<path>
   1630                          install FreeRDP plugins to the given directory
   1631                          [default=check]
   1632
   1633  --with-ssh              support SSH [default=check]
   1634  --with-telnet           support Telnet [default=check]
   1635  --with-webp             support WebP image encoding [default=check]
   1636  --with-websockets       support WebSockets [default=check]
   1637
   1638Some influential environment variables:
   1639  CC          C compiler command
   1640  CFLAGS      C compiler flags
   1641  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1642              nonstandard directory <lib dir>
   1643  LIBS        libraries to pass to the linker, e.g. -l<library>
   1644  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1645              you have headers in a nonstandard directory <include dir>
   1646  LT_SYS_LIBRARY_PATH
   1647              User-defined run-time library search path.
   1648  PKG_CONFIG  path to pkg-config utility
   1649  PKG_CONFIG_PATH
   1650              directories to add to pkg-config's search path
   1651  PKG_CONFIG_LIBDIR
   1652              path overriding pkg-config's built-in search path
   1653  AVCODEC_CFLAGS
   1654              C compiler flags for AVCODEC, overriding pkg-config
   1655  AVCODEC_LIBS
   1656              linker flags for AVCODEC, overriding pkg-config
   1657  AVFORMAT_CFLAGS
   1658              C compiler flags for AVFORMAT, overriding pkg-config
   1659  AVFORMAT_LIBS
   1660              linker flags for AVFORMAT, overriding pkg-config
   1661  AVUTIL_CFLAGS
   1662              C compiler flags for AVUTIL, overriding pkg-config
   1663  AVUTIL_LIBS linker flags for AVUTIL, overriding pkg-config
   1664  SWSCALE_CFLAGS
   1665              C compiler flags for SWSCALE, overriding pkg-config
   1666  SWSCALE_LIBS
   1667              linker flags for SWSCALE, overriding pkg-config
   1668  PANGO_CFLAGS
   1669              C compiler flags for PANGO, overriding pkg-config
   1670  PANGO_LIBS  linker flags for PANGO, overriding pkg-config
   1671  PANGOCAIRO_CFLAGS
   1672              C compiler flags for PANGOCAIRO, overriding pkg-config
   1673  PANGOCAIRO_LIBS
   1674              linker flags for PANGOCAIRO, overriding pkg-config
   1675  RDP_CFLAGS  C compiler flags for RDP, overriding pkg-config
   1676  RDP_LIBS    linker flags for RDP, overriding pkg-config
   1677  CPP         C preprocessor
   1678
   1679Use these variables to override the choices made by `configure' or to help
   1680it to find libraries and programs with nonstandard names/locations.
   1681
   1682Report bugs to the package provider.
   1683_ACEOF
   1684ac_status=$?
   1685fi
   1686
   1687if test "$ac_init_help" = "recursive"; then
   1688  # If there are subdirs, report their specific --help.
   1689  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1690    test -d "$ac_dir" ||
   1691      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1692      continue
   1693    ac_builddir=.
   1694
   1695case "$ac_dir" in
   1696.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1697*)
   1698  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1699  # A ".." for each directory in $ac_dir_suffix.
   1700  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1701  case $ac_top_builddir_sub in
   1702  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1703  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1704  esac ;;
   1705esac
   1706ac_abs_top_builddir=$ac_pwd
   1707ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1708# for backward compatibility:
   1709ac_top_builddir=$ac_top_build_prefix
   1710
   1711case $srcdir in
   1712  .)  # We are building in place.
   1713    ac_srcdir=.
   1714    ac_top_srcdir=$ac_top_builddir_sub
   1715    ac_abs_top_srcdir=$ac_pwd ;;
   1716  [\\/]* | ?:[\\/]* )  # Absolute name.
   1717    ac_srcdir=$srcdir$ac_dir_suffix;
   1718    ac_top_srcdir=$srcdir
   1719    ac_abs_top_srcdir=$srcdir ;;
   1720  *) # Relative name.
   1721    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1722    ac_top_srcdir=$ac_top_build_prefix$srcdir
   1723    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1724esac
   1725ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1726
   1727    cd "$ac_dir" || { ac_status=$?; continue; }
   1728    # Check for configure.gnu first; this name is used for a wrapper for
   1729    # Metaconfig's "Configure" on case-insensitive file systems.
   1730    if test -f "$ac_srcdir/configure.gnu"; then
   1731      echo &&
   1732      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1733    elif test -f "$ac_srcdir/configure"; then
   1734      echo &&
   1735      $SHELL "$ac_srcdir/configure" --help=recursive
   1736    else
   1737      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1738    fi || ac_status=$?
   1739    cd "$ac_pwd" || { ac_status=$?; break; }
   1740  done
   1741fi
   1742
   1743test -n "$ac_init_help" && exit $ac_status
   1744if $ac_init_version; then
   1745  cat <<\_ACEOF
   1746guacamole-server configure 1.5.4
   1747generated by GNU Autoconf 2.71
   1748
   1749Copyright (C) 2021 Free Software Foundation, Inc.
   1750This configure script is free software; the Free Software Foundation
   1751gives unlimited permission to copy, distribute and modify it.
   1752_ACEOF
   1753  exit
   1754fi
   1755
   1756## ------------------------ ##
   1757## Autoconf initialization. ##
   1758## ------------------------ ##
   1759
   1760# ac_fn_c_try_compile LINENO
   1761# --------------------------
   1762# Try to compile conftest.$ac_ext, and return whether this succeeded.
   1763ac_fn_c_try_compile ()
   1764{
   1765  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1766  rm -f conftest.$ac_objext conftest.beam
   1767  if { { ac_try="$ac_compile"
   1768case "(($ac_try" in
   1769  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1770  *) ac_try_echo=$ac_try;;
   1771esac
   1772eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1773printf "%s\n" "$ac_try_echo"; } >&5
   1774  (eval "$ac_compile") 2>conftest.err
   1775  ac_status=$?
   1776  if test -s conftest.err; then
   1777    grep -v '^ *+' conftest.err >conftest.er1
   1778    cat conftest.er1 >&5
   1779    mv -f conftest.er1 conftest.err
   1780  fi
   1781  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1782  test $ac_status = 0; } && {
   1783	 test -z "$ac_c_werror_flag" ||
   1784	 test ! -s conftest.err
   1785       } && test -s conftest.$ac_objext
   1786then :
   1787  ac_retval=0
   1788else $as_nop
   1789  printf "%s\n" "$as_me: failed program was:" >&5
   1790sed 's/^/| /' conftest.$ac_ext >&5
   1791
   1792	ac_retval=1
   1793fi
   1794  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1795  as_fn_set_status $ac_retval
   1796
   1797} # ac_fn_c_try_compile
   1798
   1799# ac_fn_c_try_link LINENO
   1800# -----------------------
   1801# Try to link conftest.$ac_ext, and return whether this succeeded.
   1802ac_fn_c_try_link ()
   1803{
   1804  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1805  rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1806  if { { ac_try="$ac_link"
   1807case "(($ac_try" in
   1808  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1809  *) ac_try_echo=$ac_try;;
   1810esac
   1811eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1812printf "%s\n" "$ac_try_echo"; } >&5
   1813  (eval "$ac_link") 2>conftest.err
   1814  ac_status=$?
   1815  if test -s conftest.err; then
   1816    grep -v '^ *+' conftest.err >conftest.er1
   1817    cat conftest.er1 >&5
   1818    mv -f conftest.er1 conftest.err
   1819  fi
   1820  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1821  test $ac_status = 0; } && {
   1822	 test -z "$ac_c_werror_flag" ||
   1823	 test ! -s conftest.err
   1824       } && test -s conftest$ac_exeext && {
   1825	 test "$cross_compiling" = yes ||
   1826	 test -x conftest$ac_exeext
   1827       }
   1828then :
   1829  ac_retval=0
   1830else $as_nop
   1831  printf "%s\n" "$as_me: failed program was:" >&5
   1832sed 's/^/| /' conftest.$ac_ext >&5
   1833
   1834	ac_retval=1
   1835fi
   1836  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1837  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1838  # interfere with the next link command; also delete a directory that is
   1839  # left behind by Apple's compiler.  We do this before executing the actions.
   1840  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1841  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1842  as_fn_set_status $ac_retval
   1843
   1844} # ac_fn_c_try_link
   1845
   1846# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1847# -------------------------------------------------------
   1848# Tests whether HEADER exists and can be compiled using the include files in
   1849# INCLUDES, setting the cache variable VAR accordingly.
   1850ac_fn_c_check_header_compile ()
   1851{
   1852  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1853  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1854printf %s "checking for $2... " >&6; }
   1855if eval test \${$3+y}
   1856then :
   1857  printf %s "(cached) " >&6
   1858else $as_nop
   1859  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1860/* end confdefs.h.  */
   1861$4
   1862#include <$2>
   1863_ACEOF
   1864if ac_fn_c_try_compile "$LINENO"
   1865then :
   1866  eval "$3=yes"
   1867else $as_nop
   1868  eval "$3=no"
   1869fi
   1870rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1871fi
   1872eval ac_res=\$$3
   1873	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1874printf "%s\n" "$ac_res" >&6; }
   1875  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1876
   1877} # ac_fn_c_check_header_compile
   1878
   1879# ac_fn_c_check_func LINENO FUNC VAR
   1880# ----------------------------------
   1881# Tests whether FUNC exists, setting the cache variable VAR accordingly
   1882ac_fn_c_check_func ()
   1883{
   1884  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1885  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1886printf %s "checking for $2... " >&6; }
   1887if eval test \${$3+y}
   1888then :
   1889  printf %s "(cached) " >&6
   1890else $as_nop
   1891  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1892/* end confdefs.h.  */
   1893/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1894   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1895#define $2 innocuous_$2
   1896
   1897/* System header to define __stub macros and hopefully few prototypes,
   1898   which can conflict with char $2 (); below.  */
   1899
   1900#include <limits.h>
   1901#undef $2
   1902
   1903/* Override any GCC internal prototype to avoid an error.
   1904   Use char because int might match the return type of a GCC
   1905   builtin and then its argument prototype would still apply.  */
   1906#ifdef __cplusplus
   1907extern "C"
   1908#endif
   1909char $2 ();
   1910/* The GNU C library defines this for functions which it implements
   1911    to always fail with ENOSYS.  Some functions are actually named
   1912    something starting with __ and the normal name is an alias.  */
   1913#if defined __stub_$2 || defined __stub___$2
   1914choke me
   1915#endif
   1916
   1917int
   1918main (void)
   1919{
   1920return $2 ();
   1921  ;
   1922  return 0;
   1923}
   1924_ACEOF
   1925if ac_fn_c_try_link "$LINENO"
   1926then :
   1927  eval "$3=yes"
   1928else $as_nop
   1929  eval "$3=no"
   1930fi
   1931rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1932    conftest$ac_exeext conftest.$ac_ext
   1933fi
   1934eval ac_res=\$$3
   1935	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1936printf "%s\n" "$ac_res" >&6; }
   1937  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1938
   1939} # ac_fn_c_check_func
   1940
   1941# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1942# ------------------------------------------------------------------
   1943# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1944# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1945ac_fn_check_decl ()
   1946{
   1947  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1948  as_decl_name=`echo $2|sed 's/ *(.*//'`
   1949  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1950printf %s "checking whether $as_decl_name is declared... " >&6; }
   1951if eval test \${$3+y}
   1952then :
   1953  printf %s "(cached) " >&6
   1954else $as_nop
   1955  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1956  eval ac_save_FLAGS=\$$6
   1957  as_fn_append $6 " $5"
   1958  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1959/* end confdefs.h.  */
   1960$4
   1961int
   1962main (void)
   1963{
   1964#ifndef $as_decl_name
   1965#ifdef __cplusplus
   1966  (void) $as_decl_use;
   1967#else
   1968  (void) $as_decl_name;
   1969#endif
   1970#endif
   1971
   1972  ;
   1973  return 0;
   1974}
   1975_ACEOF
   1976if ac_fn_c_try_compile "$LINENO"
   1977then :
   1978  eval "$3=yes"
   1979else $as_nop
   1980  eval "$3=no"
   1981fi
   1982rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1983  eval $6=\$ac_save_FLAGS
   1984
   1985fi
   1986eval ac_res=\$$3
   1987	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1988printf "%s\n" "$ac_res" >&6; }
   1989  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1990
   1991} # ac_fn_check_decl
   1992
   1993# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1994# -------------------------------------------
   1995# Tests whether TYPE exists after having included INCLUDES, setting cache
   1996# variable VAR accordingly.
   1997ac_fn_c_check_type ()
   1998{
   1999  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2000  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2001printf %s "checking for $2... " >&6; }
   2002if eval test \${$3+y}
   2003then :
   2004  printf %s "(cached) " >&6
   2005else $as_nop
   2006  eval "$3=no"
   2007  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2008/* end confdefs.h.  */
   2009$4
   2010int
   2011main (void)
   2012{
   2013if (sizeof ($2))
   2014	 return 0;
   2015  ;
   2016  return 0;
   2017}
   2018_ACEOF
   2019if ac_fn_c_try_compile "$LINENO"
   2020then :
   2021  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2022/* end confdefs.h.  */
   2023$4
   2024int
   2025main (void)
   2026{
   2027if (sizeof (($2)))
   2028	    return 0;
   2029  ;
   2030  return 0;
   2031}
   2032_ACEOF
   2033if ac_fn_c_try_compile "$LINENO"
   2034then :
   2035
   2036else $as_nop
   2037  eval "$3=yes"
   2038fi
   2039rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2040fi
   2041rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2042fi
   2043eval ac_res=\$$3
   2044	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2045printf "%s\n" "$ac_res" >&6; }
   2046  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2047
   2048} # ac_fn_c_check_type
   2049
   2050# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2051# ----------------------------------------------------
   2052# Tries to find if the field MEMBER exists in type AGGR, after including
   2053# INCLUDES, setting cache variable VAR accordingly.
   2054ac_fn_c_check_member ()
   2055{
   2056  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2057  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2058printf %s "checking for $2.$3... " >&6; }
   2059if eval test \${$4+y}
   2060then :
   2061  printf %s "(cached) " >&6
   2062else $as_nop
   2063  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2064/* end confdefs.h.  */
   2065$5
   2066int
   2067main (void)
   2068{
   2069static $2 ac_aggr;
   2070if (ac_aggr.$3)
   2071return 0;
   2072  ;
   2073  return 0;
   2074}
   2075_ACEOF
   2076if ac_fn_c_try_compile "$LINENO"
   2077then :
   2078  eval "$4=yes"
   2079else $as_nop
   2080  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2081/* end confdefs.h.  */
   2082$5
   2083int
   2084main (void)
   2085{
   2086static $2 ac_aggr;
   2087if (sizeof ac_aggr.$3)
   2088return 0;
   2089  ;
   2090  return 0;
   2091}
   2092_ACEOF
   2093if ac_fn_c_try_compile "$LINENO"
   2094then :
   2095  eval "$4=yes"
   2096else $as_nop
   2097  eval "$4=no"
   2098fi
   2099rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2100fi
   2101rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2102fi
   2103eval ac_res=\$$4
   2104	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2105printf "%s\n" "$ac_res" >&6; }
   2106  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2107
   2108} # ac_fn_c_check_member
   2109
   2110# ac_fn_c_try_cpp LINENO
   2111# ----------------------
   2112# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2113ac_fn_c_try_cpp ()
   2114{
   2115  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2116  if { { ac_try="$ac_cpp conftest.$ac_ext"
   2117case "(($ac_try" in
   2118  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2119  *) ac_try_echo=$ac_try;;
   2120esac
   2121eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2122printf "%s\n" "$ac_try_echo"; } >&5
   2123  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2124  ac_status=$?
   2125  if test -s conftest.err; then
   2126    grep -v '^ *+' conftest.err >conftest.er1
   2127    cat conftest.er1 >&5
   2128    mv -f conftest.er1 conftest.err
   2129  fi
   2130  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2131  test $ac_status = 0; } > conftest.i && {
   2132	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   2133	 test ! -s conftest.err
   2134       }
   2135then :
   2136  ac_retval=0
   2137else $as_nop
   2138  printf "%s\n" "$as_me: failed program was:" >&5
   2139sed 's/^/| /' conftest.$ac_ext >&5
   2140
   2141    ac_retval=1
   2142fi
   2143  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2144  as_fn_set_status $ac_retval
   2145
   2146} # ac_fn_c_try_cpp
   2147ac_configure_args_raw=
   2148for ac_arg
   2149do
   2150  case $ac_arg in
   2151  *\'*)
   2152    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2153  esac
   2154  as_fn_append ac_configure_args_raw " '$ac_arg'"
   2155done
   2156
   2157case $ac_configure_args_raw in
   2158  *$as_nl*)
   2159    ac_safe_unquote= ;;
   2160  *)
   2161    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2162    ac_unsafe_a="$ac_unsafe_z#~"
   2163    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2164    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2165esac
   2166
   2167cat >config.log <<_ACEOF
   2168This file contains any messages produced by compilers while
   2169running configure, to aid debugging if configure makes a mistake.
   2170
   2171It was created by guacamole-server $as_me 1.5.4, which was
   2172generated by GNU Autoconf 2.71.  Invocation command line was
   2173
   2174  $ $0$ac_configure_args_raw
   2175
   2176_ACEOF
   2177exec 5>>config.log
   2178{
   2179cat <<_ASUNAME
   2180## --------- ##
   2181## Platform. ##
   2182## --------- ##
   2183
   2184hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2185uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2186uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2187uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2188uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2189
   2190/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2191/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2192
   2193/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2194/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2195/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2196/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2197/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2198/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2199/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2200
   2201_ASUNAME
   2202
   2203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2204for as_dir in $PATH
   2205do
   2206  IFS=$as_save_IFS
   2207  case $as_dir in #(((
   2208    '') as_dir=./ ;;
   2209    */) ;;
   2210    *) as_dir=$as_dir/ ;;
   2211  esac
   2212    printf "%s\n" "PATH: $as_dir"
   2213  done
   2214IFS=$as_save_IFS
   2215
   2216} >&5
   2217
   2218cat >&5 <<_ACEOF
   2219
   2220
   2221## ----------- ##
   2222## Core tests. ##
   2223## ----------- ##
   2224
   2225_ACEOF
   2226
   2227
   2228# Keep a trace of the command line.
   2229# Strip out --no-create and --no-recursion so they do not pile up.
   2230# Strip out --silent because we don't want to record it for future runs.
   2231# Also quote any args containing shell meta-characters.
   2232# Make two passes to allow for proper duplicate-argument suppression.
   2233ac_configure_args=
   2234ac_configure_args0=
   2235ac_configure_args1=
   2236ac_must_keep_next=false
   2237for ac_pass in 1 2
   2238do
   2239  for ac_arg
   2240  do
   2241    case $ac_arg in
   2242    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2243    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2244    | -silent | --silent | --silen | --sile | --sil)
   2245      continue ;;
   2246    *\'*)
   2247      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2248    esac
   2249    case $ac_pass in
   2250    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2251    2)
   2252      as_fn_append ac_configure_args1 " '$ac_arg'"
   2253      if test $ac_must_keep_next = true; then
   2254	ac_must_keep_next=false # Got value, back to normal.
   2255      else
   2256	case $ac_arg in
   2257	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2258	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2259	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2260	  | -with-* | --with-* | -without-* | --without-* | --x)
   2261	    case "$ac_configure_args0 " in
   2262	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2263	    esac
   2264	    ;;
   2265	  -* ) ac_must_keep_next=true ;;
   2266	esac
   2267      fi
   2268      as_fn_append ac_configure_args " '$ac_arg'"
   2269      ;;
   2270    esac
   2271  done
   2272done
   2273{ ac_configure_args0=; unset ac_configure_args0;}
   2274{ ac_configure_args1=; unset ac_configure_args1;}
   2275
   2276# When interrupted or exit'd, cleanup temporary files, and complete
   2277# config.log.  We remove comments because anyway the quotes in there
   2278# would cause problems or look ugly.
   2279# WARNING: Use '\'' to represent an apostrophe within the trap.
   2280# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2281trap 'exit_status=$?
   2282  # Sanitize IFS.
   2283  IFS=" ""	$as_nl"
   2284  # Save into config.log some information that might help in debugging.
   2285  {
   2286    echo
   2287
   2288    printf "%s\n" "## ---------------- ##
   2289## Cache variables. ##
   2290## ---------------- ##"
   2291    echo
   2292    # The following way of writing the cache mishandles newlines in values,
   2293(
   2294  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2295    eval ac_val=\$$ac_var
   2296    case $ac_val in #(
   2297    *${as_nl}*)
   2298      case $ac_var in #(
   2299      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2300printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2301      esac
   2302      case $ac_var in #(
   2303      _ | IFS | as_nl) ;; #(
   2304      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2305      *) { eval $ac_var=; unset $ac_var;} ;;
   2306      esac ;;
   2307    esac
   2308  done
   2309  (set) 2>&1 |
   2310    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2311    *${as_nl}ac_space=\ *)
   2312      sed -n \
   2313	"s/'\''/'\''\\\\'\'''\''/g;
   2314	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2315      ;; #(
   2316    *)
   2317      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2318      ;;
   2319    esac |
   2320    sort
   2321)
   2322    echo
   2323
   2324    printf "%s\n" "## ----------------- ##
   2325## Output variables. ##
   2326## ----------------- ##"
   2327    echo
   2328    for ac_var in $ac_subst_vars
   2329    do
   2330      eval ac_val=\$$ac_var
   2331      case $ac_val in
   2332      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2333      esac
   2334      printf "%s\n" "$ac_var='\''$ac_val'\''"
   2335    done | sort
   2336    echo
   2337
   2338    if test -n "$ac_subst_files"; then
   2339      printf "%s\n" "## ------------------- ##
   2340## File substitutions. ##
   2341## ------------------- ##"
   2342      echo
   2343      for ac_var in $ac_subst_files
   2344      do
   2345	eval ac_val=\$$ac_var
   2346	case $ac_val in
   2347	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2348	esac
   2349	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2350      done | sort
   2351      echo
   2352    fi
   2353
   2354    if test -s confdefs.h; then
   2355      printf "%s\n" "## ----------- ##
   2356## confdefs.h. ##
   2357## ----------- ##"
   2358      echo
   2359      cat confdefs.h
   2360      echo
   2361    fi
   2362    test "$ac_signal" != 0 &&
   2363      printf "%s\n" "$as_me: caught signal $ac_signal"
   2364    printf "%s\n" "$as_me: exit $exit_status"
   2365  } >&5
   2366  rm -f core *.core core.conftest.* &&
   2367    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2368    exit $exit_status
   2369' 0
   2370for ac_signal in 1 2 13 15; do
   2371  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2372done
   2373ac_signal=0
   2374
   2375# confdefs.h avoids OS command line length limits that DEFS can exceed.
   2376rm -f -r conftest* confdefs.h
   2377
   2378printf "%s\n" "/* confdefs.h */" > confdefs.h
   2379
   2380# Predefined preprocessor variables.
   2381
   2382printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2383
   2384printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2385
   2386printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2387
   2388printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2389
   2390printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2391
   2392printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2393
   2394
   2395# Let the site file select an alternate cache file if it wants to.
   2396# Prefer an explicitly selected file to automatically selected ones.
   2397if test -n "$CONFIG_SITE"; then
   2398  ac_site_files="$CONFIG_SITE"
   2399elif test "x$prefix" != xNONE; then
   2400  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2401else
   2402  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2403fi
   2404
   2405for ac_site_file in $ac_site_files
   2406do
   2407  case $ac_site_file in #(
   2408  */*) :
   2409     ;; #(
   2410  *) :
   2411    ac_site_file=./$ac_site_file ;;
   2412esac
   2413  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2414    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2415printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2416    sed 's/^/| /' "$ac_site_file" >&5
   2417    . "$ac_site_file" \
   2418      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2419printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2420as_fn_error $? "failed to load site script $ac_site_file
   2421See \`config.log' for more details" "$LINENO" 5; }
   2422  fi
   2423done
   2424
   2425if test -r "$cache_file"; then
   2426  # Some versions of bash will fail to source /dev/null (special files
   2427  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2428  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2429    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2430printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2431    case $cache_file in
   2432      [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2433      *)                      . "./$cache_file";;
   2434    esac
   2435  fi
   2436else
   2437  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2438printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2439  >$cache_file
   2440fi
   2441
   2442# Test code for whether the C compiler supports C89 (global declarations)
   2443ac_c_conftest_c89_globals='
   2444/* Does the compiler advertise C89 conformance?
   2445   Do not test the value of __STDC__, because some compilers set it to 0
   2446   while being otherwise adequately conformant. */
   2447#if !defined __STDC__
   2448# error "Compiler does not advertise C89 conformance"
   2449#endif
   2450
   2451#include <stddef.h>
   2452#include <stdarg.h>
   2453struct stat;
   2454/* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2455struct buf { int x; };
   2456struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2457static char *e (p, i)
   2458     char **p;
   2459     int i;
   2460{
   2461  return p[i];
   2462}
   2463static char *f (char * (*g) (char **, int), char **p, ...)
   2464{
   2465  char *s;
   2466  va_list v;
   2467  va_start (v,p);
   2468  s = g (p, va_arg (v,int));
   2469  va_end (v);
   2470  return s;
   2471}
   2472
   2473/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2474   function prototypes and stuff, but not \xHH hex character constants.
   2475   These do not provoke an error unfortunately, instead are silently treated
   2476   as an "x".  The following induces an error, until -std is added to get
   2477   proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2478   array size at least.  It is necessary to write \x00 == 0 to get something
   2479   that is true only with -std.  */
   2480int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2481
   2482/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2483   inside strings and character constants.  */
   2484#define FOO(x) '\''x'\''
   2485int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2486
   2487int test (int i, double x);
   2488struct s1 {int (*f) (int a);};
   2489struct s2 {int (*f) (double a);};
   2490int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2491               int, int);'
   2492
   2493# Test code for whether the C compiler supports C89 (body of main).
   2494ac_c_conftest_c89_main='
   2495ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2496'
   2497
   2498# Test code for whether the C compiler supports C99 (global declarations)
   2499ac_c_conftest_c99_globals='
   2500// Does the compiler advertise C99 conformance?
   2501#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2502# error "Compiler does not advertise C99 conformance"
   2503#endif
   2504
   2505#include <stdbool.h>
   2506extern int puts (const char *);
   2507extern int printf (const char *, ...);
   2508extern int dprintf (int, const char *, ...);
   2509extern void *malloc (size_t);
   2510
   2511// Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2512// dprintf is used instead of fprintf to avoid needing to declare
   2513// FILE and stderr.
   2514#define debug(...) dprintf (2, __VA_ARGS__)
   2515#define showlist(...) puts (#__VA_ARGS__)
   2516#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2517static void
   2518test_varargs_macros (void)
   2519{
   2520  int x = 1234;
   2521  int y = 5678;
   2522  debug ("Flag");
   2523  debug ("X = %d\n", x);
   2524  showlist (The first, second, and third items.);
   2525  report (x>y, "x is %d but y is %d", x, y);
   2526}
   2527
   2528// Check long long types.
   2529#define BIG64 18446744073709551615ull
   2530#define BIG32 4294967295ul
   2531#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2532#if !BIG_OK
   2533  #error "your preprocessor is broken"
   2534#endif
   2535#if BIG_OK
   2536#else
   2537  #error "your preprocessor is broken"
   2538#endif
   2539static long long int bignum = -9223372036854775807LL;
   2540static unsigned long long int ubignum = BIG64;
   2541
   2542struct incomplete_array
   2543{
   2544  int datasize;
   2545  double data[];
   2546};
   2547
   2548struct named_init {
   2549  int number;
   2550  const wchar_t *name;
   2551  double average;
   2552};
   2553
   2554typedef const char *ccp;
   2555
   2556static inline int
   2557test_restrict (ccp restrict text)
   2558{
   2559  // See if C++-style comments work.
   2560  // Iterate through items via the restricted pointer.
   2561  // Also check for declarations in for loops.
   2562  for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2563    continue;
   2564  return 0;
   2565}
   2566
   2567// Check varargs and va_copy.
   2568static bool
   2569test_varargs (const char *format, ...)
   2570{
   2571  va_list args;
   2572  va_start (args, format);
   2573  va_list args_copy;
   2574  va_copy (args_copy, args);
   2575
   2576  const char *str = "";
   2577  int number = 0;
   2578  float fnumber = 0;
   2579
   2580  while (*format)
   2581    {
   2582      switch (*format++)
   2583	{
   2584	case '\''s'\'': // string
   2585	  str = va_arg (args_copy, const char *);
   2586	  break;
   2587	case '\''d'\'': // int
   2588	  number = va_arg (args_copy, int);
   2589	  break;
   2590	case '\''f'\'': // float
   2591	  fnumber = va_arg (args_copy, double);
   2592	  break;
   2593	default:
   2594	  break;
   2595	}
   2596    }
   2597  va_end (args_copy);
   2598  va_end (args);
   2599
   2600  return *str && number && fnumber;
   2601}
   2602'
   2603
   2604# Test code for whether the C compiler supports C99 (body of main).
   2605ac_c_conftest_c99_main='
   2606  // Check bool.
   2607  _Bool success = false;
   2608  success |= (argc != 0);
   2609
   2610  // Check restrict.
   2611  if (test_restrict ("String literal") == 0)
   2612    success = true;
   2613  char *restrict newvar = "Another string";
   2614
   2615  // Check varargs.
   2616  success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2617  test_varargs_macros ();
   2618
   2619  // Check flexible array members.
   2620  struct incomplete_array *ia =
   2621    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2622  ia->datasize = 10;
   2623  for (int i = 0; i < ia->datasize; ++i)
   2624    ia->data[i] = i * 1.234;
   2625
   2626  // Check named initializers.
   2627  struct named_init ni = {
   2628    .number = 34,
   2629    .name = L"Test wide string",
   2630    .average = 543.34343,
   2631  };
   2632
   2633  ni.number = 58;
   2634
   2635  int dynamic_array[ni.number];
   2636  dynamic_array[0] = argv[0][0];
   2637  dynamic_array[ni.number - 1] = 543;
   2638
   2639  // work around unused variable warnings
   2640  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2641	 || dynamic_array[ni.number - 1] != 543);
   2642'
   2643
   2644# Test code for whether the C compiler supports C11 (global declarations)
   2645ac_c_conftest_c11_globals='
   2646// Does the compiler advertise C11 conformance?
   2647#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2648# error "Compiler does not advertise C11 conformance"
   2649#endif
   2650
   2651// Check _Alignas.
   2652char _Alignas (double) aligned_as_double;
   2653char _Alignas (0) no_special_alignment;
   2654extern char aligned_as_int;
   2655char _Alignas (0) _Alignas (int) aligned_as_int;
   2656
   2657// Check _Alignof.
   2658enum
   2659{
   2660  int_alignment = _Alignof (int),
   2661  int_array_alignment = _Alignof (int[100]),
   2662  char_alignment = _Alignof (char)
   2663};
   2664_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2665
   2666// Check _Noreturn.
   2667int _Noreturn does_not_return (void) { for (;;) continue; }
   2668
   2669// Check _Static_assert.
   2670struct test_static_assert
   2671{
   2672  int x;
   2673  _Static_assert (sizeof (int) <= sizeof (long int),
   2674                  "_Static_assert does not work in struct");
   2675  long int y;
   2676};
   2677
   2678// Check UTF-8 literals.
   2679#define u8 syntax error!
   2680char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2681
   2682// Check duplicate typedefs.
   2683typedef long *long_ptr;
   2684typedef long int *long_ptr;
   2685typedef long_ptr long_ptr;
   2686
   2687// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2688struct anonymous
   2689{
   2690  union {
   2691    struct { int i; int j; };
   2692    struct { int k; long int l; } w;
   2693  };
   2694  int m;
   2695} v1;
   2696'
   2697
   2698# Test code for whether the C compiler supports C11 (body of main).
   2699ac_c_conftest_c11_main='
   2700  _Static_assert ((offsetof (struct anonymous, i)
   2701		   == offsetof (struct anonymous, w.k)),
   2702		  "Anonymous union alignment botch");
   2703  v1.i = 2;
   2704  v1.w.k = 5;
   2705  ok |= v1.i != 5;
   2706'
   2707
   2708# Test code for whether the C compiler supports C11 (complete).
   2709ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2710${ac_c_conftest_c99_globals}
   2711${ac_c_conftest_c11_globals}
   2712
   2713int
   2714main (int argc, char **argv)
   2715{
   2716  int ok = 0;
   2717  ${ac_c_conftest_c89_main}
   2718  ${ac_c_conftest_c99_main}
   2719  ${ac_c_conftest_c11_main}
   2720  return ok;
   2721}
   2722"
   2723
   2724# Test code for whether the C compiler supports C99 (complete).
   2725ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2726${ac_c_conftest_c99_globals}
   2727
   2728int
   2729main (int argc, char **argv)
   2730{
   2731  int ok = 0;
   2732  ${ac_c_conftest_c89_main}
   2733  ${ac_c_conftest_c99_main}
   2734  return ok;
   2735}
   2736"
   2737
   2738# Test code for whether the C compiler supports C89 (complete).
   2739ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2740
   2741int
   2742main (int argc, char **argv)
   2743{
   2744  int ok = 0;
   2745  ${ac_c_conftest_c89_main}
   2746  return ok;
   2747}
   2748"
   2749
   2750as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2751as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2752as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2753as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2754as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2755as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2756as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2757as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2758as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2759
   2760# Auxiliary files required by this configure script.
   2761ac_aux_files="tap-driver.sh compile config.guess config.sub ltmain.sh missing install-sh"
   2762
   2763# Locations in which to look for auxiliary files.
   2764ac_aux_dir_candidates="${srcdir}/build-aux"
   2765
   2766# Search for a directory containing all of the required auxiliary files,
   2767# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2768# If we don't find one directory that contains all the files we need,
   2769# we report the set of missing files from the *first* directory in
   2770# $ac_aux_dir_candidates and give up.
   2771ac_missing_aux_files=""
   2772ac_first_candidate=:
   2773printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2774as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2775as_found=false
   2776for as_dir in $ac_aux_dir_candidates
   2777do
   2778  IFS=$as_save_IFS
   2779  case $as_dir in #(((
   2780    '') as_dir=./ ;;
   2781    */) ;;
   2782    *) as_dir=$as_dir/ ;;
   2783  esac
   2784  as_found=:
   2785
   2786  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2787  ac_aux_dir_found=yes
   2788  ac_install_sh=
   2789  for ac_aux in $ac_aux_files
   2790  do
   2791    # As a special case, if "install-sh" is required, that requirement
   2792    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2793    # and $ac_install_sh is set appropriately for whichever one is found.
   2794    if test x"$ac_aux" = x"install-sh"
   2795    then
   2796      if test -f "${as_dir}install-sh"; then
   2797        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2798        ac_install_sh="${as_dir}install-sh -c"
   2799      elif test -f "${as_dir}install.sh"; then
   2800        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2801        ac_install_sh="${as_dir}install.sh -c"
   2802      elif test -f "${as_dir}shtool"; then
   2803        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2804        ac_install_sh="${as_dir}shtool install -c"
   2805      else
   2806        ac_aux_dir_found=no
   2807        if $ac_first_candidate; then
   2808          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2809        else
   2810          break
   2811        fi
   2812      fi
   2813    else
   2814      if test -f "${as_dir}${ac_aux}"; then
   2815        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2816      else
   2817        ac_aux_dir_found=no
   2818        if $ac_first_candidate; then
   2819          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2820        else
   2821          break
   2822        fi
   2823      fi
   2824    fi
   2825  done
   2826  if test "$ac_aux_dir_found" = yes; then
   2827    ac_aux_dir="$as_dir"
   2828    break
   2829  fi
   2830  ac_first_candidate=false
   2831
   2832  as_found=false
   2833done
   2834IFS=$as_save_IFS
   2835if $as_found
   2836then :
   2837
   2838else $as_nop
   2839  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2840fi
   2841
   2842
   2843# These three variables are undocumented and unsupported,
   2844# and are intended to be withdrawn in a future Autoconf release.
   2845# They can cause serious problems if a builder's source tree is in a directory
   2846# whose full name contains unusual characters.
   2847if test -f "${ac_aux_dir}config.guess"; then
   2848  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2849fi
   2850if test -f "${ac_aux_dir}config.sub"; then
   2851  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2852fi
   2853if test -f "$ac_aux_dir/configure"; then
   2854  ac_configure="$SHELL ${ac_aux_dir}configure"
   2855fi
   2856
   2857# Check that the precious variables saved in the cache have kept the same
   2858# value.
   2859ac_cache_corrupted=false
   2860for ac_var in $ac_precious_vars; do
   2861  eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2862  eval ac_new_set=\$ac_env_${ac_var}_set
   2863  eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2864  eval ac_new_val=\$ac_env_${ac_var}_value
   2865  case $ac_old_set,$ac_new_set in
   2866    set,)
   2867      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2868printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2869      ac_cache_corrupted=: ;;
   2870    ,set)
   2871      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2872printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2873      ac_cache_corrupted=: ;;
   2874    ,);;
   2875    *)
   2876      if test "x$ac_old_val" != "x$ac_new_val"; then
   2877	# differences in whitespace do not lead to failure.
   2878	ac_old_val_w=`echo x $ac_old_val`
   2879	ac_new_val_w=`echo x $ac_new_val`
   2880	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2881	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2882printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2883	  ac_cache_corrupted=:
   2884	else
   2885	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2886printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2887	  eval $ac_var=\$ac_old_val
   2888	fi
   2889	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2890printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2891	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2892printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2893      fi;;
   2894  esac
   2895  # Pass precious variables to config.status.
   2896  if test "$ac_new_set" = set; then
   2897    case $ac_new_val in
   2898    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2899    *) ac_arg=$ac_var=$ac_new_val ;;
   2900    esac
   2901    case " $ac_configure_args " in
   2902      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2903      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2904    esac
   2905  fi
   2906done
   2907if $ac_cache_corrupted; then
   2908  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2909printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2910  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2911printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2912  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2913	    and start over" "$LINENO" 5
   2914fi
   2915## -------------------- ##
   2916## Main body of script. ##
   2917## -------------------- ##
   2918
   2919ac_ext=c
   2920ac_cpp='$CPP $CPPFLAGS'
   2921ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2922ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2923ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2924
   2925
   2926
   2927am__api_version='1.16'
   2928
   2929
   2930
   2931  # Find a good install program.  We prefer a C program (faster),
   2932# so one script is as good as another.  But avoid the broken or
   2933# incompatible versions:
   2934# SysV /etc/install, /usr/sbin/install
   2935# SunOS /usr/etc/install
   2936# IRIX /sbin/install
   2937# AIX /bin/install
   2938# AmigaOS /C/install, which installs bootblocks on floppy discs
   2939# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2940# AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2941# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2942# OS/2's system install, which has a completely different semantic
   2943# ./install, which can be erroneously created by make from ./install.sh.
   2944# Reject install programs that cannot install multiple files.
   2945{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2946printf %s "checking for a BSD-compatible install... " >&6; }
   2947if test -z "$INSTALL"; then
   2948if test ${ac_cv_path_install+y}
   2949then :
   2950  printf %s "(cached) " >&6
   2951else $as_nop
   2952  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2953for as_dir in $PATH
   2954do
   2955  IFS=$as_save_IFS
   2956  case $as_dir in #(((
   2957    '') as_dir=./ ;;
   2958    */) ;;
   2959    *) as_dir=$as_dir/ ;;
   2960  esac
   2961    # Account for fact that we put trailing slashes in our PATH walk.
   2962case $as_dir in #((
   2963  ./ | /[cC]/* | \
   2964  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2965  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2966  /usr/ucb/* ) ;;
   2967  *)
   2968    # OSF1 and SCO ODT 3.0 have their own names for install.
   2969    # Don't use installbsd from OSF since it installs stuff as root
   2970    # by default.
   2971    for ac_prog in ginstall scoinst install; do
   2972      for ac_exec_ext in '' $ac_executable_extensions; do
   2973	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2974	  if test $ac_prog = install &&
   2975	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2976	    # AIX install.  It has an incompatible calling convention.
   2977	    :
   2978	  elif test $ac_prog = install &&
   2979	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2980	    # program-specific install script used by HP pwplus--don't use.
   2981	    :
   2982	  else
   2983	    rm -rf conftest.one conftest.two conftest.dir
   2984	    echo one > conftest.one
   2985	    echo two > conftest.two
   2986	    mkdir conftest.dir
   2987	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2988	      test -s conftest.one && test -s conftest.two &&
   2989	      test -s conftest.dir/conftest.one &&
   2990	      test -s conftest.dir/conftest.two
   2991	    then
   2992	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2993	      break 3
   2994	    fi
   2995	  fi
   2996	fi
   2997      done
   2998    done
   2999    ;;
   3000esac
   3001
   3002  done
   3003IFS=$as_save_IFS
   3004
   3005rm -rf conftest.one conftest.two conftest.dir
   3006
   3007fi
   3008  if test ${ac_cv_path_install+y}; then
   3009    INSTALL=$ac_cv_path_install
   3010  else
   3011    # As a last resort, use the slow shell script.  Don't cache a
   3012    # value for INSTALL within a source directory, because that will
   3013    # break other packages using the cache if that directory is
   3014    # removed, or if the value is a relative name.
   3015    INSTALL=$ac_install_sh
   3016  fi
   3017fi
   3018{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3019printf "%s\n" "$INSTALL" >&6; }
   3020
   3021# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3022# It thinks the first close brace ends the variable substitution.
   3023test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3024
   3025test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3026
   3027test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3028
   3029{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3030printf %s "checking whether build environment is sane... " >&6; }
   3031# Reject unsafe characters in $srcdir or the absolute working directory
   3032# name.  Accept space and tab only in the latter.
   3033am_lf='
   3034'
   3035case `pwd` in
   3036  *[\\\"\#\$\&\'\`$am_lf]*)
   3037    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3038esac
   3039case $srcdir in
   3040  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3041    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3042esac
   3043
   3044# Do 'set' in a subshell so we don't clobber the current shell's
   3045# arguments.  Must try -L first in case configure is actually a
   3046# symlink; some systems play weird games with the mod time of symlinks
   3047# (eg FreeBSD returns the mod time of the symlink's containing
   3048# directory).
   3049if (
   3050   am_has_slept=no
   3051   for am_try in 1 2; do
   3052     echo "timestamp, slept: $am_has_slept" > conftest.file
   3053     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3054     if test "$*" = "X"; then
   3055	# -L didn't work.
   3056	set X `ls -t "$srcdir/configure" conftest.file`
   3057     fi
   3058     if test "$*" != "X $srcdir/configure conftest.file" \
   3059	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3060
   3061	# If neither matched, then we have a broken ls.  This can happen
   3062	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3063	# broken ls alias from the environment.  This has actually
   3064	# happened.  Such a system could not be considered "sane".
   3065	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3066  alias in your environment" "$LINENO" 5
   3067     fi
   3068     if test "$2" = conftest.file || test $am_try -eq 2; then
   3069       break
   3070     fi
   3071     # Just in case.
   3072     sleep 1
   3073     am_has_slept=yes
   3074   done
   3075   test "$2" = conftest.file
   3076   )
   3077then
   3078   # Ok.
   3079   :
   3080else
   3081   as_fn_error $? "newly created file is older than distributed files!
   3082Check your system clock" "$LINENO" 5
   3083fi
   3084{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3085printf "%s\n" "yes" >&6; }
   3086# If we didn't sleep, we still need to ensure time stamps of config.status and
   3087# generated files are strictly newer.
   3088am_sleep_pid=
   3089if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3090  ( sleep 1 ) &
   3091  am_sleep_pid=$!
   3092fi
   3093
   3094rm -f conftest.file
   3095
   3096test "$program_prefix" != NONE &&
   3097  program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3098# Use a double $ so make ignores it.
   3099test "$program_suffix" != NONE &&
   3100  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3101# Double any \ or $.
   3102# By default was `s,x,x', remove it if useless.
   3103ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3104program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3105
   3106
   3107# Expand $ac_aux_dir to an absolute path.
   3108am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3109
   3110
   3111  if test x"${MISSING+set}" != xset; then
   3112  MISSING="\${SHELL} '$am_aux_dir/missing'"
   3113fi
   3114# Use eval to expand $SHELL
   3115if eval "$MISSING --is-lightweight"; then
   3116  am_missing_run="$MISSING "
   3117else
   3118  am_missing_run=
   3119  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3120printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3121fi
   3122
   3123if test x"${install_sh+set}" != xset; then
   3124  case $am_aux_dir in
   3125  *\ * | *\	*)
   3126    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3127  *)
   3128    install_sh="\${SHELL} $am_aux_dir/install-sh"
   3129  esac
   3130fi
   3131
   3132# Installed binaries are usually stripped using 'strip' when the user
   3133# run "make install-strip".  However 'strip' might not be the right
   3134# tool to use in cross-compilation environments, therefore Automake
   3135# will honor the 'STRIP' environment variable to overrule this program.
   3136if test "$cross_compiling" != no; then
   3137  if test -n "$ac_tool_prefix"; then
   3138  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3139set dummy ${ac_tool_prefix}strip; ac_word=$2
   3140{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3141printf %s "checking for $ac_word... " >&6; }
   3142if test ${ac_cv_prog_STRIP+y}
   3143then :
   3144  printf %s "(cached) " >&6
   3145else $as_nop
   3146  if test -n "$STRIP"; then
   3147  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3148else
   3149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3150for as_dir in $PATH
   3151do
   3152  IFS=$as_save_IFS
   3153  case $as_dir in #(((
   3154    '') as_dir=./ ;;
   3155    */) ;;
   3156    *) as_dir=$as_dir/ ;;
   3157  esac
   3158    for ac_exec_ext in '' $ac_executable_extensions; do
   3159  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3160    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3161    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3162    break 2
   3163  fi
   3164done
   3165  done
   3166IFS=$as_save_IFS
   3167
   3168fi
   3169fi
   3170STRIP=$ac_cv_prog_STRIP
   3171if test -n "$STRIP"; then
   3172  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3173printf "%s\n" "$STRIP" >&6; }
   3174else
   3175  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3176printf "%s\n" "no" >&6; }
   3177fi
   3178
   3179
   3180fi
   3181if test -z "$ac_cv_prog_STRIP"; then
   3182  ac_ct_STRIP=$STRIP
   3183  # Extract the first word of "strip", so it can be a program name with args.
   3184set dummy strip; ac_word=$2
   3185{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3186printf %s "checking for $ac_word... " >&6; }
   3187if test ${ac_cv_prog_ac_ct_STRIP+y}
   3188then :
   3189  printf %s "(cached) " >&6
   3190else $as_nop
   3191  if test -n "$ac_ct_STRIP"; then
   3192  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3193else
   3194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3195for as_dir in $PATH
   3196do
   3197  IFS=$as_save_IFS
   3198  case $as_dir in #(((
   3199    '') as_dir=./ ;;
   3200    */) ;;
   3201    *) as_dir=$as_dir/ ;;
   3202  esac
   3203    for ac_exec_ext in '' $ac_executable_extensions; do
   3204  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3205    ac_cv_prog_ac_ct_STRIP="strip"
   3206    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3207    break 2
   3208  fi
   3209done
   3210  done
   3211IFS=$as_save_IFS
   3212
   3213fi
   3214fi
   3215ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3216if test -n "$ac_ct_STRIP"; then
   3217  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3218printf "%s\n" "$ac_ct_STRIP" >&6; }
   3219else
   3220  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3221printf "%s\n" "no" >&6; }
   3222fi
   3223
   3224  if test "x$ac_ct_STRIP" = x; then
   3225    STRIP=":"
   3226  else
   3227    case $cross_compiling:$ac_tool_warned in
   3228yes:)
   3229{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3230printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3231ac_tool_warned=yes ;;
   3232esac
   3233    STRIP=$ac_ct_STRIP
   3234  fi
   3235else
   3236  STRIP="$ac_cv_prog_STRIP"
   3237fi
   3238
   3239fi
   3240INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3241
   3242
   3243  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3244printf %s "checking for a race-free mkdir -p... " >&6; }
   3245if test -z "$MKDIR_P"; then
   3246  if test ${ac_cv_path_mkdir+y}
   3247then :
   3248  printf %s "(cached) " >&6
   3249else $as_nop
   3250  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3251for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3252do
   3253  IFS=$as_save_IFS
   3254  case $as_dir in #(((
   3255    '') as_dir=./ ;;
   3256    */) ;;
   3257    *) as_dir=$as_dir/ ;;
   3258  esac
   3259    for ac_prog in mkdir gmkdir; do
   3260	 for ac_exec_ext in '' $ac_executable_extensions; do
   3261	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3262	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3263	     'mkdir ('*'coreutils) '* | \
   3264	     'BusyBox '* | \
   3265	     'mkdir (fileutils) '4.1*)
   3266	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3267	       break 3;;
   3268	   esac
   3269	 done
   3270       done
   3271  done
   3272IFS=$as_save_IFS
   3273
   3274fi
   3275
   3276  test -d ./--version && rmdir ./--version
   3277  if test ${ac_cv_path_mkdir+y}; then
   3278    MKDIR_P="$ac_cv_path_mkdir -p"
   3279  else
   3280    # As a last resort, use the slow shell script.  Don't cache a
   3281    # value for MKDIR_P within a source directory, because that will
   3282    # break other packages using the cache if that directory is
   3283    # removed, or if the value is a relative name.
   3284    MKDIR_P="$ac_install_sh -d"
   3285  fi
   3286fi
   3287{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3288printf "%s\n" "$MKDIR_P" >&6; }
   3289
   3290for ac_prog in gawk mawk nawk awk
   3291do
   3292  # Extract the first word of "$ac_prog", so it can be a program name with args.
   3293set dummy $ac_prog; ac_word=$2
   3294{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3295printf %s "checking for $ac_word... " >&6; }
   3296if test ${ac_cv_prog_AWK+y}
   3297then :
   3298  printf %s "(cached) " >&6
   3299else $as_nop
   3300  if test -n "$AWK"; then
   3301  ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3302else
   3303as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3304for as_dir in $PATH
   3305do
   3306  IFS=$as_save_IFS
   3307  case $as_dir in #(((
   3308    '') as_dir=./ ;;
   3309    */) ;;
   3310    *) as_dir=$as_dir/ ;;
   3311  esac
   3312    for ac_exec_ext in '' $ac_executable_extensions; do
   3313  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3314    ac_cv_prog_AWK="$ac_prog"
   3315    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3316    break 2
   3317  fi
   3318done
   3319  done
   3320IFS=$as_save_IFS
   3321
   3322fi
   3323fi
   3324AWK=$ac_cv_prog_AWK
   3325if test -n "$AWK"; then
   3326  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3327printf "%s\n" "$AWK" >&6; }
   3328else
   3329  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3330printf "%s\n" "no" >&6; }
   3331fi
   3332
   3333
   3334  test -n "$AWK" && break
   3335done
   3336
   3337{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3338printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3339set x ${MAKE-make}
   3340ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3341if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3342then :
   3343  printf %s "(cached) " >&6
   3344else $as_nop
   3345  cat >conftest.make <<\_ACEOF
   3346SHELL = /bin/sh
   3347all:
   3348	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3349_ACEOF
   3350# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3351case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3352  *@@@%%%=?*=@@@%%%*)
   3353    eval ac_cv_prog_make_${ac_make}_set=yes;;
   3354  *)
   3355    eval ac_cv_prog_make_${ac_make}_set=no;;
   3356esac
   3357rm -f conftest.make
   3358fi
   3359if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3360  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3361printf "%s\n" "yes" >&6; }
   3362  SET_MAKE=
   3363else
   3364  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3365printf "%s\n" "no" >&6; }
   3366  SET_MAKE="MAKE=${MAKE-make}"
   3367fi
   3368
   3369rm -rf .tst 2>/dev/null
   3370mkdir .tst 2>/dev/null
   3371if test -d .tst; then
   3372  am__leading_dot=.
   3373else
   3374  am__leading_dot=_
   3375fi
   3376rmdir .tst 2>/dev/null
   3377
   3378# Check whether --enable-silent-rules was given.
   3379if test ${enable_silent_rules+y}
   3380then :
   3381  enableval=$enable_silent_rules;
   3382fi
   3383
   3384case $enable_silent_rules in # (((
   3385  yes) AM_DEFAULT_VERBOSITY=0;;
   3386   no) AM_DEFAULT_VERBOSITY=1;;
   3387    *) AM_DEFAULT_VERBOSITY=1;;
   3388esac
   3389am_make=${MAKE-make}
   3390{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3391printf %s "checking whether $am_make supports nested variables... " >&6; }
   3392if test ${am_cv_make_support_nested_variables+y}
   3393then :
   3394  printf %s "(cached) " >&6
   3395else $as_nop
   3396  if printf "%s\n" 'TRUE=$(BAR$(V))
   3397BAR0=false
   3398BAR1=true
   3399V=1
   3400am__doit:
   3401	@$(TRUE)
   3402.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3403  am_cv_make_support_nested_variables=yes
   3404else
   3405  am_cv_make_support_nested_variables=no
   3406fi
   3407fi
   3408{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3409printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3410if test $am_cv_make_support_nested_variables = yes; then
   3411    AM_V='$(V)'
   3412  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3413else
   3414  AM_V=$AM_DEFAULT_VERBOSITY
   3415  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3416fi
   3417AM_BACKSLASH='\'
   3418
   3419if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3420  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3421  # is not polluted with repeated "-I."
   3422  am__isrc=' -I$(srcdir)'
   3423  # test to see if srcdir already configured
   3424  if test -f $srcdir/config.status; then
   3425    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3426  fi
   3427fi
   3428
   3429# test whether we have cygpath
   3430if test -z "$CYGPATH_W"; then
   3431  if (cygpath --version) >/dev/null 2>/dev/null; then
   3432    CYGPATH_W='cygpath -w'
   3433  else
   3434    CYGPATH_W=echo
   3435  fi
   3436fi
   3437
   3438
   3439# Define the identity of the package.
   3440 PACKAGE='guacamole-server'
   3441 VERSION='1.5.4'
   3442
   3443
   3444printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3445
   3446
   3447printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3448
   3449# Some tools Automake needs.
   3450
   3451ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3452
   3453
   3454AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3455
   3456
   3457AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3458
   3459
   3460AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3461
   3462
   3463MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3464
   3465# For better backward compatibility.  To be removed once Automake 1.9.x
   3466# dies out for good.  For more background, see:
   3467# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3468# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3469mkdir_p='$(MKDIR_P)'
   3470
   3471# We need awk for the "check" target (and possibly the TAP driver).  The
   3472# system "awk" is bad on some platforms.
   3473# Always define AMTAR for backward compatibility.  Yes, it's still used
   3474# in the wild :-(  We should find a proper way to deprecate it ...
   3475AMTAR='$${TAR-tar}'
   3476
   3477
   3478# We'll loop over all known methods to create a tar archive until one works.
   3479_am_tools='gnutar  pax cpio none'
   3480
   3481am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3482
   3483
   3484
   3485
   3486
   3487# Variables for tags utilities; see am/tags.am
   3488if test -z "$CTAGS"; then
   3489  CTAGS=ctags
   3490fi
   3491
   3492if test -z "$ETAGS"; then
   3493  ETAGS=etags
   3494fi
   3495
   3496if test -z "$CSCOPE"; then
   3497  CSCOPE=cscope
   3498fi
   3499
   3500
   3501
   3502# POSIX will say in a future version that running "rm -f" with no argument
   3503# is OK; and we want to be able to make that assumption in our Makefile
   3504# recipes.  So use an aggressive probe to check that the usage we want is
   3505# actually supported "in the wild" to an acceptable degree.
   3506# See automake bug#10828.
   3507# To make any issue more visible, cause the running configure to be aborted
   3508# by default if the 'rm' program in use doesn't match our expectations; the
   3509# user can still override this though.
   3510if rm -f && rm -fr && rm -rf; then : OK; else
   3511  cat >&2 <<'END'
   3512Oops!
   3513
   3514Your 'rm' program seems unable to run without file operands specified
   3515on the command line, even when the '-f' option is present.  This is contrary
   3516to the behaviour of most rm programs out there, and not conforming with
   3517the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3518
   3519Please tell bug-automake@gnu.org about your system, including the value
   3520of your $PATH and any error possibly output before this message.  This
   3521can help us improve future automake versions.
   3522
   3523END
   3524  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3525    echo 'Configuration will proceed anyway, since you have set the' >&2
   3526    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3527    echo >&2
   3528  else
   3529    cat >&2 <<'END'
   3530Aborting the configuration process, to ensure you take notice of the issue.
   3531
   3532You can download and install GNU coreutils to get an 'rm' implementation
   3533that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3534
   3535If you want to complete the configuration process using your problematic
   3536'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3537to "yes", and re-run configure.
   3538
   3539END
   3540    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3541  fi
   3542fi
   3543
   3544# Check whether --enable-silent-rules was given.
   3545if test ${enable_silent_rules+y}
   3546then :
   3547  enableval=$enable_silent_rules;
   3548fi
   3549
   3550case $enable_silent_rules in # (((
   3551  yes) AM_DEFAULT_VERBOSITY=0;;
   3552   no) AM_DEFAULT_VERBOSITY=1;;
   3553    *) AM_DEFAULT_VERBOSITY=0;;
   3554esac
   3555am_make=${MAKE-make}
   3556{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3557printf %s "checking whether $am_make supports nested variables... " >&6; }
   3558if test ${am_cv_make_support_nested_variables+y}
   3559then :
   3560  printf %s "(cached) " >&6
   3561else $as_nop
   3562  if printf "%s\n" 'TRUE=$(BAR$(V))
   3563BAR0=false
   3564BAR1=true
   3565V=1
   3566am__doit:
   3567	@$(TRUE)
   3568.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3569  am_cv_make_support_nested_variables=yes
   3570else
   3571  am_cv_make_support_nested_variables=no
   3572fi
   3573fi
   3574{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3575printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3576if test $am_cv_make_support_nested_variables = yes; then
   3577    AM_V='$(V)'
   3578  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3579else
   3580  AM_V=$AM_DEFAULT_VERBOSITY
   3581  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3582fi
   3583AM_BACKSLASH='\'
   3584
   3585
   3586
   3587case `pwd` in
   3588  *\ * | *\	*)
   3589    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3590printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3591esac
   3592
   3593
   3594
   3595macro_version='2.4.7'
   3596macro_revision='2.4.7'
   3597
   3598
   3599
   3600
   3601
   3602
   3603
   3604
   3605
   3606
   3607
   3608
   3609
   3610
   3611ltmain=$ac_aux_dir/ltmain.sh
   3612
   3613
   3614
   3615  # Make sure we can run config.sub.
   3616$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3617  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3618
   3619{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3620printf %s "checking build system type... " >&6; }
   3621if test ${ac_cv_build+y}
   3622then :
   3623  printf %s "(cached) " >&6
   3624else $as_nop
   3625  ac_build_alias=$build_alias
   3626test "x$ac_build_alias" = x &&
   3627  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3628test "x$ac_build_alias" = x &&
   3629  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3630ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3631  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3632
   3633fi
   3634{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3635printf "%s\n" "$ac_cv_build" >&6; }
   3636case $ac_cv_build in
   3637*-*-*) ;;
   3638*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3639esac
   3640build=$ac_cv_build
   3641ac_save_IFS=$IFS; IFS='-'
   3642set x $ac_cv_build
   3643shift
   3644build_cpu=$1
   3645build_vendor=$2
   3646shift; shift
   3647# Remember, the first character of IFS is used to create $*,
   3648# except with old shells:
   3649build_os=$*
   3650IFS=$ac_save_IFS
   3651case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3652
   3653
   3654{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3655printf %s "checking host system type... " >&6; }
   3656if test ${ac_cv_host+y}
   3657then :
   3658  printf %s "(cached) " >&6
   3659else $as_nop
   3660  if test "x$host_alias" = x; then
   3661  ac_cv_host=$ac_cv_build
   3662else
   3663  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3664    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3665fi
   3666
   3667fi
   3668{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3669printf "%s\n" "$ac_cv_host" >&6; }
   3670case $ac_cv_host in
   3671*-*-*) ;;
   3672*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3673esac
   3674host=$ac_cv_host
   3675ac_save_IFS=$IFS; IFS='-'
   3676set x $ac_cv_host
   3677shift
   3678host_cpu=$1
   3679host_vendor=$2
   3680shift; shift
   3681# Remember, the first character of IFS is used to create $*,
   3682# except with old shells:
   3683host_os=$*
   3684IFS=$ac_save_IFS
   3685case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3686
   3687
   3688# Backslashify metacharacters that are still active within
   3689# double-quoted strings.
   3690sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3691
   3692# Same as above, but do not quote variable references.
   3693double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3694
   3695# Sed substitution to delay expansion of an escaped shell variable in a
   3696# double_quote_subst'ed string.
   3697delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3698
   3699# Sed substitution to delay expansion of an escaped single quote.
   3700delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3701
   3702# Sed substitution to avoid accidental globbing in evaled expressions
   3703no_glob_subst='s/\*/\\\*/g'
   3704
   3705ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3706ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3707ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3708
   3709{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3710printf %s "checking how to print strings... " >&6; }
   3711# Test print first, because it will be a builtin if present.
   3712if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3713   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3714  ECHO='print -r --'
   3715elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3716  ECHO='printf %s\n'
   3717else
   3718  # Use this function as a fallback that always works.
   3719  func_fallback_echo ()
   3720  {
   3721    eval 'cat <<_LTECHO_EOF
   3722$1
   3723_LTECHO_EOF'
   3724  }
   3725  ECHO='func_fallback_echo'
   3726fi
   3727
   3728# func_echo_all arg...
   3729# Invoke $ECHO with all args, space-separated.
   3730func_echo_all ()
   3731{
   3732    $ECHO ""
   3733}
   3734
   3735case $ECHO in
   3736  printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3737printf "%s\n" "printf" >&6; } ;;
   3738  print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3739printf "%s\n" "print -r" >&6; } ;;
   3740  *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3741printf "%s\n" "cat" >&6; } ;;
   3742esac
   3743
   3744
   3745
   3746
   3747
   3748
   3749
   3750
   3751
   3752
   3753
   3754
   3755
   3756
   3757
   3758
   3759
   3760
   3761
   3762
   3763
   3764
   3765
   3766DEPDIR="${am__leading_dot}deps"
   3767
   3768ac_config_commands="$ac_config_commands depfiles"
   3769
   3770{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3771printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3772cat > confinc.mk << 'END'
   3773am__doit:
   3774	@echo this is the am__doit target >confinc.out
   3775.PHONY: am__doit
   3776END
   3777am__include="#"
   3778am__quote=
   3779# BSD make does it like this.
   3780echo '.include "confinc.mk" # ignored' > confmf.BSD
   3781# Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3782echo 'include confinc.mk # ignored' > confmf.GNU
   3783_am_result=no
   3784for s in GNU BSD; do
   3785  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3786   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3787   ac_status=$?
   3788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3789   (exit $ac_status); }
   3790  case $?:`cat confinc.out 2>/dev/null` in #(
   3791  '0:this is the am__doit target') :
   3792    case $s in #(
   3793  BSD) :
   3794    am__include='.include' am__quote='"' ;; #(
   3795  *) :
   3796    am__include='include' am__quote='' ;;
   3797esac ;; #(
   3798  *) :
   3799     ;;
   3800esac
   3801  if test "$am__include" != "#"; then
   3802    _am_result="yes ($s style)"
   3803    break
   3804  fi
   3805done
   3806rm -f confinc.* confmf.*
   3807{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3808printf "%s\n" "${_am_result}" >&6; }
   3809
   3810# Check whether --enable-dependency-tracking was given.
   3811if test ${enable_dependency_tracking+y}
   3812then :
   3813  enableval=$enable_dependency_tracking;
   3814fi
   3815
   3816if test "x$enable_dependency_tracking" != xno; then
   3817  am_depcomp="$ac_aux_dir/depcomp"
   3818  AMDEPBACKSLASH='\'
   3819  am__nodep='_no'
   3820fi
   3821 if test "x$enable_dependency_tracking" != xno; then
   3822  AMDEP_TRUE=
   3823  AMDEP_FALSE='#'
   3824else
   3825  AMDEP_TRUE='#'
   3826  AMDEP_FALSE=
   3827fi
   3828
   3829
   3830ac_ext=c
   3831ac_cpp='$CPP $CPPFLAGS'
   3832ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3833ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3834ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3835if test -n "$ac_tool_prefix"; then
   3836  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3837set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3838{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3839printf %s "checking for $ac_word... " >&6; }
   3840if test ${ac_cv_prog_CC+y}
   3841then :
   3842  printf %s "(cached) " >&6
   3843else $as_nop
   3844  if test -n "$CC"; then
   3845  ac_cv_prog_CC="$CC" # Let the user override the test.
   3846else
   3847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3848for as_dir in $PATH
   3849do
   3850  IFS=$as_save_IFS
   3851  case $as_dir in #(((
   3852    '') as_dir=./ ;;
   3853    */) ;;
   3854    *) as_dir=$as_dir/ ;;
   3855  esac
   3856    for ac_exec_ext in '' $ac_executable_extensions; do
   3857  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3858    ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3859    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3860    break 2
   3861  fi
   3862done
   3863  done
   3864IFS=$as_save_IFS
   3865
   3866fi
   3867fi
   3868CC=$ac_cv_prog_CC
   3869if test -n "$CC"; then
   3870  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3871printf "%s\n" "$CC" >&6; }
   3872else
   3873  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3874printf "%s\n" "no" >&6; }
   3875fi
   3876
   3877
   3878fi
   3879if test -z "$ac_cv_prog_CC"; then
   3880  ac_ct_CC=$CC
   3881  # Extract the first word of "gcc", so it can be a program name with args.
   3882set dummy gcc; ac_word=$2
   3883{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3884printf %s "checking for $ac_word... " >&6; }
   3885if test ${ac_cv_prog_ac_ct_CC+y}
   3886then :
   3887  printf %s "(cached) " >&6
   3888else $as_nop
   3889  if test -n "$ac_ct_CC"; then
   3890  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3891else
   3892as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3893for as_dir in $PATH
   3894do
   3895  IFS=$as_save_IFS
   3896  case $as_dir in #(((
   3897    '') as_dir=./ ;;
   3898    */) ;;
   3899    *) as_dir=$as_dir/ ;;
   3900  esac
   3901    for ac_exec_ext in '' $ac_executable_extensions; do
   3902  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3903    ac_cv_prog_ac_ct_CC="gcc"
   3904    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3905    break 2
   3906  fi
   3907done
   3908  done
   3909IFS=$as_save_IFS
   3910
   3911fi
   3912fi
   3913ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3914if test -n "$ac_ct_CC"; then
   3915  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3916printf "%s\n" "$ac_ct_CC" >&6; }
   3917else
   3918  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3919printf "%s\n" "no" >&6; }
   3920fi
   3921
   3922  if test "x$ac_ct_CC" = x; then
   3923    CC=""
   3924  else
   3925    case $cross_compiling:$ac_tool_warned in
   3926yes:)
   3927{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3928printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3929ac_tool_warned=yes ;;
   3930esac
   3931    CC=$ac_ct_CC
   3932  fi
   3933else
   3934  CC="$ac_cv_prog_CC"
   3935fi
   3936
   3937if test -z "$CC"; then
   3938          if test -n "$ac_tool_prefix"; then
   3939    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3940set dummy ${ac_tool_prefix}cc; ac_word=$2
   3941{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3942printf %s "checking for $ac_word... " >&6; }
   3943if test ${ac_cv_prog_CC+y}
   3944then :
   3945  printf %s "(cached) " >&6
   3946else $as_nop
   3947  if test -n "$CC"; then
   3948  ac_cv_prog_CC="$CC" # Let the user override the test.
   3949else
   3950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3951for as_dir in $PATH
   3952do
   3953  IFS=$as_save_IFS
   3954  case $as_dir in #(((
   3955    '') as_dir=./ ;;
   3956    */) ;;
   3957    *) as_dir=$as_dir/ ;;
   3958  esac
   3959    for ac_exec_ext in '' $ac_executable_extensions; do
   3960  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3961    ac_cv_prog_CC="${ac_tool_prefix}cc"
   3962    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3963    break 2
   3964  fi
   3965done
   3966  done
   3967IFS=$as_save_IFS
   3968
   3969fi
   3970fi
   3971CC=$ac_cv_prog_CC
   3972if test -n "$CC"; then
   3973  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3974printf "%s\n" "$CC" >&6; }
   3975else
   3976  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3977printf "%s\n" "no" >&6; }
   3978fi
   3979
   3980
   3981  fi
   3982fi
   3983if test -z "$CC"; then
   3984  # Extract the first word of "cc", so it can be a program name with args.
   3985set dummy cc; ac_word=$2
   3986{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3987printf %s "checking for $ac_word... " >&6; }
   3988if test ${ac_cv_prog_CC+y}
   3989then :
   3990  printf %s "(cached) " >&6
   3991else $as_nop
   3992  if test -n "$CC"; then
   3993  ac_cv_prog_CC="$CC" # Let the user override the test.
   3994else
   3995  ac_prog_rejected=no
   3996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3997for as_dir in $PATH
   3998do
   3999  IFS=$as_save_IFS
   4000  case $as_dir in #(((
   4001    '') as_dir=./ ;;
   4002    */) ;;
   4003    *) as_dir=$as_dir/ ;;
   4004  esac
   4005    for ac_exec_ext in '' $ac_executable_extensions; do
   4006  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4007    if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4008       ac_prog_rejected=yes
   4009       continue
   4010     fi
   4011    ac_cv_prog_CC="cc"
   4012    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4013    break 2
   4014  fi
   4015done
   4016  done
   4017IFS=$as_save_IFS
   4018
   4019if test $ac_prog_rejected = yes; then
   4020  # We found a bogon in the path, so make sure we never use it.
   4021  set dummy $ac_cv_prog_CC
   4022  shift
   4023  if test $# != 0; then
   4024    # We chose a different compiler from the bogus one.
   4025    # However, it has the same basename, so the bogon will be chosen
   4026    # first if we set CC to just the basename; use the full file name.
   4027    shift
   4028    ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4029  fi
   4030fi
   4031fi
   4032fi
   4033CC=$ac_cv_prog_CC
   4034if test -n "$CC"; then
   4035  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4036printf "%s\n" "$CC" >&6; }
   4037else
   4038  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4039printf "%s\n" "no" >&6; }
   4040fi
   4041
   4042
   4043fi
   4044if test -z "$CC"; then
   4045  if test -n "$ac_tool_prefix"; then
   4046  for ac_prog in cl.exe
   4047  do
   4048    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4049set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4050{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4051printf %s "checking for $ac_word... " >&6; }
   4052if test ${ac_cv_prog_CC+y}
   4053then :
   4054  printf %s "(cached) " >&6
   4055else $as_nop
   4056  if test -n "$CC"; then
   4057  ac_cv_prog_CC="$CC" # Let the user override the test.
   4058else
   4059as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4060for as_dir in $PATH
   4061do
   4062  IFS=$as_save_IFS
   4063  case $as_dir in #(((
   4064    '') as_dir=./ ;;
   4065    */) ;;
   4066    *) as_dir=$as_dir/ ;;
   4067  esac
   4068    for ac_exec_ext in '' $ac_executable_extensions; do
   4069  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4070    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4071    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4072    break 2
   4073  fi
   4074done
   4075  done
   4076IFS=$as_save_IFS
   4077
   4078fi
   4079fi
   4080CC=$ac_cv_prog_CC
   4081if test -n "$CC"; then
   4082  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4083printf "%s\n" "$CC" >&6; }
   4084else
   4085  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4086printf "%s\n" "no" >&6; }
   4087fi
   4088
   4089
   4090    test -n "$CC" && break
   4091  done
   4092fi
   4093if test -z "$CC"; then
   4094  ac_ct_CC=$CC
   4095  for ac_prog in cl.exe
   4096do
   4097  # Extract the first word of "$ac_prog", so it can be a program name with args.
   4098set dummy $ac_prog; ac_word=$2
   4099{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4100printf %s "checking for $ac_word... " >&6; }
   4101if test ${ac_cv_prog_ac_ct_CC+y}
   4102then :
   4103  printf %s "(cached) " >&6
   4104else $as_nop
   4105  if test -n "$ac_ct_CC"; then
   4106  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4107else
   4108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4109for as_dir in $PATH
   4110do
   4111  IFS=$as_save_IFS
   4112  case $as_dir in #(((
   4113    '') as_dir=./ ;;
   4114    */) ;;
   4115    *) as_dir=$as_dir/ ;;
   4116  esac
   4117    for ac_exec_ext in '' $ac_executable_extensions; do
   4118  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4119    ac_cv_prog_ac_ct_CC="$ac_prog"
   4120    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4121    break 2
   4122  fi
   4123done
   4124  done
   4125IFS=$as_save_IFS
   4126
   4127fi
   4128fi
   4129ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4130if test -n "$ac_ct_CC"; then
   4131  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4132printf "%s\n" "$ac_ct_CC" >&6; }
   4133else
   4134  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4135printf "%s\n" "no" >&6; }
   4136fi
   4137
   4138
   4139  test -n "$ac_ct_CC" && break
   4140done
   4141
   4142  if test "x$ac_ct_CC" = x; then
   4143    CC=""
   4144  else
   4145    case $cross_compiling:$ac_tool_warned in
   4146yes:)
   4147{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4148printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4149ac_tool_warned=yes ;;
   4150esac
   4151    CC=$ac_ct_CC
   4152  fi
   4153fi
   4154
   4155fi
   4156if test -z "$CC"; then
   4157  if test -n "$ac_tool_prefix"; then
   4158  # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4159set dummy ${ac_tool_prefix}clang; ac_word=$2
   4160{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4161printf %s "checking for $ac_word... " >&6; }
   4162if test ${ac_cv_prog_CC+y}
   4163then :
   4164  printf %s "(cached) " >&6
   4165else $as_nop
   4166  if test -n "$CC"; then
   4167  ac_cv_prog_CC="$CC" # Let the user override the test.
   4168else
   4169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4170for as_dir in $PATH
   4171do
   4172  IFS=$as_save_IFS
   4173  case $as_dir in #(((
   4174    '') as_dir=./ ;;
   4175    */) ;;
   4176    *) as_dir=$as_dir/ ;;
   4177  esac
   4178    for ac_exec_ext in '' $ac_executable_extensions; do
   4179  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4180    ac_cv_prog_CC="${ac_tool_prefix}clang"
   4181    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4182    break 2
   4183  fi
   4184done
   4185  done
   4186IFS=$as_save_IFS
   4187
   4188fi
   4189fi
   4190CC=$ac_cv_prog_CC
   4191if test -n "$CC"; then
   4192  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4193printf "%s\n" "$CC" >&6; }
   4194else
   4195  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4196printf "%s\n" "no" >&6; }
   4197fi
   4198
   4199
   4200fi
   4201if test -z "$ac_cv_prog_CC"; then
   4202  ac_ct_CC=$CC
   4203  # Extract the first word of "clang", so it can be a program name with args.
   4204set dummy clang; ac_word=$2
   4205{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4206printf %s "checking for $ac_word... " >&6; }
   4207if test ${ac_cv_prog_ac_ct_CC+y}
   4208then :
   4209  printf %s "(cached) " >&6
   4210else $as_nop
   4211  if test -n "$ac_ct_CC"; then
   4212  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4213else
   4214as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4215for as_dir in $PATH
   4216do
   4217  IFS=$as_save_IFS
   4218  case $as_dir in #(((
   4219    '') as_dir=./ ;;
   4220    */) ;;
   4221    *) as_dir=$as_dir/ ;;
   4222  esac
   4223    for ac_exec_ext in '' $ac_executable_extensions; do
   4224  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4225    ac_cv_prog_ac_ct_CC="clang"
   4226    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4227    break 2
   4228  fi
   4229done
   4230  done
   4231IFS=$as_save_IFS
   4232
   4233fi
   4234fi
   4235ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4236if test -n "$ac_ct_CC"; then
   4237  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4238printf "%s\n" "$ac_ct_CC" >&6; }
   4239else
   4240  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4241printf "%s\n" "no" >&6; }
   4242fi
   4243
   4244  if test "x$ac_ct_CC" = x; then
   4245    CC=""
   4246  else
   4247    case $cross_compiling:$ac_tool_warned in
   4248yes:)
   4249{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4250printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4251ac_tool_warned=yes ;;
   4252esac
   4253    CC=$ac_ct_CC
   4254  fi
   4255else
   4256  CC="$ac_cv_prog_CC"
   4257fi
   4258
   4259fi
   4260
   4261
   4262test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4263printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4264as_fn_error $? "no acceptable C compiler found in \$PATH
   4265See \`config.log' for more details" "$LINENO" 5; }
   4266
   4267# Provide some information about the compiler.
   4268printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4269set X $ac_compile
   4270ac_compiler=$2
   4271for ac_option in --version -v -V -qversion -version; do
   4272  { { ac_try="$ac_compiler $ac_option >&5"
   4273case "(($ac_try" in
   4274  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4275  *) ac_try_echo=$ac_try;;
   4276esac
   4277eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4278printf "%s\n" "$ac_try_echo"; } >&5
   4279  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4280  ac_status=$?
   4281  if test -s conftest.err; then
   4282    sed '10a\
   4283... rest of stderr output deleted ...
   4284         10q' conftest.err >conftest.er1
   4285    cat conftest.er1 >&5
   4286  fi
   4287  rm -f conftest.er1 conftest.err
   4288  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4289  test $ac_status = 0; }
   4290done
   4291
   4292cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4293/* end confdefs.h.  */
   4294
   4295int
   4296main (void)
   4297{
   4298
   4299  ;
   4300  return 0;
   4301}
   4302_ACEOF
   4303ac_clean_files_save=$ac_clean_files
   4304ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4305# Try to create an executable without -o first, disregard a.out.
   4306# It will help us diagnose broken compilers, and finding out an intuition
   4307# of exeext.
   4308{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4309printf %s "checking whether the C compiler works... " >&6; }
   4310ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4311
   4312# The possible output files:
   4313ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4314
   4315ac_rmfiles=
   4316for ac_file in $ac_files
   4317do
   4318  case $ac_file in
   4319    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4320    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4321  esac
   4322done
   4323rm -f $ac_rmfiles
   4324
   4325if { { ac_try="$ac_link_default"
   4326case "(($ac_try" in
   4327  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4328  *) ac_try_echo=$ac_try;;
   4329esac
   4330eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4331printf "%s\n" "$ac_try_echo"; } >&5
   4332  (eval "$ac_link_default") 2>&5
   4333  ac_status=$?
   4334  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4335  test $ac_status = 0; }
   4336then :
   4337  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4338# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4339# in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4340# so that the user can short-circuit this test for compilers unknown to
   4341# Autoconf.
   4342for ac_file in $ac_files ''
   4343do
   4344  test -f "$ac_file" || continue
   4345  case $ac_file in
   4346    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4347	;;
   4348    [ab].out )
   4349	# We found the default executable, but exeext='' is most
   4350	# certainly right.
   4351	break;;
   4352    *.* )
   4353	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4354	then :; else
   4355	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4356	fi
   4357	# We set ac_cv_exeext here because the later test for it is not
   4358	# safe: cross compilers may not add the suffix if given an `-o'
   4359	# argument, so we may need to know it at that point already.
   4360	# Even if this section looks crufty: it has the advantage of
   4361	# actually working.
   4362	break;;
   4363    * )
   4364	break;;
   4365  esac
   4366done
   4367test "$ac_cv_exeext" = no && ac_cv_exeext=
   4368
   4369else $as_nop
   4370  ac_file=''
   4371fi
   4372if test -z "$ac_file"
   4373then :
   4374  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4375printf "%s\n" "no" >&6; }
   4376printf "%s\n" "$as_me: failed program was:" >&5
   4377sed 's/^/| /' conftest.$ac_ext >&5
   4378
   4379{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4380printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4381as_fn_error 77 "C compiler cannot create executables
   4382See \`config.log' for more details" "$LINENO" 5; }
   4383else $as_nop
   4384  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4385printf "%s\n" "yes" >&6; }
   4386fi
   4387{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4388printf %s "checking for C compiler default output file name... " >&6; }
   4389{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4390printf "%s\n" "$ac_file" >&6; }
   4391ac_exeext=$ac_cv_exeext
   4392
   4393rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4394ac_clean_files=$ac_clean_files_save
   4395{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4396printf %s "checking for suffix of executables... " >&6; }
   4397if { { ac_try="$ac_link"
   4398case "(($ac_try" in
   4399  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4400  *) ac_try_echo=$ac_try;;
   4401esac
   4402eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4403printf "%s\n" "$ac_try_echo"; } >&5
   4404  (eval "$ac_link") 2>&5
   4405  ac_status=$?
   4406  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4407  test $ac_status = 0; }
   4408then :
   4409  # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4410# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4411# work properly (i.e., refer to `conftest.exe'), while it won't with
   4412# `rm'.
   4413for ac_file in conftest.exe conftest conftest.*; do
   4414  test -f "$ac_file" || continue
   4415  case $ac_file in
   4416    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4417    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4418	  break;;
   4419    * ) break;;
   4420  esac
   4421done
   4422else $as_nop
   4423  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4424printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4425as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4426See \`config.log' for more details" "$LINENO" 5; }
   4427fi
   4428rm -f conftest conftest$ac_cv_exeext
   4429{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4430printf "%s\n" "$ac_cv_exeext" >&6; }
   4431
   4432rm -f conftest.$ac_ext
   4433EXEEXT=$ac_cv_exeext
   4434ac_exeext=$EXEEXT
   4435cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4436/* end confdefs.h.  */
   4437#include <stdio.h>
   4438int
   4439main (void)
   4440{
   4441FILE *f = fopen ("conftest.out", "w");
   4442 return ferror (f) || fclose (f) != 0;
   4443
   4444  ;
   4445  return 0;
   4446}
   4447_ACEOF
   4448ac_clean_files="$ac_clean_files conftest.out"
   4449# Check that the compiler produces executables we can run.  If not, either
   4450# the compiler is broken, or we cross compile.
   4451{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4452printf %s "checking whether we are cross compiling... " >&6; }
   4453if test "$cross_compiling" != yes; then
   4454  { { ac_try="$ac_link"
   4455case "(($ac_try" in
   4456  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4457  *) ac_try_echo=$ac_try;;
   4458esac
   4459eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4460printf "%s\n" "$ac_try_echo"; } >&5
   4461  (eval "$ac_link") 2>&5
   4462  ac_status=$?
   4463  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4464  test $ac_status = 0; }
   4465  if { ac_try='./conftest$ac_cv_exeext'
   4466  { { case "(($ac_try" in
   4467  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4468  *) ac_try_echo=$ac_try;;
   4469esac
   4470eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4471printf "%s\n" "$ac_try_echo"; } >&5
   4472  (eval "$ac_try") 2>&5
   4473  ac_status=$?
   4474  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4475  test $ac_status = 0; }; }; then
   4476    cross_compiling=no
   4477  else
   4478    if test "$cross_compiling" = maybe; then
   4479	cross_compiling=yes
   4480    else
   4481	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4482printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4483as_fn_error 77 "cannot run C compiled programs.
   4484If you meant to cross compile, use \`--host'.
   4485See \`config.log' for more details" "$LINENO" 5; }
   4486    fi
   4487  fi
   4488fi
   4489{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4490printf "%s\n" "$cross_compiling" >&6; }
   4491
   4492rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4493ac_clean_files=$ac_clean_files_save
   4494{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4495printf %s "checking for suffix of object files... " >&6; }
   4496if test ${ac_cv_objext+y}
   4497then :
   4498  printf %s "(cached) " >&6
   4499else $as_nop
   4500  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4501/* end confdefs.h.  */
   4502
   4503int
   4504main (void)
   4505{
   4506
   4507  ;
   4508  return 0;
   4509}
   4510_ACEOF
   4511rm -f conftest.o conftest.obj
   4512if { { ac_try="$ac_compile"
   4513case "(($ac_try" in
   4514  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4515  *) ac_try_echo=$ac_try;;
   4516esac
   4517eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4518printf "%s\n" "$ac_try_echo"; } >&5
   4519  (eval "$ac_compile") 2>&5
   4520  ac_status=$?
   4521  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4522  test $ac_status = 0; }
   4523then :
   4524  for ac_file in conftest.o conftest.obj conftest.*; do
   4525  test -f "$ac_file" || continue;
   4526  case $ac_file in
   4527    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4528    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4529       break;;
   4530  esac
   4531done
   4532else $as_nop
   4533  printf "%s\n" "$as_me: failed program was:" >&5
   4534sed 's/^/| /' conftest.$ac_ext >&5
   4535
   4536{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4537printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4538as_fn_error $? "cannot compute suffix of object files: cannot compile
   4539See \`config.log' for more details" "$LINENO" 5; }
   4540fi
   4541rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4542fi
   4543{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4544printf "%s\n" "$ac_cv_objext" >&6; }
   4545OBJEXT=$ac_cv_objext
   4546ac_objext=$OBJEXT
   4547{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4548printf %s "checking whether the compiler supports GNU C... " >&6; }
   4549if test ${ac_cv_c_compiler_gnu+y}
   4550then :
   4551  printf %s "(cached) " >&6
   4552else $as_nop
   4553  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4554/* end confdefs.h.  */
   4555
   4556int
   4557main (void)
   4558{
   4559#ifndef __GNUC__
   4560       choke me
   4561#endif
   4562
   4563  ;
   4564  return 0;
   4565}
   4566_ACEOF
   4567if ac_fn_c_try_compile "$LINENO"
   4568then :
   4569  ac_compiler_gnu=yes
   4570else $as_nop
   4571  ac_compiler_gnu=no
   4572fi
   4573rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4574ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4575
   4576fi
   4577{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4578printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4579ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4580
   4581if test $ac_compiler_gnu = yes; then
   4582  GCC=yes
   4583else
   4584  GCC=
   4585fi
   4586ac_test_CFLAGS=${CFLAGS+y}
   4587ac_save_CFLAGS=$CFLAGS
   4588{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4589printf %s "checking whether $CC accepts -g... " >&6; }
   4590if test ${ac_cv_prog_cc_g+y}
   4591then :
   4592  printf %s "(cached) " >&6
   4593else $as_nop
   4594  ac_save_c_werror_flag=$ac_c_werror_flag
   4595   ac_c_werror_flag=yes
   4596   ac_cv_prog_cc_g=no
   4597   CFLAGS="-g"
   4598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4599/* end confdefs.h.  */
   4600
   4601int
   4602main (void)
   4603{
   4604
   4605  ;
   4606  return 0;
   4607}
   4608_ACEOF
   4609if ac_fn_c_try_compile "$LINENO"
   4610then :
   4611  ac_cv_prog_cc_g=yes
   4612else $as_nop
   4613  CFLAGS=""
   4614      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4615/* end confdefs.h.  */
   4616
   4617int
   4618main (void)
   4619{
   4620
   4621  ;
   4622  return 0;
   4623}
   4624_ACEOF
   4625if ac_fn_c_try_compile "$LINENO"
   4626then :
   4627
   4628else $as_nop
   4629  ac_c_werror_flag=$ac_save_c_werror_flag
   4630	 CFLAGS="-g"
   4631	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4632/* end confdefs.h.  */
   4633
   4634int
   4635main (void)
   4636{
   4637
   4638  ;
   4639  return 0;
   4640}
   4641_ACEOF
   4642if ac_fn_c_try_compile "$LINENO"
   4643then :
   4644  ac_cv_prog_cc_g=yes
   4645fi
   4646rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4647fi
   4648rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4649fi
   4650rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4651   ac_c_werror_flag=$ac_save_c_werror_flag
   4652fi
   4653{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4654printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4655if test $ac_test_CFLAGS; then
   4656  CFLAGS=$ac_save_CFLAGS
   4657elif test $ac_cv_prog_cc_g = yes; then
   4658  if test "$GCC" = yes; then
   4659    CFLAGS="-g -O2"
   4660  else
   4661    CFLAGS="-g"
   4662  fi
   4663else
   4664  if test "$GCC" = yes; then
   4665    CFLAGS="-O2"
   4666  else
   4667    CFLAGS=
   4668  fi
   4669fi
   4670ac_prog_cc_stdc=no
   4671if test x$ac_prog_cc_stdc = xno
   4672then :
   4673  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4674printf %s "checking for $CC option to enable C11 features... " >&6; }
   4675if test ${ac_cv_prog_cc_c11+y}
   4676then :
   4677  printf %s "(cached) " >&6
   4678else $as_nop
   4679  ac_cv_prog_cc_c11=no
   4680ac_save_CC=$CC
   4681cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4682/* end confdefs.h.  */
   4683$ac_c_conftest_c11_program
   4684_ACEOF
   4685for ac_arg in '' -std=gnu11
   4686do
   4687  CC="$ac_save_CC $ac_arg"
   4688  if ac_fn_c_try_compile "$LINENO"
   4689then :
   4690  ac_cv_prog_cc_c11=$ac_arg
   4691fi
   4692rm -f core conftest.err conftest.$ac_objext conftest.beam
   4693  test "x$ac_cv_prog_cc_c11" != "xno" && break
   4694done
   4695rm -f conftest.$ac_ext
   4696CC=$ac_save_CC
   4697fi
   4698
   4699if test "x$ac_cv_prog_cc_c11" = xno
   4700then :
   4701  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4702printf "%s\n" "unsupported" >&6; }
   4703else $as_nop
   4704  if test "x$ac_cv_prog_cc_c11" = x
   4705then :
   4706  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4707printf "%s\n" "none needed" >&6; }
   4708else $as_nop
   4709  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4710printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4711     CC="$CC $ac_cv_prog_cc_c11"
   4712fi
   4713  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4714  ac_prog_cc_stdc=c11
   4715fi
   4716fi
   4717if test x$ac_prog_cc_stdc = xno
   4718then :
   4719  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4720printf %s "checking for $CC option to enable C99 features... " >&6; }
   4721if test ${ac_cv_prog_cc_c99+y}
   4722then :
   4723  printf %s "(cached) " >&6
   4724else $as_nop
   4725  ac_cv_prog_cc_c99=no
   4726ac_save_CC=$CC
   4727cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4728/* end confdefs.h.  */
   4729$ac_c_conftest_c99_program
   4730_ACEOF
   4731for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4732do
   4733  CC="$ac_save_CC $ac_arg"
   4734  if ac_fn_c_try_compile "$LINENO"
   4735then :
   4736  ac_cv_prog_cc_c99=$ac_arg
   4737fi
   4738rm -f core conftest.err conftest.$ac_objext conftest.beam
   4739  test "x$ac_cv_prog_cc_c99" != "xno" && break
   4740done
   4741rm -f conftest.$ac_ext
   4742CC=$ac_save_CC
   4743fi
   4744
   4745if test "x$ac_cv_prog_cc_c99" = xno
   4746then :
   4747  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4748printf "%s\n" "unsupported" >&6; }
   4749else $as_nop
   4750  if test "x$ac_cv_prog_cc_c99" = x
   4751then :
   4752  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4753printf "%s\n" "none needed" >&6; }
   4754else $as_nop
   4755  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4756printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4757     CC="$CC $ac_cv_prog_cc_c99"
   4758fi
   4759  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4760  ac_prog_cc_stdc=c99
   4761fi
   4762fi
   4763if test x$ac_prog_cc_stdc = xno
   4764then :
   4765  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4766printf %s "checking for $CC option to enable C89 features... " >&6; }
   4767if test ${ac_cv_prog_cc_c89+y}
   4768then :
   4769  printf %s "(cached) " >&6
   4770else $as_nop
   4771  ac_cv_prog_cc_c89=no
   4772ac_save_CC=$CC
   4773cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4774/* end confdefs.h.  */
   4775$ac_c_conftest_c89_program
   4776_ACEOF
   4777for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4778do
   4779  CC="$ac_save_CC $ac_arg"
   4780  if ac_fn_c_try_compile "$LINENO"
   4781then :
   4782  ac_cv_prog_cc_c89=$ac_arg
   4783fi
   4784rm -f core conftest.err conftest.$ac_objext conftest.beam
   4785  test "x$ac_cv_prog_cc_c89" != "xno" && break
   4786done
   4787rm -f conftest.$ac_ext
   4788CC=$ac_save_CC
   4789fi
   4790
   4791if test "x$ac_cv_prog_cc_c89" = xno
   4792then :
   4793  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4794printf "%s\n" "unsupported" >&6; }
   4795else $as_nop
   4796  if test "x$ac_cv_prog_cc_c89" = x
   4797then :
   4798  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4799printf "%s\n" "none needed" >&6; }
   4800else $as_nop
   4801  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4802printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4803     CC="$CC $ac_cv_prog_cc_c89"
   4804fi
   4805  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4806  ac_prog_cc_stdc=c89
   4807fi
   4808fi
   4809
   4810ac_ext=c
   4811ac_cpp='$CPP $CPPFLAGS'
   4812ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4813ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4814ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4815
   4816
   4817  ac_ext=c
   4818ac_cpp='$CPP $CPPFLAGS'
   4819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4821ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4822{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4823printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4824if test ${am_cv_prog_cc_c_o+y}
   4825then :
   4826  printf %s "(cached) " >&6
   4827else $as_nop
   4828  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4829/* end confdefs.h.  */
   4830
   4831int
   4832main (void)
   4833{
   4834
   4835  ;
   4836  return 0;
   4837}
   4838_ACEOF
   4839  # Make sure it works both with $CC and with simple cc.
   4840  # Following AC_PROG_CC_C_O, we do the test twice because some
   4841  # compilers refuse to overwrite an existing .o file with -o,
   4842  # though they will create one.
   4843  am_cv_prog_cc_c_o=yes
   4844  for am_i in 1 2; do
   4845    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4846   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4847   ac_status=$?
   4848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4849   (exit $ac_status); } \
   4850         && test -f conftest2.$ac_objext; then
   4851      : OK
   4852    else
   4853      am_cv_prog_cc_c_o=no
   4854      break
   4855    fi
   4856  done
   4857  rm -f core conftest*
   4858  unset am_i
   4859fi
   4860{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4861printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4862if test "$am_cv_prog_cc_c_o" != yes; then
   4863   # Losing compiler, so override with the script.
   4864   # FIXME: It is wrong to rewrite CC.
   4865   # But if we don't then we get into trouble of one sort or another.
   4866   # A longer-term fix would be to have automake use am__CC in this case,
   4867   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4868   CC="$am_aux_dir/compile $CC"
   4869fi
   4870ac_ext=c
   4871ac_cpp='$CPP $CPPFLAGS'
   4872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4874ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4875
   4876
   4877depcc="$CC"   am_compiler_list=
   4878
   4879{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4880printf %s "checking dependency style of $depcc... " >&6; }
   4881if test ${am_cv_CC_dependencies_compiler_type+y}
   4882then :
   4883  printf %s "(cached) " >&6
   4884else $as_nop
   4885  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4886  # We make a subdir and do the tests there.  Otherwise we can end up
   4887  # making bogus files that we don't know about and never remove.  For
   4888  # instance it was reported that on HP-UX the gcc test will end up
   4889  # making a dummy file named 'D' -- because '-MD' means "put the output
   4890  # in D".
   4891  rm -rf conftest.dir
   4892  mkdir conftest.dir
   4893  # Copy depcomp to subdir because otherwise we won't find it if we're
   4894  # using a relative directory.
   4895  cp "$am_depcomp" conftest.dir
   4896  cd conftest.dir
   4897  # We will build objects and dependencies in a subdirectory because
   4898  # it helps to detect inapplicable dependency modes.  For instance
   4899  # both Tru64's cc and ICC support -MD to output dependencies as a
   4900  # side effect of compilation, but ICC will put the dependencies in
   4901  # the current directory while Tru64 will put them in the object
   4902  # directory.
   4903  mkdir sub
   4904
   4905  am_cv_CC_dependencies_compiler_type=none
   4906  if test "$am_compiler_list" = ""; then
   4907     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4908  fi
   4909  am__universal=false
   4910  case " $depcc " in #(
   4911     *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4912     esac
   4913
   4914  for depmode in $am_compiler_list; do
   4915    # Setup a source with many dependencies, because some compilers
   4916    # like to wrap large dependency lists on column 80 (with \), and
   4917    # we should not choose a depcomp mode which is confused by this.
   4918    #
   4919    # We need to recreate these files for each test, as the compiler may
   4920    # overwrite some of them when testing with obscure command lines.
   4921    # This happens at least with the AIX C compiler.
   4922    : > sub/conftest.c
   4923    for i in 1 2 3 4 5 6; do
   4924      echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4925      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4926      # Solaris 10 /bin/sh.
   4927      echo '/* dummy */' > sub/conftst$i.h
   4928    done
   4929    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4930
   4931    # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4932    # mode.  It turns out that the SunPro C++ compiler does not properly
   4933    # handle '-M -o', and we need to detect this.  Also, some Intel
   4934    # versions had trouble with output in subdirs.
   4935    am__obj=sub/conftest.${OBJEXT-o}
   4936    am__minus_obj="-o $am__obj"
   4937    case $depmode in
   4938    gcc)
   4939      # This depmode causes a compiler race in universal mode.
   4940      test "$am__universal" = false || continue
   4941      ;;
   4942    nosideeffect)
   4943      # After this tag, mechanisms are not by side-effect, so they'll
   4944      # only be used when explicitly requested.
   4945      if test "x$enable_dependency_tracking" = xyes; then
   4946	continue
   4947      else
   4948	break
   4949      fi
   4950      ;;
   4951    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4952      # This compiler won't grok '-c -o', but also, the minuso test has
   4953      # not run yet.  These depmodes are late enough in the game, and
   4954      # so weak that their functioning should not be impacted.
   4955      am__obj=conftest.${OBJEXT-o}
   4956      am__minus_obj=
   4957      ;;
   4958    none) break ;;
   4959    esac
   4960    if depmode=$depmode \
   4961       source=sub/conftest.c object=$am__obj \
   4962       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4963       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4964         >/dev/null 2>conftest.err &&
   4965       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4966       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4967       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4968       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4969      # icc doesn't choke on unknown options, it will just issue warnings
   4970      # or remarks (even with -Werror).  So we grep stderr for any message
   4971      # that says an option was ignored or not supported.
   4972      # When given -MP, icc 7.0 and 7.1 complain thusly:
   4973      #   icc: Command line warning: ignoring option '-M'; no argument required
   4974      # The diagnosis changed in icc 8.0:
   4975      #   icc: Command line remark: option '-MP' not supported
   4976      if (grep 'ignoring option' conftest.err ||
   4977          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4978        am_cv_CC_dependencies_compiler_type=$depmode
   4979        break
   4980      fi
   4981    fi
   4982  done
   4983
   4984  cd ..
   4985  rm -rf conftest.dir
   4986else
   4987  am_cv_CC_dependencies_compiler_type=none
   4988fi
   4989
   4990fi
   4991{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4992printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4993CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4994
   4995 if
   4996  test "x$enable_dependency_tracking" != xno \
   4997  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4998  am__fastdepCC_TRUE=
   4999  am__fastdepCC_FALSE='#'
   5000else
   5001  am__fastdepCC_TRUE='#'
   5002  am__fastdepCC_FALSE=
   5003fi
   5004
   5005
   5006{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5007printf %s "checking for a sed that does not truncate output... " >&6; }
   5008if test ${ac_cv_path_SED+y}
   5009then :
   5010  printf %s "(cached) " >&6
   5011else $as_nop
   5012            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5013     for ac_i in 1 2 3 4 5 6 7; do
   5014       ac_script="$ac_script$as_nl$ac_script"
   5015     done
   5016     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5017     { ac_script=; unset ac_script;}
   5018     if test -z "$SED"; then
   5019  ac_path_SED_found=false
   5020  # Loop through the user's path and test for each of PROGNAME-LIST
   5021  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5022for as_dir in $PATH
   5023do
   5024  IFS=$as_save_IFS
   5025  case $as_dir in #(((
   5026    '') as_dir=./ ;;
   5027    */) ;;
   5028    *) as_dir=$as_dir/ ;;
   5029  esac
   5030    for ac_prog in sed gsed
   5031   do
   5032    for ac_exec_ext in '' $ac_executable_extensions; do
   5033      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5034      as_fn_executable_p "$ac_path_SED" || continue
   5035# Check for GNU ac_path_SED and select it if it is found.
   5036  # Check for GNU $ac_path_SED
   5037case `"$ac_path_SED" --version 2>&1` in
   5038*GNU*)
   5039  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5040*)
   5041  ac_count=0
   5042  printf %s 0123456789 >"conftest.in"
   5043  while :
   5044  do
   5045    cat "conftest.in" "conftest.in" >"conftest.tmp"
   5046    mv "conftest.tmp" "conftest.in"
   5047    cp "conftest.in" "conftest.nl"
   5048    printf "%s\n" '' >> "conftest.nl"
   5049    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5050    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5051    as_fn_arith $ac_count + 1 && ac_count=$as_val
   5052    if test $ac_count -gt ${ac_path_SED_max-0}; then
   5053      # Best one so far, save it but keep looking for a better one
   5054      ac_cv_path_SED="$ac_path_SED"
   5055      ac_path_SED_max=$ac_count
   5056    fi
   5057    # 10*(2^10) chars as input seems more than enough
   5058    test $ac_count -gt 10 && break
   5059  done
   5060  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5061esac
   5062
   5063      $ac_path_SED_found && break 3
   5064    done
   5065  done
   5066  done
   5067IFS=$as_save_IFS
   5068  if test -z "$ac_cv_path_SED"; then
   5069    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5070  fi
   5071else
   5072  ac_cv_path_SED=$SED
   5073fi
   5074
   5075fi
   5076{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5077printf "%s\n" "$ac_cv_path_SED" >&6; }
   5078 SED="$ac_cv_path_SED"
   5079  rm -f conftest.sed
   5080
   5081test -z "$SED" && SED=sed
   5082Xsed="$SED -e 1s/^X//"
   5083
   5084
   5085
   5086
   5087
   5088
   5089
   5090
   5091
   5092
   5093
   5094{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5095printf %s "checking for grep that handles long lines and -e... " >&6; }
   5096if test ${ac_cv_path_GREP+y}
   5097then :
   5098  printf %s "(cached) " >&6
   5099else $as_nop
   5100  if test -z "$GREP"; then
   5101  ac_path_GREP_found=false
   5102  # Loop through the user's path and test for each of PROGNAME-LIST
   5103  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5104for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5105do
   5106  IFS=$as_save_IFS
   5107  case $as_dir in #(((
   5108    '') as_dir=./ ;;
   5109    */) ;;
   5110    *) as_dir=$as_dir/ ;;
   5111  esac
   5112    for ac_prog in grep ggrep
   5113   do
   5114    for ac_exec_ext in '' $ac_executable_extensions; do
   5115      ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5116      as_fn_executable_p "$ac_path_GREP" || continue
   5117# Check for GNU ac_path_GREP and select it if it is found.
   5118  # Check for GNU $ac_path_GREP
   5119case `"$ac_path_GREP" --version 2>&1` in
   5120*GNU*)
   5121  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5122*)
   5123  ac_count=0
   5124  printf %s 0123456789 >"conftest.in"
   5125  while :
   5126  do
   5127    cat "conftest.in" "conftest.in" >"conftest.tmp"
   5128    mv "conftest.tmp" "conftest.in"
   5129    cp "conftest.in" "conftest.nl"
   5130    printf "%s\n" 'GREP' >> "conftest.nl"
   5131    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5132    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5133    as_fn_arith $ac_count + 1 && ac_count=$as_val
   5134    if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5135      # Best one so far, save it but keep looking for a better one
   5136      ac_cv_path_GREP="$ac_path_GREP"
   5137      ac_path_GREP_max=$ac_count
   5138    fi
   5139    # 10*(2^10) chars as input seems more than enough
   5140    test $ac_count -gt 10 && break
   5141  done
   5142  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5143esac
   5144
   5145      $ac_path_GREP_found && break 3
   5146    done
   5147  done
   5148  done
   5149IFS=$as_save_IFS
   5150  if test -z "$ac_cv_path_GREP"; then
   5151    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5152  fi
   5153else
   5154  ac_cv_path_GREP=$GREP
   5155fi
   5156
   5157fi
   5158{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5159printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5160 GREP="$ac_cv_path_GREP"
   5161
   5162
   5163{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5164printf %s "checking for egrep... " >&6; }
   5165if test ${ac_cv_path_EGREP+y}
   5166then :
   5167  printf %s "(cached) " >&6
   5168else $as_nop
   5169  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5170   then ac_cv_path_EGREP="$GREP -E"
   5171   else
   5172     if test -z "$EGREP"; then
   5173  ac_path_EGREP_found=false
   5174  # Loop through the user's path and test for each of PROGNAME-LIST
   5175  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5176for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5177do
   5178  IFS=$as_save_IFS
   5179  case $as_dir in #(((
   5180    '') as_dir=./ ;;
   5181    */) ;;
   5182    *) as_dir=$as_dir/ ;;
   5183  esac
   5184    for ac_prog in egrep
   5185   do
   5186    for ac_exec_ext in '' $ac_executable_extensions; do
   5187      ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5188      as_fn_executable_p "$ac_path_EGREP" || continue
   5189# Check for GNU ac_path_EGREP and select it if it is found.
   5190  # Check for GNU $ac_path_EGREP
   5191case `"$ac_path_EGREP" --version 2>&1` in
   5192*GNU*)
   5193  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5194*)
   5195  ac_count=0
   5196  printf %s 0123456789 >"conftest.in"
   5197  while :
   5198  do
   5199    cat "conftest.in" "conftest.in" >"conftest.tmp"
   5200    mv "conftest.tmp" "conftest.in"
   5201    cp "conftest.in" "conftest.nl"
   5202    printf "%s\n" 'EGREP' >> "conftest.nl"
   5203    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5204    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5205    as_fn_arith $ac_count + 1 && ac_count=$as_val
   5206    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5207      # Best one so far, save it but keep looking for a better one
   5208      ac_cv_path_EGREP="$ac_path_EGREP"
   5209      ac_path_EGREP_max=$ac_count
   5210    fi
   5211    # 10*(2^10) chars as input seems more than enough
   5212    test $ac_count -gt 10 && break
   5213  done
   5214  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5215esac
   5216
   5217      $ac_path_EGREP_found && break 3
   5218    done
   5219  done
   5220  done
   5221IFS=$as_save_IFS
   5222  if test -z "$ac_cv_path_EGREP"; then
   5223    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5224  fi
   5225else
   5226  ac_cv_path_EGREP=$EGREP
   5227fi
   5228
   5229   fi
   5230fi
   5231{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5232printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5233 EGREP="$ac_cv_path_EGREP"
   5234
   5235
   5236{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5237printf %s "checking for fgrep... " >&6; }
   5238if test ${ac_cv_path_FGREP+y}
   5239then :
   5240  printf %s "(cached) " >&6
   5241else $as_nop
   5242  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5243   then ac_cv_path_FGREP="$GREP -F"
   5244   else
   5245     if test -z "$FGREP"; then
   5246  ac_path_FGREP_found=false
   5247  # Loop through the user's path and test for each of PROGNAME-LIST
   5248  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5249for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5250do
   5251  IFS=$as_save_IFS
   5252  case $as_dir in #(((
   5253    '') as_dir=./ ;;
   5254    */) ;;
   5255    *) as_dir=$as_dir/ ;;
   5256  esac
   5257    for ac_prog in fgrep
   5258   do
   5259    for ac_exec_ext in '' $ac_executable_extensions; do
   5260      ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5261      as_fn_executable_p "$ac_path_FGREP" || continue
   5262# Check for GNU ac_path_FGREP and select it if it is found.
   5263  # Check for GNU $ac_path_FGREP
   5264case `"$ac_path_FGREP" --version 2>&1` in
   5265*GNU*)
   5266  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5267*)
   5268  ac_count=0
   5269  printf %s 0123456789 >"conftest.in"
   5270  while :
   5271  do
   5272    cat "conftest.in" "conftest.in" >"conftest.tmp"
   5273    mv "conftest.tmp" "conftest.in"
   5274    cp "conftest.in" "conftest.nl"
   5275    printf "%s\n" 'FGREP' >> "conftest.nl"
   5276    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5277    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5278    as_fn_arith $ac_count + 1 && ac_count=$as_val
   5279    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5280      # Best one so far, save it but keep looking for a better one
   5281      ac_cv_path_FGREP="$ac_path_FGREP"
   5282      ac_path_FGREP_max=$ac_count
   5283    fi
   5284    # 10*(2^10) chars as input seems more than enough
   5285    test $ac_count -gt 10 && break
   5286  done
   5287  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5288esac
   5289
   5290      $ac_path_FGREP_found && break 3
   5291    done
   5292  done
   5293  done
   5294IFS=$as_save_IFS
   5295  if test -z "$ac_cv_path_FGREP"; then
   5296    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5297  fi
   5298else
   5299  ac_cv_path_FGREP=$FGREP
   5300fi
   5301
   5302   fi
   5303fi
   5304{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5305printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5306 FGREP="$ac_cv_path_FGREP"
   5307
   5308
   5309test -z "$GREP" && GREP=grep
   5310
   5311
   5312
   5313
   5314
   5315
   5316
   5317
   5318
   5319
   5320
   5321
   5322
   5323
   5324
   5325
   5326
   5327
   5328
   5329# Check whether --with-gnu-ld was given.
   5330if test ${with_gnu_ld+y}
   5331then :
   5332  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5333else $as_nop
   5334  with_gnu_ld=no
   5335fi
   5336
   5337ac_prog=ld
   5338if test yes = "$GCC"; then
   5339  # Check if gcc -print-prog-name=ld gives a path.
   5340  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5341printf %s "checking for ld used by $CC... " >&6; }
   5342  case $host in
   5343  *-*-mingw*)
   5344    # gcc leaves a trailing carriage return, which upsets mingw
   5345    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5346  *)
   5347    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5348  esac
   5349  case $ac_prog in
   5350    # Accept absolute paths.
   5351    [\\/]* | ?:[\\/]*)
   5352      re_direlt='/[^/][^/]*/\.\./'
   5353      # Canonicalize the pathname of ld
   5354      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5355      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5356	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5357      done
   5358      test -z "$LD" && LD=$ac_prog
   5359      ;;
   5360  "")
   5361    # If it fails, then pretend we aren't using GCC.
   5362    ac_prog=ld
   5363    ;;
   5364  *)
   5365    # If it is relative, then search for the first ld in PATH.
   5366    with_gnu_ld=unknown
   5367    ;;
   5368  esac
   5369elif test yes = "$with_gnu_ld"; then
   5370  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5371printf %s "checking for GNU ld... " >&6; }
   5372else
   5373  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5374printf %s "checking for non-GNU ld... " >&6; }
   5375fi
   5376if test ${lt_cv_path_LD+y}
   5377then :
   5378  printf %s "(cached) " >&6
   5379else $as_nop
   5380  if test -z "$LD"; then
   5381  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5382  for ac_dir in $PATH; do
   5383    IFS=$lt_save_ifs
   5384    test -z "$ac_dir" && ac_dir=.
   5385    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5386      lt_cv_path_LD=$ac_dir/$ac_prog
   5387      # Check to see if the program is GNU ld.  I'd rather use --version,
   5388      # but apparently some variants of GNU ld only accept -v.
   5389      # Break only if it was the GNU/non-GNU ld that we prefer.
   5390      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5391      *GNU* | *'with BFD'*)
   5392	test no != "$with_gnu_ld" && break
   5393	;;
   5394      *)
   5395	test yes != "$with_gnu_ld" && break
   5396	;;
   5397      esac
   5398    fi
   5399  done
   5400  IFS=$lt_save_ifs
   5401else
   5402  lt_cv_path_LD=$LD # Let the user override the test with a path.
   5403fi
   5404fi
   5405
   5406LD=$lt_cv_path_LD
   5407if test -n "$LD"; then
   5408  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5409printf "%s\n" "$LD" >&6; }
   5410else
   5411  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5412printf "%s\n" "no" >&6; }
   5413fi
   5414test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5415{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5416printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5417if test ${lt_cv_prog_gnu_ld+y}
   5418then :
   5419  printf %s "(cached) " >&6
   5420else $as_nop
   5421  # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5422case `$LD -v 2>&1 </dev/null` in
   5423*GNU* | *'with BFD'*)
   5424  lt_cv_prog_gnu_ld=yes
   5425  ;;
   5426*)
   5427  lt_cv_prog_gnu_ld=no
   5428  ;;
   5429esac
   5430fi
   5431{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5432printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5433with_gnu_ld=$lt_cv_prog_gnu_ld
   5434
   5435
   5436
   5437
   5438
   5439
   5440
   5441
   5442
   5443{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5444printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5445if test ${lt_cv_path_NM+y}
   5446then :
   5447  printf %s "(cached) " >&6
   5448else $as_nop
   5449  if test -n "$NM"; then
   5450  # Let the user override the test.
   5451  lt_cv_path_NM=$NM
   5452else
   5453  lt_nm_to_check=${ac_tool_prefix}nm
   5454  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5455    lt_nm_to_check="$lt_nm_to_check nm"
   5456  fi
   5457  for lt_tmp_nm in $lt_nm_to_check; do
   5458    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5459    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5460      IFS=$lt_save_ifs
   5461      test -z "$ac_dir" && ac_dir=.
   5462      tmp_nm=$ac_dir/$lt_tmp_nm
   5463      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5464	# Check to see if the nm accepts a BSD-compat flag.
   5465	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5466	#   nm: unknown option "B" ignored
   5467	# Tru64's nm complains that /dev/null is an invalid object file
   5468	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5469	case $build_os in
   5470	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5471	*) lt_bad_file=/dev/null ;;
   5472	esac
   5473	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5474	*$lt_bad_file* | *'Invalid file or object type'*)
   5475	  lt_cv_path_NM="$tmp_nm -B"
   5476	  break 2
   5477	  ;;
   5478	*)
   5479	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5480	  */dev/null*)
   5481	    lt_cv_path_NM="$tmp_nm -p"
   5482	    break 2
   5483	    ;;
   5484	  *)
   5485	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5486	    continue # so that we can try to find one that supports BSD flags
   5487	    ;;
   5488	  esac
   5489	  ;;
   5490	esac
   5491      fi
   5492    done
   5493    IFS=$lt_save_ifs
   5494  done
   5495  : ${lt_cv_path_NM=no}
   5496fi
   5497fi
   5498{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5499printf "%s\n" "$lt_cv_path_NM" >&6; }
   5500if test no != "$lt_cv_path_NM"; then
   5501  NM=$lt_cv_path_NM
   5502else
   5503  # Didn't find any BSD compatible name lister, look for dumpbin.
   5504  if test -n "$DUMPBIN"; then :
   5505    # Let the user override the test.
   5506  else
   5507    if test -n "$ac_tool_prefix"; then
   5508  for ac_prog in dumpbin "link -dump"
   5509  do
   5510    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5511set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5512{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5513printf %s "checking for $ac_word... " >&6; }
   5514if test ${ac_cv_prog_DUMPBIN+y}
   5515then :
   5516  printf %s "(cached) " >&6
   5517else $as_nop
   5518  if test -n "$DUMPBIN"; then
   5519  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5520else
   5521as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5522for as_dir in $PATH
   5523do
   5524  IFS=$as_save_IFS
   5525  case $as_dir in #(((
   5526    '') as_dir=./ ;;
   5527    */) ;;
   5528    *) as_dir=$as_dir/ ;;
   5529  esac
   5530    for ac_exec_ext in '' $ac_executable_extensions; do
   5531  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5532    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5533    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5534    break 2
   5535  fi
   5536done
   5537  done
   5538IFS=$as_save_IFS
   5539
   5540fi
   5541fi
   5542DUMPBIN=$ac_cv_prog_DUMPBIN
   5543if test -n "$DUMPBIN"; then
   5544  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5545printf "%s\n" "$DUMPBIN" >&6; }
   5546else
   5547  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5548printf "%s\n" "no" >&6; }
   5549fi
   5550
   5551
   5552    test -n "$DUMPBIN" && break
   5553  done
   5554fi
   5555if test -z "$DUMPBIN"; then
   5556  ac_ct_DUMPBIN=$DUMPBIN
   5557  for ac_prog in dumpbin "link -dump"
   5558do
   5559  # Extract the first word of "$ac_prog", so it can be a program name with args.
   5560set dummy $ac_prog; ac_word=$2
   5561{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5562printf %s "checking for $ac_word... " >&6; }
   5563if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5564then :
   5565  printf %s "(cached) " >&6
   5566else $as_nop
   5567  if test -n "$ac_ct_DUMPBIN"; then
   5568  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5569else
   5570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5571for as_dir in $PATH
   5572do
   5573  IFS=$as_save_IFS
   5574  case $as_dir in #(((
   5575    '') as_dir=./ ;;
   5576    */) ;;
   5577    *) as_dir=$as_dir/ ;;
   5578  esac
   5579    for ac_exec_ext in '' $ac_executable_extensions; do
   5580  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5581    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5582    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5583    break 2
   5584  fi
   5585done
   5586  done
   5587IFS=$as_save_IFS
   5588
   5589fi
   5590fi
   5591ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5592if test -n "$ac_ct_DUMPBIN"; then
   5593  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5594printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5595else
   5596  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5597printf "%s\n" "no" >&6; }
   5598fi
   5599
   5600
   5601  test -n "$ac_ct_DUMPBIN" && break
   5602done
   5603
   5604  if test "x$ac_ct_DUMPBIN" = x; then
   5605    DUMPBIN=":"
   5606  else
   5607    case $cross_compiling:$ac_tool_warned in
   5608yes:)
   5609{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5610printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5611ac_tool_warned=yes ;;
   5612esac
   5613    DUMPBIN=$ac_ct_DUMPBIN
   5614  fi
   5615fi
   5616
   5617    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5618    *COFF*)
   5619      DUMPBIN="$DUMPBIN -symbols -headers"
   5620      ;;
   5621    *)
   5622      DUMPBIN=:
   5623      ;;
   5624    esac
   5625  fi
   5626
   5627  if test : != "$DUMPBIN"; then
   5628    NM=$DUMPBIN
   5629  fi
   5630fi
   5631test -z "$NM" && NM=nm
   5632
   5633
   5634
   5635
   5636
   5637
   5638{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5639printf %s "checking the name lister ($NM) interface... " >&6; }
   5640if test ${lt_cv_nm_interface+y}
   5641then :
   5642  printf %s "(cached) " >&6
   5643else $as_nop
   5644  lt_cv_nm_interface="BSD nm"
   5645  echo "int some_variable = 0;" > conftest.$ac_ext
   5646  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5647  (eval "$ac_compile" 2>conftest.err)
   5648  cat conftest.err >&5
   5649  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5650  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5651  cat conftest.err >&5
   5652  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5653  cat conftest.out >&5
   5654  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5655    lt_cv_nm_interface="MS dumpbin"
   5656  fi
   5657  rm -f conftest*
   5658fi
   5659{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5660printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5661
   5662{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5663printf %s "checking whether ln -s works... " >&6; }
   5664LN_S=$as_ln_s
   5665if test "$LN_S" = "ln -s"; then
   5666  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5667printf "%s\n" "yes" >&6; }
   5668else
   5669  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5670printf "%s\n" "no, using $LN_S" >&6; }
   5671fi
   5672
   5673# find the maximum length of command line arguments
   5674{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5675printf %s "checking the maximum length of command line arguments... " >&6; }
   5676if test ${lt_cv_sys_max_cmd_len+y}
   5677then :
   5678  printf %s "(cached) " >&6
   5679else $as_nop
   5680    i=0
   5681  teststring=ABCD
   5682
   5683  case $build_os in
   5684  msdosdjgpp*)
   5685    # On DJGPP, this test can blow up pretty badly due to problems in libc
   5686    # (any single argument exceeding 2000 bytes causes a buffer overrun
   5687    # during glob expansion).  Even if it were fixed, the result of this
   5688    # check would be larger than it should be.
   5689    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5690    ;;
   5691
   5692  gnu*)
   5693    # Under GNU Hurd, this test is not required because there is
   5694    # no limit to the length of command line arguments.
   5695    # Libtool will interpret -1 as no limit whatsoever
   5696    lt_cv_sys_max_cmd_len=-1;
   5697    ;;
   5698
   5699  cygwin* | mingw* | cegcc*)
   5700    # On Win9x/ME, this test blows up -- it succeeds, but takes
   5701    # about 5 minutes as the teststring grows exponentially.
   5702    # Worse, since 9x/ME are not pre-emptively multitasking,
   5703    # you end up with a "frozen" computer, even though with patience
   5704    # the test eventually succeeds (with a max line length of 256k).
   5705    # Instead, let's just punt: use the minimum linelength reported by
   5706    # all of the supported platforms: 8192 (on NT/2K/XP).
   5707    lt_cv_sys_max_cmd_len=8192;
   5708    ;;
   5709
   5710  mint*)
   5711    # On MiNT this can take a long time and run out of memory.
   5712    lt_cv_sys_max_cmd_len=8192;
   5713    ;;
   5714
   5715  amigaos*)
   5716    # On AmigaOS with pdksh, this test takes hours, literally.
   5717    # So we just punt and use a minimum line length of 8192.
   5718    lt_cv_sys_max_cmd_len=8192;
   5719    ;;
   5720
   5721  bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5722    # This has been around since 386BSD, at least.  Likely further.
   5723    if test -x /sbin/sysctl; then
   5724      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5725    elif test -x /usr/sbin/sysctl; then
   5726      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5727    else
   5728      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5729    fi
   5730    # And add a safety zone
   5731    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5732    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5733    ;;
   5734
   5735  interix*)
   5736    # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5737    lt_cv_sys_max_cmd_len=196608
   5738    ;;
   5739
   5740  os2*)
   5741    # The test takes a long time on OS/2.
   5742    lt_cv_sys_max_cmd_len=8192
   5743    ;;
   5744
   5745  osf*)
   5746    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5747    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5748    # nice to cause kernel panics so lets avoid the loop below.
   5749    # First set a reasonable default.
   5750    lt_cv_sys_max_cmd_len=16384
   5751    #
   5752    if test -x /sbin/sysconfig; then
   5753      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5754        *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5755      esac
   5756    fi
   5757    ;;
   5758  sco3.2v5*)
   5759    lt_cv_sys_max_cmd_len=102400
   5760    ;;
   5761  sysv5* | sco5v6* | sysv4.2uw2*)
   5762    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5763    if test -n "$kargmax"; then
   5764      lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5765    else
   5766      lt_cv_sys_max_cmd_len=32768
   5767    fi
   5768    ;;
   5769  *)
   5770    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5771    if test -n "$lt_cv_sys_max_cmd_len" && \
   5772       test undefined != "$lt_cv_sys_max_cmd_len"; then
   5773      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5774      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5775    else
   5776      # Make teststring a little bigger before we do anything with it.
   5777      # a 1K string should be a reasonable start.
   5778      for i in 1 2 3 4 5 6 7 8; do
   5779        teststring=$teststring$teststring
   5780      done
   5781      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5782      # If test is not a shell built-in, we'll probably end up computing a
   5783      # maximum length that is only half of the actual maximum length, but
   5784      # we can't tell.
   5785      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5786	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5787	      test 17 != "$i" # 1/2 MB should be enough
   5788      do
   5789        i=`expr $i + 1`
   5790        teststring=$teststring$teststring
   5791      done
   5792      # Only check the string length outside the loop.
   5793      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5794      teststring=
   5795      # Add a significant safety factor because C++ compilers can tack on
   5796      # massive amounts of additional arguments before passing them to the
   5797      # linker.  It appears as though 1/2 is a usable value.
   5798      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5799    fi
   5800    ;;
   5801  esac
   5802
   5803fi
   5804
   5805if test -n "$lt_cv_sys_max_cmd_len"; then
   5806  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5807printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5808else
   5809  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5810printf "%s\n" "none" >&6; }
   5811fi
   5812max_cmd_len=$lt_cv_sys_max_cmd_len
   5813
   5814
   5815
   5816
   5817
   5818
   5819: ${CP="cp -f"}
   5820: ${MV="mv -f"}
   5821: ${RM="rm -f"}
   5822
   5823if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5824  lt_unset=unset
   5825else
   5826  lt_unset=false
   5827fi
   5828
   5829
   5830
   5831
   5832
   5833# test EBCDIC or ASCII
   5834case `echo X|tr X '\101'` in
   5835 A) # ASCII based system
   5836    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5837  lt_SP2NL='tr \040 \012'
   5838  lt_NL2SP='tr \015\012 \040\040'
   5839  ;;
   5840 *) # EBCDIC based system
   5841  lt_SP2NL='tr \100 \n'
   5842  lt_NL2SP='tr \r\n \100\100'
   5843  ;;
   5844esac
   5845
   5846
   5847
   5848
   5849
   5850
   5851
   5852
   5853
   5854{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5855printf %s "checking how to convert $build file names to $host format... " >&6; }
   5856if test ${lt_cv_to_host_file_cmd+y}
   5857then :
   5858  printf %s "(cached) " >&6
   5859else $as_nop
   5860  case $host in
   5861  *-*-mingw* )
   5862    case $build in
   5863      *-*-mingw* ) # actually msys
   5864        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5865        ;;
   5866      *-*-cygwin* )
   5867        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5868        ;;
   5869      * ) # otherwise, assume *nix
   5870        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5871        ;;
   5872    esac
   5873    ;;
   5874  *-*-cygwin* )
   5875    case $build in
   5876      *-*-mingw* ) # actually msys
   5877        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5878        ;;
   5879      *-*-cygwin* )
   5880        lt_cv_to_host_file_cmd=func_convert_file_noop
   5881        ;;
   5882      * ) # otherwise, assume *nix
   5883        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5884        ;;
   5885    esac
   5886    ;;
   5887  * ) # unhandled hosts (and "normal" native builds)
   5888    lt_cv_to_host_file_cmd=func_convert_file_noop
   5889    ;;
   5890esac
   5891
   5892fi
   5893
   5894to_host_file_cmd=$lt_cv_to_host_file_cmd
   5895{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5896printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5897
   5898
   5899
   5900
   5901
   5902{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5903printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5904if test ${lt_cv_to_tool_file_cmd+y}
   5905then :
   5906  printf %s "(cached) " >&6
   5907else $as_nop
   5908  #assume ordinary cross tools, or native build.
   5909lt_cv_to_tool_file_cmd=func_convert_file_noop
   5910case $host in
   5911  *-*-mingw* )
   5912    case $build in
   5913      *-*-mingw* ) # actually msys
   5914        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5915        ;;
   5916    esac
   5917    ;;
   5918esac
   5919
   5920fi
   5921
   5922to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5923{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5924printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5925
   5926
   5927
   5928
   5929
   5930{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5931printf %s "checking for $LD option to reload object files... " >&6; }
   5932if test ${lt_cv_ld_reload_flag+y}
   5933then :
   5934  printf %s "(cached) " >&6
   5935else $as_nop
   5936  lt_cv_ld_reload_flag='-r'
   5937fi
   5938{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5939printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5940reload_flag=$lt_cv_ld_reload_flag
   5941case $reload_flag in
   5942"" | " "*) ;;
   5943*) reload_flag=" $reload_flag" ;;
   5944esac
   5945reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5946case $host_os in
   5947  cygwin* | mingw* | pw32* | cegcc*)
   5948    if test yes != "$GCC"; then
   5949      reload_cmds=false
   5950    fi
   5951    ;;
   5952  darwin*)
   5953    if test yes = "$GCC"; then
   5954      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5955    else
   5956      reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5957    fi
   5958    ;;
   5959esac
   5960
   5961
   5962
   5963
   5964
   5965
   5966
   5967
   5968
   5969if test -n "$ac_tool_prefix"; then
   5970  # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5971set dummy ${ac_tool_prefix}file; ac_word=$2
   5972{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5973printf %s "checking for $ac_word... " >&6; }
   5974if test ${ac_cv_prog_FILECMD+y}
   5975then :
   5976  printf %s "(cached) " >&6
   5977else $as_nop
   5978  if test -n "$FILECMD"; then
   5979  ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5980else
   5981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5982for as_dir in $PATH
   5983do
   5984  IFS=$as_save_IFS
   5985  case $as_dir in #(((
   5986    '') as_dir=./ ;;
   5987    */) ;;
   5988    *) as_dir=$as_dir/ ;;
   5989  esac
   5990    for ac_exec_ext in '' $ac_executable_extensions; do
   5991  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5992    ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5993    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5994    break 2
   5995  fi
   5996done
   5997  done
   5998IFS=$as_save_IFS
   5999
   6000fi
   6001fi
   6002FILECMD=$ac_cv_prog_FILECMD
   6003if test -n "$FILECMD"; then
   6004  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6005printf "%s\n" "$FILECMD" >&6; }
   6006else
   6007  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6008printf "%s\n" "no" >&6; }
   6009fi
   6010
   6011
   6012fi
   6013if test -z "$ac_cv_prog_FILECMD"; then
   6014  ac_ct_FILECMD=$FILECMD
   6015  # Extract the first word of "file", so it can be a program name with args.
   6016set dummy file; ac_word=$2
   6017{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6018printf %s "checking for $ac_word... " >&6; }
   6019if test ${ac_cv_prog_ac_ct_FILECMD+y}
   6020then :
   6021  printf %s "(cached) " >&6
   6022else $as_nop
   6023  if test -n "$ac_ct_FILECMD"; then
   6024  ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   6025else
   6026as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6027for as_dir in $PATH
   6028do
   6029  IFS=$as_save_IFS
   6030  case $as_dir in #(((
   6031    '') as_dir=./ ;;
   6032    */) ;;
   6033    *) as_dir=$as_dir/ ;;
   6034  esac
   6035    for ac_exec_ext in '' $ac_executable_extensions; do
   6036  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6037    ac_cv_prog_ac_ct_FILECMD="file"
   6038    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6039    break 2
   6040  fi
   6041done
   6042  done
   6043IFS=$as_save_IFS
   6044
   6045fi
   6046fi
   6047ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   6048if test -n "$ac_ct_FILECMD"; then
   6049  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   6050printf "%s\n" "$ac_ct_FILECMD" >&6; }
   6051else
   6052  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6053printf "%s\n" "no" >&6; }
   6054fi
   6055
   6056  if test "x$ac_ct_FILECMD" = x; then
   6057    FILECMD=":"
   6058  else
   6059    case $cross_compiling:$ac_tool_warned in
   6060yes:)
   6061{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6062printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6063ac_tool_warned=yes ;;
   6064esac
   6065    FILECMD=$ac_ct_FILECMD
   6066  fi
   6067else
   6068  FILECMD="$ac_cv_prog_FILECMD"
   6069fi
   6070
   6071
   6072
   6073
   6074
   6075
   6076
   6077if test -n "$ac_tool_prefix"; then
   6078  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6079set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6080{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6081printf %s "checking for $ac_word... " >&6; }
   6082if test ${ac_cv_prog_OBJDUMP+y}
   6083then :
   6084  printf %s "(cached) " >&6
   6085else $as_nop
   6086  if test -n "$OBJDUMP"; then
   6087  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6088else
   6089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6090for as_dir in $PATH
   6091do
   6092  IFS=$as_save_IFS
   6093  case $as_dir in #(((
   6094    '') as_dir=./ ;;
   6095    */) ;;
   6096    *) as_dir=$as_dir/ ;;
   6097  esac
   6098    for ac_exec_ext in '' $ac_executable_extensions; do
   6099  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6100    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6101    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6102    break 2
   6103  fi
   6104done
   6105  done
   6106IFS=$as_save_IFS
   6107
   6108fi
   6109fi
   6110OBJDUMP=$ac_cv_prog_OBJDUMP
   6111if test -n "$OBJDUMP"; then
   6112  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6113printf "%s\n" "$OBJDUMP" >&6; }
   6114else
   6115  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6116printf "%s\n" "no" >&6; }
   6117fi
   6118
   6119
   6120fi
   6121if test -z "$ac_cv_prog_OBJDUMP"; then
   6122  ac_ct_OBJDUMP=$OBJDUMP
   6123  # Extract the first word of "objdump", so it can be a program name with args.
   6124set dummy objdump; ac_word=$2
   6125{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6126printf %s "checking for $ac_word... " >&6; }
   6127if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6128then :
   6129  printf %s "(cached) " >&6
   6130else $as_nop
   6131  if test -n "$ac_ct_OBJDUMP"; then
   6132  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6133else
   6134as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6135for as_dir in $PATH
   6136do
   6137  IFS=$as_save_IFS
   6138  case $as_dir in #(((
   6139    '') as_dir=./ ;;
   6140    */) ;;
   6141    *) as_dir=$as_dir/ ;;
   6142  esac
   6143    for ac_exec_ext in '' $ac_executable_extensions; do
   6144  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6145    ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6146    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6147    break 2
   6148  fi
   6149done
   6150  done
   6151IFS=$as_save_IFS
   6152
   6153fi
   6154fi
   6155ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6156if test -n "$ac_ct_OBJDUMP"; then
   6157  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6158printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6159else
   6160  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6161printf "%s\n" "no" >&6; }
   6162fi
   6163
   6164  if test "x$ac_ct_OBJDUMP" = x; then
   6165    OBJDUMP="false"
   6166  else
   6167    case $cross_compiling:$ac_tool_warned in
   6168yes:)
   6169{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6170printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6171ac_tool_warned=yes ;;
   6172esac
   6173    OBJDUMP=$ac_ct_OBJDUMP
   6174  fi
   6175else
   6176  OBJDUMP="$ac_cv_prog_OBJDUMP"
   6177fi
   6178
   6179test -z "$OBJDUMP" && OBJDUMP=objdump
   6180
   6181
   6182
   6183
   6184
   6185
   6186
   6187
   6188
   6189{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6190printf %s "checking how to recognize dependent libraries... " >&6; }
   6191if test ${lt_cv_deplibs_check_method+y}
   6192then :
   6193  printf %s "(cached) " >&6
   6194else $as_nop
   6195  lt_cv_file_magic_cmd='$MAGIC_CMD'
   6196lt_cv_file_magic_test_file=
   6197lt_cv_deplibs_check_method='unknown'
   6198# Need to set the preceding variable on all platforms that support
   6199# interlibrary dependencies.
   6200# 'none' -- dependencies not supported.
   6201# 'unknown' -- same as none, but documents that we really don't know.
   6202# 'pass_all' -- all dependencies passed with no checks.
   6203# 'test_compile' -- check by making test program.
   6204# 'file_magic [[regex]]' -- check by looking for files in library path
   6205# that responds to the $file_magic_cmd with a given extended regex.
   6206# If you have 'file' or equivalent on your system and you're not sure
   6207# whether 'pass_all' will *always* work, you probably want this one.
   6208
   6209case $host_os in
   6210aix[4-9]*)
   6211  lt_cv_deplibs_check_method=pass_all
   6212  ;;
   6213
   6214beos*)
   6215  lt_cv_deplibs_check_method=pass_all
   6216  ;;
   6217
   6218bsdi[45]*)
   6219  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6220  lt_cv_file_magic_cmd='$FILECMD -L'
   6221  lt_cv_file_magic_test_file=/shlib/libc.so
   6222  ;;
   6223
   6224cygwin*)
   6225  # func_win32_libid is a shell function defined in ltmain.sh
   6226  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6227  lt_cv_file_magic_cmd='func_win32_libid'
   6228  ;;
   6229
   6230mingw* | pw32*)
   6231  # Base MSYS/MinGW do not provide the 'file' command needed by
   6232  # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6233  # unless we find 'file', for example because we are cross-compiling.
   6234  if ( file / ) >/dev/null 2>&1; then
   6235    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6236    lt_cv_file_magic_cmd='func_win32_libid'
   6237  else
   6238    # Keep this pattern in sync with the one in func_win32_libid.
   6239    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6240    lt_cv_file_magic_cmd='$OBJDUMP -f'
   6241  fi
   6242  ;;
   6243
   6244cegcc*)
   6245  # use the weaker test based on 'objdump'. See mingw*.
   6246  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6247  lt_cv_file_magic_cmd='$OBJDUMP -f'
   6248  ;;
   6249
   6250darwin* | rhapsody*)
   6251  lt_cv_deplibs_check_method=pass_all
   6252  ;;
   6253
   6254freebsd* | dragonfly* | midnightbsd*)
   6255  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6256    case $host_cpu in
   6257    i*86 )
   6258      # Not sure whether the presence of OpenBSD here was a mistake.
   6259      # Let's accept both of them until this is cleared up.
   6260      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6261      lt_cv_file_magic_cmd=$FILECMD
   6262      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6263      ;;
   6264    esac
   6265  else
   6266    lt_cv_deplibs_check_method=pass_all
   6267  fi
   6268  ;;
   6269
   6270haiku*)
   6271  lt_cv_deplibs_check_method=pass_all
   6272  ;;
   6273
   6274hpux10.20* | hpux11*)
   6275  lt_cv_file_magic_cmd=$FILECMD
   6276  case $host_cpu in
   6277  ia64*)
   6278    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6279    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6280    ;;
   6281  hppa*64*)
   6282    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   6283    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6284    ;;
   6285  *)
   6286    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6287    lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6288    ;;
   6289  esac
   6290  ;;
   6291
   6292interix[3-9]*)
   6293  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6294  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6295  ;;
   6296
   6297irix5* | irix6* | nonstopux*)
   6298  case $LD in
   6299  *-32|*"-32 ") libmagic=32-bit;;
   6300  *-n32|*"-n32 ") libmagic=N32;;
   6301  *-64|*"-64 ") libmagic=64-bit;;
   6302  *) libmagic=never-match;;
   6303  esac
   6304  lt_cv_deplibs_check_method=pass_all
   6305  ;;
   6306
   6307# This must be glibc/ELF.
   6308linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6309  lt_cv_deplibs_check_method=pass_all
   6310  ;;
   6311
   6312netbsd*)
   6313  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6314    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6315  else
   6316    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6317  fi
   6318  ;;
   6319
   6320newos6*)
   6321  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6322  lt_cv_file_magic_cmd=$FILECMD
   6323  lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6324  ;;
   6325
   6326*nto* | *qnx*)
   6327  lt_cv_deplibs_check_method=pass_all
   6328  ;;
   6329
   6330openbsd* | bitrig*)
   6331  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6332    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6333  else
   6334    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6335  fi
   6336  ;;
   6337
   6338osf3* | osf4* | osf5*)
   6339  lt_cv_deplibs_check_method=pass_all
   6340  ;;
   6341
   6342rdos*)
   6343  lt_cv_deplibs_check_method=pass_all
   6344  ;;
   6345
   6346solaris*)
   6347  lt_cv_deplibs_check_method=pass_all
   6348  ;;
   6349
   6350sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6351  lt_cv_deplibs_check_method=pass_all
   6352  ;;
   6353
   6354sysv4 | sysv4.3*)
   6355  case $host_vendor in
   6356  motorola)
   6357    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]'
   6358    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6359    ;;
   6360  ncr)
   6361    lt_cv_deplibs_check_method=pass_all
   6362    ;;
   6363  sequent)
   6364    lt_cv_file_magic_cmd='/bin/file'
   6365    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6366    ;;
   6367  sni)
   6368    lt_cv_file_magic_cmd='/bin/file'
   6369    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6370    lt_cv_file_magic_test_file=/lib/libc.so
   6371    ;;
   6372  siemens)
   6373    lt_cv_deplibs_check_method=pass_all
   6374    ;;
   6375  pc)
   6376    lt_cv_deplibs_check_method=pass_all
   6377    ;;
   6378  esac
   6379  ;;
   6380
   6381tpf*)
   6382  lt_cv_deplibs_check_method=pass_all
   6383  ;;
   6384os2*)
   6385  lt_cv_deplibs_check_method=pass_all
   6386  ;;
   6387esac
   6388
   6389fi
   6390{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6391printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6392
   6393file_magic_glob=
   6394want_nocaseglob=no
   6395if test "$build" = "$host"; then
   6396  case $host_os in
   6397  mingw* | pw32*)
   6398    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6399      want_nocaseglob=yes
   6400    else
   6401      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6402    fi
   6403    ;;
   6404  esac
   6405fi
   6406
   6407file_magic_cmd=$lt_cv_file_magic_cmd
   6408deplibs_check_method=$lt_cv_deplibs_check_method
   6409test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6410
   6411
   6412
   6413
   6414
   6415
   6416
   6417
   6418
   6419
   6420
   6421
   6422
   6423
   6424
   6425
   6426
   6427
   6428
   6429
   6430
   6431
   6432if test -n "$ac_tool_prefix"; then
   6433  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6434set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6435{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6436printf %s "checking for $ac_word... " >&6; }
   6437if test ${ac_cv_prog_DLLTOOL+y}
   6438then :
   6439  printf %s "(cached) " >&6
   6440else $as_nop
   6441  if test -n "$DLLTOOL"; then
   6442  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6443else
   6444as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6445for as_dir in $PATH
   6446do
   6447  IFS=$as_save_IFS
   6448  case $as_dir in #(((
   6449    '') as_dir=./ ;;
   6450    */) ;;
   6451    *) as_dir=$as_dir/ ;;
   6452  esac
   6453    for ac_exec_ext in '' $ac_executable_extensions; do
   6454  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6455    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6456    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6457    break 2
   6458  fi
   6459done
   6460  done
   6461IFS=$as_save_IFS
   6462
   6463fi
   6464fi
   6465DLLTOOL=$ac_cv_prog_DLLTOOL
   6466if test -n "$DLLTOOL"; then
   6467  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6468printf "%s\n" "$DLLTOOL" >&6; }
   6469else
   6470  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6471printf "%s\n" "no" >&6; }
   6472fi
   6473
   6474
   6475fi
   6476if test -z "$ac_cv_prog_DLLTOOL"; then
   6477  ac_ct_DLLTOOL=$DLLTOOL
   6478  # Extract the first word of "dlltool", so it can be a program name with args.
   6479set dummy dlltool; ac_word=$2
   6480{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6481printf %s "checking for $ac_word... " >&6; }
   6482if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6483then :
   6484  printf %s "(cached) " >&6
   6485else $as_nop
   6486  if test -n "$ac_ct_DLLTOOL"; then
   6487  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6488else
   6489as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6490for as_dir in $PATH
   6491do
   6492  IFS=$as_save_IFS
   6493  case $as_dir in #(((
   6494    '') as_dir=./ ;;
   6495    */) ;;
   6496    *) as_dir=$as_dir/ ;;
   6497  esac
   6498    for ac_exec_ext in '' $ac_executable_extensions; do
   6499  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6500    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6501    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6502    break 2
   6503  fi
   6504done
   6505  done
   6506IFS=$as_save_IFS
   6507
   6508fi
   6509fi
   6510ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6511if test -n "$ac_ct_DLLTOOL"; then
   6512  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6513printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6514else
   6515  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6516printf "%s\n" "no" >&6; }
   6517fi
   6518
   6519  if test "x$ac_ct_DLLTOOL" = x; then
   6520    DLLTOOL="false"
   6521  else
   6522    case $cross_compiling:$ac_tool_warned in
   6523yes:)
   6524{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6525printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6526ac_tool_warned=yes ;;
   6527esac
   6528    DLLTOOL=$ac_ct_DLLTOOL
   6529  fi
   6530else
   6531  DLLTOOL="$ac_cv_prog_DLLTOOL"
   6532fi
   6533
   6534test -z "$DLLTOOL" && DLLTOOL=dlltool
   6535
   6536
   6537
   6538
   6539
   6540
   6541
   6542
   6543
   6544
   6545{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6546printf %s "checking how to associate runtime and link libraries... " >&6; }
   6547if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6548then :
   6549  printf %s "(cached) " >&6
   6550else $as_nop
   6551  lt_cv_sharedlib_from_linklib_cmd='unknown'
   6552
   6553case $host_os in
   6554cygwin* | mingw* | pw32* | cegcc*)
   6555  # two different shell functions defined in ltmain.sh;
   6556  # decide which one to use based on capabilities of $DLLTOOL
   6557  case `$DLLTOOL --help 2>&1` in
   6558  *--identify-strict*)
   6559    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6560    ;;
   6561  *)
   6562    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6563    ;;
   6564  esac
   6565  ;;
   6566*)
   6567  # fallback: assume linklib IS sharedlib
   6568  lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6569  ;;
   6570esac
   6571
   6572fi
   6573{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6574printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6575sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6576test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6577
   6578
   6579
   6580
   6581
   6582
   6583
   6584
   6585if test -n "$ac_tool_prefix"; then
   6586  for ac_prog in ar
   6587  do
   6588    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6589set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6590{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6591printf %s "checking for $ac_word... " >&6; }
   6592if test ${ac_cv_prog_AR+y}
   6593then :
   6594  printf %s "(cached) " >&6
   6595else $as_nop
   6596  if test -n "$AR"; then
   6597  ac_cv_prog_AR="$AR" # Let the user override the test.
   6598else
   6599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6600for as_dir in $PATH
   6601do
   6602  IFS=$as_save_IFS
   6603  case $as_dir in #(((
   6604    '') as_dir=./ ;;
   6605    */) ;;
   6606    *) as_dir=$as_dir/ ;;
   6607  esac
   6608    for ac_exec_ext in '' $ac_executable_extensions; do
   6609  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6610    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6611    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6612    break 2
   6613  fi
   6614done
   6615  done
   6616IFS=$as_save_IFS
   6617
   6618fi
   6619fi
   6620AR=$ac_cv_prog_AR
   6621if test -n "$AR"; then
   6622  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6623printf "%s\n" "$AR" >&6; }
   6624else
   6625  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6626printf "%s\n" "no" >&6; }
   6627fi
   6628
   6629
   6630    test -n "$AR" && break
   6631  done
   6632fi
   6633if test -z "$AR"; then
   6634  ac_ct_AR=$AR
   6635  for ac_prog in ar
   6636do
   6637  # Extract the first word of "$ac_prog", so it can be a program name with args.
   6638set dummy $ac_prog; ac_word=$2
   6639{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6640printf %s "checking for $ac_word... " >&6; }
   6641if test ${ac_cv_prog_ac_ct_AR+y}
   6642then :
   6643  printf %s "(cached) " >&6
   6644else $as_nop
   6645  if test -n "$ac_ct_AR"; then
   6646  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6647else
   6648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6649for as_dir in $PATH
   6650do
   6651  IFS=$as_save_IFS
   6652  case $as_dir in #(((
   6653    '') as_dir=./ ;;
   6654    */) ;;
   6655    *) as_dir=$as_dir/ ;;
   6656  esac
   6657    for ac_exec_ext in '' $ac_executable_extensions; do
   6658  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6659    ac_cv_prog_ac_ct_AR="$ac_prog"
   6660    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6661    break 2
   6662  fi
   6663done
   6664  done
   6665IFS=$as_save_IFS
   6666
   6667fi
   6668fi
   6669ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6670if test -n "$ac_ct_AR"; then
   6671  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6672printf "%s\n" "$ac_ct_AR" >&6; }
   6673else
   6674  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6675printf "%s\n" "no" >&6; }
   6676fi
   6677
   6678
   6679  test -n "$ac_ct_AR" && break
   6680done
   6681
   6682  if test "x$ac_ct_AR" = x; then
   6683    AR="false"
   6684  else
   6685    case $cross_compiling:$ac_tool_warned in
   6686yes:)
   6687{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6688printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6689ac_tool_warned=yes ;;
   6690esac
   6691    AR=$ac_ct_AR
   6692  fi
   6693fi
   6694
   6695: ${AR=ar}
   6696
   6697
   6698
   6699
   6700
   6701
   6702# Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6703# Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6704# higher priority because thats what people were doing historically (setting
   6705# ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6706# variable obsoleted/removed.
   6707
   6708test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6709lt_ar_flags=$AR_FLAGS
   6710
   6711
   6712
   6713
   6714
   6715
   6716# Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6717# by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6718
   6719
   6720
   6721
   6722
   6723
   6724{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6725printf %s "checking for archiver @FILE support... " >&6; }
   6726if test ${lt_cv_ar_at_file+y}
   6727then :
   6728  printf %s "(cached) " >&6
   6729else $as_nop
   6730  lt_cv_ar_at_file=no
   6731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6732/* end confdefs.h.  */
   6733
   6734int
   6735main (void)
   6736{
   6737
   6738  ;
   6739  return 0;
   6740}
   6741_ACEOF
   6742if ac_fn_c_try_compile "$LINENO"
   6743then :
   6744  echo conftest.$ac_objext > conftest.lst
   6745      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6746      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6747  (eval $lt_ar_try) 2>&5
   6748  ac_status=$?
   6749  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6750  test $ac_status = 0; }
   6751      if test 0 -eq "$ac_status"; then
   6752	# Ensure the archiver fails upon bogus file names.
   6753	rm -f conftest.$ac_objext libconftest.a
   6754	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6755  (eval $lt_ar_try) 2>&5
   6756  ac_status=$?
   6757  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6758  test $ac_status = 0; }
   6759	if test 0 -ne "$ac_status"; then
   6760          lt_cv_ar_at_file=@
   6761        fi
   6762      fi
   6763      rm -f conftest.* libconftest.a
   6764
   6765fi
   6766rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6767
   6768fi
   6769{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6770printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6771
   6772if test no = "$lt_cv_ar_at_file"; then
   6773  archiver_list_spec=
   6774else
   6775  archiver_list_spec=$lt_cv_ar_at_file
   6776fi
   6777
   6778
   6779
   6780
   6781
   6782
   6783
   6784if test -n "$ac_tool_prefix"; then
   6785  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6786set dummy ${ac_tool_prefix}strip; ac_word=$2
   6787{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6788printf %s "checking for $ac_word... " >&6; }
   6789if test ${ac_cv_prog_STRIP+y}
   6790then :
   6791  printf %s "(cached) " >&6
   6792else $as_nop
   6793  if test -n "$STRIP"; then
   6794  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6795else
   6796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6797for as_dir in $PATH
   6798do
   6799  IFS=$as_save_IFS
   6800  case $as_dir in #(((
   6801    '') as_dir=./ ;;
   6802    */) ;;
   6803    *) as_dir=$as_dir/ ;;
   6804  esac
   6805    for ac_exec_ext in '' $ac_executable_extensions; do
   6806  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6807    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6808    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6809    break 2
   6810  fi
   6811done
   6812  done
   6813IFS=$as_save_IFS
   6814
   6815fi
   6816fi
   6817STRIP=$ac_cv_prog_STRIP
   6818if test -n "$STRIP"; then
   6819  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6820printf "%s\n" "$STRIP" >&6; }
   6821else
   6822  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6823printf "%s\n" "no" >&6; }
   6824fi
   6825
   6826
   6827fi
   6828if test -z "$ac_cv_prog_STRIP"; then
   6829  ac_ct_STRIP=$STRIP
   6830  # Extract the first word of "strip", so it can be a program name with args.
   6831set dummy strip; ac_word=$2
   6832{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6833printf %s "checking for $ac_word... " >&6; }
   6834if test ${ac_cv_prog_ac_ct_STRIP+y}
   6835then :
   6836  printf %s "(cached) " >&6
   6837else $as_nop
   6838  if test -n "$ac_ct_STRIP"; then
   6839  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6840else
   6841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6842for as_dir in $PATH
   6843do
   6844  IFS=$as_save_IFS
   6845  case $as_dir in #(((
   6846    '') as_dir=./ ;;
   6847    */) ;;
   6848    *) as_dir=$as_dir/ ;;
   6849  esac
   6850    for ac_exec_ext in '' $ac_executable_extensions; do
   6851  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6852    ac_cv_prog_ac_ct_STRIP="strip"
   6853    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6854    break 2
   6855  fi
   6856done
   6857  done
   6858IFS=$as_save_IFS
   6859
   6860fi
   6861fi
   6862ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6863if test -n "$ac_ct_STRIP"; then
   6864  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6865printf "%s\n" "$ac_ct_STRIP" >&6; }
   6866else
   6867  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6868printf "%s\n" "no" >&6; }
   6869fi
   6870
   6871  if test "x$ac_ct_STRIP" = x; then
   6872    STRIP=":"
   6873  else
   6874    case $cross_compiling:$ac_tool_warned in
   6875yes:)
   6876{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6877printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6878ac_tool_warned=yes ;;
   6879esac
   6880    STRIP=$ac_ct_STRIP
   6881  fi
   6882else
   6883  STRIP="$ac_cv_prog_STRIP"
   6884fi
   6885
   6886test -z "$STRIP" && STRIP=:
   6887
   6888
   6889
   6890
   6891
   6892
   6893if test -n "$ac_tool_prefix"; then
   6894  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6895set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6896{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6897printf %s "checking for $ac_word... " >&6; }
   6898if test ${ac_cv_prog_RANLIB+y}
   6899then :
   6900  printf %s "(cached) " >&6
   6901else $as_nop
   6902  if test -n "$RANLIB"; then
   6903  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6904else
   6905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6906for as_dir in $PATH
   6907do
   6908  IFS=$as_save_IFS
   6909  case $as_dir in #(((
   6910    '') as_dir=./ ;;
   6911    */) ;;
   6912    *) as_dir=$as_dir/ ;;
   6913  esac
   6914    for ac_exec_ext in '' $ac_executable_extensions; do
   6915  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6916    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6917    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6918    break 2
   6919  fi
   6920done
   6921  done
   6922IFS=$as_save_IFS
   6923
   6924fi
   6925fi
   6926RANLIB=$ac_cv_prog_RANLIB
   6927if test -n "$RANLIB"; then
   6928  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6929printf "%s\n" "$RANLIB" >&6; }
   6930else
   6931  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6932printf "%s\n" "no" >&6; }
   6933fi
   6934
   6935
   6936fi
   6937if test -z "$ac_cv_prog_RANLIB"; then
   6938  ac_ct_RANLIB=$RANLIB
   6939  # Extract the first word of "ranlib", so it can be a program name with args.
   6940set dummy ranlib; ac_word=$2
   6941{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6942printf %s "checking for $ac_word... " >&6; }
   6943if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6944then :
   6945  printf %s "(cached) " >&6
   6946else $as_nop
   6947  if test -n "$ac_ct_RANLIB"; then
   6948  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6949else
   6950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6951for as_dir in $PATH
   6952do
   6953  IFS=$as_save_IFS
   6954  case $as_dir in #(((
   6955    '') as_dir=./ ;;
   6956    */) ;;
   6957    *) as_dir=$as_dir/ ;;
   6958  esac
   6959    for ac_exec_ext in '' $ac_executable_extensions; do
   6960  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6961    ac_cv_prog_ac_ct_RANLIB="ranlib"
   6962    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6963    break 2
   6964  fi
   6965done
   6966  done
   6967IFS=$as_save_IFS
   6968
   6969fi
   6970fi
   6971ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6972if test -n "$ac_ct_RANLIB"; then
   6973  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6974printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6975else
   6976  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6977printf "%s\n" "no" >&6; }
   6978fi
   6979
   6980  if test "x$ac_ct_RANLIB" = x; then
   6981    RANLIB=":"
   6982  else
   6983    case $cross_compiling:$ac_tool_warned in
   6984yes:)
   6985{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6986printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6987ac_tool_warned=yes ;;
   6988esac
   6989    RANLIB=$ac_ct_RANLIB
   6990  fi
   6991else
   6992  RANLIB="$ac_cv_prog_RANLIB"
   6993fi
   6994
   6995test -z "$RANLIB" && RANLIB=:
   6996
   6997
   6998
   6999
   7000
   7001
   7002# Determine commands to create old-style static archives.
   7003old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7004old_postinstall_cmds='chmod 644 $oldlib'
   7005old_postuninstall_cmds=
   7006
   7007if test -n "$RANLIB"; then
   7008  case $host_os in
   7009  bitrig* | openbsd*)
   7010    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7011    ;;
   7012  *)
   7013    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7014    ;;
   7015  esac
   7016  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7017fi
   7018
   7019case $host_os in
   7020  darwin*)
   7021    lock_old_archive_extraction=yes ;;
   7022  *)
   7023    lock_old_archive_extraction=no ;;
   7024esac
   7025
   7026
   7027
   7028
   7029
   7030
   7031
   7032
   7033
   7034
   7035
   7036
   7037
   7038
   7039
   7040
   7041
   7042
   7043
   7044
   7045
   7046
   7047
   7048
   7049
   7050
   7051
   7052
   7053
   7054
   7055
   7056
   7057
   7058
   7059
   7060
   7061
   7062
   7063
   7064# If no C compiler was specified, use CC.
   7065LTCC=${LTCC-"$CC"}
   7066
   7067# If no C compiler flags were specified, use CFLAGS.
   7068LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7069
   7070# Allow CC to be a program name with arguments.
   7071compiler=$CC
   7072
   7073
   7074# Check for command to grab the raw symbol name followed by C symbol from nm.
   7075{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7076printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7077if test ${lt_cv_sys_global_symbol_pipe+y}
   7078then :
   7079  printf %s "(cached) " >&6
   7080else $as_nop
   7081
   7082# These are sane defaults that work on at least a few old systems.
   7083# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7084
   7085# Character class describing NM global symbol codes.
   7086symcode='[BCDEGRST]'
   7087
   7088# Regexp to match symbols that can be accessed directly from C.
   7089sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7090
   7091# Define system-specific variables.
   7092case $host_os in
   7093aix*)
   7094  symcode='[BCDT]'
   7095  ;;
   7096cygwin* | mingw* | pw32* | cegcc*)
   7097  symcode='[ABCDGISTW]'
   7098  ;;
   7099hpux*)
   7100  if test ia64 = "$host_cpu"; then
   7101    symcode='[ABCDEGRST]'
   7102  fi
   7103  ;;
   7104irix* | nonstopux*)
   7105  symcode='[BCDEGRST]'
   7106  ;;
   7107osf*)
   7108  symcode='[BCDEGQRST]'
   7109  ;;
   7110solaris*)
   7111  symcode='[BDRT]'
   7112  ;;
   7113sco3.2v5*)
   7114  symcode='[DT]'
   7115  ;;
   7116sysv4.2uw2*)
   7117  symcode='[DT]'
   7118  ;;
   7119sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7120  symcode='[ABDT]'
   7121  ;;
   7122sysv4)
   7123  symcode='[DFNSTU]'
   7124  ;;
   7125esac
   7126
   7127# If we're using GNU nm, then use its standard symbol codes.
   7128case `$NM -V 2>&1` in
   7129*GNU* | *'with BFD'*)
   7130  symcode='[ABCDGIRSTW]' ;;
   7131esac
   7132
   7133if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7134  # Gets list of data symbols to import.
   7135  lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7136  # Adjust the below global symbol transforms to fixup imported variables.
   7137  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7138  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7139  lt_c_name_lib_hook="\
   7140  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7141  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7142else
   7143  # Disable hooks by default.
   7144  lt_cv_sys_global_symbol_to_import=
   7145  lt_cdecl_hook=
   7146  lt_c_name_hook=
   7147  lt_c_name_lib_hook=
   7148fi
   7149
   7150# Transform an extracted symbol line into a proper C declaration.
   7151# Some systems (esp. on ia64) link data and code symbols differently,
   7152# so use this general approach.
   7153lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7154$lt_cdecl_hook\
   7155" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7156" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7157
   7158# Transform an extracted symbol line into symbol name and symbol address
   7159lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7160$lt_c_name_hook\
   7161" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7162" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7163
   7164# Transform an extracted symbol line into symbol name with lib prefix and
   7165# symbol address.
   7166lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7167$lt_c_name_lib_hook\
   7168" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7169" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7170" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7171
   7172# Handle CRLF in mingw tool chain
   7173opt_cr=
   7174case $build_os in
   7175mingw*)
   7176  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7177  ;;
   7178esac
   7179
   7180# Try without a prefix underscore, then with it.
   7181for ac_symprfx in "" "_"; do
   7182
   7183  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7184  symxfrm="\\1 $ac_symprfx\\2 \\2"
   7185
   7186  # Write the raw and C identifiers.
   7187  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7188    # Fake it for dumpbin and say T for any non-static function,
   7189    # D for any global variable and I for any imported variable.
   7190    # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7191    # which start with @ or ?.
   7192    lt_cv_sys_global_symbol_pipe="$AWK '"\
   7193"     {last_section=section; section=\$ 3};"\
   7194"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7195"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7196"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7197"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7198"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7199"     \$ 0!~/External *\|/{next};"\
   7200"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7201"     {if(hide[section]) next};"\
   7202"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7203"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7204"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7205"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7206"     ' prfx=^$ac_symprfx"
   7207  else
   7208    lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7209  fi
   7210  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7211
   7212  # Check to see that the pipe works correctly.
   7213  pipe_works=no
   7214
   7215  rm -f conftest*
   7216  cat > conftest.$ac_ext <<_LT_EOF
   7217#ifdef __cplusplus
   7218extern "C" {
   7219#endif
   7220char nm_test_var;
   7221void nm_test_func(void);
   7222void nm_test_func(void){}
   7223#ifdef __cplusplus
   7224}
   7225#endif
   7226int main(){nm_test_var='a';nm_test_func();return(0);}
   7227_LT_EOF
   7228
   7229  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7230  (eval $ac_compile) 2>&5
   7231  ac_status=$?
   7232  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7233  test $ac_status = 0; }; then
   7234    # Now try to grab the symbols.
   7235    nlist=conftest.nm
   7236    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7237  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7238  ac_status=$?
   7239  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7240  test $ac_status = 0; } && test -s "$nlist"; then
   7241      # Try sorting and uniquifying the output.
   7242      if sort "$nlist" | uniq > "$nlist"T; then
   7243	mv -f "$nlist"T "$nlist"
   7244      else
   7245	rm -f "$nlist"T
   7246      fi
   7247
   7248      # Make sure that we snagged all the symbols we need.
   7249      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7250	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7251	  cat <<_LT_EOF > conftest.$ac_ext
   7252/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7253#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7254/* DATA imports from DLLs on WIN32 can't be const, because runtime
   7255   relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7256# define LT_DLSYM_CONST
   7257#elif defined __osf__
   7258/* This system does not cope well with relocations in const data.  */
   7259# define LT_DLSYM_CONST
   7260#else
   7261# define LT_DLSYM_CONST const
   7262#endif
   7263
   7264#ifdef __cplusplus
   7265extern "C" {
   7266#endif
   7267
   7268_LT_EOF
   7269	  # Now generate the symbol file.
   7270	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7271
   7272	  cat <<_LT_EOF >> conftest.$ac_ext
   7273
   7274/* The mapping between symbol names and symbols.  */
   7275LT_DLSYM_CONST struct {
   7276  const char *name;
   7277  void       *address;
   7278}
   7279lt__PROGRAM__LTX_preloaded_symbols[] =
   7280{
   7281  { "@PROGRAM@", (void *) 0 },
   7282_LT_EOF
   7283	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7284	  cat <<\_LT_EOF >> conftest.$ac_ext
   7285  {0, (void *) 0}
   7286};
   7287
   7288/* This works around a problem in FreeBSD linker */
   7289#ifdef FREEBSD_WORKAROUND
   7290static const void *lt_preloaded_setup() {
   7291  return lt__PROGRAM__LTX_preloaded_symbols;
   7292}
   7293#endif
   7294
   7295#ifdef __cplusplus
   7296}
   7297#endif
   7298_LT_EOF
   7299	  # Now try linking the two files.
   7300	  mv conftest.$ac_objext conftstm.$ac_objext
   7301	  lt_globsym_save_LIBS=$LIBS
   7302	  lt_globsym_save_CFLAGS=$CFLAGS
   7303	  LIBS=conftstm.$ac_objext
   7304	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7305	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7306  (eval $ac_link) 2>&5
   7307  ac_status=$?
   7308  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7309  test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7310	    pipe_works=yes
   7311	  fi
   7312	  LIBS=$lt_globsym_save_LIBS
   7313	  CFLAGS=$lt_globsym_save_CFLAGS
   7314	else
   7315	  echo "cannot find nm_test_func in $nlist" >&5
   7316	fi
   7317      else
   7318	echo "cannot find nm_test_var in $nlist" >&5
   7319      fi
   7320    else
   7321      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7322    fi
   7323  else
   7324    echo "$progname: failed program was:" >&5
   7325    cat conftest.$ac_ext >&5
   7326  fi
   7327  rm -rf conftest* conftst*
   7328
   7329  # Do not use the global_symbol_pipe unless it works.
   7330  if test yes = "$pipe_works"; then
   7331    break
   7332  else
   7333    lt_cv_sys_global_symbol_pipe=
   7334  fi
   7335done
   7336
   7337fi
   7338
   7339if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7340  lt_cv_sys_global_symbol_to_cdecl=
   7341fi
   7342if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7343  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7344printf "%s\n" "failed" >&6; }
   7345else
   7346  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7347printf "%s\n" "ok" >&6; }
   7348fi
   7349
   7350# Response file support.
   7351if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7352  nm_file_list_spec='@'
   7353elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7354  nm_file_list_spec='@'
   7355fi
   7356
   7357
   7358
   7359
   7360
   7361
   7362
   7363
   7364
   7365
   7366
   7367
   7368
   7369
   7370
   7371
   7372
   7373
   7374
   7375
   7376
   7377
   7378
   7379
   7380
   7381
   7382
   7383
   7384
   7385
   7386
   7387
   7388
   7389
   7390
   7391
   7392
   7393{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7394printf %s "checking for sysroot... " >&6; }
   7395
   7396# Check whether --with-sysroot was given.
   7397if test ${with_sysroot+y}
   7398then :
   7399  withval=$with_sysroot;
   7400else $as_nop
   7401  with_sysroot=no
   7402fi
   7403
   7404
   7405lt_sysroot=
   7406case $with_sysroot in #(
   7407 yes)
   7408   if test yes = "$GCC"; then
   7409     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7410   fi
   7411   ;; #(
   7412 /*)
   7413   lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7414   ;; #(
   7415 no|'')
   7416   ;; #(
   7417 *)
   7418   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7419printf "%s\n" "$with_sysroot" >&6; }
   7420   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7421   ;;
   7422esac
   7423
   7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7425printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7426
   7427
   7428
   7429
   7430
   7431{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7432printf %s "checking for a working dd... " >&6; }
   7433if test ${ac_cv_path_lt_DD+y}
   7434then :
   7435  printf %s "(cached) " >&6
   7436else $as_nop
   7437  printf 0123456789abcdef0123456789abcdef >conftest.i
   7438cat conftest.i conftest.i >conftest2.i
   7439: ${lt_DD:=$DD}
   7440if test -z "$lt_DD"; then
   7441  ac_path_lt_DD_found=false
   7442  # Loop through the user's path and test for each of PROGNAME-LIST
   7443  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7444for as_dir in $PATH
   7445do
   7446  IFS=$as_save_IFS
   7447  case $as_dir in #(((
   7448    '') as_dir=./ ;;
   7449    */) ;;
   7450    *) as_dir=$as_dir/ ;;
   7451  esac
   7452    for ac_prog in dd
   7453   do
   7454    for ac_exec_ext in '' $ac_executable_extensions; do
   7455      ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7456      as_fn_executable_p "$ac_path_lt_DD" || continue
   7457if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7458  cmp -s conftest.i conftest.out \
   7459  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7460fi
   7461      $ac_path_lt_DD_found && break 3
   7462    done
   7463  done
   7464  done
   7465IFS=$as_save_IFS
   7466  if test -z "$ac_cv_path_lt_DD"; then
   7467    :
   7468  fi
   7469else
   7470  ac_cv_path_lt_DD=$lt_DD
   7471fi
   7472
   7473rm -f conftest.i conftest2.i conftest.out
   7474fi
   7475{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7476printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7477
   7478
   7479{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7480printf %s "checking how to truncate binary pipes... " >&6; }
   7481if test ${lt_cv_truncate_bin+y}
   7482then :
   7483  printf %s "(cached) " >&6
   7484else $as_nop
   7485  printf 0123456789abcdef0123456789abcdef >conftest.i
   7486cat conftest.i conftest.i >conftest2.i
   7487lt_cv_truncate_bin=
   7488if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7489  cmp -s conftest.i conftest.out \
   7490  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7491fi
   7492rm -f conftest.i conftest2.i conftest.out
   7493test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7494fi
   7495{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7496printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7497
   7498
   7499
   7500
   7501
   7502
   7503
   7504# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7505func_cc_basename ()
   7506{
   7507    for cc_temp in $*""; do
   7508      case $cc_temp in
   7509        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7510        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7511        \-*) ;;
   7512        *) break;;
   7513      esac
   7514    done
   7515    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7516}
   7517
   7518# Check whether --enable-libtool-lock was given.
   7519if test ${enable_libtool_lock+y}
   7520then :
   7521  enableval=$enable_libtool_lock;
   7522fi
   7523
   7524test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7525
   7526# Some flags need to be propagated to the compiler or linker for good
   7527# libtool support.
   7528case $host in
   7529ia64-*-hpux*)
   7530  # Find out what ABI is being produced by ac_compile, and set mode
   7531  # options accordingly.
   7532  echo 'int i;' > conftest.$ac_ext
   7533  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7534  (eval $ac_compile) 2>&5
   7535  ac_status=$?
   7536  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7537  test $ac_status = 0; }; then
   7538    case `$FILECMD conftest.$ac_objext` in
   7539      *ELF-32*)
   7540	HPUX_IA64_MODE=32
   7541	;;
   7542      *ELF-64*)
   7543	HPUX_IA64_MODE=64
   7544	;;
   7545    esac
   7546  fi
   7547  rm -rf conftest*
   7548  ;;
   7549*-*-irix6*)
   7550  # Find out what ABI is being produced by ac_compile, and set linker
   7551  # options accordingly.
   7552  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7553  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7554  (eval $ac_compile) 2>&5
   7555  ac_status=$?
   7556  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7557  test $ac_status = 0; }; then
   7558    if test yes = "$lt_cv_prog_gnu_ld"; then
   7559      case `$FILECMD conftest.$ac_objext` in
   7560	*32-bit*)
   7561	  LD="${LD-ld} -melf32bsmip"
   7562	  ;;
   7563	*N32*)
   7564	  LD="${LD-ld} -melf32bmipn32"
   7565	  ;;
   7566	*64-bit*)
   7567	  LD="${LD-ld} -melf64bmip"
   7568	;;
   7569      esac
   7570    else
   7571      case `$FILECMD conftest.$ac_objext` in
   7572	*32-bit*)
   7573	  LD="${LD-ld} -32"
   7574	  ;;
   7575	*N32*)
   7576	  LD="${LD-ld} -n32"
   7577	  ;;
   7578	*64-bit*)
   7579	  LD="${LD-ld} -64"
   7580	  ;;
   7581      esac
   7582    fi
   7583  fi
   7584  rm -rf conftest*
   7585  ;;
   7586
   7587mips64*-*linux*)
   7588  # Find out what ABI is being produced by ac_compile, and set linker
   7589  # options accordingly.
   7590  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7591  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7592  (eval $ac_compile) 2>&5
   7593  ac_status=$?
   7594  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7595  test $ac_status = 0; }; then
   7596    emul=elf
   7597    case `$FILECMD conftest.$ac_objext` in
   7598      *32-bit*)
   7599	emul="${emul}32"
   7600	;;
   7601      *64-bit*)
   7602	emul="${emul}64"
   7603	;;
   7604    esac
   7605    case `$FILECMD conftest.$ac_objext` in
   7606      *MSB*)
   7607	emul="${emul}btsmip"
   7608	;;
   7609      *LSB*)
   7610	emul="${emul}ltsmip"
   7611	;;
   7612    esac
   7613    case `$FILECMD conftest.$ac_objext` in
   7614      *N32*)
   7615	emul="${emul}n32"
   7616	;;
   7617    esac
   7618    LD="${LD-ld} -m $emul"
   7619  fi
   7620  rm -rf conftest*
   7621  ;;
   7622
   7623x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7624s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7625  # Find out what ABI is being produced by ac_compile, and set linker
   7626  # options accordingly.  Note that the listed cases only cover the
   7627  # situations where additional linker options are needed (such as when
   7628  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7629  # vice versa); the common cases where no linker options are needed do
   7630  # not appear in the list.
   7631  echo 'int i;' > conftest.$ac_ext
   7632  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7633  (eval $ac_compile) 2>&5
   7634  ac_status=$?
   7635  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7636  test $ac_status = 0; }; then
   7637    case `$FILECMD conftest.o` in
   7638      *32-bit*)
   7639	case $host in
   7640	  x86_64-*kfreebsd*-gnu)
   7641	    LD="${LD-ld} -m elf_i386_fbsd"
   7642	    ;;
   7643	  x86_64-*linux*)
   7644	    case `$FILECMD conftest.o` in
   7645	      *x86-64*)
   7646		LD="${LD-ld} -m elf32_x86_64"
   7647		;;
   7648	      *)
   7649		LD="${LD-ld} -m elf_i386"
   7650		;;
   7651	    esac
   7652	    ;;
   7653	  powerpc64le-*linux*)
   7654	    LD="${LD-ld} -m elf32lppclinux"
   7655	    ;;
   7656	  powerpc64-*linux*)
   7657	    LD="${LD-ld} -m elf32ppclinux"
   7658	    ;;
   7659	  s390x-*linux*)
   7660	    LD="${LD-ld} -m elf_s390"
   7661	    ;;
   7662	  sparc64-*linux*)
   7663	    LD="${LD-ld} -m elf32_sparc"
   7664	    ;;
   7665	esac
   7666	;;
   7667      *64-bit*)
   7668	case $host in
   7669	  x86_64-*kfreebsd*-gnu)
   7670	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7671	    ;;
   7672	  x86_64-*linux*)
   7673	    LD="${LD-ld} -m elf_x86_64"
   7674	    ;;
   7675	  powerpcle-*linux*)
   7676	    LD="${LD-ld} -m elf64lppc"
   7677	    ;;
   7678	  powerpc-*linux*)
   7679	    LD="${LD-ld} -m elf64ppc"
   7680	    ;;
   7681	  s390*-*linux*|s390*-*tpf*)
   7682	    LD="${LD-ld} -m elf64_s390"
   7683	    ;;
   7684	  sparc*-*linux*)
   7685	    LD="${LD-ld} -m elf64_sparc"
   7686	    ;;
   7687	esac
   7688	;;
   7689    esac
   7690  fi
   7691  rm -rf conftest*
   7692  ;;
   7693
   7694*-*-sco3.2v5*)
   7695  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7696  SAVE_CFLAGS=$CFLAGS
   7697  CFLAGS="$CFLAGS -belf"
   7698  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7699printf %s "checking whether the C compiler needs -belf... " >&6; }
   7700if test ${lt_cv_cc_needs_belf+y}
   7701then :
   7702  printf %s "(cached) " >&6
   7703else $as_nop
   7704  ac_ext=c
   7705ac_cpp='$CPP $CPPFLAGS'
   7706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7708ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7709
   7710     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7711/* end confdefs.h.  */
   7712
   7713int
   7714main (void)
   7715{
   7716
   7717  ;
   7718  return 0;
   7719}
   7720_ACEOF
   7721if ac_fn_c_try_link "$LINENO"
   7722then :
   7723  lt_cv_cc_needs_belf=yes
   7724else $as_nop
   7725  lt_cv_cc_needs_belf=no
   7726fi
   7727rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7728    conftest$ac_exeext conftest.$ac_ext
   7729     ac_ext=c
   7730ac_cpp='$CPP $CPPFLAGS'
   7731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7733ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7734
   7735fi
   7736{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7737printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7738  if test yes != "$lt_cv_cc_needs_belf"; then
   7739    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7740    CFLAGS=$SAVE_CFLAGS
   7741  fi
   7742  ;;
   7743*-*solaris*)
   7744  # Find out what ABI is being produced by ac_compile, and set linker
   7745  # options accordingly.
   7746  echo 'int i;' > conftest.$ac_ext
   7747  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7748  (eval $ac_compile) 2>&5
   7749  ac_status=$?
   7750  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7751  test $ac_status = 0; }; then
   7752    case `$FILECMD conftest.o` in
   7753    *64-bit*)
   7754      case $lt_cv_prog_gnu_ld in
   7755      yes*)
   7756        case $host in
   7757        i?86-*-solaris*|x86_64-*-solaris*)
   7758          LD="${LD-ld} -m elf_x86_64"
   7759          ;;
   7760        sparc*-*-solaris*)
   7761          LD="${LD-ld} -m elf64_sparc"
   7762          ;;
   7763        esac
   7764        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7765        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7766          LD=${LD-ld}_sol2
   7767        fi
   7768        ;;
   7769      *)
   7770	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7771	  LD="${LD-ld} -64"
   7772	fi
   7773	;;
   7774      esac
   7775      ;;
   7776    esac
   7777  fi
   7778  rm -rf conftest*
   7779  ;;
   7780esac
   7781
   7782need_locks=$enable_libtool_lock
   7783
   7784if test -n "$ac_tool_prefix"; then
   7785  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7786set dummy ${ac_tool_prefix}mt; ac_word=$2
   7787{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7788printf %s "checking for $ac_word... " >&6; }
   7789if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7790then :
   7791  printf %s "(cached) " >&6
   7792else $as_nop
   7793  if test -n "$MANIFEST_TOOL"; then
   7794  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7795else
   7796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7797for as_dir in $PATH
   7798do
   7799  IFS=$as_save_IFS
   7800  case $as_dir in #(((
   7801    '') as_dir=./ ;;
   7802    */) ;;
   7803    *) as_dir=$as_dir/ ;;
   7804  esac
   7805    for ac_exec_ext in '' $ac_executable_extensions; do
   7806  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7807    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7808    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7809    break 2
   7810  fi
   7811done
   7812  done
   7813IFS=$as_save_IFS
   7814
   7815fi
   7816fi
   7817MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7818if test -n "$MANIFEST_TOOL"; then
   7819  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7820printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7821else
   7822  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7823printf "%s\n" "no" >&6; }
   7824fi
   7825
   7826
   7827fi
   7828if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7829  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7830  # Extract the first word of "mt", so it can be a program name with args.
   7831set dummy mt; ac_word=$2
   7832{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7833printf %s "checking for $ac_word... " >&6; }
   7834if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7835then :
   7836  printf %s "(cached) " >&6
   7837else $as_nop
   7838  if test -n "$ac_ct_MANIFEST_TOOL"; then
   7839  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7840else
   7841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7842for as_dir in $PATH
   7843do
   7844  IFS=$as_save_IFS
   7845  case $as_dir in #(((
   7846    '') as_dir=./ ;;
   7847    */) ;;
   7848    *) as_dir=$as_dir/ ;;
   7849  esac
   7850    for ac_exec_ext in '' $ac_executable_extensions; do
   7851  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7852    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7853    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7854    break 2
   7855  fi
   7856done
   7857  done
   7858IFS=$as_save_IFS
   7859
   7860fi
   7861fi
   7862ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7863if test -n "$ac_ct_MANIFEST_TOOL"; then
   7864  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7865printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7866else
   7867  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7868printf "%s\n" "no" >&6; }
   7869fi
   7870
   7871  if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7872    MANIFEST_TOOL=":"
   7873  else
   7874    case $cross_compiling:$ac_tool_warned in
   7875yes:)
   7876{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7877printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7878ac_tool_warned=yes ;;
   7879esac
   7880    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7881  fi
   7882else
   7883  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7884fi
   7885
   7886test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7887{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7888printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7889if test ${lt_cv_path_mainfest_tool+y}
   7890then :
   7891  printf %s "(cached) " >&6
   7892else $as_nop
   7893  lt_cv_path_mainfest_tool=no
   7894  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7895  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7896  cat conftest.err >&5
   7897  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7898    lt_cv_path_mainfest_tool=yes
   7899  fi
   7900  rm -f conftest*
   7901fi
   7902{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7903printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7904if test yes != "$lt_cv_path_mainfest_tool"; then
   7905  MANIFEST_TOOL=:
   7906fi
   7907
   7908
   7909
   7910
   7911
   7912
   7913  case $host_os in
   7914    rhapsody* | darwin*)
   7915    if test -n "$ac_tool_prefix"; then
   7916  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7917set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7918{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7919printf %s "checking for $ac_word... " >&6; }
   7920if test ${ac_cv_prog_DSYMUTIL+y}
   7921then :
   7922  printf %s "(cached) " >&6
   7923else $as_nop
   7924  if test -n "$DSYMUTIL"; then
   7925  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7926else
   7927as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7928for as_dir in $PATH
   7929do
   7930  IFS=$as_save_IFS
   7931  case $as_dir in #(((
   7932    '') as_dir=./ ;;
   7933    */) ;;
   7934    *) as_dir=$as_dir/ ;;
   7935  esac
   7936    for ac_exec_ext in '' $ac_executable_extensions; do
   7937  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7938    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7939    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7940    break 2
   7941  fi
   7942done
   7943  done
   7944IFS=$as_save_IFS
   7945
   7946fi
   7947fi
   7948DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7949if test -n "$DSYMUTIL"; then
   7950  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7951printf "%s\n" "$DSYMUTIL" >&6; }
   7952else
   7953  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7954printf "%s\n" "no" >&6; }
   7955fi
   7956
   7957
   7958fi
   7959if test -z "$ac_cv_prog_DSYMUTIL"; then
   7960  ac_ct_DSYMUTIL=$DSYMUTIL
   7961  # Extract the first word of "dsymutil", so it can be a program name with args.
   7962set dummy dsymutil; ac_word=$2
   7963{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7964printf %s "checking for $ac_word... " >&6; }
   7965if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7966then :
   7967  printf %s "(cached) " >&6
   7968else $as_nop
   7969  if test -n "$ac_ct_DSYMUTIL"; then
   7970  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7971else
   7972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7973for as_dir in $PATH
   7974do
   7975  IFS=$as_save_IFS
   7976  case $as_dir in #(((
   7977    '') as_dir=./ ;;
   7978    */) ;;
   7979    *) as_dir=$as_dir/ ;;
   7980  esac
   7981    for ac_exec_ext in '' $ac_executable_extensions; do
   7982  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7983    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7984    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7985    break 2
   7986  fi
   7987done
   7988  done
   7989IFS=$as_save_IFS
   7990
   7991fi
   7992fi
   7993ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7994if test -n "$ac_ct_DSYMUTIL"; then
   7995  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7996printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7997else
   7998  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7999printf "%s\n" "no" >&6; }
   8000fi
   8001
   8002  if test "x$ac_ct_DSYMUTIL" = x; then
   8003    DSYMUTIL=":"
   8004  else
   8005    case $cross_compiling:$ac_tool_warned in
   8006yes:)
   8007{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8008printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8009ac_tool_warned=yes ;;
   8010esac
   8011    DSYMUTIL=$ac_ct_DSYMUTIL
   8012  fi
   8013else
   8014  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8015fi
   8016
   8017    if test -n "$ac_tool_prefix"; then
   8018  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8019set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8020{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8021printf %s "checking for $ac_word... " >&6; }
   8022if test ${ac_cv_prog_NMEDIT+y}
   8023then :
   8024  printf %s "(cached) " >&6
   8025else $as_nop
   8026  if test -n "$NMEDIT"; then
   8027  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8028else
   8029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8030for as_dir in $PATH
   8031do
   8032  IFS=$as_save_IFS
   8033  case $as_dir in #(((
   8034    '') as_dir=./ ;;
   8035    */) ;;
   8036    *) as_dir=$as_dir/ ;;
   8037  esac
   8038    for ac_exec_ext in '' $ac_executable_extensions; do
   8039  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8040    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8041    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8042    break 2
   8043  fi
   8044done
   8045  done
   8046IFS=$as_save_IFS
   8047
   8048fi
   8049fi
   8050NMEDIT=$ac_cv_prog_NMEDIT
   8051if test -n "$NMEDIT"; then
   8052  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8053printf "%s\n" "$NMEDIT" >&6; }
   8054else
   8055  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8056printf "%s\n" "no" >&6; }
   8057fi
   8058
   8059
   8060fi
   8061if test -z "$ac_cv_prog_NMEDIT"; then
   8062  ac_ct_NMEDIT=$NMEDIT
   8063  # Extract the first word of "nmedit", so it can be a program name with args.
   8064set dummy nmedit; ac_word=$2
   8065{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8066printf %s "checking for $ac_word... " >&6; }
   8067if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8068then :
   8069  printf %s "(cached) " >&6
   8070else $as_nop
   8071  if test -n "$ac_ct_NMEDIT"; then
   8072  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8073else
   8074as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8075for as_dir in $PATH
   8076do
   8077  IFS=$as_save_IFS
   8078  case $as_dir in #(((
   8079    '') as_dir=./ ;;
   8080    */) ;;
   8081    *) as_dir=$as_dir/ ;;
   8082  esac
   8083    for ac_exec_ext in '' $ac_executable_extensions; do
   8084  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8085    ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8086    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8087    break 2
   8088  fi
   8089done
   8090  done
   8091IFS=$as_save_IFS
   8092
   8093fi
   8094fi
   8095ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8096if test -n "$ac_ct_NMEDIT"; then
   8097  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8098printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8099else
   8100  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8101printf "%s\n" "no" >&6; }
   8102fi
   8103
   8104  if test "x$ac_ct_NMEDIT" = x; then
   8105    NMEDIT=":"
   8106  else
   8107    case $cross_compiling:$ac_tool_warned in
   8108yes:)
   8109{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8110printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8111ac_tool_warned=yes ;;
   8112esac
   8113    NMEDIT=$ac_ct_NMEDIT
   8114  fi
   8115else
   8116  NMEDIT="$ac_cv_prog_NMEDIT"
   8117fi
   8118
   8119    if test -n "$ac_tool_prefix"; then
   8120  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8121set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8122{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8123printf %s "checking for $ac_word... " >&6; }
   8124if test ${ac_cv_prog_LIPO+y}
   8125then :
   8126  printf %s "(cached) " >&6
   8127else $as_nop
   8128  if test -n "$LIPO"; then
   8129  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8130else
   8131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8132for as_dir in $PATH
   8133do
   8134  IFS=$as_save_IFS
   8135  case $as_dir in #(((
   8136    '') as_dir=./ ;;
   8137    */) ;;
   8138    *) as_dir=$as_dir/ ;;
   8139  esac
   8140    for ac_exec_ext in '' $ac_executable_extensions; do
   8141  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8142    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8143    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8144    break 2
   8145  fi
   8146done
   8147  done
   8148IFS=$as_save_IFS
   8149
   8150fi
   8151fi
   8152LIPO=$ac_cv_prog_LIPO
   8153if test -n "$LIPO"; then
   8154  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8155printf "%s\n" "$LIPO" >&6; }
   8156else
   8157  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8158printf "%s\n" "no" >&6; }
   8159fi
   8160
   8161
   8162fi
   8163if test -z "$ac_cv_prog_LIPO"; then
   8164  ac_ct_LIPO=$LIPO
   8165  # Extract the first word of "lipo", so it can be a program name with args.
   8166set dummy lipo; ac_word=$2
   8167{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8168printf %s "checking for $ac_word... " >&6; }
   8169if test ${ac_cv_prog_ac_ct_LIPO+y}
   8170then :
   8171  printf %s "(cached) " >&6
   8172else $as_nop
   8173  if test -n "$ac_ct_LIPO"; then
   8174  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8175else
   8176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8177for as_dir in $PATH
   8178do
   8179  IFS=$as_save_IFS
   8180  case $as_dir in #(((
   8181    '') as_dir=./ ;;
   8182    */) ;;
   8183    *) as_dir=$as_dir/ ;;
   8184  esac
   8185    for ac_exec_ext in '' $ac_executable_extensions; do
   8186  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8187    ac_cv_prog_ac_ct_LIPO="lipo"
   8188    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8189    break 2
   8190  fi
   8191done
   8192  done
   8193IFS=$as_save_IFS
   8194
   8195fi
   8196fi
   8197ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8198if test -n "$ac_ct_LIPO"; then
   8199  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8200printf "%s\n" "$ac_ct_LIPO" >&6; }
   8201else
   8202  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8203printf "%s\n" "no" >&6; }
   8204fi
   8205
   8206  if test "x$ac_ct_LIPO" = x; then
   8207    LIPO=":"
   8208  else
   8209    case $cross_compiling:$ac_tool_warned in
   8210yes:)
   8211{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8212printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8213ac_tool_warned=yes ;;
   8214esac
   8215    LIPO=$ac_ct_LIPO
   8216  fi
   8217else
   8218  LIPO="$ac_cv_prog_LIPO"
   8219fi
   8220
   8221    if test -n "$ac_tool_prefix"; then
   8222  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8223set dummy ${ac_tool_prefix}otool; ac_word=$2
   8224{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8225printf %s "checking for $ac_word... " >&6; }
   8226if test ${ac_cv_prog_OTOOL+y}
   8227then :
   8228  printf %s "(cached) " >&6
   8229else $as_nop
   8230  if test -n "$OTOOL"; then
   8231  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8232else
   8233as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8234for as_dir in $PATH
   8235do
   8236  IFS=$as_save_IFS
   8237  case $as_dir in #(((
   8238    '') as_dir=./ ;;
   8239    */) ;;
   8240    *) as_dir=$as_dir/ ;;
   8241  esac
   8242    for ac_exec_ext in '' $ac_executable_extensions; do
   8243  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8244    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8245    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8246    break 2
   8247  fi
   8248done
   8249  done
   8250IFS=$as_save_IFS
   8251
   8252fi
   8253fi
   8254OTOOL=$ac_cv_prog_OTOOL
   8255if test -n "$OTOOL"; then
   8256  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8257printf "%s\n" "$OTOOL" >&6; }
   8258else
   8259  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8260printf "%s\n" "no" >&6; }
   8261fi
   8262
   8263
   8264fi
   8265if test -z "$ac_cv_prog_OTOOL"; then
   8266  ac_ct_OTOOL=$OTOOL
   8267  # Extract the first word of "otool", so it can be a program name with args.
   8268set dummy otool; ac_word=$2
   8269{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8270printf %s "checking for $ac_word... " >&6; }
   8271if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8272then :
   8273  printf %s "(cached) " >&6
   8274else $as_nop
   8275  if test -n "$ac_ct_OTOOL"; then
   8276  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8277else
   8278as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8279for as_dir in $PATH
   8280do
   8281  IFS=$as_save_IFS
   8282  case $as_dir in #(((
   8283    '') as_dir=./ ;;
   8284    */) ;;
   8285    *) as_dir=$as_dir/ ;;
   8286  esac
   8287    for ac_exec_ext in '' $ac_executable_extensions; do
   8288  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8289    ac_cv_prog_ac_ct_OTOOL="otool"
   8290    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8291    break 2
   8292  fi
   8293done
   8294  done
   8295IFS=$as_save_IFS
   8296
   8297fi
   8298fi
   8299ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8300if test -n "$ac_ct_OTOOL"; then
   8301  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8302printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8303else
   8304  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8305printf "%s\n" "no" >&6; }
   8306fi
   8307
   8308  if test "x$ac_ct_OTOOL" = x; then
   8309    OTOOL=":"
   8310  else
   8311    case $cross_compiling:$ac_tool_warned in
   8312yes:)
   8313{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8314printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8315ac_tool_warned=yes ;;
   8316esac
   8317    OTOOL=$ac_ct_OTOOL
   8318  fi
   8319else
   8320  OTOOL="$ac_cv_prog_OTOOL"
   8321fi
   8322
   8323    if test -n "$ac_tool_prefix"; then
   8324  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8325set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8326{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8327printf %s "checking for $ac_word... " >&6; }
   8328if test ${ac_cv_prog_OTOOL64+y}
   8329then :
   8330  printf %s "(cached) " >&6
   8331else $as_nop
   8332  if test -n "$OTOOL64"; then
   8333  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8334else
   8335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8336for as_dir in $PATH
   8337do
   8338  IFS=$as_save_IFS
   8339  case $as_dir in #(((
   8340    '') as_dir=./ ;;
   8341    */) ;;
   8342    *) as_dir=$as_dir/ ;;
   8343  esac
   8344    for ac_exec_ext in '' $ac_executable_extensions; do
   8345  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8346    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8347    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8348    break 2
   8349  fi
   8350done
   8351  done
   8352IFS=$as_save_IFS
   8353
   8354fi
   8355fi
   8356OTOOL64=$ac_cv_prog_OTOOL64
   8357if test -n "$OTOOL64"; then
   8358  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8359printf "%s\n" "$OTOOL64" >&6; }
   8360else
   8361  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8362printf "%s\n" "no" >&6; }
   8363fi
   8364
   8365
   8366fi
   8367if test -z "$ac_cv_prog_OTOOL64"; then
   8368  ac_ct_OTOOL64=$OTOOL64
   8369  # Extract the first word of "otool64", so it can be a program name with args.
   8370set dummy otool64; ac_word=$2
   8371{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8372printf %s "checking for $ac_word... " >&6; }
   8373if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8374then :
   8375  printf %s "(cached) " >&6
   8376else $as_nop
   8377  if test -n "$ac_ct_OTOOL64"; then
   8378  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8379else
   8380as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8381for as_dir in $PATH
   8382do
   8383  IFS=$as_save_IFS
   8384  case $as_dir in #(((
   8385    '') as_dir=./ ;;
   8386    */) ;;
   8387    *) as_dir=$as_dir/ ;;
   8388  esac
   8389    for ac_exec_ext in '' $ac_executable_extensions; do
   8390  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8391    ac_cv_prog_ac_ct_OTOOL64="otool64"
   8392    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8393    break 2
   8394  fi
   8395done
   8396  done
   8397IFS=$as_save_IFS
   8398
   8399fi
   8400fi
   8401ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8402if test -n "$ac_ct_OTOOL64"; then
   8403  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8404printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8405else
   8406  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8407printf "%s\n" "no" >&6; }
   8408fi
   8409
   8410  if test "x$ac_ct_OTOOL64" = x; then
   8411    OTOOL64=":"
   8412  else
   8413    case $cross_compiling:$ac_tool_warned in
   8414yes:)
   8415{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8416printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8417ac_tool_warned=yes ;;
   8418esac
   8419    OTOOL64=$ac_ct_OTOOL64
   8420  fi
   8421else
   8422  OTOOL64="$ac_cv_prog_OTOOL64"
   8423fi
   8424
   8425
   8426
   8427
   8428
   8429
   8430
   8431
   8432
   8433
   8434
   8435
   8436
   8437
   8438
   8439
   8440
   8441
   8442
   8443
   8444
   8445
   8446
   8447
   8448
   8449
   8450
   8451    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8452printf %s "checking for -single_module linker flag... " >&6; }
   8453if test ${lt_cv_apple_cc_single_mod+y}
   8454then :
   8455  printf %s "(cached) " >&6
   8456else $as_nop
   8457  lt_cv_apple_cc_single_mod=no
   8458      if test -z "$LT_MULTI_MODULE"; then
   8459	# By default we will add the -single_module flag. You can override
   8460	# by either setting the environment variable LT_MULTI_MODULE
   8461	# non-empty at configure time, or by adding -multi_module to the
   8462	# link flags.
   8463	rm -rf libconftest.dylib*
   8464	echo "int foo(void){return 1;}" > conftest.c
   8465	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8466-dynamiclib -Wl,-single_module conftest.c" >&5
   8467	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8468	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8469        _lt_result=$?
   8470	# If there is a non-empty error log, and "single_module"
   8471	# appears in it, assume the flag caused a linker warning
   8472        if test -s conftest.err && $GREP single_module conftest.err; then
   8473	  cat conftest.err >&5
   8474	# Otherwise, if the output was created with a 0 exit code from
   8475	# the compiler, it worked.
   8476	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8477	  lt_cv_apple_cc_single_mod=yes
   8478	else
   8479	  cat conftest.err >&5
   8480	fi
   8481	rm -rf libconftest.dylib*
   8482	rm -f conftest.*
   8483      fi
   8484fi
   8485{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8486printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8487
   8488    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8489printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8490if test ${lt_cv_ld_exported_symbols_list+y}
   8491then :
   8492  printf %s "(cached) " >&6
   8493else $as_nop
   8494  lt_cv_ld_exported_symbols_list=no
   8495      save_LDFLAGS=$LDFLAGS
   8496      echo "_main" > conftest.sym
   8497      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8498      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8499/* end confdefs.h.  */
   8500
   8501int
   8502main (void)
   8503{
   8504
   8505  ;
   8506  return 0;
   8507}
   8508_ACEOF
   8509if ac_fn_c_try_link "$LINENO"
   8510then :
   8511  lt_cv_ld_exported_symbols_list=yes
   8512else $as_nop
   8513  lt_cv_ld_exported_symbols_list=no
   8514fi
   8515rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8516    conftest$ac_exeext conftest.$ac_ext
   8517	LDFLAGS=$save_LDFLAGS
   8518
   8519fi
   8520{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8521printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8522
   8523    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8524printf %s "checking for -force_load linker flag... " >&6; }
   8525if test ${lt_cv_ld_force_load+y}
   8526then :
   8527  printf %s "(cached) " >&6
   8528else $as_nop
   8529  lt_cv_ld_force_load=no
   8530      cat > conftest.c << _LT_EOF
   8531int forced_loaded() { return 2;}
   8532_LT_EOF
   8533      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8534      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8535      echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8536      $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8537      echo "$RANLIB libconftest.a" >&5
   8538      $RANLIB libconftest.a 2>&5
   8539      cat > conftest.c << _LT_EOF
   8540int main() { return 0;}
   8541_LT_EOF
   8542      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8543      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8544      _lt_result=$?
   8545      if test -s conftest.err && $GREP force_load conftest.err; then
   8546	cat conftest.err >&5
   8547      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8548	lt_cv_ld_force_load=yes
   8549      else
   8550	cat conftest.err >&5
   8551      fi
   8552        rm -f conftest.err libconftest.a conftest conftest.c
   8553        rm -rf conftest.dSYM
   8554
   8555fi
   8556{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8557printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8558    case $host_os in
   8559    rhapsody* | darwin1.[012])
   8560      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8561    darwin1.*)
   8562      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8563    darwin*)
   8564      case $MACOSX_DEPLOYMENT_TARGET,$host in
   8565        10.[012],*|,*powerpc*-darwin[5-8]*)
   8566          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8567        *)
   8568          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8569      esac
   8570    ;;
   8571  esac
   8572    if test yes = "$lt_cv_apple_cc_single_mod"; then
   8573      _lt_dar_single_mod='$single_module'
   8574    fi
   8575    if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8576      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8577    else
   8578      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8579    fi
   8580    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8581      _lt_dsymutil='~$DSYMUTIL $lib || :'
   8582    else
   8583      _lt_dsymutil=
   8584    fi
   8585    ;;
   8586  esac
   8587
   8588# func_munge_path_list VARIABLE PATH
   8589# -----------------------------------
   8590# VARIABLE is name of variable containing _space_ separated list of
   8591# directories to be munged by the contents of PATH, which is string
   8592# having a format:
   8593# "DIR[:DIR]:"
   8594#       string "DIR[ DIR]" will be prepended to VARIABLE
   8595# ":DIR[:DIR]"
   8596#       string "DIR[ DIR]" will be appended to VARIABLE
   8597# "DIRP[:DIRP]::[DIRA:]DIRA"
   8598#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8599#       "DIRA[ DIRA]" will be appended to VARIABLE
   8600# "DIR[:DIR]"
   8601#       VARIABLE will be replaced by "DIR[ DIR]"
   8602func_munge_path_list ()
   8603{
   8604    case x$2 in
   8605    x)
   8606        ;;
   8607    *:)
   8608        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8609        ;;
   8610    x:*)
   8611        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8612        ;;
   8613    *::*)
   8614        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8615        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8616        ;;
   8617    *)
   8618        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8619        ;;
   8620    esac
   8621}
   8622
   8623ac_header= ac_cache=
   8624for ac_item in $ac_header_c_list
   8625do
   8626  if test $ac_cache; then
   8627    ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8628    if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8629      printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8630    fi
   8631    ac_header= ac_cache=
   8632  elif test $ac_header; then
   8633    ac_cache=$ac_item
   8634  else
   8635    ac_header=$ac_item
   8636  fi
   8637done
   8638
   8639
   8640
   8641
   8642
   8643
   8644
   8645
   8646if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8647then :
   8648
   8649printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8650
   8651fi
   8652ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8653"
   8654if test "x$ac_cv_header_dlfcn_h" = xyes
   8655then :
   8656  printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8657
   8658fi
   8659
   8660
   8661
   8662
   8663
   8664# Set options
   8665enable_dlopen=yes
   8666
   8667
   8668
   8669
   8670  enable_win32_dll=no
   8671
   8672
   8673            # Check whether --enable-shared was given.
   8674if test ${enable_shared+y}
   8675then :
   8676  enableval=$enable_shared; p=${PACKAGE-default}
   8677    case $enableval in
   8678    yes) enable_shared=yes ;;
   8679    no) enable_shared=no ;;
   8680    *)
   8681      enable_shared=no
   8682      # Look at the argument we got.  We use all the common list separators.
   8683      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8684      for pkg in $enableval; do
   8685	IFS=$lt_save_ifs
   8686	if test "X$pkg" = "X$p"; then
   8687	  enable_shared=yes
   8688	fi
   8689      done
   8690      IFS=$lt_save_ifs
   8691      ;;
   8692    esac
   8693else $as_nop
   8694  enable_shared=yes
   8695fi
   8696
   8697
   8698
   8699
   8700
   8701
   8702
   8703
   8704
   8705  # Check whether --enable-static was given.
   8706if test ${enable_static+y}
   8707then :
   8708  enableval=$enable_static; p=${PACKAGE-default}
   8709    case $enableval in
   8710    yes) enable_static=yes ;;
   8711    no) enable_static=no ;;
   8712    *)
   8713     enable_static=no
   8714      # Look at the argument we got.  We use all the common list separators.
   8715      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8716      for pkg in $enableval; do
   8717	IFS=$lt_save_ifs
   8718	if test "X$pkg" = "X$p"; then
   8719	  enable_static=yes
   8720	fi
   8721      done
   8722      IFS=$lt_save_ifs
   8723      ;;
   8724    esac
   8725else $as_nop
   8726  enable_static=yes
   8727fi
   8728
   8729
   8730
   8731
   8732
   8733
   8734
   8735
   8736
   8737
   8738# Check whether --with-pic was given.
   8739if test ${with_pic+y}
   8740then :
   8741  withval=$with_pic; lt_p=${PACKAGE-default}
   8742    case $withval in
   8743    yes|no) pic_mode=$withval ;;
   8744    *)
   8745      pic_mode=default
   8746      # Look at the argument we got.  We use all the common list separators.
   8747      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8748      for lt_pkg in $withval; do
   8749	IFS=$lt_save_ifs
   8750	if test "X$lt_pkg" = "X$lt_p"; then
   8751	  pic_mode=yes
   8752	fi
   8753      done
   8754      IFS=$lt_save_ifs
   8755      ;;
   8756    esac
   8757else $as_nop
   8758  pic_mode=default
   8759fi
   8760
   8761
   8762
   8763
   8764
   8765
   8766
   8767
   8768  # Check whether --enable-fast-install was given.
   8769if test ${enable_fast_install+y}
   8770then :
   8771  enableval=$enable_fast_install; p=${PACKAGE-default}
   8772    case $enableval in
   8773    yes) enable_fast_install=yes ;;
   8774    no) enable_fast_install=no ;;
   8775    *)
   8776      enable_fast_install=no
   8777      # Look at the argument we got.  We use all the common list separators.
   8778      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8779      for pkg in $enableval; do
   8780	IFS=$lt_save_ifs
   8781	if test "X$pkg" = "X$p"; then
   8782	  enable_fast_install=yes
   8783	fi
   8784      done
   8785      IFS=$lt_save_ifs
   8786      ;;
   8787    esac
   8788else $as_nop
   8789  enable_fast_install=yes
   8790fi
   8791
   8792
   8793
   8794
   8795
   8796
   8797
   8798
   8799  shared_archive_member_spec=
   8800case $host,$enable_shared in
   8801power*-*-aix[5-9]*,yes)
   8802  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8803printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8804
   8805# Check whether --with-aix-soname was given.
   8806if test ${with_aix_soname+y}
   8807then :
   8808  withval=$with_aix_soname; case $withval in
   8809    aix|svr4|both)
   8810      ;;
   8811    *)
   8812      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8813      ;;
   8814    esac
   8815    lt_cv_with_aix_soname=$with_aix_soname
   8816else $as_nop
   8817  if test ${lt_cv_with_aix_soname+y}
   8818then :
   8819  printf %s "(cached) " >&6
   8820else $as_nop
   8821  lt_cv_with_aix_soname=aix
   8822fi
   8823
   8824    with_aix_soname=$lt_cv_with_aix_soname
   8825fi
   8826
   8827  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8828printf "%s\n" "$with_aix_soname" >&6; }
   8829  if test aix != "$with_aix_soname"; then
   8830    # For the AIX way of multilib, we name the shared archive member
   8831    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8832    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8833    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8834    # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8835    if test 64 = "${OBJECT_MODE-32}"; then
   8836      shared_archive_member_spec=shr_64
   8837    else
   8838      shared_archive_member_spec=shr
   8839    fi
   8840  fi
   8841  ;;
   8842*)
   8843  with_aix_soname=aix
   8844  ;;
   8845esac
   8846
   8847
   8848
   8849
   8850
   8851
   8852
   8853
   8854
   8855
   8856# This can be used to rebuild libtool when needed
   8857LIBTOOL_DEPS=$ltmain
   8858
   8859# Always use our own libtool.
   8860LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8861
   8862
   8863
   8864
   8865
   8866
   8867
   8868
   8869
   8870
   8871
   8872
   8873
   8874
   8875
   8876
   8877
   8878
   8879
   8880
   8881
   8882
   8883
   8884
   8885
   8886
   8887
   8888
   8889
   8890
   8891test -z "$LN_S" && LN_S="ln -s"
   8892
   8893
   8894
   8895
   8896
   8897
   8898
   8899
   8900
   8901
   8902
   8903
   8904
   8905
   8906if test -n "${ZSH_VERSION+set}"; then
   8907   setopt NO_GLOB_SUBST
   8908fi
   8909
   8910{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8911printf %s "checking for objdir... " >&6; }
   8912if test ${lt_cv_objdir+y}
   8913then :
   8914  printf %s "(cached) " >&6
   8915else $as_nop
   8916  rm -f .libs 2>/dev/null
   8917mkdir .libs 2>/dev/null
   8918if test -d .libs; then
   8919  lt_cv_objdir=.libs
   8920else
   8921  # MS-DOS does not allow filenames that begin with a dot.
   8922  lt_cv_objdir=_libs
   8923fi
   8924rmdir .libs 2>/dev/null
   8925fi
   8926{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8927printf "%s\n" "$lt_cv_objdir" >&6; }
   8928objdir=$lt_cv_objdir
   8929
   8930
   8931
   8932
   8933
   8934printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8935
   8936
   8937
   8938
   8939case $host_os in
   8940aix3*)
   8941  # AIX sometimes has problems with the GCC collect2 program.  For some
   8942  # reason, if we set the COLLECT_NAMES environment variable, the problems
   8943  # vanish in a puff of smoke.
   8944  if test set != "${COLLECT_NAMES+set}"; then
   8945    COLLECT_NAMES=
   8946    export COLLECT_NAMES
   8947  fi
   8948  ;;
   8949esac
   8950
   8951# Global variables:
   8952ofile=libtool
   8953can_build_shared=yes
   8954
   8955# All known linkers require a '.a' archive for static linking (except MSVC and
   8956# ICC, which need '.lib').
   8957libext=a
   8958
   8959with_gnu_ld=$lt_cv_prog_gnu_ld
   8960
   8961old_CC=$CC
   8962old_CFLAGS=$CFLAGS
   8963
   8964# Set sane defaults for various variables
   8965test -z "$CC" && CC=cc
   8966test -z "$LTCC" && LTCC=$CC
   8967test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8968test -z "$LD" && LD=ld
   8969test -z "$ac_objext" && ac_objext=o
   8970
   8971func_cc_basename $compiler
   8972cc_basename=$func_cc_basename_result
   8973
   8974
   8975# Only perform the check for file, if the check method requires it
   8976test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8977case $deplibs_check_method in
   8978file_magic*)
   8979  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8980    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8981printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8982if test ${lt_cv_path_MAGIC_CMD+y}
   8983then :
   8984  printf %s "(cached) " >&6
   8985else $as_nop
   8986  case $MAGIC_CMD in
   8987[\\/*] |  ?:[\\/]*)
   8988  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8989  ;;
   8990*)
   8991  lt_save_MAGIC_CMD=$MAGIC_CMD
   8992  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8993  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8994  for ac_dir in $ac_dummy; do
   8995    IFS=$lt_save_ifs
   8996    test -z "$ac_dir" && ac_dir=.
   8997    if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8998      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8999      if test -n "$file_magic_test_file"; then
   9000	case $deplibs_check_method in
   9001	"file_magic "*)
   9002	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9003	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9004	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9005	    $EGREP "$file_magic_regex" > /dev/null; then
   9006	    :
   9007	  else
   9008	    cat <<_LT_EOF 1>&2
   9009
   9010*** Warning: the command libtool uses to detect shared libraries,
   9011*** $file_magic_cmd, produces output that libtool cannot recognize.
   9012*** The result is that libtool may fail to recognize shared libraries
   9013*** as such.  This will affect the creation of libtool libraries that
   9014*** depend on shared libraries, but programs linked with such libtool
   9015*** libraries will work regardless of this problem.  Nevertheless, you
   9016*** may want to report the problem to your system manager and/or to
   9017*** bug-libtool@gnu.org
   9018
   9019_LT_EOF
   9020	  fi ;;
   9021	esac
   9022      fi
   9023      break
   9024    fi
   9025  done
   9026  IFS=$lt_save_ifs
   9027  MAGIC_CMD=$lt_save_MAGIC_CMD
   9028  ;;
   9029esac
   9030fi
   9031
   9032MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9033if test -n "$MAGIC_CMD"; then
   9034  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9035printf "%s\n" "$MAGIC_CMD" >&6; }
   9036else
   9037  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9038printf "%s\n" "no" >&6; }
   9039fi
   9040
   9041
   9042
   9043
   9044
   9045if test -z "$lt_cv_path_MAGIC_CMD"; then
   9046  if test -n "$ac_tool_prefix"; then
   9047    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9048printf %s "checking for file... " >&6; }
   9049if test ${lt_cv_path_MAGIC_CMD+y}
   9050then :
   9051  printf %s "(cached) " >&6
   9052else $as_nop
   9053  case $MAGIC_CMD in
   9054[\\/*] |  ?:[\\/]*)
   9055  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9056  ;;
   9057*)
   9058  lt_save_MAGIC_CMD=$MAGIC_CMD
   9059  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9060  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9061  for ac_dir in $ac_dummy; do
   9062    IFS=$lt_save_ifs
   9063    test -z "$ac_dir" && ac_dir=.
   9064    if test -f "$ac_dir/file"; then
   9065      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9066      if test -n "$file_magic_test_file"; then
   9067	case $deplibs_check_method in
   9068	"file_magic "*)
   9069	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9070	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9071	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9072	    $EGREP "$file_magic_regex" > /dev/null; then
   9073	    :
   9074	  else
   9075	    cat <<_LT_EOF 1>&2
   9076
   9077*** Warning: the command libtool uses to detect shared libraries,
   9078*** $file_magic_cmd, produces output that libtool cannot recognize.
   9079*** The result is that libtool may fail to recognize shared libraries
   9080*** as such.  This will affect the creation of libtool libraries that
   9081*** depend on shared libraries, but programs linked with such libtool
   9082*** libraries will work regardless of this problem.  Nevertheless, you
   9083*** may want to report the problem to your system manager and/or to
   9084*** bug-libtool@gnu.org
   9085
   9086_LT_EOF
   9087	  fi ;;
   9088	esac
   9089      fi
   9090      break
   9091    fi
   9092  done
   9093  IFS=$lt_save_ifs
   9094  MAGIC_CMD=$lt_save_MAGIC_CMD
   9095  ;;
   9096esac
   9097fi
   9098
   9099MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9100if test -n "$MAGIC_CMD"; then
   9101  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9102printf "%s\n" "$MAGIC_CMD" >&6; }
   9103else
   9104  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9105printf "%s\n" "no" >&6; }
   9106fi
   9107
   9108
   9109  else
   9110    MAGIC_CMD=:
   9111  fi
   9112fi
   9113
   9114  fi
   9115  ;;
   9116esac
   9117
   9118# Use C for the default configuration in the libtool script
   9119
   9120lt_save_CC=$CC
   9121ac_ext=c
   9122ac_cpp='$CPP $CPPFLAGS'
   9123ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9124ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9125ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9126
   9127
   9128# Source file extension for C test sources.
   9129ac_ext=c
   9130
   9131# Object file extension for compiled C test sources.
   9132objext=o
   9133objext=$objext
   9134
   9135# Code to be used in simple compile tests
   9136lt_simple_compile_test_code="int some_variable = 0;"
   9137
   9138# Code to be used in simple link tests
   9139lt_simple_link_test_code='int main(){return(0);}'
   9140
   9141
   9142
   9143
   9144
   9145
   9146
   9147# If no C compiler was specified, use CC.
   9148LTCC=${LTCC-"$CC"}
   9149
   9150# If no C compiler flags were specified, use CFLAGS.
   9151LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9152
   9153# Allow CC to be a program name with arguments.
   9154compiler=$CC
   9155
   9156# Save the default compiler, since it gets overwritten when the other
   9157# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9158compiler_DEFAULT=$CC
   9159
   9160# save warnings/boilerplate of simple test code
   9161ac_outfile=conftest.$ac_objext
   9162echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9163eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9164_lt_compiler_boilerplate=`cat conftest.err`
   9165$RM conftest*
   9166
   9167ac_outfile=conftest.$ac_objext
   9168echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9169eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9170_lt_linker_boilerplate=`cat conftest.err`
   9171$RM -r conftest*
   9172
   9173
   9174## CAVEAT EMPTOR:
   9175## There is no encapsulation within the following macros, do not change
   9176## the running order or otherwise move them around unless you know exactly
   9177## what you are doing...
   9178if test -n "$compiler"; then
   9179
   9180lt_prog_compiler_no_builtin_flag=
   9181
   9182if test yes = "$GCC"; then
   9183  case $cc_basename in
   9184  nvcc*)
   9185    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9186  *)
   9187    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9188  esac
   9189
   9190  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9191printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9192if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9193then :
   9194  printf %s "(cached) " >&6
   9195else $as_nop
   9196  lt_cv_prog_compiler_rtti_exceptions=no
   9197   ac_outfile=conftest.$ac_objext
   9198   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9199   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9200   # Insert the option either (1) after the last *FLAGS variable, or
   9201   # (2) before a word containing "conftest.", or (3) at the end.
   9202   # Note that $ac_compile itself does not contain backslashes and begins
   9203   # with a dollar sign (not a hyphen), so the echo should work correctly.
   9204   # The option is referenced via a variable to avoid confusing sed.
   9205   lt_compile=`echo "$ac_compile" | $SED \
   9206   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9207   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9208   -e 's:$: $lt_compiler_flag:'`
   9209   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9210   (eval "$lt_compile" 2>conftest.err)
   9211   ac_status=$?
   9212   cat conftest.err >&5
   9213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9214   if (exit $ac_status) && test -s "$ac_outfile"; then
   9215     # The compiler can only warn and ignore the option if not recognized
   9216     # So say no if there are warnings other than the usual output.
   9217     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9218     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9219     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9220       lt_cv_prog_compiler_rtti_exceptions=yes
   9221     fi
   9222   fi
   9223   $RM conftest*
   9224
   9225fi
   9226{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9227printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9228
   9229if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9230    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9231else
   9232    :
   9233fi
   9234
   9235fi
   9236
   9237
   9238
   9239
   9240
   9241
   9242  lt_prog_compiler_wl=
   9243lt_prog_compiler_pic=
   9244lt_prog_compiler_static=
   9245
   9246
   9247  if test yes = "$GCC"; then
   9248    lt_prog_compiler_wl='-Wl,'
   9249    lt_prog_compiler_static='-static'
   9250
   9251    case $host_os in
   9252      aix*)
   9253      # All AIX code is PIC.
   9254      if test ia64 = "$host_cpu"; then
   9255	# AIX 5 now supports IA64 processor
   9256	lt_prog_compiler_static='-Bstatic'
   9257      fi
   9258      lt_prog_compiler_pic='-fPIC'
   9259      ;;
   9260
   9261    amigaos*)
   9262      case $host_cpu in
   9263      powerpc)
   9264            # see comment about AmigaOS4 .so support
   9265            lt_prog_compiler_pic='-fPIC'
   9266        ;;
   9267      m68k)
   9268            # FIXME: we need at least 68020 code to build shared libraries, but
   9269            # adding the '-m68020' flag to GCC prevents building anything better,
   9270            # like '-m68040'.
   9271            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9272        ;;
   9273      esac
   9274      ;;
   9275
   9276    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9277      # PIC is the default for these OSes.
   9278      ;;
   9279
   9280    mingw* | cygwin* | pw32* | os2* | cegcc*)
   9281      # This hack is so that the source file can tell whether it is being
   9282      # built for inclusion in a dll (and should export symbols for example).
   9283      # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9284      # (--disable-auto-import) libraries
   9285      lt_prog_compiler_pic='-DDLL_EXPORT'
   9286      case $host_os in
   9287      os2*)
   9288	lt_prog_compiler_static='$wl-static'
   9289	;;
   9290      esac
   9291      ;;
   9292
   9293    darwin* | rhapsody*)
   9294      # PIC is the default on this platform
   9295      # Common symbols not allowed in MH_DYLIB files
   9296      lt_prog_compiler_pic='-fno-common'
   9297      ;;
   9298
   9299    haiku*)
   9300      # PIC is the default for Haiku.
   9301      # The "-static" flag exists, but is broken.
   9302      lt_prog_compiler_static=
   9303      ;;
   9304
   9305    hpux*)
   9306      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9307      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9308      # sets the default TLS model and affects inlining.
   9309      case $host_cpu in
   9310      hppa*64*)
   9311	# +Z the default
   9312	;;
   9313      *)
   9314	lt_prog_compiler_pic='-fPIC'
   9315	;;
   9316      esac
   9317      ;;
   9318
   9319    interix[3-9]*)
   9320      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9321      # Instead, we relocate shared libraries at runtime.
   9322      ;;
   9323
   9324    msdosdjgpp*)
   9325      # Just because we use GCC doesn't mean we suddenly get shared libraries
   9326      # on systems that don't support them.
   9327      lt_prog_compiler_can_build_shared=no
   9328      enable_shared=no
   9329      ;;
   9330
   9331    *nto* | *qnx*)
   9332      # QNX uses GNU C++, but need to define -shared option too, otherwise
   9333      # it will coredump.
   9334      lt_prog_compiler_pic='-fPIC -shared'
   9335      ;;
   9336
   9337    sysv4*MP*)
   9338      if test -d /usr/nec; then
   9339	lt_prog_compiler_pic=-Kconform_pic
   9340      fi
   9341      ;;
   9342
   9343    *)
   9344      lt_prog_compiler_pic='-fPIC'
   9345      ;;
   9346    esac
   9347
   9348    case $cc_basename in
   9349    nvcc*) # Cuda Compiler Driver 2.2
   9350      lt_prog_compiler_wl='-Xlinker '
   9351      if test -n "$lt_prog_compiler_pic"; then
   9352        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9353      fi
   9354      ;;
   9355    esac
   9356  else
   9357    # PORTME Check for flag to pass linker flags through the system compiler.
   9358    case $host_os in
   9359    aix*)
   9360      lt_prog_compiler_wl='-Wl,'
   9361      if test ia64 = "$host_cpu"; then
   9362	# AIX 5 now supports IA64 processor
   9363	lt_prog_compiler_static='-Bstatic'
   9364      else
   9365	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9366      fi
   9367      ;;
   9368
   9369    darwin* | rhapsody*)
   9370      # PIC is the default on this platform
   9371      # Common symbols not allowed in MH_DYLIB files
   9372      lt_prog_compiler_pic='-fno-common'
   9373      case $cc_basename in
   9374      nagfor*)
   9375        # NAG Fortran compiler
   9376        lt_prog_compiler_wl='-Wl,-Wl,,'
   9377        lt_prog_compiler_pic='-PIC'
   9378        lt_prog_compiler_static='-Bstatic'
   9379        ;;
   9380      esac
   9381      ;;
   9382
   9383    mingw* | cygwin* | pw32* | os2* | cegcc*)
   9384      # This hack is so that the source file can tell whether it is being
   9385      # built for inclusion in a dll (and should export symbols for example).
   9386      lt_prog_compiler_pic='-DDLL_EXPORT'
   9387      case $host_os in
   9388      os2*)
   9389	lt_prog_compiler_static='$wl-static'
   9390	;;
   9391      esac
   9392      ;;
   9393
   9394    hpux9* | hpux10* | hpux11*)
   9395      lt_prog_compiler_wl='-Wl,'
   9396      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9397      # not for PA HP-UX.
   9398      case $host_cpu in
   9399      hppa*64*|ia64*)
   9400	# +Z the default
   9401	;;
   9402      *)
   9403	lt_prog_compiler_pic='+Z'
   9404	;;
   9405      esac
   9406      # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9407      lt_prog_compiler_static='$wl-a ${wl}archive'
   9408      ;;
   9409
   9410    irix5* | irix6* | nonstopux*)
   9411      lt_prog_compiler_wl='-Wl,'
   9412      # PIC (with -KPIC) is the default.
   9413      lt_prog_compiler_static='-non_shared'
   9414      ;;
   9415
   9416    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9417      case $cc_basename in
   9418      # old Intel for x86_64, which still supported -KPIC.
   9419      ecc*)
   9420	lt_prog_compiler_wl='-Wl,'
   9421	lt_prog_compiler_pic='-KPIC'
   9422	lt_prog_compiler_static='-static'
   9423        ;;
   9424      # icc used to be incompatible with GCC.
   9425      # ICC 10 doesn't accept -KPIC any more.
   9426      icc* | ifort*)
   9427	lt_prog_compiler_wl='-Wl,'
   9428	lt_prog_compiler_pic='-fPIC'
   9429	lt_prog_compiler_static='-static'
   9430        ;;
   9431      # Lahey Fortran 8.1.
   9432      lf95*)
   9433	lt_prog_compiler_wl='-Wl,'
   9434	lt_prog_compiler_pic='--shared'
   9435	lt_prog_compiler_static='--static'
   9436	;;
   9437      nagfor*)
   9438	# NAG Fortran compiler
   9439	lt_prog_compiler_wl='-Wl,-Wl,,'
   9440	lt_prog_compiler_pic='-PIC'
   9441	lt_prog_compiler_static='-Bstatic'
   9442	;;
   9443      tcc*)
   9444	# Fabrice Bellard et al's Tiny C Compiler
   9445	lt_prog_compiler_wl='-Wl,'
   9446	lt_prog_compiler_pic='-fPIC'
   9447	lt_prog_compiler_static='-static'
   9448	;;
   9449      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9450        # Portland Group compilers (*not* the Pentium gcc compiler,
   9451	# which looks to be a dead project)
   9452	lt_prog_compiler_wl='-Wl,'
   9453	lt_prog_compiler_pic='-fpic'
   9454	lt_prog_compiler_static='-Bstatic'
   9455        ;;
   9456      ccc*)
   9457        lt_prog_compiler_wl='-Wl,'
   9458        # All Alpha code is PIC.
   9459        lt_prog_compiler_static='-non_shared'
   9460        ;;
   9461      xl* | bgxl* | bgf* | mpixl*)
   9462	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9463	lt_prog_compiler_wl='-Wl,'
   9464	lt_prog_compiler_pic='-qpic'
   9465	lt_prog_compiler_static='-qstaticlink'
   9466	;;
   9467      *)
   9468	case `$CC -V 2>&1 | $SED 5q` in
   9469	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9470	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9471	  lt_prog_compiler_pic='-KPIC'
   9472	  lt_prog_compiler_static='-Bstatic'
   9473	  lt_prog_compiler_wl=''
   9474	  ;;
   9475	*Sun\ F* | *Sun*Fortran*)
   9476	  lt_prog_compiler_pic='-KPIC'
   9477	  lt_prog_compiler_static='-Bstatic'
   9478	  lt_prog_compiler_wl='-Qoption ld '
   9479	  ;;
   9480	*Sun\ C*)
   9481	  # Sun C 5.9
   9482	  lt_prog_compiler_pic='-KPIC'
   9483	  lt_prog_compiler_static='-Bstatic'
   9484	  lt_prog_compiler_wl='-Wl,'
   9485	  ;;
   9486        *Intel*\ [CF]*Compiler*)
   9487	  lt_prog_compiler_wl='-Wl,'
   9488	  lt_prog_compiler_pic='-fPIC'
   9489	  lt_prog_compiler_static='-static'
   9490	  ;;
   9491	*Portland\ Group*)
   9492	  lt_prog_compiler_wl='-Wl,'
   9493	  lt_prog_compiler_pic='-fpic'
   9494	  lt_prog_compiler_static='-Bstatic'
   9495	  ;;
   9496	esac
   9497	;;
   9498      esac
   9499      ;;
   9500
   9501    newsos6)
   9502      lt_prog_compiler_pic='-KPIC'
   9503      lt_prog_compiler_static='-Bstatic'
   9504      ;;
   9505
   9506    *nto* | *qnx*)
   9507      # QNX uses GNU C++, but need to define -shared option too, otherwise
   9508      # it will coredump.
   9509      lt_prog_compiler_pic='-fPIC -shared'
   9510      ;;
   9511
   9512    osf3* | osf4* | osf5*)
   9513      lt_prog_compiler_wl='-Wl,'
   9514      # All OSF/1 code is PIC.
   9515      lt_prog_compiler_static='-non_shared'
   9516      ;;
   9517
   9518    rdos*)
   9519      lt_prog_compiler_static='-non_shared'
   9520      ;;
   9521
   9522    solaris*)
   9523      lt_prog_compiler_pic='-KPIC'
   9524      lt_prog_compiler_static='-Bstatic'
   9525      case $cc_basename in
   9526      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9527	lt_prog_compiler_wl='-Qoption ld ';;
   9528      *)
   9529	lt_prog_compiler_wl='-Wl,';;
   9530      esac
   9531      ;;
   9532
   9533    sunos4*)
   9534      lt_prog_compiler_wl='-Qoption ld '
   9535      lt_prog_compiler_pic='-PIC'
   9536      lt_prog_compiler_static='-Bstatic'
   9537      ;;
   9538
   9539    sysv4 | sysv4.2uw2* | sysv4.3*)
   9540      lt_prog_compiler_wl='-Wl,'
   9541      lt_prog_compiler_pic='-KPIC'
   9542      lt_prog_compiler_static='-Bstatic'
   9543      ;;
   9544
   9545    sysv4*MP*)
   9546      if test -d /usr/nec; then
   9547	lt_prog_compiler_pic='-Kconform_pic'
   9548	lt_prog_compiler_static='-Bstatic'
   9549      fi
   9550      ;;
   9551
   9552    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9553      lt_prog_compiler_wl='-Wl,'
   9554      lt_prog_compiler_pic='-KPIC'
   9555      lt_prog_compiler_static='-Bstatic'
   9556      ;;
   9557
   9558    unicos*)
   9559      lt_prog_compiler_wl='-Wl,'
   9560      lt_prog_compiler_can_build_shared=no
   9561      ;;
   9562
   9563    uts4*)
   9564      lt_prog_compiler_pic='-pic'
   9565      lt_prog_compiler_static='-Bstatic'
   9566      ;;
   9567
   9568    *)
   9569      lt_prog_compiler_can_build_shared=no
   9570      ;;
   9571    esac
   9572  fi
   9573
   9574case $host_os in
   9575  # For platforms that do not support PIC, -DPIC is meaningless:
   9576  *djgpp*)
   9577    lt_prog_compiler_pic=
   9578    ;;
   9579  *)
   9580    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9581    ;;
   9582esac
   9583
   9584{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9585printf %s "checking for $compiler option to produce PIC... " >&6; }
   9586if test ${lt_cv_prog_compiler_pic+y}
   9587then :
   9588  printf %s "(cached) " >&6
   9589else $as_nop
   9590  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9591fi
   9592{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9593printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9594lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9595
   9596#
   9597# Check to make sure the PIC flag actually works.
   9598#
   9599if test -n "$lt_prog_compiler_pic"; then
   9600  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9601printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9602if test ${lt_cv_prog_compiler_pic_works+y}
   9603then :
   9604  printf %s "(cached) " >&6
   9605else $as_nop
   9606  lt_cv_prog_compiler_pic_works=no
   9607   ac_outfile=conftest.$ac_objext
   9608   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9609   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9610   # Insert the option either (1) after the last *FLAGS variable, or
   9611   # (2) before a word containing "conftest.", or (3) at the end.
   9612   # Note that $ac_compile itself does not contain backslashes and begins
   9613   # with a dollar sign (not a hyphen), so the echo should work correctly.
   9614   # The option is referenced via a variable to avoid confusing sed.
   9615   lt_compile=`echo "$ac_compile" | $SED \
   9616   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9617   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9618   -e 's:$: $lt_compiler_flag:'`
   9619   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9620   (eval "$lt_compile" 2>conftest.err)
   9621   ac_status=$?
   9622   cat conftest.err >&5
   9623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9624   if (exit $ac_status) && test -s "$ac_outfile"; then
   9625     # The compiler can only warn and ignore the option if not recognized
   9626     # So say no if there are warnings other than the usual output.
   9627     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9628     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9629     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9630       lt_cv_prog_compiler_pic_works=yes
   9631     fi
   9632   fi
   9633   $RM conftest*
   9634
   9635fi
   9636{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9637printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9638
   9639if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9640    case $lt_prog_compiler_pic in
   9641     "" | " "*) ;;
   9642     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9643     esac
   9644else
   9645    lt_prog_compiler_pic=
   9646     lt_prog_compiler_can_build_shared=no
   9647fi
   9648
   9649fi
   9650
   9651
   9652
   9653
   9654
   9655
   9656
   9657
   9658
   9659
   9660
   9661#
   9662# Check to make sure the static flag actually works.
   9663#
   9664wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9665{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9666printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9667if test ${lt_cv_prog_compiler_static_works+y}
   9668then :
   9669  printf %s "(cached) " >&6
   9670else $as_nop
   9671  lt_cv_prog_compiler_static_works=no
   9672   save_LDFLAGS=$LDFLAGS
   9673   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9674   echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9675   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9676     # The linker can only warn and ignore the option if not recognized
   9677     # So say no if there are warnings
   9678     if test -s conftest.err; then
   9679       # Append any errors to the config.log.
   9680       cat conftest.err 1>&5
   9681       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9682       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9683       if diff conftest.exp conftest.er2 >/dev/null; then
   9684         lt_cv_prog_compiler_static_works=yes
   9685       fi
   9686     else
   9687       lt_cv_prog_compiler_static_works=yes
   9688     fi
   9689   fi
   9690   $RM -r conftest*
   9691   LDFLAGS=$save_LDFLAGS
   9692
   9693fi
   9694{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9695printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9696
   9697if test yes = "$lt_cv_prog_compiler_static_works"; then
   9698    :
   9699else
   9700    lt_prog_compiler_static=
   9701fi
   9702
   9703
   9704
   9705
   9706
   9707
   9708
   9709  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9710printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9711if test ${lt_cv_prog_compiler_c_o+y}
   9712then :
   9713  printf %s "(cached) " >&6
   9714else $as_nop
   9715  lt_cv_prog_compiler_c_o=no
   9716   $RM -r conftest 2>/dev/null
   9717   mkdir conftest
   9718   cd conftest
   9719   mkdir out
   9720   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9721
   9722   lt_compiler_flag="-o out/conftest2.$ac_objext"
   9723   # Insert the option either (1) after the last *FLAGS variable, or
   9724   # (2) before a word containing "conftest.", or (3) at the end.
   9725   # Note that $ac_compile itself does not contain backslashes and begins
   9726   # with a dollar sign (not a hyphen), so the echo should work correctly.
   9727   lt_compile=`echo "$ac_compile" | $SED \
   9728   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9729   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9730   -e 's:$: $lt_compiler_flag:'`
   9731   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9732   (eval "$lt_compile" 2>out/conftest.err)
   9733   ac_status=$?
   9734   cat out/conftest.err >&5
   9735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9736   if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9737   then
   9738     # The compiler can only warn and ignore the option if not recognized
   9739     # So say no if there are warnings
   9740     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9741     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9742     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9743       lt_cv_prog_compiler_c_o=yes
   9744     fi
   9745   fi
   9746   chmod u+w . 2>&5
   9747   $RM conftest*
   9748   # SGI C++ compiler will create directory out/ii_files/ for
   9749   # template instantiation
   9750   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9751   $RM out/* && rmdir out
   9752   cd ..
   9753   $RM -r conftest
   9754   $RM conftest*
   9755
   9756fi
   9757{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9758printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9759
   9760
   9761
   9762
   9763
   9764
   9765  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9766printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9767if test ${lt_cv_prog_compiler_c_o+y}
   9768then :
   9769  printf %s "(cached) " >&6
   9770else $as_nop
   9771  lt_cv_prog_compiler_c_o=no
   9772   $RM -r conftest 2>/dev/null
   9773   mkdir conftest
   9774   cd conftest
   9775   mkdir out
   9776   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9777
   9778   lt_compiler_flag="-o out/conftest2.$ac_objext"
   9779   # Insert the option either (1) after the last *FLAGS variable, or
   9780   # (2) before a word containing "conftest.", or (3) at the end.
   9781   # Note that $ac_compile itself does not contain backslashes and begins
   9782   # with a dollar sign (not a hyphen), so the echo should work correctly.
   9783   lt_compile=`echo "$ac_compile" | $SED \
   9784   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9785   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9786   -e 's:$: $lt_compiler_flag:'`
   9787   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9788   (eval "$lt_compile" 2>out/conftest.err)
   9789   ac_status=$?
   9790   cat out/conftest.err >&5
   9791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9792   if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9793   then
   9794     # The compiler can only warn and ignore the option if not recognized
   9795     # So say no if there are warnings
   9796     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9797     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9798     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9799       lt_cv_prog_compiler_c_o=yes
   9800     fi
   9801   fi
   9802   chmod u+w . 2>&5
   9803   $RM conftest*
   9804   # SGI C++ compiler will create directory out/ii_files/ for
   9805   # template instantiation
   9806   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9807   $RM out/* && rmdir out
   9808   cd ..
   9809   $RM -r conftest
   9810   $RM conftest*
   9811
   9812fi
   9813{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9814printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9815
   9816
   9817
   9818
   9819hard_links=nottested
   9820if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9821  # do not overwrite the value of need_locks provided by the user
   9822  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9823printf %s "checking if we can lock with hard links... " >&6; }
   9824  hard_links=yes
   9825  $RM conftest*
   9826  ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9827  touch conftest.a
   9828  ln conftest.a conftest.b 2>&5 || hard_links=no
   9829  ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9830  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9831printf "%s\n" "$hard_links" >&6; }
   9832  if test no = "$hard_links"; then
   9833    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9834printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9835    need_locks=warn
   9836  fi
   9837else
   9838  need_locks=no
   9839fi
   9840
   9841
   9842
   9843
   9844
   9845
   9846  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9847printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9848
   9849  runpath_var=
   9850  allow_undefined_flag=
   9851  always_export_symbols=no
   9852  archive_cmds=
   9853  archive_expsym_cmds=
   9854  compiler_needs_object=no
   9855  enable_shared_with_static_runtimes=no
   9856  export_dynamic_flag_spec=
   9857  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9858  hardcode_automatic=no
   9859  hardcode_direct=no
   9860  hardcode_direct_absolute=no
   9861  hardcode_libdir_flag_spec=
   9862  hardcode_libdir_separator=
   9863  hardcode_minus_L=no
   9864  hardcode_shlibpath_var=unsupported
   9865  inherit_rpath=no
   9866  link_all_deplibs=unknown
   9867  module_cmds=
   9868  module_expsym_cmds=
   9869  old_archive_from_new_cmds=
   9870  old_archive_from_expsyms_cmds=
   9871  thread_safe_flag_spec=
   9872  whole_archive_flag_spec=
   9873  # include_expsyms should be a list of space-separated symbols to be *always*
   9874  # included in the symbol list
   9875  include_expsyms=
   9876  # exclude_expsyms can be an extended regexp of symbols to exclude
   9877  # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9878  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9879  # as well as any symbol that contains 'd'.
   9880  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9881  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9882  # platforms (ab)use it in PIC code, but their linkers get confused if
   9883  # the symbol is explicitly referenced.  Since portable code cannot
   9884  # rely on this symbol name, it's probably fine to never include it in
   9885  # preloaded symbol tables.
   9886  # Exclude shared library initialization/finalization symbols.
   9887  extract_expsyms_cmds=
   9888
   9889  case $host_os in
   9890  cygwin* | mingw* | pw32* | cegcc*)
   9891    # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9892    # When not using gcc, we currently assume that we are using
   9893    # Microsoft Visual C++ or Intel C++ Compiler.
   9894    if test yes != "$GCC"; then
   9895      with_gnu_ld=no
   9896    fi
   9897    ;;
   9898  interix*)
   9899    # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9900    with_gnu_ld=yes
   9901    ;;
   9902  openbsd* | bitrig*)
   9903    with_gnu_ld=no
   9904    ;;
   9905  esac
   9906
   9907  ld_shlibs=yes
   9908
   9909  # On some targets, GNU ld is compatible enough with the native linker
   9910  # that we're better off using the native interface for both.
   9911  lt_use_gnu_ld_interface=no
   9912  if test yes = "$with_gnu_ld"; then
   9913    case $host_os in
   9914      aix*)
   9915	# The AIX port of GNU ld has always aspired to compatibility
   9916	# with the native linker.  However, as the warning in the GNU ld
   9917	# block says, versions before 2.19.5* couldn't really create working
   9918	# shared libraries, regardless of the interface used.
   9919	case `$LD -v 2>&1` in
   9920	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9921	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9922	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9923	  *)
   9924	    lt_use_gnu_ld_interface=yes
   9925	    ;;
   9926	esac
   9927	;;
   9928      *)
   9929	lt_use_gnu_ld_interface=yes
   9930	;;
   9931    esac
   9932  fi
   9933
   9934  if test yes = "$lt_use_gnu_ld_interface"; then
   9935    # If archive_cmds runs LD, not CC, wlarc should be empty
   9936    wlarc='$wl'
   9937
   9938    # Set some defaults for GNU ld with shared library support. These
   9939    # are reset later if shared libraries are not supported. Putting them
   9940    # here allows them to be overridden if necessary.
   9941    runpath_var=LD_RUN_PATH
   9942    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9943    export_dynamic_flag_spec='$wl--export-dynamic'
   9944    # ancient GNU ld didn't support --whole-archive et. al.
   9945    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9946      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9947    else
   9948      whole_archive_flag_spec=
   9949    fi
   9950    supports_anon_versioning=no
   9951    case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9952      *GNU\ gold*) supports_anon_versioning=yes ;;
   9953      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9954      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9955      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9956      *\ 2.11.*) ;; # other 2.11 versions
   9957      *) supports_anon_versioning=yes ;;
   9958    esac
   9959
   9960    # See if GNU ld supports shared libraries.
   9961    case $host_os in
   9962    aix[3-9]*)
   9963      # On AIX/PPC, the GNU linker is very broken
   9964      if test ia64 != "$host_cpu"; then
   9965	ld_shlibs=no
   9966	cat <<_LT_EOF 1>&2
   9967
   9968*** Warning: the GNU linker, at least up to release 2.19, is reported
   9969*** to be unable to reliably create shared libraries on AIX.
   9970*** Therefore, libtool is disabling shared libraries support.  If you
   9971*** really care for shared libraries, you may want to install binutils
   9972*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9973*** You will then need to restart the configuration process.
   9974
   9975_LT_EOF
   9976      fi
   9977      ;;
   9978
   9979    amigaos*)
   9980      case $host_cpu in
   9981      powerpc)
   9982            # see comment about AmigaOS4 .so support
   9983            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9984            archive_expsym_cmds=''
   9985        ;;
   9986      m68k)
   9987            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   9988            hardcode_libdir_flag_spec='-L$libdir'
   9989            hardcode_minus_L=yes
   9990        ;;
   9991      esac
   9992      ;;
   9993
   9994    beos*)
   9995      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9996	allow_undefined_flag=unsupported
   9997	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
   9998	# support --undefined.  This deserves some investigation.  FIXME
   9999	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10000      else
  10001	ld_shlibs=no
  10002      fi
  10003      ;;
  10004
  10005    cygwin* | mingw* | pw32* | cegcc*)
  10006      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  10007      # as there is no search path for DLLs.
  10008      hardcode_libdir_flag_spec='-L$libdir'
  10009      export_dynamic_flag_spec='$wl--export-all-symbols'
  10010      allow_undefined_flag=unsupported
  10011      always_export_symbols=no
  10012      enable_shared_with_static_runtimes=yes
  10013      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  10014      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  10015
  10016      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  10017        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  10018	# If the export-symbols file already is a .def file, use it as
  10019	# is; otherwise, prepend EXPORTS...
  10020	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
  10021          cp $export_symbols $output_objdir/$soname.def;
  10022        else
  10023          echo EXPORTS > $output_objdir/$soname.def;
  10024          cat $export_symbols >> $output_objdir/$soname.def;
  10025        fi~
  10026        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  10027      else
  10028	ld_shlibs=no
  10029      fi
  10030      ;;
  10031
  10032    haiku*)
  10033      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10034      link_all_deplibs=yes
  10035      ;;
  10036
  10037    os2*)
  10038      hardcode_libdir_flag_spec='-L$libdir'
  10039      hardcode_minus_L=yes
  10040      allow_undefined_flag=unsupported
  10041      shrext_cmds=.dll
  10042      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  10043	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  10044	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  10045	$ECHO EXPORTS >> $output_objdir/$libname.def~
  10046	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  10047	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  10048	emximp -o $lib $output_objdir/$libname.def'
  10049      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  10050	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  10051	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  10052	$ECHO EXPORTS >> $output_objdir/$libname.def~
  10053	prefix_cmds="$SED"~
  10054	if test EXPORTS = "`$SED 1q $export_symbols`"; then
  10055	  prefix_cmds="$prefix_cmds -e 1d";
  10056	fi~
  10057	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  10058	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  10059	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  10060	emximp -o $lib $output_objdir/$libname.def'
  10061      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  10062      enable_shared_with_static_runtimes=yes
  10063      file_list_spec='@'
  10064      ;;
  10065
  10066    interix[3-9]*)
  10067      hardcode_direct=no
  10068      hardcode_shlibpath_var=no
  10069      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  10070      export_dynamic_flag_spec='$wl-E'
  10071      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  10072      # Instead, shared libraries are loaded at an image base (0x10000000 by
  10073      # default) and relocated if they conflict, which is a slow very memory
  10074      # consuming and fragmenting process.  To avoid this, we pick a random,
  10075      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  10076      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  10077      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  10078      archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  10079      ;;
  10080
  10081    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  10082      tmp_diet=no
  10083      if test linux-dietlibc = "$host_os"; then
  10084	case $cc_basename in
  10085	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
  10086	esac
  10087      fi
  10088      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  10089	 && test no = "$tmp_diet"
  10090      then
  10091	tmp_addflag=' $pic_flag'
  10092	tmp_sharedflag='-shared'
  10093	case $cc_basename,$host_cpu in
  10094        pgcc*)				# Portland Group C compiler
  10095	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  10096	  tmp_addflag=' $pic_flag'
  10097	  ;;
  10098	pgf77* | pgf90* | pgf95* | pgfortran*)
  10099					# Portland Group f77 and f90 compilers
  10100	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  10101	  tmp_addflag=' $pic_flag -Mnomain' ;;
  10102	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
  10103	  tmp_addflag=' -i_dynamic' ;;
  10104	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  10105	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  10106	ifc* | ifort*)			# Intel Fortran compiler
  10107	  tmp_addflag=' -nofor_main' ;;
  10108	lf95*)				# Lahey Fortran 8.1
  10109	  whole_archive_flag_spec=
  10110	  tmp_sharedflag='--shared' ;;
  10111        nagfor*)                        # NAGFOR 5.3
  10112          tmp_sharedflag='-Wl,-shared' ;;
  10113	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  10114	  tmp_sharedflag='-qmkshrobj'
  10115	  tmp_addflag= ;;
  10116	nvcc*)	# Cuda Compiler Driver 2.2
  10117	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  10118	  compiler_needs_object=yes
  10119	  ;;
  10120	esac
  10121	case `$CC -V 2>&1 | $SED 5q` in
  10122	*Sun\ C*)			# Sun C 5.9
  10123	  whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  10124	  compiler_needs_object=yes
  10125	  tmp_sharedflag='-G' ;;
  10126	*Sun\ F*)			# Sun Fortran 8.3
  10127	  tmp_sharedflag='-G' ;;
  10128	esac
  10129	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10130
  10131        if test yes = "$supports_anon_versioning"; then
  10132          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  10133            cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  10134            echo "local: *; };" >> $output_objdir/$libname.ver~
  10135            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  10136        fi
  10137
  10138	case $cc_basename in
  10139	tcc*)
  10140	  export_dynamic_flag_spec='-rdynamic'
  10141	  ;;
  10142	xlf* | bgf* | bgxlf* | mpixlf*)
  10143	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  10144	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  10145	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  10146	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  10147	  if test yes = "$supports_anon_versioning"; then
  10148	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  10149              cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  10150              echo "local: *; };" >> $output_objdir/$libname.ver~
  10151              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  10152	  fi
  10153	  ;;
  10154	esac
  10155      else
  10156        ld_shlibs=no
  10157      fi
  10158      ;;
  10159
  10160    netbsd*)
  10161      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  10162	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  10163	wlarc=
  10164      else
  10165	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10166	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  10167      fi
  10168      ;;
  10169
  10170    solaris*)
  10171      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  10172	ld_shlibs=no
  10173	cat <<_LT_EOF 1>&2
  10174
  10175*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  10176*** create shared libraries on Solaris systems.  Therefore, libtool
  10177*** is disabling shared libraries support.  We urge you to upgrade GNU
  10178*** binutils to release 2.9.1 or newer.  Another option is to modify
  10179*** your PATH or compiler configuration so that the native linker is
  10180*** used, and then restart.
  10181
  10182_LT_EOF
  10183      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  10184	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10185	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  10186      else
  10187	ld_shlibs=no
  10188      fi
  10189      ;;
  10190
  10191    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  10192      case `$LD -v 2>&1` in
  10193        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  10194	ld_shlibs=no
  10195	cat <<_LT_EOF 1>&2
  10196
  10197*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  10198*** reliably create shared libraries on SCO systems.  Therefore, libtool
  10199*** is disabling shared libraries support.  We urge you to upgrade GNU
  10200*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  10201*** your PATH or compiler configuration so that the native linker is
  10202*** used, and then restart.
  10203
  10204_LT_EOF
  10205	;;
  10206	*)
  10207	  # For security reasons, it is highly recommended that you always
  10208	  # use absolute paths for naming shared libraries, and exclude the
  10209	  # DT_RUNPATH tag from executables and libraries.  But doing so
  10210	  # requires that you compile everything twice, which is a pain.
  10211	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  10212	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  10213	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10214	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  10215	  else
  10216	    ld_shlibs=no
  10217	  fi
  10218	;;
  10219      esac
  10220      ;;
  10221
  10222    sunos4*)
  10223      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  10224      wlarc=
  10225      hardcode_direct=yes
  10226      hardcode_shlibpath_var=no
  10227      ;;
  10228
  10229    *)
  10230      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  10231	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10232	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  10233      else
  10234	ld_shlibs=no
  10235      fi
  10236      ;;
  10237    esac
  10238
  10239    if test no = "$ld_shlibs"; then
  10240      runpath_var=
  10241      hardcode_libdir_flag_spec=
  10242      export_dynamic_flag_spec=
  10243      whole_archive_flag_spec=
  10244    fi
  10245  else
  10246    # PORTME fill in a description of your system's linker (not GNU ld)
  10247    case $host_os in
  10248    aix3*)
  10249      allow_undefined_flag=unsupported
  10250      always_export_symbols=yes
  10251      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  10252      # Note: this linker hardcodes the directories in LIBPATH if there
  10253      # are no directories specified by -L.
  10254      hardcode_minus_L=yes
  10255      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  10256	# Neither direct hardcoding nor static linking is supported with a
  10257	# broken collect2.
  10258	hardcode_direct=unsupported
  10259      fi
  10260      ;;
  10261
  10262    aix[4-9]*)
  10263      if test ia64 = "$host_cpu"; then
  10264	# On IA64, the linker does run time linking by default, so we don't
  10265	# have to do anything special.
  10266	aix_use_runtimelinking=no
  10267	exp_sym_flag='-Bexport'
  10268	no_entry_flag=
  10269      else
  10270	# If we're using GNU nm, then we don't want the "-C" option.
  10271	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
  10272	# Without the "-l" option, or with the "-B" option, AIX nm treats
  10273	# weak defined symbols like other global defined symbols, whereas
  10274	# GNU nm marks them as "W".
  10275	# While the 'weak' keyword is ignored in the Export File, we need
  10276	# it in the Import File for the 'aix-soname' feature, so we have
  10277	# to replace the "-B" option with "-P" for AIX nm.
  10278	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  10279	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
  10280	else
  10281	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
  10282	fi
  10283	aix_use_runtimelinking=no
  10284
  10285	# Test if we are trying to use run time linking or normal
  10286	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  10287	# have runtime linking enabled, and use it for executables.
  10288	# For shared libraries, we enable/disable runtime linking
  10289	# depending on the kind of the shared library created -
  10290	# when "with_aix_soname,aix_use_runtimelinking" is:
  10291	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
  10292	# "aix,yes"  lib.so          shared, rtl:yes, for executables
  10293	#            lib.a           static archive
  10294	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
  10295	#            lib.a(lib.so.V) shared, rtl:no,  for executables
  10296	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  10297	#            lib.a(lib.so.V) shared, rtl:no
  10298	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
  10299	#            lib.a           static archive
  10300	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  10301	  for ld_flag in $LDFLAGS; do
  10302	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  10303	    aix_use_runtimelinking=yes
  10304	    break
  10305	  fi
  10306	  done
  10307	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  10308	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
  10309	    # so we don't have lib.a shared libs to link our executables.
  10310	    # We have to force runtime linking in this case.
  10311	    aix_use_runtimelinking=yes
  10312	    LDFLAGS="$LDFLAGS -Wl,-brtl"
  10313	  fi
  10314	  ;;
  10315	esac
  10316
  10317	exp_sym_flag='-bexport'
  10318	no_entry_flag='-bnoentry'
  10319      fi
  10320
  10321      # When large executables or shared objects are built, AIX ld can
  10322      # have problems creating the table of contents.  If linking a library
  10323      # or program results in "error TOC overflow" add -mminimal-toc to
  10324      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  10325      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  10326
  10327      archive_cmds=''
  10328      hardcode_direct=yes
  10329      hardcode_direct_absolute=yes
  10330      hardcode_libdir_separator=':'
  10331      link_all_deplibs=yes
  10332      file_list_spec='$wl-f,'
  10333      case $with_aix_soname,$aix_use_runtimelinking in
  10334      aix,*) ;; # traditional, no import file
  10335      svr4,* | *,yes) # use import file
  10336	# The Import File defines what to hardcode.
  10337	hardcode_direct=no
  10338	hardcode_direct_absolute=no
  10339	;;
  10340      esac
  10341
  10342      if test yes = "$GCC"; then
  10343	case $host_os in aix4.[012]|aix4.[012].*)
  10344	# We only want to do this on AIX 4.2 and lower, the check
  10345	# below for broken collect2 doesn't work under 4.3+
  10346	  collect2name=`$CC -print-prog-name=collect2`
  10347	  if test -f "$collect2name" &&
  10348	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  10349	  then
  10350	  # We have reworked collect2
  10351	  :
  10352	  else
  10353	  # We have old collect2
  10354	  hardcode_direct=unsupported
  10355	  # It fails to find uninstalled libraries when the uninstalled
  10356	  # path is not listed in the libpath.  Setting hardcode_minus_L
  10357	  # to unsupported forces relinking
  10358	  hardcode_minus_L=yes
  10359	  hardcode_libdir_flag_spec='-L$libdir'
  10360	  hardcode_libdir_separator=
  10361	  fi
  10362	  ;;
  10363	esac
  10364	shared_flag='-shared'
  10365	if test yes = "$aix_use_runtimelinking"; then
  10366	  shared_flag="$shared_flag "'$wl-G'
  10367	fi
  10368	# Need to ensure runtime linking is disabled for the traditional
  10369	# shared library, or the linker may eventually find shared libraries
  10370	# /with/ Import File - we do not want to mix them.
  10371	shared_flag_aix='-shared'
  10372	shared_flag_svr4='-shared $wl-G'
  10373      else
  10374	# not using gcc
  10375	if test ia64 = "$host_cpu"; then
  10376	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  10377	# chokes on -Wl,-G. The following line is correct:
  10378	  shared_flag='-G'
  10379	else
  10380	  if test yes = "$aix_use_runtimelinking"; then
  10381	    shared_flag='$wl-G'
  10382	  else
  10383	    shared_flag='$wl-bM:SRE'
  10384	  fi
  10385	  shared_flag_aix='$wl-bM:SRE'
  10386	  shared_flag_svr4='$wl-G'
  10387	fi
  10388      fi
  10389
  10390      export_dynamic_flag_spec='$wl-bexpall'
  10391      # It seems that -bexpall does not export symbols beginning with
  10392      # underscore (_), so it is better to generate a list of symbols to export.
  10393      always_export_symbols=yes
  10394      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  10395	# Warning - without using the other runtime loading flags (-brtl),
  10396	# -berok will link without error, but may produce a broken library.
  10397	allow_undefined_flag='-berok'
  10398        # Determine the default libpath from the value encoded in an
  10399        # empty executable.
  10400        if test set = "${lt_cv_aix_libpath+set}"; then
  10401  aix_libpath=$lt_cv_aix_libpath
  10402else
  10403  if test ${lt_cv_aix_libpath_+y}
  10404then :
  10405  printf %s "(cached) " >&6
  10406else $as_nop
  10407  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10408/* end confdefs.h.  */
  10409
  10410int
  10411main (void)
  10412{
  10413
  10414  ;
  10415  return 0;
  10416}
  10417_ACEOF
  10418if ac_fn_c_try_link "$LINENO"
  10419then :
  10420
  10421  lt_aix_libpath_sed='
  10422      /Import File Strings/,/^$/ {
  10423	  /^0/ {
  10424	      s/^0  *\([^ ]*\) *$/\1/
  10425	      p
  10426	  }
  10427      }'
  10428  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10429  # Check for a 64-bit object if we didn't find anything.
  10430  if test -z "$lt_cv_aix_libpath_"; then
  10431    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10432  fi
  10433fi
  10434rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10435    conftest$ac_exeext conftest.$ac_ext
  10436  if test -z "$lt_cv_aix_libpath_"; then
  10437    lt_cv_aix_libpath_=/usr/lib:/lib
  10438  fi
  10439
  10440fi
  10441
  10442  aix_libpath=$lt_cv_aix_libpath_
  10443fi
  10444
  10445        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  10446        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
  10447      else
  10448	if test ia64 = "$host_cpu"; then
  10449	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
  10450	  allow_undefined_flag="-z nodefs"
  10451	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
  10452	else
  10453	 # Determine the default libpath from the value encoded in an
  10454	 # empty executable.
  10455	 if test set = "${lt_cv_aix_libpath+set}"; then
  10456  aix_libpath=$lt_cv_aix_libpath
  10457else
  10458  if test ${lt_cv_aix_libpath_+y}
  10459then :
  10460  printf %s "(cached) " >&6
  10461else $as_nop
  10462  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10463/* end confdefs.h.  */
  10464
  10465int
  10466main (void)
  10467{
  10468
  10469  ;
  10470  return 0;
  10471}
  10472_ACEOF
  10473if ac_fn_c_try_link "$LINENO"
  10474then :
  10475
  10476  lt_aix_libpath_sed='
  10477      /Import File Strings/,/^$/ {
  10478	  /^0/ {
  10479	      s/^0  *\([^ ]*\) *$/\1/
  10480	      p
  10481	  }
  10482      }'
  10483  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10484  # Check for a 64-bit object if we didn't find anything.
  10485  if test -z "$lt_cv_aix_libpath_"; then
  10486    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10487  fi
  10488fi
  10489rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10490    conftest$ac_exeext conftest.$ac_ext
  10491  if test -z "$lt_cv_aix_libpath_"; then
  10492    lt_cv_aix_libpath_=/usr/lib:/lib
  10493  fi
  10494
  10495fi
  10496
  10497  aix_libpath=$lt_cv_aix_libpath_
  10498fi
  10499
  10500	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  10501	  # Warning - without using the other run time loading flags,
  10502	  # -berok will link without error, but may produce a broken library.
  10503	  no_undefined_flag=' $wl-bernotok'
  10504	  allow_undefined_flag=' $wl-berok'
  10505	  if test yes = "$with_gnu_ld"; then
  10506	    # We only use this code for GNU lds that support --whole-archive.
  10507	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  10508	  else
  10509	    # Exported symbols can be pulled into shared objects from archives
  10510	    whole_archive_flag_spec='$convenience'
  10511	  fi
  10512	  archive_cmds_need_lc=yes
  10513	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  10514	  # -brtl affects multiple linker settings, -berok does not and is overridden later
  10515	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
  10516	  if test svr4 != "$with_aix_soname"; then
  10517	    # This is similar to how AIX traditionally builds its shared libraries.
  10518	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
  10519	  fi
  10520	  if test aix != "$with_aix_soname"; then
  10521	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
  10522	  else
  10523	    # used by -dlpreopen to get the symbols
  10524	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
  10525	  fi
  10526	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
  10527	fi
  10528      fi
  10529      ;;
  10530
  10531    amigaos*)
  10532      case $host_cpu in
  10533      powerpc)
  10534            # see comment about AmigaOS4 .so support
  10535            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10536            archive_expsym_cmds=''
  10537        ;;
  10538      m68k)
  10539            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  10540            hardcode_libdir_flag_spec='-L$libdir'
  10541            hardcode_minus_L=yes
  10542        ;;
  10543      esac
  10544      ;;
  10545
  10546    bsdi[45]*)
  10547      export_dynamic_flag_spec=-rdynamic
  10548      ;;
  10549
  10550    cygwin* | mingw* | pw32* | cegcc*)
  10551      # When not using gcc, we currently assume that we are using
  10552      # Microsoft Visual C++ or Intel C++ Compiler.
  10553      # hardcode_libdir_flag_spec is actually meaningless, as there is
  10554      # no search path for DLLs.
  10555      case $cc_basename in
  10556      cl* | icl*)
  10557	# Native MSVC or ICC
  10558	hardcode_libdir_flag_spec=' '
  10559	allow_undefined_flag=unsupported
  10560	always_export_symbols=yes
  10561	file_list_spec='@'
  10562	# Tell ltmain to make .lib files, not .a files.
  10563	libext=lib
  10564	# Tell ltmain to make .dll files, not .so files.
  10565	shrext_cmds=.dll
  10566	# FIXME: Setting linknames here is a bad hack.
  10567	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  10568	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
  10569            cp "$export_symbols" "$output_objdir/$soname.def";
  10570            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  10571          else
  10572            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  10573          fi~
  10574          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  10575          linknames='
  10576	# The linker will not automatically build a static lib if we build a DLL.
  10577	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  10578	enable_shared_with_static_runtimes=yes
  10579	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  10580	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  10581	# Don't use ranlib
  10582	old_postinstall_cmds='chmod 644 $oldlib'
  10583	postlink_cmds='lt_outputfile="@OUTPUT@"~
  10584          lt_tool_outputfile="@TOOL_OUTPUT@"~
  10585          case $lt_outputfile in
  10586            *.exe|*.EXE) ;;
  10587            *)
  10588              lt_outputfile=$lt_outputfile.exe
  10589              lt_tool_outputfile=$lt_tool_outputfile.exe
  10590              ;;
  10591          esac~
  10592          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  10593            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  10594            $RM "$lt_outputfile.manifest";
  10595          fi'
  10596	;;
  10597      *)
  10598	# Assume MSVC and ICC wrapper
  10599	hardcode_libdir_flag_spec=' '
  10600	allow_undefined_flag=unsupported
  10601	# Tell ltmain to make .lib files, not .a files.
  10602	libext=lib
  10603	# Tell ltmain to make .dll files, not .so files.
  10604	shrext_cmds=.dll
  10605	# FIXME: Setting linknames here is a bad hack.
  10606	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  10607	# The linker will automatically build a .lib file if we build a DLL.
  10608	old_archive_from_new_cmds='true'
  10609	# FIXME: Should let the user specify the lib program.
  10610	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  10611	enable_shared_with_static_runtimes=yes
  10612	;;
  10613      esac
  10614      ;;
  10615
  10616    darwin* | rhapsody*)
  10617
  10618
  10619  archive_cmds_need_lc=no
  10620  hardcode_direct=no
  10621  hardcode_automatic=yes
  10622  hardcode_shlibpath_var=unsupported
  10623  if test yes = "$lt_cv_ld_force_load"; then
  10624    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  10625
  10626  else
  10627    whole_archive_flag_spec=''
  10628  fi
  10629  link_all_deplibs=yes
  10630  allow_undefined_flag=$_lt_dar_allow_undefined
  10631  case $cc_basename in
  10632     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  10633     *) _lt_dar_can_shared=$GCC ;;
  10634  esac
  10635  if test yes = "$_lt_dar_can_shared"; then
  10636    output_verbose_link_cmd=func_echo_all
  10637    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
  10638    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  10639    archive_expsym_cmds="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
  10640    module_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
  10641
  10642  else
  10643  ld_shlibs=no
  10644  fi
  10645
  10646      ;;
  10647
  10648    dgux*)
  10649      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10650      hardcode_libdir_flag_spec='-L$libdir'
  10651      hardcode_shlibpath_var=no
  10652      ;;
  10653
  10654    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  10655    # support.  Future versions do this automatically, but an explicit c++rt0.o
  10656    # does not break anything, and helps significantly (at the cost of a little
  10657    # extra space).
  10658    freebsd2.2*)
  10659      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  10660      hardcode_libdir_flag_spec='-R$libdir'
  10661      hardcode_direct=yes
  10662      hardcode_shlibpath_var=no
  10663      ;;
  10664
  10665    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  10666    freebsd2.*)
  10667      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  10668      hardcode_direct=yes
  10669      hardcode_minus_L=yes
  10670      hardcode_shlibpath_var=no
  10671      ;;
  10672
  10673    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  10674    freebsd* | dragonfly* | midnightbsd*)
  10675      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  10676      hardcode_libdir_flag_spec='-R$libdir'
  10677      hardcode_direct=yes
  10678      hardcode_shlibpath_var=no
  10679      ;;
  10680
  10681    hpux9*)
  10682      if test yes = "$GCC"; then
  10683	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  10684      else
  10685	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  10686      fi
  10687      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  10688      hardcode_libdir_separator=:
  10689      hardcode_direct=yes
  10690
  10691      # hardcode_minus_L: Not really in the search PATH,
  10692      # but as the default location of the library.
  10693      hardcode_minus_L=yes
  10694      export_dynamic_flag_spec='$wl-E'
  10695      ;;
  10696
  10697    hpux10*)
  10698      if test yes,no = "$GCC,$with_gnu_ld"; then
  10699	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  10700      else
  10701	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  10702      fi
  10703      if test no = "$with_gnu_ld"; then
  10704	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  10705	hardcode_libdir_separator=:
  10706	hardcode_direct=yes
  10707	hardcode_direct_absolute=yes
  10708	export_dynamic_flag_spec='$wl-E'
  10709	# hardcode_minus_L: Not really in the search PATH,
  10710	# but as the default location of the library.
  10711	hardcode_minus_L=yes
  10712      fi
  10713      ;;
  10714
  10715    hpux11*)
  10716      if test yes,no = "$GCC,$with_gnu_ld"; then
  10717	case $host_cpu in
  10718	hppa*64*)
  10719	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  10720	  ;;
  10721	ia64*)
  10722	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  10723	  ;;
  10724	*)
  10725	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  10726	  ;;
  10727	esac
  10728      else
  10729	case $host_cpu in
  10730	hppa*64*)
  10731	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  10732	  ;;
  10733	ia64*)
  10734	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  10735	  ;;
  10736	*)
  10737
  10738	  # Older versions of the 11.00 compiler do not understand -b yet
  10739	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  10740	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  10741printf %s "checking if $CC understands -b... " >&6; }
  10742if test ${lt_cv_prog_compiler__b+y}
  10743then :
  10744  printf %s "(cached) " >&6
  10745else $as_nop
  10746  lt_cv_prog_compiler__b=no
  10747   save_LDFLAGS=$LDFLAGS
  10748   LDFLAGS="$LDFLAGS -b"
  10749   echo "$lt_simple_link_test_code" > conftest.$ac_ext
  10750   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  10751     # The linker can only warn and ignore the option if not recognized
  10752     # So say no if there are warnings
  10753     if test -s conftest.err; then
  10754       # Append any errors to the config.log.
  10755       cat conftest.err 1>&5
  10756       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  10757       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  10758       if diff conftest.exp conftest.er2 >/dev/null; then
  10759         lt_cv_prog_compiler__b=yes
  10760       fi
  10761     else
  10762       lt_cv_prog_compiler__b=yes
  10763     fi
  10764   fi
  10765   $RM -r conftest*
  10766   LDFLAGS=$save_LDFLAGS
  10767
  10768fi
  10769{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  10770printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
  10771
  10772if test yes = "$lt_cv_prog_compiler__b"; then
  10773    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  10774else
  10775    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  10776fi
  10777
  10778	  ;;
  10779	esac
  10780      fi
  10781      if test no = "$with_gnu_ld"; then
  10782	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  10783	hardcode_libdir_separator=:
  10784
  10785	case $host_cpu in
  10786	hppa*64*|ia64*)
  10787	  hardcode_direct=no
  10788	  hardcode_shlibpath_var=no
  10789	  ;;
  10790	*)
  10791	  hardcode_direct=yes
  10792	  hardcode_direct_absolute=yes
  10793	  export_dynamic_flag_spec='$wl-E'
  10794
  10795	  # hardcode_minus_L: Not really in the search PATH,
  10796	  # but as the default location of the library.
  10797	  hardcode_minus_L=yes
  10798	  ;;
  10799	esac
  10800      fi
  10801      ;;
  10802
  10803    irix5* | irix6* | nonstopux*)
  10804      if test yes = "$GCC"; then
  10805	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  10806	# Try to use the -exported_symbol ld option, if it does not
  10807	# work, assume that -exports_file does not work either and
  10808	# implicitly export all symbols.
  10809	# This should be the same for all languages, so no per-tag cache variable.
  10810	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  10811printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  10812if test ${lt_cv_irix_exported_symbol+y}
  10813then :
  10814  printf %s "(cached) " >&6
  10815else $as_nop
  10816  save_LDFLAGS=$LDFLAGS
  10817	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  10818	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10819/* end confdefs.h.  */
  10820int foo (void) { return 0; }
  10821_ACEOF
  10822if ac_fn_c_try_link "$LINENO"
  10823then :
  10824  lt_cv_irix_exported_symbol=yes
  10825else $as_nop
  10826  lt_cv_irix_exported_symbol=no
  10827fi
  10828rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10829    conftest$ac_exeext conftest.$ac_ext
  10830           LDFLAGS=$save_LDFLAGS
  10831fi
  10832{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  10833printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
  10834	if test yes = "$lt_cv_irix_exported_symbol"; then
  10835          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
  10836	fi
  10837      else
  10838	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  10839	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
  10840      fi
  10841      archive_cmds_need_lc='no'
  10842      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  10843      hardcode_libdir_separator=:
  10844      inherit_rpath=yes
  10845      link_all_deplibs=yes
  10846      ;;
  10847
  10848    linux*)
  10849      case $cc_basename in
  10850      tcc*)
  10851	# Fabrice Bellard et al's Tiny C Compiler
  10852	ld_shlibs=yes
  10853	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  10854	;;
  10855      esac
  10856      ;;
  10857
  10858    netbsd*)
  10859      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  10860	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  10861      else
  10862	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  10863      fi
  10864      hardcode_libdir_flag_spec='-R$libdir'
  10865      hardcode_direct=yes
  10866      hardcode_shlibpath_var=no
  10867      ;;
  10868
  10869    newsos6)
  10870      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10871      hardcode_direct=yes
  10872      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  10873      hardcode_libdir_separator=:
  10874      hardcode_shlibpath_var=no
  10875      ;;
  10876
  10877    *nto* | *qnx*)
  10878      ;;
  10879
  10880    openbsd* | bitrig*)
  10881      if test -f /usr/libexec/ld.so; then
  10882	hardcode_direct=yes
  10883	hardcode_shlibpath_var=no
  10884	hardcode_direct_absolute=yes
  10885	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  10886	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  10887	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  10888	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  10889	  export_dynamic_flag_spec='$wl-E'
  10890	else
  10891	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  10892	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  10893	fi
  10894      else
  10895	ld_shlibs=no
  10896      fi
  10897      ;;
  10898
  10899    os2*)
  10900      hardcode_libdir_flag_spec='-L$libdir'
  10901      hardcode_minus_L=yes
  10902      allow_undefined_flag=unsupported
  10903      shrext_cmds=.dll
  10904      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  10905	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  10906	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  10907	$ECHO EXPORTS >> $output_objdir/$libname.def~
  10908	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  10909	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  10910	emximp -o $lib $output_objdir/$libname.def'
  10911      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  10912	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  10913	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  10914	$ECHO EXPORTS >> $output_objdir/$libname.def~
  10915	prefix_cmds="$SED"~
  10916	if test EXPORTS = "`$SED 1q $export_symbols`"; then
  10917	  prefix_cmds="$prefix_cmds -e 1d";
  10918	fi~
  10919	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  10920	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  10921	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  10922	emximp -o $lib $output_objdir/$libname.def'
  10923      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  10924      enable_shared_with_static_runtimes=yes
  10925      file_list_spec='@'
  10926      ;;
  10927
  10928    osf3*)
  10929      if test yes = "$GCC"; then
  10930	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  10931	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  10932      else
  10933	allow_undefined_flag=' -expect_unresolved \*'
  10934	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  10935      fi
  10936      archive_cmds_need_lc='no'
  10937      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  10938      hardcode_libdir_separator=:
  10939      ;;
  10940
  10941    osf4* | osf5*)	# as osf3* with the addition of -msym flag
  10942      if test yes = "$GCC"; then
  10943	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  10944	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  10945	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  10946      else
  10947	allow_undefined_flag=' -expect_unresolved \*'
  10948	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  10949	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  10950          $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
  10951
  10952	# Both c and cxx compiler support -rpath directly
  10953	hardcode_libdir_flag_spec='-rpath $libdir'
  10954      fi
  10955      archive_cmds_need_lc='no'
  10956      hardcode_libdir_separator=:
  10957      ;;
  10958
  10959    solaris*)
  10960      no_undefined_flag=' -z defs'
  10961      if test yes = "$GCC"; then
  10962	wlarc='$wl'
  10963	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  10964	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  10965          $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  10966      else
  10967	case `$CC -V 2>&1` in
  10968	*"Compilers 5.0"*)
  10969	  wlarc=''
  10970	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10971	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  10972            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  10973	  ;;
  10974	*)
  10975	  wlarc='$wl'
  10976	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  10977	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  10978            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  10979	  ;;
  10980	esac
  10981      fi
  10982      hardcode_libdir_flag_spec='-R$libdir'
  10983      hardcode_shlibpath_var=no
  10984      case $host_os in
  10985      solaris2.[0-5] | solaris2.[0-5].*) ;;
  10986      *)
  10987	# The compiler driver will combine and reorder linker options,
  10988	# but understands '-z linker_flag'.  GCC discards it without '$wl',
  10989	# but is careful enough not to reorder.
  10990	# Supported since Solaris 2.6 (maybe 2.5.1?)
  10991	if test yes = "$GCC"; then
  10992	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  10993	else
  10994	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  10995	fi
  10996	;;
  10997      esac
  10998      link_all_deplibs=yes
  10999      ;;
  11000
  11001    sunos4*)
  11002      if test sequent = "$host_vendor"; then
  11003	# Use $CC to link under sequent, because it throws in some extra .o
  11004	# files that make .init and .fini sections work.
  11005	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  11006      else
  11007	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  11008      fi
  11009      hardcode_libdir_flag_spec='-L$libdir'
  11010      hardcode_direct=yes
  11011      hardcode_minus_L=yes
  11012      hardcode_shlibpath_var=no
  11013      ;;
  11014
  11015    sysv4)
  11016      case $host_vendor in
  11017	sni)
  11018	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11019	  hardcode_direct=yes # is this really true???
  11020	;;
  11021	siemens)
  11022	  ## LD is ld it makes a PLAMLIB
  11023	  ## CC just makes a GrossModule.
  11024	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  11025	  reload_cmds='$CC -r -o $output$reload_objs'
  11026	  hardcode_direct=no
  11027        ;;
  11028	motorola)
  11029	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11030	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  11031	;;
  11032      esac
  11033      runpath_var='LD_RUN_PATH'
  11034      hardcode_shlibpath_var=no
  11035      ;;
  11036
  11037    sysv4.3*)
  11038      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11039      hardcode_shlibpath_var=no
  11040      export_dynamic_flag_spec='-Bexport'
  11041      ;;
  11042
  11043    sysv4*MP*)
  11044      if test -d /usr/nec; then
  11045	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11046	hardcode_shlibpath_var=no
  11047	runpath_var=LD_RUN_PATH
  11048	hardcode_runpath_var=yes
  11049	ld_shlibs=yes
  11050      fi
  11051      ;;
  11052
  11053    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  11054      no_undefined_flag='$wl-z,text'
  11055      archive_cmds_need_lc=no
  11056      hardcode_shlibpath_var=no
  11057      runpath_var='LD_RUN_PATH'
  11058
  11059      if test yes = "$GCC"; then
  11060	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11061	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11062      else
  11063	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11064	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11065      fi
  11066      ;;
  11067
  11068    sysv5* | sco3.2v5* | sco5v6*)
  11069      # Note: We CANNOT use -z defs as we might desire, because we do not
  11070      # link with -lc, and that would cause any symbols used from libc to
  11071      # always be unresolved, which means just about no library would
  11072      # ever link correctly.  If we're not using GNU ld we use -z text
  11073      # though, which does catch some bad symbols but isn't as heavy-handed
  11074      # as -z defs.
  11075      no_undefined_flag='$wl-z,text'
  11076      allow_undefined_flag='$wl-z,nodefs'
  11077      archive_cmds_need_lc=no
  11078      hardcode_shlibpath_var=no
  11079      hardcode_libdir_flag_spec='$wl-R,$libdir'
  11080      hardcode_libdir_separator=':'
  11081      link_all_deplibs=yes
  11082      export_dynamic_flag_spec='$wl-Bexport'
  11083      runpath_var='LD_RUN_PATH'
  11084
  11085      if test yes = "$GCC"; then
  11086	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11087	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11088      else
  11089	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11090	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11091      fi
  11092      ;;
  11093
  11094    uts4*)
  11095      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11096      hardcode_libdir_flag_spec='-L$libdir'
  11097      hardcode_shlibpath_var=no
  11098      ;;
  11099
  11100    *)
  11101      ld_shlibs=no
  11102      ;;
  11103    esac
  11104
  11105    if test sni = "$host_vendor"; then
  11106      case $host in
  11107      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  11108	export_dynamic_flag_spec='$wl-Blargedynsym'
  11109	;;
  11110      esac
  11111    fi
  11112  fi
  11113
  11114{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  11115printf "%s\n" "$ld_shlibs" >&6; }
  11116test no = "$ld_shlibs" && can_build_shared=no
  11117
  11118with_gnu_ld=$with_gnu_ld
  11119
  11120
  11121
  11122
  11123
  11124
  11125
  11126
  11127
  11128
  11129
  11130
  11131
  11132
  11133
  11134#
  11135# Do we need to explicitly link libc?
  11136#
  11137case "x$archive_cmds_need_lc" in
  11138x|xyes)
  11139  # Assume -lc should be added
  11140  archive_cmds_need_lc=yes
  11141
  11142  if test yes,yes = "$GCC,$enable_shared"; then
  11143    case $archive_cmds in
  11144    *'~'*)
  11145      # FIXME: we may have to deal with multi-command sequences.
  11146      ;;
  11147    '$CC '*)
  11148      # Test whether the compiler implicitly links with -lc since on some
  11149      # systems, -lgcc has to come before -lc. If gcc already passes -lc
  11150      # to ld, don't add -lc before -lgcc.
  11151      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  11152printf %s "checking whether -lc should be explicitly linked in... " >&6; }
  11153if test ${lt_cv_archive_cmds_need_lc+y}
  11154then :
  11155  printf %s "(cached) " >&6
  11156else $as_nop
  11157  $RM conftest*
  11158	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  11159
  11160	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  11161  (eval $ac_compile) 2>&5
  11162  ac_status=$?
  11163  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11164  test $ac_status = 0; } 2>conftest.err; then
  11165	  soname=conftest
  11166	  lib=conftest
  11167	  libobjs=conftest.$ac_objext
  11168	  deplibs=
  11169	  wl=$lt_prog_compiler_wl
  11170	  pic_flag=$lt_prog_compiler_pic
  11171	  compiler_flags=-v
  11172	  linker_flags=-v
  11173	  verstring=
  11174	  output_objdir=.
  11175	  libname=conftest
  11176	  lt_save_allow_undefined_flag=$allow_undefined_flag
  11177	  allow_undefined_flag=
  11178	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  11179  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  11180  ac_status=$?
  11181  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11182  test $ac_status = 0; }
  11183	  then
  11184	    lt_cv_archive_cmds_need_lc=no
  11185	  else
  11186	    lt_cv_archive_cmds_need_lc=yes
  11187	  fi
  11188	  allow_undefined_flag=$lt_save_allow_undefined_flag
  11189	else
  11190	  cat conftest.err 1>&5
  11191	fi
  11192	$RM conftest*
  11193
  11194fi
  11195{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  11196printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
  11197      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  11198      ;;
  11199    esac
  11200  fi
  11201  ;;
  11202esac
  11203
  11204
  11205
  11206
  11207
  11208
  11209
  11210
  11211
  11212
  11213
  11214
  11215
  11216
  11217
  11218
  11219
  11220
  11221
  11222
  11223
  11224
  11225
  11226
  11227
  11228
  11229
  11230
  11231
  11232
  11233
  11234
  11235
  11236
  11237
  11238
  11239
  11240
  11241
  11242
  11243
  11244
  11245
  11246
  11247
  11248
  11249
  11250
  11251
  11252
  11253
  11254
  11255
  11256
  11257
  11258
  11259
  11260
  11261
  11262
  11263
  11264
  11265
  11266
  11267
  11268
  11269
  11270
  11271
  11272
  11273
  11274
  11275
  11276
  11277
  11278
  11279
  11280
  11281
  11282
  11283
  11284
  11285
  11286
  11287
  11288
  11289
  11290
  11291
  11292
  11293
  11294
  11295
  11296
  11297
  11298
  11299
  11300
  11301
  11302
  11303
  11304
  11305
  11306
  11307
  11308
  11309
  11310
  11311
  11312
  11313
  11314
  11315
  11316
  11317
  11318
  11319
  11320
  11321
  11322
  11323
  11324
  11325
  11326
  11327
  11328
  11329
  11330
  11331
  11332
  11333
  11334
  11335
  11336
  11337
  11338
  11339
  11340
  11341
  11342
  11343
  11344
  11345
  11346
  11347
  11348
  11349
  11350
  11351
  11352
  11353
  11354
  11355  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  11356printf %s "checking dynamic linker characteristics... " >&6; }
  11357
  11358if test yes = "$GCC"; then
  11359  case $host_os in
  11360    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  11361    *) lt_awk_arg='/^libraries:/' ;;
  11362  esac
  11363  case $host_os in
  11364    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
  11365    *) lt_sed_strip_eq='s|=/|/|g' ;;
  11366  esac
  11367  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  11368  case $lt_search_path_spec in
  11369  *\;*)
  11370    # if the path contains ";" then we assume it to be the separator
  11371    # otherwise default to the standard path separator (i.e. ":") - it is
  11372    # assumed that no part of a normal pathname contains ";" but that should
  11373    # okay in the real world where ";" in dirpaths is itself problematic.
  11374    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  11375    ;;
  11376  *)
  11377    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  11378    ;;
  11379  esac
  11380  # Ok, now we have the path, separated by spaces, we can step through it
  11381  # and add multilib dir if necessary...
  11382  lt_tmp_lt_search_path_spec=
  11383  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  11384  # ...but if some path component already ends with the multilib dir we assume
  11385  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  11386  case "$lt_multi_os_dir; $lt_search_path_spec " in
  11387  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  11388    lt_multi_os_dir=
  11389    ;;
  11390  esac
  11391  for lt_sys_path in $lt_search_path_spec; do
  11392    if test -d "$lt_sys_path$lt_multi_os_dir"; then
  11393      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  11394    elif test -n "$lt_multi_os_dir"; then
  11395      test -d "$lt_sys_path" && \
  11396	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  11397    fi
  11398  done
  11399  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  11400BEGIN {RS = " "; FS = "/|\n";} {
  11401  lt_foo = "";
  11402  lt_count = 0;
  11403  for (lt_i = NF; lt_i > 0; lt_i--) {
  11404    if ($lt_i != "" && $lt_i != ".") {
  11405      if ($lt_i == "..") {
  11406        lt_count++;
  11407      } else {
  11408        if (lt_count == 0) {
  11409          lt_foo = "/" $lt_i lt_foo;
  11410        } else {
  11411          lt_count--;
  11412        }
  11413      }
  11414    }
  11415  }
  11416  if (lt_foo != "") { lt_freq[lt_foo]++; }
  11417  if (lt_freq[lt_foo] == 1) { print lt_foo; }
  11418}'`
  11419  # AWK program above erroneously prepends '/' to C:/dos/paths
  11420  # for these hosts.
  11421  case $host_os in
  11422    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  11423      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
  11424  esac
  11425  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  11426else
  11427  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  11428fi
  11429library_names_spec=
  11430libname_spec='lib$name'
  11431soname_spec=
  11432shrext_cmds=.so
  11433postinstall_cmds=
  11434postuninstall_cmds=
  11435finish_cmds=
  11436finish_eval=
  11437shlibpath_var=
  11438shlibpath_overrides_runpath=unknown
  11439version_type=none
  11440dynamic_linker="$host_os ld.so"
  11441sys_lib_dlsearch_path_spec="/lib /usr/lib"
  11442need_lib_prefix=unknown
  11443hardcode_into_libs=no
  11444
  11445# when you set need_version to no, make sure it does not cause -set_version
  11446# flags to be left without arguments
  11447need_version=unknown
  11448
  11449
  11450
  11451case $host_os in
  11452aix3*)
  11453  version_type=linux # correct to gnu/linux during the next big refactor
  11454  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  11455  shlibpath_var=LIBPATH
  11456
  11457  # AIX 3 has no versioning support, so we append a major version to the name.
  11458  soname_spec='$libname$release$shared_ext$major'
  11459  ;;
  11460
  11461aix[4-9]*)
  11462  version_type=linux # correct to gnu/linux during the next big refactor
  11463  need_lib_prefix=no
  11464  need_version=no
  11465  hardcode_into_libs=yes
  11466  if test ia64 = "$host_cpu"; then
  11467    # AIX 5 supports IA64
  11468    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
  11469    shlibpath_var=LD_LIBRARY_PATH
  11470  else
  11471    # With GCC up to 2.95.x, collect2 would create an import file
  11472    # for dependence libraries.  The import file would start with
  11473    # the line '#! .'.  This would cause the generated library to
  11474    # depend on '.', always an invalid library.  This was fixed in
  11475    # development snapshots of GCC prior to 3.0.
  11476    case $host_os in
  11477      aix4 | aix4.[01] | aix4.[01].*)
  11478      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  11479	   echo ' yes '
  11480	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
  11481	:
  11482      else
  11483	can_build_shared=no
  11484      fi
  11485      ;;
  11486    esac
  11487    # Using Import Files as archive members, it is possible to support
  11488    # filename-based versioning of shared library archives on AIX. While
  11489    # this would work for both with and without runtime linking, it will
  11490    # prevent static linking of such archives. So we do filename-based
  11491    # shared library versioning with .so extension only, which is used
  11492    # when both runtime linking and shared linking is enabled.
  11493    # Unfortunately, runtime linking may impact performance, so we do
  11494    # not want this to be the default eventually. Also, we use the
  11495    # versioned .so libs for executables only if there is the -brtl
  11496    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
  11497    # To allow for filename-based versioning support, we need to create
  11498    # libNAME.so.V as an archive file, containing:
  11499    # *) an Import File, referring to the versioned filename of the
  11500    #    archive as well as the shared archive member, telling the
  11501    #    bitwidth (32 or 64) of that shared object, and providing the
  11502    #    list of exported symbols of that shared object, eventually
  11503    #    decorated with the 'weak' keyword
  11504    # *) the shared object with the F_LOADONLY flag set, to really avoid
  11505    #    it being seen by the linker.
  11506    # At run time we better use the real file rather than another symlink,
  11507    # but for link time we create the symlink libNAME.so -> libNAME.so.V
  11508
  11509    case $with_aix_soname,$aix_use_runtimelinking in
  11510    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
  11511    # soname into executable. Probably we can add versioning support to
  11512    # collect2, so additional links can be useful in future.
  11513    aix,yes) # traditional libtool
  11514      dynamic_linker='AIX unversionable lib.so'
  11515      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  11516      # instead of lib<name>.a to let people know that these are not
  11517      # typical AIX shared libraries.
  11518      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  11519      ;;
  11520    aix,no) # traditional AIX only
  11521      dynamic_linker='AIX lib.a(lib.so.V)'
  11522      # We preserve .a as extension for shared libraries through AIX4.2
  11523      # and later when we are not doing run time linking.
  11524      library_names_spec='$libname$release.a $libname.a'
  11525      soname_spec='$libname$release$shared_ext$major'
  11526      ;;
  11527    svr4,*) # full svr4 only
  11528      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
  11529      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  11530      # We do not specify a path in Import Files, so LIBPATH fires.
  11531      shlibpath_overrides_runpath=yes
  11532      ;;
  11533    *,yes) # both, prefer svr4
  11534      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
  11535      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  11536      # unpreferred sharedlib libNAME.a needs extra handling
  11537      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
  11538      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
  11539      # We do not specify a path in Import Files, so LIBPATH fires.
  11540      shlibpath_overrides_runpath=yes
  11541      ;;
  11542    *,no) # both, prefer aix
  11543      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
  11544      library_names_spec='$libname$release.a $libname.a'
  11545      soname_spec='$libname$release$shared_ext$major'
  11546      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
  11547      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
  11548      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
  11549      ;;
  11550    esac
  11551    shlibpath_var=LIBPATH
  11552  fi
  11553  ;;
  11554
  11555amigaos*)
  11556  case $host_cpu in
  11557  powerpc)
  11558    # Since July 2007 AmigaOS4 officially supports .so libraries.
  11559    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  11560    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  11561    ;;
  11562  m68k)
  11563    library_names_spec='$libname.ixlibrary $libname.a'
  11564    # Create ${libname}_ixlibrary.a entries in /sys/libs.
  11565    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  11566    ;;
  11567  esac
  11568  ;;
  11569
  11570beos*)
  11571  library_names_spec='$libname$shared_ext'
  11572  dynamic_linker="$host_os ld.so"
  11573  shlibpath_var=LIBRARY_PATH
  11574  ;;
  11575
  11576bsdi[45]*)
  11577  version_type=linux # correct to gnu/linux during the next big refactor
  11578  need_version=no
  11579  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  11580  soname_spec='$libname$release$shared_ext$major'
  11581  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  11582  shlibpath_var=LD_LIBRARY_PATH
  11583  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  11584  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  11585  # the default ld.so.conf also contains /usr/contrib/lib and
  11586  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  11587  # libtool to hard-code these into programs
  11588  ;;
  11589
  11590cygwin* | mingw* | pw32* | cegcc*)
  11591  version_type=windows
  11592  shrext_cmds=.dll
  11593  need_version=no
  11594  need_lib_prefix=no
  11595
  11596  case $GCC,$cc_basename in
  11597  yes,*)
  11598    # gcc
  11599    library_names_spec='$libname.dll.a'
  11600    # DLL is installed to $(libdir)/../bin by postinstall_cmds
  11601    postinstall_cmds='base_file=`basename \$file`~
  11602      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  11603      dldir=$destdir/`dirname \$dlpath`~
  11604      test -d \$dldir || mkdir -p \$dldir~
  11605      $install_prog $dir/$dlname \$dldir/$dlname~
  11606      chmod a+x \$dldir/$dlname~
  11607      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  11608        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  11609      fi'
  11610    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  11611      dlpath=$dir/\$dldll~
  11612       $RM \$dlpath'
  11613    shlibpath_overrides_runpath=yes
  11614
  11615    case $host_os in
  11616    cygwin*)
  11617      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  11618      soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  11619
  11620      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  11621      ;;
  11622    mingw* | cegcc*)
  11623      # MinGW DLLs use traditional 'lib' prefix
  11624      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  11625      ;;
  11626    pw32*)
  11627      # pw32 DLLs use 'pw' prefix rather than 'lib'
  11628      library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  11629      ;;
  11630    esac
  11631    dynamic_linker='Win32 ld.exe'
  11632    ;;
  11633
  11634  *,cl* | *,icl*)
  11635    # Native MSVC or ICC
  11636    libname_spec='$name'
  11637    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  11638    library_names_spec='$libname.dll.lib'
  11639
  11640    case $build_os in
  11641    mingw*)
  11642      sys_lib_search_path_spec=
  11643      lt_save_ifs=$IFS
  11644      IFS=';'
  11645      for lt_path in $LIB
  11646      do
  11647        IFS=$lt_save_ifs
  11648        # Let DOS variable expansion print the short 8.3 style file name.
  11649        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  11650        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  11651      done
  11652      IFS=$lt_save_ifs
  11653      # Convert to MSYS style.
  11654      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  11655      ;;
  11656    cygwin*)
  11657      # Convert to unix form, then to dos form, then back to unix form
  11658      # but this time dos style (no spaces!) so that the unix form looks
  11659      # like /cygdrive/c/PROGRA~1:/cygdr...
  11660      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  11661      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  11662      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  11663      ;;
  11664    *)
  11665      sys_lib_search_path_spec=$LIB
  11666      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  11667        # It is most probably a Windows format PATH.
  11668        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  11669      else
  11670        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  11671      fi
  11672      # FIXME: find the short name or the path components, as spaces are
  11673      # common. (e.g. "Program Files" -> "PROGRA~1")
  11674      ;;
  11675    esac
  11676
  11677    # DLL is installed to $(libdir)/../bin by postinstall_cmds
  11678    postinstall_cmds='base_file=`basename \$file`~
  11679      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  11680      dldir=$destdir/`dirname \$dlpath`~
  11681      test -d \$dldir || mkdir -p \$dldir~
  11682      $install_prog $dir/$dlname \$dldir/$dlname'
  11683    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  11684      dlpath=$dir/\$dldll~
  11685       $RM \$dlpath'
  11686    shlibpath_overrides_runpath=yes
  11687    dynamic_linker='Win32 link.exe'
  11688    ;;
  11689
  11690  *)
  11691    # Assume MSVC and ICC wrapper
  11692    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
  11693    dynamic_linker='Win32 ld.exe'
  11694    ;;
  11695  esac
  11696  # FIXME: first we should search . and the directory the executable is in
  11697  shlibpath_var=PATH
  11698  ;;
  11699
  11700darwin* | rhapsody*)
  11701  dynamic_linker="$host_os dyld"
  11702  version_type=darwin
  11703  need_lib_prefix=no
  11704  need_version=no
  11705  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
  11706  soname_spec='$libname$release$major$shared_ext'
  11707  shlibpath_overrides_runpath=yes
  11708  shlibpath_var=DYLD_LIBRARY_PATH
  11709  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  11710
  11711  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  11712  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  11713  ;;
  11714
  11715dgux*)
  11716  version_type=linux # correct to gnu/linux during the next big refactor
  11717  need_lib_prefix=no
  11718  need_version=no
  11719  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  11720  soname_spec='$libname$release$shared_ext$major'
  11721  shlibpath_var=LD_LIBRARY_PATH
  11722  ;;
  11723
  11724freebsd* | dragonfly* | midnightbsd*)
  11725  # DragonFly does not have aout.  When/if they implement a new
  11726  # versioning mechanism, adjust this.
  11727  if test -x /usr/bin/objformat; then
  11728    objformat=`/usr/bin/objformat`
  11729  else
  11730    case $host_os in
  11731    freebsd[23].*) objformat=aout ;;
  11732    *) objformat=elf ;;
  11733    esac
  11734  fi
  11735  version_type=freebsd-$objformat
  11736  case $version_type in
  11737    freebsd-elf*)
  11738      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  11739      soname_spec='$libname$release$shared_ext$major'
  11740      need_version=no
  11741      need_lib_prefix=no
  11742      ;;
  11743    freebsd-*)
  11744      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  11745      need_version=yes
  11746      ;;
  11747  esac
  11748  shlibpath_var=LD_LIBRARY_PATH
  11749  case $host_os in
  11750  freebsd2.*)
  11751    shlibpath_overrides_runpath=yes
  11752    ;;
  11753  freebsd3.[01]* | freebsdelf3.[01]*)
  11754    shlibpath_overrides_runpath=yes
  11755    hardcode_into_libs=yes
  11756    ;;
  11757  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  11758  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  11759    shlibpath_overrides_runpath=no
  11760    hardcode_into_libs=yes
  11761    ;;
  11762  *) # from 4.6 on, and DragonFly
  11763    shlibpath_overrides_runpath=yes
  11764    hardcode_into_libs=yes
  11765    ;;
  11766  esac
  11767  ;;
  11768
  11769haiku*)
  11770  version_type=linux # correct to gnu/linux during the next big refactor
  11771  need_lib_prefix=no
  11772  need_version=no
  11773  dynamic_linker="$host_os runtime_loader"
  11774  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  11775  soname_spec='$libname$release$shared_ext$major'
  11776  shlibpath_var=LIBRARY_PATH
  11777  shlibpath_overrides_runpath=no
  11778  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  11779  hardcode_into_libs=yes
  11780  ;;
  11781
  11782hpux9* | hpux10* | hpux11*)
  11783  # Give a soname corresponding to the major version so that dld.sl refuses to
  11784  # link against other versions.
  11785  version_type=sunos
  11786  need_lib_prefix=no
  11787  need_version=no
  11788  case $host_cpu in
  11789  ia64*)
  11790    shrext_cmds='.so'
  11791    hardcode_into_libs=yes
  11792    dynamic_linker="$host_os dld.so"
  11793    shlibpath_var=LD_LIBRARY_PATH
  11794    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  11795    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  11796    soname_spec='$libname$release$shared_ext$major'
  11797    if test 32 = "$HPUX_IA64_MODE"; then
  11798      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  11799      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
  11800    else
  11801      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  11802      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
  11803    fi
  11804    ;;
  11805  hppa*64*)
  11806    shrext_cmds='.sl'
  11807    hardcode_into_libs=yes
  11808    dynamic_linker="$host_os dld.sl"
  11809    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  11810    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  11811    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  11812    soname_spec='$libname$release$shared_ext$major'
  11813    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  11814    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  11815    ;;
  11816  *)
  11817    shrext_cmds='.sl'
  11818    dynamic_linker="$host_os dld.sl"
  11819    shlibpath_var=SHLIB_PATH
  11820    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  11821    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  11822    soname_spec='$libname$release$shared_ext$major'
  11823    ;;
  11824  esac
  11825  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  11826  postinstall_cmds='chmod 555 $lib'
  11827  # or fails outright, so override atomically:
  11828  install_override_mode=555
  11829  ;;
  11830
  11831interix[3-9]*)
  11832  version_type=linux # correct to gnu/linux during the next big refactor
  11833  need_lib_prefix=no
  11834  need_version=no
  11835  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  11836  soname_spec='$libname$release$shared_ext$major'
  11837  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  11838  shlibpath_var=LD_LIBRARY_PATH
  11839  shlibpath_overrides_runpath=no
  11840  hardcode_into_libs=yes
  11841  ;;
  11842
  11843irix5* | irix6* | nonstopux*)
  11844  case $host_os in
  11845    nonstopux*) version_type=nonstopux ;;
  11846    *)
  11847	if test yes = "$lt_cv_prog_gnu_ld"; then
  11848		version_type=linux # correct to gnu/linux during the next big refactor
  11849	else
  11850		version_type=irix
  11851	fi ;;
  11852  esac
  11853  need_lib_prefix=no
  11854  need_version=no
  11855  soname_spec='$libname$release$shared_ext$major'
  11856  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
  11857  case $host_os in
  11858  irix5* | nonstopux*)
  11859    libsuff= shlibsuff=
  11860    ;;
  11861  *)
  11862    case $LD in # libtool.m4 will add one of these switches to LD
  11863    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  11864      libsuff= shlibsuff= libmagic=32-bit;;
  11865    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  11866      libsuff=32 shlibsuff=N32 libmagic=N32;;
  11867    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  11868      libsuff=64 shlibsuff=64 libmagic=64-bit;;
  11869    *) libsuff= shlibsuff= libmagic=never-match;;
  11870    esac
  11871    ;;
  11872  esac
  11873  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  11874  shlibpath_overrides_runpath=no
  11875  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
  11876  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
  11877  hardcode_into_libs=yes
  11878  ;;
  11879
  11880# No shared lib support for Linux oldld, aout, or coff.
  11881linux*oldld* | linux*aout* | linux*coff*)
  11882  dynamic_linker=no
  11883  ;;
  11884
  11885linux*android*)
  11886  version_type=none # Android doesn't support versioned libraries.
  11887  need_lib_prefix=no
  11888  need_version=no
  11889  library_names_spec='$libname$release$shared_ext'
  11890  soname_spec='$libname$release$shared_ext'
  11891  finish_cmds=
  11892  shlibpath_var=LD_LIBRARY_PATH
  11893  shlibpath_overrides_runpath=yes
  11894
  11895  # This implies no fast_install, which is unacceptable.
  11896  # Some rework will be needed to allow for fast_install
  11897  # before this can be enabled.
  11898  hardcode_into_libs=yes
  11899
  11900  dynamic_linker='Android linker'
  11901  # Don't embed -rpath directories since the linker doesn't support them.
  11902  hardcode_libdir_flag_spec='-L$libdir'
  11903  ;;
  11904
  11905# This must be glibc/ELF.
  11906linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  11907  version_type=linux # correct to gnu/linux during the next big refactor
  11908  need_lib_prefix=no
  11909  need_version=no
  11910  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  11911  soname_spec='$libname$release$shared_ext$major'
  11912  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  11913  shlibpath_var=LD_LIBRARY_PATH
  11914  shlibpath_overrides_runpath=no
  11915
  11916  # Some binutils ld are patched to set DT_RUNPATH
  11917  if test ${lt_cv_shlibpath_overrides_runpath+y}
  11918then :
  11919  printf %s "(cached) " >&6
  11920else $as_nop
  11921  lt_cv_shlibpath_overrides_runpath=no
  11922    save_LDFLAGS=$LDFLAGS
  11923    save_libdir=$libdir
  11924    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  11925	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  11926    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11927/* end confdefs.h.  */
  11928
  11929int
  11930main (void)
  11931{
  11932
  11933  ;
  11934  return 0;
  11935}
  11936_ACEOF
  11937if ac_fn_c_try_link "$LINENO"
  11938then :
  11939  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
  11940then :
  11941  lt_cv_shlibpath_overrides_runpath=yes
  11942fi
  11943fi
  11944rm -f core conftest.err conftest.$ac_objext conftest.beam \
  11945    conftest$ac_exeext conftest.$ac_ext
  11946    LDFLAGS=$save_LDFLAGS
  11947    libdir=$save_libdir
  11948
  11949fi
  11950
  11951  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  11952
  11953  # This implies no fast_install, which is unacceptable.
  11954  # Some rework will be needed to allow for fast_install
  11955  # before this can be enabled.
  11956  hardcode_into_libs=yes
  11957
  11958  # Add ABI-specific directories to the system library path.
  11959  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
  11960
  11961  # Ideally, we could use ldconfig to report *all* directores which are
  11962  # searched for libraries, however this is still not possible.  Aside from not
  11963  # being certain /sbin/ldconfig is available, command
  11964  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
  11965  # even though it is searched at run-time.  Try to do the best guess by
  11966  # appending ld.so.conf contents (and includes) to the search path.
  11967  if test -f /etc/ld.so.conf; then
  11968    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  11969    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
  11970  fi
  11971
  11972  # We used to test for /lib/ld.so.1 and disable shared libraries on
  11973  # powerpc, because MkLinux only supported shared libraries with the
  11974  # GNU dynamic linker.  Since this was broken with cross compilers,
  11975  # most powerpc-linux boxes support dynamic linking these days and
  11976  # people can always --disable-shared, the test was removed, and we
  11977  # assume the GNU/Linux dynamic linker is in use.
  11978  dynamic_linker='GNU/Linux ld.so'
  11979  ;;
  11980
  11981netbsd*)
  11982  version_type=sunos
  11983  need_lib_prefix=no
  11984  need_version=no
  11985  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  11986    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  11987    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  11988    dynamic_linker='NetBSD (a.out) ld.so'
  11989  else
  11990    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  11991    soname_spec='$libname$release$shared_ext$major'
  11992    dynamic_linker='NetBSD ld.elf_so'
  11993  fi
  11994  shlibpath_var=LD_LIBRARY_PATH
  11995  shlibpath_overrides_runpath=yes
  11996  hardcode_into_libs=yes
  11997  ;;
  11998
  11999newsos6)
  12000  version_type=linux # correct to gnu/linux during the next big refactor
  12001  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  12002  shlibpath_var=LD_LIBRARY_PATH
  12003  shlibpath_overrides_runpath=yes
  12004  ;;
  12005
  12006*nto* | *qnx*)
  12007  version_type=qnx
  12008  need_lib_prefix=no
  12009  need_version=no
  12010  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  12011  soname_spec='$libname$release$shared_ext$major'
  12012  shlibpath_var=LD_LIBRARY_PATH
  12013  shlibpath_overrides_runpath=no
  12014  hardcode_into_libs=yes
  12015  dynamic_linker='ldqnx.so'
  12016  ;;
  12017
  12018openbsd* | bitrig*)
  12019  version_type=sunos
  12020  sys_lib_dlsearch_path_spec=/usr/lib
  12021  need_lib_prefix=no
  12022  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  12023    need_version=no
  12024  else
  12025    need_version=yes
  12026  fi
  12027  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  12028  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  12029  shlibpath_var=LD_LIBRARY_PATH
  12030  shlibpath_overrides_runpath=yes
  12031  ;;
  12032
  12033os2*)
  12034  libname_spec='$name'
  12035  version_type=windows
  12036  shrext_cmds=.dll
  12037  need_version=no
  12038  need_lib_prefix=no
  12039  # OS/2 can only load a DLL with a base name of 8 characters or less.
  12040  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
  12041    v=$($ECHO $release$versuffix | tr -d .-);
  12042    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
  12043    $ECHO $n$v`$shared_ext'
  12044  library_names_spec='${libname}_dll.$libext'
  12045  dynamic_linker='OS/2 ld.exe'
  12046  shlibpath_var=BEGINLIBPATH
  12047  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  12048  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  12049  postinstall_cmds='base_file=`basename \$file`~
  12050    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
  12051    dldir=$destdir/`dirname \$dlpath`~
  12052    test -d \$dldir || mkdir -p \$dldir~
  12053    $install_prog $dir/$dlname \$dldir/$dlname~
  12054    chmod a+x \$dldir/$dlname~
  12055    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  12056      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  12057    fi'
  12058  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
  12059    dlpath=$dir/\$dldll~
  12060    $RM \$dlpath'
  12061  ;;
  12062
  12063osf3* | osf4* | osf5*)
  12064  version_type=osf
  12065  need_lib_prefix=no
  12066  need_version=no
  12067  soname_spec='$libname$release$shared_ext$major'
  12068  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  12069  shlibpath_var=LD_LIBRARY_PATH
  12070  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  12071  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  12072  ;;
  12073
  12074rdos*)
  12075  dynamic_linker=no
  12076  ;;
  12077
  12078solaris*)
  12079  version_type=linux # correct to gnu/linux during the next big refactor
  12080  need_lib_prefix=no
  12081  need_version=no
  12082  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  12083  soname_spec='$libname$release$shared_ext$major'
  12084  shlibpath_var=LD_LIBRARY_PATH
  12085  shlibpath_overrides_runpath=yes
  12086  hardcode_into_libs=yes
  12087  # ldd complains unless libraries are executable
  12088  postinstall_cmds='chmod +x $lib'
  12089  ;;
  12090
  12091sunos4*)
  12092  version_type=sunos
  12093  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  12094  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  12095  shlibpath_var=LD_LIBRARY_PATH
  12096  shlibpath_overrides_runpath=yes
  12097  if test yes = "$with_gnu_ld"; then
  12098    need_lib_prefix=no
  12099  fi
  12100  need_version=yes
  12101  ;;
  12102
  12103sysv4 | sysv4.3*)
  12104  version_type=linux # correct to gnu/linux during the next big refactor
  12105  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  12106  soname_spec='$libname$release$shared_ext$major'
  12107  shlibpath_var=LD_LIBRARY_PATH
  12108  case $host_vendor in
  12109    sni)
  12110      shlibpath_overrides_runpath=no
  12111      need_lib_prefix=no
  12112      runpath_var=LD_RUN_PATH
  12113      ;;
  12114    siemens)
  12115      need_lib_prefix=no
  12116      ;;
  12117    motorola)
  12118      need_lib_prefix=no
  12119      need_version=no
  12120      shlibpath_overrides_runpath=no
  12121      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  12122      ;;
  12123  esac
  12124  ;;
  12125
  12126sysv4*MP*)
  12127  if test -d /usr/nec; then
  12128    version_type=linux # correct to gnu/linux during the next big refactor
  12129    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
  12130    soname_spec='$libname$shared_ext.$major'
  12131    shlibpath_var=LD_LIBRARY_PATH
  12132  fi
  12133  ;;
  12134
  12135sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  12136  version_type=sco
  12137  need_lib_prefix=no
  12138  need_version=no
  12139  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  12140  soname_spec='$libname$release$shared_ext$major'
  12141  shlibpath_var=LD_LIBRARY_PATH
  12142  shlibpath_overrides_runpath=yes
  12143  hardcode_into_libs=yes
  12144  if test yes = "$with_gnu_ld"; then
  12145    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  12146  else
  12147    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  12148    case $host_os in
  12149      sco3.2v5*)
  12150        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  12151	;;
  12152    esac
  12153  fi
  12154  sys_lib_dlsearch_path_spec='/usr/lib'
  12155  ;;
  12156
  12157tpf*)
  12158  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
  12159  version_type=linux # correct to gnu/linux during the next big refactor
  12160  need_lib_prefix=no
  12161  need_version=no
  12162  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  12163  shlibpath_var=LD_LIBRARY_PATH
  12164  shlibpath_overrides_runpath=no
  12165  hardcode_into_libs=yes
  12166  ;;
  12167
  12168uts4*)
  12169  version_type=linux # correct to gnu/linux during the next big refactor
  12170  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  12171  soname_spec='$libname$release$shared_ext$major'
  12172  shlibpath_var=LD_LIBRARY_PATH
  12173  ;;
  12174
  12175*)
  12176  dynamic_linker=no
  12177  ;;
  12178esac
  12179{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  12180printf "%s\n" "$dynamic_linker" >&6; }
  12181test no = "$dynamic_linker" && can_build_shared=no
  12182
  12183variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  12184if test yes = "$GCC"; then
  12185  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  12186fi
  12187
  12188if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
  12189  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
  12190fi
  12191
  12192if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
  12193  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
  12194fi
  12195
  12196# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
  12197configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
  12198
  12199# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
  12200func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
  12201
  12202# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
  12203configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
  12204
  12205
  12206
  12207
  12208
  12209
  12210
  12211
  12212
  12213
  12214
  12215
  12216
  12217
  12218
  12219
  12220
  12221
  12222
  12223
  12224
  12225
  12226
  12227
  12228
  12229
  12230
  12231
  12232
  12233
  12234
  12235
  12236
  12237
  12238
  12239
  12240
  12241
  12242
  12243
  12244
  12245
  12246
  12247
  12248
  12249
  12250
  12251
  12252
  12253
  12254
  12255
  12256
  12257
  12258
  12259
  12260
  12261
  12262
  12263
  12264
  12265
  12266
  12267
  12268
  12269
  12270
  12271
  12272
  12273
  12274
  12275
  12276
  12277
  12278
  12279
  12280
  12281
  12282
  12283
  12284
  12285
  12286
  12287
  12288
  12289
  12290
  12291
  12292
  12293
  12294
  12295
  12296
  12297
  12298
  12299
  12300
  12301  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  12302printf %s "checking how to hardcode library paths into programs... " >&6; }
  12303hardcode_action=
  12304if test -n "$hardcode_libdir_flag_spec" ||
  12305   test -n "$runpath_var" ||
  12306   test yes = "$hardcode_automatic"; then
  12307
  12308  # We can hardcode non-existent directories.
  12309  if test no != "$hardcode_direct" &&
  12310     # If the only mechanism to avoid hardcoding is shlibpath_var, we
  12311     # have to relink, otherwise we might link with an installed library
  12312     # when we should be linking with a yet-to-be-installed one
  12313     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
  12314     test no != "$hardcode_minus_L"; then
  12315    # Linking always hardcodes the temporary library directory.
  12316    hardcode_action=relink
  12317  else
  12318    # We can link without hardcoding, and we can hardcode nonexisting dirs.
  12319    hardcode_action=immediate
  12320  fi
  12321else
  12322  # We cannot hardcode anything, or else we can only hardcode existing
  12323  # directories.
  12324  hardcode_action=unsupported
  12325fi
  12326{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  12327printf "%s\n" "$hardcode_action" >&6; }
  12328
  12329if test relink = "$hardcode_action" ||
  12330   test yes = "$inherit_rpath"; then
  12331  # Fast installation is not supported
  12332  enable_fast_install=no
  12333elif test yes = "$shlibpath_overrides_runpath" ||
  12334     test no = "$enable_shared"; then
  12335  # Fast installation is not necessary
  12336  enable_fast_install=needless
  12337fi
  12338
  12339
  12340
  12341
  12342
  12343
  12344  if test yes != "$enable_dlopen"; then
  12345  enable_dlopen=unknown
  12346  enable_dlopen_self=unknown
  12347  enable_dlopen_self_static=unknown
  12348else
  12349  lt_cv_dlopen=no
  12350  lt_cv_dlopen_libs=
  12351
  12352  case $host_os in
  12353  beos*)
  12354    lt_cv_dlopen=load_add_on
  12355    lt_cv_dlopen_libs=
  12356    lt_cv_dlopen_self=yes
  12357    ;;
  12358
  12359  mingw* | pw32* | cegcc*)
  12360    lt_cv_dlopen=LoadLibrary
  12361    lt_cv_dlopen_libs=
  12362    ;;
  12363
  12364  cygwin*)
  12365    lt_cv_dlopen=dlopen
  12366    lt_cv_dlopen_libs=
  12367    ;;
  12368
  12369  darwin*)
  12370    # if libdl is installed we need to link against it
  12371    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  12372printf %s "checking for dlopen in -ldl... " >&6; }
  12373if test ${ac_cv_lib_dl_dlopen+y}
  12374then :
  12375  printf %s "(cached) " >&6
  12376else $as_nop
  12377  ac_check_lib_save_LIBS=$LIBS
  12378LIBS="-ldl  $LIBS"
  12379cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12380/* end confdefs.h.  */
  12381
  12382/* Override any GCC internal prototype to avoid an error.
  12383   Use char because int might match the return type of a GCC
  12384   builtin and then its argument prototype would still apply.  */
  12385char dlopen ();
  12386int
  12387main (void)
  12388{
  12389return dlopen ();
  12390  ;
  12391  return 0;
  12392}
  12393_ACEOF
  12394if ac_fn_c_try_link "$LINENO"
  12395then :
  12396  ac_cv_lib_dl_dlopen=yes
  12397else $as_nop
  12398  ac_cv_lib_dl_dlopen=no
  12399fi
  12400rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12401    conftest$ac_exeext conftest.$ac_ext
  12402LIBS=$ac_check_lib_save_LIBS
  12403fi
  12404{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  12405printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
  12406if test "x$ac_cv_lib_dl_dlopen" = xyes
  12407then :
  12408  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  12409else $as_nop
  12410
  12411    lt_cv_dlopen=dyld
  12412    lt_cv_dlopen_libs=
  12413    lt_cv_dlopen_self=yes
  12414
  12415fi
  12416
  12417    ;;
  12418
  12419  tpf*)
  12420    # Don't try to run any link tests for TPF.  We know it's impossible
  12421    # because TPF is a cross-compiler, and we know how we open DSOs.
  12422    lt_cv_dlopen=dlopen
  12423    lt_cv_dlopen_libs=
  12424    lt_cv_dlopen_self=no
  12425    ;;
  12426
  12427  *)
  12428    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  12429if test "x$ac_cv_func_shl_load" = xyes
  12430then :
  12431  lt_cv_dlopen=shl_load
  12432else $as_nop
  12433  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  12434printf %s "checking for shl_load in -ldld... " >&6; }
  12435if test ${ac_cv_lib_dld_shl_load+y}
  12436then :
  12437  printf %s "(cached) " >&6
  12438else $as_nop
  12439  ac_check_lib_save_LIBS=$LIBS
  12440LIBS="-ldld  $LIBS"
  12441cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12442/* end confdefs.h.  */
  12443
  12444/* Override any GCC internal prototype to avoid an error.
  12445   Use char because int might match the return type of a GCC
  12446   builtin and then its argument prototype would still apply.  */
  12447char shl_load ();
  12448int
  12449main (void)
  12450{
  12451return shl_load ();
  12452  ;
  12453  return 0;
  12454}
  12455_ACEOF
  12456if ac_fn_c_try_link "$LINENO"
  12457then :
  12458  ac_cv_lib_dld_shl_load=yes
  12459else $as_nop
  12460  ac_cv_lib_dld_shl_load=no
  12461fi
  12462rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12463    conftest$ac_exeext conftest.$ac_ext
  12464LIBS=$ac_check_lib_save_LIBS
  12465fi
  12466{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  12467printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
  12468if test "x$ac_cv_lib_dld_shl_load" = xyes
  12469then :
  12470  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
  12471else $as_nop
  12472  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  12473if test "x$ac_cv_func_dlopen" = xyes
  12474then :
  12475  lt_cv_dlopen=dlopen
  12476else $as_nop
  12477  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  12478printf %s "checking for dlopen in -ldl... " >&6; }
  12479if test ${ac_cv_lib_dl_dlopen+y}
  12480then :
  12481  printf %s "(cached) " >&6
  12482else $as_nop
  12483  ac_check_lib_save_LIBS=$LIBS
  12484LIBS="-ldl  $LIBS"
  12485cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12486/* end confdefs.h.  */
  12487
  12488/* Override any GCC internal prototype to avoid an error.
  12489   Use char because int might match the return type of a GCC
  12490   builtin and then its argument prototype would still apply.  */
  12491char dlopen ();
  12492int
  12493main (void)
  12494{
  12495return dlopen ();
  12496  ;
  12497  return 0;
  12498}
  12499_ACEOF
  12500if ac_fn_c_try_link "$LINENO"
  12501then :
  12502  ac_cv_lib_dl_dlopen=yes
  12503else $as_nop
  12504  ac_cv_lib_dl_dlopen=no
  12505fi
  12506rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12507    conftest$ac_exeext conftest.$ac_ext
  12508LIBS=$ac_check_lib_save_LIBS
  12509fi
  12510{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  12511printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
  12512if test "x$ac_cv_lib_dl_dlopen" = xyes
  12513then :
  12514  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  12515else $as_nop
  12516  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  12517printf %s "checking for dlopen in -lsvld... " >&6; }
  12518if test ${ac_cv_lib_svld_dlopen+y}
  12519then :
  12520  printf %s "(cached) " >&6
  12521else $as_nop
  12522  ac_check_lib_save_LIBS=$LIBS
  12523LIBS="-lsvld  $LIBS"
  12524cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12525/* end confdefs.h.  */
  12526
  12527/* Override any GCC internal prototype to avoid an error.
  12528   Use char because int might match the return type of a GCC
  12529   builtin and then its argument prototype would still apply.  */
  12530char dlopen ();
  12531int
  12532main (void)
  12533{
  12534return dlopen ();
  12535  ;
  12536  return 0;
  12537}
  12538_ACEOF
  12539if ac_fn_c_try_link "$LINENO"
  12540then :
  12541  ac_cv_lib_svld_dlopen=yes
  12542else $as_nop
  12543  ac_cv_lib_svld_dlopen=no
  12544fi
  12545rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12546    conftest$ac_exeext conftest.$ac_ext
  12547LIBS=$ac_check_lib_save_LIBS
  12548fi
  12549{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  12550printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
  12551if test "x$ac_cv_lib_svld_dlopen" = xyes
  12552then :
  12553  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
  12554else $as_nop
  12555  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  12556printf %s "checking for dld_link in -ldld... " >&6; }
  12557if test ${ac_cv_lib_dld_dld_link+y}
  12558then :
  12559  printf %s "(cached) " >&6
  12560else $as_nop
  12561  ac_check_lib_save_LIBS=$LIBS
  12562LIBS="-ldld  $LIBS"
  12563cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12564/* end confdefs.h.  */
  12565
  12566/* Override any GCC internal prototype to avoid an error.
  12567   Use char because int might match the return type of a GCC
  12568   builtin and then its argument prototype would still apply.  */
  12569char dld_link ();
  12570int
  12571main (void)
  12572{
  12573return dld_link ();
  12574  ;
  12575  return 0;
  12576}
  12577_ACEOF
  12578if ac_fn_c_try_link "$LINENO"
  12579then :
  12580  ac_cv_lib_dld_dld_link=yes
  12581else $as_nop
  12582  ac_cv_lib_dld_dld_link=no
  12583fi
  12584rm -f core conftest.err conftest.$ac_objext conftest.beam \
  12585    conftest$ac_exeext conftest.$ac_ext
  12586LIBS=$ac_check_lib_save_LIBS
  12587fi
  12588{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  12589printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
  12590if test "x$ac_cv_lib_dld_dld_link" = xyes
  12591then :
  12592  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
  12593fi
  12594
  12595
  12596fi
  12597
  12598
  12599fi
  12600
  12601
  12602fi
  12603
  12604
  12605fi
  12606
  12607
  12608fi
  12609
  12610    ;;
  12611  esac
  12612
  12613  if test no = "$lt_cv_dlopen"; then
  12614    enable_dlopen=no
  12615  else
  12616    enable_dlopen=yes
  12617  fi
  12618
  12619  case $lt_cv_dlopen in
  12620  dlopen)
  12621    save_CPPFLAGS=$CPPFLAGS
  12622    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  12623
  12624    save_LDFLAGS=$LDFLAGS
  12625    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  12626
  12627    save_LIBS=$LIBS
  12628    LIBS="$lt_cv_dlopen_libs $LIBS"
  12629
  12630    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  12631printf %s "checking whether a program can dlopen itself... " >&6; }
  12632if test ${lt_cv_dlopen_self+y}
  12633then :
  12634  printf %s "(cached) " >&6
  12635else $as_nop
  12636  	  if test yes = "$cross_compiling"; then :
  12637  lt_cv_dlopen_self=cross
  12638else
  12639  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  12640  lt_status=$lt_dlunknown
  12641  cat > conftest.$ac_ext <<_LT_EOF
  12642#line $LINENO "configure"
  12643#include "confdefs.h"
  12644
  12645#if HAVE_DLFCN_H
  12646#include <dlfcn.h>
  12647#endif
  12648
  12649#include <stdio.h>
  12650
  12651#ifdef RTLD_GLOBAL
  12652#  define LT_DLGLOBAL		RTLD_GLOBAL
  12653#else
  12654#  ifdef DL_GLOBAL
  12655#    define LT_DLGLOBAL		DL_GLOBAL
  12656#  else
  12657#    define LT_DLGLOBAL		0
  12658#  endif
  12659#endif
  12660
  12661/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  12662   find out it does not work in some platform. */
  12663#ifndef LT_DLLAZY_OR_NOW
  12664#  ifdef RTLD_LAZY
  12665#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
  12666#  else
  12667#    ifdef DL_LAZY
  12668#      define LT_DLLAZY_OR_NOW		DL_LAZY
  12669#    else
  12670#      ifdef RTLD_NOW
  12671#        define LT_DLLAZY_OR_NOW	RTLD_NOW
  12672#      else
  12673#        ifdef DL_NOW
  12674#          define LT_DLLAZY_OR_NOW	DL_NOW
  12675#        else
  12676#          define LT_DLLAZY_OR_NOW	0
  12677#        endif
  12678#      endif
  12679#    endif
  12680#  endif
  12681#endif
  12682
  12683/* When -fvisibility=hidden is used, assume the code has been annotated
  12684   correspondingly for the symbols needed.  */
  12685#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  12686int fnord () __attribute__((visibility("default")));
  12687#endif
  12688
  12689int fnord () { return 42; }
  12690int main ()
  12691{
  12692  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  12693  int status = $lt_dlunknown;
  12694
  12695  if (self)
  12696    {
  12697      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
  12698      else
  12699        {
  12700	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
  12701          else puts (dlerror ());
  12702	}
  12703      /* dlclose (self); */
  12704    }
  12705  else
  12706    puts (dlerror ());
  12707
  12708  return status;
  12709}
  12710_LT_EOF
  12711  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  12712  (eval $ac_link) 2>&5
  12713  ac_status=$?
  12714  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12715  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  12716    (./conftest; exit; ) >&5 2>/dev/null
  12717    lt_status=$?
  12718    case x$lt_status in
  12719      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  12720      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  12721      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  12722    esac
  12723  else :
  12724    # compilation failed
  12725    lt_cv_dlopen_self=no
  12726  fi
  12727fi
  12728rm -fr conftest*
  12729
  12730
  12731fi
  12732{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  12733printf "%s\n" "$lt_cv_dlopen_self" >&6; }
  12734
  12735    if test yes = "$lt_cv_dlopen_self"; then
  12736      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  12737      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  12738printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
  12739if test ${lt_cv_dlopen_self_static+y}
  12740then :
  12741  printf %s "(cached) " >&6
  12742else $as_nop
  12743  	  if test yes = "$cross_compiling"; then :
  12744  lt_cv_dlopen_self_static=cross
  12745else
  12746  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  12747  lt_status=$lt_dlunknown
  12748  cat > conftest.$ac_ext <<_LT_EOF
  12749#line $LINENO "configure"
  12750#include "confdefs.h"
  12751
  12752#if HAVE_DLFCN_H
  12753#include <dlfcn.h>
  12754#endif
  12755
  12756#include <stdio.h>
  12757
  12758#ifdef RTLD_GLOBAL
  12759#  define LT_DLGLOBAL		RTLD_GLOBAL
  12760#else
  12761#  ifdef DL_GLOBAL
  12762#    define LT_DLGLOBAL		DL_GLOBAL
  12763#  else
  12764#    define LT_DLGLOBAL		0
  12765#  endif
  12766#endif
  12767
  12768/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  12769   find out it does not work in some platform. */
  12770#ifndef LT_DLLAZY_OR_NOW
  12771#  ifdef RTLD_LAZY
  12772#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
  12773#  else
  12774#    ifdef DL_LAZY
  12775#      define LT_DLLAZY_OR_NOW		DL_LAZY
  12776#    else
  12777#      ifdef RTLD_NOW
  12778#        define LT_DLLAZY_OR_NOW	RTLD_NOW
  12779#      else
  12780#        ifdef DL_NOW
  12781#          define LT_DLLAZY_OR_NOW	DL_NOW
  12782#        else
  12783#          define LT_DLLAZY_OR_NOW	0
  12784#        endif
  12785#      endif
  12786#    endif
  12787#  endif
  12788#endif
  12789
  12790/* When -fvisibility=hidden is used, assume the code has been annotated
  12791   correspondingly for the symbols needed.  */
  12792#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  12793int fnord () __attribute__((visibility("default")));
  12794#endif
  12795
  12796int fnord () { return 42; }
  12797int main ()
  12798{
  12799  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  12800  int status = $lt_dlunknown;
  12801
  12802  if (self)
  12803    {
  12804      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
  12805      else
  12806        {
  12807	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
  12808          else puts (dlerror ());
  12809	}
  12810      /* dlclose (self); */
  12811    }
  12812  else
  12813    puts (dlerror ());
  12814
  12815  return status;
  12816}
  12817_LT_EOF
  12818  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  12819  (eval $ac_link) 2>&5
  12820  ac_status=$?
  12821  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12822  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  12823    (./conftest; exit; ) >&5 2>/dev/null
  12824    lt_status=$?
  12825    case x$lt_status in
  12826      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  12827      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  12828      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  12829    esac
  12830  else :
  12831    # compilation failed
  12832    lt_cv_dlopen_self_static=no
  12833  fi
  12834fi
  12835rm -fr conftest*
  12836
  12837
  12838fi
  12839{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  12840printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
  12841    fi
  12842
  12843    CPPFLAGS=$save_CPPFLAGS
  12844    LDFLAGS=$save_LDFLAGS
  12845    LIBS=$save_LIBS
  12846    ;;
  12847  esac
  12848
  12849  case $lt_cv_dlopen_self in
  12850  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  12851  *) enable_dlopen_self=unknown ;;
  12852  esac
  12853
  12854  case $lt_cv_dlopen_self_static in
  12855  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  12856  *) enable_dlopen_self_static=unknown ;;
  12857  esac
  12858fi
  12859
  12860
  12861
  12862
  12863
  12864
  12865
  12866
  12867
  12868
  12869
  12870
  12871
  12872
  12873
  12874
  12875
  12876striplib=
  12877old_striplib=
  12878{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  12879printf %s "checking whether stripping libraries is possible... " >&6; }
  12880if test -z "$STRIP"; then
  12881  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12882printf "%s\n" "no" >&6; }
  12883else
  12884  if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  12885    old_striplib="$STRIP --strip-debug"
  12886    striplib="$STRIP --strip-unneeded"
  12887    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12888printf "%s\n" "yes" >&6; }
  12889  else
  12890    case $host_os in
  12891    darwin*)
  12892      # FIXME - insert some real tests, host_os isn't really good enough
  12893      striplib="$STRIP -x"
  12894      old_striplib="$STRIP -S"
  12895      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12896printf "%s\n" "yes" >&6; }
  12897      ;;
  12898    freebsd*)
  12899      if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
  12900        old_striplib="$STRIP --strip-debug"
  12901        striplib="$STRIP --strip-unneeded"
  12902        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12903printf "%s\n" "yes" >&6; }
  12904      else
  12905        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12906printf "%s\n" "no" >&6; }
  12907      fi
  12908      ;;
  12909    *)
  12910      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12911printf "%s\n" "no" >&6; }
  12912      ;;
  12913    esac
  12914  fi
  12915fi
  12916
  12917
  12918
  12919
  12920
  12921
  12922
  12923
  12924
  12925
  12926
  12927
  12928  # Report what library types will actually be built
  12929  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  12930printf %s "checking if libtool supports shared libraries... " >&6; }
  12931  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  12932printf "%s\n" "$can_build_shared" >&6; }
  12933
  12934  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  12935printf %s "checking whether to build shared libraries... " >&6; }
  12936  test no = "$can_build_shared" && enable_shared=no
  12937
  12938  # On AIX, shared libraries and static libraries use the same namespace, and
  12939  # are all built from PIC.
  12940  case $host_os in
  12941  aix3*)
  12942    test yes = "$enable_shared" && enable_static=no
  12943    if test -n "$RANLIB"; then
  12944      archive_cmds="$archive_cmds~\$RANLIB \$lib"
  12945      postinstall_cmds='$RANLIB $lib'
  12946    fi
  12947    ;;
  12948
  12949  aix[4-9]*)
  12950    if test ia64 != "$host_cpu"; then
  12951      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  12952      yes,aix,yes) ;;			# shared object as lib.so file only
  12953      yes,svr4,*) ;;			# shared object as lib.so archive member only
  12954      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
  12955      esac
  12956    fi
  12957    ;;
  12958  esac
  12959  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  12960printf "%s\n" "$enable_shared" >&6; }
  12961
  12962  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  12963printf %s "checking whether to build static libraries... " >&6; }
  12964  # Make sure either enable_shared or enable_static is yes.
  12965  test yes = "$enable_shared" || enable_static=yes
  12966  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  12967printf "%s\n" "$enable_static" >&6; }
  12968
  12969
  12970
  12971
  12972fi
  12973ac_ext=c
  12974ac_cpp='$CPP $CPPFLAGS'
  12975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12977ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12978
  12979CC=$lt_save_CC
  12980
  12981
  12982
  12983
  12984
  12985
  12986
  12987
  12988
  12989
  12990
  12991
  12992
  12993
  12994
  12995        ac_config_commands="$ac_config_commands libtool"
  12996
  12997
  12998
  12999
  13000# Only expand once:
  13001
  13002
  13003
  13004ac_config_headers="$ac_config_headers config.h"
  13005
  13006
  13007
  13008# Use TAP test driver for tests (part of automake)
  13009
  13010
  13011
  13012# Programs
  13013ac_ext=c
  13014ac_cpp='$CPP $CPPFLAGS'
  13015ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13016ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13017ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13018if test -n "$ac_tool_prefix"; then
  13019  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  13020set dummy ${ac_tool_prefix}gcc; ac_word=$2
  13021{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13022printf %s "checking for $ac_word... " >&6; }
  13023if test ${ac_cv_prog_CC+y}
  13024then :
  13025  printf %s "(cached) " >&6
  13026else $as_nop
  13027  if test -n "$CC"; then
  13028  ac_cv_prog_CC="$CC" # Let the user override the test.
  13029else
  13030as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13031for as_dir in $PATH
  13032do
  13033  IFS=$as_save_IFS
  13034  case $as_dir in #(((
  13035    '') as_dir=./ ;;
  13036    */) ;;
  13037    *) as_dir=$as_dir/ ;;
  13038  esac
  13039    for ac_exec_ext in '' $ac_executable_extensions; do
  13040  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  13041    ac_cv_prog_CC="${ac_tool_prefix}gcc"
  13042    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  13043    break 2
  13044  fi
  13045done
  13046  done
  13047IFS=$as_save_IFS
  13048
  13049fi
  13050fi
  13051CC=$ac_cv_prog_CC
  13052if test -n "$CC"; then
  13053  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  13054printf "%s\n" "$CC" >&6; }
  13055else
  13056  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13057printf "%s\n" "no" >&6; }
  13058fi
  13059
  13060
  13061fi
  13062if test -z "$ac_cv_prog_CC"; then
  13063  ac_ct_CC=$CC
  13064  # Extract the first word of "gcc", so it can be a program name with args.
  13065set dummy gcc; ac_word=$2
  13066{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13067printf %s "checking for $ac_word... " >&6; }
  13068if test ${ac_cv_prog_ac_ct_CC+y}
  13069then :
  13070  printf %s "(cached) " >&6
  13071else $as_nop
  13072  if test -n "$ac_ct_CC"; then
  13073  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  13074else
  13075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13076for as_dir in $PATH
  13077do
  13078  IFS=$as_save_IFS
  13079  case $as_dir in #(((
  13080    '') as_dir=./ ;;
  13081    */) ;;
  13082    *) as_dir=$as_dir/ ;;
  13083  esac
  13084    for ac_exec_ext in '' $ac_executable_extensions; do
  13085  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  13086    ac_cv_prog_ac_ct_CC="gcc"
  13087    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  13088    break 2
  13089  fi
  13090done
  13091  done
  13092IFS=$as_save_IFS
  13093
  13094fi
  13095fi
  13096ac_ct_CC=$ac_cv_prog_ac_ct_CC
  13097if test -n "$ac_ct_CC"; then
  13098  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  13099printf "%s\n" "$ac_ct_CC" >&6; }
  13100else
  13101  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13102printf "%s\n" "no" >&6; }
  13103fi
  13104
  13105  if test "x$ac_ct_CC" = x; then
  13106    CC=""
  13107  else
  13108    case $cross_compiling:$ac_tool_warned in
  13109yes:)
  13110{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13111printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13112ac_tool_warned=yes ;;
  13113esac
  13114    CC=$ac_ct_CC
  13115  fi
  13116else
  13117  CC="$ac_cv_prog_CC"
  13118fi
  13119
  13120if test -z "$CC"; then
  13121          if test -n "$ac_tool_prefix"; then
  13122    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  13123set dummy ${ac_tool_prefix}cc; ac_word=$2
  13124{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13125printf %s "checking for $ac_word... " >&6; }
  13126if test ${ac_cv_prog_CC+y}
  13127then :
  13128  printf %s "(cached) " >&6
  13129else $as_nop
  13130  if test -n "$CC"; then
  13131  ac_cv_prog_CC="$CC" # Let the user override the test.
  13132else
  13133as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13134for as_dir in $PATH
  13135do
  13136  IFS=$as_save_IFS
  13137  case $as_dir in #(((
  13138    '') as_dir=./ ;;
  13139    */) ;;
  13140    *) as_dir=$as_dir/ ;;
  13141  esac
  13142    for ac_exec_ext in '' $ac_executable_extensions; do
  13143  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  13144    ac_cv_prog_CC="${ac_tool_prefix}cc"
  13145    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  13146    break 2
  13147  fi
  13148done
  13149  done
  13150IFS=$as_save_IFS
  13151
  13152fi
  13153fi
  13154CC=$ac_cv_prog_CC
  13155if test -n "$CC"; then
  13156  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  13157printf "%s\n" "$CC" >&6; }
  13158else
  13159  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13160printf "%s\n" "no" >&6; }
  13161fi
  13162
  13163
  13164  fi
  13165fi
  13166if test -z "$CC"; then
  13167  # Extract the first word of "cc", so it can be a program name with args.
  13168set dummy cc; ac_word=$2
  13169{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13170printf %s "checking for $ac_word... " >&6; }
  13171if test ${ac_cv_prog_CC+y}
  13172then :
  13173  printf %s "(cached) " >&6
  13174else $as_nop
  13175  if test -n "$CC"; then
  13176  ac_cv_prog_CC="$CC" # Let the user override the test.
  13177else
  13178  ac_prog_rejected=no
  13179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13180for as_dir in $PATH
  13181do
  13182  IFS=$as_save_IFS
  13183  case $as_dir in #(((
  13184    '') as_dir=./ ;;
  13185    */) ;;
  13186    *) as_dir=$as_dir/ ;;
  13187  esac
  13188    for ac_exec_ext in '' $ac_executable_extensions; do
  13189  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  13190    if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  13191       ac_prog_rejected=yes
  13192       continue
  13193     fi
  13194    ac_cv_prog_CC="cc"
  13195    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  13196    break 2
  13197  fi
  13198done
  13199  done
  13200IFS=$as_save_IFS
  13201
  13202if test $ac_prog_rejected = yes; then
  13203  # We found a bogon in the path, so make sure we never use it.
  13204  set dummy $ac_cv_prog_CC
  13205  shift
  13206  if test $# != 0; then
  13207    # We chose a different compiler from the bogus one.
  13208    # However, it has the same basename, so the bogon will be chosen
  13209    # first if we set CC to just the basename; use the full file name.
  13210    shift
  13211    ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
  13212  fi
  13213fi
  13214fi
  13215fi
  13216CC=$ac_cv_prog_CC
  13217if test -n "$CC"; then
  13218  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  13219printf "%s\n" "$CC" >&6; }
  13220else
  13221  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13222printf "%s\n" "no" >&6; }
  13223fi
  13224
  13225
  13226fi
  13227if test -z "$CC"; then
  13228  if test -n "$ac_tool_prefix"; then
  13229  for ac_prog in cl.exe
  13230  do
  13231    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  13232set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  13233{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13234printf %s "checking for $ac_word... " >&6; }
  13235if test ${ac_cv_prog_CC+y}
  13236then :
  13237  printf %s "(cached) " >&6
  13238else $as_nop
  13239  if test -n "$CC"; then
  13240  ac_cv_prog_CC="$CC" # Let the user override the test.
  13241else
  13242as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13243for as_dir in $PATH
  13244do
  13245  IFS=$as_save_IFS
  13246  case $as_dir in #(((
  13247    '') as_dir=./ ;;
  13248    */) ;;
  13249    *) as_dir=$as_dir/ ;;
  13250  esac
  13251    for ac_exec_ext in '' $ac_executable_extensions; do
  13252  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  13253    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  13254    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  13255    break 2
  13256  fi
  13257done
  13258  done
  13259IFS=$as_save_IFS
  13260
  13261fi
  13262fi
  13263CC=$ac_cv_prog_CC
  13264if test -n "$CC"; then
  13265  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  13266printf "%s\n" "$CC" >&6; }
  13267else
  13268  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13269printf "%s\n" "no" >&6; }
  13270fi
  13271
  13272
  13273    test -n "$CC" && break
  13274  done
  13275fi
  13276if test -z "$CC"; then
  13277  ac_ct_CC=$CC
  13278  for ac_prog in cl.exe
  13279do
  13280  # Extract the first word of "$ac_prog", so it can be a program name with args.
  13281set dummy $ac_prog; ac_word=$2
  13282{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13283printf %s "checking for $ac_word... " >&6; }
  13284if test ${ac_cv_prog_ac_ct_CC+y}
  13285then :
  13286  printf %s "(cached) " >&6
  13287else $as_nop
  13288  if test -n "$ac_ct_CC"; then
  13289  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  13290else
  13291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13292for as_dir in $PATH
  13293do
  13294  IFS=$as_save_IFS
  13295  case $as_dir in #(((
  13296    '') as_dir=./ ;;
  13297    */) ;;
  13298    *) as_dir=$as_dir/ ;;
  13299  esac
  13300    for ac_exec_ext in '' $ac_executable_extensions; do
  13301  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  13302    ac_cv_prog_ac_ct_CC="$ac_prog"
  13303    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  13304    break 2
  13305  fi
  13306done
  13307  done
  13308IFS=$as_save_IFS
  13309
  13310fi
  13311fi
  13312ac_ct_CC=$ac_cv_prog_ac_ct_CC
  13313if test -n "$ac_ct_CC"; then
  13314  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  13315printf "%s\n" "$ac_ct_CC" >&6; }
  13316else
  13317  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13318printf "%s\n" "no" >&6; }
  13319fi
  13320
  13321
  13322  test -n "$ac_ct_CC" && break
  13323done
  13324
  13325  if test "x$ac_ct_CC" = x; then
  13326    CC=""
  13327  else
  13328    case $cross_compiling:$ac_tool_warned in
  13329yes:)
  13330{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13331printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13332ac_tool_warned=yes ;;
  13333esac
  13334    CC=$ac_ct_CC
  13335  fi
  13336fi
  13337
  13338fi
  13339if test -z "$CC"; then
  13340  if test -n "$ac_tool_prefix"; then
  13341  # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
  13342set dummy ${ac_tool_prefix}clang; ac_word=$2
  13343{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13344printf %s "checking for $ac_word... " >&6; }
  13345if test ${ac_cv_prog_CC+y}
  13346then :
  13347  printf %s "(cached) " >&6
  13348else $as_nop
  13349  if test -n "$CC"; then
  13350  ac_cv_prog_CC="$CC" # Let the user override the test.
  13351else
  13352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13353for as_dir in $PATH
  13354do
  13355  IFS=$as_save_IFS
  13356  case $as_dir in #(((
  13357    '') as_dir=./ ;;
  13358    */) ;;
  13359    *) as_dir=$as_dir/ ;;
  13360  esac
  13361    for ac_exec_ext in '' $ac_executable_extensions; do
  13362  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  13363    ac_cv_prog_CC="${ac_tool_prefix}clang"
  13364    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  13365    break 2
  13366  fi
  13367done
  13368  done
  13369IFS=$as_save_IFS
  13370
  13371fi
  13372fi
  13373CC=$ac_cv_prog_CC
  13374if test -n "$CC"; then
  13375  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  13376printf "%s\n" "$CC" >&6; }
  13377else
  13378  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13379printf "%s\n" "no" >&6; }
  13380fi
  13381
  13382
  13383fi
  13384if test -z "$ac_cv_prog_CC"; then
  13385  ac_ct_CC=$CC
  13386  # Extract the first word of "clang", so it can be a program name with args.
  13387set dummy clang; ac_word=$2
  13388{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13389printf %s "checking for $ac_word... " >&6; }
  13390if test ${ac_cv_prog_ac_ct_CC+y}
  13391then :
  13392  printf %s "(cached) " >&6
  13393else $as_nop
  13394  if test -n "$ac_ct_CC"; then
  13395  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  13396else
  13397as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13398for as_dir in $PATH
  13399do
  13400  IFS=$as_save_IFS
  13401  case $as_dir in #(((
  13402    '') as_dir=./ ;;
  13403    */) ;;
  13404    *) as_dir=$as_dir/ ;;
  13405  esac
  13406    for ac_exec_ext in '' $ac_executable_extensions; do
  13407  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  13408    ac_cv_prog_ac_ct_CC="clang"
  13409    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  13410    break 2
  13411  fi
  13412done
  13413  done
  13414IFS=$as_save_IFS
  13415
  13416fi
  13417fi
  13418ac_ct_CC=$ac_cv_prog_ac_ct_CC
  13419if test -n "$ac_ct_CC"; then
  13420  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  13421printf "%s\n" "$ac_ct_CC" >&6; }
  13422else
  13423  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13424printf "%s\n" "no" >&6; }
  13425fi
  13426
  13427  if test "x$ac_ct_CC" = x; then
  13428    CC=""
  13429  else
  13430    case $cross_compiling:$ac_tool_warned in
  13431yes:)
  13432{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13433printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13434ac_tool_warned=yes ;;
  13435esac
  13436    CC=$ac_ct_CC
  13437  fi
  13438else
  13439  CC="$ac_cv_prog_CC"
  13440fi
  13441
  13442fi
  13443
  13444
  13445test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13446printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  13447as_fn_error $? "no acceptable C compiler found in \$PATH
  13448See \`config.log' for more details" "$LINENO" 5; }
  13449
  13450# Provide some information about the compiler.
  13451printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  13452set X $ac_compile
  13453ac_compiler=$2
  13454for ac_option in --version -v -V -qversion -version; do
  13455  { { ac_try="$ac_compiler $ac_option >&5"
  13456case "(($ac_try" in
  13457  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13458  *) ac_try_echo=$ac_try;;
  13459esac
  13460eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13461printf "%s\n" "$ac_try_echo"; } >&5
  13462  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  13463  ac_status=$?
  13464  if test -s conftest.err; then
  13465    sed '10a\
  13466... rest of stderr output deleted ...
  13467         10q' conftest.err >conftest.er1
  13468    cat conftest.er1 >&5
  13469  fi
  13470  rm -f conftest.er1 conftest.err
  13471  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13472  test $ac_status = 0; }
  13473done
  13474
  13475{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
  13476printf %s "checking whether the compiler supports GNU C... " >&6; }
  13477if test ${ac_cv_c_compiler_gnu+y}
  13478then :
  13479  printf %s "(cached) " >&6
  13480else $as_nop
  13481  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13482/* end confdefs.h.  */
  13483
  13484int
  13485main (void)
  13486{
  13487#ifndef __GNUC__
  13488       choke me
  13489#endif
  13490
  13491  ;
  13492  return 0;
  13493}
  13494_ACEOF
  13495if ac_fn_c_try_compile "$LINENO"
  13496then :
  13497  ac_compiler_gnu=yes
  13498else $as_nop
  13499  ac_compiler_gnu=no
  13500fi
  13501rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  13502ac_cv_c_compiler_gnu=$ac_compiler_gnu
  13503
  13504fi
  13505{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  13506printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
  13507ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13508
  13509if test $ac_compiler_gnu = yes; then
  13510  GCC=yes
  13511else
  13512  GCC=
  13513fi
  13514ac_test_CFLAGS=${CFLAGS+y}
  13515ac_save_CFLAGS=$CFLAGS
  13516{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  13517printf %s "checking whether $CC accepts -g... " >&6; }
  13518if test ${ac_cv_prog_cc_g+y}
  13519then :
  13520  printf %s "(cached) " >&6
  13521else $as_nop
  13522  ac_save_c_werror_flag=$ac_c_werror_flag
  13523   ac_c_werror_flag=yes
  13524   ac_cv_prog_cc_g=no
  13525   CFLAGS="-g"
  13526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13527/* end confdefs.h.  */
  13528
  13529int
  13530main (void)
  13531{
  13532
  13533  ;
  13534  return 0;
  13535}
  13536_ACEOF
  13537if ac_fn_c_try_compile "$LINENO"
  13538then :
  13539  ac_cv_prog_cc_g=yes
  13540else $as_nop
  13541  CFLAGS=""
  13542      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13543/* end confdefs.h.  */
  13544
  13545int
  13546main (void)
  13547{
  13548
  13549  ;
  13550  return 0;
  13551}
  13552_ACEOF
  13553if ac_fn_c_try_compile "$LINENO"
  13554then :
  13555
  13556else $as_nop
  13557  ac_c_werror_flag=$ac_save_c_werror_flag
  13558	 CFLAGS="-g"
  13559	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13560/* end confdefs.h.  */
  13561
  13562int
  13563main (void)
  13564{
  13565
  13566  ;
  13567  return 0;
  13568}
  13569_ACEOF
  13570if ac_fn_c_try_compile "$LINENO"
  13571then :
  13572  ac_cv_prog_cc_g=yes
  13573fi
  13574rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  13575fi
  13576rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  13577fi
  13578rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  13579   ac_c_werror_flag=$ac_save_c_werror_flag
  13580fi
  13581{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  13582printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
  13583if test $ac_test_CFLAGS; then
  13584  CFLAGS=$ac_save_CFLAGS
  13585elif test $ac_cv_prog_cc_g = yes; then
  13586  if test "$GCC" = yes; then
  13587    CFLAGS="-g -O2"
  13588  else
  13589    CFLAGS="-g"
  13590  fi
  13591else
  13592  if test "$GCC" = yes; then
  13593    CFLAGS="-O2"
  13594  else
  13595    CFLAGS=
  13596  fi
  13597fi
  13598ac_prog_cc_stdc=no
  13599if test x$ac_prog_cc_stdc = xno
  13600then :
  13601  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
  13602printf %s "checking for $CC option to enable C11 features... " >&6; }
  13603if test ${ac_cv_prog_cc_c11+y}
  13604then :
  13605  printf %s "(cached) " >&6
  13606else $as_nop
  13607  ac_cv_prog_cc_c11=no
  13608ac_save_CC=$CC
  13609cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13610/* end confdefs.h.  */
  13611$ac_c_conftest_c11_program
  13612_ACEOF
  13613for ac_arg in '' -std=gnu11
  13614do
  13615  CC="$ac_save_CC $ac_arg"
  13616  if ac_fn_c_try_compile "$LINENO"
  13617then :
  13618  ac_cv_prog_cc_c11=$ac_arg
  13619fi
  13620rm -f core conftest.err conftest.$ac_objext conftest.beam
  13621  test "x$ac_cv_prog_cc_c11" != "xno" && break
  13622done
  13623rm -f conftest.$ac_ext
  13624CC=$ac_save_CC
  13625fi
  13626
  13627if test "x$ac_cv_prog_cc_c11" = xno
  13628then :
  13629  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  13630printf "%s\n" "unsupported" >&6; }
  13631else $as_nop
  13632  if test "x$ac_cv_prog_cc_c11" = x
  13633then :
  13634  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  13635printf "%s\n" "none needed" >&6; }
  13636else $as_nop
  13637  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
  13638printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
  13639     CC="$CC $ac_cv_prog_cc_c11"
  13640fi
  13641  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
  13642  ac_prog_cc_stdc=c11
  13643fi
  13644fi
  13645if test x$ac_prog_cc_stdc = xno
  13646then :
  13647  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
  13648printf %s "checking for $CC option to enable C99 features... " >&6; }
  13649if test ${ac_cv_prog_cc_c99+y}
  13650then :
  13651  printf %s "(cached) " >&6
  13652else $as_nop
  13653  ac_cv_prog_cc_c99=no
  13654ac_save_CC=$CC
  13655cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13656/* end confdefs.h.  */
  13657$ac_c_conftest_c99_program
  13658_ACEOF
  13659for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
  13660do
  13661  CC="$ac_save_CC $ac_arg"
  13662  if ac_fn_c_try_compile "$LINENO"
  13663then :
  13664  ac_cv_prog_cc_c99=$ac_arg
  13665fi
  13666rm -f core conftest.err conftest.$ac_objext conftest.beam
  13667  test "x$ac_cv_prog_cc_c99" != "xno" && break
  13668done
  13669rm -f conftest.$ac_ext
  13670CC=$ac_save_CC
  13671fi
  13672
  13673if test "x$ac_cv_prog_cc_c99" = xno
  13674then :
  13675  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  13676printf "%s\n" "unsupported" >&6; }
  13677else $as_nop
  13678  if test "x$ac_cv_prog_cc_c99" = x
  13679then :
  13680  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  13681printf "%s\n" "none needed" >&6; }
  13682else $as_nop
  13683  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
  13684printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
  13685     CC="$CC $ac_cv_prog_cc_c99"
  13686fi
  13687  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
  13688  ac_prog_cc_stdc=c99
  13689fi
  13690fi
  13691if test x$ac_prog_cc_stdc = xno
  13692then :
  13693  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
  13694printf %s "checking for $CC option to enable C89 features... " >&6; }
  13695if test ${ac_cv_prog_cc_c89+y}
  13696then :
  13697  printf %s "(cached) " >&6
  13698else $as_nop
  13699  ac_cv_prog_cc_c89=no
  13700ac_save_CC=$CC
  13701cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13702/* end confdefs.h.  */
  13703$ac_c_conftest_c89_program
  13704_ACEOF
  13705for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  13706do
  13707  CC="$ac_save_CC $ac_arg"
  13708  if ac_fn_c_try_compile "$LINENO"
  13709then :
  13710  ac_cv_prog_cc_c89=$ac_arg
  13711fi
  13712rm -f core conftest.err conftest.$ac_objext conftest.beam
  13713  test "x$ac_cv_prog_cc_c89" != "xno" && break
  13714done
  13715rm -f conftest.$ac_ext
  13716CC=$ac_save_CC
  13717fi
  13718
  13719if test "x$ac_cv_prog_cc_c89" = xno
  13720then :
  13721  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  13722printf "%s\n" "unsupported" >&6; }
  13723else $as_nop
  13724  if test "x$ac_cv_prog_cc_c89" = x
  13725then :
  13726  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  13727printf "%s\n" "none needed" >&6; }
  13728else $as_nop
  13729  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  13730printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
  13731     CC="$CC $ac_cv_prog_cc_c89"
  13732fi
  13733  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
  13734  ac_prog_cc_stdc=c89
  13735fi
  13736fi
  13737
  13738ac_ext=c
  13739ac_cpp='$CPP $CPPFLAGS'
  13740ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13741ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13742ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13743
  13744
  13745  ac_ext=c
  13746ac_cpp='$CPP $CPPFLAGS'
  13747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13749ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13750{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  13751printf %s "checking whether $CC understands -c and -o together... " >&6; }
  13752if test ${am_cv_prog_cc_c_o+y}
  13753then :
  13754  printf %s "(cached) " >&6
  13755else $as_nop
  13756  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13757/* end confdefs.h.  */
  13758
  13759int
  13760main (void)
  13761{
  13762
  13763  ;
  13764  return 0;
  13765}
  13766_ACEOF
  13767  # Make sure it works both with $CC and with simple cc.
  13768  # Following AC_PROG_CC_C_O, we do the test twice because some
  13769  # compilers refuse to overwrite an existing .o file with -o,
  13770  # though they will create one.
  13771  am_cv_prog_cc_c_o=yes
  13772  for am_i in 1 2; do
  13773    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  13774   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  13775   ac_status=$?
  13776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13777   (exit $ac_status); } \
  13778         && test -f conftest2.$ac_objext; then
  13779      : OK
  13780    else
  13781      am_cv_prog_cc_c_o=no
  13782      break
  13783    fi
  13784  done
  13785  rm -f core conftest*
  13786  unset am_i
  13787fi
  13788{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  13789printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
  13790if test "$am_cv_prog_cc_c_o" != yes; then
  13791   # Losing compiler, so override with the script.
  13792   # FIXME: It is wrong to rewrite CC.
  13793   # But if we don't then we get into trouble of one sort or another.
  13794   # A longer-term fix would be to have automake use am__CC in this case,
  13795   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  13796   CC="$am_aux_dir/compile $CC"
  13797fi
  13798ac_ext=c
  13799ac_cpp='$CPP $CPPFLAGS'
  13800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13802ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13803
  13804
  13805depcc="$CC"   am_compiler_list=
  13806
  13807{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  13808printf %s "checking dependency style of $depcc... " >&6; }
  13809if test ${am_cv_CC_dependencies_compiler_type+y}
  13810then :
  13811  printf %s "(cached) " >&6
  13812else $as_nop
  13813  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  13814  # We make a subdir and do the tests there.  Otherwise we can end up
  13815  # making bogus files that we don't know about and never remove.  For
  13816  # instance it was reported that on HP-UX the gcc test will end up
  13817  # making a dummy file named 'D' -- because '-MD' means "put the output
  13818  # in D".
  13819  rm -rf conftest.dir
  13820  mkdir conftest.dir
  13821  # Copy depcomp to subdir because otherwise we won't find it if we're
  13822  # using a relative directory.
  13823  cp "$am_depcomp" conftest.dir
  13824  cd conftest.dir
  13825  # We will build objects and dependencies in a subdirectory because
  13826  # it helps to detect inapplicable dependency modes.  For instance
  13827  # both Tru64's cc and ICC support -MD to output dependencies as a
  13828  # side effect of compilation, but ICC will put the dependencies in
  13829  # the current directory while Tru64 will put them in the object
  13830  # directory.
  13831  mkdir sub
  13832
  13833  am_cv_CC_dependencies_compiler_type=none
  13834  if test "$am_compiler_list" = ""; then
  13835     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  13836  fi
  13837  am__universal=false
  13838  case " $depcc " in #(
  13839     *\ -arch\ *\ -arch\ *) am__universal=true ;;
  13840     esac
  13841
  13842  for depmode in $am_compiler_list; do
  13843    # Setup a source with many dependencies, because some compilers
  13844    # like to wrap large dependency lists on column 80 (with \), and
  13845    # we should not choose a depcomp mode which is confused by this.
  13846    #
  13847    # We need to recreate these files for each test, as the compiler may
  13848    # overwrite some of them when testing with obscure command lines.
  13849    # This happens at least with the AIX C compiler.
  13850    : > sub/conftest.c
  13851    for i in 1 2 3 4 5 6; do
  13852      echo '#include "conftst'$i'.h"' >> sub/conftest.c
  13853      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  13854      # Solaris 10 /bin/sh.
  13855      echo '/* dummy */' > sub/conftst$i.h
  13856    done
  13857    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  13858
  13859    # We check with '-c' and '-o' for the sake of the "dashmstdout"
  13860    # mode.  It turns out that the SunPro C++ compiler does not properly
  13861    # handle '-M -o', and we need to detect this.  Also, some Intel
  13862    # versions had trouble with output in subdirs.
  13863    am__obj=sub/conftest.${OBJEXT-o}
  13864    am__minus_obj="-o $am__obj"
  13865    case $depmode in
  13866    gcc)
  13867      # This depmode causes a compiler race in universal mode.
  13868      test "$am__universal" = false || continue
  13869      ;;
  13870    nosideeffect)
  13871      # After this tag, mechanisms are not by side-effect, so they'll
  13872      # only be used when explicitly requested.
  13873      if test "x$enable_dependency_tracking" = xyes; then
  13874	continue
  13875      else
  13876	break
  13877      fi
  13878      ;;
  13879    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  13880      # This compiler won't grok '-c -o', but also, the minuso test has
  13881      # not run yet.  These depmodes are late enough in the game, and
  13882      # so weak that their functioning should not be impacted.
  13883      am__obj=conftest.${OBJEXT-o}
  13884      am__minus_obj=
  13885      ;;
  13886    none) break ;;
  13887    esac
  13888    if depmode=$depmode \
  13889       source=sub/conftest.c object=$am__obj \
  13890       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  13891       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  13892         >/dev/null 2>conftest.err &&
  13893       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  13894       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  13895       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  13896       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  13897      # icc doesn't choke on unknown options, it will just issue warnings
  13898      # or remarks (even with -Werror).  So we grep stderr for any message
  13899      # that says an option was ignored or not supported.
  13900      # When given -MP, icc 7.0 and 7.1 complain thusly:
  13901      #   icc: Command line warning: ignoring option '-M'; no argument required
  13902      # The diagnosis changed in icc 8.0:
  13903      #   icc: Command line remark: option '-MP' not supported
  13904      if (grep 'ignoring option' conftest.err ||
  13905          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  13906        am_cv_CC_dependencies_compiler_type=$depmode
  13907        break
  13908      fi
  13909    fi
  13910  done
  13911
  13912  cd ..
  13913  rm -rf conftest.dir
  13914else
  13915  am_cv_CC_dependencies_compiler_type=none
  13916fi
  13917
  13918fi
  13919{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  13920printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
  13921CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  13922
  13923 if
  13924  test "x$enable_dependency_tracking" != xno \
  13925  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  13926  am__fastdepCC_TRUE=
  13927  am__fastdepCC_FALSE='#'
  13928else
  13929  am__fastdepCC_TRUE='#'
  13930  am__fastdepCC_FALSE=
  13931fi
  13932
  13933
  13934
  13935
  13936
  13937# Headers
  13938ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
  13939if test "x$ac_cv_header_fcntl_h" = xyes
  13940then :
  13941  printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
  13942
  13943fi
  13944ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  13945if test "x$ac_cv_header_stdlib_h" = xyes
  13946then :
  13947  printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
  13948
  13949fi
  13950ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
  13951if test "x$ac_cv_header_string_h" = xyes
  13952then :
  13953  printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
  13954
  13955fi
  13956ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
  13957if test "x$ac_cv_header_sys_socket_h" = xyes
  13958then :
  13959  printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
  13960
  13961fi
  13962ac_fn_c_check_header_compile "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
  13963if test "x$ac_cv_header_time_h" = xyes
  13964then :
  13965  printf "%s\n" "#define HAVE_TIME_H 1" >>confdefs.h
  13966
  13967fi
  13968ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
  13969if test "x$ac_cv_header_sys_time_h" = xyes
  13970then :
  13971  printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
  13972
  13973fi
  13974ac_fn_c_check_header_compile "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default"
  13975if test "x$ac_cv_header_syslog_h" = xyes
  13976then :
  13977  printf "%s\n" "#define HAVE_SYSLOG_H 1" >>confdefs.h
  13978
  13979fi
  13980ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
  13981if test "x$ac_cv_header_unistd_h" = xyes
  13982then :
  13983  printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
  13984
  13985fi
  13986ac_fn_c_check_header_compile "$LINENO" "cairo/cairo.h" "ac_cv_header_cairo_cairo_h" "$ac_includes_default"
  13987if test "x$ac_cv_header_cairo_cairo_h" = xyes
  13988then :
  13989  printf "%s\n" "#define HAVE_CAIRO_CAIRO_H 1" >>confdefs.h
  13990
  13991fi
  13992ac_fn_c_check_header_compile "$LINENO" "pngstruct.h" "ac_cv_header_pngstruct_h" "$ac_includes_default"
  13993if test "x$ac_cv_header_pngstruct_h" = xyes
  13994then :
  13995  printf "%s\n" "#define HAVE_PNGSTRUCT_H 1" >>confdefs.h
  13996
  13997fi
  13998
  13999
  14000# Source characteristics
  14001
  14002printf "%s\n" "#define _XOPEN_SOURCE 700" >>confdefs.h
  14003
  14004
  14005printf "%s\n" "#define __BSD_VISIBLE 1" >>confdefs.h
  14006
  14007
  14008# Check for whether math library is required
  14009{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
  14010printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
  14011if test ${ac_cv_c_undeclared_builtin_options+y}
  14012then :
  14013  printf %s "(cached) " >&6
  14014else $as_nop
  14015  ac_save_CFLAGS=$CFLAGS
  14016   ac_cv_c_undeclared_builtin_options='cannot detect'
  14017   for ac_arg in '' -fno-builtin; do
  14018     CFLAGS="$ac_save_CFLAGS $ac_arg"
  14019     # This test program should *not* compile successfully.
  14020     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14021/* end confdefs.h.  */
  14022
  14023int
  14024main (void)
  14025{
  14026(void) strchr;
  14027  ;
  14028  return 0;
  14029}
  14030_ACEOF
  14031if ac_fn_c_try_compile "$LINENO"
  14032then :
  14033
  14034else $as_nop
  14035  # This test program should compile successfully.
  14036        # No library function is consistently available on
  14037        # freestanding implementations, so test against a dummy
  14038        # declaration.  Include always-available headers on the
  14039        # off chance that they somehow elicit warnings.
  14040        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14041/* end confdefs.h.  */
  14042#include <float.h>
  14043#include <limits.h>
  14044#include <stdarg.h>
  14045#include <stddef.h>
  14046extern void ac_decl (int, char *);
  14047
  14048int
  14049main (void)
  14050{
  14051(void) ac_decl (0, (char *) 0);
  14052  (void) ac_decl;
  14053
  14054  ;
  14055  return 0;
  14056}
  14057_ACEOF
  14058if ac_fn_c_try_compile "$LINENO"
  14059then :
  14060  if test x"$ac_arg" = x
  14061then :
  14062  ac_cv_c_undeclared_builtin_options='none needed'
  14063else $as_nop
  14064  ac_cv_c_undeclared_builtin_options=$ac_arg
  14065fi
  14066          break
  14067fi
  14068rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  14069fi
  14070rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  14071    done
  14072    CFLAGS=$ac_save_CFLAGS
  14073
  14074fi
  14075{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
  14076printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
  14077  case $ac_cv_c_undeclared_builtin_options in #(
  14078  'cannot detect') :
  14079    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14080printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  14081as_fn_error $? "cannot make $CC report undeclared builtins
  14082See \`config.log' for more details" "$LINENO" 5; } ;; #(
  14083  'none needed') :
  14084    ac_c_undeclared_builtin_options='' ;; #(
  14085  *) :
  14086    ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
  14087esac
  14088
  14089{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
  14090printf %s "checking for cos in -lm... " >&6; }
  14091if test ${ac_cv_lib_m_cos+y}
  14092then :
  14093  printf %s "(cached) " >&6
  14094else $as_nop
  14095  ac_check_lib_save_LIBS=$LIBS
  14096LIBS="-lm  $LIBS"
  14097cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14098/* end confdefs.h.  */
  14099
  14100/* Override any GCC internal prototype to avoid an error.
  14101   Use char because int might match the return type of a GCC
  14102   builtin and then its argument prototype would still apply.  */
  14103char cos ();
  14104int
  14105main (void)
  14106{
  14107return cos ();
  14108  ;
  14109  return 0;
  14110}
  14111_ACEOF
  14112if ac_fn_c_try_link "$LINENO"
  14113then :
  14114  ac_cv_lib_m_cos=yes
  14115else $as_nop
  14116  ac_cv_lib_m_cos=no
  14117fi
  14118rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14119    conftest$ac_exeext conftest.$ac_ext
  14120LIBS=$ac_check_lib_save_LIBS
  14121fi
  14122{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
  14123printf "%s\n" "$ac_cv_lib_m_cos" >&6; }
  14124if test "x$ac_cv_lib_m_cos" = xyes
  14125then :
  14126  MATH_LIBS=-lm
  14127else $as_nop
  14128  ac_fn_check_decl "$LINENO" "cos" "ac_cv_have_decl_cos" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
  14129if test "x$ac_cv_have_decl_cos" = xyes
  14130then :
  14131
  14132else $as_nop
  14133  as_fn_error $? "\"Complex math functions are missing and no libm was found\"" "$LINENO" 5
  14134                            #include <math.h>
  14135fi
  14136fi
  14137
  14138
  14139# libpng
  14140{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_write_png in -lpng" >&5
  14141printf %s "checking for png_write_png in -lpng... " >&6; }
  14142if test ${ac_cv_lib_png_png_write_png+y}
  14143then :
  14144  printf %s "(cached) " >&6
  14145else $as_nop
  14146  ac_check_lib_save_LIBS=$LIBS
  14147LIBS="-lpng  $LIBS"
  14148cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14149/* end confdefs.h.  */
  14150
  14151/* Override any GCC internal prototype to avoid an error.
  14152   Use char because int might match the return type of a GCC
  14153   builtin and then its argument prototype would still apply.  */
  14154char png_write_png ();
  14155int
  14156main (void)
  14157{
  14158return png_write_png ();
  14159  ;
  14160  return 0;
  14161}
  14162_ACEOF
  14163if ac_fn_c_try_link "$LINENO"
  14164then :
  14165  ac_cv_lib_png_png_write_png=yes
  14166else $as_nop
  14167  ac_cv_lib_png_png_write_png=no
  14168fi
  14169rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14170    conftest$ac_exeext conftest.$ac_ext
  14171LIBS=$ac_check_lib_save_LIBS
  14172fi
  14173{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_write_png" >&5
  14174printf "%s\n" "$ac_cv_lib_png_png_write_png" >&6; }
  14175if test "x$ac_cv_lib_png_png_write_png" = xyes
  14176then :
  14177  PNG_LIBS=-lpng
  14178else $as_nop
  14179  as_fn_error $? "\"libpng is required for writing png messages\"" "$LINENO" 5
  14180fi
  14181
  14182
  14183# libjpeg
  14184{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_compress in -ljpeg" >&5
  14185printf %s "checking for jpeg_start_compress in -ljpeg... " >&6; }
  14186if test ${ac_cv_lib_jpeg_jpeg_start_compress+y}
  14187then :
  14188  printf %s "(cached) " >&6
  14189else $as_nop
  14190  ac_check_lib_save_LIBS=$LIBS
  14191LIBS="-ljpeg  $LIBS"
  14192cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14193/* end confdefs.h.  */
  14194
  14195/* Override any GCC internal prototype to avoid an error.
  14196   Use char because int might match the return type of a GCC
  14197   builtin and then its argument prototype would still apply.  */
  14198char jpeg_start_compress ();
  14199int
  14200main (void)
  14201{
  14202return jpeg_start_compress ();
  14203  ;
  14204  return 0;
  14205}
  14206_ACEOF
  14207if ac_fn_c_try_link "$LINENO"
  14208then :
  14209  ac_cv_lib_jpeg_jpeg_start_compress=yes
  14210else $as_nop
  14211  ac_cv_lib_jpeg_jpeg_start_compress=no
  14212fi
  14213rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14214    conftest$ac_exeext conftest.$ac_ext
  14215LIBS=$ac_check_lib_save_LIBS
  14216fi
  14217{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_start_compress" >&5
  14218printf "%s\n" "$ac_cv_lib_jpeg_jpeg_start_compress" >&6; }
  14219if test "x$ac_cv_lib_jpeg_jpeg_start_compress" = xyes
  14220then :
  14221  JPEG_LIBS=-ljpeg
  14222else $as_nop
  14223  as_fn_error $? "\"libjpeg is required for writing jpeg messages\"" "$LINENO" 5
  14224fi
  14225
  14226
  14227# Cairo
  14228{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cairo_create in -lcairo" >&5
  14229printf %s "checking for cairo_create in -lcairo... " >&6; }
  14230if test ${ac_cv_lib_cairo_cairo_create+y}
  14231then :
  14232  printf %s "(cached) " >&6
  14233else $as_nop
  14234  ac_check_lib_save_LIBS=$LIBS
  14235LIBS="-lcairo  $LIBS"
  14236cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14237/* end confdefs.h.  */
  14238
  14239/* Override any GCC internal prototype to avoid an error.
  14240   Use char because int might match the return type of a GCC
  14241   builtin and then its argument prototype would still apply.  */
  14242char cairo_create ();
  14243int
  14244main (void)
  14245{
  14246return cairo_create ();
  14247  ;
  14248  return 0;
  14249}
  14250_ACEOF
  14251if ac_fn_c_try_link "$LINENO"
  14252then :
  14253  ac_cv_lib_cairo_cairo_create=yes
  14254else $as_nop
  14255  ac_cv_lib_cairo_cairo_create=no
  14256fi
  14257rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14258    conftest$ac_exeext conftest.$ac_ext
  14259LIBS=$ac_check_lib_save_LIBS
  14260fi
  14261{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cairo_cairo_create" >&5
  14262printf "%s\n" "$ac_cv_lib_cairo_cairo_create" >&6; }
  14263if test "x$ac_cv_lib_cairo_cairo_create" = xyes
  14264then :
  14265  CAIRO_LIBS=-lcairo
  14266else $as_nop
  14267  as_fn_error $? "\"Cairo is required for drawing instructions\"" "$LINENO" 5
  14268fi
  14269
  14270
  14271# libpthread
  14272{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
  14273printf %s "checking for pthread_create in -lpthread... " >&6; }
  14274if test ${ac_cv_lib_pthread_pthread_create+y}
  14275then :
  14276  printf %s "(cached) " >&6
  14277else $as_nop
  14278  ac_check_lib_save_LIBS=$LIBS
  14279LIBS="-lpthread  $LIBS"
  14280cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14281/* end confdefs.h.  */
  14282
  14283/* Override any GCC internal prototype to avoid an error.
  14284   Use char because int might match the return type of a GCC
  14285   builtin and then its argument prototype would still apply.  */
  14286char pthread_create ();
  14287int
  14288main (void)
  14289{
  14290return pthread_create ();
  14291  ;
  14292  return 0;
  14293}
  14294_ACEOF
  14295if ac_fn_c_try_link "$LINENO"
  14296then :
  14297  ac_cv_lib_pthread_pthread_create=yes
  14298else $as_nop
  14299  ac_cv_lib_pthread_pthread_create=no
  14300fi
  14301rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14302    conftest$ac_exeext conftest.$ac_ext
  14303LIBS=$ac_check_lib_save_LIBS
  14304fi
  14305{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
  14306printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
  14307if test "x$ac_cv_lib_pthread_pthread_create" = xyes
  14308then :
  14309  PTHREAD_LIBS=-lpthread
  14310
  14311printf "%s\n" "#define HAVE_LIBPTHREAD /**/" >>confdefs.h
  14312
  14313fi
  14314
  14315
  14316# Include libdl for dlopen() if necessary
  14317{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  14318printf %s "checking for dlopen in -ldl... " >&6; }
  14319if test ${ac_cv_lib_dl_dlopen+y}
  14320then :
  14321  printf %s "(cached) " >&6
  14322else $as_nop
  14323  ac_check_lib_save_LIBS=$LIBS
  14324LIBS="-ldl  $LIBS"
  14325cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14326/* end confdefs.h.  */
  14327
  14328/* Override any GCC internal prototype to avoid an error.
  14329   Use char because int might match the return type of a GCC
  14330   builtin and then its argument prototype would still apply.  */
  14331char dlopen ();
  14332int
  14333main (void)
  14334{
  14335return dlopen ();
  14336  ;
  14337  return 0;
  14338}
  14339_ACEOF
  14340if ac_fn_c_try_link "$LINENO"
  14341then :
  14342  ac_cv_lib_dl_dlopen=yes
  14343else $as_nop
  14344  ac_cv_lib_dl_dlopen=no
  14345fi
  14346rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14347    conftest$ac_exeext conftest.$ac_ext
  14348LIBS=$ac_check_lib_save_LIBS
  14349fi
  14350{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  14351printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
  14352if test "x$ac_cv_lib_dl_dlopen" = xyes
  14353then :
  14354  DL_LIBS=-ldl
  14355else $as_nop
  14356  ac_fn_check_decl "$LINENO" "dlopen" "ac_cv_have_decl_dlopen" "#include <dlfcn.h>
  14357" "$ac_c_undeclared_builtin_options" "CFLAGS"
  14358if test "x$ac_cv_have_decl_dlopen" = xyes
  14359then :
  14360
  14361else $as_nop
  14362  as_fn_error $? "\"libdl is required on systems which do not otherwise provide dlopen()\"" "$LINENO" 5
  14363fi
  14364fi
  14365
  14366
  14367#
  14368# libuuid
  14369#
  14370
  14371have_libuuid=disabled
  14372
  14373# Check whether --with-libuuid was given.
  14374if test ${with_libuuid+y}
  14375then :
  14376  withval=$with_libuuid;
  14377else $as_nop
  14378  with_libuuid=check
  14379fi
  14380
  14381
  14382if test "x$with_libuuid" != "xno"
  14383then
  14384    have_libuuid=yes
  14385    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
  14386printf %s "checking for uuid_generate in -luuid... " >&6; }
  14387if test ${ac_cv_lib_uuid_uuid_generate+y}
  14388then :
  14389  printf %s "(cached) " >&6
  14390else $as_nop
  14391  ac_check_lib_save_LIBS=$LIBS
  14392LIBS="-luuid  $LIBS"
  14393cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14394/* end confdefs.h.  */
  14395
  14396/* Override any GCC internal prototype to avoid an error.
  14397   Use char because int might match the return type of a GCC
  14398   builtin and then its argument prototype would still apply.  */
  14399char uuid_generate ();
  14400int
  14401main (void)
  14402{
  14403return uuid_generate ();
  14404  ;
  14405  return 0;
  14406}
  14407_ACEOF
  14408if ac_fn_c_try_link "$LINENO"
  14409then :
  14410  ac_cv_lib_uuid_uuid_generate=yes
  14411else $as_nop
  14412  ac_cv_lib_uuid_uuid_generate=no
  14413fi
  14414rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14415    conftest$ac_exeext conftest.$ac_ext
  14416LIBS=$ac_check_lib_save_LIBS
  14417fi
  14418{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
  14419printf "%s\n" "$ac_cv_lib_uuid_uuid_generate" >&6; }
  14420if test "x$ac_cv_lib_uuid_uuid_generate" = xyes
  14421then :
  14422  UUID_LIBS=-luuid
  14423
  14424printf "%s\n" "#define HAVE_LIBUUID /**/" >>confdefs.h
  14425
  14426else $as_nop
  14427  have_libuuid=no
  14428fi
  14429
  14430fi
  14431
  14432# OSSP UUID (if libuuid is unavilable)
  14433if test "x${have_libuuid}" != "xyes"
  14434then
  14435
  14436    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_make in -lossp-uuid" >&5
  14437printf %s "checking for uuid_make in -lossp-uuid... " >&6; }
  14438if test ${ac_cv_lib_ossp_uuid_uuid_make+y}
  14439then :
  14440  printf %s "(cached) " >&6
  14441else $as_nop
  14442  ac_check_lib_save_LIBS=$LIBS
  14443LIBS="-lossp-uuid  $LIBS"
  14444cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14445/* end confdefs.h.  */
  14446
  14447/* Override any GCC internal prototype to avoid an error.
  14448   Use char because int might match the return type of a GCC
  14449   builtin and then its argument prototype would still apply.  */
  14450char uuid_make ();
  14451int
  14452main (void)
  14453{
  14454return uuid_make ();
  14455  ;
  14456  return 0;
  14457}
  14458_ACEOF
  14459if ac_fn_c_try_link "$LINENO"
  14460then :
  14461  ac_cv_lib_ossp_uuid_uuid_make=yes
  14462else $as_nop
  14463  ac_cv_lib_ossp_uuid_uuid_make=no
  14464fi
  14465rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14466    conftest$ac_exeext conftest.$ac_ext
  14467LIBS=$ac_check_lib_save_LIBS
  14468fi
  14469{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossp_uuid_uuid_make" >&5
  14470printf "%s\n" "$ac_cv_lib_ossp_uuid_uuid_make" >&6; }
  14471if test "x$ac_cv_lib_ossp_uuid_uuid_make" = xyes
  14472then :
  14473  UUID_LIBS=-lossp-uuid
  14474else $as_nop
  14475  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_make in -luuid" >&5
  14476printf %s "checking for uuid_make in -luuid... " >&6; }
  14477if test ${ac_cv_lib_uuid_uuid_make+y}
  14478then :
  14479  printf %s "(cached) " >&6
  14480else $as_nop
  14481  ac_check_lib_save_LIBS=$LIBS
  14482LIBS="-luuid  $LIBS"
  14483cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14484/* end confdefs.h.  */
  14485
  14486/* Override any GCC internal prototype to avoid an error.
  14487   Use char because int might match the return type of a GCC
  14488   builtin and then its argument prototype would still apply.  */
  14489char uuid_make ();
  14490int
  14491main (void)
  14492{
  14493return uuid_make ();
  14494  ;
  14495  return 0;
  14496}
  14497_ACEOF
  14498if ac_fn_c_try_link "$LINENO"
  14499then :
  14500  ac_cv_lib_uuid_uuid_make=yes
  14501else $as_nop
  14502  ac_cv_lib_uuid_uuid_make=no
  14503fi
  14504rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14505    conftest$ac_exeext conftest.$ac_ext
  14506LIBS=$ac_check_lib_save_LIBS
  14507fi
  14508{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_make" >&5
  14509printf "%s\n" "$ac_cv_lib_uuid_uuid_make" >&6; }
  14510if test "x$ac_cv_lib_uuid_uuid_make" = xyes
  14511then :
  14512  UUID_LIBS=-luuid
  14513else $as_nop
  14514  as_fn_error $? "
  14515  --------------------------------------------
  14516   Unable to find libuuid or the OSSP UUID library.
  14517   Either libuuid (from util-linux) or the OSSP UUID library is required for
  14518   guacamole-server to be built.
  14519  --------------------------------------------" "$LINENO" 5
  14520fi
  14521
  14522fi
  14523
  14524
  14525    # Check for and validate OSSP uuid.h header
  14526    ac_fn_c_check_header_compile "$LINENO" "ossp/uuid.h" "ac_cv_header_ossp_uuid_h" "$ac_includes_default"
  14527if test "x$ac_cv_header_ossp_uuid_h" = xyes
  14528then :
  14529  printf "%s\n" "#define HAVE_OSSP_UUID_H 1" >>confdefs.h
  14530
  14531fi
  14532
  14533    ac_fn_check_decl "$LINENO" "uuid_make" "ac_cv_have_decl_uuid_make" "#ifdef HAVE_OSSP_UUID_H
  14534                   #include <ossp/uuid.h>
  14535                   #else
  14536                   #include <uuid.h>
  14537                   #endif
  14538
  14539" "$ac_c_undeclared_builtin_options" "CFLAGS"
  14540if test "x$ac_cv_have_decl_uuid_make" = xyes
  14541then :
  14542
  14543else $as_nop
  14544  as_fn_error $? "\"No OSSP uuid.h found in include path\"" "$LINENO" 5
  14545fi
  14546fi
  14547
  14548# cunit
  14549{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CU_run_test in -lcunit" >&5
  14550printf %s "checking for CU_run_test in -lcunit... " >&6; }
  14551if test ${ac_cv_lib_cunit_CU_run_test+y}
  14552then :
  14553  printf %s "(cached) " >&6
  14554else $as_nop
  14555  ac_check_lib_save_LIBS=$LIBS
  14556LIBS="-lcunit  $LIBS"
  14557cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14558/* end confdefs.h.  */
  14559
  14560/* Override any GCC internal prototype to avoid an error.
  14561   Use char because int might match the return type of a GCC
  14562   builtin and then its argument prototype would still apply.  */
  14563char CU_run_test ();
  14564int
  14565main (void)
  14566{
  14567return CU_run_test ();
  14568  ;
  14569  return 0;
  14570}
  14571_ACEOF
  14572if ac_fn_c_try_link "$LINENO"
  14573then :
  14574  ac_cv_lib_cunit_CU_run_test=yes
  14575else $as_nop
  14576  ac_cv_lib_cunit_CU_run_test=no
  14577fi
  14578rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14579    conftest$ac_exeext conftest.$ac_ext
  14580LIBS=$ac_check_lib_save_LIBS
  14581fi
  14582{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cunit_CU_run_test" >&5
  14583printf "%s\n" "$ac_cv_lib_cunit_CU_run_test" >&6; }
  14584if test "x$ac_cv_lib_cunit_CU_run_test" = xyes
  14585then :
  14586  CUNIT_LIBS=-lcunit
  14587fi
  14588
  14589
  14590
  14591
  14592
  14593
  14594
  14595
  14596
  14597
  14598
  14599# Library functions
  14600ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
  14601if test "x$ac_cv_func_clock_gettime" = xyes
  14602then :
  14603  printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
  14604
  14605fi
  14606ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
  14607if test "x$ac_cv_func_gettimeofday" = xyes
  14608then :
  14609  printf "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
  14610
  14611fi
  14612ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
  14613if test "x$ac_cv_func_memmove" = xyes
  14614then :
  14615  printf "%s\n" "#define HAVE_MEMMOVE 1" >>confdefs.h
  14616
  14617fi
  14618ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
  14619if test "x$ac_cv_func_memset" = xyes
  14620then :
  14621  printf "%s\n" "#define HAVE_MEMSET 1" >>confdefs.h
  14622
  14623fi
  14624ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select"
  14625if test "x$ac_cv_func_select" = xyes
  14626then :
  14627  printf "%s\n" "#define HAVE_SELECT 1" >>confdefs.h
  14628
  14629fi
  14630ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
  14631if test "x$ac_cv_func_strdup" = xyes
  14632then :
  14633  printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h
  14634
  14635fi
  14636ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
  14637if test "x$ac_cv_func_nanosleep" = xyes
  14638then :
  14639  printf "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h
  14640
  14641fi
  14642
  14643
  14644ac_fn_check_decl "$LINENO" "png_get_io_ptr" "ac_cv_have_decl_png_get_io_ptr" "#include <png.h>
  14645" "$ac_c_undeclared_builtin_options" "CFLAGS"
  14646if test "x$ac_cv_have_decl_png_get_io_ptr" = xyes
  14647then :
  14648
  14649printf "%s\n" "#define HAVE_PNG_GET_IO_PTR /**/" >>confdefs.h
  14650
  14651fi
  14652
  14653ac_fn_check_decl "$LINENO" "cairo_format_stride_for_width" "ac_cv_have_decl_cairo_format_stride_for_width" "#include <cairo/cairo.h>
  14654" "$ac_c_undeclared_builtin_options" "CFLAGS"
  14655if test "x$ac_cv_have_decl_cairo_format_stride_for_width" = xyes
  14656then :
  14657
  14658printf "%s\n" "#define HAVE_CAIRO_FORMAT_STRIDE_FOR_WIDTH /**/" >>confdefs.h
  14659
  14660fi
  14661
  14662ac_fn_check_decl "$LINENO" "poll" "ac_cv_have_decl_poll" "#include <poll.h>
  14663" "$ac_c_undeclared_builtin_options" "CFLAGS"
  14664if test "x$ac_cv_have_decl_poll" = xyes
  14665then :
  14666
  14667printf "%s\n" "#define HAVE_POLL /**/" >>confdefs.h
  14668
  14669fi
  14670
  14671ac_fn_check_decl "$LINENO" "strlcpy" "ac_cv_have_decl_strlcpy" "#include <string.h>
  14672" "$ac_c_undeclared_builtin_options" "CFLAGS"
  14673if test "x$ac_cv_have_decl_strlcpy" = xyes
  14674then :
  14675
  14676printf "%s\n" "#define HAVE_STRLCPY /**/" >>confdefs.h
  14677
  14678fi
  14679
  14680ac_fn_check_decl "$LINENO" "strlcat" "ac_cv_have_decl_strlcat" "#include <string.h>
  14681" "$ac_c_undeclared_builtin_options" "CFLAGS"
  14682if test "x$ac_cv_have_decl_strlcat" = xyes
  14683then :
  14684
  14685printf "%s\n" "#define HAVE_STRLCAT /**/" >>confdefs.h
  14686
  14687fi
  14688
  14689ac_fn_check_decl "$LINENO" "strnstr" "ac_cv_have_decl_strnstr" "#include <string.h>
  14690" "$ac_c_undeclared_builtin_options" "CFLAGS"
  14691if test "x$ac_cv_have_decl_strnstr" = xyes
  14692then :
  14693
  14694printf "%s\n" "#define HAVE_STRNSTR /**/" >>confdefs.h
  14695
  14696fi
  14697
  14698# Typedefs
  14699ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  14700if test "x$ac_cv_type_size_t" = xyes
  14701then :
  14702
  14703else $as_nop
  14704
  14705printf "%s\n" "#define size_t unsigned int" >>confdefs.h
  14706
  14707fi
  14708
  14709ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
  14710if test "x$ac_cv_type_ssize_t" = xyes
  14711then :
  14712
  14713else $as_nop
  14714
  14715printf "%s\n" "#define ssize_t int" >>confdefs.h
  14716
  14717fi
  14718
  14719
  14720# Bundled libguac
  14721LIBGUAC_LTLIB='$(top_builddir)/src/libguac/libguac.la'
  14722
  14723LIBGUAC_INCLUDE='-I$(top_srcdir)/src/libguac'
  14724
  14725
  14726# Common non-libguac utility library
  14727COMMON_LTLIB='$(top_builddir)/src/common/libguac_common.la'
  14728
  14729COMMON_INCLUDE='-I$(top_srcdir)/src/common'
  14730
  14731
  14732# Common PulseAudio utility library
  14733PULSE_LTLIB='$(top_builddir)/src/pulse/libguac_pulse.la'
  14734
  14735PULSE_INCLUDE='-I$(top_srcdir)/src/pulse'
  14736
  14737
  14738# Common base SSH client
  14739COMMON_SSH_LTLIB='$(top_builddir)/src/common-ssh/libguac_common_ssh.la'
  14740
  14741COMMON_SSH_INCLUDE='-I$(top_srcdir)/src/common-ssh'
  14742
  14743
  14744# Kubernetes support
  14745LIBGUAC_CLIENT_KUBERNETES_LTLIB='$(top_builddir)/src/protocols/kubernetes/libguac-client-kubernetes.la'
  14746
  14747LIBGUAC_CLIENT_KUBERNETES_INCLUDE='-I$(top_srcdir)/src/protocols/kubernetes'
  14748
  14749
  14750# RDP support
  14751LIBGUAC_CLIENT_RDP_LTLIB='$(top_builddir)/src/protocols/rdp/libguac-client-rdp.la'
  14752
  14753LIBGUAC_CLIENT_RDP_INCLUDE='-I$(top_srcdir)/src/protocols/rdp'
  14754
  14755
  14756# Terminal emulator
  14757TERMINAL_LTLIB='$(top_builddir)/src/terminal/libguac-terminal.la'
  14758
  14759TERMINAL_INCLUDE='-I$(top_srcdir)/src/terminal $(PANGO_CFLAGS) $(PANGOCAIRO_CFLAGS) $(COMMON_INCLUDE)'
  14760
  14761
  14762# Init directory
  14763
  14764# Check whether --with-init_dir was given.
  14765if test ${with_init_dir+y}
  14766then :
  14767  withval=$with_init_dir; init_dir=$withval
  14768fi
  14769
  14770 if test "x${init_dir}" != "x"; then
  14771  ENABLE_INIT_TRUE=
  14772  ENABLE_INIT_FALSE='#'
  14773else
  14774  ENABLE_INIT_TRUE='#'
  14775  ENABLE_INIT_FALSE=
  14776fi
  14777
  14778
  14779
  14780# Systemd directory
  14781
  14782# Check whether --with-systemd_dir was given.
  14783if test ${with_systemd_dir+y}
  14784then :
  14785  withval=$with_systemd_dir; systemd_dir=$withval
  14786fi
  14787
  14788 if test "x${systemd_dir}" != "x"; then
  14789  ENABLE_SYSTEMD_TRUE=
  14790  ENABLE_SYSTEMD_FALSE='#'
  14791else
  14792  ENABLE_SYSTEMD_TRUE='#'
  14793  ENABLE_SYSTEMD_FALSE=
  14794fi
  14795
  14796
  14797
  14798# guacd config file
  14799
  14800# Check whether --with-guacd_conf was given.
  14801if test ${with_guacd_conf+y}
  14802then :
  14803  withval=$with_guacd_conf; guacd_conf=$withval
  14804else $as_nop
  14805  guacd_conf=/etc/guacamole/guacd.conf
  14806fi
  14807
  14808
  14809printf "%s\n" "#define GUACD_CONF_FILE \"$guacd_conf\"" >>confdefs.h
  14810
  14811
  14812#
  14813# libavcodec
  14814#
  14815
  14816have_libavcodec=disabled
  14817
  14818# Check whether --with-libavcodec was given.
  14819if test ${with_libavcodec+y}
  14820then :
  14821  withval=$with_libavcodec;
  14822else $as_nop
  14823  with_libavcodec=check
  14824fi
  14825
  14826
  14827if test "x$with_libavcodec" != "xno"
  14828then
  14829    have_libavcodec=yes
  14830
  14831
  14832
  14833
  14834
  14835
  14836
  14837if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  14838	if test -n "$ac_tool_prefix"; then
  14839  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  14840set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  14841{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14842printf %s "checking for $ac_word... " >&6; }
  14843if test ${ac_cv_path_PKG_CONFIG+y}
  14844then :
  14845  printf %s "(cached) " >&6
  14846else $as_nop
  14847  case $PKG_CONFIG in
  14848  [\\/]* | ?:[\\/]*)
  14849  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  14850  ;;
  14851  *)
  14852  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14853for as_dir in $PATH
  14854do
  14855  IFS=$as_save_IFS
  14856  case $as_dir in #(((
  14857    '') as_dir=./ ;;
  14858    */) ;;
  14859    *) as_dir=$as_dir/ ;;
  14860  esac
  14861    for ac_exec_ext in '' $ac_executable_extensions; do
  14862  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  14863    ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
  14864    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  14865    break 2
  14866  fi
  14867done
  14868  done
  14869IFS=$as_save_IFS
  14870
  14871  ;;
  14872esac
  14873fi
  14874PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  14875if test -n "$PKG_CONFIG"; then
  14876  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  14877printf "%s\n" "$PKG_CONFIG" >&6; }
  14878else
  14879  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14880printf "%s\n" "no" >&6; }
  14881fi
  14882
  14883
  14884fi
  14885if test -z "$ac_cv_path_PKG_CONFIG"; then
  14886  ac_pt_PKG_CONFIG=$PKG_CONFIG
  14887  # Extract the first word of "pkg-config", so it can be a program name with args.
  14888set dummy pkg-config; ac_word=$2
  14889{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14890printf %s "checking for $ac_word... " >&6; }
  14891if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
  14892then :
  14893  printf %s "(cached) " >&6
  14894else $as_nop
  14895  case $ac_pt_PKG_CONFIG in
  14896  [\\/]* | ?:[\\/]*)
  14897  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  14898  ;;
  14899  *)
  14900  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14901for as_dir in $PATH
  14902do
  14903  IFS=$as_save_IFS
  14904  case $as_dir in #(((
  14905    '') as_dir=./ ;;
  14906    */) ;;
  14907    *) as_dir=$as_dir/ ;;
  14908  esac
  14909    for ac_exec_ext in '' $ac_executable_extensions; do
  14910  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  14911    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
  14912    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  14913    break 2
  14914  fi
  14915done
  14916  done
  14917IFS=$as_save_IFS
  14918
  14919  ;;
  14920esac
  14921fi
  14922ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  14923if test -n "$ac_pt_PKG_CONFIG"; then
  14924  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  14925printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
  14926else
  14927  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14928printf "%s\n" "no" >&6; }
  14929fi
  14930
  14931  if test "x$ac_pt_PKG_CONFIG" = x; then
  14932    PKG_CONFIG=""
  14933  else
  14934    case $cross_compiling:$ac_tool_warned in
  14935yes:)
  14936{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14937printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14938ac_tool_warned=yes ;;
  14939esac
  14940    PKG_CONFIG=$ac_pt_PKG_CONFIG
  14941  fi
  14942else
  14943  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  14944fi
  14945
  14946fi
  14947if test -n "$PKG_CONFIG"; then
  14948	_pkg_min_version=0.9.0
  14949	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  14950printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  14951	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  14952		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14953printf "%s\n" "yes" >&6; }
  14954	else
  14955		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14956printf "%s\n" "no" >&6; }
  14957		PKG_CONFIG=""
  14958	fi
  14959fi
  14960
  14961pkg_failed=no
  14962{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AVCODEC" >&5
  14963printf %s "checking for AVCODEC... " >&6; }
  14964
  14965if test -n "$AVCODEC_CFLAGS"; then
  14966    pkg_cv_AVCODEC_CFLAGS="$AVCODEC_CFLAGS"
  14967 elif test -n "$PKG_CONFIG"; then
  14968    if test -n "$PKG_CONFIG" && \
  14969    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec\""; } >&5
  14970  ($PKG_CONFIG --exists --print-errors "libavcodec") 2>&5
  14971  ac_status=$?
  14972  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14973  test $ac_status = 0; }; then
  14974  pkg_cv_AVCODEC_CFLAGS=`$PKG_CONFIG --cflags "libavcodec" 2>/dev/null`
  14975		      test "x$?" != "x0" && pkg_failed=yes
  14976else
  14977  pkg_failed=yes
  14978fi
  14979 else
  14980    pkg_failed=untried
  14981fi
  14982if test -n "$AVCODEC_LIBS"; then
  14983    pkg_cv_AVCODEC_LIBS="$AVCODEC_LIBS"
  14984 elif test -n "$PKG_CONFIG"; then
  14985    if test -n "$PKG_CONFIG" && \
  14986    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec\""; } >&5
  14987  ($PKG_CONFIG --exists --print-errors "libavcodec") 2>&5
  14988  ac_status=$?
  14989  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14990  test $ac_status = 0; }; then
  14991  pkg_cv_AVCODEC_LIBS=`$PKG_CONFIG --libs "libavcodec" 2>/dev/null`
  14992		      test "x$?" != "x0" && pkg_failed=yes
  14993else
  14994  pkg_failed=yes
  14995fi
  14996 else
  14997    pkg_failed=untried
  14998fi
  14999
  15000
  15001
  15002if test $pkg_failed = yes; then
  15003   	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15004printf "%s\n" "no" >&6; }
  15005
  15006if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  15007        _pkg_short_errors_supported=yes
  15008else
  15009        _pkg_short_errors_supported=no
  15010fi
  15011        if test $_pkg_short_errors_supported = yes; then
  15012	        AVCODEC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libavcodec" 2>&1`
  15013        else
  15014	        AVCODEC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libavcodec" 2>&1`
  15015        fi
  15016	# Put the nasty error message in config.log where it belongs
  15017	echo "$AVCODEC_PKG_ERRORS" >&5
  15018
  15019	have_libavcodec=no
  15020elif test $pkg_failed = untried; then
  15021     	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15022printf "%s\n" "no" >&6; }
  15023	have_libavcodec=no
  15024else
  15025	AVCODEC_CFLAGS=$pkg_cv_AVCODEC_CFLAGS
  15026	AVCODEC_LIBS=$pkg_cv_AVCODEC_LIBS
  15027        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15028printf "%s\n" "yes" >&6; }
  15029
  15030fi;
  15031fi
  15032
  15033 if test "x${have_libavcodec}" = "xyes"; then
  15034  ENABLE_AVCODEC_TRUE=
  15035  ENABLE_AVCODEC_FALSE='#'
  15036else
  15037  ENABLE_AVCODEC_TRUE='#'
  15038  ENABLE_AVCODEC_FALSE=
  15039fi
  15040
  15041
  15042#
  15043# libavformat
  15044#
  15045
  15046have_libavformat=disabled
  15047
  15048# Check whether --with-libavformat was given.
  15049if test ${with_libavformat+y}
  15050then :
  15051  withval=$with_libavformat; .
  15052            with_libavformat=check
  15053fi
  15054
  15055if test "x$with_libavformat" != "xno"
  15056then
  15057    have_libavformat=yes
  15058
  15059pkg_failed=no
  15060{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AVFORMAT" >&5
  15061printf %s "checking for AVFORMAT... " >&6; }
  15062
  15063if test -n "$AVFORMAT_CFLAGS"; then
  15064    pkg_cv_AVFORMAT_CFLAGS="$AVFORMAT_CFLAGS"
  15065 elif test -n "$PKG_CONFIG"; then
  15066    if test -n "$PKG_CONFIG" && \
  15067    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat\""; } >&5
  15068  ($PKG_CONFIG --exists --print-errors "libavformat") 2>&5
  15069  ac_status=$?
  15070  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15071  test $ac_status = 0; }; then
  15072  pkg_cv_AVFORMAT_CFLAGS=`$PKG_CONFIG --cflags "libavformat" 2>/dev/null`
  15073		      test "x$?" != "x0" && pkg_failed=yes
  15074else
  15075  pkg_failed=yes
  15076fi
  15077 else
  15078    pkg_failed=untried
  15079fi
  15080if test -n "$AVFORMAT_LIBS"; then
  15081    pkg_cv_AVFORMAT_LIBS="$AVFORMAT_LIBS"
  15082 elif test -n "$PKG_CONFIG"; then
  15083    if test -n "$PKG_CONFIG" && \
  15084    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat\""; } >&5
  15085  ($PKG_CONFIG --exists --print-errors "libavformat") 2>&5
  15086  ac_status=$?
  15087  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15088  test $ac_status = 0; }; then
  15089  pkg_cv_AVFORMAT_LIBS=`$PKG_CONFIG --libs "libavformat" 2>/dev/null`
  15090		      test "x$?" != "x0" && pkg_failed=yes
  15091else
  15092  pkg_failed=yes
  15093fi
  15094 else
  15095    pkg_failed=untried
  15096fi
  15097
  15098
  15099
  15100if test $pkg_failed = yes; then
  15101   	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15102printf "%s\n" "no" >&6; }
  15103
  15104if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  15105        _pkg_short_errors_supported=yes
  15106else
  15107        _pkg_short_errors_supported=no
  15108fi
  15109        if test $_pkg_short_errors_supported = yes; then
  15110	        AVFORMAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libavformat" 2>&1`
  15111        else
  15112	        AVFORMAT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libavformat" 2>&1`
  15113        fi
  15114	# Put the nasty error message in config.log where it belongs
  15115	echo "$AVFORMAT_PKG_ERRORS" >&5
  15116
  15117	have_libavformat=no
  15118elif test $pkg_failed = untried; then
  15119     	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15120printf "%s\n" "no" >&6; }
  15121	have_libavformat=no
  15122else
  15123	AVFORMAT_CFLAGS=$pkg_cv_AVFORMAT_CFLAGS
  15124	AVFORMAT_LIBS=$pkg_cv_AVFORMAT_LIBS
  15125        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15126printf "%s\n" "yes" >&6; }
  15127
  15128fi;
  15129fi
  15130
  15131 if test "x${have_libavformat}" = "xyes"; then
  15132  ENABLE_AVFORMAT_TRUE=
  15133  ENABLE_AVFORMAT_FALSE='#'
  15134else
  15135  ENABLE_AVFORMAT_TRUE='#'
  15136  ENABLE_AVFORMAT_FALSE=
  15137fi
  15138
  15139
  15140#
  15141# libavutil
  15142#
  15143
  15144have_libavutil=disabled
  15145
  15146# Check whether --with-libavutil was given.
  15147if test ${with_libavutil+y}
  15148then :
  15149  withval=$with_libavutil;
  15150else $as_nop
  15151  with_libavutil=check
  15152fi
  15153
  15154
  15155if test "x$with_libavutil" != "xno"
  15156then
  15157    have_libavutil=yes
  15158
  15159pkg_failed=no
  15160{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AVUTIL" >&5
  15161printf %s "checking for AVUTIL... " >&6; }
  15162
  15163if test -n "$AVUTIL_CFLAGS"; then
  15164    pkg_cv_AVUTIL_CFLAGS="$AVUTIL_CFLAGS"
  15165 elif test -n "$PKG_CONFIG"; then
  15166    if test -n "$PKG_CONFIG" && \
  15167    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavutil\""; } >&5
  15168  ($PKG_CONFIG --exists --print-errors "libavutil") 2>&5
  15169  ac_status=$?
  15170  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15171  test $ac_status = 0; }; then
  15172  pkg_cv_AVUTIL_CFLAGS=`$PKG_CONFIG --cflags "libavutil" 2>/dev/null`
  15173		      test "x$?" != "x0" && pkg_failed=yes
  15174else
  15175  pkg_failed=yes
  15176fi
  15177 else
  15178    pkg_failed=untried
  15179fi
  15180if test -n "$AVUTIL_LIBS"; then
  15181    pkg_cv_AVUTIL_LIBS="$AVUTIL_LIBS"
  15182 elif test -n "$PKG_CONFIG"; then
  15183    if test -n "$PKG_CONFIG" && \
  15184    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavutil\""; } >&5
  15185  ($PKG_CONFIG --exists --print-errors "libavutil") 2>&5
  15186  ac_status=$?
  15187  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15188  test $ac_status = 0; }; then
  15189  pkg_cv_AVUTIL_LIBS=`$PKG_CONFIG --libs "libavutil" 2>/dev/null`
  15190		      test "x$?" != "x0" && pkg_failed=yes
  15191else
  15192  pkg_failed=yes
  15193fi
  15194 else
  15195    pkg_failed=untried
  15196fi
  15197
  15198
  15199
  15200if test $pkg_failed = yes; then
  15201   	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15202printf "%s\n" "no" >&6; }
  15203
  15204if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  15205        _pkg_short_errors_supported=yes
  15206else
  15207        _pkg_short_errors_supported=no
  15208fi
  15209        if test $_pkg_short_errors_supported = yes; then
  15210	        AVUTIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libavutil" 2>&1`
  15211        else
  15212	        AVUTIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libavutil" 2>&1`
  15213        fi
  15214	# Put the nasty error message in config.log where it belongs
  15215	echo "$AVUTIL_PKG_ERRORS" >&5
  15216
  15217	have_libavutil=no
  15218elif test $pkg_failed = untried; then
  15219     	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15220printf "%s\n" "no" >&6; }
  15221	have_libavutil=no
  15222else
  15223	AVUTIL_CFLAGS=$pkg_cv_AVUTIL_CFLAGS
  15224	AVUTIL_LIBS=$pkg_cv_AVUTIL_LIBS
  15225        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15226printf "%s\n" "yes" >&6; }
  15227
  15228fi;
  15229fi
  15230
  15231 if test "x${have_libavutil}" = "xyes"; then
  15232  ENABLE_AVUTIL_TRUE=
  15233  ENABLE_AVUTIL_FALSE='#'
  15234else
  15235  ENABLE_AVUTIL_TRUE='#'
  15236  ENABLE_AVUTIL_FALSE=
  15237fi
  15238
  15239
  15240#
  15241# libswscale
  15242#
  15243
  15244have_libswscale=disabled
  15245
  15246# Check whether --with-libswscale was given.
  15247if test ${with_libswscale+y}
  15248then :
  15249  withval=$with_libswscale;
  15250else $as_nop
  15251  with_libswscale=check
  15252fi
  15253
  15254
  15255if test "x$with_libswscale" != "xno"
  15256then
  15257    have_libswscale=yes
  15258
  15259pkg_failed=no
  15260{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SWSCALE" >&5
  15261printf %s "checking for SWSCALE... " >&6; }
  15262
  15263if test -n "$SWSCALE_CFLAGS"; then
  15264    pkg_cv_SWSCALE_CFLAGS="$SWSCALE_CFLAGS"
  15265 elif test -n "$PKG_CONFIG"; then
  15266    if test -n "$PKG_CONFIG" && \
  15267    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale\""; } >&5
  15268  ($PKG_CONFIG --exists --print-errors "libswscale") 2>&5
  15269  ac_status=$?
  15270  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15271  test $ac_status = 0; }; then
  15272  pkg_cv_SWSCALE_CFLAGS=`$PKG_CONFIG --cflags "libswscale" 2>/dev/null`
  15273		      test "x$?" != "x0" && pkg_failed=yes
  15274else
  15275  pkg_failed=yes
  15276fi
  15277 else
  15278    pkg_failed=untried
  15279fi
  15280if test -n "$SWSCALE_LIBS"; then
  15281    pkg_cv_SWSCALE_LIBS="$SWSCALE_LIBS"
  15282 elif test -n "$PKG_CONFIG"; then
  15283    if test -n "$PKG_CONFIG" && \
  15284    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale\""; } >&5
  15285  ($PKG_CONFIG --exists --print-errors "libswscale") 2>&5
  15286  ac_status=$?
  15287  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15288  test $ac_status = 0; }; then
  15289  pkg_cv_SWSCALE_LIBS=`$PKG_CONFIG --libs "libswscale" 2>/dev/null`
  15290		      test "x$?" != "x0" && pkg_failed=yes
  15291else
  15292  pkg_failed=yes
  15293fi
  15294 else
  15295    pkg_failed=untried
  15296fi
  15297
  15298
  15299
  15300if test $pkg_failed = yes; then
  15301   	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15302printf "%s\n" "no" >&6; }
  15303
  15304if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  15305        _pkg_short_errors_supported=yes
  15306else
  15307        _pkg_short_errors_supported=no
  15308fi
  15309        if test $_pkg_short_errors_supported = yes; then
  15310	        SWSCALE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libswscale" 2>&1`
  15311        else
  15312	        SWSCALE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libswscale" 2>&1`
  15313        fi
  15314	# Put the nasty error message in config.log where it belongs
  15315	echo "$SWSCALE_PKG_ERRORS" >&5
  15316
  15317	have_libswscale=no
  15318elif test $pkg_failed = untried; then
  15319     	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15320printf "%s\n" "no" >&6; }
  15321	have_libswscale=no
  15322else
  15323	SWSCALE_CFLAGS=$pkg_cv_SWSCALE_CFLAGS
  15324	SWSCALE_LIBS=$pkg_cv_SWSCALE_LIBS
  15325        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15326printf "%s\n" "yes" >&6; }
  15327
  15328fi;
  15329fi
  15330
  15331 if test "x${have_libswscale}" = "xyes"; then
  15332  ENABLE_SWSCALE_TRUE=
  15333  ENABLE_SWSCALE_FALSE='#'
  15334else
  15335  ENABLE_SWSCALE_TRUE='#'
  15336  ENABLE_SWSCALE_FALSE=
  15337fi
  15338
  15339
  15340#
  15341# libssl
  15342#
  15343
  15344have_ssl=disabled
  15345SSL_LIBS=
  15346
  15347# Check whether --with-ssl was given.
  15348if test ${with_ssl+y}
  15349then :
  15350  withval=$with_ssl;
  15351else $as_nop
  15352  with_ssl=check
  15353fi
  15354
  15355
  15356if test "x$with_ssl" != "xno"
  15357then
  15358    have_ssl=yes
  15359
  15360    ac_fn_c_check_header_compile "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default"
  15361if test "x$ac_cv_header_openssl_ssl_h" = xyes
  15362then :
  15363
  15364else $as_nop
  15365  have_ssl=no
  15366fi
  15367
  15368    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_CTX_new in -lssl" >&5
  15369printf %s "checking for SSL_CTX_new in -lssl... " >&6; }
  15370if test ${ac_cv_lib_ssl_SSL_CTX_new+y}
  15371then :
  15372  printf %s "(cached) " >&6
  15373else $as_nop
  15374  ac_check_lib_save_LIBS=$LIBS
  15375LIBS="-lssl  $LIBS"
  15376cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15377/* end confdefs.h.  */
  15378
  15379/* Override any GCC internal prototype to avoid an error.
  15380   Use char because int might match the return type of a GCC
  15381   builtin and then its argument prototype would still apply.  */
  15382char SSL_CTX_new ();
  15383int
  15384main (void)
  15385{
  15386return SSL_CTX_new ();
  15387  ;
  15388  return 0;
  15389}
  15390_ACEOF
  15391if ac_fn_c_try_link "$LINENO"
  15392then :
  15393  ac_cv_lib_ssl_SSL_CTX_new=yes
  15394else $as_nop
  15395  ac_cv_lib_ssl_SSL_CTX_new=no
  15396fi
  15397rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15398    conftest$ac_exeext conftest.$ac_ext
  15399LIBS=$ac_check_lib_save_LIBS
  15400fi
  15401{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_CTX_new" >&5
  15402printf "%s\n" "$ac_cv_lib_ssl_SSL_CTX_new" >&6; }
  15403if test "x$ac_cv_lib_ssl_SSL_CTX_new" = xyes
  15404then :
  15405  SSL_LIBS="$SSL_LIBS -lssl -lcrypto"
  15406else $as_nop
  15407  have_ssl=no
  15408fi
  15409
  15410
  15411    if test "x${have_ssl}" = "xno"
  15412    then
  15413        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
  15414  --------------------------------------------
  15415   Unable to find libssl.
  15416   guacd will not support SSL connections.
  15417  --------------------------------------------" >&5
  15418printf "%s\n" "$as_me: WARNING:
  15419  --------------------------------------------
  15420   Unable to find libssl.
  15421   guacd will not support SSL connections.
  15422  --------------------------------------------" >&2;}
  15423    else
  15424
  15425printf "%s\n" "#define ENABLE_SSL /**/" >>confdefs.h
  15426
  15427
  15428        # OpenSSL 1.1 does away with explicit threading callbacks
  15429        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libssl requires threading callbacks" >&5
  15430printf %s "checking whether libssl requires threading callbacks... " >&6; }
  15431        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15432/* end confdefs.h.  */
  15433
  15434
  15435            #include <openssl/opensslv.h>
  15436
  15437            #if OPENSSL_VERSION_NUMBER < 0x10100000L
  15438            #error Threading callbacks required.
  15439            #endif
  15440
  15441            int main() {
  15442                return 0;
  15443            }
  15444
  15445
  15446_ACEOF
  15447if ac_fn_c_try_compile "$LINENO"
  15448then :
  15449  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15450printf "%s\n" "no" >&6; }
  15451else $as_nop
  15452  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15453printf "%s\n" "yes" >&6; }
  15454
  15455printf "%s\n" "#define OPENSSL_REQUIRES_THREADING_CALLBACKS /**/" >>confdefs.h
  15456
  15457fi
  15458rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  15459
  15460    fi
  15461fi
  15462
  15463 if test "x${have_ssl}" = "xyes"; then
  15464  ENABLE_SSL_TRUE=
  15465  ENABLE_SSL_FALSE='#'
  15466else
  15467  ENABLE_SSL_TRUE='#'
  15468  ENABLE_SSL_FALSE=
  15469fi
  15470
  15471
  15472
  15473#
  15474# Winsock
  15475#
  15476
  15477have_winsock=disabled
  15478WINSOCK_LIBS=
  15479
  15480# Check whether --with-winsock was given.
  15481if test ${with_winsock+y}
  15482then :
  15483  withval=$with_winsock;
  15484else $as_nop
  15485  with_winsock=check
  15486fi
  15487
  15488
  15489if test "x$with_winsock" != "xno"
  15490then
  15491    have_winsock=yes
  15492    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lwsock32" >&5
  15493printf %s "checking for main in -lwsock32... " >&6; }
  15494if test ${ac_cv_lib_wsock32_main+y}
  15495then :
  15496  printf %s "(cached) " >&6
  15497else $as_nop
  15498  ac_check_lib_save_LIBS=$LIBS
  15499LIBS="-lwsock32  $LIBS"
  15500cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15501/* end confdefs.h.  */
  15502
  15503
  15504int
  15505main (void)
  15506{
  15507return main ();
  15508  ;
  15509  return 0;
  15510}
  15511_ACEOF
  15512if ac_fn_c_try_link "$LINENO"
  15513then :
  15514  ac_cv_lib_wsock32_main=yes
  15515else $as_nop
  15516  ac_cv_lib_wsock32_main=no
  15517fi
  15518rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15519    conftest$ac_exeext conftest.$ac_ext
  15520LIBS=$ac_check_lib_save_LIBS
  15521fi
  15522{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_main" >&5
  15523printf "%s\n" "$ac_cv_lib_wsock32_main" >&6; }
  15524if test "x$ac_cv_lib_wsock32_main" = xyes
  15525then :
  15526  WINSOCK_LIBS="-lwsock32"
  15527
  15528printf "%s\n" "#define ENABLE_WINSOCK /**/" >>confdefs.h
  15529
  15530else $as_nop
  15531  have_winsock=no
  15532fi
  15533
  15534fi
  15535
  15536 if test "x${have_winsock}" = "xyes"; then
  15537  ENABLE_WINSOCK_TRUE=
  15538  ENABLE_WINSOCK_FALSE='#'
  15539else
  15540  ENABLE_WINSOCK_TRUE='#'
  15541  ENABLE_WINSOCK_FALSE=
  15542fi
  15543
  15544
  15545
  15546#
  15547# Ogg Vorbis
  15548#
  15549
  15550have_vorbis=disabled
  15551VORBIS_LIBS=
  15552
  15553# Check whether --with-vorbis was given.
  15554if test ${with_vorbis+y}
  15555then :
  15556  withval=$with_vorbis;
  15557else $as_nop
  15558  with_vorbis=check
  15559fi
  15560
  15561
  15562if test "x$with_vorbis" != "xno"
  15563then
  15564    have_vorbis=yes
  15565
  15566    ac_fn_c_check_header_compile "$LINENO" "vorbis/vorbisenc.h" "ac_cv_header_vorbis_vorbisenc_h" "$ac_includes_default"
  15567if test "x$ac_cv_header_vorbis_vorbisenc_h" = xyes
  15568then :
  15569
  15570else $as_nop
  15571  have_vorbis=no
  15572fi
  15573
  15574    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ogg_stream_init in -logg" >&5
  15575printf %s "checking for ogg_stream_init in -logg... " >&6; }
  15576if test ${ac_cv_lib_ogg_ogg_stream_init+y}
  15577then :
  15578  printf %s "(cached) " >&6
  15579else $as_nop
  15580  ac_check_lib_save_LIBS=$LIBS
  15581LIBS="-logg  $LIBS"
  15582cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15583/* end confdefs.h.  */
  15584
  15585/* Override any GCC internal prototype to avoid an error.
  15586   Use char because int might match the return type of a GCC
  15587   builtin and then its argument prototype would still apply.  */
  15588char ogg_stream_init ();
  15589int
  15590main (void)
  15591{
  15592return ogg_stream_init ();
  15593  ;
  15594  return 0;
  15595}
  15596_ACEOF
  15597if ac_fn_c_try_link "$LINENO"
  15598then :
  15599  ac_cv_lib_ogg_ogg_stream_init=yes
  15600else $as_nop
  15601  ac_cv_lib_ogg_ogg_stream_init=no
  15602fi
  15603rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15604    conftest$ac_exeext conftest.$ac_ext
  15605LIBS=$ac_check_lib_save_LIBS
  15606fi
  15607{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ogg_ogg_stream_init" >&5
  15608printf "%s\n" "$ac_cv_lib_ogg_ogg_stream_init" >&6; }
  15609if test "x$ac_cv_lib_ogg_ogg_stream_init" = xyes
  15610then :
  15611  VORBIS_LIBS="$VORBIS_LIBS -logg"
  15612else $as_nop
  15613  have_vorbis=no
  15614fi
  15615
  15616    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vorbis_block_init in -lvorbis" >&5
  15617printf %s "checking for vorbis_block_init in -lvorbis... " >&6; }
  15618if test ${ac_cv_lib_vorbis_vorbis_block_init+y}
  15619then :
  15620  printf %s "(cached) " >&6
  15621else $as_nop
  15622  ac_check_lib_save_LIBS=$LIBS
  15623LIBS="-lvorbis  $LIBS"
  15624cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15625/* end confdefs.h.  */
  15626
  15627/* Override any GCC internal prototype to avoid an error.
  15628   Use char because int might match the return type of a GCC
  15629   builtin and then its argument prototype would still apply.  */
  15630char vorbis_block_init ();
  15631int
  15632main (void)
  15633{
  15634return vorbis_block_init ();
  15635  ;
  15636  return 0;
  15637}
  15638_ACEOF
  15639if ac_fn_c_try_link "$LINENO"
  15640then :
  15641  ac_cv_lib_vorbis_vorbis_block_init=yes
  15642else $as_nop
  15643  ac_cv_lib_vorbis_vorbis_block_init=no
  15644fi
  15645rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15646    conftest$ac_exeext conftest.$ac_ext
  15647LIBS=$ac_check_lib_save_LIBS
  15648fi
  15649{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbis_vorbis_block_init" >&5
  15650printf "%s\n" "$ac_cv_lib_vorbis_vorbis_block_init" >&6; }
  15651if test "x$ac_cv_lib_vorbis_vorbis_block_init" = xyes
  15652then :
  15653  VORBIS_LIBS="$VORBIS_LIBS -lvorbis"
  15654else $as_nop
  15655  have_vorbis=no
  15656fi
  15657
  15658    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vorbis_encode_init in -lvorbisenc" >&5
  15659printf %s "checking for vorbis_encode_init in -lvorbisenc... " >&6; }
  15660if test ${ac_cv_lib_vorbisenc_vorbis_encode_init+y}
  15661then :
  15662  printf %s "(cached) " >&6
  15663else $as_nop
  15664  ac_check_lib_save_LIBS=$LIBS
  15665LIBS="-lvorbisenc  $LIBS"
  15666cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15667/* end confdefs.h.  */
  15668
  15669/* Override any GCC internal prototype to avoid an error.
  15670   Use char because int might match the return type of a GCC
  15671   builtin and then its argument prototype would still apply.  */
  15672char vorbis_encode_init ();
  15673int
  15674main (void)
  15675{
  15676return vorbis_encode_init ();
  15677  ;
  15678  return 0;
  15679}
  15680_ACEOF
  15681if ac_fn_c_try_link "$LINENO"
  15682then :
  15683  ac_cv_lib_vorbisenc_vorbis_encode_init=yes
  15684else $as_nop
  15685  ac_cv_lib_vorbisenc_vorbis_encode_init=no
  15686fi
  15687rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15688    conftest$ac_exeext conftest.$ac_ext
  15689LIBS=$ac_check_lib_save_LIBS
  15690fi
  15691{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbisenc_vorbis_encode_init" >&5
  15692printf "%s\n" "$ac_cv_lib_vorbisenc_vorbis_encode_init" >&6; }
  15693if test "x$ac_cv_lib_vorbisenc_vorbis_encode_init" = xyes
  15694then :
  15695  VORBIS_LIBS="$VORBIS_LIBS -lvorbisenc"
  15696else $as_nop
  15697  have_vorbis=no
  15698fi
  15699
  15700
  15701    if test "x${have_vorbis}" = "xno"
  15702    then
  15703        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
  15704  --------------------------------------------
  15705   Unable to find libogg / libvorbis / libvorbisenc.
  15706   Sound will not be encoded with Ogg Vorbis.
  15707  --------------------------------------------" >&5
  15708printf "%s\n" "$as_me: WARNING:
  15709  --------------------------------------------
  15710   Unable to find libogg / libvorbis / libvorbisenc.
  15711   Sound will not be encoded with Ogg Vorbis.
  15712  --------------------------------------------" >&2;}
  15713    else
  15714
  15715printf "%s\n" "#define ENABLE_OGG /**/" >>confdefs.h
  15716
  15717    fi
  15718fi
  15719
  15720 if test "x${have_vorbis}" = "xyes"; then
  15721  ENABLE_OGG_TRUE=
  15722  ENABLE_OGG_FALSE='#'
  15723else
  15724  ENABLE_OGG_TRUE='#'
  15725  ENABLE_OGG_FALSE=
  15726fi
  15727
  15728
  15729
  15730#
  15731# PulseAudio
  15732#
  15733
  15734have_pulse=disabled
  15735PULSE_LIBS=
  15736
  15737# Check whether --with-pulse was given.
  15738if test ${with_pulse+y}
  15739then :
  15740  withval=$with_pulse;
  15741else $as_nop
  15742  with_pulse=check
  15743fi
  15744
  15745
  15746if test "x$with_pulse" != "xno"
  15747then
  15748    have_pulse=yes
  15749
  15750    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_context_new in -lpulse" >&5
  15751printf %s "checking for pa_context_new in -lpulse... " >&6; }
  15752if test ${ac_cv_lib_pulse_pa_context_new+y}
  15753then :
  15754  printf %s "(cached) " >&6
  15755else $as_nop
  15756  ac_check_lib_save_LIBS=$LIBS
  15757LIBS="-lpulse  $LIBS"
  15758cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15759/* end confdefs.h.  */
  15760
  15761/* Override any GCC internal prototype to avoid an error.
  15762   Use char because int might match the return type of a GCC
  15763   builtin and then its argument prototype would still apply.  */
  15764char pa_context_new ();
  15765int
  15766main (void)
  15767{
  15768return pa_context_new ();
  15769  ;
  15770  return 0;
  15771}
  15772_ACEOF
  15773if ac_fn_c_try_link "$LINENO"
  15774then :
  15775  ac_cv_lib_pulse_pa_context_new=yes
  15776else $as_nop
  15777  ac_cv_lib_pulse_pa_context_new=no
  15778fi
  15779rm -f core conftest.err conftest.$ac_objext conftest.beam \
  15780    conftest$ac_exeext conftest.$ac_ext
  15781LIBS=$ac_check_lib_save_LIBS
  15782fi
  15783{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_context_new" >&5
  15784printf "%s\n" "$ac_cv_lib_pulse_pa_context_new" >&6; }
  15785if test "x$ac_cv_lib_pulse_pa_context_new" = xyes
  15786then :
  15787  PULSE_LIBS="$PULSE_LIBS -lpulse"
  15788else $as_nop
  15789  have_pulse=no
  15790fi
  15791
  15792
  15793    if test "x${have_pulse}" = "xno"
  15794    then
  15795        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
  15796  --------------------------------------------
  15797   Unable to find libpulse
  15798   Sound support for VNC will be disabled
  15799  --------------------------------------------" >&5
  15800printf "%s\n" "$as_me: WARNING:
  15801  --------------------------------------------
  15802   Unable to find libpulse
  15803   Sound support for VNC will be disabled
  15804  --------------------------------------------" >&2;}
  15805    else
  15806
  15807printf "%s\n" "#define ENABLE_PULSE /**/" >>confdefs.h
  15808
  15809    fi
  15810fi
  15811
  15812 if test "x${have_pulse}" = "xyes"; then
  15813  ENABLE_PULSE_TRUE=
  15814  ENABLE_PULSE_FALSE='#'
  15815else
  15816  ENABLE_PULSE_TRUE='#'
  15817  ENABLE_PULSE_FALSE=
  15818fi
  15819
  15820
  15821
  15822#
  15823# PANGO
  15824#
  15825
  15826have_pango=disabled
  15827
  15828# Check whether --with-pango was given.
  15829if test ${with_pango+y}
  15830then :
  15831  withval=$with_pango;
  15832else $as_nop
  15833  with_pango=check
  15834fi
  15835
  15836
  15837if test "x$with_pango" != "xno"
  15838then
  15839    have_pango=yes
  15840
  15841pkg_failed=no
  15842{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5
  15843printf %s "checking for PANGO... " >&6; }
  15844
  15845if test -n "$PANGO_CFLAGS"; then
  15846    pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
  15847 elif test -n "$PKG_CONFIG"; then
  15848    if test -n "$PKG_CONFIG" && \
  15849    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango\""; } >&5
  15850  ($PKG_CONFIG --exists --print-errors "pango") 2>&5
  15851  ac_status=$?
  15852  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15853  test $ac_status = 0; }; then
  15854  pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango" 2>/dev/null`
  15855		      test "x$?" != "x0" && pkg_failed=yes
  15856else
  15857  pkg_failed=yes
  15858fi
  15859 else
  15860    pkg_failed=untried
  15861fi
  15862if test -n "$PANGO_LIBS"; then
  15863    pkg_cv_PANGO_LIBS="$PANGO_LIBS"
  15864 elif test -n "$PKG_CONFIG"; then
  15865    if test -n "$PKG_CONFIG" && \
  15866    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango\""; } >&5
  15867  ($PKG_CONFIG --exists --print-errors "pango") 2>&5
  15868  ac_status=$?
  15869  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15870  test $ac_status = 0; }; then
  15871  pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango" 2>/dev/null`
  15872		      test "x$?" != "x0" && pkg_failed=yes
  15873else
  15874  pkg_failed=yes
  15875fi
  15876 else
  15877    pkg_failed=untried
  15878fi
  15879
  15880
  15881
  15882if test $pkg_failed = yes; then
  15883   	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15884printf "%s\n" "no" >&6; }
  15885
  15886if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  15887        _pkg_short_errors_supported=yes
  15888else
  15889        _pkg_short_errors_supported=no
  15890fi
  15891        if test $_pkg_short_errors_supported = yes; then
  15892	        PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pango" 2>&1`
  15893        else
  15894	        PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pango" 2>&1`
  15895        fi
  15896	# Put the nasty error message in config.log where it belongs
  15897	echo "$PANGO_PKG_ERRORS" >&5
  15898
  15899	have_pango=no
  15900elif test $pkg_failed = untried; then
  15901     	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15902printf "%s\n" "no" >&6; }
  15903	have_pango=no
  15904else
  15905	PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
  15906	PANGO_LIBS=$pkg_cv_PANGO_LIBS
  15907        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15908printf "%s\n" "yes" >&6; }
  15909
  15910fi;
  15911
  15912pkg_failed=no
  15913{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PANGOCAIRO" >&5
  15914printf %s "checking for PANGOCAIRO... " >&6; }
  15915
  15916if test -n "$PANGOCAIRO_CFLAGS"; then
  15917    pkg_cv_PANGOCAIRO_CFLAGS="$PANGOCAIRO_CFLAGS"
  15918 elif test -n "$PKG_CONFIG"; then
  15919    if test -n "$PKG_CONFIG" && \
  15920    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangocairo\""; } >&5
  15921  ($PKG_CONFIG --exists --print-errors "pangocairo") 2>&5
  15922  ac_status=$?
  15923  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15924  test $ac_status = 0; }; then
  15925  pkg_cv_PANGOCAIRO_CFLAGS=`$PKG_CONFIG --cflags "pangocairo" 2>/dev/null`
  15926		      test "x$?" != "x0" && pkg_failed=yes
  15927else
  15928  pkg_failed=yes
  15929fi
  15930 else
  15931    pkg_failed=untried
  15932fi
  15933if test -n "$PANGOCAIRO_LIBS"; then
  15934    pkg_cv_PANGOCAIRO_LIBS="$PANGOCAIRO_LIBS"
  15935 elif test -n "$PKG_CONFIG"; then
  15936    if test -n "$PKG_CONFIG" && \
  15937    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangocairo\""; } >&5
  15938  ($PKG_CONFIG --exists --print-errors "pangocairo") 2>&5
  15939  ac_status=$?
  15940  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15941  test $ac_status = 0; }; then
  15942  pkg_cv_PANGOCAIRO_LIBS=`$PKG_CONFIG --libs "pangocairo" 2>/dev/null`
  15943		      test "x$?" != "x0" && pkg_failed=yes
  15944else
  15945  pkg_failed=yes
  15946fi
  15947 else
  15948    pkg_failed=untried
  15949fi
  15950
  15951
  15952
  15953if test $pkg_failed = yes; then
  15954   	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15955printf "%s\n" "no" >&6; }
  15956
  15957if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  15958        _pkg_short_errors_supported=yes
  15959else
  15960        _pkg_short_errors_supported=no
  15961fi
  15962        if test $_pkg_short_errors_supported = yes; then
  15963	        PANGOCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pangocairo" 2>&1`
  15964        else
  15965	        PANGOCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pangocairo" 2>&1`
  15966        fi
  15967	# Put the nasty error message in config.log where it belongs
  15968	echo "$PANGOCAIRO_PKG_ERRORS" >&5
  15969
  15970	have_pango=no
  15971elif test $pkg_failed = untried; then
  15972     	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15973printf "%s\n" "no" >&6; }
  15974	have_pango=no
  15975else
  15976	PANGOCAIRO_CFLAGS=$pkg_cv_PANGOCAIRO_CFLAGS
  15977	PANGOCAIRO_LIBS=$pkg_cv_PANGOCAIRO_LIBS
  15978        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15979printf "%s\n" "yes" >&6; }
  15980
  15981fi;
  15982fi
  15983
  15984#
  15985# Terminal emulator
  15986#
  15987
  15988have_terminal=disabled
  15989
  15990# Check whether --with-terminal was given.
  15991if test ${with_terminal+y}
  15992then :
  15993  withval=$with_terminal;
  15994else $as_nop
  15995  with_terminal=check
  15996fi
  15997
  15998
  15999if test "x$with_terminal" != "xno"
  16000then
  16001    have_terminal=yes
  16002    if test "x${have_pango}" != "xyes"
  16003    then
  16004        have_terminal=no
  16005    fi
  16006fi
  16007
  16008 if test "x${have_terminal}" = "xyes"; then
  16009  ENABLE_TERMINAL_TRUE=
  16010  ENABLE_TERMINAL_FALSE='#'
  16011else
  16012  ENABLE_TERMINAL_TRUE='#'
  16013  ENABLE_TERMINAL_FALSE=
  16014fi
  16015
  16016
  16017#
  16018# libVNCServer
  16019#
  16020
  16021have_libvncserver=disabled
  16022VNC_LIBS=
  16023
  16024# Check whether --with-vnc was given.
  16025if test ${with_vnc+y}
  16026then :
  16027  withval=$with_vnc;
  16028else $as_nop
  16029  with_vnc=check
  16030fi
  16031
  16032
  16033if test "x$with_vnc" != "xno"
  16034then
  16035    have_libvncserver=yes
  16036    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rfbInitClient in -lvncclient" >&5
  16037printf %s "checking for rfbInitClient in -lvncclient... " >&6; }
  16038if test ${ac_cv_lib_vncclient_rfbInitClient+y}
  16039then :
  16040  printf %s "(cached) " >&6
  16041else $as_nop
  16042  ac_check_lib_save_LIBS=$LIBS
  16043LIBS="-lvncclient  $LIBS"
  16044cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16045/* end confdefs.h.  */
  16046
  16047/* Override any GCC internal prototype to avoid an error.
  16048   Use char because int might match the return type of a GCC
  16049   builtin and then its argument prototype would still apply.  */
  16050char rfbInitClient ();
  16051int
  16052main (void)
  16053{
  16054return rfbInitClient ();
  16055  ;
  16056  return 0;
  16057}
  16058_ACEOF
  16059if ac_fn_c_try_link "$LINENO"
  16060then :
  16061  ac_cv_lib_vncclient_rfbInitClient=yes
  16062else $as_nop
  16063  ac_cv_lib_vncclient_rfbInitClient=no
  16064fi
  16065rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16066    conftest$ac_exeext conftest.$ac_ext
  16067LIBS=$ac_check_lib_save_LIBS
  16068fi
  16069{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vncclient_rfbInitClient" >&5
  16070printf "%s\n" "$ac_cv_lib_vncclient_rfbInitClient" >&6; }
  16071if test "x$ac_cv_lib_vncclient_rfbInitClient" = xyes
  16072then :
  16073  VNC_LIBS="$VNC_LIBS -lvncclient"
  16074else $as_nop
  16075  have_libvncserver=no
  16076fi
  16077
  16078fi
  16079
  16080#
  16081# Underlying libvncserver usage of gcrypt
  16082#
  16083
  16084if test "x${have_libvncserver}" = "xyes"
  16085then
  16086
  16087    # Whether libvncserver was built against libgcrypt
  16088    ac_fn_check_decl "$LINENO" "LIBVNCSERVER_WITH_CLIENT_GCRYPT" "ac_cv_have_decl_LIBVNCSERVER_WITH_CLIENT_GCRYPT" "#include <rfb/rfbconfig.h>
  16089" "$ac_c_undeclared_builtin_options" "CFLAGS"
  16090if test "x$ac_cv_have_decl_LIBVNCSERVER_WITH_CLIENT_GCRYPT" = xyes
  16091then :
  16092  ac_fn_c_check_header_compile "$LINENO" "gcrypt.h" "ac_cv_header_gcrypt_h" "$ac_includes_default"
  16093if test "x$ac_cv_header_gcrypt_h" = xyes
  16094then :
  16095
  16096else $as_nop
  16097  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
  16098  --------------------------------------------
  16099   libvncserver appears to be built against
  16100   libgcrypt, but the libgcrypt headers
  16101   could not be found. VNC will be disabled.
  16102  --------------------------------------------" >&5
  16103printf "%s\n" "$as_me: WARNING:
  16104  --------------------------------------------
  16105   libvncserver appears to be built against
  16106   libgcrypt, but the libgcrypt headers
  16107   could not be found. VNC will be disabled.
  16108  --------------------------------------------" >&2;}
  16109                                           have_libvncserver=no
  16110fi
  16111
  16112fi
  16113
  16114fi
  16115
  16116 if test "x${have_libvncserver}" = "xyes"; then
  16117  ENABLE_VNC_TRUE=
  16118  ENABLE_VNC_FALSE='#'
  16119else
  16120  ENABLE_VNC_TRUE='#'
  16121  ENABLE_VNC_FALSE=
  16122fi
  16123
  16124
  16125
  16126#
  16127# Repeater support within libVNCServer
  16128#
  16129
  16130if test "x${have_libvncserver}" = "xyes"
  16131then
  16132
  16133    have_vnc_repeater=yes
  16134    ac_fn_c_check_member "$LINENO" "rfbClient" "destHost" "ac_cv_member_rfbClient_destHost" "#include <rfb/rfbclient.h>
  16135"
  16136if test "x$ac_cv_member_rfbClient_destHost" = xyes
  16137then :
  16138
  16139printf "%s\n" "#define HAVE_RFBCLIENT_DESTHOST 1" >>confdefs.h
  16140
  16141
  16142else $as_nop
  16143  have_vnc_repeater=no
  16144fi
  16145ac_fn_c_check_member "$LINENO" "rfbClient" "destPort" "ac_cv_member_rfbClient_destPort" "#include <rfb/rfbclient.h>
  16146"
  16147if test "x$ac_cv_member_rfbClient_destPort" = xyes
  16148then :
  16149
  16150printf "%s\n" "#define HAVE_RFBCLIENT_DESTPORT 1" >>confdefs.h
  16151
  16152
  16153else $as_nop
  16154  have_vnc_repeater=no
  16155fi
  16156
  16157
  16158    if test "x${have_vnc_repeater}" = "xno"
  16159    then
  16160        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
  16161      --------------------------------------------
  16162       No repeater support found in libvncclient.
  16163       Support for VNC repeaters will not be built.
  16164      --------------------------------------------" >&5
  16165printf "%s\n" "$as_me: WARNING:
  16166      --------------------------------------------
  16167       No repeater support found in libvncclient.
  16168       Support for VNC repeaters will not be built.
  16169      --------------------------------------------" >&2;}
  16170    else
  16171
  16172printf "%s\n" "#define ENABLE_VNC_REPEATER /**/" >>confdefs.h
  16173
  16174    fi
  16175
  16176fi
  16177
  16178#
  16179# Listening support within libVNCServer
  16180#
  16181
  16182if test "x${have_libvncserver}" = "xyes"
  16183then
  16184
  16185    have_vnc_listen=yes
  16186    ac_fn_check_decl "$LINENO" "listenForIncomingConnectionsNoFork" "ac_cv_have_decl_listenForIncomingConnectionsNoFork" "#include <rfb/rfbclient.h>
  16187" "$ac_c_undeclared_builtin_options" "CFLAGS"
  16188if test "x$ac_cv_have_decl_listenForIncomingConnectionsNoFork" = xyes
  16189then :
  16190
  16191else $as_nop
  16192  have_vnc_listen=no
  16193fi
  16194
  16195    if test "x${have_vnc_listen}" = "xno"
  16196    then
  16197        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
  16198      --------------------------------------------
  16199       No listening support found in libvncclient.
  16200       Support for listen-mode connections will not be built.
  16201      --------------------------------------------" >&5
  16202printf "%s\n" "$as_me: WARNING:
  16203      --------------------------------------------
  16204       No listening support found in libvncclient.
  16205       Support for listen-mode connections will not be built.
  16206      --------------------------------------------" >&2;}
  16207    else
  16208
  16209printf "%s\n" "#define ENABLE_VNC_LISTEN /**/" >>confdefs.h
  16210
  16211    fi
  16212
  16213fi
  16214
  16215#
  16216# TLS Locking Support within libVNCServer
  16217#
  16218
  16219if test "x${have_libvncserver}" = "xyes"
  16220then
  16221
  16222    have_vnc_tls_locking=yes
  16223    ac_fn_c_check_member "$LINENO" "rfbClient" "LockWriteToTLS" "ac_cv_member_rfbClient_LockWriteToTLS" "#include <rfb/rfbclient.h>
  16224"
  16225if test "x$ac_cv_member_rfbClient_LockWriteToTLS" = xyes
  16226then :
  16227
  16228printf "%s\n" "#define HAVE_RFBCLIENT_LOCKWRITETOTLS 1" >>confdefs.h
  16229
  16230
  16231else $as_nop
  16232  have_vnc_tls_locking=no
  16233fi
  16234ac_fn_c_check_member "$LINENO" "rfbClient" "UnlockWriteToTLS" "ac_cv_member_rfbClient_UnlockWriteToTLS" "#include <rfb/rfbclient.h>
  16235"
  16236if test "x$ac_cv_member_rfbClient_UnlockWriteToTLS" = xyes
  16237then :
  16238
  16239printf "%s\n" "#define HAVE_RFBCLIENT_UNLOCKWRITETOTLS 1" >>confdefs.h
  16240
  16241
  16242else $as_nop
  16243  have_vnc_tls_locking=no
  16244fi
  16245
  16246
  16247    if test "x${have_vnc_tls_locking}" = "xno"
  16248    then
  16249        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
  16250      --------------------------------------------
  16251       This version of libvncclient lacks support
  16252       for TLS locking.  VNC connections that use
  16253       TLS may experience instability as documented
  16254       in GUACAMOLE-414" >&5
  16255printf "%s\n" "$as_me: WARNING:
  16256      --------------------------------------------
  16257       This version of libvncclient lacks support
  16258       for TLS locking.  VNC connections that use
  16259       TLS may experience instability as documented
  16260       in GUACAMOLE-414" >&2;}
  16261    else
  16262
  16263printf "%s\n" "#define ENABLE_VNC_TLS_LOCKING /**/" >>confdefs.h
  16264
  16265    fi
  16266
  16267fi
  16268
  16269#
  16270# Generic credential support within libVNCServer (authentication beyond
  16271# basic, standard VNC passwords)
  16272#
  16273
  16274if test "x${have_libvncserver}" = "xyes"
  16275then
  16276
  16277    have_vnc_creds=yes
  16278    ac_fn_c_check_member "$LINENO" "rfbClient" "GetCredential" "ac_cv_member_rfbClient_GetCredential" "#include <rfb/rfbclient.h>
  16279"
  16280if test "x$ac_cv_member_rfbClient_GetCredential" = xyes
  16281then :
  16282
  16283printf "%s\n" "#define HAVE_RFBCLIENT_GETCREDENTIAL 1" >>confdefs.h
  16284
  16285
  16286else $as_nop
  16287  have_vnc_creds=no
  16288fi
  16289
  16290
  16291    if test "x${have_vnc_creds}" = "xno"
  16292    then
  16293        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
  16294      --------------------------------------------
  16295       No generic credential support found in libvncclient.
  16296       VNC authentication support will be limited to passwords.
  16297      --------------------------------------------" >&5
  16298printf "%s\n" "$as_me: WARNING:
  16299      --------------------------------------------
  16300       No generic credential support found in libvncclient.
  16301       VNC authentication support will be limited to passwords.
  16302      --------------------------------------------" >&2;}
  16303    else
  16304
  16305printf "%s\n" "#define ENABLE_VNC_GENERIC_CREDENTIALS /**/" >>confdefs.h
  16306
  16307    fi
  16308
  16309fi
  16310
  16311
  16312#
  16313# FreeRDP 2 (libfreerdp2, libfreerdp-client2, and libwinpr2)
  16314#
  16315
  16316have_freerdp2=disabled
  16317FREERDP2_PLUGIN_DIR=
  16318
  16319
  16320# Check whether --with-rdp was given.
  16321if test ${with_rdp+y}
  16322then :
  16323  withval=$with_rdp;
  16324else $as_nop
  16325  with_rdp=check
  16326fi
  16327
  16328
  16329# FreeRDP plugin directory
  16330
  16331# Check whether --with-freerdp_plugin_dir was given.
  16332if test ${with_freerdp_plugin_dir+y}
  16333then :
  16334  withval=$with_freerdp_plugin_dir; FREERDP2_PLUGIN_DIR=$withval
  16335fi
  16336
  16337
  16338# Preserve CPPFLAGS so it can be restored later, following the addition of
  16339# options specific to FreeRDP tests
  16340OLDCPPFLAGS="$CPPFLAGS"
  16341
  16342if test "x$with_rdp" != "xno"
  16343then
  16344    have_freerdp2=yes
  16345
  16346pkg_failed=no
  16347{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RDP" >&5
  16348printf %s "checking for RDP... " >&6; }
  16349
  16350if test -n "$RDP_CFLAGS"; then
  16351    pkg_cv_RDP_CFLAGS="$RDP_CFLAGS"
  16352 elif test -n "$PKG_CONFIG"; then
  16353    if test -n "$PKG_CONFIG" && \
  16354    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp2 freerdp-client2 winpr2\""; } >&5
  16355  ($PKG_CONFIG --exists --print-errors "freerdp2 freerdp-client2 winpr2") 2>&5
  16356  ac_status=$?
  16357  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  16358  test $ac_status = 0; }; then
  16359  pkg_cv_RDP_CFLAGS=`$PKG_CONFIG --cflags "freerdp2 freerdp-client2 winpr2" 2>/dev/null`
  16360		      test "x$?" != "x0" && pkg_failed=yes
  16361else
  16362  pkg_failed=yes
  16363fi
  16364 else
  16365    pkg_failed=untried
  16366fi
  16367if test -n "$RDP_LIBS"; then
  16368    pkg_cv_RDP_LIBS="$RDP_LIBS"
  16369 elif test -n "$PKG_CONFIG"; then
  16370    if test -n "$PKG_CONFIG" && \
  16371    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp2 freerdp-client2 winpr2\""; } >&5
  16372  ($PKG_CONFIG --exists --print-errors "freerdp2 freerdp-client2 winpr2") 2>&5
  16373  ac_status=$?
  16374  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  16375  test $ac_status = 0; }; then
  16376  pkg_cv_RDP_LIBS=`$PKG_CONFIG --libs "freerdp2 freerdp-client2 winpr2" 2>/dev/null`
  16377		      test "x$?" != "x0" && pkg_failed=yes
  16378else
  16379  pkg_failed=yes
  16380fi
  16381 else
  16382    pkg_failed=untried
  16383fi
  16384
  16385
  16386
  16387if test $pkg_failed = yes; then
  16388   	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16389printf "%s\n" "no" >&6; }
  16390
  16391if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  16392        _pkg_short_errors_supported=yes
  16393else
  16394        _pkg_short_errors_supported=no
  16395fi
  16396        if test $_pkg_short_errors_supported = yes; then
  16397	        RDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freerdp2 freerdp-client2 winpr2" 2>&1`
  16398        else
  16399	        RDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freerdp2 freerdp-client2 winpr2" 2>&1`
  16400        fi
  16401	# Put the nasty error message in config.log where it belongs
  16402	echo "$RDP_PKG_ERRORS" >&5
  16403
  16404	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
  16405  --------------------------------------------
  16406   Unable to find FreeRDP (libfreerdp2 / libfreerdp-client2 / libwinpr2)
  16407   RDP will be disabled.
  16408  --------------------------------------------" >&5
  16409printf "%s\n" "$as_me: WARNING:
  16410  --------------------------------------------
  16411   Unable to find FreeRDP (libfreerdp2 / libfreerdp-client2 / libwinpr2)
  16412   RDP will be disabled.
  16413  --------------------------------------------" >&2;}
  16414                       have_freerdp2=no
  16415elif test $pkg_failed = untried; then
  16416     	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16417printf "%s\n" "no" >&6; }
  16418	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
  16419  --------------------------------------------
  16420   Unable to find FreeRDP (libfreerdp2 / libfreerdp-client2 / libwinpr2)
  16421   RDP will be disabled.
  16422  --------------------------------------------" >&5
  16423printf "%s\n" "$as_me: WARNING:
  16424  --------------------------------------------
  16425   Unable to find FreeRDP (libfreerdp2 / libfreerdp-client2 / libwinpr2)
  16426   RDP will be disabled.
  16427  --------------------------------------------" >&2;}
  16428                       have_freerdp2=no
  16429else
  16430	RDP_CFLAGS=$pkg_cv_RDP_CFLAGS
  16431	RDP_LIBS=$pkg_cv_RDP_LIBS
  16432        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16433printf "%s\n" "yes" >&6; }
  16434	CPPFLAGS="${RDP_CFLAGS} -Werror $CPPFLAGS"
  16435                      if test "x${FREERDP2_PLUGIN_DIR}" = "x"
  16436then :
  16437  FREERDP2_PLUGIN_DIR="`$PKG_CONFIG --variable=libdir freerdp2`/freerdp2"
  16438fi
  16439fi
  16440fi
  16441
  16442# Available color conversion functions
  16443if test "x$have_freerdp2" = "xyes"
  16444then
  16445
  16446    # FreeRDP 2.0.0-rc3 and older referred to FreeRDPConvertColor() as
  16447    # ConvertColor()
  16448    ac_fn_check_decl "$LINENO" "FreeRDPConvertColor" "ac_cv_have_decl_FreeRDPConvertColor" "#include <freerdp/codec/color.h>
  16449" "$ac_c_undeclared_builtin_options" "CFLAGS"
  16450if test "x$ac_cv_have_decl_FreeRDPConvertColor" = xyes
  16451then :
  16452
  16453printf "%s\n" "#define HAVE_FREERDPCONVERTCOLOR /**/" >>confdefs.h
  16454
  16455fi
  16456
  16457fi
  16458
  16459# It is difficult or impossible to test for variations in FreeRDP behavior in
  16460# between releases, as the change in behavior may not (yet) be associated with
  16461# a corresponding change in version number and may not have any detectable
  16462# effect on the FreeRDP API
  16463
  16464# Check whether --enable-allow_freerdp_snapshots was given.
  16465if test ${enable_allow_freerdp_snapshots+y}
  16466then :
  16467  enableval=$enable_allow_freerdp_snapshots; allow_freerdp_snapshots=yes
  16468fi
  16469
  16470
  16471if test "x${have_freerdp2}" = "xyes" -a "x${allow_freerdp_snapshots}" != "xyes"
  16472then
  16473
  16474    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether FreeRDP appears to be a development version" >&5
  16475printf %s "checking whether FreeRDP appears to be a development version... " >&6; }
  16476    ac_ext=c
  16477ac_cpp='$CPP $CPPFLAGS'
  16478ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16479ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16480ac_compiler_gnu=$ac_cv_c_compiler_gnu
  16481{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  16482printf %s "checking how to run the C preprocessor... " >&6; }
  16483# On Suns, sometimes $CPP names a directory.
  16484if test -n "$CPP" && test -d "$CPP"; then
  16485  CPP=
  16486fi
  16487if test -z "$CPP"; then
  16488  if test ${ac_cv_prog_CPP+y}
  16489then :
  16490  printf %s "(cached) " >&6
  16491else $as_nop
  16492      # Double quotes because $CC needs to be expanded
  16493    for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
  16494    do
  16495      ac_preproc_ok=false
  16496for ac_c_preproc_warn_flag in '' yes
  16497do
  16498  # Use a header file that comes with gcc, so configuring glibc
  16499  # with a fresh cross-compiler works.
  16500  # On the NeXT, cc -E runs the code through the compiler's parser,
  16501  # not just through cpp. "Syntax error" is here to catch this case.
  16502  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16503/* end confdefs.h.  */
  16504#include <limits.h>
  16505		     Syntax error
  16506_ACEOF
  16507if ac_fn_c_try_cpp "$LINENO"
  16508then :
  16509
  16510else $as_nop
  16511  # Broken: fails on valid input.
  16512continue
  16513fi
  16514rm -f conftest.err conftest.i conftest.$ac_ext
  16515
  16516  # OK, works on sane cases.  Now check whether nonexistent headers
  16517  # can be detected and how.
  16518  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16519/* end confdefs.h.  */
  16520#include <ac_nonexistent.h>
  16521_ACEOF
  16522if ac_fn_c_try_cpp "$LINENO"
  16523then :
  16524  # Broken: success on invalid input.
  16525continue
  16526else $as_nop
  16527  # Passes both tests.
  16528ac_preproc_ok=:
  16529break
  16530fi
  16531rm -f conftest.err conftest.i conftest.$ac_ext
  16532
  16533done
  16534# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  16535rm -f conftest.i conftest.err conftest.$ac_ext
  16536if $ac_preproc_ok
  16537then :
  16538  break
  16539fi
  16540
  16541    done
  16542    ac_cv_prog_CPP=$CPP
  16543
  16544fi
  16545  CPP=$ac_cv_prog_CPP
  16546else
  16547  ac_cv_prog_CPP=$CPP
  16548fi
  16549{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  16550printf "%s\n" "$CPP" >&6; }
  16551ac_preproc_ok=false
  16552for ac_c_preproc_warn_flag in '' yes
  16553do
  16554  # Use a header file that comes with gcc, so configuring glibc
  16555  # with a fresh cross-compiler works.
  16556  # On the NeXT, cc -E runs the code through the compiler's parser,
  16557  # not just through cpp. "Syntax error" is here to catch this case.
  16558  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16559/* end confdefs.h.  */
  16560#include <limits.h>
  16561		     Syntax error
  16562_ACEOF
  16563if ac_fn_c_try_cpp "$LINENO"
  16564then :
  16565
  16566else $as_nop
  16567  # Broken: fails on valid input.
  16568continue
  16569fi
  16570rm -f conftest.err conftest.i conftest.$ac_ext
  16571
  16572  # OK, works on sane cases.  Now check whether nonexistent headers
  16573  # can be detected and how.
  16574  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16575/* end confdefs.h.  */
  16576#include <ac_nonexistent.h>
  16577_ACEOF
  16578if ac_fn_c_try_cpp "$LINENO"
  16579then :
  16580  # Broken: success on invalid input.
  16581continue
  16582else $as_nop
  16583  # Passes both tests.
  16584ac_preproc_ok=:
  16585break
  16586fi
  16587rm -f conftest.err conftest.i conftest.$ac_ext
  16588
  16589done
  16590# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  16591rm -f conftest.i conftest.err conftest.$ac_ext
  16592if $ac_preproc_ok
  16593then :
  16594
  16595else $as_nop
  16596  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16597printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  16598as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  16599See \`config.log' for more details" "$LINENO" 5; }
  16600fi
  16601
  16602ac_ext=c
  16603ac_cpp='$CPP $CPPFLAGS'
  16604ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16605ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16606ac_compiler_gnu=$ac_cv_c_compiler_gnu
  16607
  16608
  16609cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16610/* end confdefs.h.  */
  16611
  16612
  16613        #include <freerdp/version.h>
  16614        FREERDP_VERSION_FULL
  16615
  16616
  16617_ACEOF
  16618if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  16619  $EGREP "\"[0-9]+\\.[0-9]+\\.[0-9]+(-rc[0-9]+)?\"" >/dev/null 2>&1
  16620then :
  16621  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16622printf "%s\n" "no" >&6; }
  16623else $as_nop
  16624  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16625printf "%s\n" "yes" >&6; }
  16626    as_fn_error $? "
  16627  --------------------------------------------
  16628   You are building against a development version of FreeRDP. Non-release
  16629   versions of FreeRDP may have differences in behavior that are impossible to
  16630   check for at build time. This may result in memory leaks or other strange
  16631   behavior.
  16632
  16633   *** PLEASE USE A RELEASED VERSION OF FREERDP IF POSSIBLE ***
  16634
  16635   If you are ABSOLUTELY CERTAIN that building against this version of FreeRDP
  16636   is OK, rerun configure with the --enable-allow-freerdp-snapshots
  16637  --------------------------------------------" "$LINENO" 5
  16638fi
  16639rm -rf conftest*
  16640
  16641
  16642fi
  16643
  16644# Variation in memory internal allocation/free behavior for bitmaps
  16645if test "x${have_freerdp2}" = "xyes"
  16646then
  16647
  16648    # FreeRDP 2.0.0-rc0 and older automatically free rdpBitmap and its
  16649    # associated data member within Bitmap_Free(), relying on the
  16650    # implementation-specific free handler to free only implementation-specific
  16651    # data. This changed in commit 2cf10cc, and implementations must now
  16652    # manually free all data associated with the rdpBitmap, even data which
  16653    # was not allocated by the implementation.
  16654    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Bitmap_Free() frees the rdpBitmap and its image data" >&5
  16655printf %s "checking whether Bitmap_Free() frees the rdpBitmap and its image data... " >&6; }
  16656    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16657/* end confdefs.h.  */
  16658
  16659
  16660        #include <freerdp/version.h>
  16661        FREERDP_VERSION_FULL
  16662
  16663
  16664_ACEOF
  16665if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  16666  $EGREP "\"2\\.0\\.0-dev\"" >/dev/null 2>&1
  16667then :
  16668  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16669printf "%s\n" "yes" >&6; }
  16670
  16671printf "%s\n" "#define FREERDP_BITMAP_FREE_FREES_BITMAP /**/" >>confdefs.h
  16672
  16673else $as_nop
  16674  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16675printf "%s\n" "no" >&6; }
  16676fi
  16677rm -rf conftest*
  16678
  16679
  16680fi
  16681
  16682# Variation in memory internal allocation/free behavior for channel streams
  16683if test "x${have_freerdp2}" = "xyes"
  16684then
  16685
  16686    # FreeRDP 2.0.0-rc3 through 2.0.0-rc4 automatically free the wStream
  16687    # provided to pVirtualChannelWriteEx(). This changed in commit 1b78b59, and
  16688    # implementations must manually free the wStream after it is no longer
  16689    # needed (after the write is complete or cancelled).
  16690    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pVirtualChannelWriteEx() frees the wStream upon completion" >&5
  16691printf %s "checking whether pVirtualChannelWriteEx() frees the wStream upon completion... " >&6; }
  16692    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16693/* end confdefs.h.  */
  16694
  16695
  16696        #include <freerdp/version.h>
  16697        FREERDP_VERSION_FULL
  16698
  16699
  16700_ACEOF
  16701if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  16702  $EGREP "\"2\\.0\\.0-(rc|dev)[3-4]\"" >/dev/null 2>&1
  16703then :
  16704  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16705printf "%s\n" "yes" >&6; }
  16706
  16707printf "%s\n" "#define FREERDP_SVC_CORE_FREES_WSTREAM /**/" >>confdefs.h
  16708
  16709else $as_nop
  16710  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16711printf "%s\n" "no" >&6; }
  16712fi
  16713rm -rf conftest*
  16714
  16715
  16716fi
  16717
  16718
  16719# Glyph callback variants
  16720if test "x${have_freerdp2}" = "xyes"
  16721then
  16722
  16723    # FreeRDP 2.0.0-rc3 and older used UINT32 for integer parameters to all
  16724    # rdpGlyph callbacks
  16725    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether rdpGlyph callbacks accept INT32 integer parameters" >&5
  16726printf %s "checking whether rdpGlyph callbacks accept INT32 integer parameters... " >&6; }
  16727    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16728/* end confdefs.h.  */
  16729
  16730
  16731        #include <freerdp/freerdp.h>
  16732        #include <freerdp/graphics.h>
  16733        #include <winpr/wtypes.h>
  16734
  16735        BOOL test_begindraw(rdpContext* context, INT32 x, INT32 y,
  16736                INT32 width, INT32 height, UINT32 fgcolor, UINT32 bgcolor,
  16737                BOOL redundant);
  16738
  16739        rdpGlyph glyph = {
  16740            .BeginDraw = test_begindraw
  16741        };
  16742
  16743        int main() {
  16744            return (int) glyph.BeginDraw(NULL, 0, 0, 0, 0, 0, 0, FALSE);
  16745        }
  16746
  16747
  16748_ACEOF
  16749if ac_fn_c_try_compile "$LINENO"
  16750then :
  16751  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16752printf "%s\n" "yes" >&6; }
  16753
  16754printf "%s\n" "#define FREERDP_GLYPH_CALLBACKS_ACCEPT_INT32 /**/" >>confdefs.h
  16755
  16756else $as_nop
  16757  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16758printf "%s\n" "no" >&6; }
  16759fi
  16760rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  16761
  16762fi
  16763
  16764# CLIPRDR callback variants
  16765if test "x${have_freerdp2}" = "xyes"
  16766then
  16767
  16768    # FreeRDP 2.0.0-rc3 and older did not use const for CLIPRDR callbacks
  16769    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CLIPRDR callbacks require const for their final parameter" >&5
  16770printf %s "checking whether CLIPRDR callbacks require const for their final parameter... " >&6; }
  16771    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16772/* end confdefs.h.  */
  16773
  16774
  16775        #include <freerdp/client/cliprdr.h>
  16776        #include <winpr/wtypes.h>
  16777
  16778        UINT test_monitor_ready(CliprdrClientContext* cliprdr,
  16779                const CLIPRDR_MONITOR_READY* monitor_ready);
  16780
  16781        CliprdrClientContext context = {
  16782            .MonitorReady = test_monitor_ready
  16783        };
  16784
  16785        int main() {
  16786            return (int) context.MonitorReady(NULL, NULL);
  16787        }
  16788
  16789
  16790_ACEOF
  16791if ac_fn_c_try_compile "$LINENO"
  16792then :
  16793  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16794printf "%s\n" "yes" >&6; }
  16795
  16796printf "%s\n" "#define FREERDP_CLIPRDR_CALLBACKS_REQUIRE_CONST /**/" >>confdefs.h
  16797
  16798else $as_nop
  16799  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16800printf "%s\n" "no" >&6; }
  16801fi
  16802rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  16803
  16804fi
  16805
  16806# RAIL callback variants
  16807if test "x${have_freerdp2}" = "xyes"
  16808then
  16809
  16810    # FreeRDP 2.0.0-rc3 and older did not use const for RAIL callbacks
  16811    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether RAIL callbacks require const for their final parameter" >&5
  16812printf %s "checking whether RAIL callbacks require const for their final parameter... " >&6; }
  16813    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16814/* end confdefs.h.  */
  16815
  16816
  16817        #include <freerdp/client/rail.h>
  16818        #include <winpr/wtypes.h>
  16819
  16820        UINT test_server_handshake(RailClientContext* rail,
  16821                const RAIL_HANDSHAKE_ORDER* handshake);
  16822
  16823        RailClientContext context = {
  16824            .ServerHandshake = test_server_handshake
  16825        };
  16826
  16827        int main() {
  16828            return (int) context.ServerHandshake(NULL, NULL);
  16829        }
  16830
  16831
  16832_ACEOF
  16833if ac_fn_c_try_compile "$LINENO"
  16834then :
  16835  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16836printf "%s\n" "yes" >&6; }
  16837
  16838printf "%s\n" "#define FREERDP_RAIL_CALLBACKS_REQUIRE_CONST /**/" >>confdefs.h
  16839
  16840else $as_nop
  16841  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16842printf "%s\n" "no" >&6; }
  16843fi
  16844rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  16845
  16846fi
  16847
  16848# Support for receiving unannounced orders from the RDP server
  16849if test "x${have_freerdp2}" = "xyes"
  16850then
  16851    ac_fn_c_check_member "$LINENO" "rdpSettings" "AllowUnanouncedOrdersFromServer" "ac_cv_member_rdpSettings_AllowUnanouncedOrdersFromServer" "#include <freerdp/freerdp.h>
  16852"
  16853if test "x$ac_cv_member_rdpSettings_AllowUnanouncedOrdersFromServer" = xyes
  16854then :
  16855
  16856printf "%s\n" "#define HAVE_RDPSETTINGS_ALLOWUNANOUNCEDORDERSFROMSERVER 1" >>confdefs.h
  16857
  16858
  16859else $as_nop
  16860  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
  16861  --------------------------------------------
  16862   This version of FreeRDP does not support relaxed order checks. RDP servers
  16863   that send orders that the client did not announce as supported (such as the
  16864   VirtualBox RDP server) will likely not be usable.
  16865
  16866   See: https://issues.apache.org/jira/browse/GUACAMOLE-962
  16867  --------------------------------------------" >&5
  16868printf "%s\n" "$as_me: WARNING:
  16869  --------------------------------------------
  16870   This version of FreeRDP does not support relaxed order checks. RDP servers
  16871   that send orders that the client did not announce as supported (such as the
  16872   VirtualBox RDP server) will likely not be usable.
  16873
  16874   See: https://issues.apache.org/jira/browse/GUACAMOLE-962
  16875  --------------------------------------------" >&2;}
  16876fi
  16877
  16878fi
  16879
  16880# Updated certificate verification callback (introduced with 2.0.0, not present
  16881# in 2.0.0-rc4 or earlier)
  16882if test "x${have_freerdp2}" = "xyes"
  16883then
  16884    ac_fn_c_check_member "$LINENO" "freerdp" "VerifyCertificateEx" "ac_cv_member_freerdp_VerifyCertificateEx" "#include <freerdp/freerdp.h>
  16885"
  16886if test "x$ac_cv_member_freerdp_VerifyCertificateEx" = xyes
  16887then :
  16888
  16889printf "%s\n" "#define HAVE_FREERDP_VERIFYCERTIFICATEEX 1" >>confdefs.h
  16890
  16891
  16892fi
  16893
  16894fi
  16895
  16896# Restore CPPFLAGS, removing FreeRDP-specific options needed for testing
  16897CPPFLAGS="$OLDCPPFLAGS"
  16898
  16899
  16900 if test "x${have_freerdp2}" = "xyes"; then
  16901  ENABLE_RDP_TRUE=
  16902  ENABLE_RDP_FALSE='#'
  16903else
  16904  ENABLE_RDP_TRUE='#'
  16905  ENABLE_RDP_FALSE=
  16906fi
  16907
  16908
  16909#
  16910# libssh2
  16911#
  16912
  16913have_libssh2=disabled
  16914SSH_LIBS=
  16915
  16916# Check whether --with-ssh was given.
  16917if test ${with_ssh+y}
  16918then :
  16919  withval=$with_ssh;
  16920else $as_nop
  16921  with_ssh=check
  16922fi
  16923
  16924
  16925# Check whether --enable-ssh_agent was given.
  16926if test ${enable_ssh_agent+y}
  16927then :
  16928  enableval=$enable_ssh_agent; enable_ssh_agent=yes
  16929fi
  16930
  16931
  16932if test "x$with_ssh" != "xno"
  16933then
  16934    have_libssh2=yes
  16935
  16936    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssh2_userauth_publickey_frommemory in -lssh2" >&5
  16937printf %s "checking for libssh2_userauth_publickey_frommemory in -lssh2... " >&6; }
  16938if test ${ac_cv_lib_ssh2_libssh2_userauth_publickey_frommemory+y}
  16939then :
  16940  printf %s "(cached) " >&6
  16941else $as_nop
  16942  ac_check_lib_save_LIBS=$LIBS
  16943LIBS="-lssh2  $LIBS"
  16944cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16945/* end confdefs.h.  */
  16946
  16947/* Override any GCC internal prototype to avoid an error.
  16948   Use char because int might match the return type of a GCC
  16949   builtin and then its argument prototype would still apply.  */
  16950char libssh2_userauth_publickey_frommemory ();
  16951int
  16952main (void)
  16953{
  16954return libssh2_userauth_publickey_frommemory ();
  16955  ;
  16956  return 0;
  16957}
  16958_ACEOF
  16959if ac_fn_c_try_link "$LINENO"
  16960then :
  16961  ac_cv_lib_ssh2_libssh2_userauth_publickey_frommemory=yes
  16962else $as_nop
  16963  ac_cv_lib_ssh2_libssh2_userauth_publickey_frommemory=no
  16964fi
  16965rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16966    conftest$ac_exeext conftest.$ac_ext
  16967LIBS=$ac_check_lib_save_LIBS
  16968fi
  16969{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh2_libssh2_userauth_publickey_frommemory" >&5
  16970printf "%s\n" "$ac_cv_lib_ssh2_libssh2_userauth_publickey_frommemory" >&6; }
  16971if test "x$ac_cv_lib_ssh2_libssh2_userauth_publickey_frommemory" = xyes
  16972then :
  16973  SSH_LIBS="$SSH_LIBS -lssh2"
  16974else $as_nop
  16975  have_libssh2=no
  16976fi
  16977
  16978fi
  16979
  16980 if test "x${have_libssh2}"  = "xyes" \
  16981                                       -a "x${have_ssl}"      = "xyes"; then
  16982  ENABLE_COMMON_SSH_TRUE=
  16983  ENABLE_COMMON_SSH_FALSE='#'
  16984else
  16985  ENABLE_COMMON_SSH_TRUE='#'
  16986  ENABLE_COMMON_SSH_FALSE=
  16987fi
  16988
  16989if test -z "$ENABLE_COMMON_SSH_TRUE"; then :
  16990
  16991printf "%s\n" "#define ENABLE_COMMON_SSH /**/" >>confdefs.h
  16992
  16993fi
  16994
  16995 if test "x${have_libssh2}"  = "xyes" \
  16996                                -a "x${have_terminal}" = "xyes" \
  16997                                -a "x${have_ssl}"      = "xyes"; then
  16998  ENABLE_SSH_TRUE=
  16999  ENABLE_SSH_FALSE='#'
  17000else
  17001  ENABLE_SSH_TRUE='#'
  17002  ENABLE_SSH_FALSE=
  17003fi
  17004
  17005
  17006
  17007
  17008#
  17009# Underlying crypto library usage of libssh2
  17010#
  17011
  17012if test "x${have_libssh2}" = "xyes"
  17013then
  17014
  17015    # Whether libssh2 was built against libgcrypt
  17016    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcry_control in -lssh2" >&5
  17017printf %s "checking for gcry_control in -lssh2... " >&6; }
  17018if test ${ac_cv_lib_ssh2_gcry_control+y}
  17019then :
  17020  printf %s "(cached) " >&6
  17021else $as_nop
  17022  ac_check_lib_save_LIBS=$LIBS
  17023LIBS="-lssh2  $LIBS"
  17024cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17025/* end confdefs.h.  */
  17026
  17027/* Override any GCC internal prototype to avoid an error.
  17028   Use char because int might match the return type of a GCC
  17029   builtin and then its argument prototype would still apply.  */
  17030char gcry_control ();
  17031int
  17032main (void)
  17033{
  17034return gcry_control ();
  17035  ;
  17036  return 0;
  17037}
  17038_ACEOF
  17039if ac_fn_c_try_link "$LINENO"
  17040then :
  17041  ac_cv_lib_ssh2_gcry_control=yes
  17042else $as_nop
  17043  ac_cv_lib_ssh2_gcry_control=no
  17044fi
  17045rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17046    conftest$ac_exeext conftest.$ac_ext
  17047LIBS=$ac_check_lib_save_LIBS
  17048fi
  17049{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh2_gcry_control" >&5
  17050printf "%s\n" "$ac_cv_lib_ssh2_gcry_control" >&6; }
  17051if test "x$ac_cv_lib_ssh2_gcry_control" = xyes
  17052then :
  17053  ac_fn_c_check_header_compile "$LINENO" "gcrypt.h" "ac_cv_header_gcrypt_h" "$ac_includes_default"
  17054if test "x$ac_cv_header_gcrypt_h" = xyes
  17055then :
  17056
  17057printf "%s\n" "#define LIBSSH2_USES_GCRYPT /**/" >>confdefs.h
  17058
  17059else $as_nop
  17060  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
  17061  --------------------------------------------
  17062   libssh2 appears to be built against libgcrypt, but the libgcrypt headers
  17063   could not be found. SSH will be disabled.
  17064  --------------------------------------------" >&5
  17065printf "%s\n" "$as_me: WARNING:
  17066  --------------------------------------------
  17067   libssh2 appears to be built against libgcrypt, but the libgcrypt headers
  17068   could not be found. SSH will be disabled.
  17069  --------------------------------------------" >&2;}
  17070                                           have_libssh2=no
  17071fi
  17072
  17073fi
  17074
  17075
  17076fi
  17077
  17078#
  17079# Agent forwarding support within libssh2
  17080#
  17081
  17082have_ssh_agent=no
  17083if test "x${have_libssh2}" = "xyes" -a "x${enable_ssh_agent}" = "xyes"
  17084then
  17085
  17086    ac_fn_check_decl "$LINENO" "libssh2_channel_request_auth_agent" "ac_cv_have_decl_libssh2_channel_request_auth_agent" "#include <libssh2.h>
  17087" "$ac_c_undeclared_builtin_options" "CFLAGS"
  17088if test "x$ac_cv_have_decl_libssh2_channel_request_auth_agent" = xyes
  17089then :
  17090  have_ssh_agent=yes
  17091fi
  17092
  17093    if test "x${have_ssh_agent}" = "xno"
  17094    then
  17095        as_fn_error $? "
  17096      --------------------------------------------
  17097       Agent forwarding support was requested but no such support was found
  17098       in libssh2.
  17099      --------------------------------------------" "$LINENO" 5
  17100    else
  17101
  17102printf "%s\n" "#define ENABLE_SSH_AGENT /**/" >>confdefs.h
  17103
  17104    fi
  17105
  17106fi
  17107
  17108 if test "x${have_ssh_agent}"   = "xyes" \
  17109	      -a "x${enable_ssh_agent}" = "xyes"; then
  17110  ENABLE_SSH_AGENT_TRUE=
  17111  ENABLE_SSH_AGENT_FALSE='#'
  17112else
  17113  ENABLE_SSH_AGENT_TRUE='#'
  17114  ENABLE_SSH_AGENT_FALSE=
  17115fi
  17116
  17117
  17118#
  17119# libtelnet
  17120#
  17121
  17122have_libtelnet=disabled
  17123TELNET_LIBS=
  17124
  17125# Check whether --with-telnet was given.
  17126if test ${with_telnet+y}
  17127then :
  17128  withval=$with_telnet;
  17129else $as_nop
  17130  with_telnet=check
  17131fi
  17132
  17133
  17134if test "x$with_telnet" != "xno"
  17135then
  17136    have_libtelnet=yes
  17137    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for telnet_init in -ltelnet" >&5
  17138printf %s "checking for telnet_init in -ltelnet... " >&6; }
  17139if test ${ac_cv_lib_telnet_telnet_init+y}
  17140then :
  17141  printf %s "(cached) " >&6
  17142else $as_nop
  17143  ac_check_lib_save_LIBS=$LIBS
  17144LIBS="-ltelnet  $LIBS"
  17145cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17146/* end confdefs.h.  */
  17147
  17148/* Override any GCC internal prototype to avoid an error.
  17149   Use char because int might match the return type of a GCC
  17150   builtin and then its argument prototype would still apply.  */
  17151char telnet_init ();
  17152int
  17153main (void)
  17154{
  17155return telnet_init ();
  17156  ;
  17157  return 0;
  17158}
  17159_ACEOF
  17160if ac_fn_c_try_link "$LINENO"
  17161then :
  17162  ac_cv_lib_telnet_telnet_init=yes
  17163else $as_nop
  17164  ac_cv_lib_telnet_telnet_init=no
  17165fi
  17166rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17167    conftest$ac_exeext conftest.$ac_ext
  17168LIBS=$ac_check_lib_save_LIBS
  17169fi
  17170{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_telnet_telnet_init" >&5
  17171printf "%s\n" "$ac_cv_lib_telnet_telnet_init" >&6; }
  17172if test "x$ac_cv_lib_telnet_telnet_init" = xyes
  17173then :
  17174  TELNET_LIBS="$TELNET_LIBS -ltelnet"
  17175else $as_nop
  17176  have_libtelnet=no
  17177fi
  17178
  17179fi
  17180
  17181 if test "x${have_libtelnet}"  = "xyes" \
  17182                                   -a "x${have_terminal}" = "xyes"; then
  17183  ENABLE_TELNET_TRUE=
  17184  ENABLE_TELNET_FALSE='#'
  17185else
  17186  ENABLE_TELNET_TRUE='#'
  17187  ENABLE_TELNET_FALSE=
  17188fi
  17189
  17190
  17191
  17192
  17193#
  17194# libwebp
  17195#
  17196
  17197have_webp=disabled
  17198WEBP_LIBS=
  17199
  17200# Check whether --with-webp was given.
  17201if test ${with_webp+y}
  17202then :
  17203  withval=$with_webp;
  17204else $as_nop
  17205  with_webp=check
  17206fi
  17207
  17208
  17209if test "x$with_webp" != "xno"
  17210then
  17211    have_webp=yes
  17212
  17213    ac_fn_c_check_header_compile "$LINENO" "webp/encode.h" "ac_cv_header_webp_encode_h" "$ac_includes_default"
  17214if test "x$ac_cv_header_webp_encode_h" = xyes
  17215then :
  17216
  17217else $as_nop
  17218  have_webp=no
  17219fi
  17220
  17221    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WebPEncode in -lwebp" >&5
  17222printf %s "checking for WebPEncode in -lwebp... " >&6; }
  17223if test ${ac_cv_lib_webp_WebPEncode+y}
  17224then :
  17225  printf %s "(cached) " >&6
  17226else $as_nop
  17227  ac_check_lib_save_LIBS=$LIBS
  17228LIBS="-lwebp  $LIBS"
  17229cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17230/* end confdefs.h.  */
  17231
  17232/* Override any GCC internal prototype to avoid an error.
  17233   Use char because int might match the return type of a GCC
  17234   builtin and then its argument prototype would still apply.  */
  17235char WebPEncode ();
  17236int
  17237main (void)
  17238{
  17239return WebPEncode ();
  17240  ;
  17241  return 0;
  17242}
  17243_ACEOF
  17244if ac_fn_c_try_link "$LINENO"
  17245then :
  17246  ac_cv_lib_webp_WebPEncode=yes
  17247else $as_nop
  17248  ac_cv_lib_webp_WebPEncode=no
  17249fi
  17250rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17251    conftest$ac_exeext conftest.$ac_ext
  17252LIBS=$ac_check_lib_save_LIBS
  17253fi
  17254{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_webp_WebPEncode" >&5
  17255printf "%s\n" "$ac_cv_lib_webp_WebPEncode" >&6; }
  17256if test "x$ac_cv_lib_webp_WebPEncode" = xyes
  17257then :
  17258  WEBP_LIBS="$WEBP_LIBS -lwebp"
  17259else $as_nop
  17260  have_webp=no
  17261fi
  17262
  17263
  17264    if test "x${have_webp}" = "xno"
  17265    then
  17266        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
  17267  --------------------------------------------
  17268   Unable to find libwebp.
  17269   Images will not be encoded using WebP.
  17270  --------------------------------------------" >&5
  17271printf "%s\n" "$as_me: WARNING:
  17272  --------------------------------------------
  17273   Unable to find libwebp.
  17274   Images will not be encoded using WebP.
  17275  --------------------------------------------" >&2;}
  17276    else
  17277
  17278printf "%s\n" "#define ENABLE_WEBP /**/" >>confdefs.h
  17279
  17280    fi
  17281fi
  17282
  17283 if test "x${have_webp}" = "xyes"; then
  17284  ENABLE_WEBP_TRUE=
  17285  ENABLE_WEBP_FALSE='#'
  17286else
  17287  ENABLE_WEBP_TRUE='#'
  17288  ENABLE_WEBP_FALSE=
  17289fi
  17290
  17291
  17292
  17293#
  17294# libwebsockets
  17295#
  17296
  17297have_libwebsockets=disabled
  17298WEBSOCKETS_LIBS=
  17299
  17300# Check whether --with-websockets was given.
  17301if test ${with_websockets+y}
  17302then :
  17303  withval=$with_websockets;
  17304else $as_nop
  17305  with_websockets=check
  17306fi
  17307
  17308
  17309if test "x$with_websockets" != "xno"
  17310then
  17311    have_libwebsockets=yes
  17312    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lws_create_context in -lwebsockets" >&5
  17313printf %s "checking for lws_create_context in -lwebsockets... " >&6; }
  17314if test ${ac_cv_lib_websockets_lws_create_context+y}
  17315then :
  17316  printf %s "(cached) " >&6
  17317else $as_nop
  17318  ac_check_lib_save_LIBS=$LIBS
  17319LIBS="-lwebsockets  $LIBS"
  17320cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17321/* end confdefs.h.  */
  17322
  17323/* Override any GCC internal prototype to avoid an error.
  17324   Use char because int might match the return type of a GCC
  17325   builtin and then its argument prototype would still apply.  */
  17326char lws_create_context ();
  17327int
  17328main (void)
  17329{
  17330return lws_create_context ();
  17331  ;
  17332  return 0;
  17333}
  17334_ACEOF
  17335if ac_fn_c_try_link "$LINENO"
  17336then :
  17337  ac_cv_lib_websockets_lws_create_context=yes
  17338else $as_nop
  17339  ac_cv_lib_websockets_lws_create_context=no
  17340fi
  17341rm -f core conftest.err conftest.$ac_objext conftest.beam \
  17342    conftest$ac_exeext conftest.$ac_ext
  17343LIBS=$ac_check_lib_save_LIBS
  17344fi
  17345{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_websockets_lws_create_context" >&5
  17346printf "%s\n" "$ac_cv_lib_websockets_lws_create_context" >&6; }
  17347if test "x$ac_cv_lib_websockets_lws_create_context" = xyes
  17348then :
  17349  WEBSOCKETS_LIBS="$WEBSOCKETS_LIBS -lwebsockets"
  17350else $as_nop
  17351  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
  17352  --------------------------------------------
  17353   Unable to find libwebsockets.
  17354   Support for Kubernetes will be disabled.
  17355  --------------------------------------------" >&5
  17356printf "%s\n" "$as_me: WARNING:
  17357  --------------------------------------------
  17358   Unable to find libwebsockets.
  17359   Support for Kubernetes will be disabled.
  17360  --------------------------------------------" >&2;}
  17361                 have_libwebsockets=no
  17362fi
  17363
  17364fi
  17365
  17366if test "x$with_websockets" != "xno"
  17367then
  17368
  17369    # Check for client-specific closed event, which must be used in favor of
  17370    # the generic closed event if libwebsockets is recent enough to provide
  17371    # this
  17372    ac_fn_check_decl "$LINENO" "LWS_CALLBACK_CLIENT_CLOSED" "ac_cv_have_decl_LWS_CALLBACK_CLIENT_CLOSED" "#include <libwebsockets.h>
  17373" "$ac_c_undeclared_builtin_options" "CFLAGS"
  17374if test "x$ac_cv_have_decl_LWS_CALLBACK_CLIENT_CLOSED" = xyes
  17375then :
  17376
  17377printf "%s\n" "#define HAVE_LWS_CALLBACK_CLIENT_CLOSED /**/" >>confdefs.h
  17378
  17379fi
  17380
  17381    # Older versions of libwebsockets may not define a flag for requesting
  17382    # global initialization of OpenSSL, instead performing that initialization
  17383    # by default
  17384    ac_fn_check_decl "$LINENO" "LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT" "ac_cv_have_decl_LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT" "#include <libwebsockets.h>
  17385" "$ac_c_undeclared_builtin_options" "CFLAGS"
  17386if test "x$ac_cv_have_decl_LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT" = xyes
  17387then :
  17388
  17389printf "%s\n" "#define HAVE_LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT /**/" >>confdefs.h
  17390
  17391fi
  17392
  17393    # Older versions of libwebsockets do not define special macros for SSL
  17394    # connection flags, instead relying on documented integer values
  17395    ac_fn_check_decl "$LINENO" "LCCSCF_USE_SSL" "ac_cv_have_decl_LCCSCF_USE_SSL" "#include <libwebsockets.h>
  17396" "$ac_c_undeclared_builtin_options" "CFLAGS"
  17397if test "x$ac_cv_have_decl_LCCSCF_USE_SSL" = xyes
  17398then :
  17399
  17400printf "%s\n" "#define HAVE_LCCSCF_USE_SSL /**/" >>confdefs.h
  17401
  17402fi
  17403
  17404    # Older versions of libwebsockets do not define a dummy callback which
  17405    # must be invoked after the main event callback is invoked; the main event
  17406    # callback must instead manually return zero
  17407    ac_fn_check_decl "$LINENO" "lws_callback_http_dummy" "ac_cv_have_decl_lws_callback_http_dummy" "#include <libwebsockets.h>
  17408" "$ac_c_undeclared_builtin_options" "CFLAGS"
  17409if test "x$ac_cv_have_decl_lws_callback_http_dummy" = xyes
  17410then :
  17411
  17412printf "%s\n" "#define HAVE_LWS_CALLBACK_HTTP_DUMMY /**/" >>confdefs.h
  17413
  17414fi
  17415
  17416fi
  17417
  17418 if test "x${have_libwebsockets}"  = "xyes"; then
  17419  ENABLE_WEBSOCKETS_TRUE=
  17420  ENABLE_WEBSOCKETS_FALSE='#'
  17421else
  17422  ENABLE_WEBSOCKETS_TRUE='#'
  17423  ENABLE_WEBSOCKETS_FALSE=
  17424fi
  17425
  17426
  17427
  17428
  17429#
  17430# Kubernetes
  17431#
  17432
  17433# Check whether --enable-kubernetes was given.
  17434if test ${enable_kubernetes+y}
  17435then :
  17436  enableval=$enable_kubernetes;
  17437else $as_nop
  17438  enable_kubernetes=yes
  17439fi
  17440
  17441
  17442 if test "x${enable_kubernetes}"  = "xyes" \
  17443                                       -a "x${have_libwebsockets}" = "xyes" \
  17444                                       -a "x${have_ssl}"           = "xyes" \
  17445                                       -a "x${have_terminal}"      = "xyes"; then
  17446  ENABLE_KUBERNETES_TRUE=
  17447  ENABLE_KUBERNETES_FALSE='#'
  17448else
  17449  ENABLE_KUBERNETES_TRUE='#'
  17450  ENABLE_KUBERNETES_FALSE=
  17451fi
  17452
  17453
  17454#
  17455# guacd
  17456#
  17457
  17458# Check whether --enable-guacd was given.
  17459if test ${enable_guacd+y}
  17460then :
  17461  enableval=$enable_guacd;
  17462else $as_nop
  17463  enable_guacd=yes
  17464fi
  17465
  17466
  17467 if test "x${enable_guacd}"  = "xyes"; then
  17468  ENABLE_GUACD_TRUE=
  17469  ENABLE_GUACD_FALSE='#'
  17470else
  17471  ENABLE_GUACD_TRUE='#'
  17472  ENABLE_GUACD_FALSE=
  17473fi
  17474
  17475
  17476#
  17477# guacenc
  17478#
  17479
  17480# Check whether --enable-guacenc was given.
  17481if test ${enable_guacenc+y}
  17482then :
  17483  enableval=$enable_guacenc;
  17484else $as_nop
  17485  enable_guacenc=yes
  17486fi
  17487
  17488
  17489 if test "x${enable_guacenc}"   = "xyes" \
  17490                                    -a "x${have_libavcodec}"  = "xyes" \
  17491                                    -a "x${have_libavutil}"   = "xyes" \
  17492                                    -a "x${have_libswscale}"  = "xyes" \
  17493                                    -a "x${have_libavformat}" = "xyes"; then
  17494  ENABLE_GUACENC_TRUE=
  17495  ENABLE_GUACENC_FALSE='#'
  17496else
  17497  ENABLE_GUACENC_TRUE='#'
  17498  ENABLE_GUACENC_FALSE=
  17499fi
  17500
  17501
  17502#
  17503# guaclog
  17504#
  17505
  17506# Check whether --enable-guaclog was given.
  17507if test ${enable_guaclog+y}
  17508then :
  17509  enableval=$enable_guaclog;
  17510else $as_nop
  17511  enable_guaclog=yes
  17512fi
  17513
  17514
  17515 if test "x${enable_guaclog}"  = "xyes"; then
  17516  ENABLE_GUACLOG_TRUE=
  17517  ENABLE_GUACLOG_FALSE='#'
  17518else
  17519  ENABLE_GUACLOG_TRUE='#'
  17520  ENABLE_GUACLOG_FALSE=
  17521fi
  17522
  17523
  17524#
  17525# Output Makefiles
  17526#
  17527
  17528ac_config_files="$ac_config_files Makefile doc/libguac/Doxyfile doc/libguac-terminal/Doxyfile src/common/Makefile src/common/tests/Makefile src/common-ssh/Makefile src/common-ssh/tests/Makefile src/terminal/Makefile src/libguac/Makefile src/libguac/tests/Makefile src/guacd/Makefile src/guacd/man/guacd.8 src/guacd/man/guacd.conf.5 src/guacenc/Makefile src/guacenc/man/guacenc.1 src/guaclog/Makefile src/guaclog/man/guaclog.1 src/pulse/Makefile src/protocols/kubernetes/Makefile src/protocols/kubernetes/tests/Makefile src/protocols/rdp/Makefile src/protocols/rdp/tests/Makefile src/protocols/ssh/Makefile src/protocols/telnet/Makefile src/protocols/vnc/Makefile"
  17529
  17530cat >confcache <<\_ACEOF
  17531# This file is a shell script that caches the results of configure
  17532# tests run on this system so they can be shared between configure
  17533# scripts and configure runs, see configure's option --config-cache.
  17534# It is not useful on other systems.  If it contains results you don't
  17535# want to keep, you may remove or edit it.
  17536#
  17537# config.status only pays attention to the cache file if you give it
  17538# the --recheck option to rerun configure.
  17539#
  17540# `ac_cv_env_foo' variables (set or unset) will be overridden when
  17541# loading this file, other *unset* `ac_cv_foo' will be assigned the
  17542# following values.
  17543
  17544_ACEOF
  17545
  17546# The following way of writing the cache mishandles newlines in values,
  17547# but we know of no workaround that is simple, portable, and efficient.
  17548# So, we kill variables containing newlines.
  17549# Ultrix sh set writes to stderr and can't be redirected directly,
  17550# and sets the high bit in the cache file unless we assign to the vars.
  17551(
  17552  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  17553    eval ac_val=\$$ac_var
  17554    case $ac_val in #(
  17555    *${as_nl}*)
  17556      case $ac_var in #(
  17557      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  17558printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  17559      esac
  17560      case $ac_var in #(
  17561      _ | IFS | as_nl) ;; #(
  17562      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  17563      *) { eval $ac_var=; unset $ac_var;} ;;
  17564      esac ;;
  17565    esac
  17566  done
  17567
  17568  (set) 2>&1 |
  17569    case $as_nl`(ac_space=' '; set) 2>&1` in #(
  17570    *${as_nl}ac_space=\ *)
  17571      # `set' does not quote correctly, so add quotes: double-quote
  17572      # substitution turns \\\\ into \\, and sed turns \\ into \.
  17573      sed -n \
  17574	"s/'/'\\\\''/g;
  17575	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  17576      ;; #(
  17577    *)
  17578      # `set' quotes correctly as required by POSIX, so do not add quotes.
  17579      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  17580      ;;
  17581    esac |
  17582    sort
  17583) |
  17584  sed '
  17585     /^ac_cv_env_/b end
  17586     t clear
  17587     :clear
  17588     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
  17589     t end
  17590     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  17591     :end' >>confcache
  17592if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  17593  if test -w "$cache_file"; then
  17594    if test "x$cache_file" != "x/dev/null"; then
  17595      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  17596printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
  17597      if test ! -f "$cache_file" || test -h "$cache_file"; then
  17598	cat confcache >"$cache_file"
  17599      else
  17600        case $cache_file in #(
  17601        */* | ?:*)
  17602	  mv -f confcache "$cache_file"$$ &&
  17603	  mv -f "$cache_file"$$ "$cache_file" ;; #(
  17604        *)
  17605	  mv -f confcache "$cache_file" ;;
  17606	esac
  17607      fi
  17608    fi
  17609  else
  17610    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  17611printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
  17612  fi
  17613fi
  17614rm -f confcache
  17615
  17616test "x$prefix" = xNONE && prefix=$ac_default_prefix
  17617# Let make expand exec_prefix.
  17618test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  17619
  17620DEFS=-DHAVE_CONFIG_H
  17621
  17622ac_libobjs=
  17623ac_ltlibobjs=
  17624U=
  17625for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  17626  # 1. Remove the extension, and $U if already installed.
  17627  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  17628  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
  17629  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  17630  #    will be set to the directory where LIBOBJS objects are built.
  17631  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  17632  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  17633done
  17634LIBOBJS=$ac_libobjs
  17635
  17636LTLIBOBJS=$ac_ltlibobjs
  17637
  17638
  17639{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  17640printf %s "checking that generated files are newer than configure... " >&6; }
  17641   if test -n "$am_sleep_pid"; then
  17642     # Hide warnings about reused PIDs.
  17643     wait $am_sleep_pid 2>/dev/null
  17644   fi
  17645   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
  17646printf "%s\n" "done" >&6; }
  17647 if test -n "$EXEEXT"; then
  17648  am__EXEEXT_TRUE=
  17649  am__EXEEXT_FALSE='#'
  17650else
  17651  am__EXEEXT_TRUE='#'
  17652  am__EXEEXT_FALSE=
  17653fi
  17654
  17655if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  17656  as_fn_error $? "conditional \"AMDEP\" was never defined.
  17657Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17658fi
  17659if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  17660  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  17661Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17662fi
  17663if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  17664  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  17665Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17666fi
  17667if test -z "${ENABLE_INIT_TRUE}" && test -z "${ENABLE_INIT_FALSE}"; then
  17668  as_fn_error $? "conditional \"ENABLE_INIT\" was never defined.
  17669Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17670fi
  17671if test -z "${ENABLE_SYSTEMD_TRUE}" && test -z "${ENABLE_SYSTEMD_FALSE}"; then
  17672  as_fn_error $? "conditional \"ENABLE_SYSTEMD\" was never defined.
  17673Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17674fi
  17675if test -z "${ENABLE_AVCODEC_TRUE}" && test -z "${ENABLE_AVCODEC_FALSE}"; then
  17676  as_fn_error $? "conditional \"ENABLE_AVCODEC\" was never defined.
  17677Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17678fi
  17679if test -z "${ENABLE_AVFORMAT_TRUE}" && test -z "${ENABLE_AVFORMAT_FALSE}"; then
  17680  as_fn_error $? "conditional \"ENABLE_AVFORMAT\" was never defined.
  17681Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17682fi
  17683if test -z "${ENABLE_AVUTIL_TRUE}" && test -z "${ENABLE_AVUTIL_FALSE}"; then
  17684  as_fn_error $? "conditional \"ENABLE_AVUTIL\" was never defined.
  17685Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17686fi
  17687if test -z "${ENABLE_SWSCALE_TRUE}" && test -z "${ENABLE_SWSCALE_FALSE}"; then
  17688  as_fn_error $? "conditional \"ENABLE_SWSCALE\" was never defined.
  17689Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17690fi
  17691if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
  17692  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
  17693Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17694fi
  17695if test -z "${ENABLE_WINSOCK_TRUE}" && test -z "${ENABLE_WINSOCK_FALSE}"; then
  17696  as_fn_error $? "conditional \"ENABLE_WINSOCK\" was never defined.
  17697Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17698fi
  17699if test -z "${ENABLE_OGG_TRUE}" && test -z "${ENABLE_OGG_FALSE}"; then
  17700  as_fn_error $? "conditional \"ENABLE_OGG\" was never defined.
  17701Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17702fi
  17703if test -z "${ENABLE_PULSE_TRUE}" && test -z "${ENABLE_PULSE_FALSE}"; then
  17704  as_fn_error $? "conditional \"ENABLE_PULSE\" was never defined.
  17705Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17706fi
  17707if test -z "${ENABLE_TERMINAL_TRUE}" && test -z "${ENABLE_TERMINAL_FALSE}"; then
  17708  as_fn_error $? "conditional \"ENABLE_TERMINAL\" was never defined.
  17709Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17710fi
  17711if test -z "${ENABLE_VNC_TRUE}" && test -z "${ENABLE_VNC_FALSE}"; then
  17712  as_fn_error $? "conditional \"ENABLE_VNC\" was never defined.
  17713Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17714fi
  17715if test -z "${ENABLE_RDP_TRUE}" && test -z "${ENABLE_RDP_FALSE}"; then
  17716  as_fn_error $? "conditional \"ENABLE_RDP\" was never defined.
  17717Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17718fi
  17719if test -z "${ENABLE_COMMON_SSH_TRUE}" && test -z "${ENABLE_COMMON_SSH_FALSE}"; then
  17720  as_fn_error $? "conditional \"ENABLE_COMMON_SSH\" was never defined.
  17721Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17722fi
  17723if test -z "${ENABLE_SSH_TRUE}" && test -z "${ENABLE_SSH_FALSE}"; then
  17724  as_fn_error $? "conditional \"ENABLE_SSH\" was never defined.
  17725Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17726fi
  17727if test -z "${ENABLE_SSH_AGENT_TRUE}" && test -z "${ENABLE_SSH_AGENT_FALSE}"; then
  17728  as_fn_error $? "conditional \"ENABLE_SSH_AGENT\" was never defined.
  17729Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17730fi
  17731if test -z "${ENABLE_TELNET_TRUE}" && test -z "${ENABLE_TELNET_FALSE}"; then
  17732  as_fn_error $? "conditional \"ENABLE_TELNET\" was never defined.
  17733Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17734fi
  17735if test -z "${ENABLE_WEBP_TRUE}" && test -z "${ENABLE_WEBP_FALSE}"; then
  17736  as_fn_error $? "conditional \"ENABLE_WEBP\" was never defined.
  17737Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17738fi
  17739if test -z "${ENABLE_WEBSOCKETS_TRUE}" && test -z "${ENABLE_WEBSOCKETS_FALSE}"; then
  17740  as_fn_error $? "conditional \"ENABLE_WEBSOCKETS\" was never defined.
  17741Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17742fi
  17743if test -z "${ENABLE_KUBERNETES_TRUE}" && test -z "${ENABLE_KUBERNETES_FALSE}"; then
  17744  as_fn_error $? "conditional \"ENABLE_KUBERNETES\" was never defined.
  17745Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17746fi
  17747if test -z "${ENABLE_GUACD_TRUE}" && test -z "${ENABLE_GUACD_FALSE}"; then
  17748  as_fn_error $? "conditional \"ENABLE_GUACD\" was never defined.
  17749Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17750fi
  17751if test -z "${ENABLE_GUACENC_TRUE}" && test -z "${ENABLE_GUACENC_FALSE}"; then
  17752  as_fn_error $? "conditional \"ENABLE_GUACENC\" was never defined.
  17753Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17754fi
  17755if test -z "${ENABLE_GUACLOG_TRUE}" && test -z "${ENABLE_GUACLOG_FALSE}"; then
  17756  as_fn_error $? "conditional \"ENABLE_GUACLOG\" was never defined.
  17757Usually this means the macro was only invoked conditionally." "$LINENO" 5
  17758fi
  17759
  17760: "${CONFIG_STATUS=./config.status}"
  17761ac_write_fail=0
  17762ac_clean_files_save=$ac_clean_files
  17763ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  17764{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  17765printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
  17766as_write_fail=0
  17767cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  17768#! $SHELL
  17769# Generated by $as_me.
  17770# Run this file to recreate the current configuration.
  17771# Compiler output produced by configure, useful for debugging
  17772# configure, is in config.log if it exists.
  17773
  17774debug=false
  17775ac_cs_recheck=false
  17776ac_cs_silent=false
  17777
  17778SHELL=\${CONFIG_SHELL-$SHELL}
  17779export SHELL
  17780_ASEOF
  17781cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  17782## -------------------- ##
  17783## M4sh Initialization. ##
  17784## -------------------- ##
  17785
  17786# Be more Bourne compatible
  17787DUALCASE=1; export DUALCASE # for MKS sh
  17788as_nop=:
  17789if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
  17790then :
  17791  emulate sh
  17792  NULLCMD=:
  17793  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  17794  # is contrary to our usage.  Disable this feature.
  17795  alias -g '${1+"$@"}'='"$@"'
  17796  setopt NO_GLOB_SUBST
  17797else $as_nop
  17798  case `(set -o) 2>/dev/null` in #(
  17799  *posix*) :
  17800    set -o posix ;; #(
  17801  *) :
  17802     ;;
  17803esac
  17804fi
  17805
  17806
  17807
  17808# Reset variables that may have inherited troublesome values from
  17809# the environment.
  17810
  17811# IFS needs to be set, to space, tab, and newline, in precisely that order.
  17812# (If _AS_PATH_WALK were called with IFS unset, it would have the
  17813# side effect of setting IFS to empty, thus disabling word splitting.)
  17814# Quoting is to prevent editors from complaining about space-tab.
  17815as_nl='
  17816'
  17817export as_nl
  17818IFS=" ""	$as_nl"
  17819
  17820PS1='$ '
  17821PS2='> '
  17822PS4='+ '
  17823
  17824# Ensure predictable behavior from utilities with locale-dependent output.
  17825LC_ALL=C
  17826export LC_ALL
  17827LANGUAGE=C
  17828export LANGUAGE
  17829
  17830# We cannot yet rely on "unset" to work, but we need these variables
  17831# to be unset--not just set to an empty or harmless value--now, to
  17832# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
  17833# also avoids known problems related to "unset" and subshell syntax
  17834# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
  17835for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
  17836do eval test \${$as_var+y} \
  17837  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  17838done
  17839
  17840# Ensure that fds 0, 1, and 2 are open.
  17841if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
  17842if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
  17843if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
  17844
  17845# The user is always right.
  17846if ${PATH_SEPARATOR+false} :; then
  17847  PATH_SEPARATOR=:
  17848  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  17849    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  17850      PATH_SEPARATOR=';'
  17851  }
  17852fi
  17853
  17854
  17855# Find who we are.  Look in the path if we contain no directory separator.
  17856as_myself=
  17857case $0 in #((
  17858  *[\\/]* ) as_myself=$0 ;;
  17859  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17860for as_dir in $PATH
  17861do
  17862  IFS=$as_save_IFS
  17863  case $as_dir in #(((
  17864    '') as_dir=./ ;;
  17865    */) ;;
  17866    *) as_dir=$as_dir/ ;;
  17867  esac
  17868    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
  17869  done
  17870IFS=$as_save_IFS
  17871
  17872     ;;
  17873esac
  17874# We did not find ourselves, most probably we were run as `sh COMMAND'
  17875# in which case we are not to be found in the path.
  17876if test "x$as_myself" = x; then
  17877  as_myself=$0
  17878fi
  17879if test ! -f "$as_myself"; then
  17880  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  17881  exit 1
  17882fi
  17883
  17884
  17885
  17886# as_fn_error STATUS ERROR [LINENO LOG_FD]
  17887# ----------------------------------------
  17888# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  17889# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  17890# script with STATUS, using 1 if that was 0.
  17891as_fn_error ()
  17892{
  17893  as_status=$1; test $as_status -eq 0 && as_status=1
  17894  if test "$4"; then
  17895    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  17896    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  17897  fi
  17898  printf "%s\n" "$as_me: error: $2" >&2
  17899  as_fn_exit $as_status
  17900} # as_fn_error
  17901
  17902
  17903
  17904# as_fn_set_status STATUS
  17905# -----------------------
  17906# Set $? to STATUS, without forking.
  17907as_fn_set_status ()
  17908{
  17909  return $1
  17910} # as_fn_set_status
  17911
  17912# as_fn_exit STATUS
  17913# -----------------
  17914# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  17915as_fn_exit ()
  17916{
  17917  set +e
  17918  as_fn_set_status $1
  17919  exit $1
  17920} # as_fn_exit
  17921
  17922# as_fn_unset VAR
  17923# ---------------
  17924# Portably unset VAR.
  17925as_fn_unset ()
  17926{
  17927  { eval $1=; unset $1;}
  17928}
  17929as_unset=as_fn_unset
  17930
  17931# as_fn_append VAR VALUE
  17932# ----------------------
  17933# Append the text in VALUE to the end of the definition contained in VAR. Take
  17934# advantage of any shell optimizations that allow amortized linear growth over
  17935# repeated appends, instead of the typical quadratic growth present in naive
  17936# implementations.
  17937if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
  17938then :
  17939  eval 'as_fn_append ()
  17940  {
  17941    eval $1+=\$2
  17942  }'
  17943else $as_nop
  17944  as_fn_append ()
  17945  {
  17946    eval $1=\$$1\$2
  17947  }
  17948fi # as_fn_append
  17949
  17950# as_fn_arith ARG...
  17951# ------------------
  17952# Perform arithmetic evaluation on the ARGs, and store the result in the
  17953# global $as_val. Take advantage of shells that can avoid forks. The arguments
  17954# must be portable across $(()) and expr.
  17955if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
  17956then :
  17957  eval 'as_fn_arith ()
  17958  {
  17959    as_val=$(( $* ))
  17960  }'
  17961else $as_nop
  17962  as_fn_arith ()
  17963  {
  17964    as_val=`expr "$@" || test $? -eq 1`
  17965  }
  17966fi # as_fn_arith
  17967
  17968
  17969if expr a : '\(a\)' >/dev/null 2>&1 &&
  17970   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  17971  as_expr=expr
  17972else
  17973  as_expr=false
  17974fi
  17975
  17976if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  17977  as_basename=basename
  17978else
  17979  as_basename=false
  17980fi
  17981
  17982if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  17983  as_dirname=dirname
  17984else
  17985  as_dirname=false
  17986fi
  17987
  17988as_me=`$as_basename -- "$0" ||
  17989$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  17990	 X"$0" : 'X\(//\)$' \| \
  17991	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  17992printf "%s\n" X/"$0" |
  17993    sed '/^.*\/\([^/][^/]*\)\/*$/{
  17994	    s//\1/
  17995	    q
  17996	  }
  17997	  /^X\/\(\/\/\)$/{
  17998	    s//\1/
  17999	    q
  18000	  }
  18001	  /^X\/\(\/\).*/{
  18002	    s//\1/
  18003	    q
  18004	  }
  18005	  s/.*/./; q'`
  18006
  18007# Avoid depending upon Character Ranges.
  18008as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  18009as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  18010as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  18011as_cr_digits='0123456789'
  18012as_cr_alnum=$as_cr_Letters$as_cr_digits
  18013
  18014
  18015# Determine whether it's possible to make 'echo' print without a newline.
  18016# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
  18017# for compatibility with existing Makefiles.
  18018ECHO_C= ECHO_N= ECHO_T=
  18019case `echo -n x` in #(((((
  18020-n*)
  18021  case `echo 'xy\c'` in
  18022  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  18023  xy)  ECHO_C='\c';;
  18024  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  18025       ECHO_T='	';;
  18026  esac;;
  18027*)
  18028  ECHO_N='-n';;
  18029esac
  18030
  18031# For backward compatibility with old third-party macros, we provide
  18032# the shell variables $as_echo and $as_echo_n.  New code should use
  18033# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
  18034as_echo='printf %s\n'
  18035as_echo_n='printf %s'
  18036
  18037rm -f conf$$ conf$$.exe conf$$.file
  18038if test -d conf$$.dir; then
  18039  rm -f conf$$.dir/conf$$.file
  18040else
  18041  rm -f conf$$.dir
  18042  mkdir conf$$.dir 2>/dev/null
  18043fi
  18044if (echo >conf$$.file) 2>/dev/null; then
  18045  if ln -s conf$$.file conf$$ 2>/dev/null; then
  18046    as_ln_s='ln -s'
  18047    # ... but there are two gotchas:
  18048    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  18049    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  18050    # In both cases, we have to default to `cp -pR'.
  18051    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  18052      as_ln_s='cp -pR'
  18053  elif ln conf$$.file conf$$ 2>/dev/null; then
  18054    as_ln_s=ln
  18055  else
  18056    as_ln_s='cp -pR'
  18057  fi
  18058else
  18059  as_ln_s='cp -pR'
  18060fi
  18061rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  18062rmdir conf$$.dir 2>/dev/null
  18063
  18064
  18065# as_fn_mkdir_p
  18066# -------------
  18067# Create "$as_dir" as a directory, including parents if necessary.
  18068as_fn_mkdir_p ()
  18069{
  18070
  18071  case $as_dir in #(
  18072  -*) as_dir=./$as_dir;;
  18073  esac
  18074  test -d "$as_dir" || eval $as_mkdir_p || {
  18075    as_dirs=
  18076    while :; do
  18077      case $as_dir in #(
  18078      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  18079      *) as_qdir=$as_dir;;
  18080      esac
  18081      as_dirs="'$as_qdir' $as_dirs"
  18082      as_dir=`$as_dirname -- "$as_dir" ||
  18083$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  18084	 X"$as_dir" : 'X\(//\)[^/]' \| \
  18085	 X"$as_dir" : 'X\(//\)$' \| \
  18086	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  18087printf "%s\n" X"$as_dir" |
  18088    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  18089	    s//\1/
  18090	    q
  18091	  }
  18092	  /^X\(\/\/\)[^/].*/{
  18093	    s//\1/
  18094	    q
  18095	  }
  18096	  /^X\(\/\/\)$/{
  18097	    s//\1/
  18098	    q
  18099	  }
  18100	  /^X\(\/\).*/{
  18101	    s//\1/
  18102	    q
  18103	  }
  18104	  s/.*/./; q'`
  18105      test -d "$as_dir" && break
  18106    done
  18107    test -z "$as_dirs" || eval "mkdir $as_dirs"
  18108  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  18109
  18110
  18111} # as_fn_mkdir_p
  18112if mkdir -p . 2>/dev/null; then
  18113  as_mkdir_p='mkdir -p "$as_dir"'
  18114else
  18115  test -d ./-p && rmdir ./-p
  18116  as_mkdir_p=false
  18117fi
  18118
  18119
  18120# as_fn_executable_p FILE
  18121# -----------------------
  18122# Test if FILE is an executable regular file.
  18123as_fn_executable_p ()
  18124{
  18125  test -f "$1" && test -x "$1"
  18126} # as_fn_executable_p
  18127as_test_x='test -x'
  18128as_executable_p=as_fn_executable_p
  18129
  18130# Sed expression to map a string onto a valid CPP name.
  18131as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  18132
  18133# Sed expression to map a string onto a valid variable name.
  18134as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  18135
  18136
  18137exec 6>&1
  18138## ----------------------------------- ##
  18139## Main body of $CONFIG_STATUS script. ##
  18140## ----------------------------------- ##
  18141_ASEOF
  18142test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  18143
  18144cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  18145# Save the log message, to keep $0 and so on meaningful, and to
  18146# report actual input values of CONFIG_FILES etc. instead of their
  18147# values after options handling.
  18148ac_log="
  18149This file was extended by guacamole-server $as_me 1.5.4, which was
  18150generated by GNU Autoconf 2.71.  Invocation command line was
  18151
  18152  CONFIG_FILES    = $CONFIG_FILES
  18153  CONFIG_HEADERS  = $CONFIG_HEADERS
  18154  CONFIG_LINKS    = $CONFIG_LINKS
  18155  CONFIG_COMMANDS = $CONFIG_COMMANDS
  18156  $ $0 $@
  18157
  18158on `(hostname || uname -n) 2>/dev/null | sed 1q`
  18159"
  18160
  18161_ACEOF
  18162
  18163case $ac_config_files in *"
  18164"*) set x $ac_config_files; shift; ac_config_files=$*;;
  18165esac
  18166
  18167case $ac_config_headers in *"
  18168"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  18169esac
  18170
  18171
  18172cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  18173# Files that config.status was made for.
  18174config_files="$ac_config_files"
  18175config_headers="$ac_config_headers"
  18176config_commands="$ac_config_commands"
  18177
  18178_ACEOF
  18179
  18180cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  18181ac_cs_usage="\
  18182\`$as_me' instantiates files and other configuration actions
  18183from templates according to the current configuration.  Unless the files
  18184and actions are specified as TAGs, all are instantiated by default.
  18185
  18186Usage: $0 [OPTION]... [TAG]...
  18187
  18188  -h, --help       print this help, then exit
  18189  -V, --version    print version number and configuration settings, then exit
  18190      --config     print configuration, then exit
  18191  -q, --quiet, --silent
  18192                   do not print progress messages
  18193  -d, --debug      don't remove temporary files
  18194      --recheck    update $as_me by reconfiguring in the same conditions
  18195      --file=FILE[:TEMPLATE]
  18196                   instantiate the configuration file FILE
  18197      --header=FILE[:TEMPLATE]
  18198                   instantiate the configuration header FILE
  18199
  18200Configuration files:
  18201$config_files
  18202
  18203Configuration headers:
  18204$config_headers
  18205
  18206Configuration commands:
  18207$config_commands
  18208
  18209Report bugs to the package provider."
  18210
  18211_ACEOF
  18212ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
  18213ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
  18214cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  18215ac_cs_config='$ac_cs_config_escaped'
  18216ac_cs_version="\\
  18217guacamole-server config.status 1.5.4
  18218configured by $0, generated by GNU Autoconf 2.71,
  18219  with options \\"\$ac_cs_config\\"
  18220
  18221Copyright (C) 2021 Free Software Foundation, Inc.
  18222This config.status script is free software; the Free Software Foundation
  18223gives unlimited permission to copy, distribute and modify it."
  18224
  18225ac_pwd='$ac_pwd'
  18226srcdir='$srcdir'
  18227INSTALL='$INSTALL'
  18228MKDIR_P='$MKDIR_P'
  18229AWK='$AWK'
  18230test -n "\$AWK" || AWK=awk
  18231_ACEOF
  18232
  18233cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  18234# The default lists apply if the user does not specify any file.
  18235ac_need_defaults=:
  18236while test $# != 0
  18237do
  18238  case $1 in
  18239  --*=?*)
  18240    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  18241    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  18242    ac_shift=:
  18243    ;;
  18244  --*=)
  18245    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  18246    ac_optarg=
  18247    ac_shift=:
  18248    ;;
  18249  *)
  18250    ac_option=$1
  18251    ac_optarg=$2
  18252    ac_shift=shift
  18253    ;;
  18254  esac
  18255
  18256  case $ac_option in
  18257  # Handling of the options.
  18258  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  18259    ac_cs_recheck=: ;;
  18260  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  18261    printf "%s\n" "$ac_cs_version"; exit ;;
  18262  --config | --confi | --conf | --con | --co | --c )
  18263    printf "%s\n" "$ac_cs_config"; exit ;;
  18264  --debug | --debu | --deb | --de | --d | -d )
  18265    debug=: ;;
  18266  --file | --fil | --fi | --f )
  18267    $ac_shift
  18268    case $ac_optarg in
  18269    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  18270    '') as_fn_error $? "missing file argument" ;;
  18271    esac
  18272    as_fn_append CONFIG_FILES " '$ac_optarg'"
  18273    ac_need_defaults=false;;
  18274  --header | --heade | --head | --hea )
  18275    $ac_shift
  18276    case $ac_optarg in
  18277    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  18278    esac
  18279    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  18280    ac_need_defaults=false;;
  18281  --he | --h)
  18282    # Conflict between --help and --header
  18283    as_fn_error $? "ambiguous option: \`$1'
  18284Try \`$0 --help' for more information.";;
  18285  --help | --hel | -h )
  18286    printf "%s\n" "$ac_cs_usage"; exit ;;
  18287  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  18288  | -silent | --silent | --silen | --sile | --sil | --si | --s)
  18289    ac_cs_silent=: ;;
  18290
  18291  # This is an error.
  18292  -*) as_fn_error $? "unrecognized option: \`$1'
  18293Try \`$0 --help' for more information." ;;
  18294
  18295  *) as_fn_append ac_config_targets " $1"
  18296     ac_need_defaults=false ;;
  18297
  18298  esac
  18299  shift
  18300done
  18301
  18302ac_configure_extra_args=
  18303
  18304if $ac_cs_silent; then
  18305  exec 6>/dev/null
  18306  ac_configure_extra_args="$ac_configure_extra_args --silent"
  18307fi
  18308
  18309_ACEOF
  18310cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  18311if \$ac_cs_recheck; then
  18312  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  18313  shift
  18314  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
  18315  CONFIG_SHELL='$SHELL'
  18316  export CONFIG_SHELL
  18317  exec "\$@"
  18318fi
  18319
  18320_ACEOF
  18321cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  18322exec 5>>config.log
  18323{
  18324  echo
  18325  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  18326## Running $as_me. ##
  18327_ASBOX
  18328  printf "%s\n" "$ac_log"
  18329} >&5
  18330
  18331_ACEOF
  18332cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  18333#
  18334# INIT-COMMANDS
  18335#
  18336AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
  18337
  18338
  18339# The HP-UX ksh and POSIX shell print the target directory to stdout
  18340# if CDPATH is set.
  18341(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  18342
  18343sed_quote_subst='$sed_quote_subst'
  18344double_quote_subst='$double_quote_subst'
  18345delay_variable_subst='$delay_variable_subst'
  18346macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  18347macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  18348enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  18349enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  18350pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  18351enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  18352shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
  18353SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  18354ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  18355PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  18356host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  18357host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  18358host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  18359build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  18360build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  18361build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  18362SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  18363Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  18364GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  18365EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  18366FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  18367LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  18368NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  18369LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  18370max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  18371ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  18372exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  18373lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  18374lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  18375lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  18376lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  18377lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  18378reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  18379reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  18380FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
  18381OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  18382deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  18383file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  18384file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  18385want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  18386DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  18387sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  18388AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  18389lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
  18390AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  18391archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  18392STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  18393RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  18394old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  18395old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  18396old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  18397lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  18398CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  18399CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  18400compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  18401GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  18402lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  18403lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  18404lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
  18405lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  18406lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  18407lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
  18408nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  18409lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  18410lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
  18411objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  18412MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  18413lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  18414lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  18415lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  18416lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  18417lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  18418need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  18419MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  18420DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  18421NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  18422LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  18423OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  18424OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  18425libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  18426shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  18427extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  18428archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  18429enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  18430export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  18431whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  18432compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  18433old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  18434old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  18435archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  18436archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  18437module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  18438module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  18439with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  18440allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  18441no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  18442hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  18443hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  18444hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  18445hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  18446hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  18447hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  18448hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  18449inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  18450link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  18451always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  18452export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  18453exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  18454include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  18455prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  18456postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  18457file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  18458variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  18459need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  18460need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  18461version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  18462runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  18463shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  18464shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  18465libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  18466library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  18467soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  18468install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  18469postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  18470postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  18471finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  18472finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  18473hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  18474sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  18475configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
  18476configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
  18477hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  18478enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  18479enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  18480enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  18481old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  18482striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  18483
  18484LTCC='$LTCC'
  18485LTCFLAGS='$LTCFLAGS'
  18486compiler='$compiler_DEFAULT'
  18487
  18488# A function that is used when there is no print builtin or printf.
  18489func_fallback_echo ()
  18490{
  18491  eval 'cat <<_LTECHO_EOF
  18492\$1
  18493_LTECHO_EOF'
  18494}
  18495
  18496# Quote evaled strings.
  18497for var in SHELL \
  18498ECHO \
  18499PATH_SEPARATOR \
  18500SED \
  18501GREP \
  18502EGREP \
  18503FGREP \
  18504LD \
  18505NM \
  18506LN_S \
  18507lt_SP2NL \
  18508lt_NL2SP \
  18509reload_flag \
  18510FILECMD \
  18511OBJDUMP \
  18512deplibs_check_method \
  18513file_magic_cmd \
  18514file_magic_glob \
  18515want_nocaseglob \
  18516DLLTOOL \
  18517sharedlib_from_linklib_cmd \
  18518AR \
  18519archiver_list_spec \
  18520STRIP \
  18521RANLIB \
  18522CC \
  18523CFLAGS \
  18524compiler \
  18525lt_cv_sys_global_symbol_pipe \
  18526lt_cv_sys_global_symbol_to_cdecl \
  18527lt_cv_sys_global_symbol_to_import \
  18528lt_cv_sys_global_symbol_to_c_name_address \
  18529lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  18530lt_cv_nm_interface \
  18531nm_file_list_spec \
  18532lt_cv_truncate_bin \
  18533lt_prog_compiler_no_builtin_flag \
  18534lt_prog_compiler_pic \
  18535lt_prog_compiler_wl \
  18536lt_prog_compiler_static \
  18537lt_cv_prog_compiler_c_o \
  18538need_locks \
  18539MANIFEST_TOOL \
  18540DSYMUTIL \
  18541NMEDIT \
  18542LIPO \
  18543OTOOL \
  18544OTOOL64 \
  18545shrext_cmds \
  18546export_dynamic_flag_spec \
  18547whole_archive_flag_spec \
  18548compiler_needs_object \
  18549with_gnu_ld \
  18550allow_undefined_flag \
  18551no_undefined_flag \
  18552hardcode_libdir_flag_spec \
  18553hardcode_libdir_separator \
  18554exclude_expsyms \
  18555include_expsyms \
  18556file_list_spec \
  18557variables_saved_for_relink \
  18558libname_spec \
  18559library_names_spec \
  18560soname_spec \
  18561install_override_mode \
  18562finish_eval \
  18563old_striplib \
  18564striplib; do
  18565    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  18566    *[\\\\\\\`\\"\\\$]*)
  18567      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  18568      ;;
  18569    *)
  18570      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  18571      ;;
  18572    esac
  18573done
  18574
  18575# Double-quote double-evaled strings.
  18576for var in reload_cmds \
  18577old_postinstall_cmds \
  18578old_postuninstall_cmds \
  18579old_archive_cmds \
  18580extract_expsyms_cmds \
  18581old_archive_from_new_cmds \
  18582old_archive_from_expsyms_cmds \
  18583archive_cmds \
  18584archive_expsym_cmds \
  18585module_cmds \
  18586module_expsym_cmds \
  18587export_symbols_cmds \
  18588prelink_cmds \
  18589postlink_cmds \
  18590postinstall_cmds \
  18591postuninstall_cmds \
  18592finish_cmds \
  18593sys_lib_search_path_spec \
  18594configure_time_dlsearch_path \
  18595configure_time_lt_sys_library_path; do
  18596    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  18597    *[\\\\\\\`\\"\\\$]*)
  18598      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  18599      ;;
  18600    *)
  18601      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  18602      ;;
  18603    esac
  18604done
  18605
  18606ac_aux_dir='$ac_aux_dir'
  18607
  18608# See if we are running on zsh, and set the options that allow our
  18609# commands through without removal of \ escapes INIT.
  18610if test -n "\${ZSH_VERSION+set}"; then
  18611   setopt NO_GLOB_SUBST
  18612fi
  18613
  18614
  18615    PACKAGE='$PACKAGE'
  18616    VERSION='$VERSION'
  18617    RM='$RM'
  18618    ofile='$ofile'
  18619
  18620
  18621
  18622
  18623_ACEOF
  18624
  18625cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  18626
  18627# Handling of arguments.
  18628for ac_config_target in $ac_config_targets
  18629do
  18630  case $ac_config_target in
  18631    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  18632    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  18633    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  18634    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  18635    "doc/libguac/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/libguac/Doxyfile" ;;
  18636    "doc/libguac-terminal/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/libguac-terminal/Doxyfile" ;;
  18637    "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
  18638    "src/common/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/tests/Makefile" ;;
  18639    "src/common-ssh/Makefile") CONFIG_FILES="$CONFIG_FILES src/common-ssh/Makefile" ;;
  18640    "src/common-ssh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/common-ssh/tests/Makefile" ;;
  18641    "src/terminal/Makefile") CONFIG_FILES="$CONFIG_FILES src/terminal/Makefile" ;;
  18642    "src/libguac/Makefile") CONFIG_FILES="$CONFIG_FILES src/libguac/Makefile" ;;
  18643    "src/libguac/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libguac/tests/Makefile" ;;
  18644    "src/guacd/Makefile") CONFIG_FILES="$CONFIG_FILES src/guacd/Makefile" ;;
  18645    "src/guacd/man/guacd.8") CONFIG_FILES="$CONFIG_FILES src/guacd/man/guacd.8" ;;
  18646    "src/guacd/man/guacd.conf.5") CONFIG_FILES="$CONFIG_FILES src/guacd/man/guacd.conf.5" ;;
  18647    "src/guacenc/Makefile") CONFIG_FILES="$CONFIG_FILES src/guacenc/Makefile" ;;
  18648    "src/guacenc/man/guacenc.1") CONFIG_FILES="$CONFIG_FILES src/guacenc/man/guacenc.1" ;;
  18649    "src/guaclog/Makefile") CONFIG_FILES="$CONFIG_FILES src/guaclog/Makefile" ;;
  18650    "src/guaclog/man/guaclog.1") CONFIG_FILES="$CONFIG_FILES src/guaclog/man/guaclog.1" ;;
  18651    "src/pulse/Makefile") CONFIG_FILES="$CONFIG_FILES src/pulse/Makefile" ;;
  18652    "src/protocols/kubernetes/Makefile") CONFIG_FILES="$CONFIG_FILES src/protocols/kubernetes/Makefile" ;;
  18653    "src/protocols/kubernetes/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/protocols/kubernetes/tests/Makefile" ;;
  18654    "src/protocols/rdp/Makefile") CONFIG_FILES="$CONFIG_FILES src/protocols/rdp/Makefile" ;;
  18655    "src/protocols/rdp/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/protocols/rdp/tests/Makefile" ;;
  18656    "src/protocols/ssh/Makefile") CONFIG_FILES="$CONFIG_FILES src/protocols/ssh/Makefile" ;;
  18657    "src/protocols/telnet/Makefile") CONFIG_FILES="$CONFIG_FILES src/protocols/telnet/Makefile" ;;
  18658    "src/protocols/vnc/Makefile") CONFIG_FILES="$CONFIG_FILES src/protocols/vnc/Makefile" ;;
  18659
  18660  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  18661  esac
  18662done
  18663
  18664
  18665# If the user did not use the arguments to specify the items to instantiate,
  18666# then the envvar interface is used.  Set only those that are not.
  18667# We use the long form for the default assignment because of an extremely
  18668# bizarre bug on SunOS 4.1.3.
  18669if $ac_need_defaults; then
  18670  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
  18671  test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
  18672  test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
  18673fi
  18674
  18675# Have a temporary directory for convenience.  Make it in the build tree
  18676# simply because there is no reason against having it here, and in addition,
  18677# creating and moving files from /tmp can sometimes cause problems.
  18678# Hook for its removal unless debugging.
  18679# Note that there is a small window in which the directory will not be cleaned:
  18680# after its creation but before its name has been assigned to `$tmp'.
  18681$debug ||
  18682{
  18683  tmp= ac_tmp=
  18684  trap 'exit_status=$?
  18685  : "${ac_tmp:=$tmp}"
  18686  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  18687' 0
  18688  trap 'as_fn_exit 1' 1 2 13 15
  18689}
  18690# Create a (secure) tmp directory for tmp files.
  18691
  18692{
  18693  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  18694  test -d "$tmp"
  18695}  ||
  18696{
  18697  tmp=./conf$$-$RANDOM
  18698  (umask 077 && mkdir "$tmp")
  18699} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  18700ac_tmp=$tmp
  18701
  18702# Set up the scripts for CONFIG_FILES section.
  18703# No need to generate them if there are no CONFIG_FILES.
  18704# This happens for instance with `./config.status config.h'.
  18705if test -n "$CONFIG_FILES"; then
  18706
  18707
  18708ac_cr=`echo X | tr X '\015'`
  18709# On cygwin, bash can eat \r inside `` if the user requested igncr.
  18710# But we know of no other shell where ac_cr would be empty at this
  18711# point, so we can use a bashism as a fallback.
  18712if test "x$ac_cr" = x; then
  18713  eval ac_cr=\$\'\\r\'
  18714fi
  18715ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  18716if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  18717  ac_cs_awk_cr='\\r'
  18718else
  18719  ac_cs_awk_cr=$ac_cr
  18720fi
  18721
  18722echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  18723_ACEOF
  18724
  18725
  18726{
  18727  echo "cat >conf$$subs.awk <<_ACEOF" &&
  18728  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  18729  echo "_ACEOF"
  18730} >conf$$subs.sh ||
  18731  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  18732ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  18733ac_delim='%!_!# '
  18734for ac_last_try in false false false false false :; do
  18735  . ./conf$$subs.sh ||
  18736    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  18737
  18738  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  18739  if test $ac_delim_n = $ac_delim_num; then
  18740    break
  18741  elif $ac_last_try; then
  18742    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  18743  else
  18744    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  18745  fi
  18746done
  18747rm -f conf$$subs.sh
  18748
  18749cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  18750cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  18751_ACEOF
  18752sed -n '
  18753h
  18754s/^/S["/; s/!.*/"]=/
  18755p
  18756g
  18757s/^[^!]*!//
  18758:repl
  18759t repl
  18760s/'"$ac_delim"'$//
  18761t delim
  18762:nl
  18763h
  18764s/\(.\{148\}\)..*/\1/
  18765t more1
  18766s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  18767p
  18768n
  18769b repl
  18770:more1
  18771s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  18772p
  18773g
  18774s/.\{148\}//
  18775t nl
  18776:delim
  18777h
  18778s/\(.\{148\}\)..*/\1/
  18779t more2
  18780s/["\\]/\\&/g; s/^/"/; s/$/"/
  18781p
  18782b
  18783:more2
  18784s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  18785p
  18786g
  18787s/.\{148\}//
  18788t delim
  18789' <conf$$subs.awk | sed '
  18790/^[^""]/{
  18791  N
  18792  s/\n//
  18793}
  18794' >>$CONFIG_STATUS || ac_write_fail=1
  18795rm -f conf$$subs.awk
  18796cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  18797_ACAWK
  18798cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  18799  for (key in S) S_is_set[key] = 1
  18800  FS = ""
  18801
  18802}
  18803{
  18804  line = $ 0
  18805  nfields = split(line, field, "@")
  18806  substed = 0
  18807  len = length(field[1])
  18808  for (i = 2; i < nfields; i++) {
  18809    key = field[i]
  18810    keylen = length(key)
  18811    if (S_is_set[key]) {
  18812      value = S[key]
  18813      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  18814      len += length(value) + length(field[++i])
  18815      substed = 1
  18816    } else
  18817      len += 1 + keylen
  18818  }
  18819
  18820  print line
  18821}
  18822
  18823_ACAWK
  18824_ACEOF
  18825cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  18826if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  18827  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  18828else
  18829  cat
  18830fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  18831  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  18832_ACEOF
  18833
  18834# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  18835# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  18836# trailing colons and then remove the whole line if VPATH becomes empty
  18837# (actually we leave an empty line to preserve line numbers).
  18838if test "x$srcdir" = x.; then
  18839  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
  18840h
  18841s///
  18842s/^/:/
  18843s/[	 ]*$/:/
  18844s/:\$(srcdir):/:/g
  18845s/:\${srcdir}:/:/g
  18846s/:@srcdir@:/:/g
  18847s/^:*//
  18848s/:*$//
  18849x
  18850s/\(=[	 ]*\).*/\1/
  18851G
  18852s/\n//
  18853s/^[^=]*=[	 ]*$//
  18854}'
  18855fi
  18856
  18857cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  18858fi # test -n "$CONFIG_FILES"
  18859
  18860# Set up the scripts for CONFIG_HEADERS section.
  18861# No need to generate them if there are no CONFIG_HEADERS.
  18862# This happens for instance with `./config.status Makefile'.
  18863if test -n "$CONFIG_HEADERS"; then
  18864cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  18865BEGIN {
  18866_ACEOF
  18867
  18868# Transform confdefs.h into an awk script `defines.awk', embedded as
  18869# here-document in config.status, that substitutes the proper values into
  18870# config.h.in to produce config.h.
  18871
  18872# Create a delimiter string that does not exist in confdefs.h, to ease
  18873# handling of long lines.
  18874ac_delim='%!_!# '
  18875for ac_last_try in false false :; do
  18876  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  18877  if test -z "$ac_tt"; then
  18878    break
  18879  elif $ac_last_try; then
  18880    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  18881  else
  18882    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  18883  fi
  18884done
  18885
  18886# For the awk script, D is an array of macro values keyed by name,
  18887# likewise P contains macro parameters if any.  Preserve backslash
  18888# newline sequences.
  18889
  18890ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  18891sed -n '
  18892s/.\{148\}/&'"$ac_delim"'/g
  18893t rset
  18894:rset
  18895s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
  18896t def
  18897d
  18898:def
  18899s/\\$//
  18900t bsnl
  18901s/["\\]/\\&/g
  18902s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
  18903D["\1"]=" \3"/p
  18904s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
  18905d
  18906:bsnl
  18907s/["\\]/\\&/g
  18908s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
  18909D["\1"]=" \3\\\\\\n"\\/p
  18910t cont
  18911s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  18912t cont
  18913d
  18914:cont
  18915n
  18916s/.\{148\}/&'"$ac_delim"'/g
  18917t clear
  18918:clear
  18919s/\\$//
  18920t bsnlc
  18921s/["\\]/\\&/g; s/^/"/; s/$/"/p
  18922d
  18923:bsnlc
  18924s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  18925b cont
  18926' <confdefs.h | sed '
  18927s/'"$ac_delim"'/"\\\
  18928"/g' >>$CONFIG_STATUS || ac_write_fail=1
  18929
  18930cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  18931  for (key in D) D_is_set[key] = 1
  18932  FS = ""
  18933}
  18934/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  18935  line = \$ 0
  18936  split(line, arg, " ")
  18937  if (arg[1] == "#") {
  18938    defundef = arg[2]
  18939    mac1 = arg[3]
  18940  } else {
  18941    defundef = substr(arg[1], 2)
  18942    mac1 = arg[2]
  18943  }
  18944  split(mac1, mac2, "(") #)
  18945  macro = mac2[1]
  18946  prefix = substr(line, 1, index(line, defundef) - 1)
  18947  if (D_is_set[macro]) {
  18948    # Preserve the white space surrounding the "#".
  18949    print prefix "define", macro P[macro] D[macro]
  18950    next
  18951  } else {
  18952    # Replace #undef with comments.  This is necessary, for example,
  18953    # in the case of _POSIX_SOURCE, which is predefined and required
  18954    # on some systems where configure will not decide to define it.
  18955    if (defundef == "undef") {
  18956      print "/*", prefix defundef, macro, "*/"
  18957      next
  18958    }
  18959  }
  18960}
  18961{ print }
  18962_ACAWK
  18963_ACEOF
  18964cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  18965  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  18966fi # test -n "$CONFIG_HEADERS"
  18967
  18968
  18969eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
  18970shift
  18971for ac_tag
  18972do
  18973  case $ac_tag in
  18974  :[FHLC]) ac_mode=$ac_tag; continue;;
  18975  esac
  18976  case $ac_mode$ac_tag in
  18977  :[FHL]*:*);;
  18978  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  18979  :[FH]-) ac_tag=-:-;;
  18980  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  18981  esac
  18982  ac_save_IFS=$IFS
  18983  IFS=:
  18984  set x $ac_tag
  18985  IFS=$ac_save_IFS
  18986  shift
  18987  ac_file=$1
  18988  shift
  18989
  18990  case $ac_mode in
  18991  :L) ac_source=$1;;
  18992  :[FH])
  18993    ac_file_inputs=
  18994    for ac_f
  18995    do
  18996      case $ac_f in
  18997      -) ac_f="$ac_tmp/stdin";;
  18998      *) # Look for the file first in the build tree, then in the source tree
  18999	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
  19000	 # because $ac_f cannot contain `:'.
  19001	 test -f "$ac_f" ||
  19002	   case $ac_f in
  19003	   [\\/$]*) false;;
  19004	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  19005	   esac ||
  19006	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  19007      esac
  19008      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  19009      as_fn_append ac_file_inputs " '$ac_f'"
  19010    done
  19011
  19012    # Let's still pretend it is `configure' which instantiates (i.e., don't
  19013    # use $as_me), people would be surprised to read:
  19014    #    /* config.h.  Generated by config.status.  */
  19015    configure_input='Generated from '`
  19016	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  19017	`' by configure.'
  19018    if test x"$ac_file" != x-; then
  19019      configure_input="$ac_file.  $configure_input"
  19020      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  19021printf "%s\n" "$as_me: creating $ac_file" >&6;}
  19022    fi
  19023    # Neutralize special characters interpreted by sed in replacement strings.
  19024    case $configure_input in #(
  19025    *\&* | *\|* | *\\* )
  19026       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
  19027       sed 's/[\\\\&|]/\\\\&/g'`;; #(
  19028    *) ac_sed_conf_input=$configure_input;;
  19029    esac
  19030
  19031    case $ac_tag in
  19032    *:-:* | *:-) cat >"$ac_tmp/stdin" \
  19033      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  19034    esac
  19035    ;;
  19036  esac
  19037
  19038  ac_dir=`$as_dirname -- "$ac_file" ||
  19039$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  19040	 X"$ac_file" : 'X\(//\)[^/]' \| \
  19041	 X"$ac_file" : 'X\(//\)$' \| \
  19042	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  19043printf "%s\n" X"$ac_file" |
  19044    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  19045	    s//\1/
  19046	    q
  19047	  }
  19048	  /^X\(\/\/\)[^/].*/{
  19049	    s//\1/
  19050	    q
  19051	  }
  19052	  /^X\(\/\/\)$/{
  19053	    s//\1/
  19054	    q
  19055	  }
  19056	  /^X\(\/\).*/{
  19057	    s//\1/
  19058	    q
  19059	  }
  19060	  s/.*/./; q'`
  19061  as_dir="$ac_dir"; as_fn_mkdir_p
  19062  ac_builddir=.
  19063
  19064case "$ac_dir" in
  19065.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  19066*)
  19067  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
  19068  # A ".." for each directory in $ac_dir_suffix.
  19069  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  19070  case $ac_top_builddir_sub in
  19071  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  19072  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  19073  esac ;;
  19074esac
  19075ac_abs_top_builddir=$ac_pwd
  19076ac_abs_builddir=$ac_pwd$ac_dir_suffix
  19077# for backward compatibility:
  19078ac_top_builddir=$ac_top_build_prefix
  19079
  19080case $srcdir in
  19081  .)  # We are building in place.
  19082    ac_srcdir=.
  19083    ac_top_srcdir=$ac_top_builddir_sub
  19084    ac_abs_top_srcdir=$ac_pwd ;;
  19085  [\\/]* | ?:[\\/]* )  # Absolute name.
  19086    ac_srcdir=$srcdir$ac_dir_suffix;
  19087    ac_top_srcdir=$srcdir
  19088    ac_abs_top_srcdir=$srcdir ;;
  19089  *) # Relative name.
  19090    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  19091    ac_top_srcdir=$ac_top_build_prefix$srcdir
  19092    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  19093esac
  19094ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  19095
  19096
  19097  case $ac_mode in
  19098  :F)
  19099  #
  19100  # CONFIG_FILE
  19101  #
  19102
  19103  case $INSTALL in
  19104  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  19105  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  19106  esac
  19107  ac_MKDIR_P=$MKDIR_P
  19108  case $MKDIR_P in
  19109  [\\/$]* | ?:[\\/]* ) ;;
  19110  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  19111  esac
  19112_ACEOF
  19113
  19114cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19115# If the template does not know about datarootdir, expand it.
  19116# FIXME: This hack should be removed a few years after 2.60.
  19117ac_datarootdir_hack=; ac_datarootdir_seen=
  19118ac_sed_dataroot='
  19119/datarootdir/ {
  19120  p
  19121  q
  19122}
  19123/@datadir@/p
  19124/@docdir@/p
  19125/@infodir@/p
  19126/@localedir@/p
  19127/@mandir@/p'
  19128case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  19129*datarootdir*) ac_datarootdir_seen=yes;;
  19130*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  19131  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  19132printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  19133_ACEOF
  19134cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19135  ac_datarootdir_hack='
  19136  s&@datadir@&$datadir&g
  19137  s&@docdir@&$docdir&g
  19138  s&@infodir@&$infodir&g
  19139  s&@localedir@&$localedir&g
  19140  s&@mandir@&$mandir&g
  19141  s&\\\${datarootdir}&$datarootdir&g' ;;
  19142esac
  19143_ACEOF
  19144
  19145# Neutralize VPATH when `$srcdir' = `.'.
  19146# Shell code in configure.ac might set extrasub.
  19147# FIXME: do we really want to maintain this feature?
  19148cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19149ac_sed_extra="$ac_vpsub
  19150$extrasub
  19151_ACEOF
  19152cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19153:t
  19154/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  19155s|@configure_input@|$ac_sed_conf_input|;t t
  19156s&@top_builddir@&$ac_top_builddir_sub&;t t
  19157s&@top_build_prefix@&$ac_top_build_prefix&;t t
  19158s&@srcdir@&$ac_srcdir&;t t
  19159s&@abs_srcdir@&$ac_abs_srcdir&;t t
  19160s&@top_srcdir@&$ac_top_srcdir&;t t
  19161s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  19162s&@builddir@&$ac_builddir&;t t
  19163s&@abs_builddir@&$ac_abs_builddir&;t t
  19164s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  19165s&@INSTALL@&$ac_INSTALL&;t t
  19166s&@MKDIR_P@&$ac_MKDIR_P&;t t
  19167$ac_datarootdir_hack
  19168"
  19169eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  19170  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  19171
  19172test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  19173  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  19174  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
  19175      "$ac_tmp/out"`; test -z "$ac_out"; } &&
  19176  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  19177which seems to be undefined.  Please make sure it is defined" >&5
  19178printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  19179which seems to be undefined.  Please make sure it is defined" >&2;}
  19180
  19181  rm -f "$ac_tmp/stdin"
  19182  case $ac_file in
  19183  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  19184  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  19185  esac \
  19186  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  19187 ;;
  19188  :H)
  19189  #
  19190  # CONFIG_HEADER
  19191  #
  19192  if test x"$ac_file" != x-; then
  19193    {
  19194      printf "%s\n" "/* $configure_input  */" >&1 \
  19195      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  19196    } >"$ac_tmp/config.h" \
  19197      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  19198    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  19199      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  19200printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
  19201    else
  19202      rm -f "$ac_file"
  19203      mv "$ac_tmp/config.h" "$ac_file" \
  19204	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
  19205    fi
  19206  else
  19207    printf "%s\n" "/* $configure_input  */" >&1 \
  19208      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  19209      || as_fn_error $? "could not create -" "$LINENO" 5
  19210  fi
  19211# Compute "$ac_file"'s index in $config_headers.
  19212_am_arg="$ac_file"
  19213_am_stamp_count=1
  19214for _am_header in $config_headers :; do
  19215  case $_am_header in
  19216    $_am_arg | $_am_arg:* )
  19217      break ;;
  19218    * )
  19219      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  19220  esac
  19221done
  19222echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  19223$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  19224	 X"$_am_arg" : 'X\(//\)[^/]' \| \
  19225	 X"$_am_arg" : 'X\(//\)$' \| \
  19226	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  19227printf "%s\n" X"$_am_arg" |
  19228    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  19229	    s//\1/
  19230	    q
  19231	  }
  19232	  /^X\(\/\/\)[^/].*/{
  19233	    s//\1/
  19234	    q
  19235	  }
  19236	  /^X\(\/\/\)$/{
  19237	    s//\1/
  19238	    q
  19239	  }
  19240	  /^X\(\/\).*/{
  19241	    s//\1/
  19242	    q
  19243	  }
  19244	  s/.*/./; q'`/stamp-h$_am_stamp_count
  19245 ;;
  19246
  19247  :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  19248printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
  19249 ;;
  19250  esac
  19251
  19252
  19253  case $ac_file$ac_mode in
  19254    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  19255  # Older Autoconf quotes --file arguments for eval, but not when files
  19256  # are listed without --file.  Let's play safe and only enable the eval
  19257  # if we detect the quoting.
  19258  # TODO: see whether this extra hack can be removed once we start
  19259  # requiring Autoconf 2.70 or later.
  19260  case $CONFIG_FILES in #(
  19261  *\'*) :
  19262    eval set x "$CONFIG_FILES" ;; #(
  19263  *) :
  19264    set x $CONFIG_FILES ;; #(
  19265  *) :
  19266     ;;
  19267esac
  19268  shift
  19269  # Used to flag and report bootstrapping failures.
  19270  am_rc=0
  19271  for am_mf
  19272  do
  19273    # Strip MF so we end up with the name of the file.
  19274    am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
  19275    # Check whether this is an Automake generated Makefile which includes
  19276    # dependency-tracking related rules and includes.
  19277    # Grep'ing the whole file directly is not great: AIX grep has a line
  19278    # limit of 2048, but all sed's we know have understand at least 4000.
  19279    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  19280      || continue
  19281    am_dirpart=`$as_dirname -- "$am_mf" ||
  19282$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  19283	 X"$am_mf" : 'X\(//\)[^/]' \| \
  19284	 X"$am_mf" : 'X\(//\)$' \| \
  19285	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  19286printf "%s\n" X"$am_mf" |
  19287    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  19288	    s//\1/
  19289	    q
  19290	  }
  19291	  /^X\(\/\/\)[^/].*/{
  19292	    s//\1/
  19293	    q
  19294	  }
  19295	  /^X\(\/\/\)$/{
  19296	    s//\1/
  19297	    q
  19298	  }
  19299	  /^X\(\/\).*/{
  19300	    s//\1/
  19301	    q
  19302	  }
  19303	  s/.*/./; q'`
  19304    am_filepart=`$as_basename -- "$am_mf" ||
  19305$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
  19306	 X"$am_mf" : 'X\(//\)$' \| \
  19307	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  19308printf "%s\n" X/"$am_mf" |
  19309    sed '/^.*\/\([^/][^/]*\)\/*$/{
  19310	    s//\1/
  19311	    q
  19312	  }
  19313	  /^X\/\(\/\/\)$/{
  19314	    s//\1/
  19315	    q
  19316	  }
  19317	  /^X\/\(\/\).*/{
  19318	    s//\1/
  19319	    q
  19320	  }
  19321	  s/.*/./; q'`
  19322    { echo "$as_me:$LINENO: cd "$am_dirpart" \
  19323      && sed -e '/# am--include-marker/d' "$am_filepart" \
  19324        | $MAKE -f - am--depfiles" >&5
  19325   (cd "$am_dirpart" \
  19326      && sed -e '/# am--include-marker/d' "$am_filepart" \
  19327        | $MAKE -f - am--depfiles) >&5 2>&5
  19328   ac_status=$?
  19329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19330   (exit $ac_status); } || am_rc=$?
  19331  done
  19332  if test $am_rc -ne 0; then
  19333    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  19334printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  19335as_fn_error $? "Something went wrong bootstrapping makefile fragments
  19336    for automatic dependency tracking.  If GNU make was not used, consider
  19337    re-running the configure script with MAKE=\"gmake\" (or whatever is
  19338    necessary).  You can also try re-running configure with the
  19339    '--disable-dependency-tracking' option to at least be able to build
  19340    the package (albeit without support for automatic dependency tracking).
  19341See \`config.log' for more details" "$LINENO" 5; }
  19342  fi
  19343  { am_dirpart=; unset am_dirpart;}
  19344  { am_filepart=; unset am_filepart;}
  19345  { am_mf=; unset am_mf;}
  19346  { am_rc=; unset am_rc;}
  19347  rm -f conftest-deps.mk
  19348}
  19349 ;;
  19350    "libtool":C)
  19351
  19352    # See if we are running on zsh, and set the options that allow our
  19353    # commands through without removal of \ escapes.
  19354    if test -n "${ZSH_VERSION+set}"; then
  19355      setopt NO_GLOB_SUBST
  19356    fi
  19357
  19358    cfgfile=${ofile}T
  19359    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  19360    $RM "$cfgfile"
  19361
  19362    cat <<_LT_EOF >> "$cfgfile"
  19363#! $SHELL
  19364# Generated automatically by $as_me ($PACKAGE) $VERSION
  19365# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  19366# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  19367
  19368# Provide generalized library-building support services.
  19369# Written by Gordon Matzigkeit, 1996
  19370
  19371# Copyright (C) 2014 Free Software Foundation, Inc.
  19372# This is free software; see the source for copying conditions.  There is NO
  19373# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  19374
  19375# GNU Libtool is free software; you can redistribute it and/or modify
  19376# it under the terms of the GNU General Public License as published by
  19377# the Free Software Foundation; either version 2 of of the License, or
  19378# (at your option) any later version.
  19379#
  19380# As a special exception to the GNU General Public License, if you
  19381# distribute this file as part of a program or library that is built
  19382# using GNU Libtool, you may include this file under the  same
  19383# distribution terms that you use for the rest of that program.
  19384#
  19385# GNU Libtool is distributed in the hope that it will be useful, but
  19386# WITHOUT ANY WARRANTY; without even the implied warranty of
  19387# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19388# GNU General Public License for more details.
  19389#
  19390# You should have received a copy of the GNU General Public License
  19391# along with this program.  If not, see <http://www.gnu.org/licenses/>.
  19392
  19393
  19394# The names of the tagged configurations supported by this script.
  19395available_tags=''
  19396
  19397# Configured defaults for sys_lib_dlsearch_path munging.
  19398: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  19399
  19400# ### BEGIN LIBTOOL CONFIG
  19401
  19402# Which release of libtool.m4 was used?
  19403macro_version=$macro_version
  19404macro_revision=$macro_revision
  19405
  19406# Whether or not to build shared libraries.
  19407build_libtool_libs=$enable_shared
  19408
  19409# Whether or not to build static libraries.
  19410build_old_libs=$enable_static
  19411
  19412# What type of objects to build.
  19413pic_mode=$pic_mode
  19414
  19415# Whether or not to optimize for fast installation.
  19416fast_install=$enable_fast_install
  19417
  19418# Shared archive member basename,for filename based shared library versioning on AIX.
  19419shared_archive_member_spec=$shared_archive_member_spec
  19420
  19421# Shell to use when invoking shell scripts.
  19422SHELL=$lt_SHELL
  19423
  19424# An echo program that protects backslashes.
  19425ECHO=$lt_ECHO
  19426
  19427# The PATH separator for the build system.
  19428PATH_SEPARATOR=$lt_PATH_SEPARATOR
  19429
  19430# The host system.
  19431host_alias=$host_alias
  19432host=$host
  19433host_os=$host_os
  19434
  19435# The build system.
  19436build_alias=$build_alias
  19437build=$build
  19438build_os=$build_os
  19439
  19440# A sed program that does not truncate output.
  19441SED=$lt_SED
  19442
  19443# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  19444Xsed="\$SED -e 1s/^X//"
  19445
  19446# A grep program that handles long lines.
  19447GREP=$lt_GREP
  19448
  19449# An ERE matcher.
  19450EGREP=$lt_EGREP
  19451
  19452# A literal string matcher.
  19453FGREP=$lt_FGREP
  19454
  19455# A BSD- or MS-compatible name lister.
  19456NM=$lt_NM
  19457
  19458# Whether we need soft or hard links.
  19459LN_S=$lt_LN_S
  19460
  19461# What is the maximum length of a command?
  19462max_cmd_len=$max_cmd_len
  19463
  19464# Object file suffix (normally "o").
  19465objext=$ac_objext
  19466
  19467# Executable file suffix (normally "").
  19468exeext=$exeext
  19469
  19470# whether the shell understands "unset".
  19471lt_unset=$lt_unset
  19472
  19473# turn spaces into newlines.
  19474SP2NL=$lt_lt_SP2NL
  19475
  19476# turn newlines into spaces.
  19477NL2SP=$lt_lt_NL2SP
  19478
  19479# convert \$build file names to \$host format.
  19480to_host_file_cmd=$lt_cv_to_host_file_cmd
  19481
  19482# convert \$build files to toolchain format.
  19483to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  19484
  19485# A file(cmd) program that detects file types.
  19486FILECMD=$lt_FILECMD
  19487
  19488# An object symbol dumper.
  19489OBJDUMP=$lt_OBJDUMP
  19490
  19491# Method to check whether dependent libraries are shared objects.
  19492deplibs_check_method=$lt_deplibs_check_method
  19493
  19494# Command to use when deplibs_check_method = "file_magic".
  19495file_magic_cmd=$lt_file_magic_cmd
  19496
  19497# How to find potential files when deplibs_check_method = "file_magic".
  19498file_magic_glob=$lt_file_magic_glob
  19499
  19500# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  19501want_nocaseglob=$lt_want_nocaseglob
  19502
  19503# DLL creation program.
  19504DLLTOOL=$lt_DLLTOOL
  19505
  19506# Command to associate shared and link libraries.
  19507sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  19508
  19509# The archiver.
  19510AR=$lt_AR
  19511
  19512# Flags to create an archive (by configure).
  19513lt_ar_flags=$lt_ar_flags
  19514
  19515# Flags to create an archive.
  19516AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
  19517
  19518# How to feed a file listing to the archiver.
  19519archiver_list_spec=$lt_archiver_list_spec
  19520
  19521# A symbol stripping program.
  19522STRIP=$lt_STRIP
  19523
  19524# Commands used to install an old-style archive.
  19525RANLIB=$lt_RANLIB
  19526old_postinstall_cmds=$lt_old_postinstall_cmds
  19527old_postuninstall_cmds=$lt_old_postuninstall_cmds
  19528
  19529# Whether to use a lock for old archive extraction.
  19530lock_old_archive_extraction=$lock_old_archive_extraction
  19531
  19532# A C compiler.
  19533LTCC=$lt_CC
  19534
  19535# LTCC compiler flags.
  19536LTCFLAGS=$lt_CFLAGS
  19537
  19538# Take the output of nm and produce a listing of raw symbols and C names.
  19539global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  19540
  19541# Transform the output of nm in a proper C declaration.
  19542global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  19543
  19544# Transform the output of nm into a list of symbols to manually relocate.
  19545global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
  19546
  19547# Transform the output of nm in a C name address pair.
  19548global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  19549
  19550# Transform the output of nm in a C name address pair when lib prefix is needed.
  19551global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  19552
  19553# The name lister interface.
  19554nm_interface=$lt_lt_cv_nm_interface
  19555
  19556# Specify filename containing input files for \$NM.
  19557nm_file_list_spec=$lt_nm_file_list_spec
  19558
  19559# The root where to search for dependent libraries,and where our libraries should be installed.
  19560lt_sysroot=$lt_sysroot
  19561
  19562# Command to truncate a binary pipe.
  19563lt_truncate_bin=$lt_lt_cv_truncate_bin
  19564
  19565# The name of the directory that contains temporary libtool files.
  19566objdir=$objdir
  19567
  19568# Used to examine libraries when file_magic_cmd begins with "file".
  19569MAGIC_CMD=$MAGIC_CMD
  19570
  19571# Must we lock files when doing compilation?
  19572need_locks=$lt_need_locks
  19573
  19574# Manifest tool.
  19575MANIFEST_TOOL=$lt_MANIFEST_TOOL
  19576
  19577# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  19578DSYMUTIL=$lt_DSYMUTIL
  19579
  19580# Tool to change global to local symbols on Mac OS X.
  19581NMEDIT=$lt_NMEDIT
  19582
  19583# Tool to manipulate fat objects and archives on Mac OS X.
  19584LIPO=$lt_LIPO
  19585
  19586# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  19587OTOOL=$lt_OTOOL
  19588
  19589# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  19590OTOOL64=$lt_OTOOL64
  19591
  19592# Old archive suffix (normally "a").
  19593libext=$libext
  19594
  19595# Shared library suffix (normally ".so").
  19596shrext_cmds=$lt_shrext_cmds
  19597
  19598# The commands to extract the exported symbol list from a shared archive.
  19599extract_expsyms_cmds=$lt_extract_expsyms_cmds
  19600
  19601# Variables whose values should be saved in libtool wrapper scripts and
  19602# restored at link time.
  19603variables_saved_for_relink=$lt_variables_saved_for_relink
  19604
  19605# Do we need the "lib" prefix for modules?
  19606need_lib_prefix=$need_lib_prefix
  19607
  19608# Do we need a version for libraries?
  19609need_version=$need_version
  19610
  19611# Library versioning type.
  19612version_type=$version_type
  19613
  19614# Shared library runtime path variable.
  19615runpath_var=$runpath_var
  19616
  19617# Shared library path variable.
  19618shlibpath_var=$shlibpath_var
  19619
  19620# Is shlibpath searched before the hard-coded library search path?
  19621shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  19622
  19623# Format of library name prefix.
  19624libname_spec=$lt_libname_spec
  19625
  19626# List of archive names.  First name is the real one, the rest are links.
  19627# The last name is the one that the linker finds with -lNAME
  19628library_names_spec=$lt_library_names_spec
  19629
  19630# The coded name of the library, if different from the real name.
  19631soname_spec=$lt_soname_spec
  19632
  19633# Permission mode override for installation of shared libraries.
  19634install_override_mode=$lt_install_override_mode
  19635
  19636# Command to use after installation of a shared archive.
  19637postinstall_cmds=$lt_postinstall_cmds
  19638
  19639# Command to use after uninstallation of a shared archive.
  19640postuninstall_cmds=$lt_postuninstall_cmds
  19641
  19642# Commands used to finish a libtool library installation in a directory.
  19643finish_cmds=$lt_finish_cmds
  19644
  19645# As "finish_cmds", except a single script fragment to be evaled but
  19646# not shown.
  19647finish_eval=$lt_finish_eval
  19648
  19649# Whether we should hardcode library paths into libraries.
  19650hardcode_into_libs=$hardcode_into_libs
  19651
  19652# Compile-time system search path for libraries.
  19653sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  19654
  19655# Detected run-time system search path for libraries.
  19656sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
  19657
  19658# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
  19659configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
  19660
  19661# Whether dlopen is supported.
  19662dlopen_support=$enable_dlopen
  19663
  19664# Whether dlopen of programs is supported.
  19665dlopen_self=$enable_dlopen_self
  19666
  19667# Whether dlopen of statically linked programs is supported.
  19668dlopen_self_static=$enable_dlopen_self_static
  19669
  19670# Commands to strip libraries.
  19671old_striplib=$lt_old_striplib
  19672striplib=$lt_striplib
  19673
  19674
  19675# The linker used to build libraries.
  19676LD=$lt_LD
  19677
  19678# How to create reloadable object files.
  19679reload_flag=$lt_reload_flag
  19680reload_cmds=$lt_reload_cmds
  19681
  19682# Commands used to build an old-style archive.
  19683old_archive_cmds=$lt_old_archive_cmds
  19684
  19685# A language specific compiler.
  19686CC=$lt_compiler
  19687
  19688# Is the compiler the GNU compiler?
  19689with_gcc=$GCC
  19690
  19691# Compiler flag to turn off builtin functions.
  19692no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  19693
  19694# Additional compiler flags for building library objects.
  19695pic_flag=$lt_lt_prog_compiler_pic
  19696
  19697# How to pass a linker flag through the compiler.
  19698wl=$lt_lt_prog_compiler_wl
  19699
  19700# Compiler flag to prevent dynamic linking.
  19701link_static_flag=$lt_lt_prog_compiler_static
  19702
  19703# Does compiler simultaneously support -c and -o options?
  19704compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  19705
  19706# Whether or not to add -lc for building shared libraries.
  19707build_libtool_need_lc=$archive_cmds_need_lc
  19708
  19709# Whether or not to disallow shared libs when runtime libs are static.
  19710allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  19711
  19712# Compiler flag to allow reflexive dlopens.
  19713export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  19714
  19715# Compiler flag to generate shared objects directly from archives.
  19716whole_archive_flag_spec=$lt_whole_archive_flag_spec
  19717
  19718# Whether the compiler copes with passing no objects directly.
  19719compiler_needs_object=$lt_compiler_needs_object
  19720
  19721# Create an old-style archive from a shared archive.
  19722old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  19723
  19724# Create a temporary old-style archive to link instead of a shared archive.
  19725old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  19726
  19727# Commands used to build a shared archive.
  19728archive_cmds=$lt_archive_cmds
  19729archive_expsym_cmds=$lt_archive_expsym_cmds
  19730
  19731# Commands used to build a loadable module if different from building
  19732# a shared archive.
  19733module_cmds=$lt_module_cmds
  19734module_expsym_cmds=$lt_module_expsym_cmds
  19735
  19736# Whether we are building with GNU ld or not.
  19737with_gnu_ld=$lt_with_gnu_ld
  19738
  19739# Flag that allows shared libraries with undefined symbols to be built.
  19740allow_undefined_flag=$lt_allow_undefined_flag
  19741
  19742# Flag that enforces no undefined symbols.
  19743no_undefined_flag=$lt_no_undefined_flag
  19744
  19745# Flag to hardcode \$libdir into a binary during linking.
  19746# This must work even if \$libdir does not exist
  19747hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  19748
  19749# Whether we need a single "-rpath" flag with a separated argument.
  19750hardcode_libdir_separator=$lt_hardcode_libdir_separator
  19751
  19752# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  19753# DIR into the resulting binary.
  19754hardcode_direct=$hardcode_direct
  19755
  19756# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  19757# DIR into the resulting binary and the resulting library dependency is
  19758# "absolute",i.e impossible to change by setting \$shlibpath_var if the
  19759# library is relocated.
  19760hardcode_direct_absolute=$hardcode_direct_absolute
  19761
  19762# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  19763# into the resulting binary.
  19764hardcode_minus_L=$hardcode_minus_L
  19765
  19766# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  19767# into the resulting binary.
  19768hardcode_shlibpath_var=$hardcode_shlibpath_var
  19769
  19770# Set to "yes" if building a shared library automatically hardcodes DIR
  19771# into the library and all subsequent libraries and executables linked
  19772# against it.
  19773hardcode_automatic=$hardcode_automatic
  19774
  19775# Set to yes if linker adds runtime paths of dependent libraries
  19776# to runtime path list.
  19777inherit_rpath=$inherit_rpath
  19778
  19779# Whether libtool must link a program against all its dependency libraries.
  19780link_all_deplibs=$link_all_deplibs
  19781
  19782# Set to "yes" if exported symbols are required.
  19783always_export_symbols=$always_export_symbols
  19784
  19785# The commands to list exported symbols.
  19786export_symbols_cmds=$lt_export_symbols_cmds
  19787
  19788# Symbols that should not be listed in the preloaded symbols.
  19789exclude_expsyms=$lt_exclude_expsyms
  19790
  19791# Symbols that must always be exported.
  19792include_expsyms=$lt_include_expsyms
  19793
  19794# Commands necessary for linking programs (against libraries) with templates.
  19795prelink_cmds=$lt_prelink_cmds
  19796
  19797# Commands necessary for finishing linking programs.
  19798postlink_cmds=$lt_postlink_cmds
  19799
  19800# Specify filename containing input files.
  19801file_list_spec=$lt_file_list_spec
  19802
  19803# How to hardcode a shared library path into an executable.
  19804hardcode_action=$hardcode_action
  19805
  19806# ### END LIBTOOL CONFIG
  19807
  19808_LT_EOF
  19809
  19810    cat <<'_LT_EOF' >> "$cfgfile"
  19811
  19812# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  19813
  19814# func_munge_path_list VARIABLE PATH
  19815# -----------------------------------
  19816# VARIABLE is name of variable containing _space_ separated list of
  19817# directories to be munged by the contents of PATH, which is string
  19818# having a format:
  19819# "DIR[:DIR]:"
  19820#       string "DIR[ DIR]" will be prepended to VARIABLE
  19821# ":DIR[:DIR]"
  19822#       string "DIR[ DIR]" will be appended to VARIABLE
  19823# "DIRP[:DIRP]::[DIRA:]DIRA"
  19824#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  19825#       "DIRA[ DIRA]" will be appended to VARIABLE
  19826# "DIR[:DIR]"
  19827#       VARIABLE will be replaced by "DIR[ DIR]"
  19828func_munge_path_list ()
  19829{
  19830    case x$2 in
  19831    x)
  19832        ;;
  19833    *:)
  19834        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
  19835        ;;
  19836    x:*)
  19837        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
  19838        ;;
  19839    *::*)
  19840        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  19841        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
  19842        ;;
  19843    *)
  19844        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
  19845        ;;
  19846    esac
  19847}
  19848
  19849
  19850# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
  19851func_cc_basename ()
  19852{
  19853    for cc_temp in $*""; do
  19854      case $cc_temp in
  19855        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  19856        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  19857        \-*) ;;
  19858        *) break;;
  19859      esac
  19860    done
  19861    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  19862}
  19863
  19864
  19865# ### END FUNCTIONS SHARED WITH CONFIGURE
  19866
  19867_LT_EOF
  19868
  19869  case $host_os in
  19870  aix3*)
  19871    cat <<\_LT_EOF >> "$cfgfile"
  19872# AIX sometimes has problems with the GCC collect2 program.  For some
  19873# reason, if we set the COLLECT_NAMES environment variable, the problems
  19874# vanish in a puff of smoke.
  19875if test set != "${COLLECT_NAMES+set}"; then
  19876  COLLECT_NAMES=
  19877  export COLLECT_NAMES
  19878fi
  19879_LT_EOF
  19880    ;;
  19881  esac
  19882
  19883
  19884
  19885ltmain=$ac_aux_dir/ltmain.sh
  19886
  19887
  19888  # We use sed instead of cat because bash on DJGPP gets confused if
  19889  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  19890  # text mode, it properly converts lines to CR/LF.  This bash problem
  19891  # is reportedly fixed, but why not run on old versions too?
  19892  $SED '$q' "$ltmain" >> "$cfgfile" \
  19893     || (rm -f "$cfgfile"; exit 1)
  19894
  19895   mv -f "$cfgfile" "$ofile" ||
  19896    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  19897  chmod +x "$ofile"
  19898
  19899 ;;
  19900
  19901  esac
  19902done # for ac_tag
  19903
  19904
  19905as_fn_exit 0
  19906_ACEOF
  19907ac_clean_files=$ac_clean_files_save
  19908
  19909test $ac_write_fail = 0 ||
  19910  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  19911
  19912
  19913# configure is writing to config.log, and then calls config.status.
  19914# config.status does its own redirection, appending to config.log.
  19915# Unfortunately, on DOS this fails, as config.log is still kept open
  19916# by configure, so config.status won't be able to write to it; its
  19917# output is simply discarded.  So we exec the FD to /dev/null,
  19918# effectively closing config.log, so it can be properly (re)opened and
  19919# appended to by config.status.  When coming back to configure, we
  19920# need to make the FD available again.
  19921if test "$no_create" != yes; then
  19922  ac_cs_success=:
  19923  ac_config_status_args=
  19924  test "$silent" = yes &&
  19925    ac_config_status_args="$ac_config_status_args --quiet"
  19926  exec 5>/dev/null
  19927  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  19928  exec 5>>config.log
  19929  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  19930  # would make configure fail if this is the last instruction.
  19931  $ac_cs_success || as_fn_exit 1
  19932fi
  19933if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  19934  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  19935printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  19936fi
  19937
  19938
  19939#
  19940# Protocol build status
  19941#
  19942
  19943if test -z "$ENABLE_KUBERNETES_TRUE"; then :
  19944  build_kubernetes=yes
  19945else
  19946  build_kubernetes=no
  19947fi
  19948if test -z "$ENABLE_RDP_TRUE"; then :
  19949  build_rdp=yes
  19950else
  19951  build_rdp=no
  19952fi
  19953if test -z "$ENABLE_SSH_TRUE"; then :
  19954  build_ssh=yes
  19955else
  19956  build_ssh=no
  19957fi
  19958if test -z "$ENABLE_TELNET_TRUE"; then :
  19959  build_telnet=yes
  19960else
  19961  build_telnet=no
  19962fi
  19963if test -z "$ENABLE_VNC_TRUE"; then :
  19964  build_vnc=yes
  19965else
  19966  build_vnc=no
  19967fi
  19968
  19969#
  19970# Service / tool build status
  19971#
  19972
  19973if test -z "$ENABLE_GUACD_TRUE"; then :
  19974  build_guacd=yes
  19975else
  19976  build_guacd=no
  19977fi
  19978if test -z "$ENABLE_GUACENC_TRUE"; then :
  19979  build_guacenc=yes
  19980else
  19981  build_guacenc=no
  19982fi
  19983if test -z "$ENABLE_GUACLOG_TRUE"; then :
  19984  build_guaclog=yes
  19985else
  19986  build_guaclog=no
  19987fi
  19988
  19989#
  19990# Init scripts
  19991#
  19992
  19993if test -z "$ENABLE_INIT_TRUE"; then :
  19994  build_init="${init_dir}"
  19995else
  19996  build_init=no
  19997fi
  19998
  19999#
  20000# Systemd units
  20001#
  20002
  20003if test -z "$ENABLE_SYSTEMD_TRUE"; then :
  20004  build_systemd="${systemd_dir}"
  20005else
  20006  build_systemd=no
  20007fi
  20008
  20009#
  20010# FreeRDP plugins
  20011#
  20012
  20013if test -z "$ENABLE_RDP_TRUE"; then :
  20014  build_rdp_plugins="${FREERDP2_PLUGIN_DIR}"
  20015else
  20016  build_rdp_plugins=no
  20017fi
  20018
  20019#
  20020# Display summary
  20021#
  20022
  20023echo "
  20024------------------------------------------------
  20025$PACKAGE_NAME version $PACKAGE_VERSION
  20026------------------------------------------------
  20027
  20028   Library status:
  20029
  20030     freerdp2 ............ ${have_freerdp2}
  20031     pango ............... ${have_pango}
  20032     libavcodec .......... ${have_libavcodec}
  20033     libavformat.......... ${have_libavformat}
  20034     libavutil ........... ${have_libavutil}
  20035     libssh2 ............. ${have_libssh2}
  20036     libssl .............. ${have_ssl}
  20037     libswscale .......... ${have_libswscale}
  20038     libtelnet ........... ${have_libtelnet}
  20039     libVNCServer ........ ${have_libvncserver}
  20040     libvorbis ........... ${have_vorbis}
  20041     libpulse ............ ${have_pulse}
  20042     libwebsockets ....... ${have_libwebsockets}
  20043     libwebp ............. ${have_webp}
  20044     wsock32 ............. ${have_winsock}
  20045
  20046   Protocol support:
  20047
  20048      Kubernetes .... ${build_kubernetes}
  20049      RDP ........... ${build_rdp}
  20050      SSH ........... ${build_ssh}
  20051      Telnet ........ ${build_telnet}
  20052      VNC ........... ${build_vnc}
  20053
  20054   Services / tools:
  20055
  20056      guacd ...... ${build_guacd}
  20057      guacenc .... ${build_guacenc}
  20058      guaclog .... ${build_guaclog}
  20059
  20060   FreeRDP plugins: ${build_rdp_plugins}
  20061   Init scripts: ${build_init}
  20062   Systemd units: ${build_systemd}
  20063
  20064Type \"make\" to compile $PACKAGE_NAME.
  20065"
  20066
  20067